Method for vehicle positioning, device for vehicle positioning and vehicle

By combining the method of particle filter and optimizer, the problem of insufficient GPS positioning accuracy is solved, high-precision and low computing load vehicle positioning is achieved, and it is suitable for different application scenarios of autonomous vehicles.

CN113534222BActive Publication Date: 2024-09-03BAYERISCHE MOTOREN WERKE AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010303226.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-17
Publication Date
2024-09-03
Estimated Expiration
2040-04-17

AI Technical Summary

Technical Problem

In existing autonomous driving technology, GPS positioning has a deviation of several meters, which cannot meet the requirements of high precision and efficiency, affecting the accuracy and safety of autonomous driving.

Method used

Using a method that combines particle filters and optimizers, the initial position data is determined through the particle filter, and when a specific state is met, the optimizer is switched to the optimizer to optimize the position data to improve positioning accuracy and reduce computational load.

Benefits of technology

While maintaining positioning accuracy, it significantly reduces the computing load, improves the positioning accuracy and efficiency of autonomous vehicles, and is suitable for different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113534222B
    Figure CN113534222B
Patent Text Reader

Abstract

The present invention relates to a method for positioning a vehicle, the method comprising: - determining the position data of the vehicle by means of a particle filter; - finding out whether a predetermined first state is satisfied; - if the predetermined first state is satisfied, activating an optimizer to determine the position data, wherein the optimizer performs positioning based on the position data from the particle filter. In addition, the present invention also relates to a device for positioning a vehicle, a computer-readable storage medium and a vehicle. The method and device for positioning a vehicle according to some embodiments of the present invention can be flexibly adjusted to adapt to different application scenarios, and can reduce the computational load while maintaining good positioning accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving, and in particular to a method for vehicle positioning, a device for vehicle positioning, and a vehicle. Background Art

[0002] Autonomous driving is a major topic in current vehicle research. The premise of autonomous driving is to understand the road network on which the vehicle is traveling and to sense the environment around the vehicle, so that the road network involved and objects and other traffic participants in the surrounding environment can be identified. One approach is to use cameras and lidar to obtain data on the road network and sense the distance of objects around the vehicle.

[0003] At present, the internationally recognized standard for the classification of autonomous driving is the SAE (Society of Automotive Engineers), which is divided into six levels from L0 to L5. Level L0 means that it is completely manually operated, and the equipment only provides some auxiliary warnings and signals at most, such as radar reminders when reversing and distance reminders when driving; L1 has some lateral or longitudinal auxiliary functions involved in driving operations, which can be called assisted driving, such as adaptive cruise control, automatic emergency braking, etc., and the equipment begins to actively control the vehicle; L2 equipment can realize the automatic driving of the vehicle in the lateral and longitudinal directions, but the driver must always pay attention and be ready to take over the driving of the car at any time. L3 autonomous driving achieves a high degree of machine operation, and the driver can completely give up the control and only needs to take over the car in a few cases; there is a huge gap between L3 and L4, that is, the steering wheel can disappear completely. L3 equipment needs to consider human-machine collaboration and the switching between human operation and machine operation, while L4 does not consider human intervention in vehicle operation. At the highest L5, the complete intelligence of road vehicles is realized.

[0004] Usually, GPS can roughly locate the position of the vehicle, but there is a deviation of several meters, which is unacceptable during autonomous driving. With the development of autonomous driving technology, higher requirements are placed on the accuracy and efficiency of vehicle positioning. Summary of the invention

[0005] Therefore, an object of the present invention is to provide a method, a device and a vehicle capable of improving the autonomous driving of a vehicle.

[0006] According to a first aspect of the present invention, there is provided a method for vehicle positioning, the method comprising:

[0007] - determining the position data of the vehicle by means of a particle filter;

[0008] - finding out whether a predetermined first state is satisfied;

[0009] If a predetermined first state is met, an optimizer is activated to determine position data, wherein the optimizer performs positioning depending on the position data from the particle filter.

[0010] The method and device for vehicle positioning according to the present invention can be adapted to different application scenarios and flexibly adjusted, such as adjusting algorithms, etc. In addition, the method and device for vehicle positioning according to the present invention can reduce the computational load while maintaining good positioning accuracy.

[0011] In some embodiments, "the optimizer performs positioning relying on position data from the particle filter" includes: setting the latest position data determined by the particle filter as the initial position data of the optimizer.

