Method, device, electronic device and storage medium for determining posture

By separating the weight updates of the lateral and heading angle states in the particle filter and using the perceived lane line information, the problem of difficulty in balancing the lateral and heading angle positioning accuracy in the vehicle positioning system is solved, and high-precision vehicle pose determination is achieved.

CN115388906BActive Publication Date: 2024-08-30SHANGHAI ANTING HORIZON INTELLIGENT TRANSP TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211028797.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-24
Publication Date
2024-08-30
Estimated Expiration
2042-08-24

AI Technical Summary

Technical Problem

Existing vehicle positioning systems have difficulties in taking into account both lateral positioning accuracy and heading angle positioning accuracy, making it difficult to achieve high accuracy that takes both into account.

Method used

By separating the lateral state and the heading angle state in the particle filter, and updating them with different weights, the perceived lane line information is used to calculate the matching score, and the lateral weight and heading angle weight of the particles are adjusted to determine the current posture of the vehicle. .

Benefits of technology

It achieves high-precision positioning of the lateral and heading angles during the vehicle positioning process, solves the problem that the existing technology cannot take into account the accuracy of the lateral and heading angles, and improves the overall positioning performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115388906B
    Figure CN115388906B
Patent Text Reader

Abstract

The disclosed embodiment discloses a method, device, electronic device and storage medium for determining a posture, wherein the method includes: determining the first lateral state and the first heading angle state corresponding to each first particle at the current moment based on the first particle postures of m first particles corresponding to the movable device; determining the first matching score and the second matching score corresponding to each first particle based on the sensed lane line information; updating the first lateral weight of the first particle corresponding to each first particle based on each first matching score to obtain the second lateral weight; updating the first heading angle weight of the first particle corresponding to each second matching score to obtain the second heading angle weight; determining the current positioning posture of the movable device based on each second lateral weight, each second heading angle weight, each first lateral state and each first heading angle state. A balance between lateral positioning accuracy and heading angle positioning accuracy is achieved, and positioning performance is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to positioning technology, and in particular to a method, device, electronic device and storage medium for determining a position and posture. Background Art

[0002] The vehicle positioning system based on visual perception and high-precision map realizes real-time high-precision positioning on the vehicle side through system state estimation technology. Among them, the system state estimation technology based on particle filtering has become a common state estimation method in the vehicle positioning system due to its low computational cost and high stability. In the filter, the different state settings of the system and the observation methods of state update directly affect the estimation results of the filter, that is, the performance of vehicle positioning. In the visual positioning system of related technologies, state estimation usually sets the position and posture of the vehicle as the state of the system for real-time prediction and update. Usually, the perceived lane lines are matched with the lane lines in the high-precision map, and the correlation matching scores of the perceived lane lines and the map are calculated. Then, the filter state is updated, and finally the positioning result of the vehicle is determined based on the state of the filter. However, it is difficult for existing filters to take into account both lateral positioning accuracy and heading angle positioning accuracy. Summary of the invention

[0003] In order to solve the above technical problems such as difficulty in taking into account both lateral positioning accuracy and heading angle positioning accuracy, the present disclosure is proposed. The embodiments of the present disclosure provide a method, device, electronic device and storage medium for determining a position and posture.

[0004] According to one aspect of an embodiment of the present disclosure, a method for determining a posture is provided, including: determining first particle postures of m first particles corresponding to a movable device, where m is an integer greater than 1, and the first particle posture is the posture of the corresponding first particle obtained at a previous moment; based on the postures of each of the first particles, determining the first lateral state and the first heading angle state corresponding to each of the first particles at a current moment; based on the sensed lane line information, determining the first matching score and the second matching score corresponding to each of the first particles; based on each of the first matching scores, updating the first lateral weight of the first particle corresponding to it, respectively, to obtain the second lateral weight corresponding to each of the first particles; based on each of the second matching scores, updating the first heading angle weight of the first particle corresponding to it, respectively, to obtain the second heading angle weight corresponding to each of the first particles; based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state corresponding to each of the first particles, determining the current positioning posture of the movable device.

[0005] According to another aspect of an embodiment of the present disclosure, a posture determination device is provided, comprising: a first determination module, for determining first particle postures of m first particles corresponding to a movable device, m being an integer greater than 1, and the first particle posture being the posture of the corresponding first particle obtained at a previous moment; a first processing module, for determining, based on the postures of each of the first particles, a first lateral state and a first heading angle state corresponding to each of the first particles at a current moment; a second processing module, for determining, based on the sensed lane line information, a first matching score and a second matching score corresponding to each of the first particles; a third processing module, for updating, based on each of the first matching scores, a first lateral weight corresponding to the first particle, to obtain a second lateral weight corresponding to each of the first particles; a fourth processing module, for updating, based on each of the second matching scores, a first heading angle weight corresponding to the first particle, to obtain a second heading angle weight corresponding to each of the first particles; and a fifth processing module, for determining the current positioning posture of the movable device based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state corresponding to each of the first particles.

[0006] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method for determining the posture described in any of the above embodiments of the present disclosure.

[0007] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method for determining the posture described in any of the above embodiments of the present disclosure.

[0008] Based on the posture determination method, device, electronic device and storage medium provided by the above embodiments of the present disclosure, by separating the lateral state and the heading angle state, during the positioning process, different weights are used for the lateral state and the heading angle state of the particle, thereby achieving a balance between lateral positioning accuracy and heading angle positioning accuracy, effectively improving the positioning performance.

[0009] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.

[0011] Figure 1 This is an exemplary application scenario of the method for determining the position and posture provided by the present disclosure;

[0012] Figure 2 is a flowchart of a method for determining a posture provided by an exemplary embodiment of the present disclosure;

[0013] Figure 3 is a flowchart of a method for determining a posture provided by an exemplary embodiment of the present disclosure;

[0014] Figure 4 is a flowchart of step 203 provided by an exemplary embodiment of the present disclosure;

[0015] Figure 5 is a flowchart of step 2022a provided by an exemplary embodiment of the present disclosure;

[0016] Figure 6 is a flowchart of step 202 provided by an exemplary embodiment of the present disclosure;

[0017] Figure 7 is a schematic diagram of a first grid coordinate area provided by an exemplary embodiment of the present disclosure;

[0018] Figure 8 is a schematic diagram of a second particle mapping process provided by an exemplary embodiment of the present disclosure;

[0019] Fig. 9 is a flowchart of step 202 provided by another exemplary embodiment of the present disclosure;

[0020] Fig.10 is a flowchart of a method for determining a posture provided by another exemplary embodiment of the present disclosure;

[0021] Fig.11 is a structural schematic diagram of a posture determination device provided by an exemplary embodiment of the present disclosure;

[0022] Fig.12 is a structural diagram of a second processing module 503 provided by an exemplary embodiment of the present disclosure;

[0023] Fig.13is a structural diagram of a fifth processing module 506 provided by an exemplary embodiment of the present disclosure;

[0024] Fig.14 is a structural schematic diagram of a first processing module 502 provided by an exemplary embodiment of the present disclosure;

[0025] Fig.15 is a structural schematic diagram of a first processing module 502 provided by another exemplary embodiment of the present disclosure;

[0026] Fig.16 It is a structural schematic diagram of an application embodiment of the electronic device disclosed in the present invention. DETAILED DESCRIPTION

[0027] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.

[0028] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0029] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0030] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.

[0031] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0032] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.

[0033] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0034] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0035] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0036] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0037] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0038] The disclosed embodiments can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.

[0039] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.

[0040] SUMMARY OF THE DISCLOSURE

[0041] In the process of realizing the present disclosure, the inventors found that the vehicle-mounted positioning system based on visual perception and high-precision maps can realize real-time high-precision positioning of the vehicle side through system state estimation technology. Among them, the system state estimation technology based on particle filtering has become a common state estimation method in the vehicle-mounted positioning system due to its low computational cost and high stability. In the filter, the difference in the system state setting and the state update observation method directly affects the estimation result of the filter, that is, the performance of vehicle positioning. In the visual positioning system of the related art, the state estimation usually sets the position and posture of the vehicle as the state of the system for real-time prediction and update. The perceived lane lines and the lane lines in the high-precision map are usually matched, and the correlation matching score of the perceived lane lines and the map is calculated. Then, the filter state is updated, and the positioning result of the vehicle is finally determined based on the state of the filter. However, it is difficult for existing filters to take into account both lateral positioning accuracy and heading angle positioning accuracy.

[0042] Exemplary Overview

[0043] Figure 1 This is an exemplary application scenario of the method for determining posture provided by the present invention.

