Slam method

The factor graph optimization method for SLAM algorithms addresses flexibility and reliability issues by creating 3D ellipsoid-based surfel maps, enhancing map accuracy and computational efficiency in challenging environments.

JP2024127840APending Publication Date: 2024-09-20DSPACE DIGITAL SIGNAL PROCESSING & CONTROL ENGINEERING GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024033787
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-07
Filing Date
2024-03-06
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing SLAM algorithms struggle with flexibility in handling various resources and reliability in generating accurate maps, particularly in high-speed and dynamic environments with limited distinguishable features.

Method used

A computer-implemented method using a factor graph optimization approach to create a 3D ellipsoid-based surfel map, incorporating environmental sensor data to identify and optimize surfels, allowing incremental updates and handling various resources, including LiDAR data, to enhance map accuracy and reliability.

Benefits of technology

The method provides reliable and flexible SLAM solutions for demanding datasets, even in high-speed and dynamic environments, without relying on additional sensors, improving map accuracy and computational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127840000001
    Figure 2024127840000001
Patent Text Reader

Abstract

To provide a SLAM algorithm that can flexibly handle various resources to be provided and / or accomplish a highly reliable result even for a data set with a high request level.SOLUTION: A method for determining a self attitude of a mobile system, and creating a 3D-elliptical-body-base surfel map of an environment by using an optimization problem represented by a factor graph includes: identifying new surfels and known surfels by comparing surfel data with the surfel map; adding surfel factors (14a, 14a') for the surfels identified as being known to the factor graph=; and / or adding a surfel node (12b) and the surfel factor (14a') for the surfel factor (14a) identified as being new to the factor graph.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a computer-implemented method for determining the ego-pose of a mobile system and for creating a 3D ellipsoid-based surfel map of an environment.

[0002] The invention also relates to a data processing device comprising means for carrying out the above method.

[0003] The invention further relates to a computer program product comprising instructions for causing a computer to carry out the above-mentioned method when the program is executed by a computer.

[0004] The invention further relates to a computer readable data carrier storing a computer program product as described above. [Background technology]

[0005] SLAM (English: Simultaneous Localization and Mapping, German: Simultane Positionsbestimmung und Kartierung) is understood to be an algorithmic problem formulation for creating a map of the environment by evaluating sensor data of environmental sensors of a mobile system, e.g. a vehicle, and simultaneously estimating the spatial position of the mobile system in the map (also called ego-pose).

[0006] The challenge for computer-aided methods to solve the SLAM problem is that for accurate pose determination a reasonably detailed map is required, and to generate the detailed map the exact pose of the mobile system must be known. This makes it clear that these two requirements, map creation and self-localization, cannot be solved independently of each other. Thus, the SLAM problem is a chicken-and-egg problem, since both the map and the pose are not known but are estimated simultaneously. Thus, expressed mathematically, the SLAM problem is a numerical optimization problem.

[0007] In the prior art, several algorithms are known that provide a solution to the SLAM problem. Such SLAM algorithms are usually cut from available resources, such as existing sensor data formats of a mobile system, such as LiDAR data, inertial sensor data, GPS data, and / or propulsion system data, etc. SLAM algorithms are used for navigation assistance, among others, in mobile systems, such as autonomous robotic systems, self-driving vehicles, and / or unmanned aerial vehicles.

[0008] Further applications of SLAM algorithms are found in the creation of annotated datasets. Here, SLAM algorithms are used as a preparatory step in annotation projects to improve annotation results created manually and automatically. Annotated datasets are a basic prerequisite for training some algorithms, for example based on machine learning. Unlike SLAM algorithms used directly in mobile systems for navigation assistance, which are usually also optimized for computation speed, SLAM algorithms used during annotation of datasets often have a secondary computation speed. Furthermore, SLAM algorithms used directly in mobile systems for navigation assistance are optimized for the resources provided by the mobile system. In contrast, during annotation of datasets, not only data from a specific mobile system with a specific predefined sensor configuration is processed, so in such cases it is advantageous to be able to flexibly handle different resources for the SLAM algorithm.

[0009] SLAM algorithms existing in the prior art can usually produce very good results with data sets with a relatively large number of easily distinguishable features. Such data sets are usually recorded during driving at low speeds in urban environments, which has the advantage that the low speeds result in only small spatial movements of the mobile system (which is often a vehicle) between successive individual images of the environmental sensor. However, the results of such SLAM algorithms are significantly less reliable, especially with demanding data sets recorded under other conditions, such as, for example, driving on motorways. Due to the similarity of the sensor data between successive individual images, which is often due to the presence of green belts or guardrails at the sides of motorways, it is difficult to map features based on their mutual similarity. Moreover, the high speed of the vehicle and the presence of dynamic objects (such as other traffic users) pose further challenges.

[0010] In other words, the SLAM algorithms existing in the prior art show weaknesses in demanding datasets and / or in datasets in which the number of distinguishable and compensable features between individual images is limited, for example, and / or in datasets recorded at high speed by a mobile system, and / or in datasets containing dynamic objects. Summary of the Invention [Problem to be solved by the invention]

[0011] Based on this, the object of the present invention is to provide a SLAM algorithm that is flexible in dealing with the various resources offered and / or that produces reliable results even on demanding data sets. [Means for solving the problem]

[0012] The above-mentioned object is achieved by the subject matter of the respective independent claims. Preferred developments are given in the respective dependent claims.

[0013] Briefly, in accordance with the present invention, there is provided a computer-implemented method for determining ego-pose of a mobile system and creating a 3D ellipsoid-based surfel map of an environment using an optimization problem represented by a factor graph, comprising the steps of: - receiving environmental sensor data generated by at least one environmental sensor attached to the mobile system and measuring the environment of the mobile system, where the environmental sensor data represents the environment of the mobile system as a point cloud for each particular time period; - generating surfels by converting the point cloud of received environmental sensor data into surfel data; - identifying new and previously known surfels among the generated surfels by comparing the surfel data with a surfel map; - adding surfel factors to the factor graph for surfels that have been previously identified as known and / or adding surfel nodes and surfel factors to the factor graph for surfels that have been identified as new surfels; Including, A node of the factor graph represents a particular ego-pose of the mobile system or, as a surfel node, a particular surfel in map coordinates; an edge between a node representing an ego-pose and a node representing a surfel expresses, as a surfel factor, a spatial constraint between the ego-pose represented by the node and a surfel distinguishable from a particular ego-pose of the environmental sensor, and includes a probability distribution regarding the displayability of the surfel for the environmental sensor from the particular ego-pose; a factor graph representing the optimization problem is created incrementally after receiving the environmental sensor data at the first particular time period, and surfel factors of surfels previously identified as known and / or surfel nodes and surfel factors of new surfels are added to the factor graph to solve the optimization problem incrementally before repeating the steps for the environmental sensor data at the later particular time period as the steps at the first particular time period. A method is provided.