[0012] In some embodiments, "activating the optimizer to determine the position data" includes "switching from determining the position data with the aid of a particle filter to determining the position data with the aid of an optimizer". Preferably, after the switching, it is determined whether a predetermined second state is met. If the predetermined second state is met, then the determination of the position data is switched from the determination of the position data with the aid of the optimizer to the determination of the position data with the aid of a particle filter.

[0013] In some embodiments, the optimizer includes:

[0014] Gradient descent optimizer;

[0015] Gradient ascent optimizer; or

[0016] Particle Swarm Optimizer.

[0017] In some embodiments, the first state is related to the vehicle state, the vehicle software configuration and / or hardware configuration, the current driving scene and / or the current positioning state.

[0018] In some embodiments, the first state includes:

[0019] The vehicle speed is greater than a predetermined first threshold; or

[0020] When the vehicle is in a stopped state, the difference between the stored latest position data and the current GPS position data is smaller than a predetermined second threshold.

[0021] In some embodiments, the second state includes:

[0022] Determining, by means of the optimizer, that the runtime of the position data is greater than a predetermined third threshold; and / or

[0023] The certainty, for example the covariance, of the position data determined by means of the optimizer is below a predetermined fourth threshold value; and / or

[0024] The vehicle speed is below a predetermined fifth threshold.

[0025] In some embodiments, when the vehicle is stopped,

[0026] By means of a sensor device, for example a camera, detection data is acquired to detect the traffic light and the state of the traffic light is recognized, and

[0027] The second state is satisfied if the detection data, for example the identified state, indicate that there is sufficient time for operating the particle filter.

[0028] In some embodiments, the method comprises:

[0029] - determining first position data of the vehicle by means of a particle filter;

[0030] - determining second position data of the vehicle by means of the optimizer;

[0031] - evaluating the first position data and the second position data;

[0032] - determining a difference between the first position data and the second position data;

[0033] - Determine whether the difference is greater than a predetermined sixth threshold value, and if so, adjust the parameters of the particle filter, such as increasing the number of particles in the particle filter.

[0034] According to a second aspect of the present invention, there is provided a device for vehicle positioning, the device comprising:

[0035] a particle filter module, which is designed to determine position data of the vehicle by means of a particle filter;

[0036] an optimizer module, which is designed to determine position data of the vehicle by means of an optimizer;

[0037] An analysis module is designed to determine whether a predetermined state is met and, in the predetermined state, activates the particle filter module and / or the optimizer to determine the position data.

[0038] In some embodiments, the analysis module is configured to ascertain:

[0039] whether the predetermined first state is satisfied, if the predetermined first state is satisfied, the analysis module prompts: activating the optimizer to determine the position data,

[0040] Preferably, "activating the optimizer to determine the position data" comprises switching from determining the position data by means of a particle filter to determining the position data by means of an optimizer, wherein the optimizer relies on the position data from the particle filter to perform positioning, preferably, the particle filter module transmits the latest position data determined by the particle filter before the switching to the optimizer module as the initial position data of the optimizer after the switching; and / or

[0041] whether the predetermined second state is satisfied, and if so, the analysis module causes: switching from determining the position data by means of an optimizer to determining the position data by means of a particle filter; and / or

[0042] Whether the predetermined third state is satisfied, if the predetermined third state is satisfied, the analysis module prompts: activating the particle filter to determine the first position data of the vehicle and activating the optimizer in parallel to determine the second position data of the vehicle; evaluating the first position data and the second position data; finding out the difference between the first position data and the second position data; judging whether the difference is greater than a predetermined sixth threshold value, if so, adjusting the parameters of the particle filter, such as increasing the number of particles of the particle filter.

[0043] In some embodiments, the analysis module is configured to:

[0044] Acquiring a vehicle speed and determining whether the vehicle speed is greater than a predetermined first threshold, and if so, ascertaining that a predetermined first condition is satisfied; and / or

[0045] Ascertaining a difference between the latest stored position data and the current GPS position data, and determining whether the difference is less than a predetermined second threshold, and if so, ascertaining that the predetermined first state is satisfied; and / or

[0046] ascertaining a difference between the position data determined by means of the particle filter and the position data determined by means of the optimizer, and determining whether the difference is greater than or equal to a predetermined sixth threshold value, and if so, ascertaining that a predetermined third state is satisfied; and / or

[0047] ascertaining a runtime for determining the position data by means of the optimizer, and determining whether the runtime is greater than a predetermined third threshold, and if so, ascertaining that a predetermined second state is satisfied; and / or