[0044] For the high-precision positioning scenario of movable equipment, taking a vehicle as an example, when the vehicle needs to be positioned with high precision, it is necessary to first determine the initial posture of the vehicle in the navigation map, and then perform high-precision positioning in the subsequent movement of the vehicle based on the initial posture. During the movement, the posture determination method provided by the embodiment of the present disclosure can be used to determine different weights for the lateral state and the heading angle state in the positioning process based on particle filtering, so as to take into account the lateral positioning accuracy and the heading angle positioning accuracy, thereby improving the overall positioning accuracy of the posture. Figure 1 In, x and y represent the x-axis and y-axis of the vehicle's coordinate system, respectively, the y direction is lateral, and the x direction is longitudinal. When positioning the vehicle, it is necessary to combine the observation results of the lane lines, which refer to the matching results of the lane lines (i.e., perceived lane lines) identified by collecting environmental images through the camera and the lane lines in the map. The present disclosure is based on the perceived lane lines, and determines the first matching score and the second matching score used to update the lateral weight and heading angle weight of each particle in the filter of the particle filter, respectively, so that different weights can be used to update the lateral state and the heading angle state, respectively, and then determine the posture of the movable device based on the updated state, so as to achieve high accuracy in both lateral positioning and heading angle positioning, and solve the problem that the existing technology cannot take into account both lateral positioning accuracy and heading angle positioning accuracy. In the embodiment of the present disclosure, the posture includes three degrees of freedom: lateral coordinate component Y (lon), longitudinal coordinate component X (lat) and heading angle θ (yaw).

[0045] Exemplary Methods

[0046] Figure 2 is a flow chart of a method for determining a posture provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as a vehicle-mounted computing platform, such as Figure 2 As shown, the following steps are included:

[0047] Step 201 , determining first particle poses of m first particles corresponding to the movable device, where m is an integer greater than 1, and the first particle poses are the poses of the corresponding first particles obtained at the previous moment.

[0048] Among them, the movable device can be a vehicle, a robot and other equipment, which are not specifically limited. The first particle posture of the first particle is the posture of the particle in the particle filter determined in the positioning process at the previous moment. The specific number of first particles m can be set according to actual needs, which is not limited in this disclosure. The previous moment can be any moment before the current moment, such as the moment before the current moment, or a moment with a certain time interval from the current moment, which can be determined according to actual needs.

[0049] Step 202: Based on the positions and postures of the first particles, determine the first lateral state and the first heading angle state corresponding to the first particles at the current moment.

[0050] Among them, the first lateral state and the first heading angle state of the first particle at the current moment are the lateral state and heading angle state of the predicted particle posture of the first particle at the current moment relative to the predicted posture of the movable device at the current moment. The predicted particle posture of the first particle at the current moment can be obtained by any feasible prediction method. Similarly, the predicted posture of the movable device at the current moment can also be obtained by any feasible prediction method. For example, based on the first particle posture of the first particle and the odometer information of the movable device, a corresponding motion model is used for prediction. The motion model can be set according to actual needs, such as an odometer-based motion model (Odometry Sample Motion Model) or other feasible motion models, which are not limited in the present disclosure.

[0051] Step 203 : Based on the sensed lane line information, determine the first matching score and the second matching score corresponding to each first particle.

[0052] Among them, the perceived lane line information is the lane line information determined based on the collected environment image in the perception stage. The perceived lane line information may include at least one perceived lane line parameter corresponding to the lane line, such as c0, c1, c2, c3, c0, c1, c2, c3 represent the coefficients of the cubic equation parameterized by the curve equation of the fitted lane line. The specific perceived lane line information can be set according to actual needs. The first matching score and the second matching score are matching scores determined for the lateral state and the heading angle state, respectively. The first matching score corresponds to the lateral state, and the second matching score corresponds to the heading angle state. For the first matching score and the second matching score corresponding to the first particle, corresponding rules can be set. For example, a first preset rule can be set for the determination of the first matching score, and a second preset rule can be set for the determination of the second matching score. The first preset rule and the second preset rule can be set according to actual needs. The setting principle is that, relative to the movable device, the matching score of the lane line sampling point at the close distance of the movable device contributes more to the first matching score, and the matching score of the sampling point at the medium and long distance contributes less, so that the lateral positioning accuracy is higher; the matching score of the lane line sampling point at the medium and long distance of the movable device contributes more to the second matching score, and the matching score of the sampling point at the close distance contributes less, so that the heading angle positioning accuracy is higher.

[0053] In the prior art, the lateral state and the heading state are updated with the same weight, which is determined based on the total matching score of the lane line. Since there are certain differences in the geometric shapes of the lane line obtained by visual perception and the lane line in the map, the matching score of the perceived lane line matching the lane line in the map has the following characteristics when updating the particle state: when the matching score of the perceived lane line sampling point at a close distance contributes more to the total matching score, the lateral positioning accuracy is higher, and when the matching score of the perceived lane line sampling point at a medium or long distance contributes more to the total matching score, the heading positioning accuracy is higher. Such a game makes it difficult to balance the lateral (lat) positioning accuracy and the heading (yaw) positioning accuracy of the vehicle. The present disclosure updates the lateral state and the heading state respectively through different matching scores, so that the lateral positioning accuracy and the heading positioning accuracy can be balanced, solving the problem of the prior art that the lateral positioning accuracy and the heading positioning accuracy cannot be balanced.

[0054] Step 204 : Based on each first matching score, the first transverse weights of the first particles corresponding to the first matching scores are updated to obtain the second transverse weights corresponding to the first particles.

[0055] Among them, the first transverse weight of the first particle is the weight corresponding to the first transverse state, and the first transverse weight can be determined and stored in the positioning process at the previous moment. Updating the first transverse weight based on the first matching score means adjusting the weight of the first transverse state based on the matching situation at the current moment, and the specific update rules can be set according to actual needs. For example, when the matching effect is good, the first transverse weight of the first particle can be increased to obtain the corresponding updated second transverse weight. When the matching effect is poor, the first transverse weight of the first particle can be reduced, and the specific principle will not be repeated.

[0056] Step 205: based on each second matching score, the first heading angle weights of the first particles corresponding to the first particles are updated to obtain the second heading angle weights corresponding to the first particles.

[0057] The first heading angle weight of the first particle is the weight corresponding to the first heading angle state, and the first heading angle weight is also determined and stored in the positioning process at the previous moment. The updating principle of the first heading angle weight is similar to the above-mentioned first lateral weight, which will not be repeated here.

[0058] There is no particular order for step 204 and step 205.

[0059] Step 206, determining the current positioning posture of the movable device based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state respectively corresponding to each first particle.

[0060] Among them, since each first particle simulates the posture of the movable device, after determining the second lateral weight, the second heading angle weight, and the first lateral state and the first heading angle state of each first particle at the current moment, the current positioning posture of the movable device can be determined based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state corresponding to each first particle. Since the posture includes three components: lateral, longitudinal, and heading angle, the first longitudinal state and the corresponding weight corresponding to each first particle at the current moment can be implemented based on any implementable particle filter, such as based on a histogram filter, and the present disclosure does not limit it.

[0061] The method for determining the posture provided in this embodiment determines different matching scores for the lateral state and heading angle state of each particle during the positioning process, and uses them to update the lateral weight and heading angle weight respectively, so that the lateral state and heading angle state of the particle have different weights, respectively, and the lateral state and heading angle state are separated, thereby achieving a balance between lateral positioning accuracy and heading angle positioning accuracy, and effectively improving positioning performance.

[0062] Figure 3It is a flowchart of a method for determining a posture provided by an exemplary embodiment of the present disclosure.

[0063] In an optional example, determining the first matching score and the second matching score corresponding to each first particle based on the sensed lane line information in step 203 may specifically include the following steps:

[0064] Step 2031, based on the sensed lane line information, determine the lane line sampling points in the vehicle coordinate system.

[0065] Among them, the perceived lane line information is the lane line information determined based on the collected environment image in the perception stage. The perceived lane line information may include perceived lane line parameters, such as c0, c1, c2, c3, where c0, c1, c2, c3 represent the coefficients of the cubic equation parameterized by the curve equation of the fitted lane line. The specific perceived lane line information can be set according to actual needs. The vehicle coordinate system is a vehicle coordinate system with the center of the rear axle of the vehicle as the origin, and the details are not repeated here. The lane line sampling points in the vehicle coordinate system are obtained by sampling the perceived lane lines in the vehicle coordinate system based on the perceived lane line information. The specific sampling method can be set according to actual needs. For example, in the image coordinate system (with the upper left corner of the image as the origin, the horizontal rightward direction as the u axis, and the vertical downward direction as the v axis), the center of the perceived image corresponding to the perceived lane line information is taken as the starting point, and sampling is performed along the v direction according to the preset sampling interval to obtain N original sampling points. The N original sampling points are projected onto the x-axis of the vehicle coordinate system through the camera's intrinsic parameters, extrinsic parameters, and the mapping relationship between the image coordinate system and the vehicle coordinate system to obtain N x-axis coordinates, where the i-th x-axis coordinate is expressed as Then, based on the perceived lane line information, the lane line sampling points in the vehicle coordinate system corresponding to the N original sampling points can be determined. The i-th (i=1, 2, …, N) lane line sampling point is expressed as:

[0066]

