Method for locating a trailer, processing unit, and vehicle

EP4416688A1Pending Publication Date: 2024-08-21ZF CV SYST GLOBAL GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022783343
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-15
Filing Date
2022-09-23
Publication Date
2024-08-21

AI Technical Summary

Technical Problem

Existing methods for localizing trailers relative to towing vehicles are either complex, costly, or unreliable under varying environmental conditions, particularly in low light or extreme angles, and often require additional markers or sensors.

Method used

A method using a monocular camera and image processing algorithms to generate a feature representation of the trailer's environment, matching it with pre-stored trailer models to determine the trailer's position and orientation without the need for additional markers or complex sensors, utilizing techniques like Structure from Motion for 3D representation.

Benefits of technology

Enables reliable and cost-effective localization of trailers in various conditions, allowing for accurate determination of the trailer's pose and kink angle, facilitating easier coupling and trajectory planning without the need for complex retrofitting or expensive sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a method for locating a trailer (1b), having at least the following steps: - reading an individual image in which the surroundings (U) about the towing vehicle (1a) are imaged; - ascertaining a characteristic representation in which defined characteristics of the trailer (1b) to be located are represented using an image processing algorithm; - reading at least one model data set in which a defined trailer model is modeled; - modifying a model orientation and / or a model position and / or a model pose of the trailer model from the read model data set in order to fit the trailer model into the ascertained characteristic representation, wherein in the event that the trailer model fits into the ascertained characteristic representation, - the trailer orientation (AO) and / or the trailer position (AP) and / or the trailer pose (APO) of the respective trailer (1b) to be located is ascertained from the model orientation and / or model position and / or model pose of the trailer model which is then set.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Method for locating a trailer, processing unit and vehicle

[0002] The invention relates to a method for locating a trailer, a processing unit for carrying out the method and a vehicle with the processing unit.

[0003] The precise localization of a trailer in the environment around a towing vehicle is crucial, for example in order to be able to plan an exact trajectory during an approach or coupling process or to estimate a bend angle between the already coupled trailer and the towing vehicle, e.g. for stability functions. To localize the trailer, it is necessary to determine a trailer position and / or a trailer orientation, i.e. a trailer pose, of the respective trailer in three-dimensional space. This is conventionally carried out using appropriate sensors and / or image processing. For example, it is planned to spatially localize a trailer using LIDAR sensors or 3D stereo cameras and / or to estimate a trailer position and / or trailer orientation using additional flat maker structures (QR codes or Aruco markers) on the trailer.It is also known how, with the help of a monocular camera, the structure of the scene can be determined in 3D using photogrammetric methods based on the forward or backward movement of a vehicle on which the camera is mounted (so-called Structure from Motion (SfM)).

[0004] DE 10 2016 01 1 324 A1, DE 10 2018 1 14 730 A1, WO 2018 / 210990 A1 or DE 10 2017 119 968 A1, for example, describe deriving a trailer position and a trailer orientation of the respective object or of the trailer relative to the camera or the towing vehicle using image processing. Depending on this, a bend angle or a distance, for example, can be determined. The trailer pose can also be determined with a mono camera by locating at least three markers, which are preferably applied flatly to the trailer, in a recorded individual image and, knowing the marker positions on the trailer, determining a transformation matrix from which the trailer pose can be derived.

[0005] Detection of a bend angle via a camera is also described in US 2014 200759 A, in which a flat marker on the trailer is observed from the towing vehicle over time, and the bend angle is estimated from this. JP 2002 012 172 A, US2014277942A1, US 2008 231 701 A, and US 2017106796 A also describe bend angle detection based on flat markers. In US 2006 293 800 A, coupling points can bear a marker to facilitate automatic detection. The marker can have a special color, texture, or wave-reflective properties. DE 10 2004 025 252 B4 further describes determining the articulation angle by sending radiation from a transmitter to a semicircular or hemispherical reflector and subsequently detecting the reflected radiation. DE 103 025 45 A1 also describes detecting a coupling using an object recognition algorithm.EP 3 180 769 B1 also describes using cameras to capture the rear of a trailer and identify trackable features, such as an edge or corner, from the image. These are then tracked over time to determine, in particular, the articulation angle between the towing vehicle and the trailer.

[0006] US 2018 039 266 A additionally describes the use of information from a two-dimensional barcode or QR code. DE 10 2016 209 418 A1 also describes the use of a QR code with a camera to identify the trailer and transmit trailer parameters to a reversing assistance system. Alternatively or additionally, an RFID reader on the trailer can read an RFID transponder attached to the towing vehicle, for example in the form of a label. This allows the position of the QR code or RFID transponder to be calculated. Orientation is not determined in this process. WO1 8060192A1 also proposes a solution using radio-based transponders. DE 10 2006 040 879 B4 also uses RFID elements on the trailer for triangulation when approaching.

[0007] WO 2008064892 A1 provides an observation element that has at least three auxiliary points or measurement points that can be detected by a camera. From geometric considerations, the coordinates or vectors of the centers of gravity of the auxiliary points are determined, and from these, the coordinates of the measurement points relative to the camera or image sensor are determined. From this, a bending angle can be determined.

[0008] The disadvantages of the described solutions are that these methods and systems are either very complex to implement, rely on costly sensors and additional markers or similar devices, or that the markers cannot be reliably detected under different environmental conditions. For example, flat markers cannot be reliably detected in the dark and / or under extreme or shallow blinking angles, making it impossible to reliably determine the trailer's pose or articulation angle relative to the towing vehicle. Furthermore, trailers without such markers cannot be located.

