# US 2023/0410537 A1 · Systems and methods for detecting trailer angle

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0410537 A1
- Document ID: US20230410537A1
- Status: Published application
- Kind: A1
- Application number: 18/462,244
- Filed: 2023-09-06
- Published: 2023-12-21
- Earliest claimed: 2018-11-05
- Assignees: Tusimple, Inc.
- Applicants: TuSimple, Inc.
- Inventors: Yi Luo; Xiaoling Han; Xue Mei
- Web page: https://patentgrep.com/patent/US20230410537A1

## CPC

- G06T 7/75: {involving models}
- G06V 20/588: {Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road}
- B60D 1/62: involving supply lines, electric circuits or the like
- B62D 13/06: for backing a normally drawn trailer
- B62D 15/023: {by measuring on the king pin}
- G01S 17/42: Simultaneous measurement of distance and other co-ordinates (indirect measurement G01S17/46)
- G01S 17/931: of land vehicles
- G06T 7/73: using feature-based methods
- G08G 1/167: {Driving aids for lane monitoring, lane changing, e.g. blind spot detection}
- B60R 1/002: {specially adapted for covering the peripheral part of the vehicle, e.g. for viewing tyres, bumpers or the like (integrated in the windows B60R1/001; combined with rear-view mirrors B60R1/08)}
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/30204: Marker
- G06T 2207/30252: Vehicle exterior; Vicinity of vehicle
- G06T 2207/30256: Lane; Road marking
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- B60D: VEHICLE CONNECTIONS
- B62D: MOTOR VEHICLES; TRAILERS (steering, or guiding on a desired track, of agricultural machines or implements A01B69/00; wheels, castors, axles, increasing wheel adhesion B60B; vehicle tyres, tyre inflation or tyre changing B60C; connections between vehicles of a train or the like B60D; vehicles for use on rail and road, amphibious or convertible vehicles B60F; suspension arrangements B60G; heating, cooling, ventilating or other air treating devices B60H; windows, windscreens, non-fixed roofs, doors or similar devices, protective coverings for vehicles not in use B60J; propulsion plant arrangements, auxiliary drives, transmissions, controls, instrumentation or dashboards B60K; electric equipment or propulsion of electrically-propelled vehicles B60L; power supply for electrically-propelled vehicles B60M; passenger accommodation not otherwise provided for B60N; adaptations for load transportation or to carry special loads or objects B60P; arrangement of signalling or lighting devices, the mounting or supporting thereof or circuits therefor, for vehicles in general B60Q; vehicles, vehicle fittings or vehicle parts not otherwise provided for B60R; servicing, cleaning, repairing, supporting, lifting, or manoeuvring, not otherwise provided for, B60S; brake arrangements, brake control systems or parts thereof B60T; air-cushion vehicles B60V; motor-cycles, accessories therefor B62J, B62K; testing of vehicles G01M)
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G08G: TRAFFIC CONTROL SYSTEMS (guiding railway traffic, ensuring the safety of railway traffic B61L; arrangement of road signs or traffic signals E01F9/00; radar or analogous systems, sonar systems, lidar systems specially adapted for traffic control G01S13/91, G01S15/88, G01S17/88; {radar or analogous systems, sonar systems, lidar systems specially adapted for anti-collision purposes G01S13/93, G01S15/93, G01S17/93})
- B60R: VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR

## Abstract

Systems and methods for detecting trailer angle are provided. In one aspect, an in-vehicle control system includes an optical sensor configured to be mounted on a tractor so as to face a trailer coupled to the tractor, the optical sensor further configured to generate optical data indicative of an angle formed between the trailer and the tractor. The system further includes a processor and a computer-readable memory in communication with the processor and having stored thereon computer-executable instructions to cause the processor to receive the optical data from the optical sensor, determine at least one candidate plane representative of a surface of the trailer visible in the optical data based on the optical data, and determine an angle between the trailer and the tractor based on the at least one candidate plane.

## Claims

### Claim 1

An in-vehicle control system for a vehicle including a tractor and trailer, comprising:
an optical sensor configured to be mounted on the tractor and generate optical data representative of at least a portion of a surface of the trailer visible from a point of view of the optical sensor;
a processor; and
a computer-readable memory in communication with the processor and having stored thereon computer-executable instructions to cause the processor to:
receive the optical data,
determine at least one candidate plane representative of the surface of the trailer based on the optical data,
reduce noise in the at least one candidate plane that is inconsistent with an expected shape of the trailer, wherein reducing noise in the at least one candidate plane comprises iterating through a converging process until the converging process converges on a stable result, and
determine an angle between the trailer and the tractor based at least in part on the at least one candidate plane having the reduced noise.

### Claim 2 (depends on 1)

The in-vehicle control system of claim 1, wherein the converging process comprises:
determining a mapping between a plurality of points in the optical data and the at least one candidate plane,
determining a distance between the plurality of points in the optical data and the at least one candidate plane, and
optimizing a combination of the mapping, the distance, and a penalty for violating a constraint that normals of the surface of the at least one candidate plane are perpendicular to the at least one candidate plane.

### Claim 3 (depends on 2)

The in-vehicle control system of claim 2, wherein determining the angle between the trailer and the tractor based at least in part on the normal of the surface of the at least one candidate plane.

### Claim 4 (depends on 1)