[0048] ascertaining the certainty, for example the covariance, of the position data determined by means of the optimizer and determining whether the certainty is below a predetermined fourth threshold value and, if so, ascertaining that the predetermined second state is satisfied; and / or

[0049] acquiring the vehicle speed and determining whether the vehicle speed is below a predetermined fifth threshold, and if so, ascertaining that a predetermined second condition is satisfied; and / or

[0050] When the vehicle is stopped, detection data from the sensor device, such as detection data from a camera detecting a traffic light, is acquired to determine whether the detection data indicates that there is sufficient time for running the particle filter. If so, it is determined that the predetermined second state is satisfied.

[0051] According to a third aspect of the present invention, there is provided a device for vehicle positioning, comprising:

[0052] one or more processors; and

[0053] one or more memories configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions,

[0054] Wherein, when the series of computer-executable instructions are executed by the one or more processors, the one or more processors are enabled to perform the methods described in some embodiments of the present invention.

[0055] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, on which a series of computer-executable instructions are stored. When the series of computer-executable instructions are executed by one or more computing devices, the one or more computing devices perform a method as described in any one of the embodiments of the present invention.

[0056] According to a fifth aspect of the present invention, there is provided a vehicle, characterized in that the vehicle comprises a device according to any one of the embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Some examples of the device and / or method are described below with reference to the accompanying drawings, in which:

[0058] Figure 1 An exemplary flow chart showing a method for vehicle positioning;

[0059] Figure 2 Another exemplary flow chart showing a method for locating a vehicle;

[0060] Figure 3 An exemplary block diagram of an apparatus for vehicle positioning is shown. DETAILED DESCRIPTION

[0061] The present disclosure will be described below with reference to the accompanying drawings, wherein the accompanying drawings illustrate several embodiments of the present disclosure. However, it should be understood that the present disclosure can be presented in a variety of different ways and is not limited to the embodiments described below; in fact, the embodiments described below are intended to make the present disclosure more complete and fully illustrate the scope of protection of the present disclosure to those skilled in the art. It should also be understood that the embodiments disclosed herein can be combined in various ways to provide more additional embodiments.

