This application claims priority to French Application No. 2313190, filed Nov. 28, 2023, the contents of such application being incorporated by reference herein.
The present disclosure relates to the field of detecting the angular position of a trailer.
More specifically, the present disclosure relates to a method for determining a yaw angle of a longitudinal axis of a trailer relative to a longitudinal axis of a towing vehicle.
Solutions exist for assisting drivers in driving vehicles, by providing them, for example, with additional information concerning the configuration of the vehicle and its position relative to its environment. These technologies are also required in the context of fully autonomous vehicles. This is the case for private vehicles, but also for transport vehicles, typically comprising a towing vehicle and a trailer.
For assistance in driving such vehicles, and notably for reversing maneuvers aimed at parking the vehicle, it is important that the angular position of the trailer relative to the towing vehicle is precisely known, and notably the yaw angle that is subject to the greatest range.
Solutions already exist for determining the yaw angle of a trailer relative to a vehicle, some of which are based on the use of mechanical sensors, mounted on the hitching point, for example.
Such mechanical sensors are heavy, and their installation on a vehicle is difficult and requires a calibration phase.
Other known solutions are based on analyzing an image acquired by a camera located at the rear of the vehicle.
However, the field of view of a camera is limited, and a camera mounted on the rear of the vehicle is close to the trailer and therefore is unable to detect large yaw angles of the trailer relative to the towing vehicle. Indeed, when the yaw angle becomes significant, the trailer exits the field of view of the camera, and the yaw angle cannot be detected.
Therefore, a requirement exists for a method for precisely determining a yaw angle of a longitudinal axis of a trailer relative to a longitudinal axis of a towing vehicle over a wide range of values of the yaw angle.
To this end, a method is disclosed for determining a yaw angle of a longitudinal axis of a trailer relative to a longitudinal axis of a towing vehicle to which the trailer is hitched at a hitching point, the method comprising:
The method allows the yaw angle of the longitudinal axis of a trailer relative to the longitudinal axis of a towing vehicle to be precisely determined over a wide range of values of the yaw angle.
The method is innovative in that it uses a camera mounted on the lateral side of the vehicle. Thus, the reference will always be in the field of view of the camera and will always be visible to the camera, irrespective of the value of the yaw angle.
Furthermore, the method is innovative in determining the yaw angle as a function of the horizontal field of view of the camera, the width of the matrix of pixels, the coordinates of the hitching point, the visible length, and the dimensions of at least one portion of the trailer.
In one embodiment, determining the yaw angle comprises:
In one embodiment, the coordinate system is centered on the camera and the straight line equation is defined as:
y=tan(βnorm)*x
In one embodiment, the radius of the circle is defined as:
In one embodiment, the observation angle is defined as:
In one embodiment, the normalization angle Ccamera is defined as:
In one embodiment, determining the yaw angle comprises:
In one embodiment, the reference comprises at least one portion of a rear vertical edge of the trailer.
In one embodiment, the width of the matrix of pixels and the visible length are determined as a number of pixels on the matrix of the camera.
Another aspect of the present invention relates to a computer program product comprising instructions which, when these instructions are executed by a processor, cause the processor to implement the operations of the method described above.
Another aspect of the invention relates to a system for determining a yaw angle of a longitudinal axis of a trailer relative to a longitudinal axis of a towing vehicle to which the trailer is hitched at a hitching point, the determining system comprising:
In one embodiment, the towing vehicle comprises at least one rear-view mirror, wherein said at least one camera is configured to be mounted on the at least one rear-view mirror.
In one embodiment, said at least one camera is configured to have a digital rear-view mirror function.
In one embodiment, the determining system comprises two cameras mounted on opposite lateral sides of the towing vehicle, with each of the cameras being configured to acquire an image of at least one lateral portion of the trailer; and wherein the computer is configured to implement the method described above for each of the cameras.
Further features, details and advantages will become apparent upon reading the following detailed description, and with reference to the appended drawings, in which:
The aim of an aspect of the present invention is a method and a system for determining a yaw angle of a longitudinal axis of a trailer relative to a longitudinal axis of a towing vehicle to which the trailer is hitched.
The relative orientation of the trailer T relative to the towing vehicle V can be characterized by the yaw angle α that is defined as the angle between the longitudinal axis LT of the trailer T and the longitudinal axis Lv of the towing vehicle V in the horizontal plane.
The towing vehicle V, which can be, for example, in the form of a car or a lorry, comprises an external rear-view mirror M on each lateral side of the towing vehicle V, allowing a driver of the towing vehicle V to observe a portion of the environment behind them. Notably, the rear-view mirrors M allow a portion of the trailer T to be observed and in particular the orientation of the trailer T relative to the towing vehicle V.
The rear-view mirrors M are installed in the vicinity of the front part of the driver and passenger doors of the vehicle V.
Each rear-view mirror M can be in the form of a camera C or in the form of a mirror on which a camera C is mounted.
Each camera C is oriented toward the trailer T and is adapted to acquire an image I or a series of images I of at least one lateral portion of the trailer T A schematic representation of such an image I is shown in
Each camera C comprises a matrix of pixels, which is typically rectangular and comprises a horizontal axis {right arrow over (x)} and a vertical axis {right arrow over (z)}. Consequently, the image I taken by the camera is also rectangular and is defined by the same axes, i.e., the horizontal axis {right arrow over (x)} and the vertical axis {right arrow over (z)}.
In the example shown in
The trailer T comprises a reference R on each lateral side, with each of the references R being visible to the respective camera C on the same lateral side of the trailer T For example, the reference R can be a rear vertical edge of the trailer T. The respective reference R can be identified on the image I taken by one of the cameras C and used in determining the yaw angle α.
The determining system S further comprises a computer P that is described in further detail with reference to
For the sake of simplicity and in order to best illustrate the method 100 described hereafter, a single camera C and a single reference R on the same side of the trailer T are considered.
When the method 100 is implemented, the camera C acquires 101 an image I of at least one portion of the trailer T, as shown in
The reference R is detected 102 on the image I. Next, the distance, also called visible length Rx, between the reference R and the vertical edge B closest to the towing vehicle V is determined 103 on the image I.
The visible length Rx can be determined along the horizontal axis {right arrow over (x)} in terms of the number of pixels on which the trailer T and the towing vehicle V are visible.
The angles and distances determined and used in the remainder of method 100 are best understood with reference to
The coordinates of the various points determined and/or used in the method 100 all relate to a coordinate system centered on the camera C. In this coordinate system, a first axis {right arrow over (x)}′ is oriented along the longitudinal axis Lv of the towing vehicle V, and a second axis {right arrow over (y)} is oriented along the width of the towing vehicle V, i.e., in the horizontal plane and perpendicular to the first axis {right arrow over (x)}′.
The vertical axis {right arrow over (z)} is defined relative to the first and second axes {right arrow over (x)}′ and {right arrow over (y)} so as to form an orthogonal reference.
Next, an observation angle βnorm, defined as the angle between a straight line connecting the camera C to the reference R and the longitudinal axis Lv of the towing vehicle V, is determined 104:
In this case, β is the auxiliary observation angle defined as the angle between the straight line connecting the camera C to the reference R and a straight line defining the horizontal field of view of the camera C on the side of the towing vehicle V. The horizontal field of view is the horizontal portion of the solid angle through which the camera C is sensitive to its environment. The horizontal field of view can be defined by two straight lines that respectively delimit zones that are visible to the camera C from zones that are not visible to the camera C.
Ccamera is a normalization angle that takes into account the orientation of the camera C relative to the towing vehicle V.
The auxiliary observation angle β is defined as:
The normalization angle Ccamera is defined as:
The straight line equation of the straight line that includes the camera C and the reference R is defined as:
The equation describing the circle is:
The coordinates of the reference R can be determined 105 by determining the intersection of said circle ((x−a)2+(y−b)2=r2) with said straight line (y=tan(βnorm)*x). The coordinate y in the equation of the circle is replaced by the equation of the straight line to this end:
A second-order equation is obtained with the coefficients A2, A1, A0.
A0 is a function of the radius r of the circle, which can be determined as a function of the dimensions of the trailer T:
TL is the distance along the longitudinal axis LT of the trailer T between the hitching point O and the reference R, and Tl is the width of the trailer T. In the case whereby the reference R is the rear vertical edge of the trailer T, TL corresponds to the length of the trailer T, i.e., TL is the distance along the longitudinal axis LT of the trailer T between the hitching point O and the reference R. The distance TL and the width Tl are known parameters of the trailer T.
There are two solutions for x that correspond to the two intersections between the circle and the straight line:
One of the two solutions corresponds to the coordinate xR of the reference R. The other solution can be dismissed. The corresponding coordinate yR of the reference R can be obtained by introducing the coordinate xR into the straight line equation:
y
R=tan(βnorm)*xR
In order to determine the yaw angle α, a first auxiliary angle Φ and a second auxiliary angle θ are determined.
The first auxiliary angle Φ refers to the angle between the longitudinal axis Lv of the towing vehicle V and the straight line connecting the hitching point O and the reference R, and is defined as:
The second auxiliary angle θ refers to the angle between the longitudinal axis LT of the trailer T and the straight line connecting the hitching point O to the reference R, and is defined as:
Thus, the yaw angle α can be determined 106:
In order to be able to detect the yaw angle α on both sides of the towing vehicle V, a camera C on each lateral side of the towing vehicle V can be used. Thus, a reference R on the trailer T will always be visible to one of the two cameras C.
The method 100 can be implemented repeatedly in order to repeatedly provide updated values of the yaw angle α.
The computer P comprises at least one input interface 201 for receiving messages or instructions, and at least one output interface 202 for communicating with external devices 205.
The computer P further comprises a memory 203 for storing instructions for implementing at least some of the method 100, the received data, and temporary data for carrying out the various operations 101, 102, 103, 104, 105, 106 of the method 100 as described above.
The computer P further comprises a processing circuit 204. This circuit can be, for example:
Depending on the embodiment, the computer P can be a computer, a network of computers, an electronic component, or another appliance comprising a processor operationally connected to a memory, as well as, depending on the selected embodiment, a data storage unit, and other associated hardware elements, such as a network interface and a media reader for reading a detachable storage medium and writing to such a medium, not shown in
Depending on the embodiment, the memory 203, the data storage unit or the detachable storage medium contain instructions which, when executed by the processing circuit 204, cause this circuit to control the at least one input interface 201, the at least one output interface 202, or to store data in the memory 203 and/or to process data and/or to implement at least some of the method 100 according to
The processing circuit 204 can be a component for controlling the computer P.
Furthermore, the computer P can be implemented in software form, in which case it is in the form of a program that can be executed by a processor, or in hardware form, such as an application-specific integrated circuit (ASIC), a system-on-a-chip (SOC), or in the form of a combination of hardware and software elements, for example, a software program intended to be loaded and executed on an electronic component described above, such as an FPGA.
The computer P can also use hybrid architectures, for example, architectures based on a CPU+FPGA, a GPU (Graphics Processing Unit) or an MPPA (Multi-Purpose Processor Array).
The present disclosure is not limited to the examples of devices, systems, methods, uses and computer program products that are described above solely by way of an example, but it encompasses all the variants that a person skilled in the art could contemplate within the desired scope of protection.
Number | Date | Country | Kind |
---|---|---|---|
FR2313190 | Nov 2023 | FR | national |