[0014] In other words, the method according to the invention is a SLAM algorithm that models the optimization problem as a factor graph. A factor graph is a form of probabilistic graphic model. The method allows a certain abstraction of the problem, making it easier to find a computer-implemented solution for the optimization problem. The nodes of the factor graph represent the unknown variables of the optimization problem (herein referring to the ego-pose of the mobile system at a certain time period and the pose of the surfels in map coordinates), where the factors of the factor graph represent probabilistic constraints on said variables based on measurements and / or prior knowledge. When solving an optimization problem represented by such a factor graph, a certain set of values ​​representing the unknown variables is first used as initial values, and it is calculated how well this value solves the optimization problem. By varying the values, the values ​​of the variables that best solve the problem represented by the factor graph are found.

[0015] A mobile system in this specification is to be understood as any system capable of moving in an environment (e.g., in the air, on or under water, or on or under land). The mobile system may be configured, for example, as a vehicle, an aircraft, a robot, a rail vehicle or a ship. Preferably, the mobile system is a vehicle, i.e. a mobile system that moves on land. More preferably, the mobile system is a vehicle that is not rail-bound, and particularly preferably, a car.

[0016] Pose is understood here to be the position and orientation (i.e., orientation) of an object. Ego-pose is thus the position and orientation of a mobile system. The pose of a surfel in a surfel map is thus understood to mean the position and orientation of the surfel in map coordinates.

[0017] Preferably, the environmental sensor data is LiDAR data and the environmental sensor is a LiDAR sensor, LiDAR being a form of three-dimensional laser scanning that uses a laser beam to calculate distance.

[0018] The particular period of the method is the period during which the environmental sensor generated a point cloud. The particular period is also referred to as a frame. With respect to the LiDAR sensor as the environmental sensor, the length of the period defines how fast the LiDAR sensor is required for one rotation. For 600 rpm, the period is, for example, 0.1 seconds long. During the period, a point cloud with a number of points from the environment is generated. For example, a LiDAR sensor with 64 scanning channels can output 1.33 million points per second. Thus, by rotating at 600 rpm, in this example, the LiDAR sensor updates 10 frames per second with 0.133 million measurement points per frame.

[0019] An aspect of the invention is that the map is based on 3D ellipsoids. 3D ellipsoids are also called ellipsoidal surfels (surfel is an abbreviation of the English concept surface element), so it is a surfel map. In other words, in a surfel map, an object is represented by one or more 3D ellipsoids. Preferably, a surfel is an approximation of each one of the points. More preferably, a surfel contains one or more pieces of information about the centre of the surfel, the rotation of the surfel (in particular the orientation along the two main axes of the surfel), the spread along the three main axes, the measurement time distribution of the points along the three main axes and / or an approximation of the measurement time distribution, and / or a value for the rod-likeness of the surfel and / or a value for the disc-likeness of the surfel.

[0020] More preferably, the approximation of the measurement time distribution comprises at least four, preferably six, measurement time points formed from the measurement time points of the points of the point cloud, particularly preferably four measurement time points defining the maximum extent of the surfels along the two longer principal axes, more preferably six measurement time points defining the maximum extent of the surfels along the three principal axes.

[0021] Preferably, rod surfels are surfels that have a large extent along exactly one major axis and a small extent along the other two major axes. Disk surfels are preferably surfels that have a small extent along exactly one major axis and a large extent along the other two major axes. Thus, the rod-ness and / or disk-ness values ​​are preferably formed from the extent of the surfels along the three major axes.

[0022] A further aspect of the invention is the incremental construction of the factor graph and the incremental solution of the optimization problem represented by this factor graph. In other words, the solution of the ego-pose of the mobile system in the map coordinates is not performed for each particular time period only per se, but in such a way that surfels in the map coordinates are incrementally incorporated into the factor graph as optimizable variables. In particular, the optimization problem is incrementally solved before surfel factors of surfels previously identified as known and / or surfel nodes and surfel factors of surfels identified as new surfels are added to the factor graph and each step is repeated with environmental sensor data of a later time period. More preferably, the optimization problem is incrementally solved before the comparison of the surfel data with the surfel map is performed. This allows to deal with, on the one hand, the inherent non-stationarity due to the measurement accuracy of the surfel map and, on the other hand, the distortion of the point cloud of the environmental sensor data due to the ego-motion of the mobile system during the recording of the environmental sensor data. For example, high speeds of a mobile system, such as those occurring when traveling on a motorway, result in the point cloud points not forming an accurate representation of the mobile system's environment at certain times, since they are distorted by the self-motion of the mobile system. By adding surfel factors for surfels that have already been observed once to the factor graph, the pose of said surfels, i.e. their position and orientation, is optimized. In other words, the method co-optimizes the representation of the environment, thereby compensating for the drawback of a less accurate representation of the environment formed on the sensor side.

[0023] The method according to the invention is particularly suitable for evaluating demanding data sets, e.g. recorded at high speeds, data sets containing dynamic objects and / or data sets containing only a few identifiable and compensable features. The method according to the invention is also particularly suitable for use in annotation projects, since it uses only received environmental sensor data as resource and can provide results even when other resources of the mobile system, e.g. inertial sensor data, GPS data and / or propulsion system data, e.g. wheel speed sensor data, are not accessible. The structure of the method allows for flexible integration of further resources and thus flexible expansion, which is particularly advantageous for annotation projects.

[0024] According to a preferred development of the invention, in connection with high flexibility of the method, an edge between two nodes representing self-poses is configured to include a self-motion factor which represents a spatial constraint between the self-poses represented by each node and which includes a probability distribution regarding the transformation between the two self-poses.

