Methods for map-based localization from a vehicle, as well as vehicle

DE102023120364B3Active Publication Date: 2024-10-31CARIAD SE +1

Patent Information

Application Number
DE102023120364
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-08-01
Publication Date
2024-10-31
Estimated Expiration
2043-08-01

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention relates to a method for locating an object (18) observed from a vehicle in an environment (17) and, based on this, determining a vehicle pose. The method is characterized by the following steps: a) providing prototypical feature vectors (25) of mapped objects (18) of the environment (17) together with position data of a respective position (26) of the respective mapped object (18), and b) determining a respective match (28) of a respective feature vector (23) of the observed object (18) generated by encoding using an encoder network with the prototypical feature vectors (25), and c) upon recognizing that a determined match (28) with one of the prototypical feature vectors (25) is greater than a predetermined threshold, signaling the associated position data of this prototypical feature vector (25) as the respective localization result for that object (18).that is described by the feature vector (23) generated by encoding, and / or d) signaling the observation vector and / or feature vector (23) as a new perspective on the respective object (18).
Need to check novelty before this filing date? Find Prior Art

Description

The invention relates to a method by which an object in an environment can be located from a vehicle, so that its geoposition can be determined when the object is detected by the vehicle's environmental sensor as it passes by. The invention also encompasses a suitably equipped vehicle. Ultimately, this allows the geoposition of the vehicle itself to be determined. A vehicle, for example a passenger car or a motor vehicle in general, can use at least one environmental sensor (e.g. a camera) to detect or image objects in its surroundings when traveling along a road in a traffic network, such as traffic signs or other stationary infrastructure components of the traffic network. The location of such objects can be indicated on an environmental map of the road network, i.e., position data for its geoposition can be stored in the environmental map. If such an object is detected, imaged, or recognized using the sensor data from at least one environmental sensor, the geoposition of this object can be read out from the environmental map, making it possible to draw conclusions about the current location of the vehicle itself, for example.Such localization is also called “map-based localization.” In order to be able to compare the object currently detected by the at least one environmental sensor with the mapped objects in the environmental map, it can be provided to first perform object recognition based on the sensor data in order to recognize an object depicted in the sensor data, for example a traffic sign, as such, i.e., to determine its object type (here, "traffic sign"), in order to then be able to read or identify objects of the same object type mapped in the environmental map, i.e., in this example, mapped traffic signs. However, such object recognition based on sensor data requires a correspondingly high training and data acquisition effort. EP 3 543 907 A1 describes a vehicle that operates an object detector whose detection properties are dynamically configured by storing the detection features required for the detection of region-specific objects in an environment map for individual subregions or tiles and loading the detection features optimal for this subregion into the object detector when entering the respective subregion. US 2022 / 0 146 277 A1 describes a vehicle that operates an object detector to detect objects in the environment. The detection features of mapped objects are stored in an environment map. If a discrepancy is detected between the currently detected objects and the detection features from the environment map, a signal is sent indicating that the environment map is outdated and requires an update. DE 10 2022 102 567 A1 describes a method for locating a motor vehicle in an environment during a journey, wherein sensor data from landmarks of the environment are received from an environmental sensor by a processor circuit in repeated estimation cycles and a respective estimated position of the motor vehicle is determined from feature data formed from map data of a map area of the environment and from the sensor data by means of an estimation module. DE 10 2021 005 084 A1 describes a method for identifying map attributes and map relationships of objects. EP 4 174 522 A1 describes a method for training a neural network to perform object detection using radar and lidar sensors. The invention is based on the object of efficiently designing map-based localization in a vehicle. The problem is solved by the subject matter of the independent patent claims. Advantageous further developments of the invention are described by the dependent claims, the following description, and the figures. As one solution, the invention comprises a method for map-based localization of at least one object that is observed from a vehicle in the vehicle's surroundings or detected by at least one environmental sensor. In other words, sensor data from at least one environmental sensor is provided, for example, by being received from the respective environmental sensor. The respective environmental sensor has its detection range aligned with the at least one object in the surroundings. Thus, the respective object is depicted or described in the sensor data. It is also referred to here as the "observed object," in contrast to a "mapped object" described below. This is because the environmental map of the surroundings described above is also provided, i.e., corresponding map data, for example, from a navigation database is used. In order to isolate or delimit the observed object in the sensor data, a respective observation vector of the at least one object is formed from the sensor data. Such an observation vector can, for example, consist of all image data or sensor data located within a bounding box, which can have been determined in the sensor data, for example, using an artificial neural network. State of the art is available for this. However, within the scope of the method, the observation vector is not used to classify or recognize the object, i.e. to determine its object type. Instead, the respective observation vector is encoded by an artificial neural network that is not trained as a detector or recognizer for an object, but rather as an encoder network.Such an encoder network generates a vector from the observation vector by encoding, which is referred to here as a "feature vector." "Encoding" here specifically means reducing the redundancy in the observation data of the observation vector in order to obtain the feature data of the feature vector. Such an encoder network can, for example, be part of a more comprehensive artificial neural network for actual object detection or recognition. The feature data of the feature vector is then branched off from the encoder of this network for the process. Alternatively, a standalone encoder network can also be provided. An encoder network can, for example, be implemented entirely or partially on the basis of a CNN (convolutional neural network). The environment map is now prepared accordingly for the procedure by not mapping objects with their object type, or not only with their object type. Instead, the environment map contains prototypical feature vectors of mapped objects in the environment, along with the geoposition data of the respective mapped object. In the following, the term "position" of the object is used more generally. Now, it is not necessary to fully classify the object based on the sensor data in order to identify its object type, i.e., object recognition is not necessary for the method; instead, a match can be made between the respective feature vector of the observed object and the respective prototypical feature vector from the environmental map. A vector comparison is therefore carried out between the feature vector of the observed object and the feature vector of the mapped object. This can be carried out for all mapped objects in a given area or region covered by the environmental map. For this purpose, it can be assumed that a lower-resolution geoposition of the vehicle can already be known, for example, based on a receiver for a GNSS (Global Navigation Satellite System) signal, such as GPS (Global Positioning System).Building on this, the method can use the position of the mapped objects to provide a higher spatial resolution than GNSS alone. If a determined match or a determined degree of match between the feature vector of a currently observed object and a prototypical feature vector from the environment map is detected to be greater than a predetermined threshold, the position data associated with this prototypical feature vector is signaled as the localization result for the observed object described by the feature vector. Alternatively, the threshold can be set dynamically based on other potential traffic signs. For example, a threshold can be defined depending on the distance to the second-best match. This would allow more flexibility in locations where few features are present while still avoiding false associations where ambiguities exist. The threshold can be generalized.For example, it would be possible to choose the threshold depending on the other detected (or mapped) objects or to load / calculate a threshold from the map or to evaluate the geometric arrangement in a second step. If there are matches with multiple prototypical feature vectors, the prototypical feature vector with the greatest match can be selected. In addition to or as an alternative to the localization result for the object, the observation vector and / or the resulting feature vector of this observed object can also be forwarded or signaled, as this observation data or feature data can provide a new perspective on the respective object, which can be used, for example, for training an artificial neural network and / or updating the map element. The agreement of the observed feature vector with the prototypical feature vector can be calculated, for example, on the basis of the Euclidean distance (N2 norm). The invention provides the advantage that, even without detecting or classifying an observed object, the position of the respective object can be determined based solely on the feature vector formed from the observation data of this observed object. Thus, the computational effort required for object detection or object recognition in the vehicle is not necessary to implement the described map-based localization. The mapped objects are thus used here as "landmarks." In particular, the training effort is not necessary, since examples must be searched for all possible classes with which to train. Adding new signs also does not require new training. The invention also includes further developments which result in additional advantages. Ambiguities can arise if, for example, a traffic sign is detected as the observed object and several traffic signs are located along a road. This can be handled as follows. The sensor data can, for example, comprise an image, for example a camera image and / or radar image and / or lidar image of the surroundings, i.e. sensor data can be recorded simultaneously in the sense that several objects are depicted or recorded together in one image. A feature vector can then be formed for each of these objects, and the respective positions of the multiple feature vectors can be determined from the surroundings map in the manner described by determining the correspondence with prototypical feature vectors. This provides an additional comparison criterion for determining whether an observed object actually corresponds to a mapped object.Since several objects have now been detected, their relative arrangement or relative positioning can also be evaluated by comparing the relative positioning of the determined positions with the observed relative arrangement of the several observed objects. Since the objects are recorded in a common image, their relative arrangement is described or represented in the sensor data and a comparison of the arrangements with the surrounding map can be made. If, for example, a traffic sign, a traffic light and a road marking are detected as objects, their relative arrangement to one another is a further comparison criterion for determining whether observed objects clearly correspond to mapped objects. Accordingly, a confidence of the determined positions of these objects is determined depending on a degree of correspondence determined by comparing the relative arrangements.For example, if the observed objects match prototypical feature vectors in the environment map, but the observed objects exhibit a different relative arrangement, the confidence value will be correspondingly lower than if the relative arrangement, for example, a triangular arrangement or a specific sequence, also matches. A corresponding geometric evaluation of the relative arrangements can be performed, for example, based on a graph algorithm. This refinement offers the advantage of allowing an additional comparison criterion to be used when capturing multiple objects. The observed feature vectors (formed from the sensor data) and the prototypical feature vectors (stored in the environment map) can represent the respective object from different perspectives, i.e. the prototypical feature vectors can have been created and mapped from other sensor data that do not show the object from the same perspective as the currently observed feature vector. Nevertheless, as described below, the feature vectors should be as independent of the viewing angle as possible. In order to nevertheless obtain a reliable match or a reliable match measure, according to a further development it can be provided that the described encoding by means of the encoder network makes the dimensionality of the observed feature vector lower than the corresponding dimensionality of the observation vector from which the feature vector is calculated.In other words, the described redundancy reduction occurs so that the observation of the object is reduced to essential features that have been shown to be retained even across different perspectives. Such features can be trained by training an encoder network, for example, using the backpropagation algorithm, if images of an object from different perspectives are used as training sensor data. As already explained, map-based localization according to the method does not require object detection or classification. Accordingly, the encoder network preferably generates the respective feature vector independently of the object's classification result. If a classifier network is used, it preferably operates independently of the localization, meaning that the feature vector is preferably used independently of, or even independently of, a semantic interpretation. "Free" here means that no semantic interpretation at all, i.e., no object classification or object detection, takes place in the vehicle, or that this (if present) is not used for localization.It is therefore preferably provided that only the pixel data, for example from a bounding box, is used as sensor data for the observation vector, and that the observation vector is mapped or converted into the feature vector using the encoder network, thereby reducing its dimensionality, i.e., the number of vector values or vector entries. Thus, without recognizing or semantically interpreting what the feature vector represents, a comparison is made with the prototypical feature vectors to which the position data is assigned. In the manner described, the observation vector preferably summarizes those sensor data that are located within a bounding box that is received according to a further development from an upstream computer vision algorithm, which may be based, for example, on an artificial neural network and / or a structure-from-motion algorithm. Accordingly, according to a further development, the sensor data is pixel data from an image of the environment, and the observation vector represents that portion of the pixel data that represents the object. In an alternative or additional development, the observation vector can contain already processed pixel data, i.e., output values from an output layer or an intermediate layer of an upstream artificial neural network, in particular a vision transformer network. The described localization result of map-based localization can be used advantageously in a variety of ways. One can first provide the position of the object in the image (bounding box) or even the geoposition of the object. Several possible applications, which can be used individually or in combination, are described below. According to a further development, the geoposition of the vehicle itself is determined using the localization result of the at least one observed object. For this purpose, the described road map or traffic route map is provided or used as a map of the surroundings. The localization result, i.e., the geoposition of the vehicle, can thus be output to a navigation system and / or to a driver assistance system of the vehicle. The driver assistance system can then, for example, plan a driving trajectory for the vehicle in order to guide the vehicle along a planned route and / or in accordance with traffic regulations. A navigation system can, for example, use the geoposition to determine navigation instructions for a driver of the vehicle.By using the geoposition via map-based localization, a localization with lower scatter / variance can be provided compared to a geoposition determined solely using GNSS. Additionally or alternatively, the localization result of at least one observed object can be used to track the respective object across multiple, consecutively recorded environmental images. The environmental map then does not have to be a road map of the traffic route network; instead, the environmental map can represent the previous environmental image or the environmental image of another sensor at the same time if they have an overlapping detection range. Otherwise, tracking also allows objects to be tracked again after they have been obscured for a longer period of time. For example, if you overtake a truck on the highway that is currently overtaking a car / motor vehicle at a low relative speed. The car obscured by the truck is then not perceptible for a longer period of time, but can be re-identified using the feature vector.This would be more difficult for traditional tracking methods that operate purely geometrically. This allows for the detection or recognition of a movement or change in the position of the observed object in the image of the environment. This makes it possible to implement a tracking algorithm for image-based object tracking. "Image-based" means that it can be applied to camera images, radar images, and / or lidar images, for example. According to a further development, in addition to or as an alternative to a given object type, the acquisition of new image material can be implemented, for example to train an artificial neural network with training data or training sensor data. There are two possible use cases: 1. Generation of a feature vector for a new sign type based on the sign's known geoposition, e.g., from external maps. 2. Given an example image of a new traffic sign, a new feature vector can now be created. This can be used to either define a trigger that starts an image upload to a backend as soon as an object with a similar feature vector (similar = above the threshold) is observed, or to search a training database and search for a similar object among the unclassified elements, which is then verified by a human. The latter, however, is independent of position data. If an image of an object type is known, i.e., an observation vector, a prototypical feature vector can be created from it. For example, if a new traffic sign has been introduced into the road network, a prototypical feature vector can be generated for this traffic sign. If it is also known where such a traffic sign is located, a corresponding geoposition of this object (specifically of the traffic sign of the type of this new traffic sign) can be entered or specified in the surrounding map. If it is then detected on the basis of geoposition data of the vehicle, as can be determined using the GNSS described, for example, that the vehicle is driving past this geoposition of the object or is passing this geoposition, an observation vector and / or a feature vector of this object is determined from the sensor data generated there, for example camera image data. This is then provided as a new perspective or a new image of the object of this object type. In this way, autolabeling can be implemented. For the autolabeling process described, either precise positioning as GNSS is necessary (e.g. using the process described here), or the upload of the entire or partial image.a comprehensive static environment model is necessary so that the journeys can be aligned with each other in the backend. The "prototypical feature vector" can be an average value of several feature vectors. A more advantageous, more precise description is provided according to a further development in which the respective prototypical feature vector describes a covariance or a covariance is assigned to this prototypical feature vector, which is used to determine the correspondence between this prototypical feature vector and the observed feature vector. In other words, a prototypical feature vector describes not only the mean of several feature vectors, but also their covariance. Thus, the variance of individual vector values can be individually considered. As already explained, it can be advantageous to know an object from different perspectives in order to form the prototypical feature vector. A further development creates or determines different perspectives of an object by generating a video sequence while driving past a predetermined, known geoposition of the object in order to determine training sensor data for new perspectives on a specific object. In this video sequence, the object is then depicted in a plurality of video images, with the perspective differing in the video images because the vehicle drove past the object. A perspective is then taken from the first third and from the last third of the video sequence by saving training sensor data for two different perspectives on the object. In this way, targeted training sensor data of the object from different perspectives can be generated automatically.From such training sensor data, observation vectors can then be formed and from these, feature vectors can be formed, which can then be calculated or combined in the manner described, for example by averaging, to form a prototypical feature vector. To train the described encoder network, a further development involves the use of a triplet loss training algorithm. During training, the network is provided with three images: two of the same (or identical) object and one of a different, distinguishable object. The learning effect for the network is greatest when it receives two images of the same or identical object that are as different as possible on one side and an object that is as similar as possible but still distinguishable on the other side. For example, as a negative example, a 70 km / h sign with trees in the background, and as a positive example, a 10 km / h sign with trees in the background and similar lighting, and another 10 km / h sign with buildings in the background at night. This way, the network learns to focus on the important features.The described approach of taking the first and last observation of the same object and another object from the environment is an approach to train such a feature vector without specially labeled data. An alternative approach is to use an existing training dataset, but this has the disadvantage that the classes are either too coarse or sometimes nonexistent. For example, place names would all be in the same class, even though their content is different. A further development prevents the "meaning" of the individual vector values or vector dimensions of the feature vector from being changed or shifted during iterative or step-by-step training of the encoder network during retraining, i.e., after the encoder network has already been trained once. This is necessary to obtain feature vectors for the prototypical feature vector on the one hand and for the observed feature vectors during vehicle operation on the other, in which the individual vector entries or vector values (i.e., first vector value, second vector value, and so on) represent the same feature. On the other hand, calculating the correspondence or comparing an observed feature vector with a prototypical feature vector is inefficient.By using teacher-student training, the vector structure of the feature vector is enforced, thus ensuring the assignment of features to their position or location in the feature vector. An alternative to this can be a mapping or mapping function, in which a mapping is connected downstream of the encoder network, which maps the output vector of the retrained encoder network to a predetermined vector structure of the feature vector. In other words, dimensions or vector entries can be swapped or reordered through the mapping. Overall, it is ensured that the encoder network for forming the prototypical feature vector and the encoder network in the vehicle provide the same vector structure. This conversion, i.e. the conversion of feature vectors, should take place in the backend (aka cloud).The possibility of swapping vector entries was just an example to illustrate that the structure of the feature vector does not emerge from the training. However, completely different embeddings are also conceivable in principle, which cannot be mapped to each other using a simple linear transformation but have similar Euclidean distances. In this case, one would then train a new neural network that has the old feature vector as input and the new feature vector (at least approximately) as output. To carry out the method, the invention can provide a computer system having at least one processor circuit. A processor circuit can be provided in the vehicle to carry out the described map-based localization. A further processor circuit can be used for the upstream training of the encoder network in the manner described. Overall, programming results in the computer system which, when executed by the at least one processor circuit, causes it to carry out an embodiment of the method according to the invention. The programming can be implemented on the basis of program instructions that can be stored in a respective data memory of the at least one processor circuit. The part of the method relating to map-based localization performed "online" or while driving can be implemented in a vehicle, which is also part of the invention. This vehicle has at least one environmental sensor and a data memory for the environmental map. Furthermore, the described processor circuit is provided in the vehicle, which is configured to execute one of the embodiments of the method to be performed in the vehicle, i.e., the actual map-based localization. For use cases or application situations that may arise during the method and which are not explicitly described here, it may be provided that, in accordance with the method, an error message and / or a request to enter user feedback is issued and / or a default setting and / or a predetermined initial state is set. The invention also includes the control device for the motor vehicle. The control device can have a data processing device or a processor device that is configured to carry out an embodiment of the method according to the invention. For this purpose, the processor device can have at least one microprocessor and / or at least one microcontroller and / or at least one FPGA (Field Programmable Gate Array) and / or at least one DSP (Digital Signal Processor). Furthermore, the processor device can have program code that is configured to carry out the embodiment of the method according to the invention when executed by the processor device. The program code can be stored in a data memory of the processor device. The processor device can, for example, be based on at least one circuit board and / or on at least one SoC (System on Chip). The motor vehicle according to the invention is preferably designed as a motor vehicle, in particular as a passenger car or truck, or as a passenger bus or motorcycle. As a further solution, the invention also encompasses a computer-readable storage medium comprising program code which, when executed by a computer or computer network, causes the computer or computer network to carry out an embodiment of the method according to the invention. The storage medium can be provided at least partially as a non-volatile data memory (e.g., as a flash memory and / or as an SSD - solid state drive) and / or at least partially as a volatile data memory (e.g., as a RAM - random access memory). The storage medium can be arranged in the computer or computer network. However, the storage medium can also be operated, for example, as a so-called app store server and / or cloud server on the Internet. The computer or computer network can provide a processor circuit with, for example, at least one microprocessor.The program code may be provided as binary code and / or as assembly code and / or as source code of a programming language (e.g. C) and / or as a program script (e.g. Python). The invention also encompasses combinations of the features of the described embodiments. The invention therefore also encompasses implementations that each comprise a combination of the features of several of the described embodiments, unless the embodiments are described as mutually exclusive. Exemplary embodiments of the invention are described below. Figure 1 shows a schematic representation of an embodiment of the computer system according to the invention with an embodiment of the vehicle according to the invention; Figure 2 shows a sketch illustrating an embodiment of the method according to the invention; Figure 3 shows an embodiment of an encoder network and environmental maps by means of which an embodiment of the method can be carried out; and Figure 4 shows a sketch illustrating a training of the encoder network. The exemplary embodiments explained below are preferred embodiments of the invention. In the exemplary embodiments, the described components of the embodiments each represent individual features of the invention that can be considered independently of one another, each of which also develops the invention independently of one another. Therefore, the disclosure is intended to encompass combinations of the features of the embodiments other than those shown. Furthermore, the described embodiments can also be supplemented by further features of the invention already described. In the figures, the same reference symbols designate elements with the same function. Fig. 1 shows a computer system 10 which can comprise at least one processor circuit 11, which can be installed or provided in a vehicle F. The vehicle F can be, for example, a motor vehicle, such as a passenger car or truck. The computer system 10 can also include a vehicle-external processor circuit 12, which can be operated as a stationary processor circuit, for example, in an Internet server I. For example, the processor circuit 12 can be part of a development laboratory for software of the processor circuit 11. The vehicle F can be traveling along a road 13 of a traffic network 14 while the method described below is being carried out. At least one environmental sensor 15 can be provided in the vehicle F, the detection range 16 of which can be aligned in an environment 17 of the vehicle F.A possible environmental sensor 15 is, for example, a camera. By detecting at least one object 18 in the environment 17, sensor data 19 of the environmental sensor 15 is generated, which contains or contains an image of the respective object 18. The respective object 18 is, in particular, a stationary object, such as a traffic sign or a road marking or traffic sign, to name just a few examples. A building or a general landmark can also be used as object 18. The sensor data 19 of the at least one environmental sensor 15 can be provided in the processor circuit 11 in the vehicle F. The sensor data 19 can, for example, represent a sequence of images or pictures of the environment 17, for example, video images, radar images, or lidar images, to name just a few examples. The environmental sensor 15 can then be designed accordingly. Based on image processing 20, those picture elements or pixels in the sensor data 19 that each represent an object 18 can be detected in a manner known per se. A summary of those sensor data or pixels that represent the object 18 can be provided as an observation vector 21. For this and the following explanations, reference is also made to Fig. 2. Fig. 2 once again represents the sensor data 19 as an image of the environment 17 and shows how the associated image elements of an object 19 can be delimited, for example, by a bounding box. The contents of this bounding box can then be provided as an observation vector 21. For example, the pixel values or sensor values of the observation vector 21 can be provided as a vector 21'. By means of an encoder network 22, the observation values from the observation vector 21 can be converted into a feature vector 23. Furthermore, at least one environmental map 24 of the environment 17 can be provided for the processor circuit 11. This can be, for example, a navigation database or a so-called HD (High Definition) map. Digital information relating to mapped objects 18 can be specified or stored in the respective environmental map 24. "Mapped objects" means that the position of these mapped objects 18 in the environment 17 is known. For mapped objects 18, the at least one environmental map 24 can provide, on the one hand, a prototypical feature vector 25, which can be formed, for example, from several feature vectors that can have been formed in the same way as the feature vector 23. In addition, for each mapped object 18, its position 26 in the environment 17 can be specified by position data. By means of a comparison operation or association 27, the feature vector 23 can now be compared with the prototypical feature vectors 25 from the at least one environment map 24. This association 27 can, for example, be based on an L2 norm, by means of which vectors can be compared. By means of the association 27, a match value of a match 28 of the feature vector 25 with the respective prototypical feature vector 25 can be determined for each comparison. It can then, for example, be checked which match 28 is the greatest. If this match 28 is then also greater than a predetermined threshold value, the mapped object 18 for which this match 28 resulted can be regarded as the object 18 that was actually detected in the environment 17 by the environment sensor 15.By reading the position 26 of this mapped object 18, this position 26 can then be assigned to the observed object 18 in the environment 17. In Fig. 2, different position information P0, P1, P2 is given as an example for several mapped objects 18. Based on the position data 26 thus determined, a geoposition 31 of the vehicle F itself can be determined, for example, by a localization function 30 by determining a relative position of the vehicle F to the observed object 18. This can be done, for example, on the basis of or by means of radar and / or image analysis. An arrangement of several objects 18 in the surrounding area and the associated position data 26 can also be used to determine a relative position of the vehicle F with respect to these several observed objects 18 and, from this, the geoposition 31 of the vehicle F. The geoposition 31 of the vehicle F can be transmitted, for example, to a navigation system or driver assistance system 32. The driver assistance system 32 can then, for example, plan a travel trajectory for the vehicle F on the road 13 and, by generating control commands 33, control an actuator system 34 of the vehicle F in order to guide the vehicle F along the planned travel trajectory. The actuator system 34 can, for example, be designed for longitudinal guidance and / or lateral guidance, i.e., for example, provide acceleration by means of a drive motor and / or deceleration by means of a braking system and / or enable automated steering of the vehicle F for lateral guidance. A corresponding actuator system 34 is available from the prior art. When performing the association 27, the algorithm or method does not need to know what type of object 18 is involved; thus, its object type can remain unknown. Therefore, no object recognition is necessary (i.e., what type of object is it). Object detection may suffice (i.e., bounding box generation). Instead, the image data or pixels from the observation vector 21 are converted as observation data by means of the encoder network 22 into the feature vector 23, which represents image features of the imaged observed object. Individual vector values are symbolically represented here by points. Upon detection of a match 28 above the threshold value and thus selection of a mapped object 18 from the environmental map 24, auto-labeling or auto-annotation can also be implemented from this. In addition to or as an alternative to the geoposition 31 of the vehicle F itself, the association 27 results in the use of, for example, the sensor data 19 of the image with the observed object 18 and / or the observation vector 21' and / or the feature vector 23. This association 27 now reveals which object type is represented, since the associated mapped object 18 is known. This data can be transmitted to the stationary processor circuit 12 by means of a communication circuit 35, for example via a radio connection 36. For example, the radio connection 36 can be implemented via a mobile radio network 37 and / or a WLAN (Wireless Local Area Network). In the stationary processor circuit 12, for example, a training 38 of the encoder network 22 can be performed, or the encoder network 22 can be improved or expanded thereby. Based on the additional training sensor data obtained by means of auto-annotation in the form of sensor data 19, observation data 21, and / or feature vectors 23, and the associated information concerning the object type, as determined from the environmental map 24, the encoder network 22 can be trained or further trained. The thus expanded or improved encoder network 22 can, as shown in Fig. 1, be transmitted again, for example, via the radio connection 36, to the vehicle F so that it can be operated in the processor circuit 11 as an improved or retrained encoder network instead of the previous or original encoder network 22. Fig. 3 again illustrates the method for obtaining the feature vectors 23 from sensor data 19. The illustrated image processing 20 can, for example, use a method known from the prior art to generate the bounding boxes BB, for example in connection with object detection based on a machine learning model, such as an artificial neural network. The encoder can be provided or operated in addition to such a network or alternatively or as an extension to the actual object detection, since no object detection or object classification needs to be performed using the encoder, but merely a conversion of the observation vector 21 into the feature vector 23. The comparison in the association 27 can be based on one or more environment maps 24.An environment map 24 can be formed, for example, based on the mapped objects 18', if their object type is known, for example, and / or image data of such mapped objects 18' is available. A mean feature vector can be formed from several such mapped objects 18' or the sensor data of such mapped objects 18', which can be entered or stored in the environment map 24 as a prototypical feature vector 25. A covariance can also be calculated, which can also be stored for the association 27. To generate training sensor data T, a processor circuit 11 can also be provided with, for example, an observed geoposition as position 26 and a feature vector 25. If the vehicle F then drives past this position 26, it can generate another additional feature vector 23, which can be recognized as matching through association 27 with the already available feature vector, and the corresponding training data T can then be transmitted to the stationary processor circuit 12 to continue the training 38. In this way, different perspectives or views of an object 18 can be collected without the need for a test drive with a test vehicle specially dispatched for this purpose. Rather, vehicles F can be used by users who are moving along the traffic network 14 with their vehicle F for another reason. Fig. 4 illustrates a possible implementation of training 38 for encoder network 22 using triplet loss training. It shows how a perspective to be trained, also called anchor A, can be trained for training sensor data T of an object 18 by defining a loss function L that is provided as a negative N based on an already trained perspective P of the same object type as object 18 and a perspective on another object. As an example, Fig. 4 shows that negative N represents a traffic light as an object, while a traffic sign is specified as object 18 both in anchor A (there from the perspective from behind) and as a positive trained perspective P. The encoder network 22 to be trained forms the feature vector 23 for each image or from the corresponding observation data, which is represented here as a vector with three dimensions for the sake of simplicity.Through the association 27, for example, based on the L2 norm, a respective difference can be calculated as a difference value or, equivalently, a match 28 can be calculated as a match value. The loss function L can be defined, for example, in the formula shown in Fig. 4. Through the training 38, the anchor A is thus trained as belonging to the positive trained object P. Overall, the examples demonstrate how the use of embeddings (low-dimensional representations) can be provided for the assignment of detections to landmarks.