[0067] Among them, t represents the current time, c0, c1, c2, and c3 represent the perceived lane line parameters, that is, the coefficients of the cubic equation parameterized by the curve equation of the lane line mentioned above.

[0068] Step 2032: Use each first particle as a movable device, convert the lane line of the first map into the vehicle coordinate system, and obtain the lane line of the second map in the vehicle coordinate system corresponding to each first particle.

[0069] Among them, the first map lane line is the lane line in the high-precision map, which may include relevant information of at least one lane line, and may be set according to actual needs. For example, according to the positioning posture of the vehicle at the previous moment, a local map of a certain range around the positioning posture of the vehicle can be obtained, and the lane line in the local map can be obtained as the first map lane line, and the first particle is taken as a movable device to indicate that the first particle is a movable device, so that the predicted particle posture of the first particle at the current moment (which may be called the first predicted particle posture) is taken as the posture of the movable device, and the vehicle coordinate system of the movable device is established. Specifically, the position component (X, Y) in the first predicted particle posture is taken as the origin of the vehicle coordinate system of the movable device, and the x-axis and y-axis directions of the vehicle coordinate system are determined according to the heading angle (attitude component) in the first predicted particle posture. According to the mapping relationship between the vehicle coordinate system and the map coordinate system obtained in advance, the first map lane line is converted to the vehicle coordinate system, and the second map lane line in the vehicle coordinate system corresponding to each first particle is obtained.

[0070] Step 2033: Determine the first matching score corresponding to each first particle based on the lane line sampling point, the lane line of the second map corresponding to each first particle, and the first preset rule.

[0071] Among them, the first preset rule is the matching score determination rule for the lane line sampling points corresponding to the lateral state, which can be set according to actual needs. The principle is to make the matching score of the lane line sampling points at close distances relatively high, and the matching score of the lane line sampling points at medium and long distances relatively low, so as to improve the lateral positioning accuracy.

[0072] For each first particle, the minimum lateral distance between the lane line sampling point and the lane line of the second map can be determined based on each lane line sampling point and the lane line of the second map, and then the first sampling point score of the lane line sampling point can be determined based on the minimum lateral distance, the preset maximum lateral distance threshold and the above-mentioned first preset rule, and the first matching score corresponding to the first particle can be determined based on the first sampling point scores corresponding to each lane line sampling point. Among them, the minimum lateral distance between the lane line sampling point and the lane line of the second map refers to the lateral distance between the lane line sampling point and the nearest lane line in the second map lane line. The first matching score corresponding to the first particle can be the sum of the first sampling point scores of each lane line sampling point, which can be set according to actual needs.

[0073] Step 2034: Determine a second matching score corresponding to each first particle based on the lane line sampling point, the second map lane line corresponding to each first particle, and a second preset rule.

[0074] Among them, the second preset rule is the matching score determination rule for the lane line sampling points corresponding to the heading angle state, which can be set according to actual needs. The principle is to make the matching score of the lane line sampling points at close distances relatively low, and the matching score of the lane line sampling points at medium and long distances relatively high, so as to improve the heading angle positioning accuracy.

[0075] For each first particle, the minimum lateral distance between the lane line sampling point and the lane line of the second map can be determined based on each lane line sampling point and the lane line of the second map, and then the second sampling point score of the lane line sampling point can be determined based on the minimum lateral distance, the preset maximum lateral distance threshold and the above-mentioned second preset rule, and the second matching score corresponding to each lane line sampling point can be determined based on the second sampling point scores corresponding to each lane line sampling point. Among them, the minimum lateral distance between the lane line sampling point and the lane line of the second map refers to the lateral distance between the lane line sampling point and the nearest lane line in the second map lane line. The second matching score corresponding to the first particle can be the sum of the second sampling point scores of each lane line sampling point, which can be set according to actual needs.

[0076] Figure 4 It is a flowchart of step 203 provided by an exemplary embodiment of the present disclosure.

[0077] In an optional example, step 2033 determines the first matching score corresponding to each first particle based on the lane line sampling point, the second map lane line corresponding to each first particle, and the first preset rule, including:

[0078] Step 20331: for each first particle, based on each lane line sampling point and the lane line of the second map, determine the minimum lateral distance between each lane line sampling point and the lane line of the second map.

[0079] The minimum lateral distance between the lane line sampling point and the lane line of the second map refers to the lateral distance between the lane line sampling point and the nearest lane line in the lane line of the second map.

[0080] Step 20332: Determine the first sampling point score corresponding to each lane line sampling point based on each minimum lateral distance, a preset maximum lateral distance threshold and a first preset rule.

[0081] The preset maximum lateral distance threshold can be set according to actual needs, and is not limited in the present disclosure. The first sampling point score refers to the matching score at the lane line sampling point for the lateral state.

[0082] Step 20333: Based on the first sampling point scores corresponding to the lane line sampling points, the total first sampling point score of each lane line sampling point is determined as the first matching score corresponding to the first particle.

[0083] Exemplarily, the first preset rule may be set as:

[0084]

[0085] Among them, x represents the x-axis coordinate in the vehicle coordinate system, and F(x) can be called the first matching score weight. It can be seen that when the lane line sampling point is closer to the origin of the vehicle coordinate system, the first matching score weight is larger, and when the lane line sampling point is farther from the origin of the vehicle coordinate system, the first matching score weight is smaller.

[0086] The i-th lane line sampling point The first match score weight is:

[0087]

[0088] Based on the first matching score weight, a first sampling point score of the i-th lane line sampling point may be determined.

[0089] For each first particle, the minimum lateral distance between the lane line sampling point and the lane line of the second map can be determined based on each lane line sampling point and the lane line of the second map, and then the first sampling point score of the lane line sampling point can be determined based on the minimum lateral distance, the preset maximum lateral distance threshold and the first matching score weight mentioned above, and the first matching score corresponding to the first particle can be determined based on the first sampling point scores corresponding to each lane line sampling point. The first matching score corresponding to the first particle can be the sum of the first sampling point scores of each lane line sampling point, which can be set according to actual needs.

[0090] For example, the i-th lane line sampling point The score of the first sampling point can be expressed as

[0091]

[0092] Where g represents the preset maximum horizontal distance threshold, t represents the current time, Indicates the i-th lane line sampling point The minimum lateral distance to the lane line of the second map, l (l = 1, 2, ..., m) represents the lth first particle, m represents the number of first particles, and m is a positive integer.

[0093] For the lth first particle, the sum of the first sampling point scores of N lane line sampling points can be used to obtain the first matching score corresponding to the first particle.

[0094]

[0095] In an optional example, step 2034 determines the second matching score corresponding to each first particle based on the lane line sampling point, the second map lane line corresponding to each first particle, and the second preset rule, including:

[0096] Step 20341: for each first particle, based on each lane line sampling point and the lane line of the second map, determine the minimum lateral distance between each lane line sampling point and the lane line of the second map.

[0097] This step is consistent with the above step 20331, and will not be described in detail here. In practical applications, this step and the above step 20331 can be the same step.

[0098] Step 20342: Determine the second sampling point score corresponding to each lane line sampling point based on each minimum lateral distance, a preset maximum lateral distance threshold and a second preset rule.

[0099] The second sampling point score refers to the matching score at the lane line sampling point for the heading angle state.

[0100] Step 20343: Based on the second sampling point scores corresponding to the lane line sampling points, the second sampling point total score of each lane line sampling point is determined as the second matching score corresponding to the first particle.

[0101] Exemplarily, the second preset rule may be set as:

[0102] G(x)=x 0.3

[0103] Among them, x represents the x-axis coordinate in the vehicle coordinate system, and G(x) can be called the second matching score weight. It can be seen that when the lane line sampling point is closer to the origin of the vehicle coordinate system, the second matching score weight is larger, and when the lane line sampling point is farther from the origin of the vehicle coordinate system, the second matching score weight is smaller.

[0104] The i-th lane line sampling point The second matching score weight is:

[0105]

[0106] Based on the second matching score weight, a second sampling point score of the i-th lane line sampling point may be determined.

[0107] For each first particle, the minimum lateral distance between the lane line sampling point and the lane line of the second map can be determined based on each lane line sampling point and the lane line of the second map, and then the second sampling point score of the lane line sampling point can be determined based on the minimum lateral distance, the preset maximum lateral distance threshold and the above-mentioned second matching score weight, and the second matching score corresponding to each lane line sampling point can be determined. The second matching score corresponding to the first particle is determined based on the second sampling point scores corresponding to each lane line sampling point. The minimum lateral distance between the lane line sampling point and the lane line of the second map refers to the lateral distance between the lane line sampling point and the nearest lane line in the second map lane line. The second matching score corresponding to the first particle can be the sum of the second sampling point scores of each lane line sampling point, which can be set according to actual needs.

[0108] For example, the i-th lane line sampling point The score of the second sampling point can be expressed as

[0109]