[0009] The object of the invention is to provide a method with which virtually any trailer can be located in an environment with minimal design effort and low cost. A further object is to provide a processing unit and a vehicle. This object is achieved by a method, a processing unit, and a vehicle according to the independent claims. The subclaims specify preferred developments.

[0010] According to the invention, a method for locating a trailer in the environment of a towing vehicle, in particular in a rear area, is provided, comprising at least the following steps:

[0011] - Reading in at least one individual image in which the environment around the towing vehicle is depicted two-dimensionally, ie a scene representation is read in a two-dimensional coordinate system;

[0012] - Determining a feature representation from the at least one read-in individual image using an image processing algorithm, wherein defined features of the trailer to be localized are reproduced in the feature representation, ie a representation is generated from the two-dimensional scene representation in which only specific features (spatial character, edges, intensity values, etc.) of the scene are represented, wherein this representation can be two-dimensional or three-dimensional;

[0013] - Reading in at least one model data set from a trailer database, whereby a defined trailer model is modeled in each model data set;

[0014] - Changing a model orientation and / or a model position and / or a model pose of the respective trailer model from the at least one read-in model data set in order to adjust or fit the respective trailer model into the determined feature representation, wherein in the event that the respective trailer model is substantially adjusted or fitted into the determined feature representation taking into account a tolerance,

[0015] - the trailer orientation of the trailer to be located from the then set model orientation and / or - the trailer position of the trailer to be located from the then set model position and / or

[0016] - the trailer pose of the trailer to be located is determined from the then set model pose.

[0017] The trailer model that is read in is essentially brought into line with the feature representation previously generated from the scene representation by means of a corresponding movement (translation, rotation, scaling if necessary) in two or three dimensions, i.e. both representations are superimposed within a tolerance or as closely as possible. Once this has happened, the existing or set position and orientation of the trailer model is adopted accordingly for the trailer depicted in the respective individual image. Therefore, all that is advantageously required is a monocular camera with which the two-dimensional images can be recorded, as well as a corresponding image processing algorithm and a database with correspondingly stored trailer models from which the trailer position and orientation or the trailer pose can be determined after fitting or scaling.Fitting can be directly derived from geometric considerations. Therefore, no additional markers on the respective trailer or complex sensors on the towing vehicle are required, allowing flexible use without the need for complex retrofitting.

[0018] According to the invention, a processing unit and a vehicle with such a processing unit are further provided.

[0019] According to one embodiment, a point cloud representation is determined as the feature representation, wherein the point cloud representation contains a point cloud composed of several object points, wherein the object points are at least also assigned to the trailer (and possibly also to other objects) in the environment. Thus, at least the trailer is represented in the point cloud representation as a defined feature, preferably by its three-dimensional trailer shape or its three-dimensional character, which subsequently enables a clear identification of the trailer or a comparison with the imported trailer model. Furthermore, a series of spatial details or features of the trailer can be represented in a point cloud.

[0020] Preferably, the point cloud of the point cloud representation is determined using an SfM algorithm, wherein depth information is determined from at least two scanned individual images using the SfM algorithm through triangulation to several object points on the trailer, and the point cloud is generated from the several object points depending on the respective determined depth information. In this way, a three-dimensional feature representation of the trailer can be obtained using only a monocular camera and the appropriate image processing (SfM, Structure from Motion).

[0021] In this embodiment, the preferred procedure is for a 3D model data set to be read in as the model data set, with the respective trailer model being described three-dimensionally by model points in the 3D model data set. Like the feature representation or the point cloud, the read-in trailer model is also available in three dimensions, so that the adjustment or fitting can take place in the same (three-dimensional) coordinate system and spatial details can be brought into substantial agreement accordingly. This can then be achieved in a simple manner, for example, by bringing the model points of the respective 3D model data set into overlap with the object points in the point cloud representation, preferably within a tolerance, in order to fit the respective trailer model into the determined point cloud representation.According to a further embodiment, an edge representation is determined as the feature representation, wherein the edge representation also represents at least trailer edges as defined features of the trailer to be located. This embodiment can be used alternatively or in addition to another embodiment of the feature representation, for example, as redundancy or for plausibility checks. Accordingly, the depicted trailer edges are considered features, which subsequently enables a clear identification of the trailer or a comparison with the read-in trailer model in a simple manner.

[0022] Preferably, it is provided that in particular the trailer edges of the edge representation are determined from at least one read-in individual image using an edge algorithm, e.g. a Canny, Sobel, Prewitt, etc. algorithm. Therefore, by simple image processing, even from just one (or more) recorded individual images) from a monocular camera, a corresponding edge representation in two dimensions (or three dimensions) can be generated, which can be used for the subsequent localization process. In this case, it is preferably provided that an edge model data set is read in as the model data set, wherein the respective trailer model in the edge model data set is described by model edges that are characteristic of the simulated trailer model. Edges are therefore compared with one another and essentially brought into agreement or overlap for fitting orFitting the trailer model into the edge representation. The edge model dataset, like the edge representation, can be two-dimensional or three-dimensional, although both should preferably have the same dimensionality to facilitate coordinate transformation (3D). 2D). According to a further embodiment, an intensity representation is determined as the feature representation, wherein in the intensity representation at least trailer intensity values ​​are also reproduced in a spatially resolved manner as defined features of the trailer to be localized. This embodiment can be used alternatively or in addition to another embodiment of the feature representation, for example as redundancy or for plausibility checks. Accordingly, at least the intensity values ​​assigned to one or more object points on the trailer are considered in the corresponding color space. The trailer intensity values ​​therefore relate, for example, to one or more specific color channels, i.e. in the RGB color space red (R), green (G), blue (B), or in the CMYK color space cyan (C), magenta (M), yellow (Y) and the black component (K). In the same way, a color value of the respective hue can also be recorded.