[0025] In particular, in the absence of other resources, the self-motion factor is preferably based on the model assumptions of the self-motion model. The self-motion model preferably calculates the attitude error of the mobile system as the difference between the current attitude and the last attitude propagated with the velocity. Preferably, the velocity error is calculated as the simple difference between two successive velocities. That is, the method is preferably based on the fundamental assumption that the difference in the velocity of the mobile system in two directly successive periods is small.

[0026] In contrast, if further resources are present, the method preferably includes a step of receiving self-motion sensor data, such as inertial sensor data of a mobile system, GPS data and / or propulsion system data, such as wheel rotation speed sensor data, and the self-motion factor is configured to be based on model assumptions of the self-motion model and the self-motion sensor data.

[0027] In case GPS data is present as a resource, the ego-motion factor is preferably configured to be based at least in part on the difference between an estimated ego-attitude of the mobile system and an ego-attitude calculated from GPS data of the mobile system. In case of inertial sensor data and / or propulsion system data, wheel speed sensor data, the ego-motion factor is preferably configured to be based at least in part on the difference between two inertial sensor data and / or propulsion system data recorded in direct succession.

[0028] Preferably, the surfel data is generated first in the local coordinates of the mobile system starting from the environmental sensor data, whereas the surfel map does not exist in said local coordinates, so the method preferably comprises a step of transforming the surfel data from the local coordinates of the mobile system into the map coordinates of the surfel map. Furthermore, according to a preferred development of the invention, the step of generating surfels by transforming the point cloud of the received environmental sensor data into surfel data comprises generating surfels in the local coordinates of the mobile system, and the step of identifying new and previously known surfels in the generated surfels by comparison of the surfel data with the surfel map comprises transforming the surfels generated in the local coordinates of the mobile system into surfels in the map coordinates.

[0029] In other words, in an alternative embodiment, surfel data is generated by first generating surfels in the local coordinates of the mobile system starting from the point cloud of the received environmental sensor data, which is then preferably transformed into map coordinates, preferably taking into account an estimated ego-pose of the mobile system at a particular period of measurement of the environmental sensor data, where the estimated ego-pose of the mobile system at that period is known by an incremental solution of an optimization problem represented by a factor graph.

[0030] Alternatively, preferably the method is configured to include the step of transforming the points from local coordinates of the mobile system into map coordinates of the surfel map. In this regard, further preferably the step of generating surfels by transforming the points of the received environmental sensor data into surfel data includes generating surfels in map coordinates by transforming the points of the received environmental sensor data transformed into map coordinates into surfel data.

[0031] As mentioned above, the optimization problem is solved in an incremental manner, and preferably before the optimization problem is solved prior to transforming surfels or point clouds from the mobile system's local coordinates to map coordinates, so that a current estimate of the mobile system's ego-pose is always used for the coordinate transformation.

[0032] If the ego-pose of the mobile system is estimated by a hypothesis with perfect accuracy, surfels identified as previously known should be perfectly accurately mapped to surfels present in the surfel map when compared with the surfel map in the generated surfels. However, since both the ego-pose and the surfel map are estimates, surfels identified as previously known usually are not perfectly accurately mapped to surfels present in the surfel map. Such errors between surfels in the surfel map and the transformed surfels or surfels generated from the transformed point cloud are referred to as mapping errors below. Preferably, the mapping errors for disk-shaped surfels include symmetric point-to-surface distances between surfels of the surfel map and the transformed surfels or surfels generated from the transformed point cloud, and for bar-shaped surfels include symmetric point-to-line distances between surfels of the surfel map and the transformed surfels or surfels generated from the transformed point cloud.

[0033] Furthermore, the mapping error, preferably for both disk and rod surfels, includes a rotation error between the surfels of the surfel map and the transformed surfels or surfels generated from the transformed point cloud, where the rotation error is given by the angle between the normal vectors of the two surfels.

[0034] A symmetric point-surface distance is herein understood to be the average of two distances d1 and d2, where a first surfel describes a surfel of the surfel map and a second surfel describes a transformed surfel or a surfel generated from the transformed point cloud, i.e. d1 is the shortest distance from the center of the first surfel to the plane defined by the longer two principal axes of the second surfel and d2 is the shortest distance from the center of the second surfel to the plane defined by the longer two principal axes of the first surfel.

[0035] The symmetric point-line distance is herein understood to be the average of two distances d3 and d4, where a first surfel describes a surfel of the surfel map and a second surfel describes a transformed surfel or a surfel generated from the transformed point cloud, i.e. d3 is the shortest distance from the center of the first surfel to the line defined by the longest principal axis of the second surfel, and d4 is the shortest distance from the center of the second surfel to the line defined by the longest principal axis of the first surfel.

[0036] Thus, in other words, in the next step of the method the surfel factors added to the surfels identified as pre-known are used to take into account in the further optimization the mapping errors here between the surfels of the surfel map and the transformed surfels or surfels generated from the transformed point cloud.Thus, preferably, the step of adding surfel factors to the factor graph of the surfels identified as pre-known comprises adding surfel factors to the factor graph of the surfels identified as pre-known taking into account the mapping errors between the surfels of the surfel map and the transformed surfels or surfels generated from the transformed point cloud.

[0037] More preferably, the step of identifying new and previously known surfels in the generated surfels by comparing the surfel data with the surfel map comprises refining an estimated ego pose of the mobile system before the surfels are transformed from the local coordinates of the mobile system to the map coordinates. Preferably, the refining of the estimated ego pose is based on modified surfels, where the modified surfels are generated using a Generalized Iterative Closest Point algorithm from a cloud of points in the local coordinates of the mobile system.

[0038] To identify previously known surfels in the generated surfels, a proposal of surfel data present in the map coordinates is generated, preferably using a balanced search tree, in particular a kd-tree, and then this proposal is compared with the surfel map. Advantageously, surfels in the surfel data that have not been identified as previously known by such means are identified as new surfels.