[0110] Where g represents the preset maximum horizontal distance threshold, t represents the current time, Indicates the i-th lane line sampling point The minimum lateral distance to the lane line of the second map, l (l = 1, 2, ..., m) represents the lth first particle, m represents the number of first particles, and m is a positive integer.

[0111] For the lth first particle, the sum of the second sampling point scores of the N lane line sampling points can be used to obtain the second matching score corresponding to the first particle.

[0112]

[0113] The first lateral weight corresponding to the lth first particle is expressed as The first heading angle weight is expressed as The details are as follows:

[0114]

[0115]

[0116] in, Represents the weight of the first particle determined by the positioning process at the previous moment.

[0117] After obtaining the first matching score corresponding to the lth first particle and the second match score After that, the first lateral weight of the first particle can be and the first heading angle weight Update to obtain the second lateral weight corresponding to the first particle and the second heading angle weight as follows:

[0118]

[0119]

[0120] Among them, M G Represents the observation score of the GNSS sensor, expressed as follows:

[0121]

[0122] Among them, GNSS yaw Indicates the heading angle output by the GNSS sensor, Indicates that the first particle corresponds to the first heading angle state. 0.001 and 10 are preset values ​​and can be adjusted according to actual needs.

[0123] The present invention updates the particle lateral weight and heading angle weight using different matching scores respectively, so that the lateral weight of the movable device contributes more to the matching score of the lane line sampling points at a close distance, and the heading angle weight contributes more to the matching score of the lane line sampling points at a medium and long distance, thereby ensuring both the lateral positioning accuracy and the heading angle positioning accuracy.

[0124] In an optional example, determining the current positioning posture of the movable device based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state respectively corresponding to each first particle in step 206 includes:

[0125] Step 2061: cluster the first particles to obtain a first number of clusters.

[0126] The clustering may be performed using any feasible clustering algorithm, such as a K-means clustering algorithm, without specific limitation. The first number may be set according to actual needs, or determined according to a specific clustering algorithm, without specific limitation. Each cluster includes at least one first particle.

[0127] Step 2062, for each cluster, based on the second lateral weight, second heading angle weight, first lateral state, and first heading angle state corresponding to the first particle in the cluster, determine the second lateral state, second heading angle state, and third lateral weight corresponding to the cluster.

[0128] The second lateral state corresponding to the cluster can be obtained by weighted average of the first lateral states of the first particles in the cluster according to the second lateral weight. Similarly, the second heading angle state corresponding to the cluster can be obtained by weighted average of the second heading angle states of the first particles in the cluster according to the second heading angle weight. The third lateral weight corresponding to the cluster can be the sum of the second lateral weights of the first particles in the cluster.

[0129] Exemplarily, the sth (s=1, 2, ..., S; S represents the number of clusters) cluster includes F first particles, wherein the first lateral state of the fth (f=1, 2, ..., F) first particle is The first heading angle state is The second horizontal weight is The second heading angle weight is Then the second lateral state corresponding to the cluster Second heading angle state and the third lateral weight They are as follows:

[0130]

[0131]

[0132]

[0133] The first lateral state, first heading angle state, second lateral weight and second heading angle weight of each first particle in the cluster are respectively consistent with the corresponding first particles obtained above. Here, different symbols are used for clusters. For example, the lth first particle corresponds to the fth first particle in the sth cluster, then the second lateral weight of the fth first particle in the sth cluster is The first lateral state, the first heading angle, and the second heading angle weight are similar and will not be described in detail here.

[0134] Step 2063: The second lateral state and the second heading angle state of the cluster with the largest third lateral weight are used as the target lateral state and the target heading angle state, respectively.

[0135] Among them, for each cluster, if the third lateral weight of one cluster is the largest, it means that the first particle of the cluster is closer to the actual posture of the movable device. Therefore, the second lateral state and the second heading angle state of the cluster are used as the target lateral state and the target heading angle state for determining the posture of the movable device, thereby ensuring the positioning accuracy of the posture of the movable device.

[0136] For example, if the third horizontal weight of the sth cluster (for example, s=3) is the largest, then its second horizontal state As the target horizontal state Set its second heading angle state As the target heading angle state

[0137] Step 2064, obtaining the target longitudinal state determined based on the first histogram filter.

[0138] The first histogram filter may be implemented in any practicable manner, which is not limited in the present disclosure. The present disclosure only uses the longitudinal state determined by the first histogram filter, and does not consider its lateral state and heading angle state.

[0139] Step 2065, based on the target longitudinal state, the target lateral state, the target heading angle state and the first predicted position and posture of the movable device at the current moment, determine the current positioning position and posture of the movable device.

[0140] The first predicted position and posture of the mobile device at the current moment can be determined based on the positioning position and posture of the mobile device at the previous moment, the odometer information of the mobile device, and the motion model. The specific prediction principle will not be described in detail.

[0141] Exemplarily, the target horizontal state at the current moment is expressed as The target heading angle state is The target longitudinal state is expressed as The first predicted pose of the mobile device at the current moment is expressed as The current positioning pose of the mobile device is

[0142]

[0143] Where T represents the transpose operation, Represents the addition of SE2 pose, which is defined as follows:

[0144] definition

[0145] c[0]=a[0]+b[0]*cos(a[2])-b[1]*sin(a[2])

[0146] c[1]=a[1]+b[0]*sin(a[2])+b[1]*cos(a[2])

[0147] c[2]=a[2]+b[2]

[0148] In an optional example, determining the first lateral state and the first heading angle state corresponding to each first particle at the current moment based on the position and posture of each first particle in step 202 includes:

[0149] Step 2021a, based on the positions and postures of the first particles, determining the first predicted particle positions and postures corresponding to the first particles.

[0150] Among them, the first predicted particle posture is obtained by predicting the posture of the first particle at the current moment based on the movement of the movable device (such as odometer information) in the time period from the previous moment to the current moment. The specific prediction method can adopt any feasible method, such as prediction based on a motion model.

[0151] For example, for a vehicle, the first predicted particle position of the first particle at the current moment can be predicted based on the odometer relative increment ΔOdom calculated based on the vehicle chassis CAN information:

[0152]

[0153] Wherein, t represents the current time, t-1 represents the previous time, l (l=1, 2, ..., m) represents the lth first particle, m represents the number of first particles, and m is a positive integer. represents the first particle position of the lth first particle, represents the first predicted particle pose of the lth first particle, ΔOdom represents the relative increment of the odometer, represents the addition of SE2 pose, as defined above, W l It represents the Gaussian white noise corresponding to the lth first particle. The Gaussian white noise of different first particles can be different and can be set according to actual needs.

[0154] Step 2022a, based on each first predicted particle posture, determine the first lateral state and the first heading angle state corresponding to each first particle.

[0155] The first lateral state and the first heading angle state of the first particle at the current moment are the lateral state and the heading angle state of the predicted particle posture of the first particle at the current moment relative to the predicted posture of the movable device at the current moment. Therefore, the first lateral state and the first heading angle state corresponding to each first particle can be determined based on each first predicted particle posture and the first positioning posture of the movable device.

[0156] In an alternative example, Figure 5 2 is a flow chart of step 2022a provided by an exemplary embodiment of the present disclosure. In this example, step 202a2 determines the first lateral state and the first heading angle state corresponding to each first particle based on each first predicted particle posture, including:

[0157] Step 2022a1, based on the first positioning posture of the movable device determined at the previous moment, determine the first predicted posture of the movable device at the current moment.

[0158] Among them, the first positioning posture is the positioning posture of the movable device determined in the positioning process at the previous time (t-1), which is expressed as The first predicted position of the mobile device at the current moment Determined based on the first positioning pose and the relative increment ΔOdom of the odometer, it is expressed as follows:

[0159]

[0160] in, It represents the addition of SE2 pose, which is defined as above and will not be repeated here.

[0161] Step 2022a2, based on each first predicted particle posture and the first predicted posture, determine the first lateral state and the first heading angle state corresponding to each first particle.

[0162] Exemplarily, the first transverse state of the lth first particle is expressed as The first heading angle state is expressed as but:

[0163]

[0164]

[0165] Among them, t represents the current time, represents the first predicted particle pose of the lth first particle, represents the first predicted pose of the movable device, is an operator, defined as follows:

[0166]

[0167] c[0]=(a[0]-b[0])*cos(b[2])+(a[1]-b[1])*sin(b[2])

[0168] c[1]=(a[1]-b[1])*cos(b[2])-(a[1]-b[1])*sin(b[2])

[0169] c[2]=a[2]-b[2]

[0170] It means taking c[1], It means taking c[2], As a, As b, according to the above operation, c[1] is obtained as the first lateral state c[2] is the first heading angle state

[0171] In an alternative example, Figure 6 2 is a flow chart of step 202 provided by an exemplary embodiment of the present disclosure. In this example, step 202 determines the first lateral state and the first heading angle state corresponding to each first particle at the current moment based on the position of each first particle, including:

[0172] Step 2021b: For each first particle posture, generate second predicted particle postures corresponding to n second particles respectively based on the first particle posture.