The in-vehicle control system of claim 1, wherein reducing the noise in the at least one candidate plane comprises using an expectation-maximization framework comprising a plurality of iterations of: i) an expectation step comprising determining a mapping function and ii) a maximization step comprising optimizing an objective function to converge on the stable result.

### Claim 5 (depends on 4)

The in-vehicle control system of claim 4, wherein the mapping function determines an index of a corresponding one of the at least one candidate plane for each of a plurality of points in the optical data.

### Claim 6 (depends on 4)

The in-vehicle control system of claim 4, wherein the objective function includes one or more of the following variables: one or more models of the at least one candidate plane, one or more points in point cloud data representative of the at least one candidate plane, a mapping for a correspondence between the one or more points and an index, a function that relates a distance from one of the one or more points to one of the at least one candidate plane, and a penalty function for violating a constraint that normals of the one or more candidate planes are perpendicular.

### Claim 7 (depends on 1)

The in-vehicle control system of claim 1, wherein the memory further has stored thereon computer-executable instructions to cause the processor to:
identify points within the optical data having a reflectance value lower than a threshold reflectance value; and
extract data representative of one or more markers on a surface of the trailer based on extracting the identified data points,
wherein determining the angle between the trailer and the tractor is further based at least in part on the one or more markers.

### Claim 8 (depends on 1)

The in-vehicle control system of claim 1, wherein the optical sensor comprises a LiDAR detector.

### Claim 9 (depends on 1)

The in-vehicle control system of claim 1, wherein the memory further has stored thereon computer-executable instructions to cause the processor to:
determine at least one vehicle control command for autonomously driving the vehicle based at least in part on the angle between the trailer and the tractor.

### Claim 10 (depends on 1)

The in-vehicle control system of claim 1, wherein the memory further has stored thereon computer-executable instructions to cause the processor to:
receive a desired trajectory of the vehicle; and
determine at least one vehicle control command for autonomously driving the vehicle based at least in part on the angle between the trailer and the tractor and the desired trajectory of the vehicle.

### Claim 11 (depends on 1)

The in-vehicle control system of claim 1, wherein the optical data comprises point cloud data representative of a location of the surface of the trailer in space.

### Claim 12 (depends on 1)

The in-vehicle control system of claim 1, wherein the memory further has stored thereon computer-executable instructions to cause the processor to:
remove data associated with edge areas of the trailer from the optical data,
wherein determining the at least one candidate plane representative of the surface of the trailer is further based on the optical data having the data associated with the edge areas of the trailer removed.

### Claim 13

A non-transitory computer readable storage medium having stored thereon instructions that, when executed, cause at least one computing device to:
receive optical data from an optical sensor configured to be mounted on a tractor of a vehicle and generate the optical data representative of at least a portion of a surface of a trailer of the vehicle visible from a point of view of the optical sensor;
determine at least one candidate plane representative of the surface of the trailer based on the optical data;
reduce noise in the at least one candidate plane that is inconsistent with an expected shape of the trailer, wherein reducing noise in the at least one candidate plane comprises iterating through a converging process until the converging process converges on a stable result; and
determine an angle between the trailer and the tractor based at least in part on the at least one candidate plane having the reduced noise.

### Claim 14 (depends on 13)

The non-transitory computer readable storage medium of claim 13, further having stored thereon instructions that, when executed, cause at least one computing device to:
extract data representative of one or more markers on a surface of the trailer from the optical data,
wherein determining the angle between the trailer and the tractor is further based at least in part on the one or more markers.

### Claim 15 (depends on 14)

The non-transitory computer readable storage medium of claim 14, wherein the one or more markers comprise a quick response (QR) code.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the QR codes are attached to the surface of the trailer via magnets or an adhesive.

### Claim 17 (depends on 14)

The non-transitory computer readable storage medium of claim 14, further having stored thereon instructions that, when executed, cause at least one computing device to:
determine a distance between the at least one candidate plane and a closest one of the one or more markers; and
determine that the at least one candidate plane belongs to the surface of the trailer in response to the distance being less than a threshold distance,
wherein determining the angle between the trailer and the tractor is further based at least in part on the determination that the at least one candidate plane belongs to the surface of the trailer.

### Claim 18

A method for determining an angle between a tractor and trailer of a vehicle, the method comprising:
receiving optical data from an optical sensor configured to be mounted on the tractor and generate the optical data representative of at least a portion of a surface of the trailer visible from a point of view of the optical sensor;
determining at least one candidate plane representative of the surface of the trailer based on the optical data;
reducing noise in the at least one candidate plane that is inconsistent with an expected shape of the trailer, wherein reducing noise in the at least one candidate plane comprises iterating through a converging process until the converging process converges on a stable result; and
determining an angle between the trailer and the tractor based at least in part on the at least one candidate plane having the reduced noise.

### Claim 19 (depends on 18)

The method of claim 18, wherein determining the at least one candidate plane comprises using a random sample consensus (RANSAC)-based plane fitting algorithm to detect the at least one candidate plane in the optical data.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
constructing a container planes point cloud by extracting points from a point cloud in the optical data that belong to the at least one candidate plane determined sing the RANSAC-based plane fitting algorithm,
wherein reducing noise in the at least one candidate plane comprises reducing noise in the extracted points of the container planes point cloud.