[0039] Similarly, in connection with the step of identifying new and previously known surfels in the generated surfels by comparison of the surfel data with the surfel map, a predetermined subset from the set of surfels identified as previously known is preferably subsequently used. In a point cloud containing a large number of points, many redundant identifications of previously known surfels may be made. To improve computational performance, preferably only a subset is subsequently used. The computation of the subset is preferably performed by sorting the previously known surfels into a low-resolution grid based on their pose. From such a grid, a predetermined number of previously known surfels are selected, preferably using a Greedy algorithm, from which the subsequently used subset is formed.

[0040] Concerning the generation of surfels from the point cloud, this is preferably configured to be done by a recursive method based on principal component analysis. In this way, the objective of generating the largest possible surfels from the point cloud with maximum rod-likeness or disk-likeness at the same time can be easily achieved. The generation of such surfels allows the environment to be mapped in detail with a high dynamic range. For example, this allows a good representation of roads based on LiDAR data with a large distance between the individual rings between the ring patterns generated by the LiDAR, while at the same time providing high details about guardrails and / or green areas.

[0041] Principal component analysis, also known as principal axis transformation or singular value decomposition, is a mathematical method that allows us to structure large data sets by exploiting the eigenvectors of the covariance matrix. In other words, we can distinguish a data set by approximating several statistical variables by a small number of possible meaningful linear combinations (so-called principal components).

[0042] In this connection, according to a further preferred development of the invention, the step of generating surfels is performed by recursively transforming the point cloud of the received environmental sensor data into surfel data, and further - assigning individual points of the point cloud to predefined voxels, each voxel representing a volume fraction of the environment; - generating first surfels by performing a principal component analysis for all voxels using the points assigned to each voxel; - dividing every voxel into subvoxels and generating new second surfels for every subvoxel by performing principal component analysis using the points assigned to each subvoxel; - comparing a quality value of the first generated surfels with a quality value of the second generated surfels; - iteratively carrying out the two preceding steps until a comparison of the quality values ​​of the first surfels generated results in an improved quality value for the first surfels or until the subvoxels generated by the segmentation fall below a predetermined minimum number of points; The present invention is configured to include:

[0043] In the first step, the points are grouped into voxels. A voxel (English: volume element) corresponds to a volume fraction of the environment. Preferably, one voxel has an area of ​​about 4m 3, which corresponds to a volume fraction of the voxel. Preferably, the voxel determines an upper limit for the size of the surfels, since preferably no surfels larger than the voxel can be generated. The method is performed recursively, so that also in the "divide all voxels into subvoxels" step, when the two previous steps are repeated, a subvoxel of the previous occurs at the position of the voxel where the second surfel is generated. Thus, in a further "compare quality values" step, the quality value of the newly generated second surfel is also compared with the quality value of the second surfel generated in the previous process, so that the previous second surfel occurs at the position of the first surfel.

[0044] Concerning the quality value of surfels, according to a further preferred development of the invention, the quality value is configured to comprise the average of a weighted sum over all generated surfels from the following values: a value based on the spread of the surfels along the three main axes, preferably a value based on the spread of the surfels along the two longer main axes, a value based on the spread of the surfels along the shortest main axis, a value based on a combination of the two values, in particular a value based on the ratio of the two values, and a value based on the rod-likeness of the surfels. Such a quality value makes it easy to find the optimal surfels.

[0045] In order to obtain particularly reliable results with data sets in which dynamic objects occur, according to a preferred development of the invention, a dynamics value is assigned to each surfel which is variable when solving the optimization problem, the dynamics value being configured to characterize the surfel as not dynamic at the start of the solution of the optimization problem. Preferably, the dynamics value is a value from the value range 0 to 1 (or 0% to 100%), a dynamics value 0 representing the surfel as a completely static surfel and a dynamics value 1 representing the surfel as a completely dynamic surfel. It is assumed that static surfels do not change their pose with respect to time, whereas it is assumed that dynamic surfels undergo changes in their pose with respect to time.

[0046] Preferably, the initialization values ​​are each 0, i.e., the surfels are assumed to be completely static. Preferably, the dynamics values ​​are variable and are part of the optimization problem, allowing the dynamics values ​​of surfels to be varied during optimization if this gives better results.

[0047] In this connection, according to a further preferred development of the invention, a dynamics value is assigned to each surfel, which is variable when solving the optimization problem, and in the step of identifying new and previously known surfels among the generated surfels by comparing the surfel data with the surfel map, a mapping error between the previously known surfels and the generated surfels is determined, and the mapping error is weighted by the dynamics value when solving the optimization problem. In other words, the mapping error described so far is weighted less when solving the optimization problem, the more dynamic the surfel is. In particular, this is done by multiplying the mapping error by the difference between 1 and the dynamics value of the surfel.

[0048] Furthermore, in this connection, according to a further preferred development, it is provided that an increase in the dynamics value of surfels during the solution of the optimization problem is penalized, which prevents the optimization algorithm from converging to a solution in which all surfels have a dynamics value of 1 and thus no longer having to take into account the mapping errors of all surfels, or in other words, in this way the optimization algorithm can find a compromise, since in more dynamic surfels larger mapping errors are weighted less than in more static surfels.

[0049] Regarding the change in dynamics values, preferably using a voxel map, the dynamics values ​​of surfels in voxels present in the voxel map are maintained over a predefined time period using a moving average, in particular an exponentially smoothed average, and if the moving average value of the voxel falls below a predefined limit value, the dynamics values ​​of the surfels, preferably the dynamics values ​​of disk-shaped surfels in the voxel, are changed towards a static direction and / or if the moving average value of the voxel exceeds a predefined limit value, the dynamics values ​​of the disk-shaped surfels in the voxel are changed towards a dynamic direction.

[0050] The method of changing the dynamics values ​​is based on the idea that areas that were previously dynamic objects are unlikely to suddenly contain static objects. Thus, new surfels in the surfel map at positions where dynamic surfels were present are likely to be dynamic as well. That is, preferably, surfels are first assigned to voxels in the voxel map. If a surfel is assigned to a voxel in the voxel map at a location where no voxel was recorded until now because no surfel had been observed in that volumetric percentage, a new voxel is added to the voxel map at that location and the dynamics value of one surfel is assigned to this new voxel. On the other hand, if a surfel is assigned to a voxel that is already present in the voxel map because other surfels have already been observed in that volumetric percentage, the dynamics value assigned to the existing voxel is updated, preferably by an exponentially smoothed average. The updated dynamics value of the voxel is then preferably compared to a limit value, and if it is below the limit value, the dynamics value for all surfels, particularly preferably the dynamics value for all disk-shaped surfels in the voxel, is reduced, and if it is above the limit value, the dynamics value for all surfels, particularly preferably the dynamics value for all disk-shaped surfels in the voxel, is increased.