[0023] Preferably, an intensity model data set is read in as the model data set, wherein the respective trailer model is described in the intensity model data set by model intensity values ​​that are characteristic of the simulated trailer model, preferably as a two-dimensional replica. Therefore, in this embodiment, intensity values ​​are compared with one another and brought into agreement or overlap with one another in a spatially resolved manner for fitting or adjusting the trailer model into the intensity representation. Therefore, with the point cloud, the edges, and the intensity values, a series of defined features of the trailer to be localized, which can also be simulated as a model, can be used to easily carry out the subsequent adjusting or adjusting.Preferably, it is further provided that the replicated trailer model is displayed in a scaled manner in the respective model dataset, for example, by storing the dimensions of the respective replicated trailer model. When replicating the trailer in the respective model dataset, the scaling is relevant, for example, to make it easier to find the trailer to be located in the respective model dataset based on its size (too small or too large), and also to better estimate or consider the distance to the located trailer. The scaling of the trailer model can be taken into account accordingly when approaching.

[0024] Preferably, it is further provided that the changing of a model orientation and / or a model position and / or a model pose of the respective trailer model occurs by applying a geometric transformation to the respectively read-in model data set. The details stored in the respective model data set (three-dimensional model points, model edges, model intensity values) are thus "moved" while maintaining the shape of the trailer model by a geometric transformation in the corresponding coordinate system, i.e., shifted and / or rotated and / or scaled, whereby this "movement" can be described by the geometric transformation.As a result, the trailer orientation of the trailer to be localized and / or the trailer position of the trailer to be localized and / or the trailer pose of the trailer to be localized can subsequently be determined in a simple manner from the geometric transformation when applied, the respective trailer model is fitted into the determined feature representation. The respective existing orientation, position or pose therefore follows from the transformation under geometric considerations, in particular also a calibration of the respective camera. It is preferably further provided that the fitting of the respective trailer model into the determined feature representation takes place in several iteration steps, wherein the model orientation and / or the model position and / or the model pose of the respective trailer model is iteratively changed in the respective iteration steps.To accommodate the size of the trailer to be located, the search or fitting can take place at different resolution levels (keyword: image pyramid). Therefore, an iterative process is used to essentially match the trailer model in the respective model dataset with the respective feature representation as quickly and easily as possible.

[0025] Preferably, it is provided that the iterative fitting of the respective trailer model into the determined feature representation is aborted if an exit criterion is present, whereby the exit criterion is met if

[0026] - an iteration number of iteration steps is reached and / or

[0027] - an average distance between the trailer model of the respective model dataset and the respectively assigned features in the respective feature representation falls below a certain threshold. If the exit criterion is met, it is assumed that the trailer model is essentially fitted or adjusted into the respective feature representation. This allows for small deviations to be accepted in order to avoid excessively extending the iterative process and thus to complete the localization more quickly without excessively compromising the accuracy of the process. The accuracy can be adjusted by setting the iterative parameters accordingly.

[0028] Preferably, it is further provided that a chassis and / or a body and / or a coupling are modeled using the trailer model of the respectively read-in model data set. Therefore, it is not necessarily necessary to model the entire trailer in detail, but rather just striking or characteristic features with which a trailer can be clearly identified. This makes it possible to reduce the amount of data while still achieving precise localization, which can be used for subsequent processes. For this purpose, it can be provided, for example, that an articulation angle of the trailer relative to a towing vehicle and / or a trajectory for the towing vehicle to approach the trailer is determined from the determined trailer orientation and / or trailer position and / or trailer pose. This allows for flexible use based on a low-cost localization process.

[0029] The invention is explained in more detail below with reference to the figures. They show:

[0030] Fig. 1 a, 1 b schematic views of a vehicle;

[0031] Fig. 2 is a flow chart of the method according to the invention;

[0032] Fig. 3 a detailed view of a single image in two individual images

[0033] object depicted by the camera; and

[0034] Fig. 4 shows a detailed view of the individual images taken.

[0035] Figure 1a shows a schematic plan view of a vehicle 1 consisting of a towing vehicle 1a and a trailer 1b, wherein the trailer 1b is not coupled to the towing vehicle 1a in the situation shown. Using a method according to the invention for locating the trailer 1b, which is described below, the trailer 1b can be coupled to the towing vehicle 1a by the towing vehicle 1a moving along a defined trajectory J. Alternatively, the trailer 1b can also be coupled, as shown in Fig. 1b, and using the method according to the invention, for example, a bending angle KW between the trailer 1b and the towing vehicle 1a can be determined.

[0036] To carry out the method for locating the trailer 1b, a camera system 2 is provided on the towing vehicle 1a, which camera system has at least one camera 2a, in particular in a monocular design, with which an environment U, in particular behind the towing vehicle 1a, can be recorded. A field of view 4 of the at least one camera 2a is therefore directed in particular towards a rear space R behind the towing vehicle 1a. In order to be able to cover the entire area or at least a large area of ​​the environment U, in particular the rear space R, the camera(s) 2a can be designed, for example, as fisheye cameras, each of which can cover a field of view 4 with a viewing angle of equal to or greater than 170°.