[0062] It should be understood that the terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. All terms (including technical terms and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. For the sake of simplicity and / or clarity, well-known functions or structures may not be described in detail.

[0063] Herein, the term "A or B" includes "A and B" and "A or B" rather than exclusively including only "A" or only "B", unless specifically stated otherwise.

[0064] As used herein, the term "exemplary" means "serving as an example, instance, or illustration". Any implementation described as an example herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the present disclosure is not to be limited by any stated or implied theory presented in the above technical field, background technology, summary of the invention, or detailed description.

[0065] In addition, for reference purposes only, the terms "first", "second" and the like may also be used herein, and "first" and "second" may also refer to multiple "firsts" and "seconds". For example, the terms "first", "second" and other such numerical terms referring to structures or elements do not imply a sequence or order unless the context clearly indicates otherwise.

[0066] It should also be understood that when the term "include / comprise" is used in this article, it indicates the presence of the indicated features, integrals, steps, operations, units and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, units and / or components and / or their combinations. Unless otherwise defined, all terms (including technical terms and scientific terms) are used in this article according to their general meaning in the field to which the examples belong.

[0067] It should be pointed out that the order of the steps of each method in this article can be flexibly configured, and marking the steps with numbers is only for the convenience of description and has no limiting effect.

[0068] In autonomous driving technology, high-precision positioning technology is an extremely critical technology. With the development of autonomous driving technology, various forms of positioning technologies have been developed, which may be based on different algorithms, different processing pipelines, different hardware and / or different legal regulations. Each positioning technology may have its own application scenarios and technical effects.

[0069] The method and device for vehicle positioning according to the present invention can be adapted to different application scenarios and flexibly adjusted, such as adjusting algorithms, etc. In addition, the method and device for vehicle positioning according to the present invention can reduce the computational load while maintaining good positioning accuracy.

[0070] Next, a method for vehicle positioning according to some embodiments of the present invention is further explained in detail.

[0071] Figure 1 An exemplary flow chart of a method for vehicle positioning is shown. According to the present invention, the method comprises:

[0072] Step 100: Determine the position data of the vehicle by means of a particle filter;

[0073] Step 160: Determine whether a predetermined first state is satisfied;

[0074] Step 200: If a predetermined first state is met, an optimizer is activated to determine position data, wherein the optimizer performs positioning based on the position data from the particle filter.

[0075] In the text, a vehicle may be an autonomous driving vehicle (also referred to as an egocar), that is, a movable means of transport with an autonomous driving function, which may be a car, bus, truck, lorry, train, ship, motorcycle, tricycle, two-wheeler or other movable means of transport.

[0076] The so-called particle filter refers to the process of finding a set of random samples propagating in the state space to approximate the probability density function, replacing the integral operation with the sample mean, and then obtaining the minimum variance estimate of the system state. These samples are figuratively called "particles", so it is called a particle filter.

[0077] The particle filter is an implementation of the Bayesian filter or the Markov localization filter. The particle filter can generally include four steps: initialization step, prediction step, particle weight update step and resampling step.

[0078] In the initialization step, starting from the GPS positioning data, N particles can be obtained, for example, in a Gaussian distribution around the GPS positioning data.

[0079] In the prediction step, motion control may be applied to the N particles. In some embodiments, the motion control may be obtained by a wheel speed sensor or an inertial measurement unit (IMU). In some embodiments, the motion control may also be obtained by the prediction result of a multi-degree-of-freedom (e.g., seven-degree-of-freedom) vehicle model.

[0080] In the particle weight update step, the match between the actual measurement and the predicted measurement is measured, and this match is called the weight. In other words, the weight means how close the actual measurement of the particle is to the predicted measurement. In the particle filter, the larger the particle weight, the higher the survival probability. In other words, the survival probability of each particle is proportional to the weight.

[0081] In the resampling step, the resampling technique is used to randomly extract N new particles from the old particles and replace them in proportion to the weights. After resampling, particles with larger weights may stay and other particles may disappear. Particles gather in areas with higher posterior probabilities.

[0082] The particle filter can continuously update the loop iteration until it converges to the optimized value as the actual position of the vehicle. In some embodiments, the advantage of the particle filter is that it has accurate positioning and a high probability of converging to the global optimal value. In addition, in some embodiments, the particle filter is easy to program and flexible. Nevertheless, the number of particles in the particle filter has a close relationship with the final positioning accuracy. As the number of particles increases, the amount of calculation of the update loop iteration process is large, which increases the calculation load of the positioning system to a certain extent. Therefore, the particle filter may also be associated with a large calculation load, and has high requirements for calculation time and calculation configuration, such as processor performance and number of processors.

[0083] In machine learning, there are many optimization methods (optimizers) to try to find the optimal solution of the model. Generally, optimizers can include: gradient descent optimizer (including stochastic gradient descent optimizer), gradient ascent optimizer (including stochastic gradient ascent optimizer) and particle swarm optimizer. Taking the gradient descent optimizer as an example, the core of the gradient descent optimizer is to minimize the objective function J(θ), where θ is the parameter of the model. In each iteration of the gradient descent optimizer, for each variable, the corresponding parameter value is updated in the opposite direction of the gradient of the objective function in the variable. Among them, the learning rate η determines the number of iterations for the function to reach the (local) minimum. In other words, on the hyperplane of the objective function, move in the direction of the decreasing slope until you encounter the "bottom" formed by the hyperplane. Compared with the particle filter, the computational load of the optimizer is relatively low, and the requirements for computing time and computing configuration are also reduced. However, the optimizer may converge to a local optimum rather than a global optimum. In other words, the probability of the optimizer converging to the global optimum is relatively low.

[0084] The method for vehicle positioning according to the present invention combines the advantages of a particle filter and an optimizer, and at least partially avoids the disadvantages of both, thereby reducing the computational load while maintaining good positioning accuracy.

[0085] In some embodiments, when a predetermined first state is met, the optimizer is activated to determine the position data. Activating the optimizer may mean switching from determining the position data with the aid of a particle filter to determining the position data with the aid of an optimizer. At this time, the latest position data determined by the particle filter is set as the initial position data of the optimizer. The latest position data determined based on the particle filter can be considered to be relatively accurate, and when the optimizer uses this as the initial position data, it can converge to the optimal value, especially the global optimal value, more quickly. In other embodiments, activating the optimizer may mean determining the position data with the aid of an optimizer in parallel with determining the position data with the aid of a particle filter (for this, see Figure 2 for detailed information).

[0086] According to the present invention, the predetermined first state for activating the optimizer may be related to the vehicle state, the vehicle hardware / software configuration, the current driving scene and / or the current positioning state, etc. For example, the first state may be related to the vehicle speed, and when the vehicle speed is greater than a predetermined first threshold, such as 20 km / h, it is determined that the first state is satisfied. This is advantageous, as the computational load that the vehicle needs to bear per unit time increases rapidly as the vehicle speed increases, and activating the optimizer, in particular switching from determining the position data by means of a particle filter to determining the position data by means of an optimizer, can effectively reduce the computational load of the vehicle.

[0087] In addition, when the vehicle is in a stopped state, such as a temporary stop (red light) or a long stop (parking lot), the latest position data is stored in the relevant memory of the vehicle. When restarting is required, when the vehicle remains stationary during the stop, for example, when the difference between the stored latest position data and the current GPS position data is less than a predetermined second threshold value (such as 0.1m), the stored latest position data can be considered to be accurate, so that the first state can be considered to be satisfied, and then the optimizer can be directly activated to determine the position data.

[0088] In some embodiments, after switching from determining the position data by means of a particle filter to determining the position data by means of an optimizer, it is necessary to find out whether a predetermined second state is met, and if the predetermined second state is met, then switching from determining the position data by means of an optimizer back to determining the position data by means of a particle filter. The second state may be related to the vehicle state or the operating time and positioning certainty of the optimizer.

[0089] In some embodiments, when the running time of determining the position data by means of the optimizer is greater than a predetermined third threshold value (e.g., 10 minutes or 1 hour), the second state is considered to be satisfied, thereby switching from determining the position data by means of the optimizer to determining the position data by means of the particle filter. This is advantageous because as the running time of the optimizer increases, the accumulated error generated by the optimizer will also increase, thereby affecting the accuracy of positioning.

[0090] In some embodiments, the certainty of the position data determined with the aid of the optimizer, such as the covariance, can be ascertained, and when the certainty is lower than a predetermined fourth threshold, the second state is considered to be satisfied, thereby switching from determining the position data with the aid of the optimizer back to determining the position data with the aid of the particle filter.

[0091] In some embodiments, when the vehicle speed is below a predetermined fifth threshold (eg 10 km / h), the second state is considered to be satisfied, thereby switching back from determining position data by means of an optimizer to determining position data by means of a particle filter.

[0092] In some embodiments, when the vehicle is in a stopped state, a traffic light can be detected by means of a sensor device, such as a camera, and the state of the traffic light can be identified. If the identified state indicates that there is enough time for running the particle filter, then the second state is satisfied. For example, when a yellow light is identified from the traffic light photographed by the camera, then it is determined that the second state is not satisfied. For example, when a red light is identified from the traffic light photographed by the camera, for example, less than 3 seconds are left, then it is determined that the second state is not satisfied.

[0093] Figure 2 Another exemplary flow chart of a method for vehicle positioning is shown. The method for vehicle positioning also combines the advantages of particle filters and optimizers, while at least partially avoiding the shortcomings of both, thereby reducing the computational load while maintaining good positioning accuracy. According to the present invention, the method includes:

[0094] Step 100 ′: Determine first position data of the vehicle by means of a particle filter;

[0095] Step 200 ′: Determine second position data of the vehicle by means of an optimizer;

[0096] Step 300': Evaluate the first position data and the second position data, find out the difference between the first position data and the second position data, and determine whether the difference is greater than a predetermined sixth threshold. If so, adjust the parameters of the particle filter (represented by the dotted line), such as increasing the number of particles in the particle filter.

[0097] In some embodiments, in order to reduce the computational load of the particle filter, the particle filter may be run with a reduced number of particles at a specific stage, such as after obtaining a good initial positioning (such as in step 100'). In order to ensure reliable positioning, the optimizer may be run in parallel with the particle filter within a specific time period or regularly (such as every unit time, such as 1 minute or 10 minutes) (such as in step 200'). In the parallel operation stage, when it is determined that the difference between the first position data obtained by the particle filter and the second position data obtained by the optimizer is greater than a predetermined sixth threshold value, such as 0.1m, the parameters of the particle filter may be adjusted, such as increasing the number of particles of the particle filter, so as to obtain a more accurate positioning result.

[0098] Next, a device for vehicle positioning according to some embodiments of the present invention is further explained in detail. Figure 3 FIG. 1 shows an exemplary block diagram of a device for vehicle positioning. A vehicle 10 includes an onboard sensor 12 and a device 14 for vehicle positioning. The onboard sensor 12 can transmit the real-time vehicle surrounding environment data detected by itself to the device 14. Figure 3 As shown, the device 14 includes a storage device 16 and a processing device 18. The processing device 18 may include one or more processors (such as a CPU and / or a GPU). The storage device 16 may store detection data (vehicle speed, GPS, camera data, lidar data, etc.) of the vehicle-mounted sensor.

[0099] It should be understood that the processing device 18 can be configured as any device having data processing and analysis functions including a processor. For example, the processing device 18 can be configured as one or more processors, or the processing device 18 can be configured as a computer, a server or even other intelligent handheld devices. The processor can be connected to the storage module via an interconnect bus. The storage module can include a main memory, a read-only memory, and a large-capacity storage device, such as various disk drives, tape drives, etc. "Processor" or "controller" is not limited to CPU or GPU, but may include digital signal processor (DSP) hardware, network processor, application-specific integrated circuit (ASIC), field programmable gate array (FPGA). The storage device 16 can be a read-only memory (ROM), random access memory (RAM) and non-volatile memory for storing software. Other conventional and / or customized hardware may also be included.

[0100] The processing device 18 may include a plurality of functional modules. For example, the processing device 18 may include a particle filter module 20, an optimizer module 22, and an analysis module 24. The particle filter module may be configured to determine the position data of the vehicle by means of a particle filter; the optimizer module may be configured to determine the position data of the vehicle by means of an optimizer; and the analysis module may be configured to find out whether a predetermined state is met, and activate the particle filter module and / or the optimizer to determine the position data under the predetermined state. For example, the analysis module may send an activation instruction to the filter module and / or the optimizer module to activate the filter module and / or the optimizer.

[0101] In some embodiments, the analysis module may be configured to determine whether a predetermined first state is satisfied, and if so, the analysis module prompts: activating the optimizer to determine the position data. For example, the analysis module may send an activation instruction to the optimizer module to activate the optimizer module.

[0102] In some embodiments, "activating the optimizer to determine the position data" may include switching from determining the position data by means of a particle filter to determining the position data by means of an optimizer. The optimizer may perform positioning based on the position data from the particle filter. Preferably, the particle filter module transmits the latest position data determined by the particle filter before the switch to the optimizer module as the initial position data of the optimizer after the switch. The latest position data determined based on the particle filter can be considered to be relatively accurate, and when the optimizer uses this as the initial position data, it can converge to the optimal value, especially the global optimal value, more quickly.

[0103] In some embodiments, the analysis module can be configured to determine whether the predetermined second state is satisfied, and if the predetermined second state is satisfied, the analysis module causes: switching from determining the position data by means of the optimizer to determining the position data by means of the particle filter. For example, the analysis module can send an activation instruction to the particle filter to activate the particle filter.

[0104] In some embodiments, the analysis module can be configured to determine whether a predetermined third state is satisfied. If the predetermined third state is satisfied, the analysis module prompts: activating a particle filter to determine the first position data of the vehicle and activating an optimizer in parallel to determine the second position data of the vehicle; evaluating the first position data and the second position data; determining the difference between the first position data and the second position data; determining whether the difference is greater than a predetermined sixth threshold value, and if so, adjusting the parameters of the particle filter, such as increasing the number of particles in the particle filter.

[0105] In some embodiments, the analysis module may be configured to obtain the vehicle speed and determine whether the vehicle speed is greater than a predetermined first threshold, and if so, to ascertain that a predetermined first condition is satisfied.

[0106] In some embodiments, the analysis module may be configured to ascertain a difference between the latest stored position data and the current GPS position data, and determine whether the difference is less than a predetermined second threshold, and if so, ascertain that the predetermined first state is satisfied.

[0107] In some embodiments, the analysis module can be configured to determine the difference between the position data determined by means of the particle filter and the position data determined by means of the optimizer, and determine whether the difference is greater than or equal to a predetermined sixth threshold, and if so, determine that the predetermined third state is satisfied.

[0108] In some embodiments, the analysis module may be designed to ascertain a runtime for determining the position data by means of the optimizer and to determine whether the runtime is greater than a predetermined third threshold value, and if so, to ascertain that the predetermined second state is satisfied.

[0109] In some embodiments, the analysis module may be designed to ascertain the certainty, for example the covariance, of the position data determined by means of the optimizer and to determine whether the certainty is below a predetermined fourth threshold value and, if so, to ascertain that the predetermined second state is satisfied.

[0110] In some embodiments, the analysis module may be configured to obtain the vehicle speed and determine whether the vehicle speed is below a predetermined fifth threshold, and if so, to ascertain that the predetermined second condition is satisfied.

[0111] In some embodiments, the analysis module can be configured to obtain detection data from a sensor device, such as a camera detecting a traffic light, when the vehicle is in a stopped state, and determine whether the detection data indicates that there is sufficient time for running the particle filter. If so, then determine that a predetermined second state is met.

[0112] The functions of the various elements shown in the drawings can be implemented in the form of dedicated hardware, such as "signal providers", "signal processing units", "processors", "controllers", etc., as well as hardware that can be combined with appropriate software to execute software. When provided by a processor, these functions can be provided by a dedicated processor, by a shared processor, or by multiple separate processors, some or all of which can be shared. However, the term "processor" or "controller" is not limited to hardware that can only execute software, but can include digital signal processor (DSP) hardware, network processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), read-only memories (ROMs), random access memories (RAMs), and non-volatile memories for storing software. Other conventional and / or customized hardware may also be included.