[0173] Among them, n second particles can be generated based on odometer information and n different Gaussian white noises.

[0174] Exemplarily, for the lth first particle, based on the first particle position of the first particle Generate the second predicted particle poses corresponding to n second particles It is expressed as follows:

[0175]

[0176] Where j represents the jth second particle, ΔOdom represents the relative increment of the mobile device odometer, and W lj represents the Gaussian white noise corresponding to the j-th second particle.

[0177] Step 2022b: Based on the second predicted particle postures corresponding to the second particles, determine the third lateral state and the third heading angle state corresponding to the second particles.

[0178] Among them, for each second particle, the determination principle of the third lateral state and the third heading angle state is similar to the first lateral state and the first heading angle state of the aforementioned first particle, and will not be repeated here.

[0179] For example, taking the lth first particle as an example, for the jth second particle, its third transverse state and the third heading angle state It is expressed as follows:

[0180]

[0181]

[0182] in, The definition is as above and will not be repeated here.

[0183] The weight (including the transverse weight and the longitudinal weight) of each second particle corresponding to the lth first particle is set to be the same as the first transverse weight and the first heading angle weight of the lth first particle. The first transverse weight and the first heading angle weight of the first particle are determined and stored at the previous moment. The first transverse weight of the lth first particle is expressed as Before the weight is updated at the current moment, the first heading angle weight is the same as the first lateral weight. That is, after each positioning process is completed, the weight of the lateral state of the first particle determined is used as the first lateral weight and first heading angle weight of the first particle at the next moment. At the current moment, the weight of the lateral state of the first particle determined at the previous moment is used as the first lateral weight and first heading angle weight of the first particle at the next moment. As the first transverse weight and the first heading angle weight. Correspondingly, the fourth transverse weight of the jth second particle is and the fourth heading angle weight Respectively expressed as:

[0184]

[0185]

[0186] Step 2023b, based on the third lateral state and the third heading angle state respectively corresponding to the m*n second particles, each second particle is mapped to the first grid coordinate area to obtain the cell to which each second particle belongs.

[0187] The first grid coordinate area includes m cells, m=m yaw *m lat , m yaw and m lat Respectively represent the number of cells in the heading angle direction and the lateral direction of the first grid coordinate area. The first grid coordinate area is an area under a pre-established grid coordinate system. The number of cells included in the first grid coordinate area is the same as the first particle number m. yaw and m lat It can be set according to actual needs. The establishment of the first grid coordinate area can be established according to a preset lateral state threshold, a preset heading angle state threshold, a preset lateral state step, and a preset heading angle state step. Each preset threshold can be determined by combining the third lateral state and the third heading angle state corresponding to each second particle, so as to ensure that all or most of the second particles can be projected into the first grid coordinate area, which can be set according to actual needs.

[0188] For example, Figure 7 is a schematic diagram of a first grid coordinate area provided by an exemplary embodiment of the present disclosure, wherein the abscissa of the first grid coordinate area corresponds to the heading angle state (yaw), the ordinate corresponds to the lateral state (lat), and d yaw and dlat Respectively represent the heading angle state step and the lateral state step. According to the number of cells included in the first grid coordinate area, the number of cells corresponding to the horizontal coordinate and the vertical coordinate, the position of each cell in the first grid coordinate area relative to the coordinate origin is different, which can be set according to actual needs, and the present disclosure does not limit it. For example, the coordinate origin of the first grid coordinate area is the center point of the entire area, and each cell uses [b, d] to represent its position relative to the origin, which has the following situations:

[0189] When m yaw and m lat When both are even numbers, then

[0190] When m yaw and m lat are all odd numbers, then

[0191] If m yaw and m lat If one is an odd number and the other is an even number, then m and n are determined according to the above two situations, and the details will not be repeated here.

[0192] Correspondingly, the coordinate range of each cell in the first grid coordinate area can be determined based on the cell position [b, d], m yaw and m lat The specific situation and the step length d of each cell in the yaw and lat directions uaw and d lat To confirm, no further details are given.

[0193] For example, when m yaw and m lat When both are even numbers, the cell [b, d] = [1, 2], then the coordinate range of the cell [b, d] is:

[0194] Yaw axis: [d uaw *(b-1),d yaw *b]=[0,d uaw ].

[0195] lat axis: [d lat *(d-1),d lat *d]=[d lat ,2d lat ].

[0196] In the first grid coordinate area, each cell may be mapped to one or more second particles.

[0197] In practical applications, the horizontal coordinate may correspond to the lateral state (lat), and the vertical coordinate may correspond to the heading angle state (yaw), and there is no specific limitation.

[0198] Step 2024b, based on the cells to which the second particles belong, determine the third particles corresponding to the cells, the third predicted particle poses corresponding to the third particles, and the fourth lateral states and fourth heading angle states corresponding to the third particles.

[0199] Among them, the third particle corresponding to the cell is a particle corresponding to the cell obtained by particleizing the cell based on the second particles mapped to the cell. The third predicted particle posture corresponding to each third particle is determined by the weighted average of the second predicted particle postures of all the second particles in the cell corresponding to the third particle. Similarly, the fourth lateral state and fourth heading angle state corresponding to each third particle posture are obtained by the weighted average of the third lateral state and third heading angle state of all the second particles in the cell corresponding to the third particle.

[0200] For example, there are M second particles mapped in the kth (k=1, 2, ..., m) cell, where the second predicted particle pose corresponding to the ith (i=1, 2, ..., M) second particle is expressed as From the aforementioned For example, the jth second particle generated by the lth first particle is mapped to the kth cell and becomes the ith second particle in the kth cell. Then The details will not be described in detail. Similarly, the third transverse state corresponding to the second particle is The third heading angle state

[0201] The third particle corresponding to the k-th cell is called the k-th third particle, and the third predicted particle pose corresponding to the third particle is expressed as The fourth lateral state is represented by and the fourth heading angle state The specific expressions are as follows:

[0202]

[0203]

[0204]

[0205] in, Represents the particle weight corresponding to the i-th second particle. is the weight determined at the previous moment of the first particle that generates the second particle. For example, if the second particle is generated by the lth first particle, then The specific details can be determined according to the actual mapping situation, and will not be elaborated here.

[0206] Step 2025b: taking the fourth lateral state and the fourth heading angle state corresponding to each third particle as the first lateral state and the first heading angle state corresponding to each first particle at the current moment.

[0207] For example, Figure 8 1 is a schematic diagram of a second particle mapping process provided by an exemplary embodiment of the present disclosure, wherein black circles represent second particles, and gray circles represent third particles.

[0208] The present disclosure expands the number of particles by sampling m first particles multiple times, and performs a gridding process based on the expanded particles, thereby improving positioning accuracy while ensuring the stability of particle distribution.

[0209] Fig. 9 It is a flowchart diagram of step 202 provided by another exemplary embodiment of the present disclosure.

[0210] In an optional example, step 2021b generates, for each first particle pose, second predicted particle poses corresponding to n second particles based on the first particle pose, including:

[0211] Step 2021b1, based on the first particle posture, odometer information, and n different Gaussian white noises, generate second predicted particle postures corresponding to n second particles respectively.

[0212] Exemplarily, for the lth first particle, based on the first particle position of the first particle Generate the second predicted particle poses corresponding to n second particles It is expressed as follows:

[0213]

[0214] Where j represents the jth second particle, ΔOdom represents the relative increment of the mobile device odometer, and W lj represents the Gaussian white noise corresponding to the j-th second particle.

[0215] In an optional example, step 2022b determines the third lateral state and the third heading angle state corresponding to each second particle based on the second predicted particle pose corresponding to each second particle, including:

[0216] Step 2022b1, based on the first positioning posture of the movable device determined at the previous moment, determine the first predicted posture of the movable device at the current moment.

[0217] This step is consistent with the aforementioned step 2022a1 and will not be repeated here.

[0218] Step 2022b2, based on the second predicted particle posture corresponding to each second particle and the first predicted posture, determine the third lateral state and the third heading angle state corresponding to each second particle.

[0219] For example, taking the lth first particle as an example, for the jth second particle, its third transverse state and the third heading angle state It is expressed as follows:

[0220]

[0221]

[0222] in, represents the second predicted particle pose of the jth second particle generated by the lth first particle, Please refer to the above content for the definition, which will not be repeated here.

[0223] In an alternative example, Fig.10 FIG. 1 is a flow chart of a method for determining a posture provided by another exemplary embodiment of the present disclosure. In this example, the method includes:

[0224] 1. At the current time t, obtain the first particle position of m first particles obtained at the previous time corresponding to the movable device, where m is an integer greater than 1.

[0225] Among them, the first particle position of the lth first particle is expressed as

[0226] 2. For each first particle pose, based on the first particle pose, odometer information, and n different Gaussian white noises, generate second predicted particle poses corresponding to n second particles.

[0227] Among them, for the lth first particle, the first particle position based on the first particle Generate the second predicted particle poses corresponding to n second particles It is expressed as follows:

[0228]

[0229] Where j represents the jth second particle, ΔOdom represents the relative increment of the mobile device odometer, and W ljrepresents the Gaussian white noise corresponding to the j-th second particle.

[0230] 3. Based on the first positioning posture of the movable device determined at the previous moment, determine the first predicted posture of the movable device at the current moment.

[0231] Among them, the first positioning posture is The first predicted position of the mobile device at the current moment is It is expressed as follows:

[0232]

[0233] 4. Based on the second predicted particle postures and the first predicted postures corresponding to the second particles, determine the third lateral states and the third heading angle states corresponding to the second particles.

[0234] Among them, taking the lth first particle as an example, for the jth second particle, its third transverse state and the third heading angle state It is expressed as follows:

[0235]

[0236]

[0237] in, represents the second predicted particle pose of the jth second particle generated by the lth first particle, Please refer to the above content for the definition, which will not be repeated here.

[0238] Correspondingly, the fourth transverse weight of the jth second particle is and the fourth heading angle weight Respectively expressed as:

[0239]

[0240]

[0241] 5. Based on the third lateral state and the third heading angle state respectively corresponding to the m*n second particles, each second particle is mapped to the first grid coordinate area to obtain the cell to which each second particle belongs.

[0242] The first grid coordinate area includes m cells, m=m yaw *m lat , m yaw and m lat Respectively represent the number of cells in the heading angle direction and the lateral direction of the first grid coordinate area.

[0243] 6. Based on the cells to which the second particles belong, determine the third particles corresponding to the cells, the third predicted particle poses corresponding to the third particles, and the fourth lateral states and fourth heading angle states corresponding to the third particles.

[0244] Among them, there are M second particles mapped in the kth (k = 1, 2, ..., m) cell, and the second predicted particle pose corresponding to the ith (i = 1, 2, ..., M) second particle is expressed as From the aforementioned For example, the jth second particle generated by the lth first particle is mapped to the kth cell and becomes the ith second particle in the kth cell. Then The details will not be described in detail. Similarly, the third transverse state corresponding to the second particle is The third heading angle state

[0245] The third particle corresponding to the k-th cell is called the k-th third particle, and the third predicted particle pose corresponding to the third particle is expressed as The fourth lateral state is represented by and the fourth heading angle state The specific expressions are as follows:

[0246]

[0247]

[0248]

[0249] in, Represents the particle weight corresponding to the i-th second particle. is the weight determined at the previous moment of the first particle that generates the second particle. For example, if the second particle is generated by the lth first particle, then The specific details can be determined according to the actual mapping situation, and will not be elaborated here.

[0250] Correspondingly, the fifth lateral weight of the kth third particle is and the fifth heading angle weights are

[0251]

[0252] 7. The fourth lateral state and the fourth heading angle state corresponding to each third particle are used as the first lateral state and the first heading angle state corresponding to each first particle at the current moment.

[0253] The kth first particle is the kth third particle mentioned above. Correspondingly, the first transverse weight of the kth first particle is the fifth transverse weight of the kth third particle mentioned above, and the first heading angle weight of the kth first particle is the fifth heading angle weight of the kth third particle mentioned above.

[0254] 8. Based on the perceived lane line information, determine the lane line sampling points in the vehicle coordinate system.

[0255] Among them, a total of N lane line sampling points in the vehicle coordinate system are determined, and the i-th (i=1, 2, ..., N) lane line sampling point is expressed as:

[0256]

[0257] Among them, t represents the current time, c0, c1, c2, and c3 represent the perceived lane line parameters.

[0258] 9. Use each first particle as a movable device, convert the lane line of the first map into the vehicle coordinate system, and obtain the lane line of the second map in the vehicle coordinate system corresponding to each first particle.

[0259] 10. For each first particle, based on each lane line sampling point and the lane line of the second map, determine the minimum lateral distance between each lane line sampling point and the lane line of the second map.

[0260] 11.1. Based on each minimum lateral distance, a preset maximum lateral distance threshold and a first preset rule, determine a first sampling point score corresponding to each lane line sampling point.

[0261] Among them, the i-th lane line sampling point The score of the first sampling point can be expressed as

[0262]

[0263] Where g represents the preset maximum horizontal distance threshold, t represents the current time, Indicates the i-th lane line sampling point The minimum lateral distance to the lane line of the second map, k (k = 1, 2, ..., m) represents the kth first particle (third particle), m represents the number of first particles, m is a positive integer, Indicates the i-th lane line sampling point The first match score weight.

[0264] 11.2. Based on each minimum lateral distance, a preset maximum lateral distance threshold and a second preset rule, determine the second sampling point score corresponding to each lane line sampling point.

[0265] Among them, the i-th lane line sampling point The score of the second sampling point can be expressed as

[0266]

[0267] Where g represents the preset maximum horizontal distance threshold, t represents the current time, Indicates the i-th lane line sampling point The minimum lateral distance to the lane line of the second map, k (k = 1, 2, ..., m) represents the kth first particle (third particle), m represents the number of first particles, m is a positive integer, Indicates the i-th lane line sampling point The second matching score weight of is .

[0268] 12.1. Based on the first sampling point scores corresponding to each lane line sampling point, determine the total first sampling point score of each lane line sampling point as the first matching score corresponding to the first particle.

[0269] Among them, the first matching score corresponding to the kth first particle is

[0270]

[0271] 12.2. Based on the second sampling point scores corresponding to each lane line sampling point, determine the second sampling point total score of each lane line sampling point as the second matching score corresponding to the first particle.

[0272] Among them, the second matching score corresponding to the kth first particle is

[0273]

[0274] 13.1. Based on each first matching score, the first transverse weight of the first particle corresponding to the first particle is updated to obtain the second transverse weight corresponding to each first particle.

[0275] Among them, the second lateral weight corresponding to the kth first particle is It is expressed as follows:

[0276]

[0277]

[0278]

[0279] Among them, GNSS yaw Indicates the heading angle output by the GNSS sensor, Indicates the first heading angle state corresponding to the kth first particle. 0.001 and 10 are preset values ​​and can be adjusted according to actual needs.

[0280] 13.2. Based on each second matching score, the first heading angle weight of the first particle corresponding to it is updated respectively to obtain the second heading angle weight corresponding to each first particle.

[0281] Among them, the second heading angle weight corresponding to the kth first particle is It is expressed as follows:

[0282]

[0283]

[0284] 14. Cluster the first particles to obtain a first number of clusters.

[0285] 15. For each cluster, based on the second lateral weight, second heading angle weight, first lateral state, and first heading angle state corresponding to the first particle in the cluster, determine the second lateral state, second heading angle state, and third lateral weight corresponding to the cluster.

[0286] Among them, the sth (s=1,2,…,S; S represents the number of clusters) cluster includes F first particles, among which the first transverse state of the fth (f=1,2,…,F) first particle is The first heading angle state is The second horizontal weight is The second heading angle weight is Then the second lateral state corresponding to the cluster Second heading angle state and the third lateral weight They are as follows:

[0287]

[0288]

[0289]

[0290] Among them, the first lateral state, first heading angle state, second lateral weight and second heading angle weight of each first particle in the cluster are respectively consistent with the corresponding first particle (third particle) obtained above. Here, different symbols are used for clusters. For example, the kth first particle corresponds to the fth first particle in the sth cluster, then the second lateral weight of the fth first particle in the sth cluster is The first lateral state, the first heading angle, and the second heading angle weight are similar and will not be described in detail here.

[0291] 16. The second lateral state and the second heading angle state of the cluster with the largest third lateral weight are respectively used as the target lateral state and the target heading angle state.

[0292] Among them, the target lateral state is expressed as The target heading angle state is expressed as

[0293] 17. Obtain the target longitudinal state determined based on the first histogram filter.

[0294] Among them, the target longitudinal state is expressed as

[0295] 18. Determine the current positioning posture of the movable device based on the target longitudinal state, the target lateral state, the target heading angle state and the first predicted posture of the movable device at the current moment.

[0296] Among them, the current positioning posture of the mobile device It is expressed as follows:

[0297]

[0298] Wherein, T represents the transposition operation. For other symbols, refer to the above content.

[0299] 19. The second lateral weights corresponding to the first particles determined in step 13.1 are used as the first lateral weights and first heading angle weights of the first particles at the next moment, and the iteration process at the next moment is entered.

[0300] Specifically, take the next moment as the current moment and repeat the above steps 1-19.