[0037] Image signals SB output by the respective camera 2a are output, if necessary pre-processed, to a processing unit 5, for example in the towing vehicle 1a, which is designed to process individual images EBk of the respective camera 2a based on the image signals SB in order to carry out the method for locating a trailer 1b shown as an example in Fig. 2. After an initialization step ST0, in a first step ST1 one (k=1) or more (k=1, 2, ...) individual images EBk depicting the environment U around the towing vehicle 1a in two dimensions are first read in by the processing unit 5, wherein the respective trailer 1b to be located is depicted as object O on the individual images EBk. The individual images EBk therefore contain a 2D representation of the current scene (scene representation in two dimensions).Subsequently, in a second step ST2, a feature representation FD is generated from this at least one individual image EBk using a selected image processing algorithm A. A feature representation FD is understood to be a representation in which only specified or defined features F of the depicted scene are reproduced. The feature representation FD is therefore to be understood as a subset of the scene representation, with this subset being generated by the respective image processing algorithm A from the at least one individual image EBk. Different embodiments can be used as image processing algorithms A for determining or generating a feature representation FD:

[0038] In a first exemplary embodiment, the processing unit 5 processes a plurality of, i.e. at least two (k = 1, 2), read-in individual images EBk from the same camera 2a using an SfM algorithm AS (SfM: Structure-from-Motion). By means of the SfM algorithm AS, depth information Tin can be obtained from these at least two individual images EBk in a first SfM step STS1 about object points POn (see Fig. 3) recorded or depicted in the individual images EBk, which are assigned to a specific object O in the environment U. The extraction of depth information Tin using the SfM algorithm AS takes place in that an object point POn on the respective object O is recorded from at least two different viewpoints SP1, SP2 by the same camera 2a, as indicated in Fig. 3.

[0039] By triangulation T, the depth information Tin can then be obtained with regard to each object point POn recorded in pairs. For this purpose, image coordinates xB, yB are determined in a two-dimensional coordinate system K2D (see Fig. 4) for at least one first individual image pixel EB1 P1 in a first individual image EB1 and at least one first individual image pixel EB2P1 in a second individual image EB2 of the same camera 2a. Both individual images EB1, EB2 are recorded by the camera 2a at different viewpoints SP1, SP2, i.e. between the individual images EB1, EB2 the towing vehicle 1a or the camera 2a moves by a base length L. The two first individual image pixels EB1 P1, EB2P1 are selected in the respective individual images EB1, EB2 in a known manner such that they are assigned to the same object point POn on the respectively imaged object O.

[0040] In this way, for an object O with its object points POn, one or more pairs of individual image pixels EB1 Pi, EB2Pi can be determined for one (n=1) or more (n = 1, 2, ...) object points POn. In an approximation, the absolute, actual object coordinates xO, yO, zO (world coordinates) of the respective object point(s) POn of the three-dimensional object O can then be calculated or estimated from the image coordinates xB, yB of the individual image pixels EB1 Pi, EB2Pi determined for the respective object O or the object points POn by triangulation T. In order to be able to carry out the triangulation T, a correspondingly determined base length L between the viewpoints SP1, SP2 of the camera 2a is used, for example from movement data of the towing vehicle 1a or the camera 2a.

[0041] If motion data is not available, it is also possible to determine the motion data using visual odometry, i.e., "visually" from the individual images EBk, within the SfM algorithm AS. For this purpose, the movement of camera 2a is estimated based on temporally tracked feature points or object points POn from individual images EBk.

[0042] If the triangulation T has been carried out for a sufficient number of object points POn of an object O, a three-dimensional point cloud PW consisting of several object points POn in actual object coordinates xO, yO, zO (world coordinates) can be generated from this in a second SfM step STS2 in order to describe the respective object O in three-dimensional space. Since the method according to the invention is to detect and localize a trailer 1 b, the SfM algorithm AS also determines at least object points POn and displays these as a three-dimensional point cloud PW, which are assigned to a trailer 1 b as object O in the environment U.

[0043] Using the SfM algorithm AS, a point cloud representation FDPW is generated in three-dimensional space as a feature representation FD from the two-dimensional representation of the scene (scene representation in the individual images EBk). This point cloud representation FDPW contains at least those object points POn that lie on the imaged trailer 1b and the trailer to be localized, for example, on the side surfaces of the trailer 1b. In the point cloud representation FDPW, the point cloud PW thus represents, in particular, the three-dimensional character or the three-dimensional trailer shape AF of the imaged trailer 1b to be localized as a defined feature F.

[0044] In a third step ST3, which can also be carried out before the second step ST2, the processing unit 5 reads in one (p=1) or more (p = 1, 2, ...) model data sets Dp stored therein from a trailer database 6, wherein a specific trailer model AMp is simulated in each model data set Dp. The simulation of the respective trailer model AMp takes place using the features F considered in the respective exemplary embodiment. In the first exemplary embodiment, in which the point cloud representation FDPW generated using the SfM algorithm AS is used, a 3D model data set D3Dp, for example, is read in as the model data set Dp.

[0045] In each 3D model data set D3Dp, at least the three-dimensional character or the three-dimensional shape of the respective trailer model AMp is modeled. For this purpose, such a 3D model data set D3Dp contains, for example, several (q = 1, 2, ...) model points PMq, each with model coordinates xM, yM, zM in a three-dimensional Cartesian coordinate system K3D, whereby the model points PMq spatially describe or characterize the trailer model AMp, preferably scaled in order to be able to identify and localize the trailer more easily based on its size. In this case, only those spatial details can be modeled that are specific to the respective trailer model AMp, for example a chassis 21 and / or a body 22 and / or a coupling 23 of the respectively modeled trailer model AMp.