[0113] Block diagrams, for example, may illustrate high-level circuit diagrams that implement the principles of the present disclosure. Similarly, flow charts, state transition diagrams, pseudocode, etc. may represent various processes, operations, or steps, which, for example, may be substantially represented by computer-readable media and thus executed by a computer or processor, regardless of whether such a computer or processor is explicitly represented. The methods disclosed in the specification and claims may be implemented by a device having modules that perform the respective actions of these methods.

[0114] It should be understood that unless otherwise stated explicitly or implicitly, for example, due to technical reasons, the disclosure of multiple actions, processes, operations, steps or functions disclosed in the specification or claims shall not be interpreted as being in a specific order. Thus, the disclosure of multiple actions or functions will not limit the multiple actions or functions to a specific order unless these actions or functions are not interchangeable due to technical reasons. In addition, in some examples, a single action, function, process, operation or step may include or be divided into multiple sub-actions, sub-functions, sub-processes, sub-operations or sub-steps, respectively. Unless explicitly excluded, such sub-actions may be included in the disclosure of the single action and as part of the disclosure of the single action.

[0115] Although the exemplary embodiments of the present disclosure have been described, it should be understood by those skilled in the art that various changes and modifications can be made to the exemplary embodiments of the present disclosure without departing from the spirit and scope of the present disclosure in essence. Therefore, all changes and modifications are included in the protection scope defined by the present disclosure.