[0051] Furthermore, with regard to the dynamics values ​​according to a preferred development of the invention, a dynamics value that is variable when solving the optimization problem is assigned to each surfel, surfels identified as previously known are grouped into clusters based on their mutual spatial distance and / or similar mutual orientation, and the factor graph is configured such that for each cluster it has a cluster factor that allows a penalty to be imposed on differences in the dynamics values ​​of surfels within the cluster during the solution of the optimization problem.

[0052] In other words, the cluster factor of the optimization algorithm favors solutions where the surfels belonging to the cluster have very similar dynamics values. The basic idea behind this is that surfels belong to objects, and since objects move as units, they should have dynamics values ​​of similar magnitude to, for example, other traffic users.

[0053] Preferably, in this context, grouping the previously identified known surfels into clusters includes identifying a predetermined number of neighboring surfels in the vicinity of a particular surfel using a k-Nearest-Neighbor-Algorithm, and selecting a subgroup from the identified neighboring surfels by comparing the difference between the pose of the neighboring surfel and the particular surfel with a predetermined limit value. In particular, the distance from the neighboring surfel to the particular surfel is compared with a first predetermined limit value, and the angle between the normal vector of the neighboring surfel and the normal vector of the particular surfel is compared with a second predetermined limit value. If the two comparisons show that the pose of the neighboring surfel is very similar to the pose of the particular surfel, it is assumed that the neighboring surfels are surfels belonging to the same object. In other words, the surfels in this subgroup approximate surfels belonging to the same object. If one surfel of the subgroup is already assigned to a cluster and the other surfels are not assigned to any cluster, further surfels of the subgroup are assigned to the same cluster. If none of the surfels in the subgroup have been assigned to any cluster, a new cluster is created. If one surfel in the subgroup is assigned to a first cluster and another surfel in that subgroup is already assigned to another cluster, no new cluster is created and no reassignment of surfels to other clusters is performed. In other words, in the third case, the existing assignment of surfels to clusters is maintained.

[0054] According to a further preferred development of the invention, the received environmental sensor data further comprises a measurement time for each point of the point cloud, and the step of identifying new and previously known surfels in the generated surfels by comparing the surfel data with the surfel map comprises generating distortion-corrected surfels from the surfel data taking into account an estimated speed of the mobile system and comparing the distortion-corrected surfel data with the surfel map. As a result of each point of the point cloud having a measurement time, the surfels preferably comprise a measurement time distribution of the points and / or an approximation of the measurement time distribution along the three principal axes. These data are thus preferably used for distortion correction of the surfels.

[0055] Since most environmental sensors measure distances by rotating one or more lasers themselves, the movement of the mobile system creates the so-called rolling shutter effect. This effect occurs because the location of the environmental sensor at the time of measurement of the first data point of the laser's revolution is not the same as the location of the environmental sensor at the last data point of the laser's revolution. This means that if all points of a point cloud recorded within a certain period of one revolution are observed in the same way as individual images would be if the environmental sensor had not moved, these points will appear distorted.

[0056] That is, to take this effect into account, the comparison of the surfel data with the surfel map preferably involves generating distortion-compensated surfels by calculating new centers of surfels and new rotations of the surfels taking into account the estimated velocity of the mobile system, which are then further used to calculate the mapping error.

[0057] In this method, it is particularly advantageous that there is no self-motion sensor data, such as inertial sensor data, GPS data and / or propulsion system data of the mobile system, such as wheel speed sensor data, and only environmental sensor data is received. In such a case, the estimated speed of the mobile system at the start of the optimization is highly uncertain. Without surfel distortion correction, a strong rolling shutter effect combined with an unreliable estimated speed can lead to drifts in the optimization, which can impair the overall optimization result.

[0058] According to a further preferred development of the invention, the factor graph comprises at least one node representing the mounting height of one or more environmental sensors on the mobile system, and the method further comprises the steps of: - identifying surfels in a surfel map that represent roads; - for surfels identified as representing roads, adding environmental sensor attachment factors to the factor graph; Includes.

[0059] In the case of multiple environmental sensors, more preferably the node representing the mounting height is adapted to take into account the orientation of the multiple environmental sensors relative to one another.

[0060] In particular, in applications where the mobile system is configured as a car, it can be assumed that the mounting height and base orientation of the environmental sensors in the mobile system or with respect to the road relative to each other during the measurement of the environment do not change. This assumption is preferably realized in that the mounting height is represented as a further optimizable variable as a node in the factor graph and surfels representing roads are identified in the surfel map. Surfels representing roads are preferably identified based on their high discoidality and their orientation with respect to the estimated ego-pose of the mobile system and / or their pose having a center below the estimated ego-pose of the mobile system.

[0061] According to a further preferred development, the method comprises, after a predetermined number of optimizations, a step of removing from the surfel map surfels that were not used for identifying previously known surfels in the step of identifying new and previously known surfels among the generated surfels by comparison of the surfel data with the surfel map, i.e. in other words surfels that have only been observed once are removed again from the surfel map after a predetermined time. The removal of surfels from the surfel map reduces the required computational power in the step of identifying new and previously known surfels among the generated surfels by comparison of the surfel data with the surfel map.

[0062] According to a further preferred development, the method comprises a step of excluding a surfel from further optimization if the surfel has not been used for identifying previously known surfels for a predetermined period of time and / or if the surfel has contributed a predetermined number of surfel factors to the factor graph and / or if the surfel has already been part of the optimization problem for more than a predetermined number of iterations. In other words, surfels can preferably be excluded from the optimization for output reasons in the numerical optimization. The exclusion of surfels from further optimization is preferably achieved by replacing the surfel factors by surfel frozen factors in the factor graph.

[0063] The above object is further achieved by a data processing device comprising means for carrying out the above mentioned method.