[0046] For example, the respective 3D model data set D3Dp can show whether the respective modeled trailer has a box-shaped body 22a with or without an additional refrigeration unit 22b or a silo-shaped body 22c or a flatbed-shaped body 22d, ie a refrigerated trailer or a normal box trailer or a tank trailer or a flatbed trailer, etc. is modeled using the 3D model data set D3Dp.

[0047] Additionally or alternatively, the respective 3D model data set D3Dp can indicate whether the simulated trailer model AMp has a container chassis 21a (without body) and / or how many vehicle axles 21b are arranged on the chassis 21. Furthermore, the respective 3D model data set D3Dp can include whether the respective simulated trailer model AMp has a drawbar coupling 23a (rigid or movable) or a kingpin 23b as the coupling 23.

[0048] Depending on the size of the trailer database 6, different 3D model data sets D3Dp are initially read in parallel, since it still needs to be determined which read in 3D model data set D3Dp corresponds to the trailer 1b represented by the point cloud representation FDPW. To this end, a fourth step ST4 checks whether one of the read in model data sets Dp or 3D model data sets D3Dp can be fitted into the generated point cloud PW from the point cloud representation FDPW. Thus, a model-based comparison is performed, attempting to fit a defined trailer model AMp into the generated point cloud PW.

[0049] For this purpose, the trailer model AMp, reproduced in the respective 3D model dataset D3Dp, is scaled and / or "moved" through translation and / or rotation in several iteration steps STI using a geometric transformation TG such that the trailer model AMp essentially matches the point cloud PW, which represents the three-dimensional trailer shape AF. To account for different distances or sizes of the trailer 1b to be located, the search or fitting can take place at different resolution levels (keyword: image pyramid).

[0050] In an iterative process, a model position MP and a model orientation MO (cf. model pose MPO) of the respective trailer model AMp are successively changed. This can be achieved, for example, by aligning the model points PMq in the respective 3D model dataset D3Dp with the object points POn in the point cloud representation FDPW. This means that the model coordinates xM, yM, zM of the model points PMq are iteratively aligned with the object coordinates xO, yO, zO of the object points POn by means of a translation and / or a rotation, whereby the simulated shape of the trailer model AMp is retained and, if necessary, scaled.

[0051] For the iterative process for fitting the trailer model AMp into the point cloud PW, an exit criterion EK can be defined; if this criterion is met, the iterative process is aborted. The exit criterion EK can be present, for example, when a certain number of iterations IA of iteration steps STI have been carried out, i.e. the trailer model AMp has been moved into IA different model poses MOP. In addition or alternatively, it can be provided to determine an average distance DM between the model points PMq describing the trailer model AMp and the object points POn forming the point cloud PW, which are assigned to the trailer 1b to be localized, from the respective coordinates. If this average distance DM falls below a limit distance DG, the exit criterion EK is met and the iterative process is aborted.

[0052] Once the iterative process has been completed and / or aborted, the model position MP or the model orientation MO or the model pose MPO of the trailer model AMp can be determined in a fifth step ST5 from the geometric transformation TG, which shifts and / or rotates and / or scales the trailer model AMp on the point cloud PW. From geometric considerations and with appropriate calibration of the camera 2a, i.e. with knowledge of the exact position of the camera 2a in space, the trailer position AP or the trailer orientation AO or the trailer pose APO of the trailer 1b relative to the towing vehicle 1a can be directly determined. The trailer 1b can therefore be localized using this.

[0053] The trailer pose APO can then be further used in a sixth step ST6 for various applications, for example, for automated approach and / or coupling of the trailer 1b along a defined trajectory J or for determining a bending angle KW between the trailer 1b and the towing vehicle 1a when a coupling connection already exists. To determine the bending angle KW, the SfM algorithm AS requires a relative movement between the towing vehicle 1a and the trailer 1b in order to obtain different viewpoints SP1, SP2 of the camera 2a.

[0054] According to a second embodiment, an edge representation FDK can be generated as a feature representation FD from the scene representation or the read-in individual images EBk, wherein for this purpose, in the second step ST2, trailer edges AE are recognized in at least one of the read-in individual images EBk by an edge algorithm AK, e.g. a Canny, Sobel, Prewitt, etc. algorithm. The edge representation FDK then therefore also contains at least trailer edges AE as defined features F, which are assigned to the depicted trailer 1b or which lie on the respective depicted trailer 1b and characterize it. The edge representation FDK is preferably present in a two-dimensional coordinate system K2D, insofar as only one read-in individual image EBk from the camera 2a is used. With a corresponding design of the camera 2a and / or the image processing, a three-dimensional edge representation FDK can in principle also be present.

[0055] In this exemplary embodiment, an edge model data set DKp is read in in the third step ST3 as model data set Dp in which a specific trailer model AMp is reproduced, in which edge model data set DKp, in particular the model edges ME characteristic of the respective trailer model AMp are represented as features. The model edges ME of the trailer model AMp can be present either in a two-dimensional coordinate system K2D or in a three-dimensional coordinate system K3D. In this exemplary embodiment, too, the edge model data set DKp can only contain those details that are specific to the respective trailer model AMp, for example the model edges ME in the area of ​​the chassis 21 and / or the body 22 and / or the coupling 23 of the respectively reproduced trailer model AMp.Subsequently, for this exemplary embodiment, in the fourth step ST4, it is checked whether one of the read-in edge model data sets DKp can be fitted into the detected trailer edges AE from the edge representation FDK. Thus, a model-based comparison is performed, in which an attempt is made to fit a defined trailer model AMp into the generated edge representation FDK.