Claims

A method for map-based localization of at least one object (18) observed from a vehicle in an environment (17), the method comprising the steps of: • Providing at least one environmental map (24) of the environment (17), • Providing sensor data (19) from at least one environmental sensor (15) whose detection range (16) is aligned with the at least one observed object (18) in the environment (17), • Forming a respective observation vector (21) of the at least one observed object (18) from the sensor data (19), • Encoding the respective observation vector (21) by an artificial neural network trained as an encoder network (22), which generates a feature vector (23) of the observed object (18) from the respective observation vector (21) by encoding,characterized by the following steps: • in the at least one environment map (24), providing prototypical feature vectors (25) of mapped objects (18) of the environment (17) together with position data of a respective position (26) of the respective mapped object (18), • determining a respective match (28) of the respective feature vector (23) generated by the encoding with the prototypical feature vectors (25), and • upon detection that a determined match (28) of the feature vector (23) of the observed object (18) with one of the prototypical feature vectors (25) is greater than a predetermined or dynamic threshold value, signaling the associated position data of this prototypical feature vector (25) as the respective localization result for the object (18) described by the feature vector (23) generated by the encoding,and / or signaling the observation vector (21) and / or the feature vector (23) as a new perspective on the respective object (18)., Method according to claim 1, wherein a respective feature vector (23) is determined for a plurality of objects (18) observed simultaneously by the at least one environmental sensor (15), and respective positions (26) for the plurality of feature vectors (23) are determined from the environmental map (24) by determining the correspondence (28), and a relative arrangement of the determined positions (26) is compared with a relative arrangement of the plurality of observed objects (18) determined on the basis of the sensor data (19), and a confidence of the determined positions (26) is determined as a function of a degree of correspondence determined by comparing the arrangements. Method according to one of the preceding claims, wherein the encoding results in the dimensionality of the feature vector (23) being less than a dimensionality of the observation vector (21). Method according to one of the preceding claims, wherein the feature vector (23) is generated by the encoder network (22) free from a classification result of the object (18) and / or the feature vector (23) is formed independently of and / or free from a semantic interpretation. Method according to one of the preceding claims, wherein the observation vector (21) is formed from those of the sensor data (19) which are delimited by a bounding box provided by an upstream computer vision algorithm. Method according to one of the preceding claims, wherein the sensor data (19) are pixel data of an image of the environment (17) and wherein the observation vector (21)• comprises that portion of the pixel data which represents the object (18), and / or• output values of an output layer or intermediate layer of an artificial neural network arranged upstream of the encoder network (22). Method according to one of the preceding claims, wherein a geoposition (31) of the vehicle (F) in a traffic route network (14) is determined by means of the localization result of the at least one observed object (18), and for this purpose a traffic route map is provided as an environment map (24), wherein the geoposition (31) of the vehicle (F) is output to a navigation system and / or to a driver assistance system (32) of the vehicle (F). Method according to one of the preceding claims, wherein, by means of the localization result of the at least one object (18), tracking of the respective object (18) is carried out over a plurality of environmental images acquired one after the other in time, and for this purpose, the respective temporally preceding environmental image is provided as the environmental map (24). Method according to one of the preceding claims, wherein for a given object type a prototypical feature vector (25) and a geoposition (26) of an object (18) of this object type are specified in the environmental map (24), and when it is detected on the basis of geoposition data of the vehicle (GNSS) that the vehicle passes the geoposition (26) of the object (18), the observation vector (21) and / or the feature vector (23) is generated as a new perspective on the object (18) from the sensor data (19) generated there. Method according to one of the preceding claims, wherein the respective prototypical feature vector (25) is assigned a covariance which is used when determining the match (28). Method according to one of the preceding claims, wherein, in order to determine training sensor data (19) for new perspectives on an object (18), a video sequence is generated when driving past a predetermined, known geoposition (26) of the object (18), and training sensor data (19) for two different perspectives on the object (18) are stored from a first third and a last third of the video sequence. Method according to one of the preceding claims, wherein a triplet loss training algorithm is used for training the encoder network (22). Method according to one of the preceding claims, wherein for retraining the encoder network (22)• a teacher-student training (38) is used to enforce a vector structure of the feature vector (23) or• a mapping for an output vector generated by the encoder network (22) to a predetermined vector structure of the feature vector (23) is used. Vehicle with at least one environmental sensor (15) and with a data memory for an environmental map (24) and with a processor circuit (11, 12) which is designed to carry out a method according to one of claims 1 to 11.

Citation Information

Patent Citations

  • Identification of object attributes and object relationships

    DE102021005084A1

  • Method and processor circuit for locating a motor vehicle in an environment during a journey, as well as a suitably equipped motor vehicle

    DE102022102567A1

  • Method, apparatus, and system for dynamic adaptation of an in-vehicle feature detector

    EP3543907A1

  • System and method for training a neural network to perform object detection using lidar sensors and radar sensors

    EP4174522A1

  • Architecture for map change detection in autonomous vehicles

    US20220146277A1

Cited By

  • Method for generating a map display for a vehicle

    DE102025112421A1

  • Method for generating a map display for a vehicle

    DE102025112439A1