Claims

1. A method for vehicle positioning, characterized in that: The method comprises: - Determine the position data of the vehicle with the help of a particle filter; - Check whether the predetermined first state is met; - if a predetermined first state is satisfied, activating an optimizer to determine position data, wherein the optimizer performs positioning based on the position data from the particle filter, wherein the optimizer performs positioning based on the position data from the particle filter comprises: setting the latest position data determined by the particle filter as initial position data of the optimizer, Wherein, activating the optimizer to determine the position data includes switching from determining the position data with the aid of a particle filter to determining the position data with the aid of an optimizer, wherein the method further includes: after the switching, determining whether a predetermined second state is satisfied, and if the predetermined second state is satisfied, switching from determining the position data with the aid of an optimizer to determining the position data with the aid of a particle filter.

2. The method according to claim 1, characterized in that The optimizer comprises: Gradient descent optimizer; Gradient ascent optimizer; or Particle swarm optimizer.

3. The method according to claim 1 or 2, characterized in that: The first state is related to the vehicle state, the vehicle's software configuration and / or hardware configuration, the current driving scene and / or the current positioning state.

4. The method according to claim 3, characterized in that The first state includes: The vehicle speed is greater than a predetermined first threshold; or When the vehicle is in a stopped state, the difference between the stored latest position data and the current GPS position data is smaller than a predetermined second threshold.