[0056] For this purpose, the trailer model AMp, which is modeled in the respective edge model dataset DKp, is scaled and / or "moved" by translation and / or rotation in several iteration steps STI using a geometric transformation TG in such a way that the model edges ME of the trailer model AMp essentially coincide with the trailer edges AE from the edge representation FDK or are brought into overlap. To account for different distances or sizes of the trailer 1b to be localized, the search or fitting can take place at different resolution levels (keyword image pyramid). In an iterative process, a model position MP and a model orientation MO (cf. model pose MPO) of the respective trailer model AMp are successively changed.

[0057] This occurs either in two dimensions or in three dimensions, depending on the coordinate system in which the edge model dataset DKp and the edge representation FDK are present. If both are present in different dimensions, a coordinate transformation is additionally provided, preferably into a common two-dimensional coordinate system K2D. In this exemplary embodiment, an exit criterion EK can also be defined for the iterative process, for example, exceeding a specified number of iterations IA and / or falling below a specified limit distance DG between the mean distance DM between the model edges ME and the trailer edges AE.Once the iterative process has been completed and / or aborted, the model position MP or the model orientation MO or the model pose MPO of the trailer model AMp can be determined in a fifth step ST5 from the geometric transformation TG, which shifts and / or rotates and / or scales the model edges ME from the edge model data set DKp to the trailer edges AE from the trailer model AMp. From geometric considerations and with appropriate calibration of the camera 2a, i.e. with knowledge of the exact position of the camera 2a in space, the trailer position AP or the trailer orientation AO or the trailer pose APO of the trailer 1b relative to the towing vehicle 1a follows directly. The trailer 1b can therefore also be localized in this way, which can be further used for the corresponding application in the sixth step ST6.

[0058] According to a third embodiment, an intensity representation FDI can be generated as a feature representation FD from the scene representation or the read-in individual images EBk, wherein for this purpose, in the second step ST2, trailer intensity values ​​AW are recorded in a spatially resolved manner in at least one of the read-in individual images EBk by an intensity algorithm AI, i.e. the intensity values ​​in the corresponding color space assigned to one or more object points POn on the trailer 1 b. The trailer intensity values ​​AW therefore relate, for example, to one or more specific color channels, i.e. in the RGB color space red (R), green (G), blue (B), or in the CMYK color space cyan (C), magenta (M), yellow (Y) and the black component (K). In the same way, a color value of the respective hue can also be recorded.

[0059] The intensity representation FDI then contains at least spatially resolved trailer intensity values ​​AW as defined features F, which are assigned to the depicted trailer 1b or which characterize the respective depicted trailer 1b. The intensity representation FDI is preferably present in a two-dimensional coordinate system K2D, insofar as only a single image EBk read from the camera 2a is used. With a corresponding design of the camera 2a and / or the image processing, a three-dimensional intensity representation FDI can also be present.

[0060] In this third exemplary embodiment, an intensity model data set Dip is read in as a model data set Dp, in which a specific trailer model AMp is simulated, in the third step ST3. In this data set, in particular, the model intensity values ​​MW characteristic of the respective trailer model AMp are represented as spatially resolved features. The model intensity values ​​MW of the trailer model AMp can be present either in a two-dimensional coordinate system K2D or in a three-dimensional coordinate system K3D. In this way, a trailer model AMp can be differentiated or specified based on its color design.

[0061] For this exemplary embodiment, the fourth step ST4 subsequently checks whether one of the read-in intensity model data sets Dip or the model intensity values ​​MW contained therein can be matched with the detected trailer intensity values ​​AW from the intensity representation FDI. Thus, a model-based comparison is performed, attempting to fit a defined trailer model AMp into the generated intensity representation FDI.

[0062] For this purpose, the trailer model AMp, which is simulated in the respective intensity model dataset Dip, is scaled and / or "moved" by translation and / or rotation in several iteration steps STI using a geometric transformation TG in such a way that the spatially resolved model intensity values ​​MW of the trailer model AMp essentially match or overlap with the trailer intensity values ​​AW, which are also determined spatially resolved, from the intensity representation FDI. In order to account for different distances or sizes of the trailer 1 b to be localized, the search or fitting can take place at different resolution levels (keyword image pyramid). In an iterative process, a model position MP and a model orientation MO (cf. model pose MPO) of the respective color-coded trailer model AMp are successively changed.

[0063] This occurs either in two dimensions or in three dimensions, depending on the coordinate system in which the intensity model data set Dip and the intensity representation FDI are available. If both are available in different dimensions, an additional coordinate transformation is provided, preferably into a common two-dimensional coordinate system K2D. In this exemplary embodiment, an exit criterion EK can also be defined for the iterative process, for example, exceeding a specified number of iterations IA and / or falling below a specified limit distance DG (in terms of value) between the model intensity values ​​MW and the trailer intensity values ​​AW.