[0064] The invention further relates to a computer program product comprising instructions for causing a computer to carry out the above-mentioned method when the program is executed by the computer.

[0065] Furthermore, according to the present invention there is provided a computer readable data carrier storing the above mentioned computer program product.

[0066] The technical advantages of the data processing apparatus, computer program product and computer readable data carrier will be apparent to those skilled in the art from the description of the method for determining the self-attitude of a mobile system and creating a 3D ellipsoid-based surfel map of an environment as well as the examples provided below. [Brief description of the drawings]

[0067] [Figure 1] FIG. 2 is a schematic diagram illustrating an exemplary factor graph produced by a computer-implemented method for determining the ego-pose of a mobile system and creating a 3D ellipsoid-based surfel map of an environment (the SLAM method), according to a preferred embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram illustrating the flow of a SLAM method according to another preferred embodiment of the present invention. [Diagram 3] FIG. 3 is a schematic diagram of another exemplary factor graph produced by the SLAM method of FIG. 2; [Figure 4] FIG. 3 shows a schematic detailed flow of the steps summarized in the flow box in FIG. 2. [Diagram 5] FIG. 2 shows a schematic of a recursive method for computing surfels from a point cloud according to a preferred embodiment of the present invention; [Figure 6] FIG. 2 shows a schematic flow for maintaining dynamics values ​​assigned to surfels according to a preferred embodiment of the present invention. [Figure 7] FIG. 2 is a schematic diagram of the flow for aggregating individual surfels into clusters according to a preferred embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0068] 1, an exemplary factor graph 10 created by a computer-implemented method for determining the ego-pose of a mobile system and creating a 3D ellipsoid-based surfel map of an environment (SLAM method) according to a preferred embodiment is shown. The factor graph 10 is a form of probabilistic graphical model. The nodes 12 in the factor graph 10 represent the unknown variables of the optimization problem, while the factors 14 of the factor graph 10 represent probabilistic constraints on these variables based on measurements and / or prior knowledge.

[0069] The factor graph 10 of Fig. 1, in this embodiment, has a node 12a representing a specific ego-pose of the mobile system and a surfel node 12b representing a specific surfel 16 in map coordinates. The edge between the node 12a representing the ego-pose and the node 12b representing the surfel 16 has a so-called surfel factor 14a. The surfel factor 14a represents a spatial constraint between the ego-pose represented by the node 12a and the surfel 16 identifiable from the specific ego-pose for the environmental sensor, and includes a probability distribution regarding the visibility of the surfel 16 for the environmental sensor from the specific ego-pose. The edge between two nodes 12a representing ego-poses has an ego-motion factor 14b representing a spatial constraint between the ego-poses represented by each node 12a and including a probability distribution regarding the transformation between the two ego-poses.

[0070] A schematic flow diagram of a preferred embodiment of the SLAM method is shown in Figure 2. In the following, reference will be made to Figures 2 and 3, in which a further exemplary factor graph 10 for illustrating the steps of the method is shown in Figure 3.

[0071] In the preparatory steps S100, S200, S300 of the method, the self-motion model, the sensor model and the map model of the mobile system are initialized, and then the factor graph 10 is created in an incremental manner. The initialization S200 of the sensor model is performed taking into account existing resources. In the present embodiment, in addition to the environmental sensor data from the environmental sensor that is attached to the mobile system and measures the mobile system's environment, there is also another self-motion sensor data, namely inertial sensor data and GPS data. The environmental sensor data is LiDAR sensor data in the present embodiment.

[0072] To build the factor graph 10 in an incremental manner, the factor graph 10 must first be initialized, which is done in step S400. For this purpose, first, the type of node 12 is defined. In the present embodiment, four types of nodes are used. As in FIG. 1, a node 12a representing a particular ego-attitude of the mobile system is initialized, and a surfel node 12b representing a particular surfel 16 in map coordinates is initialized. In addition, in the present invention, a variable dynamics value is assigned to each surfel 16, and the variable dynamics value is initialized as a surfel dynamics node 12c. Furthermore, a node 12d representing the mounting height of an environmental sensor in the mobile system is initialized. In FIG. 3, the nodes 12 are shown as rectangular parallelepiped boxes with rounded corners.

[0073] Then, the structure of the factor graph 10 and the incremental solution of the optimization problem represented by the factor graph 10 are found by first receiving environmental sensor data representing the mobile system's environment as a point cloud 18 in a particular time period 20. Then, for each particular time period 20, which correspondingly adds a node 12a representing a particular ego-attitude of the mobile system to the factor graph 10, the self-motion factors 14b, 14b', 14b'' between the nodes 12a representing two ego-attitudes are added (steps S500 and S600). The factors 14 are illustrated as diamonds in FIG. 3.

[0074] In the present embodiment, due to the additional resources provided, the self-motion factors 14b are based on the model assumptions of the self-motion model on the one hand and also on the received self-motion sensor data. Thus, in Fig. 3, three diamonds are shown between the nodes 12a representing the self-attitude of the mobile system, namely factors 14b from the self-motion model, factors 14b' from the received inertial measurement unit data and factors 14b'' from the received GPS data.

[0075] After that (at step S700), the optimization problem represented by the previously created factor graph 10 is solved to obtain an initial estimate of the ego-orientation of the mobile system. The following steps are performed by the map model, which are summarized in FIG. 2 as flow boxes 22 and are shown in detail in FIG. 4. However, the steps in flow boxes 22 are treated briefly here for better understanding. After the initial estimate of the ego-orientation of the mobile system is obtained, surfel data is generated from the received environmental sensor data, and in the surfels 16 thus generated, new surfels 16 and previously known surfels 16 are identified by comparing the surfel data with the surfel map. For new surfels 16, surfel nodes 12b and surfel factors 14a are added to the factor graph 10. For surfels 16 identified as previously known, surfel factors 14a are added to the factor graph 10. The process is repeated for each specific period 20 until all the specific periods 20 of the received environmental sensor data have been processed. This is followed in step S900 by a final solution of the optimization problem, resulting in a final optimized surfel map and a final optimized self-pose for the mobile system during each particular period 20 of received environmental sensor data.