5. The method according to claim 1 or 2, characterized in that: The second state includes: Determining, by means of the optimizer, that the runtime of the position data is greater than a predetermined third threshold; and / or The certainty of the position data determined by means of the optimizer is below a predetermined fourth threshold; and / or The vehicle speed is below a predetermined fifth threshold.

6. The method according to claim 1 or 2, characterized in that: When the vehicle is stopped, By means of a sensor device, detection data is acquired and the state of the traffic light is recognized, and If the detection data indicate that there is sufficient time for running the particle filter, then the second state is satisfied.

7. The method according to claim 1 or 2, characterized in that: The method comprises: - determining first position data of the vehicle by means of a particle filter; - determining second position data of the vehicle by means of the optimizer; - evaluating the first position data and the second position data; - determining a difference between the first position data and the second position data; - Determine whether the difference is greater than a predetermined sixth threshold, and if so, adjust the parameters of the particle filter.

8. The method according to claim 7, characterized in that Adjusting the parameters of the particle filter includes increasing the number of particles of the particle filter.

9. The method according to claim 5, characterized in that The certainty of the position data is the covariance of the position data.

10. The method according to claim 6, characterized in that When the vehicle is stationary, the traffic light is detected by means of a camera and the state of the traffic light is identified, and if the identified state indicates that there is sufficient time for operating the particle filter, then the second state is satisfied.

