Vehicle-trailer distance detection device and method
By combining data processing hardware and an inertial measurement unit with camera technology, the distance between the towing vehicle and the trailer coupling is identified and calculated, solving the problem of inaccurate distance detection in the existing technology and improving the accuracy and safety of the trailer coupling. .
Patent Information
- Application Number
- CN201980037321.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-25
- Filing Date
- 2019-03-28
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2039-03-28
AI Technical Summary
It is difficult to accurately detect and determine the longitudinal, transverse, and vertical distances between the towing vehicle and the trailer with the existing technology, which affects the accuracy and safety of the trailer hitch.
Using data processing hardware combined with inertial measurement unit and camera technology, through image processing and iterative expansion of the Kalman filter, the trailer coupling is identified and the distance between the camera and the coupling is calculated, including longitudinal, lateral, and vertical distances, and based on these data Send autonomous driving instructions to the driving assistance system.
It achieves accurate measurement and display of the distance between the towing vehicle and the trailer, improves the accuracy and safety of trailer coupling, and reduces operating complexity and production costs.
Smart Images

Figure CN112424001B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an apparatus and method for detecting the distance between a camera positioned on the back of a towing vehicle and a trailer coupler of a trailer positioned behind the towing vehicle, namely, the longitudinal distance, the lateral distance, and the vertical distance. Background Art
[0002] A trailer is typically an unpowered vehicle pulled by a powered towing vehicle. The trailer may be a utility trailer, a pop-up camper, a travel trailer, a livestock trailer, a flatbed trailer, an enclosed car hauler, and a boat trailer, among others. The towing vehicle may be a car, a crossover, a truck, a van, a sport utility vehicle (SUV), a recreational vehicle (RV), or any other vehicle configured to attach to and pull the trailer. The trailer may be attached to the powered vehicle using a trailer hitch. The receiver hitch is mounted on the towing vehicle and connected to the trailer hitch to form a connection. The trailer hitch may be a ball socket, a semi-trailer wheel and gooseneck, or a trailer jack. Other attachment mechanisms may also be used. In addition to the mechanical connection between the trailer and the powered vehicle, in some examples, the trailer is also electrically connected to the towing vehicle. As such, the electrical connection allows the trailer to be powered from the rear light circuit of the powered vehicle, thereby allowing the trailer to have taillights, turn signals, and brake lights that are synchronized with the lights of the powered vehicle.
[0003] Recent advances in sensor technology have led to improvements in vehicle safety systems. As such, it is desirable to provide a system that can determine the distance between a vehicle and a trailer for use in assisting the driver in hooking the trailer to a towing vehicle. Summary of the invention
[0004] One aspect of the present disclosure provides a method for determining the distance between a camera positioned on the rear of a towing vehicle and a trailer coupler positioned behind the towing vehicle and supported by the trailer when the towing vehicle approaches the trailer. The method includes: identifying, by data processing hardware, a trailer coupler of the trailer within one or more images of the rear environment of the towing vehicle. The method also includes receiving sensor data from an inertial measurement unit at the data processing hardware, the inertial measurement unit communicating with the data processing hardware and supported by the towing vehicle. The method also includes determining, by the data processing hardware, a pixel-by-pixel intensity difference between a currently received image from one or more images and a previously received image from one or more images. In addition, the method includes determining, by the data processing hardware, a distance based on the identified trailer coupler, the sensor data, and the pixel-by-pixel intensity difference, the distance including a longitudinal distance, a lateral distance, and a vertical distance between the camera and the trailer coupler.
[0005] Implementations of the present disclosure may include one or more of the following optional features. In some implementations, the method includes sending instructions from data processing hardware to a display in communication with the data processing hardware to display a distance.
[0006] The method may further include: sending, from the data processing hardware, an instruction to a driver assistance system in communication with the data processing hardware to autonomously steer the towing vehicle toward the trailer based on the distance. Additionally or alternatively, the method may include: determining, at the data processing hardware, a height of the trailer coupler from the ground based on a vertical distance between the camera and the trailer coupler.
[0007] In some examples, one or more images are captured by a monocular camera. Additionally or alternatively, the sensor data from the inertial measurement unit can include acceleration and angular velocity of the towing vehicle.
[0008] In some embodiments, determining the distance further includes: determining one or more current filter states based on the sensor data and the identified trailer coupler; and determining one or more updated filter states based on the current filter states and the pixel-by-pixel intensity difference. The method may further include determining the distance based on the updated filter states. In some examples, the method also includes determining the position of the camera in the world coordinate system based on the updated filter states.
[0009] Another aspect of the present disclosure provides a method for determining a distance between a towing vehicle and a trailer positioned behind the towing vehicle when the towing vehicle approaches the trailer. The method includes receiving one or more images from a camera positioned on the back of the towing vehicle at data processing hardware. The camera communicates with the data processing hardware. The method includes identifying, by the data processing hardware, a trailer coupler of the trailer within the one or more images. The method also includes associating, by the data processing hardware, one or more coupler feature points with the trailer coupler identified within the one or more images. The method also includes identifying, by the data processing hardware, one or more visual features within the one or more images. In addition, the method includes associating, by the data processing hardware, one or more visual feature points with the one or more visual features identified within the one or more images. The method also includes tracking, by the data processing hardware, one or more coupler feature points and one or more visual feature points. In addition, the method includes receiving, at the data processing hardware, sensor data from an inertial measurement unit that communicates with the data processing hardware and is supported by the towing vehicle. The method also includes determining, by the data processing hardware, a distance based on the one or more coupler feature points, the one or more visual feature points, and the sensor data, the distance including a longitudinal distance, a lateral distance, and a vertical distance between the camera and the trailer coupler.
[0010] Implementations of this aspect of the disclosure may include one or more of the following optional features. In some implementations, the method includes sending instructions from data processing hardware to a display in communication with the data processing hardware to display the distance.
[0011] The method may further include: sending, from the data processing hardware, an instruction to a driver assistance system in communication with the data processing hardware to autonomously steer the towing vehicle toward the trailer based on the distance. Additionally or alternatively, the method may include: determining, at the data processing hardware, a height of the trailer coupler from the ground based on a vertical distance between the camera and the trailer coupler.
[0012] In some examples, the camera includes a monocular camera. Additionally or alternatively, the inertial measurement unit can include acceleration and angular velocity of the towing vehicle.
[0013] In some embodiments, determining the distance further includes executing an iterative extended Kalman filter. Executing the iterative extended Kalman filter may include determining one or more current filter states based on the sensor data, one or more visual feature points, and one or more coupler feature points. In addition, executing the iterative extended Kalman filter includes: determining a pixel-by-pixel intensity difference between a current image and a previously received image from one or more images; and determining one or more updated filter states based on the current filter state and the pixel-by-pixel intensity difference. The method may further include determining the distance between the camera and the trailer coupler based on the updated filter state. In some examples, the method further includes determining the positioning of the camera in a world coordinate system based on the updated filter state.
[0014] The details of one or more embodiments of the disclosure are set forth in the accompanying drawings and the description below. Other aspects, features, and advantages should be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1A is a schematic top view of an exemplary towing vehicle and a trailer positioned behind the towing vehicle;
[0016] Figure 1B yes Figure 1A A schematic side view of an exemplary towing vehicle and trailer shown in;
[0017] Figure 2 is a schematic diagram of an exemplary tractor vehicle having a controller, a user interface, a sensor system, and a steering system;
[0018] Figure 3A and 3B yes Figure 2 A schematic diagram of an exemplary distance estimator shown in ;
[0019] Figure 4 is used to determine if Figures 1A-3B A schematic diagram of an exemplary operational arrangement showing the distance between the towing vehicle and the trailer;
[0020] Figure 5 is used to determine if Figures 1A-3B A schematic diagram of an exemplary operational arrangement showing the distance between the towing vehicle and the trailer;
[0021] Like reference numbers in the various drawings indicate like elements. DETAILED DESCRIPTION
[0022] A towing vehicle, such as, but not limited to, a car, a crossover, a truck, a van, a sport utility vehicle (SUV), and a recreational vehicle (RV), may be configured to tow a trailer. The towing vehicle is connected to the trailer by way of a trailer hitch. It is desirable to have a towing vehicle that is capable of determining a distance relative to a trailer positioned behind the towing vehicle, including a longitudinal distance, a lateral distance, and a vertical distance. More specifically, it is desirable for the towing vehicle to determine a longitudinal distance, a lateral distance, and a vertical distance between a rear camera of the vehicle and a trailer coupler. As such, a towing vehicle having a distance estimation feature provides information to a driver and / or vehicle that assists in steering the towing vehicle (driver or autonomous) toward the trailer.
[0023] refer to Figure 1A-2In some embodiments, the driver of the towing vehicle 100 desires to tow a trailer 200 positioned behind the towing vehicle 100. The towing vehicle 100 may be configured to receive an indication of a driver selection associated with a selected trailer 200 (e.g., via a user interface device such as a display). In some examples, the driver steers the towing vehicle 100 toward the selected trailer 200, while in other examples, the towing vehicle 100 autonomously drives toward the selected trailer 200. The towing vehicle 100 may include a steering system 110 that steers the towing vehicle 100 across the road surface 10, for example, based on steering commands having x, y, and z components. As shown, the steering system 110 includes a right front wheel 112, 112a, a left front wheel 112, 112b, a right rear wheel 112, 112c, and a left rear wheel 112, 112d. The steering system 110 may also include other wheel configurations. The steering system 110 may also include a braking system 120 including brakes associated with each wheel 112, 112a-d and an acceleration system 130 configured to adjust the speed and direction of the towing vehicle 100. Additionally, the steering system 110 may include a suspension system 132 including tires associated with each wheel 112, 112a-d, tire air, springs, shock absorbers, and linkages that connect the towing vehicle 100 to its wheels 112, 112a-d and allow relative movement between the towing vehicle 100 and the wheels 112, 112a-d. The suspension system 132 can be configured to adjust the height of the towing vehicle 100, thereby allowing the towing vehicle hitch 160 (e.g., the towing vehicle hitch ball 162) to be aligned with the trailer hitch 210 (e.g., the trailer hitch coupler 212), and allowing the towing vehicle hitch ball 162 to be positioned below the trailer coupler 212, which allows connection between the towing vehicle 100 and the trailer 200.
[0024] The tractor vehicle 100 can be moved relative to three mutually perpendicular axes (lateral axis X V , front and rear axis Y V and the central vertical axis Z V ) to move across the road surface. V Extends between the right and left sides of the towing vehicle 100. Along the front-rear axis Y V The forward driving direction is designated as F V , also known as forward motion. In addition, along the front-to-back direction Y V The rear or rearward driving direction is designated as R V , also known as rearward movement. When the suspension system 132 adjusts the suspension of the towing vehicle 100, the towing vehicle 100 can move about the lateral axis X V and / or front and rear axis Y VTilt, or move along the central vertical axis Z.
[0025] The towing vehicle 100 may include a user interface 140, such as a display. The user interface 140 receives one or more user commands from the driver and / or displays one or more notifications to the driver via one or more input mechanisms or a touch screen display 142. The user interface 140 communicates with the vehicle controller 300, which in turn communicates with the sensor system 400. In some examples, the user interface 140 displays an image of the environment of the towing vehicle 100 (e.g., the rear environment of the towing vehicle 100), resulting in the user interface 140 receiving (from the driver) one or more commands that initiate the execution of one or more actions. In some examples, the user display 142 displays one or more trailer representations (not shown), wherein each trailer representation is associated with a trailer 200 positioned behind the towing vehicle 100. In this case, the driver selects the trailer representation associated with the trailer 200, and based on the driver selection, the controller 300 determines the distance between the trailer 200 associated with the trailer representation and the towing vehicle 100. In other examples, the controller 300 detects one or more trailers 200 and simultaneously determines the distance to the one or more trailers 200. The controller 300 may instruct the display 142 to display one or more trailer representations and the distance to the representation selected by the driver, or the distance to each of the one or more trailers 200. The vehicle controller 300 includes a computing device (or processor) 302 (e.g., a central processing unit having one or more computing processors) in communication with a non-transitory memory 304 (e.g., a hard disk, flash memory, random access memory) capable of storing instructions executable on the computing processor(s) 302.
[0026] The towing vehicle 100 may include a sensor system 400 to provide reliable and robust driving. The sensor system 400 may include different types of sensors that may be used alone or in conjunction with one another to create awareness of the environment of the towing vehicle 100. The sensor system 400 helps the driver make intelligent decisions based on objects and obstacles detected by the sensor system 400, or helps the driving system 110 to autonomously maneuver the towing vehicle 100.
[0027] The sensor system 400 may include one or more cameras 410, 410a-d supported by the towing vehicle 100 to capture an image 412 of the environment of the towing vehicle 100. In some embodiments, the towing vehicle 100 includes a rear camera 410, 410a mounted on the rear of the towing vehicle 100 to provide a view of the rear driving path for the towing vehicle 100. In addition, the rear camera 410 is positioned so that it captures a view of the towing vehicle hitch ball 162. In some examples, the rear camera is a monocular camera 410a that produces a two-dimensional image. Other types of cameras may also be used.
[0028] The sensor system 400 also includes an IMU (Inertial Measurement Unit) 420, which is configured to measure the linear acceleration of the towing vehicle 100 (using one or more accelerometers) and the rotation rate of the towing vehicle 100 (using one or more gyroscopes). In some examples, the IMU 420 also determines a heading reference for the towing vehicle 100. Thus, the IMU 420 determines the pitch, roll, and yaw of the towing vehicle 100. The sensor system 400 may include other sensors such as, but not limited to, radar, sonar, LIDAR (Light Detection and Ranging, which may require optical remote sensing to measure the properties of scattered light to find the range and / or other information of distant targets), LADAR (Laser Detection and Ranging), etc.
[0029] refer to Figure 2 , the vehicle controller 300 executes the distance estimator 310, which receives the image 412 from the rear camera 410a and the IMU sensor data 422 from the IMU 420, and determines the distance between the camera 410 and the trailer coupler 212 associated with the trailer 200 identified by the driver via the user interface 140, including the longitudinal distance D Lg , lateral distance D Lt and vertical distance H CC The distance estimator 310 may be based on the vertical distance H CC To determine the coupling height H CP .
[0030] In some embodiments, the controller 300 determines the longitudinal distance D Lg , lateral distance D Lt and vertical distance H CC and / or coupling height H CP The longitudinal distance D is sent to the user interface 140, such as the display 142, for display to the driver. Lg , lateral distance D Lt and vertical distance H CC and / or coupling height H CpThe longitudinal distance D is taken into account by the driver when the tractor vehicle 100 is backing up toward the trailer 200, or by the driver assistance system 330 when the tractor vehicle 100 is autonomously maneuvering toward the trailer 200. In some examples, the controller 300 includes the driver assistance system 330, which receives the longitudinal distance D Lg , lateral distance D Lt and vertical distance H CC and / or coupling height H Cp , and determines the path between the tractor vehicle 100 and the trailer 200 based on the received information, thereby guiding the tractor vehicle 100 to align with the trailer 200 for coupling. In addition, the driving assistance system 330 sends one or more commands 332 to the driving system 110, thereby causing the driving system 110 to autonomously maneuver the tractor vehicle 100 toward the trailer 200 in the rear direction R v In some examples, the driver assistance system 330 instructs the driver system 110 to position the towing vehicle 100 so that the front and rear axles Y of the towing vehicle 100 are aligned with each other. V The front and rear axles Y of the trailer 200 T coincide.
[0031] In some embodiments, the distance estimator 310 receives the camera image 412 and the IMU sensor data 422 and executes the iterative extended Kalman filter 312, which fuses the camera image data 413 associated with the camera image 412 with the IMU sensor data 422. Based on the fused data is an updated filter state 314u (i.e., the camera image data 413 and the IMU sensor data 422), the distance estimator 310 determines the longitudinal distance D Lg , lateral distance D Lt and the connector height H 10 from the road surface Cp , connector height H Cp is based on the vertical distance H between the camera 410 and the trailer coupling 212 CC The iterative extended Kalman filter 312 uses a dynamic model, such as, for example, known control inputs to the distance estimator 310 from the camera 410a and the IMU 420, and a plurality of sequential measurements (from the camera 410a and the IMU 420) to determine an estimate of the amount of change in the distance between the towing vehicle 100 and the trailer 200. In some examples, as the towing vehicle 100 moves toward the trailer 200, the iterative extended Kalman filter 312 continuously determines the longitudinal distance D Lg , lateral distance D Lt and vertical distance H CC (or connector height H Cp). Since the image 412 and the IMU sensor data 422 are updated as the towing vehicle 100 approaches the selected trailer 200, the longitudinal distance D of the selected trailer 200 relative to the towing vehicle 100 Lg , lateral distance D Lt and vertical distance H CC (or connector height H Cp ) will also change as the towing vehicle 100 moves closer to the selected trailer 200.
[0032] refer to Figure 3A and 3B In some embodiments, the IMU 420 determines the acceleration and angular velocity associated with the towing vehicle 100 and sends the acceleration and angular velocity data 422 (i.e., IMU sensor data) to the iterative extended Kalman filter 312 of the controller 300. In addition, the rear camera 410a captures an image 412, which is analyzed to obtain camera image data 413, 413a, 413b. Figure 3A In some examples shown in , the controller 300 includes an imaging module 414 for analyzing the captured image 412. In other examples, such as Figure 3B As shown in FIG. 4 , camera 410 a includes imaging module 414. Figure 3A and 3B , the imaging module 414 analyzes the image 412 captured by the camera 410a and outputs camera image data 413 associated with the received image 412. The imaging module 414 may include a visual feature detection and tracking module 416 and a coupler feature detection and tracking module 418. The visual feature detection and tracking module 416 detects and tracks visual features of the vehicle environment within each captured image 412 and determines visual feature points 413a. The visual feature points 413a may be, for example, trees, houses, pillars, or any other objects. When the towing vehicle 100 moves toward the trailer 200, the coupler feature detection and tracking module 418 detects the trailer coupler 212 and tracks the trailer coupler 212. The visual / coupler feature detection and tracking modules 416, 418 associate one or more feature points 413a, 413b with visual features or couplers and track the one or more feature points 413a, 413b. Because the coupler feature detection and tracking module 418 detects and tracks the trailer coupler 212 and the pixel locations associated with the trailer coupler 212, the trailer coupler 212 does not require a marker located on the coupler 212 as a reference for the controller 300 to detect and identify the trailer coupler 212. This reduces the operational complexity and production cost of the vehicle / trailer system.
[0033] The extended Kalman filter is a nonlinear version of the Kalman filter that is linearized about the current mean and covariance estimates. The Kalman filter is an algorithm that uses a series of measurements observed over time and includes statistical noise and other inaccuracies and outputs an estimate of the unknown variable that is more accurate than based on a single measurement because the Kalman filter 312 estimates the joint probability distribution of the variables within each time frame. The Kalman filter performs its calculations in a two-step process. During the first step, also called the prediction step, the Kalman filter determines the current state 314c (state 313, 313a c -313j c ), and the uncertainty associated with each current state variable 313a-j. When the results of the current measurement are observed, in the second step (also called the update step), these current states 314c (states 313, 313a c -313j c ), while giving more weight to states with higher certainty (current state 314c (state 313, 313a c -313j c ) or the current measurement). The algorithm is recursive and runs in real time, using the current input measurement and the current filter state 314c (state 313, 313a c -313j c ) to determine the updated filter state 314u (state 313, 313a u –313j u ), so no additional past information is required. The iterative extended Kalman filter 312 improves the linearization of the extended Kalman filter by reducing the linearization error at the expense of increased computational requirements.
[0034] The iterative extended Kalman filter 312 receives IMU sensor data 422 and camera image data 413, 413a, 413b (i.e., visual feature points 413a and coupling feature points 413b) from the IMU 420. In some embodiments, the iterative extended Kalman filter 312 determines continuously updated filter states 314, 314c, 314u based on the received IMU sensor data 422 and camera image data 413, 413a, 413b. The filter states 314, 314c, 314u may include calibration values such as the distance 313f between the IMU 420 and the rear camera 410a, since the positions of both within the towing vehicle 100 are known. In some examples, the filter states 314, 314c, 314u include an IMU positioning state 313a, an IMU velocity state 313b, and an IMU altitude state 313c determined by the iterative extended Kalman filter 312 based on the acceleration and angular velocity data 422, the calibrated distance 313f between the IMU 420 and the rear camera 410a, and the positioning of the camera 410a in a coordinate system (e.g., a world coordinate system). The world coordinate system defines a world origin (a point whose coordinates are [0,0,0]) and defines three-dimensional axes that are orthogonal to each other. The coordinates of any point in the world space are defined relative to the world origin. Once the world coordinate system is defined, the positioning of the camera 410a can be defined by the positioning in the world space, and the orientation of the camera 410a can be defined by three-dimensional vectors that are orthogonal to each other. In some examples, the world origin is defined by the initial positioning of the camera, and the three-dimensional axes are defined by the initial orientation of the camera. The positioning of the camera 410a is determined or known by the camera pose module 318 as will be described below. As previously mentioned, the IMU 420 includes an accelerometer for determining linear acceleration and a gyroscope for determining rotation rate. Additionally, in some examples, the filter states 314, 314c, 314u include an accelerometer bias state 313d and a gyroscope bias state 313e. Inertial sensors such as accelerometers and gyroscopes often contain small offsets in the average signal output, even in the absence of movement. The accelerometer bias state 313d estimates the small offsets in the average signal output of the accelerometer sensor, and the gyroscope bias state 313e estimates the small offsets in the average signal output of the gyroscope sensor.
[0035] In some examples, the filter state 314, 314c, 314u includes the orientation of the camera to the coupling feature state 313g, i.e., the orientation of the camera 410a to one or more coupling feature points 413b identified by the camera module 414. The filter state 313 may also include the distance of the camera to the coupling feature state 313h, i.e., the distance of the camera 410a to one or more coupling feature points 413b identified by the camera module 414. In some examples, the filter state 314, 314c, 314u includes the orientation of the camera to the visual feature state 313i, i.e., the orientation of the camera 414 to one or more visual feature points 413b identified by the camera module 414. In some examples, the filter state 314, 314c, 314u may also include the distance of the camera to the visual feature state 313j, i.e., the distance of the camera 410a to one or more visual feature points 413a identified by the camera module 414.
[0036] The iterative extended Kalman filter 312 generates a first pixel-by-pixel intensity difference 316 between the visual feature point 413a of the current image 412 and the previously tracked image 412, and generates a second pixel-by-pixel intensity difference 316 between the connector feature point 413b of the current image 412 and the previously tracked image 412. The extended iterative Kalman filter 312 determines the pixel-by-pixel intensity difference 316 by running a routine on the pixel locations of the current image 412 and the previously tracked image 412, returning the result, and then moving to the next pixel location and repeating the same routine until all pixels of the current image 412 and the previously tracked image 412 have been processed and the first and second pixel-by-pixel intensity differences 316 have been determined.
[0037] In a first step, the iterative extended Kalman filter 312 predicts the current filter state 314c, 313a based on the received acceleration and angular velocity data 422 c –313j c In a second step, the iterative extended Kalman filter 312 updates the current state 313a based on the first and second pixel-by-pixel intensity differences 316 between the tracked feature points 413a, 413b of the current image 412 and the previously corresponding feature points 413a, 413b of the previously tracked image 412. c –313i c The value of , to update and correct the updated filter state 314u, 313a u –313i u Thus, each time the iterative extended Kalman filter 312 receives data from the IMU 420 and the camera 410a, the current state 313a of each of the mentioned states 314c is updated. c –313i c .
[0038] The distance estimator 310 also includes a camera pose module 318 that calculates the position and orientation of the camera 410a in the world coordinate system based on the updated filter state 314u. The joint position module 320 determines the longitudinal distance D of the joint relative to the position of the camera 410a based on the updated filter state 314u. Lg , lateral distance D Lt and vertical distance H CC In some examples, the coupler position module 320 can determine the coupler height H in the world coordinate system based on the updated filter state 314u and the determined camera pose output by the camera pose module 318. Cp Since the height H of the vehicle camera 410a Ca is known, so the distance estimator 310 can be based on the vertical distance H between the camera and the trailer coupling 212 CC To determine the trailer coupling height H Cp .
[0039] As previously discussed, the distance estimator 310 utilizes an iterative extended Kalman filter 312 to fuse the camera image data 413, 413a, 413b and the IMU sensor data 422 to estimate and determine the position of the trailer coupler 212 relative to the vehicle camera 410. The coupler feature detection and tracking module 418 detects and tracks the coupler hitch 212. The distance estimator 310 can then determine the longitudinal distance D of the coupler relative to the position of the camera 410a based on the received data 413a, 413b, 422. Lg , lateral distance D Lt and vertical distance H CC This provides high accuracy by using a tightly coupled fusion technique and increases robustness by utilizing the coupler feature detection and tracking module 418 to update the current filter state 314c in the iterative extended Kalman filter 312. As described above, the distance estimator 310 utilizes low computational resources and achieves real-time performance using low-cost hardware. In addition, by relying on the analysis of the image 412 by the coupler feature detection and tracking module 418 for filter state updates, the distance estimator 310 increases the robustness of the determination of the coupler position module 320.
[0040] Figure 4 Provided is a method for determining the distance (including the longitudinal distance D) between a camera 410a (e.g., a monocular camera 410a) positioned at the rear of the towing vehicle 100 and a trailer coupler 212 supported by the trailer 200 and positioned behind the towing vehicle 100 when the towing vehicle 100 approaches the trailer 200. Lg , lateral distance D Lt and vertical distance H CC) of the method 450. The method 450 uses Figures 1A-3B 100. At box 452, the method 450 includes identifying, by the data processing hardware 300, a trailer coupler 212 of the trailer 200 within the one or more images 412 of the rear environment of the towing vehicle 100. At box 454, the method 450 includes receiving, at the data processing hardware 300, sensor data 422 (e.g., acceleration and angular velocity of the towing vehicle 100) from an inertial measurement unit 420 that is in communication with the data processing hardware 300 and supported by the towing vehicle 100. At box 456, the method 450 includes determining, by the data processing hardware 300, a pixel-by-pixel intensity difference 316 between a currently received image 412 from the one or more images 412 and a previously received image from the one or more images 412. At box 458, the method 450 includes determining, by the data processing hardware 300, a distance D based on the identified trailer coupler 212, the sensor data 422, and the pixel-by-pixel intensity difference 316. Lg , D Lt , H CC .
[0041] In some embodiments, method 450 includes sending a signal from data processing hardware 300 to display 142 in communication with data processing hardware 300 to display distance D Lg , D Lt , H CC The method 450 may include sending an instruction from the data processing hardware 300 to the driving assistance system 330 in communication with the data processing hardware 300 to determine the driving direction based on the distance D. Lg , D Lt , H CC Instructions for the tractor vehicle 100 to autonomously drive toward the trailer 200. In some examples, the method 450 includes, at the data processing hardware 300, based on the vertical distance H between the camera 410a and the trailer coupling 212 CC To determine the height H of the trailer coupling 212 from the ground 10 CP .
[0042] In some embodiments, the distance D is determined Lg , D Lt , H CC The method 450 further includes: determining one or more current filter states 314, 314c based on the sensor data 422 and the identified trailer coupler 212; and determining one or more updated filter states 314 based on the current filter states 314, 314c and the pixel-by-pixel intensity difference 316. The method 450 may also include determining the distance D based on the updated filter states 314, 314u Lg , D Lt , HCC In some examples, the method includes determining a position of the camera in a world coordinate system based on the updated filter state 314, 314u.
[0043] Figure 5 Provided is a method for determining the distance (including the longitudinal distance D) between the tractor vehicle 100 and the trailer 200 positioned behind the tractor vehicle 100 when the tractor vehicle 100 approaches the trailer 200. Lg , lateral distance D Lt and vertical distance H CC ) of the method 500. The method 450 uses Figures 1A-3B At box 502, the method 500 includes receiving, at the data processing hardware 300, one or more images 412 from a camera 410a (e.g., a monocular camera 410a) positioned at the rear of the towing vehicle 100. The camera 410a is in communication with the data processing hardware 300. At box 504, the method 500 includes identifying, by the data processing hardware 300, a trailer coupler 212 of the trailer 200 within the one or more images 412. At box 506, the method 500 includes associating, by the data processing hardware 300, one or more coupler feature points 413, 413b with the trailer coupler 212 identified within the one or more images 412. At box 508, the method 500 includes identifying, by the data processing hardware 300, one or more visual features within the one or more images 412. Additionally, at box 510, the method 500 includes associating, by the data processing hardware 300, the one or more visual feature points 413, 413a with the one or more visual features 413, 413a identified within the one or more images 412. At box 512, the method 500 includes tracking, by the data processing hardware 300, the one or more coupler feature points 413, 413b and the one or more visual feature points 413, 413a. At box 514, the method 500 includes receiving, at the data processing hardware 300, sensor data 422 from an inertial measurement unit 420 that is in communication with the data processing hardware 300 and supported by the towing vehicle 100. The sensor data may include acceleration and angular velocity of the towing vehicle 100. Additionally, at box 516, the method 500 includes determining, by the data processing hardware 300, a distance D based on the one or more coupler feature points 413, 413b, the one or more visual feature points 413, 413a, and the sensor data 422. Lg , D Lt , H CC .
[0044] In some embodiments, the method 500 includes sending a signal from the data processing hardware 300 to a display 142 in communication with the data processing hardware 300 to display the distance D Lg , DLt , H CC The method 500 may also include sending an instruction from the data processing hardware 300 to the driving assistance system 330 in communication with the data processing hardware 300 to determine the driving direction based on the distance D. Lg , D Lt , H CC Instructions for the tractor vehicle 100 to autonomously drive toward the trailer 200. In some examples, the method 500 includes, at the data processing hardware 300, based on the vertical distance H between the camera 410a and the trailer coupling 212 CC To determine the height H of the trailer coupling 212 from the ground 10 CP .
[0045] In some embodiments, the distance D is determined Lg , D Lt , H CC Further includes executing the iterative extended Kalman filter 312. Executing the iterative extended Kalman filter 312 includes determining one or more current filter states 314, 314c based on the sensor data 422, one or more visual feature points 413, 413a, and one or more coupler feature points 413, 413b. In some examples, executing the iterative extended Kalman filter 312 also includes: determining a pixel-by-pixel intensity difference 316 between a current image 412 from one or more images 412 and a previously received image 412; and determining one or more updated filter states 314, 314u based on the current filter state 314, 314c and the pixel-by-pixel intensity difference 316. In some examples, determining a distance D between the camera 410a and the trailer coupler 212 based on the updated filter state 314, 314u Lg , D Lt , H CC The method 500 may also include determining a position of the camera in a world coordinate system based on the updated filter state 314, 314u.
[0046] Various implementations of the systems and techniques described herein can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in the form of one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor (which may be special purpose or general purpose) coupled to receive data and instructions from and transmit data and instructions to a storage system, at least one input device, and at least one output device.
[0047] These computer programs (also referred to as programs, software, software applications, applications or code) include machine instructions for a programmable processor and may be implemented in a high-level procedural language and / or an object-oriented programming language, and / or in assembly / machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus and / or device (e.g., a disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0048] The embodiments and functional operations of the subject matter described in this specification may be implemented in digital electronic circuits or in computer software, firmware or hardware (including the structures disclosed in this specification and their structural equivalents), or in a combination of one or more of them. In addition, the subject matter described in this specification may be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer-readable medium, for execution or control of its operation by a data processing device. The computer-readable medium may be a machine-readable storage device, a machine-readable storage substrate, a memory device, a combination of substances that affect machine-readable propagation signals, or a combination of one or more of them. The terms "data processing device", "computing device" and "computing processor" cover all devices, devices and machines for processing data, including, for example, a programmable processor, a computer, or multiple processors or computers. In addition to hardware, a device may also include code that creates an execution environment for the computer program in question, for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them. The propagated signal is an artificially generated signal, for example, a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device.
[0049] Similarly, although operations are depicted in a particular order in the accompanying drawings, this should not be understood as requiring that such operations be performed in the particular order shown or in a sequential order, or that all illustrated operations be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0050] Many implementations have been described. However, it should be understood that various modifications can be made without departing from the spirit and scope of the present disclosure. Therefore, other implementations are within the scope of the following claims.
Claims
1. A method for determining a distance between a camera positioned on a rear portion of a towing vehicle and a trailer coupler positioned behind the towing vehicle and supported by the trailer as the towing vehicle approaches a trailer, the method comprising: identifying, by data processing hardware, a trailer coupler of the trailer within one or more images of an environment behind the towing vehicle; receiving, at the data processing hardware, sensor data from an inertial measurement unit in communication with the data processing hardware and supported by the towing vehicle; determining, by the data processing hardware, a pixel-by-pixel intensity difference between a currently received image from the one or more images and a previously received image from the one or more images; as well as The distance is determined by the data processing hardware based on the identified trailer coupler, the sensor data, and the pixel-by-pixel intensity difference, the distance comprising a longitudinal distance, a lateral distance, and a vertical distance between the camera and the trailer coupler. 2 . The method of claim 1 , further comprising sending instructions from the data processing hardware to a display in communication with the data processing hardware to display the distance. 3 . The method of claim 1 , further comprising sending instructions from the data processing hardware to a driver assistance system in communication with the data processing hardware to cause the towing vehicle to autonomously steer toward the trailer based on the distance. 4 . The method of claim 1 , further comprising determining, at the data processing hardware, a height of the trailer coupler from the ground based on a vertical distance between the camera and the trailer coupler. The method of claim 1 , wherein the one or more images are captured by a monocular camera.
6. The method of claim 1, wherein the sensor data from the inertial measurement unit includes acceleration and angular velocity of the towing vehicle.
7. The method of claim 1, wherein determining the distance further comprises: determining one or more current filter states based on the sensor data and the identified trailer coupler; as well as One or more updated filter states are determined based on the current filter state and the pixel-by-pixel intensity differences.
8. The method according to claim 7, further comprising: The distance is determined based on the updated filter state.
9. The method according to claim 8, further comprising: The position of the camera in a world coordinate system is determined based on the updated filter state.
10. A method for determining a distance between a towing vehicle and a trailer positioned behind the towing vehicle as the towing vehicle approaches the trailer, the method comprising: receiving, at data processing hardware, one or more images from a camera positioned on a rear portion of the towing vehicle, the camera being in communication with the data processing hardware; identifying, by the data processing hardware, a trailer coupler of the trailer within the one or more images; associating, by the data processing hardware, one or more coupler feature points with the trailer coupler identified within the one or more images; identifying, by the data processing hardware, one or more visual features of a vehicle environment within the one or more images; associating, by the data processing hardware, one or more visual feature points with the one or more visual features of the vehicle environment identified within the one or more images; tracking, by the data processing hardware, the one or more connector feature points and the one or more visual feature points; receiving, at the data processing hardware, sensor data from an inertial measurement unit in communication with the data processing hardware and supported by the towing vehicle; as well as A distance is determined by the data processing hardware based on the one or more coupler feature points, the one or more visual feature points, and the sensor data, the distance comprising a longitudinal distance, a lateral distance, and a vertical distance between the camera and the trailer coupler.
11. The method of claim 10, further comprising sending instructions from the data processing hardware to a display in communication with the data processing hardware to display the distance.
12. The method of claim 10, further comprising sending instructions from the data processing hardware to a driver assistance system in communication with the data processing hardware to cause the towing vehicle to autonomously steer toward the trailer based on the distance.
13. The method of claim 10, further comprising determining, at the data processing hardware, a height of the trailer coupler from the ground based on a vertical distance between the camera and the trailer coupler.
14. The method of claim 10, wherein the camera comprises a monocular camera.
15. The method of claim 10, wherein the sensor data from the inertial measurement unit includes acceleration and angular velocity of the towing vehicle.
16. The method of claim 10, wherein determining the distance further comprises performing an iterative extended Kalman filter.
17. The method of claim 16, wherein performing an iterative extended Kalman filter comprises determining one or more current filter states based on the sensor data, the one or more visual feature points, and the one or more coupler feature points.
18. The method of claim 17, wherein performing an iterative extended Kalman filter comprises: determining a pixel-by-pixel intensity difference between a current image and a previously received image from the one or more images; as well as One or more updated filter states are determined based on the current filter state and the pixel-by-pixel intensity differences.
19. The method according to claim 18, further comprising: A distance between the camera and the trailer coupler is determined based on the updated filter state.
20. The method according to claim 19, further comprising: The position of the camera in a world coordinate system is determined based on the updated filter state.