[0076] 4 shows a schematic detailed flow of the steps summarized in flow box 22 of FIG. 2, where each step is executed by the map model. First, in step S805, surfels 16 are removed from the surfel map that have not been used to identify previously known surfels 16 in a comparison of the surfel data to the surfel map. Also, in step S810, a given surfel 16 is excluded from further optimization if it has not been used to identify previously known surfels for a predefined time, and / or if it has contributed a predefined number of surfel factors to the factor graph 10, and / or if it has been part of the optimization problem for more than a predefined number of iterations. The exclusion of a surfel from the optimization is performed by replacing the surfel factor 14a by the surfel frozen factor 14a' in the factor graph 10.

[0077] Then, in step S815, all surfels 16 in the surfel map are updated based on the solution found by the optimization up to this point. As already mentioned with respect to Fig. 2, the received environmental sensor data is then processed in step S820. For this purpose, first, in step S825, an ego-motion correction of the point cloud 18 is performed taking into account the current estimated velocity of the mobile system (i.e. the difference in ego-attitude between two directly successive periods divided by the length of the periods). Accordingly, in step S830, surfels 16 are created by converting the point cloud 18 of the received environmental sensor data into surfel data.

[0078] The surfel data is compared with the surfel map in step S835, which identifies previously known and new surfels 16 among the generated surfels 16. In the example shown in FIG. 4, three cases are distinguished. For a surfel 16 identified as a new surfel, a new surfel node 12b representing this surfel and a surfel factor 14a are added to the factor graph 10 (S840). In contrast, for a previously known surfel 16, a surfel factor 14a is added to the factor graph 10 (S845 and S850). In this case, it is further determined whether the previously known surfel 16 is a surfel 16 to be excluded from further optimization. If the previously known surfel 16 is a surfel to be excluded from further optimization, the added surfel factor 14a is a surfel frozen factor 14a', which is shown in dashed lines in FIG. 3 (step S840).

[0079] Subsequently, in step S860, surfels 16 that represent roads are identified in the surfel map and environmental sensor attachment factors 14c are added to the factor graph 10 for those surfels identified as representing roads. If a surfel that represents a road is a surfel that is excluded from the optimization, a frozen environmental sensor attachment factor 14c' is added.

[0080] Then, in step S865, the dynamics values ​​assigned to the surfels 16 are maintained, as described in more detail below with respect to FIG. 6, and in step S870, these dynamics values ​​are grouped into clusters based on their spatial distance from each other and / or their similar orientation from each other, as surfels 16 that have been previously identified as known, as described in more detail below with respect to FIG. 7.

[0081] With reference to FIG. 5, we first explain how surfels 16 are generated from the point cloud 18 of the received environmental sensor data using a recursive method according to a preferred embodiment. For this, individual points 24 of the point cloud 18 are assigned to predefined voxels 26, where each voxel 26 represents a volume fraction of the environment. Since FIG. 5 shows a two-dimensional example, the voxels 26 are represented by squares. Using principal component analysis, a first surfel 16 is generated for every voxel 26, each having a point assigned to one voxel 26. The surfels 26 are illustrated in FIG. 5 by the elliptical perimeter of the points 24 of the point cloud 18. Then, every voxel 26 is divided into sub-voxels 28, and a second surfel 16 is generated again using principal component analysis. If the comparison of the quality values ​​of the generated first surfel 16 has a better quality value for the first surfel 16 or if the subvoxels 28 generated by the division are below a predetermined minimum number of points 24, the quality values ​​of the generated first surfel 16 and the generated second surfel 16 are compared and an optimal surfel 26 is calculated by repeating the execution of the two previous steps (wherein in each new execution the previous second surfel 16 corresponds to the first surfel 16 and the previous subvoxel 28 corresponds to the new voxel 26).

[0082] Fig. 6 shows a schematic flow of how to maintain the dynamics value assigned to each surfel 16 according to another preferred embodiment. First, a surfel 16 is assigned to a voxel 26 in the voxel map. If the surfel 16 is assigned to a voxel 26 at a location in the voxel map where no voxel 26 has been recorded up to this point (see case A in Fig. 6), a new voxel 26 is added to this location in the voxel map and the dynamics value of the surfel 16 is assigned to the new voxel 26. On the other hand, if the surfel 16 is assigned to a voxel 26 that already exists in the voxel map (see case B), the dynamics value assigned to the existing voxel 26 is updated, which in this embodiment is done by an exponentially smoothed average. The updated dynamics value of the voxel 26 is then compared to a limit value, and in case C the dynamics value is decreased if the limit value is exceeded below for all disk-shaped surfels in the voxel 26, and in case D the dynamics value is increased if the limit value is exceeded above for all disk-shaped surfels in the voxel 26.

[0083] A flow diagram for grouping previously identified known surfels 16 into clusters based on their mutual spatial distance and / or similar mutual orientation according to a further preferred embodiment is shown in Figure 7. As can also be seen in Figure 3, the factor graph 10 for each cluster has a cluster factor 14d that allows differences in dynamics values ​​of surfels 16 within the cluster to be penalized during the solution of the optimization problem.

[0084] 7, first, in step S1000, a predetermined number of nearest neighbor surfels of a particular surfel 16 are identified. In cases E and F, for a pair of a neighbor surfel and a particular surfel 16, if the pose difference is less than a predetermined limit and one of the two surfels 16 of the pair is already assigned to a cluster, the other surfel 16 of the pair is assigned to the cluster as well. On the other hand, in case G, if none of the surfels 16 of the pair is assigned to a cluster, a new cluster is generated. Finally, for each cluster, a cluster factor 14d is added to the factor graph 10. [Explanation of symbols]

[0085] 10 Factor Graph 12 nodes 12a Node expressing self-posture 12b Surfel Node 12c Surfel Dynamics Node 12d Node representing the mounting height of the environmental sensor on the mobile system 14 factors 14a Surfel factor 14a' Surfel Freezing Factor 14b Self-motion factor 14b' Factors for Inertial Measurement Unit Data 14b'' Factors for GPS data 14c Environmental Sensor Mounting Factor 14c' Frozen Environmental Sensor Mounting Factor 14d Cluster Factor 16 Surfer 18 point cloud 20 Periods, Frames 22 Flow Box 24 points 26 Voxels 28 Subvoxels