[0064] Once the iterative process has been completed and / or aborted, the model position MP or the model orientation MO or the model pose MPO of the trailer model AMp can be determined in a fifth step ST5 from the geometric transformation TG, which shifts and / or rotates and / or scales the spatially resolved model intensity values ​​MW from the intensity model data set Dip to the spatially resolved trailer intensity values ​​AW from the trailer model AMp. From geometric considerations and with appropriate calibration of the camera 2a, i.e. with knowledge of the exact position of the camera 2a in space, the trailer position AP or the trailer orientation AO or the trailer pose APO of the trailer 1b relative to the towing vehicle 1a follows directly. The trailer 1b can therefore also be localized in this way, which can be used further for the corresponding application in the sixth step ST6.

[0065] All of the aforementioned embodiments can be used alternatively or in addition to one another, for example, to establish redundancies or to perform plausibility checks. In this way, a trailer 1b can be localized from the same scene representation (individual images EBk) using different image processing algorithms A.

[0066] List of reference symbols (part of the description)

[0067] 1 vehicle

[0068] 1a towing vehicle

[0069] 1 b trailer

[0070] 2 camera system

[0071] 2a Camera

[0072] 4 Field of view of camera 2a

[0073] 5 Processing unit

[0074] 6 Trailer database

[0075] 21 chassis

[0076] 21 a container chassis

[0077] 21 b Vehicle axles

[0078] 22 Structure

[0079] 22a box-shaped structure

[0080] 22b Cooling unit

[0081] 22c silo-shaped structure

[0082] 22d flatbed body

[0083] 23 Clutch

[0084] 23a Drawbar coupling

[0085] 23b Kingpin

[0086] A image processing algorithm

[0087] AE trailer edges

[0088] AF pendant shape

[0089] AI intensity algorithm

[0090] AO trailer orientation

[0091] AP trailer position

[0092] APO Pendant Pose

[0093] AK Edge Algorithm

[0094] AMp p. Trailer Model AS SfM Algorithm

[0095] AW trailer intensity value

[0096] Dp model dataset of the p. trailer model

[0097] D3Dp 3D model dataset of the p. trailer model

[0098] DG boundary distance

[0099] Dip intensity model dataset of the p. trailer model

[0100] DKp edge model dataset of the p. trailer model

[0101] DM mean distance

[0102] EBk k. Single image

[0103] EBkPi i. single-image pixel in k. single image EBk

[0104] EC exit criterion

[0105] F Feature

[0106] FD feature representation

[0107] FDI intensity representation

[0108] FDK edge representation

[0109] FD PW point cloud representation

[0110] IA Iteration count

[0111] J Trajectory

[0112] K2D two-dimensional coordinate system

[0113] K3D three-dimensional coordinate system

[0114] KW articulation angle

[0115] L base length

[0116] ME model edges

[0117] MO Model Orientation

[0118] MP model position

[0119] MPO model pose

[0120] MW model intensity value

[0121] O Object

[0122] POn n. object point

[0123] PMq q. Model point PW point cloud R backcourt

[0124] SB image signal

[0125] SP1 first position of camera 2a

[0126] SP2 second position of camera 2a

[0127] T Triangulation

[0128] Tin depth information for the nth object point PPn

[0129] TG geometric transformation

[0130] U Environment xB, yB Image coordinates xO, yO, zO Object coordinates xM, yM, zM Model coordinates i, k, n, p, q Index

[0131] STO, ST1 , ST2, ST3, ST4, ST5, ST6 Steps of the trailer locating procedure 1 b

[0132] STI iteration steps for fitting the respective model

[0133] Data set DP into the respective feature representation FD

[0134] STS1 , STS2 SfM steps for determining the point cloud representation PW using the SfM algorithm AS

Claims

- 28 - Patent claims 1. Method for locating a trailer (1 b) in a vicinity (U) of a towing vehicle (1 a), comprising at least the following steps: - Reading in at least one single image (EBk) in which the environment (U) around the towing vehicle (1 a) is depicted two-dimensionally (ST1 ); - Determining a feature representation (FD) from the at least one read-in single image (EBk) using an image processing algorithm (A), wherein the feature representation (FD) contains defined features (F) of the pendant (1 b) to be located (ST2); - Reading at least one model data set (Dp) from a trailer database (6), wherein in each model data set (Dp) a defined trailer model (AMp) is modeled (ST3); - Changing a model orientation (MO) and / or a model position (MP) and / or a model pose (MPO) of the respective trailer model (AMp) from the at least one imported model data set (Dp) to fit the respective trailer model (AMp) into the determined feature representation (FD) (ST4), wherein, in the event that the respective trailer model (AMp) is fitted into the determined feature representation (FD), - the trailer orientation (AO) of the trailer to be located (1 b) from the then set model orientation (MO) and / or - the trailer position (AP) of the trailer to be located (1 b) from the then set model position (MP) and / or - the trailer pose (APO) of the trailer to be located (1 b) is determined from the model pose (MPO) that is then set (ST5).