[0301] The posture determination method disclosed in the present invention separates the lateral state and the heading angle state in the process of realizing state observation score calculation and state update based on the particle filter, and calculates the lateral state and the heading angle state separately, which solves the problem that the lateral and heading angle accuracy cannot be taken into account in the filter during the positioning process. Regardless of whether the vehicle is driving on a straight road or a curve in the high-precision map, the positioning accuracy of the lateral and heading angles of the vehicle can reach a consistent high level and is not easily affected by the curvature of the map lane line. Even if there is a certain deviation between the geometric shape of the perceived lane line and the shape of the map lane line, a high-precision positioning result can still be obtained, effectively improving the accuracy and stability of the overall vehicle in the real-time positioning process. In addition, in the particle update process, multiple second particles are generated for each first particle, the number of particles is expanded, and then the expanded second particles are combined with the grid coordinate area to merge into the third particles with the same number of first particles, and the third particles are used as the first particles to match the perceived lane line with the map lane line, thereby realizing particle resampling, ensuring the stability of particle distribution, and further improving positioning accuracy.

[0302] Any method for determining a posture provided in the embodiments of the present disclosure may be executed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server. Alternatively, any method for determining a posture provided in the embodiments of the present disclosure may be executed by a processor, such as the processor executing any method for determining a posture mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.

[0303] Exemplary Devices

[0304] Fig.11 is a schematic diagram of the structure of a posture determination device provided by an exemplary embodiment of the present disclosure. The device of this embodiment can be used to implement the corresponding method embodiments of the present disclosure, such as Fig.11 The device shown includes: a first determining module 501 , a first processing module 502 , a second processing module 503 , a third processing module 504 , a fourth processing module 505 and a fifth processing module 506 .

[0305] The first determination module 501 is used to determine the first particle postures of m first particles corresponding to the movable device, where m is an integer greater than 1, and the first particle posture is the posture of the corresponding first particle obtained at the previous moment; the first processing module 502 is used to determine the first lateral state and the first heading angle state corresponding to each first particle at the current moment based on the postures of each first particle determined by the first determination module 501; the second processing module 503 is used to determine the first matching score and the second matching score corresponding to each first particle based on the sensed lane line information; the third processing module 504 is used to update the first lateral weight of the first particle corresponding to each first particle based on each first matching score obtained by the second processing module 503, and obtain the second lateral weight corresponding to each first particle; the fourth processing module 505 is used to update the first heading angle weight of the first particle corresponding to each second matching score obtained by the second processing module 503, and obtain the second heading angle weight corresponding to each first particle; the fifth processing module 506 is used to determine the current positioning posture of the movable device based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state corresponding to each first particle.

[0306] In an alternative example, Fig.12 1 is a schematic diagram of the structure of a second processing module 503 provided by an exemplary embodiment of the present disclosure. In this example, the second processing module 503 includes: a first determining unit 5031 , a first converting unit 5032 , a second determining unit 5033 and a third determining unit 5034 .

[0307] The first determination unit 5031 is used to determine the lane line sampling points in the vehicle coordinate system based on the sensed lane line information; the first conversion unit 5032 is used to use each first particle as a movable device to convert the first map lane line to the vehicle coordinate system, and obtain the second map lane line in the vehicle coordinate system corresponding to each first particle; the second determination unit 5033 is used to determine the first matching score corresponding to each first particle based on the lane line sampling points, the second map lane lines corresponding to each first particle and the first preset rule; the third determination unit 5034 is used to determine the second matching score corresponding to each first particle based on the lane line sampling points, the second map lane lines corresponding to each first particle and the second preset rule.

[0308] In an optional example, the second determination unit 5033 is specifically used to: for each first particle, based on each lane line sampling point and the lane line of the second map, determine the minimum lateral distance between each lane line sampling point and the lane line of the second map; based on each minimum lateral distance, a preset maximum lateral distance threshold and a first preset rule, determine the first sampling point score corresponding to each lane line sampling point; based on the first sampling point score corresponding to each lane line sampling point, determine the total first sampling point score of each lane line sampling point as the first matching score corresponding to the first particle.

[0309] In an optional example, the third determination unit 5034 is specifically used to: for each first particle, based on each lane line sampling point and the lane line of the second map, determine the minimum lateral distance between each lane line sampling point and the lane line of the second map; based on each minimum lateral distance, a preset maximum lateral distance threshold and a second preset rule, determine the second sampling point score corresponding to each lane line sampling point; based on the second sampling point score corresponding to each lane line sampling point, determine the second sampling point total score of each lane line sampling point as the second matching score corresponding to the first particle.

[0310] In an alternative example, Fig.13 1 is a schematic diagram of the structure of a fifth processing module 506 provided by an exemplary embodiment of the present disclosure. In this example, the fifth processing module 506 includes: a clustering unit 5061 , a first processing unit 5062 , a second processing unit 5063 , a first acquisition unit 5064 and a third processing unit 5065 .

[0311] The clustering unit 5061 is used to cluster each first particle to obtain a first number of clusters; the first processing unit 5062 is used to determine, for each cluster, the second lateral state, the second heading angle state and the third lateral weight corresponding to the cluster based on the second lateral weight, the second heading angle weight, the first lateral state and the first heading angle state corresponding to the first particles in the cluster; the second processing unit 5063 is used to use the second lateral state and the second heading angle state of the cluster with the largest third lateral weight as the target lateral state and the target heading angle state respectively; the first acquisition unit 5064 is used to acquire the target longitudinal state determined based on the first histogram filter; the third processing unit 5065 is used to determine the current positioning posture of the movable device based on the target longitudinal state, the target lateral state, the target heading angle state and the first predicted posture of the movable device at the current moment.

[0312] In an alternative example, Fig.14 2 is a schematic diagram of the structure of a first processing module 502 provided by an exemplary embodiment of the present disclosure. In this example, the first processing module 502 includes: a fourth determining unit 5021a and a fifth determining unit 5022a.

[0313] The fourth determination unit 5021a is used to determine the first predicted particle posture corresponding to each first particle based on each first particle posture; the fifth determination unit 5022a is used to determine the first lateral state and the first heading angle state corresponding to each first particle based on each first predicted particle posture.

[0314] In an optional example, the fifth determination unit 5022a is specifically used to: determine the first predicted posture of the movable device at the current moment based on the first positioning posture of the movable device determined at the previous moment; determine the first lateral state and the first heading angle state corresponding to each first particle based on each first predicted particle posture and the first predicted posture.

[0315] In an alternative example, Fig.15 2 is a schematic diagram of the structure of a first processing module 502 provided by another exemplary embodiment of the present disclosure. In this example, the first processing module 502 includes: a fourth processing unit 5021b, a fifth processing unit 5022b, a sixth processing unit 5023b, a seventh processing unit 5024b and an eighth processing unit 5025b.

[0316] The fourth processing unit 5021b is used to generate, for each first particle posture, second predicted particle postures corresponding to n second particles respectively based on the first particle posture; the fifth processing unit 5022b is used to determine the third lateral state and the third heading angle state corresponding to each second particle respectively based on the second predicted particle posture corresponding to each second particle; the sixth processing unit 5023b is used to map each second particle to the first grid coordinate area based on the third lateral state and the third heading angle state corresponding to m*n second particles respectively, to obtain the cells to which each second particle belongs respectively, the first grid coordinate area includes m cells, m=m yaw *m lat , m yaw and m lat Respectively represent the number of cells in the heading angle direction and the lateral direction of the first grid coordinate area; the seventh processing unit 5024b is used to determine the third particles corresponding to each cell, the third predicted particle posture corresponding to each third particle, and the fourth lateral state and the fourth heading angle state corresponding to each third particle based on the cells to which each second particle belongs; the eighth processing unit 5025b is used to use the fourth lateral state and the fourth heading angle state corresponding to each third particle as the first lateral state and the first heading angle state corresponding to each first particle at the current moment.

[0317] In an optional example, the fourth processing unit 5021b is specifically used to generate second predicted particle poses corresponding to n second particles respectively based on the first particle pose, odometer information, and n different Gaussian white noises.

[0318] In an optional example, the fifth processing unit 5022b is specifically used to: determine the first predicted posture of the movable device at the current moment based on the first positioning posture of the movable device determined at the previous moment; determine the third lateral state and the third heading angle state corresponding to each second particle based on the second predicted particle posture corresponding to each second particle and the first predicted posture.

[0319] Exemplary Electronic Devices

[0320] The embodiment of the present disclosure also provides an electronic device, including: a memory for storing a computer program;

[0321] The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the method for determining the posture described in any of the above embodiments of the present disclosure is implemented.

[0322] Fig.16 FIG. 1 is a schematic diagram of a structure of an application embodiment of the electronic device disclosed in the present invention. In this embodiment, the electronic device 10 includes one or more processors 11 and a memory 12.

[0323] The processor 11 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.

[0324] The memory 12 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may run the program instructions to implement the methods of the various embodiments of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0325] In one example, the electronic device 10 may further include: an input device 13 and an output device 14, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0326] For example, the input device 13 may be the microphone or microphone array mentioned above, which is used to capture the input signal of the sound source.

[0327] In addition, the input device 13 may also include, for example, a keyboard, a mouse, and the like.

[0328] The output device 14 can output various information to the outside, including the determined distance information, direction information, etc. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0329] Of course, to simplify, Fig.16 Only some of the components related to the present disclosure in the electronic device 10 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 10 may also include any other appropriate components.