Claims

1. 1. A computer-implemented method for determining an ego-pose of a mobile system and for creating a 3D ellipsoid-based surfel map of an environment using an optimization problem represented by a factor graph (10), the method comprising: - receiving environmental sensor data generated by at least one environmental sensor attached to the mobile system and measuring the environment of the mobile system, the environmental sensor data representing the environment of the mobile system as a cloud of points (18) for each specific time period (20); - generating surfels (16) by converting the point cloud (18) of received environmental sensor data into surfel data; - identifying new and previously known surfels (16) among the generated surfels (16) by comparing the surfel data with a surfel map; - adding surfel factors (14a, 14a') to the factor graph (10) for surfels (16) previously identified as known and / or adding surfel nodes (12b) and surfel factors (14a) to the factor graph (10) for surfels (16) identified as new surfels; Including, A node (12a) of the factor graph (10) represents a particular ego-pose of the mobile system or, as a surfel node (12b), a particular surfel (16) in map coordinates; an edge between a node (12a) representing an ego-pose and a node (12b) representing a surfel (16) expresses, as a surfel factor (14a, 14a'), a spatial constraint between the ego-pose represented by the node (12a) and the surfels (16) identifiable from a particular ego-pose of the environmental sensor, and includes a probability distribution regarding the displayability of the surfels (16) for the environmental sensor from the particular ego-pose; the factor graph (10) representing the optimization problem is created incrementally after receiving environmental sensor data at a first particular time period (20), and surfel factors (14a, 14a') of the previously identified surfels as known and / or surfel nodes (12b) and surfel factors (14a) of the new surfels (16) are added to the factor graph (10) to solve the optimization problem incrementally before steps for environmental sensor data at a later particular time period (20) are repeated as steps at the first particular time period (20). method.

2. an edge between two nodes (12a) representing ego-poses includes ego-motion factors (14b, 14b', 14b'') that represent spatial constraints between the ego-poses represented by each node (12a) and include a probability distribution for transformations between the two ego-poses; The method of claim 1.

3. the self-motion factors (14b, 14b', 14b'') are based on model assumptions of a self-motion model, or the method comprises a step of receiving ego-motion sensor data, such as inertial sensor data, GPS data and / or propulsion system data, such as wheel speed sensor data, of the mobile system, and the ego-motion factors (14b, 14b', 14b'') are based on model assumptions of an ego-motion model and on the received ego-motion sensor data, The method of claim 2.

4. a) generating surfels (16) by transforming the point cloud (18) of the received environmental sensor data into surfel data comprises generating surfels (16) in local coordinates of the mobile system, and identifying new and previously known surfels (16) in the generated surfels (16) by comparing the surfel data to a surfel map comprises transforming the generated surfels (16) in local coordinates of the mobile system into surfels (16) in map coordinates; or b) generating surfels (16) by transforming the point cloud (18) of the received environmental sensor data into surfel data includes transforming the point cloud from local coordinates of the mobile system into map coordinates of a surfel map, and generating surfels in the map coordinates by transforming the transformed point cloud into the map coordinates.

4. The method according to any one of claims 1 to 3.

5. generating surfels (16) is performed by recursively transforming a point cloud (18) of received environmental sensor data into surfel data; - assigning individual points (24) of said point cloud (18) to predefined voxels (26), each voxel (26) representing a volume fraction of said environment; - generating first surfels (16) by performing a principal component analysis for all voxels (26) using the points (24) assigned to each voxel (26); - dividing every voxel (26) into subvoxels (28) and generating new second surfels (16) for every subvoxel (28) by performing a principal component analysis using the points (24) assigned to each subvoxel (28); - comparing the quality values ​​of the first surfels (16) generated with the quality values ​​of the second surfels (16); - performing the two previous steps iteratively until a comparison of the quality values ​​of the first surfels (16) generated results in an improved quality value for the first surfels (16) or until the subvoxels (28) generated by the segmentation fall below a predetermined minimum number of points (24); Further comprising:

5. The method according to any one of claims 1 to 4.

6. The quality value is the average, over all generated surfels (16), of a weighted sum from the following values: A value based on the spread of surfels (16) along their two longer major axes, A value based on the spread of surfels (16) along their shortest principal axis, A value based on a combination of the above two values, and A value based on the rod-likeness of surfels (16), including the average of the weighted sums from The method of claim 5.

7. a dynamics value is assigned to each surfel (16) that is variable during the solution of the optimization problem, the dynamics value characterizing the surfel (16) as being non-dynamic at the start of the solution of the optimization problem; 7. The method according to any one of claims 1 to 6.

8. A dynamics value is assigned to each surfel (16) that is variable in solving the optimization problem; in a step of identifying new surfels (16) and previously known surfels (16) among the generated surfels (16) by comparing the surfel data with a surfel map, a mapping error between the previously known surfels (16) and the generated surfels (16) is determined, and the mapping error is weighted by the dynamics value when solving the optimization problem.

8. The method according to any one of claims 1 to 7.

9. penalizing the increase in dynamics value of surfels (16) during the solution of the optimization problem; 9. The method according to claim 7 or 8.

10. A dynamics value that is variable in solving the optimization problem is assigned to each surfel (16), and surfels (16) that have been identified as being previously known are grouped into clusters based on their mutual spatial distance and / or mutual similar orientation; The factor graph (10) has, for each cluster, a cluster factor (14d) that allows penalizing differences in dynamics values ​​of surfels (16) within a cluster during the solution of the optimization problem.

10. The method according to any one of claims 1 to 9.

11. the received environmental sensor data having a measurement time for each point (24) of said point cloud (14); the step of identifying new and previously known surfels (16) among the generated surfels (16) by comparing the surfel data with a surfel map comprises generating distortion-corrected surfels from the surfel data taking into account an estimated speed of the mobile system, and comparing the distortion-corrected surfels with the surfel map.

11. The method according to any one of claims 1 to 10.

12. Data processing device comprising means for carrying out a method according to any one of claims 1 to 11.

13. A computer program product comprising instructions for causing a computer to carry out a method according to any one of claims 1 to 11 when the program is executed by the computer.

14. A computer readable data carrier storing a computer program product according to claim 13.