11. A device for vehicle positioning, characterized in that: The device comprises: a particle filter module, which is designed to determine position data of the vehicle by means of a particle filter; an optimizer module, which is designed to determine position data of the vehicle by means of an optimizer; an analysis module, which is designed to determine whether a predetermined state is met and, in the predetermined state, activates a particle filter module and / or an optimizer to determine the position data, The analysis module is configured to find out whether a predetermined first state is satisfied, and if the predetermined first state is satisfied, the analysis module causes: activating an optimizer to determine position data, wherein the optimizer performs positioning based on position data from a particle filter, wherein the latest position data determined by the particle filter is set as initial position data for the optimizer, Wherein, "activating the optimizer to determine the position data" includes switching from determining the position data by means of a particle filter to determining the position data by means of an optimizer, wherein the particle filter module transmits the latest position data determined by the particle filter before the switching to the optimizer module as the initial position data of the optimizer after the switching, Therein, the analysis module is designed to ascertain whether a predetermined second state is satisfied, and if the predetermined second state is satisfied, the analysis module causes a switch from determining the position data by means of an optimizer to determining the position data by means of a particle filter.

12. The device according to claim 11, characterized in that The analysis module is designed to determine: Whether the predetermined third state is satisfied, if the predetermined third state is satisfied, the analysis module prompts: activating the particle filter to determine the first position data of the vehicle and activating the optimizer in parallel to determine the second position data of the vehicle; evaluating the first position data and the second position data; finding out the difference between the first position data and the second position data; judging whether the difference is greater than a predetermined sixth threshold value, if so, adjusting the parameters of the particle filter.

13. The device according to claim 12, characterized in that The analysis module is configured to: Acquiring a vehicle speed and determining whether the vehicle speed is greater than a predetermined first threshold, and if so, ascertaining that a predetermined first condition is satisfied; and / or ascertaining a difference between the stored latest position data and the current GPS position data, and determining whether the difference is less than a predetermined second threshold, and if so, ascertaining that the predetermined first state is satisfied; and / or ascertaining a difference between the position data determined by means of the particle filter and the position data determined by means of the optimizer, and determining whether the difference is greater than or equal to a predetermined sixth threshold value, and if so, ascertaining that a predetermined third state is satisfied; and / or ascertaining a runtime for determining the position data by means of the optimizer and determining whether the runtime is greater than a predetermined third threshold value, and if so, ascertaining that a predetermined second state is satisfied; and / or ascertaining the certainty of the position data determined by means of the optimizer and determining whether the certainty is below a predetermined fourth threshold value and, if so, ascertaining that the predetermined second state is met; and / or acquiring the vehicle speed and determining whether the vehicle speed is below a predetermined fifth threshold, and if so, ascertaining that a predetermined second condition is satisfied; and / or When the vehicle is in a stopped state, detection data from the sensor device is acquired to determine whether the detection data indicates that there is sufficient time for operating the particle filter, and if so, to determine that a predetermined second state is satisfied.

14. The device according to claim 12, characterized in that Adjusting the parameters of the particle filter includes increasing the number of particles of the particle filter.

15. The device according to claim 13, characterized in that The certainty of the position data is the covariance of the position data.

16. The device according to claim 13, characterized in that The detection data from the sensor device includes traffic light detection data from the camera.

17. A device for vehicle positioning, comprising: one or more processors; as well as one or more memories configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions, When the series of computer-executable instructions are executed by the one or more processors, the one or more processors are caused to perform the method as claimed in any one of claims 1 to 10.

18. A computer-readable storage medium having a series of computer-executable instructions stored thereon, which, when executed by one or more computing devices, causes the one or more computing devices to perform the method as described in any one of claims 1-10.

19. A vehicle, characterized in that: The vehicle comprises an arrangement according to one of claims 11 to 16.