[0330] Exemplary computer program products and computer-readable storage media

[0331] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of this specification.

[0332] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0333] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.

[0334] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0335] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0336] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0337] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.

[0338] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0339] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0340] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0341] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for determining a posture, comprising: Determine first particle poses of m first particles corresponding to the movable device, where m is an integer greater than 1, and the first particle poses are poses of the corresponding first particles obtained at a previous moment; Based on the positions and postures of the first particles, determining the first lateral state and the first heading angle state corresponding to the first particles at the current moment; Based on the sensed lane line information, determining a first matching score and a second matching score corresponding to each of the first particles; Based on each of the first matching scores, the first transverse weights of the first particles corresponding to the first matching scores are updated to obtain the second transverse weights corresponding to the first particles; Based on each of the second matching scores, respectively update the first heading angle weights of the first particles corresponding thereto to obtain the second heading angle weights respectively corresponding to each of the first particles; Determine the current positioning posture of the movable device based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state respectively corresponding to each of the first particles; The determining of the first matching score and the second matching score respectively corresponding to each of the first particles based on the sensed lane line information includes: Based on the sensed lane line information, determining a lane line sampling point in a vehicle coordinate system; Using each of the first particles as the movable device, converting the lane line of the first map to the vehicle coordinate system, and obtaining the lane line of the second map in the vehicle coordinate system corresponding to each of the first particles; Determine the first matching score corresponding to each of the first particles based on the lane line sampling points, the lane lines of the second map corresponding to each of the first particles, and a first preset rule; the first preset rule is used to make the contribution of the matching score of the lane line sampling point at a close distance of the movable device to the first matching score greater than the contribution of the matching score of the lane line sampling point at a long distance of the movable device; Based on the lane line sampling points, the second map lane lines corresponding to each of the first particles and a second preset rule, the second matching scores corresponding to each of the first particles are determined; the second preset rule is used to make the contribution of the matching scores of the lane line sampling points at a close distance of the movable device to the second matching score smaller than the contribution of the matching scores of the lane line sampling points at a long distance of the movable device.

2. The method according to claim 1, wherein: The determining the first matching score corresponding to each of the first particles based on the lane line sampling point, the second map lane line corresponding to each of the first particles, and a first preset rule includes: For each of the first particles, based on each of the lane line sampling points and the lane line of the second map, determining the minimum lateral distance between each of the lane line sampling points and the lane line of the second map; Determine, based on each of the minimum lateral distances, the preset maximum lateral distance threshold, and the first preset rule, a first sampling point score corresponding to each of the lane line sampling points; Based on the first sampling point scores respectively corresponding to the lane line sampling points, determining the first sampling point total score of each lane line sampling point as the first matching score corresponding to the first particle; The determining the second matching score corresponding to each of the first particles based on the lane line sampling point, the second map lane line corresponding to each of the first particles, and a second preset rule includes: For each of the first particles, based on each of the lane line sampling points and the lane line of the second map, determining the minimum lateral distance between each of the lane line sampling points and the lane line of the second map; Determine the second sampling point score corresponding to each lane line sampling point based on each of the minimum lateral distances, the preset maximum lateral distance threshold and the second preset rule; Based on the second sampling point scores respectively corresponding to the lane line sampling points, a second sampling point total score of the lane line sampling points is determined as the second matching score corresponding to the first particle.

3. The method according to claim 1, wherein: The determining the current positioning posture of the movable device based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state respectively corresponding to each of the first particles includes: Clustering each of the first particles to obtain a first number of clusters; For each of the clusters, determining a second lateral state, a second heading angle state, and a third lateral weight corresponding to the cluster based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state corresponding to the first particle in the cluster; taking the second lateral state and the second heading angle state of the cluster having the largest third lateral weight as a target lateral state and a target heading angle state respectively; Obtaining a target longitudinal state determined based on a first histogram filter; The current positioning posture of the movable device is determined based on the target longitudinal state, the target lateral state, the target heading angle state and the first predicted posture of the movable device at the current moment.

4. The method according to claim 1, wherein: The determining, based on the positions of the first particles, the first lateral states and the first heading angle states corresponding to the first particles at the current moment, respectively, includes: Based on the first particle poses, determining first predicted particle poses corresponding to the first particles; Based on each of the first predicted particle positions, the first lateral state and the first heading angle state respectively corresponding to each of the first particles are determined.

5. The method according to claim 4, wherein: The determining, based on each of the first predicted particle positions, the first lateral state and the first heading angle state respectively corresponding to each of the first particles comprises: Determine a first predicted position and posture of the movable device at a current moment based on a first positioning position and posture of the movable device determined at a previous moment; Based on the first predicted particle postures and the first predicted postures, the first lateral states and the first heading angle states respectively corresponding to the first particles are determined.

6. The method according to claim 1, wherein: The determining, based on the positions of the first particles, the first lateral states and the first heading angle states corresponding to the first particles at the current moment, respectively, includes: For each of the first particle postures, generating second predicted particle postures corresponding to n second particles respectively based on the first particle posture; Determine, based on the second predicted particle positions and postures respectively corresponding to the second particles, a third lateral state and a third heading angle state respectively corresponding to the second particles; Based on the third lateral state and the third heading angle state respectively corresponding to the m*n second particles, each second particle is mapped to a first grid coordinate area to obtain a cell to which each second particle belongs, wherein the first grid coordinate area includes m cells, m=m yaw *m lat , m yaw and m lat Respectively represent the number of cells in the heading angle direction and the lateral direction of the first grid coordinate area; Based on the cells to which the second particles belong, determine the third particles corresponding to the cells, the third predicted particle poses corresponding to the third particles, and the fourth lateral states and fourth heading angle states corresponding to the third particles; The fourth lateral state and the fourth heading angle state respectively corresponding to each of the third particles are used as the first lateral state and the first heading angle state respectively corresponding to each of the first particles at the current moment.

7. The method according to claim 6, wherein: The step of generating, for each of the first particle postures, second predicted particle postures corresponding to n second particles based on the first particle posture, comprises: Based on the first particle pose, odometer information, and n different Gaussian white noises, the second predicted particle poses corresponding to the n second particles are generated.

8. The method according to claim 6, wherein: The determining, based on the second predicted particle positions and postures respectively corresponding to the second particles, the third lateral states and the third heading angle states respectively corresponding to the second particles, comprises: Determine a first predicted position and posture of the movable device at a current moment based on a first positioning position and posture of the movable device determined at a previous moment; The third lateral state and the third heading angle state corresponding to each of the second particles are determined based on the second predicted particle postures corresponding to each of the second particles and the first predicted postures.

9. A device for determining a posture, comprising: A first determination module is used to determine first particle postures of m first particles corresponding to the movable device, where m is an integer greater than 1, and the first particle postures are postures of the corresponding first particles obtained at a previous moment; A first processing module, configured to determine, based on the positions and postures of the first particles, a first lateral state and a first heading angle state corresponding to each of the first particles at a current moment; A second processing module, configured to determine a first matching score and a second matching score respectively corresponding to each of the first particles based on the sensed lane line information; A third processing module is used to update the first transverse weights of the first particles corresponding to the first matching scores, respectively, to obtain the second transverse weights corresponding to the first particles; A fourth processing module is used to update the first heading angle weights of the first particles corresponding to the second matching scores, respectively, to obtain the second heading angle weights corresponding to the first particles respectively; A fifth processing module, configured to determine a current positioning posture of the movable device based on the second lateral weight, the second heading angle weight, the first lateral state, and the first heading angle state respectively corresponding to each of the first particles; Wherein, the second processing module includes: A first determining unit, configured to determine a lane line sampling point in a vehicle coordinate system based on the sensed lane line information; A first conversion unit is used to use each of the first particles as the movable device, convert the lane line of the first map to the vehicle coordinate system, and obtain the lane line of the second map in the vehicle coordinate system corresponding to each of the first particles; A second determination unit is configured to determine the first matching score corresponding to each of the first particles based on the lane line sampling point, the lane line of the second map corresponding to each of the first particles, and a first preset rule; the first preset rule is configured to make the contribution of the matching score of the lane line sampling point at a close distance of the movable device to the first matching score greater than the contribution of the matching score of the lane line sampling point at a long distance of the movable device; a third determination unit, for determining the second matching scores corresponding to the first particles based on the lane line sampling points, the lane lines of the second map corresponding to the first particles, and a second preset rule; the second preset rule is used to make the contribution of the matching scores of the lane line sampling points at a close distance of the movable device to the second matching score smaller than the contribution of the matching scores of the lane line sampling points at a medium and long distance of the movable device.

10. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the method for determining a posture as described in any one of claims 1 to 8.

11. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the method for determining the posture described in any one of claims 1-8 above.

Citation Information

Patent Citations

  • Vehicle pose correction method and device

    CN110954113A

  • Automatic driving positioning data verification method and device, electronic equipment and storage medium

    CN111998860A