Embodiments relate to a trailer coupling assistance system including a video camera for guiding a vehicle to a coupling position with a trailer.
One embodiment provides a method of determining a position of a trailer hitch ball on a vehicle. The method includes generating an image that includes the trailer hitch ball with a video camera. An electronic processor receives the image and analyzes the image to determine a distance between the trailer hitch ball and the video camera. The electronic processor analyzes the image to determine a height of the trailer hitch ball based on the distance between the trailer hitch ball and the video camera.
Another embodiment provides a system for determining a position of a trailer hitch ball on a vehicle. The system includes a video camera positioned on a rear of the vehicle and an electronic processor. The electronic processor is configured to receive an image that includes the trailer hitch ball from the video camera. The electronic processor analyzes the image to determine a distance between the trailer hitch ball and the video camera and analyzes the image to determine a height of the trailer hitch ball based on the distance between the trailer hitch ball and the video camera.
Yet another embodiment provides a method of determining a position of a trailer hitch ball on a vehicle. The method includes generating an image that includes the trailer hitch ball with a video camera. An electronic processor receives the image and determines the distance between the trailer hitch ball and the video camera. In determining the distance, the electronic processor identifies an object in the image that is representative of the trailer hitch ball, identifies a location of the object within the image, and identifies an angle associated with the location of the object. The angle is defined as between an optical axis of the video camera and a line of sight to the trailer hitch ball. The method also includes positioning the video camera at a rear of the vehicle with a lateral offset from a centerline of the vehicle. The electronic processor determines a distance value of the lateral offset and determines the distance between the trailer hitch ball and the video camera based on a trigonometric relation between the angle and the distance value of the lateral offset.
Yet another embodiment provides a method of determining a position of a trailer hitch ball on a vehicle. The method includes generating an image that includes the trailer hitch ball with a video camera. An electronic processor that includes an electronic processor and a memory receives the image and determines the distance between the trailer hitch ball and the video camera. In determining the distance, the electronic processor identifies an object in the image that is representative of the trailer hitch ball, identifies a location of the object within the image, and identifies an angle associated with the location of the object. The angle is defined as between an optical axis of the video camera and a line of sight to the trailer hitch ball. The method includes entering a size value of a hitch ball of the trailer hitch ball into the electronic processor. The size of the object in the image is determined by the electronic processor. The electronic processor compares the size of the object in the image to the size value and determines the distance between the trailer hitch ball and the video camera based on a relationship between the distance and the size of the object in the image.
Other aspects, features, and embodiments will become apparent by consideration of the detailed description and accompanying drawings.
Before any embodiments are explained in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the following drawings. The invention is capable of other embodiments and of being practiced or of being carried out in various ways
A plurality of hardware and software based devices, as well as a plurality of different structural components may be used to implement various embodiments. In addition, embodiments may include hardware, software, and electronic components or modules that, for purposes of discussion, may be illustrated and described as if the majority of the components were implemented solely in hardware. However, one of ordinary skill in the art, and based on a reading of this detailed description, would recognize that, in at least one embodiment, the electronic based aspects of the invention may be implemented in software (for example, stored on non-transitory computer-readable medium) executable by one or more processors. For example, “control units” and “controllers” described in the specification can include one or more processors, one or more memory modules including non-transitory computer-readable medium, one or more input/output interfaces, one or more application specific integrated circuits (ASICs), and various connections (for example, a system bus) connecting the various components.
A vehicle 18 equipped with a trailer hitch system 10 is illustrated in
The ECU 20 includes a plurality of electrical and electronic components that provide power, operation control, and protection to the components and modules within the ECU 20. The ECU 20 includes, among other things, an electronic processor 28 (such as a programmable electronic microprocessor, microcontroller, or similar device), a memory 30 (for example, non-transitory, machine readable memory), and an input/output interface (not illustrated). In other embodiments, the ECU 20 includes additional, fewer, or different components. The ECU 20 may be implemented in several independent controllers or modules each configured to perform specific functions or portions of the methods described below.
The ECU 20 is configured to implement, among other things, processes and methods described herein. For example, the electronic processor 28 is communicatively coupled to the memory 30 and executes instructions stored on the memory 30. The electronic processor 28 is configured to retrieve from memory 30 and execute instructions related to operation of the trailer hitch system 10. In some embodiments, the input/output interface includes drivers, relays, switches, and the like, which in conjunction with other vehicle systems, automatically operate the vehicle 18 or assist a driver with operating the vehicle 18 based on instructions from the electronic processor 28. In some embodiments, the input/output interface communicates with other vehicle controllers or systems by means of a protocol such as J1939 or CAN bus. In some embodiments, the input/output interface communicates via a wired or wireless connection and suitable protocols depending on the needs of the specific application.
In the embodiment illustrated in
In the method 60, the video camera 22 is positioned with a lateral offset from the centerline 50 of the vehicle 18 as shown in
Once the object is identified as the trailer hitch 24 or hitch ball 40, the ECU 20 determines one or more angles associated with the object (block 66). For example, the ECU 20 may determine an angle from the centerline of the video camera 22 to the center of the object (for example, to a pixel located at a geometric center of the object). In some embodiments, the ECU 20 determines another distance based on the angle and based on the distance value 52 of the lateral offset that is preprogrammed in the ECU 20 (block 68). The distance may be along the centerline 50 and may describe a shortest distance between the hitch ball 40 and a line vertically aligned with the video camera 22. This distance may be calculated based on a trigonometric relationship between the angle and distance 52. For example, in some embodiments, the ECU 20 determines the distance from the video camera 22 to the hitch ball 40 based on a cosine or a sine function. Since the video camera 22 has a location calibrated to real-world coordinates, the ECU 20 may then determine the position of the hitch ball 40 in real-world coordinates based on the distance determined in block 66 and the angle determined in block 64. The ECU 20 may also determine the height of the hitch ball 40 and/or the trailer hitch 24 from the ground in real-world coordinates (block 70).
In a second embodiment illustrated in
Once the position and height of the trailer hitch 24 and/or the hitch ball 40 are determined, the ECU 20 uses these parameters in performance of various maneuvers of the vehicle 18. For example, the ECU 20 may also determine real-world coordinates of the trailer coupler 46. The real-world coordinates of the trailer coupler 46 may be compared to the determined position of the hitch ball 40. The electronic processor 28 may utilize the determined position and height of the hitch ball 40 to determine parameters of the trailer 42, such as a height and position of the trailer coupler 46. The ECU 20 may determine a clearance between the hitch ball 40 and the trailer coupler 46 and determine whether the trailer coupler 46 is positioned higher than the hitch ball 40. If the clearance is below a threshold, the ECU 20 may consider the clearance insufficient to avoid a potential collision. The ECU 20 may provide an adjustment warning via the vehicle display 32 and/or the loudspeaker 34. In some embodiments, the warning is an audio warning, a visual warning, or both. In one embodiment, the warning is an audio message or verbal command. In another embodiment, the warning is indicia provided on the vehicle display 32. If the ECU 20 determines that there is sufficient clearance for the trailer hitch 24 and the hitch ball 40 to move under the trailer coupler 46, the ECU 20 may assist in moving the vehicle 18 to a trailer coupling position.
For example, the ECU 20 uses the determined distance of the trailer hitch 24 or the hitch ball 40 from the trailer coupler 46 and determines a steering angle and path to advance the trailer hitch 24 to the trailer coupling position. The electronic processor 28 provides audio and/or visual signals to the vehicle display 32 and the loudspeaker 34 in the vehicle 18 by tracking the trailer coupler 46 across multiple frames of the video images. The signals inform a vehicle operator how much and in what direction to modify the vehicle steering wheel position to obtain a proper location for advancing to the trailer coupling position. The signals may include visual and/or audio commands indicating proper direction and amount that a steering wheel must be turned. In one embodiment indicia provided on the vehicle display 32 provides direction and amount of steering wheel turning that is required. The ECU 20 analyzes the distance data, etc. to determine whether the vehicle is in the trailer coupling position. If not, the electronic processor 28 provides updated signals to a driver for controlling the steering wheel position and, optionally, the vehicle speed.
After a number of iterations, a program executed by the electronic processor 28 determines that the trailer hitch 24 is in the trailer coupling position with respect to the trailer coupler 46. A vehicle stopping indication is provided. In the trailer coupling position, the hitch ball 40 of the trailer hitch 24 is essentially directly below the trailer coupler 46. Thereafter, an operator may operate a crank to lower a trailer support stand to seat the trailer coupler 46 upon the hitch ball 40. Then a tongue member is moved and secured so that the trailer coupler 46 is locked in a closed and secured position.
In other embodiments, the ECU 20 may automatically analyze and determine a travel path to the trailer coupling position from the trailer hitch 24 and trailer coupler 46 identification, distance, and height parameters. The auto assist unit 36 receives steering control signals and vehicle speed signals from the electronic processor 28 of the ECU 20 and controls the vehicle 18 independently from and without input by the vehicle operator. Thus, autonomous steering, throttle, and braking control may operate the vehicle 18 without action by the driver. The ECU 20 determines whether the trailer hitch 24 is in the trailer coupling position. If not, the ECU 20 repeats the analysis and control of the steering direction and vehicle speed until the trailer coupling position is reached. In some embodiments, after the ECU 20 determines the height of the trailer hitch 24 or the hitch ball 40, the ECU 20 determines whether the trailer hitch 24 has sufficient clearance with the trailer coupler 46. For example, the ECU 20 may determine a height difference between the hitch ball 40 and the trailer coupler 46 and if the height difference is below a threshold, the ECU 20 may terminate autonomous control of the vehicle 18 or issue a warning when there is a lack of sufficient clearance.
In some embodiments, the position of the trailer hitch 24 and the hitch ball 40 is used to determine maneuverability of the vehicle 18 and trailer 42 when coupled. For example, the pivot point of the trailer 42 corresponds to the location of the hitch ball 40 and may be used as an input to various vehicle control systems that require the angle between the vehicle 18 and the trailer 42 (i.e., the vehicle-trailer angle). A known pivot point may be used by computer vision algorithms in measuring the vehicle-trailer angle. Sway mitigation systems use changes in the vehicle-trailer angle to detect and reduce trailer sway that can be induced by wind or road conditions. Trailer backup assist systems use the vehicle-trailer angle to determine the vehicle steering angle required to maneuver the trailer 18 in a specified direction.
The flowcharts in
Various features, advantages, and embodiments are set forth in the following claims.