2. Method according to claim 1, characterized in that a point cloud representation (FDPW) is determined as the feature representation (FD), wherein the point cloud representation (FDPW) is a point cloud (PW) contains several object points (POn) in the environment (U), wherein at least some of the object points (POn) are assigned to the pendant (1b) in the environment (U). Method according to claim 2, characterized in that in the point cloud representation (FDPW) at least the three-dimensional pendant shape (AF) of the pendant (1b) to be located is represented as a defined feature (F). Method according to claim 2 or 3, characterized in that the point cloud (PW) of the point cloud representation (FDPW) is determined using an SfM algorithm (AS), wherein depth information (Tin) is determined from at least two imported individual images (EBk) via the SfM algorithm (AS) by triangulation (T) to several object points (POn) in the environment (U), and the point cloud (PW) is generated from the several object points (POn) depending on the respective depth information (Tin) determined.A method according to any one of claims 2 to 4, characterized in that a 3D model data set (D3Dp) is read in as the model data set (Dp), wherein the respective trailer model (AMp) is described three-dimensionally in the 3D model data set (D3Dp) by model points (PMq). A method according to any one of claims 2 to 5, characterized in that the model points (PMq) of the respective 3D model data set (D3Dp) are superimposed on the object points (POn) in the point cloud representation (FDPW) in order to fit the respective trailer model (AMp) into the determined point cloud representation (FDPW). A method according to any one of the preceding claims, characterized in that an edge representation (FDK) is determined as the feature representation (FD), wherein at least pendant edges (AE) are represented in the edge representation (FDK) as defined features (F) of the pendant (1b) to be located. A method according to claim 7, characterized in that the pendant edges (AE) of the edge representation (FDK) are determined from at least one read-in single image (EBk) using an edge algorithm (AK). A method according to claim 7 or 8, characterized in that an edge model data set (DKp) is read in as the model data set (Dp), wherein the respective pendant model (AMp) is described in the edge model data set (DKp) by model edges (ME) that are characteristic of the replicated pendant model (AMp).A method according to any one of claims 7 to 9, characterized in that the pendant edges (AE) in the determined edge representation (FDK) and / or the model edges (ME) in the read-in edge model dataset (DKp) are described two-dimensionally or three-dimensionally. A method according to any one of the preceding claims, characterized in that an intensity representation (FDI) is determined as the feature representation (FD) using an intensity algorithm (AI), wherein at least pendant intensity values ​​(AW) are also spatially resolved in the intensity representation (FDI) as defined features (F) of the pendant (1b) to be located. A method according to claim 11, characterized in that an intensity model data set (Dip) is read in as the model data set (Dp), wherein the respective pendant model (AMp) is spatially described in the intensity model data set (Dip) by model intensity values ​​(MW) that are characteristic of the replicated pendant model (AMp), preferably two-dimensionally. A method according to any of the preceding claims, characterized in that the replicated pendant model (AMp) is represented in a scaled form in the respective model data set (Dp). A method according to any of the preceding claims, characterized in that the changing of a model orientation (MO) and / or a model position (MP) and / or a model pose (MPO) of the respective pendant model (AMp) is carried out by applying a geometric transformation (TG) to the respective read-in model data set (Dp).A method according to claim 14, characterized in that the trailer orientation (AO) of the trailer (1b) to be located and / or the trailer position (AP) of the trailer (1b) to be located and / or the trailer pose (APO) of the trailer (1b) to be located is determined from the geometric transformation (TG) in the application of which the respective trailer model (AMp) is fitted into the determined feature representation (FD). A method according to any of the preceding claims, characterized in that the fitting of the respective trailer model (AMp) into the determined feature representation (FD) takes place in several iteration steps (STI), wherein the model orientation (MO) and / or the model position (MP) and / or the model pose (MPO) of the respective. - 32 - The follower model (AMp) is iteratively modified in the respective iteration steps (STI). The method according to claim 16 is characterized in that the iterative fitting of the respective follower model (AMp) into the determined feature representation (FD) is terminated upon the presence of an exit criterion (EK), wherein the exit criterion (EK) is fulfilled if - a certain number of iterations (IA) of iteration steps (STI) has been reached and / or - a mean distance (DM) between the trailer model (AMp) of the respective model data set (Dp) and the respective assigned features (F) in the respective feature representation (MD) falls below a limit distance (DG). Method according to one of the preceding claims, characterized in that a chassis (21) and / or a body (22) and / or a coupling (23) are modeled by the trailer model (AMp) of the respective read-in model data set (Dp). Method according to one of the preceding claims, characterized in that an articulation angle (KW) of the trailer (1b) relative to a towing vehicle (1b) and / or a trajectory (J) for the approach of the towing vehicle (1b) to the trailer (1b) is determined from the determined trailer orientation (AO) and / or trailer position (AP) and / or trailer pose (APO) of the trailer (1b) (ST6).Processing unit (5) for a vehicle (1), in particular for carrying out a method according to one of the preceding claims, wherein the processing unit is designed. - at least one single image (EBk) in which the surroundings (U) around a train- - 33 - vehicle (1 a) is depicted two-dimensionally, to be read in, preferably by a monocular camera (2a); - to determine a feature representation (FD) from the at least one read-in single image (EBk) using an image processing algorithm (A), wherein the feature representation (FD) contains defined features (F) of a pendant (1 b) to be located; - to read at least one model data set (Dp) from a trailer database (6), wherein a defined trailer model (AMp) is modeled in each model data set (Dp); - to modify a model orientation (MO) and / or a model position (MP) and / or a model pose (MPO) of the respective trailer model (AMp) from the at least one read-in model data record (Dp) in order to fit the respective trailer model (AMp) into the determined feature representation (FD), wherein the processing unit (5) is configured in the event that the respective trailer model (AMp) is fitted into the determined feature representation (FD), - the trailer orientation (AO) of the trailer to be located (1 b) from the then set model orientation (MO) and / or - the trailer position (AP) of the trailer to be located (1 b) from the then set model position (MP) and / or - to determine the trailer pose (APO) of the trailer (1b) to be located from the model pose (MPO) then set. Vehicle (1) with a processing unit (5) according to claim 20.