A method and system for controlling an electric tractor and a trailer to achieve large-angle docking

By entering different reversing modes based on the posture information of the tractor and the trailer, and calculating the Ackermann angle to generate steering instructions, the automatic docking of the tractor and the trailer is realized, solving the problems of high maneuverability and high cost in the existing technology, and improving Improved docking accuracy and unmanned driving capabilities.

CN114820771BActive Publication Date: 2024-09-20HARBIN INST OF TECH AT WEIHAI +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210533626.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-17
Publication Date
2024-09-20
Estimated Expiration
2042-05-17

AI Technical Summary

Technical Problem

In the existing technology, the automatic docking method between the tractor and the trailer requires high control technology and high hardware cost, and the docking accuracy is not high, making it difficult to achieve accurate automatic docking of the tractor and the trailer in unmanned driving mode.

Method used

Based on the relative posture information of the tractor and the trailer, it is judged whether their longitudinal axes are parallel or not, enters the corresponding automatic docking mode (straight-line reversing, parallel reversing or herringbone reversing mode), and generates a steer-by-wire command by calculating the Ackermann angle. , adjust the steering of the tractor so that the longitudinal axes coincide, and realize automatic docking of the tractor and the trailer.

Benefits of technology

It reduces driver control technical requirements and hardware costs, improves the accuracy of automatic docking between tractors and trailers, realizes automatic docking between tractors and trailers in unmanned driving mode, and reduces transportation costs in terminal production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114820771B
    Figure CN114820771B
Patent Text Reader

Abstract

A method and system for controlling an electric tractor and a trailer to achieve large-angle docking, relates to the technical field of automatic docking between a tractor and a trailer, and is used to solve the problem that the existing automatic docking method between a tractor and a trailer requires high hardware cost or low docking accuracy. The technical key points of the present invention include: using the current posture state of the tractor and the trailer to judge the relative position of the tractor and the trailer, calculating the Ackerman angle at the current moment, generating instructions for the tractor's wire-controlled steering mechanism, changing the front wheel angle, so that the longitudinal axis of the tractor gradually approaches the longitudinal axis of the trailer, until the longitudinal axis of the tractor and the trailer coincide, so as to achieve automatic docking of the tractor and the trailer based on the Ackerman angle control under large-angle conditions. The present invention is suitable for automatic docking of an electric tractor with a trailer under large-angle conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automatic docking between a tractor and a trailer, and in particular to a method and a system for controlling an electric tractor and a trailer to achieve large-angle docking. Background Art

[0002] With the rapid development of vehicle intelligence, interconnection and sharing, many assisted driving systems and unmanned driving technology development and applications have emerged in recent years. For example, the automatic navigation assisted driving system uses the camera, laser radar, millimeter wave radar, and high-precision GPS on the vehicle to perceive the environment around the vehicle, thereby controlling the vehicle to drive automatically, including automatic overtaking, optimal lane selection, automatic switching of highways, automatic on and off ramps, etc., which can greatly reduce the driver's fatigue during long-distance driving. However, at present, assisted driving systems and unmanned driving technologies are mostly used in passenger cars, and traditional manual driving modes are still used for trucks, vans, tractors and other models. At some docks, the driver needs to drive the tractor to complete tasks such as docking with the trailer, uncoupling and transporting goods, which requires the driver to have high operating skills and high work intensity, and invest a lot in life and production, and the cost is high.

[0003] With the development of the trend of the times, in the future terminal production, the vehicle intelligent and unmanned mode will gradually replace the current traditional manually driven tractors, realize the functions of automatic connection between tractors and trailers, and gradually realize the ideal production mode of intelligent production and transportation and unmanned terminals. The process of the tractor automatically reversing and docking with the trailer under large angle conditions is a low-speed, large-angle reversing process. The speed of the tractor is very low, generally below 1.5km / h. The path trajectory planning when the vehicle automatically reverses can be divided into: path planning method with discontinuous curvature, grid discrete trajectory planning method, fuzzy control, BP neural network dynamic trajectory planning method, B-spline curve curvature continuous path planning method.

[0004] The curvature discontinuous path planning method has an obvious disadvantage, that is, the continuity of the entire reversing process is very poor; the grid discrete trajectory planning method has simple reversing trajectory planning and trajectory calculation, but the dot matrix is ​​not necessarily on the optimal reversing path, which will result in a large space required for reversing and the possibility of not finding a suitable feasible curve; the fuzzy control and BP neural network dynamic trajectory planning method can adjust the reversing action in real time and dynamically, and the whole process is smooth, but its dynamic process relies too much on the initial state and learning samples, the control program is complex, and the response speed of the controller is very high, resulting in an increase in software and hardware costs; the B-spline curve curvature continuous path planning method, when the initial state is different, even if the control point position is the same, the resulting curve is still different, and it is difficult to convert the B-spline curve into an actually operable vehicle control sequence, and the B-spline curve does not match the vehicle's driving trajectory. Summary of the invention

[0005] In order to solve the problem that the existing method of manually driving a tractor to reverse and connect it to a trailer requires high driver operating skills, and to solve the problem that the existing automatic docking method requires high hardware cost or low docking accuracy, the present invention proposes a method and system for controlling an electric tractor and a trailer to achieve large-angle docking, so as to accurately realize automatic docking of the tractor and the trailer in an unmanned driving mode.

[0006] According to one aspect of the present invention, a method for controlling an electric tractor to achieve large-angle docking with a trailer is provided. The method enables the tractor to reverse according to different automatic docking modes according to different scenarios in which the tractor and the trailer are located, so that the longitudinal axes of the tractor and the trailer coincide before docking. The specific process includes:

[0007] According to the relative posture information of the tractor and the trailer, determine whether the longitudinal axes of the tractor and the trailer are parallel, and put the tractor into reversing state; if the longitudinal axes of the tractor and the trailer are parallel, determine whether the lateral deviation of the tractor and the trailer is within the range of the preset threshold value. If it is within the range of the preset threshold value, it is determined that the tractor and the trailer are in a straight-line reversing scene, and enter the straight-line reversing automatic docking mode; if it is not within the range of the preset threshold value, it is determined that the tractor and the trailer are in a parallel reversing scene, and enter the parallel reversing automatic docking mode; if the longitudinal axes of the tractor and the trailer are not parallel, it is determined that the tractor and the trailer are in a herringbone reversing scene, and enter the herringbone reversing automatic docking mode.

[0008] Furthermore, the preset threshold is 0.15 meters.

[0009] Furthermore, the parallel reversing automatic docking mode is: using a two-stage arc reversing method, according to the Ackerman angle corresponding to the first arc The Ackermann angle corresponding to the second arc Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle and The calculation process specifically includes:

[0010] Assume that the radius of the first arc is R1, the radius of the second arc is R2, and the center of the first arc and the center of the second arc are on both sides of the midpoint of the lateral distance between the tractor and the trailer respectively; then the corresponding position relationship is calculated as follows:

[0011]

[0012] Where, L0 represents the longitudinal distance traveled by the rear axle of the tractor from the initial reversing position to the completion of the two-stage circular arc reversing, and △x represents the lateral deviation between the tractor and the trailer;

[0013] So that R1 = R2, the above formula is calculated to obtain: Then the Ackerman angle corresponding to the first arc is The Ackermann angle corresponding to the second arc They are:

[0014]

[0015]

[0016] Where L is the wheelbase of the tractor.

[0017] Furthermore, the automatic docking mode of herringbone reversing is: assuming that the Ackerman angle corresponding to herringbone reversing is According to the calculated Ackerman angle Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle Calculated according to the following formula:

[0018]

[0019] In the formula, L represents the wheelbase of the tractor; R represents the radius corresponding to the reverse arc segment of the tractor, and the calculation process is as follows:

[0020] Assume that the intersection of the longitudinal axis of the tractor and trailer is N, and connect the center point M of the rear axle of the tractor and the intersection point N to form a line segment MN; the origin corresponding to the reverse arc segment of the tractor is O1, then:

[0021] R=MN·tan∠O1NM

[0022] In the formula, θ is the angle between the longitudinal axes of the tractor and trailer.

[0023] Furthermore, the straight-line reverse automatic docking mode is: according to the lateral deviation between the tractor and the trailer and the angle between the longitudinal axes of the two vehicles, the front wheel turning angle of the tractor is fine-tuned to make the longitudinal axes of the tractor and the trailer coincide.

[0024] Furthermore, after the automatic docking mode reversing is completed, that is, the longitudinal axes of the tractor and the trailer have coincided, the automatic docking mode is disengaged, and the tractor automatically reverses and docks with the trailer.

[0025] According to another aspect of the present invention, a system for controlling an electric tractor to achieve large-angle docking with a trailer is provided, wherein the system enables the tractor to reverse according to different automatic docking modes according to different scenarios in which the tractor and the trailer are located, so that the longitudinal axes of the tractor and the trailer coincide before docking; the system comprises:

[0026] A relative posture acquisition module, configured to acquire relative posture information of the tractor and the trailer;

[0027] A straight-line reversing module is configured to determine that the tractor and the trailer are in a straight-line reversing scene and enter a straight-line reversing automatic docking mode when it is determined based on the relative posture information of the tractor and the trailer that the longitudinal axes of the tractor and the trailer are parallel and the lateral deviation between the two is within a preset threshold value;

[0028] A parallel reversing module is configured to determine that the tractor and the trailer are in a parallel reversing scenario and enter a parallel reversing automatic docking mode when it is determined based on the relative posture information of the tractor and the trailer that the longitudinal axes of the tractor and the trailer are parallel and the lateral deviation between the two is not within a preset threshold value.

[0029] The herringbone reversing module is configured to determine that the tractor and the trailer are in a herringbone reversing scene and enter the herringbone reversing automatic docking mode when it is determined that the longitudinal axes of the tractor and the trailer are not parallel based on the relative posture information of the tractor and the trailer.

[0030] Furthermore, the preset threshold is 0.15 meters.

[0031] Furthermore, the parallel reversing automatic docking mode in the parallel reversing module is: using a two-stage arc reversing method, according to the Ackerman angle corresponding to the first arc The Ackermann angle corresponding to the second arc Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle and The calculation process specifically includes:

[0032] Assume that the radius of the first arc is R1, the radius of the second arc is R2, and the center of the first arc and the center of the second arc are on both sides of the midpoint of the lateral distance between the tractor and the trailer respectively; then the corresponding position relationship is calculated as follows:

[0033]

[0034] Where, L0 represents the longitudinal distance traveled by the rear axle of the tractor from the initial reversing position to the completion of the two-stage circular arc reversing, and △x represents the lateral deviation between the tractor and the trailer;

[0035] So that R1 = R2, the above formula is calculated to obtain: Then the Ackerman angle corresponding to the first arc is The Ackermann angle corresponding to the second arc They are:

[0036]

[0037]

[0038] Where L is the wheelbase of the tractor.

[0039] Further, the herringbone reversing automatic docking mode in the herringbone reversing module is: assuming that the Ackerman angle corresponding to the herringbone reversing is According to the calculated Ackerman angle Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle Calculated according to the following formula:

[0040]

[0041] In the formula, L represents the wheelbase of the tractor; R represents the radius corresponding to the reverse arc segment of the tractor, and the calculation process is as follows:

[0042] Assume that the intersection of the longitudinal axis of the tractor and trailer is N, and connect the center point M of the rear axle of the tractor and the intersection point N to form a line segment MN; the origin corresponding to the reverse arc segment of the tractor is O1, then:

[0043] R=MN·tan∠O1NM

[0044] In the formula, θ is the angle between the longitudinal axes of the tractor and trailer.

[0045] The beneficial technical effects of the present invention are:

[0046] The present invention calculates the Ackerman angle based on the lateral deviation and azimuth of the tractor and trailer, generates a tractor wire-controlled steering instruction, drives the system controller, changes the steering of the tractor, thereby reducing the lateral error and azimuth of the tractor and trailer, and continuously adjusts the posture of the tractor during the reversing process until the docking with the trailer is completed. In the unmanned automatic docking of the tractor, the present invention can solve the problem that the current driver's driving of the tractor requires high operating skills and high work intensity, and the investment in life and production is relatively large and the cost is high. In the future docking life, the present invention provides a method for the automatic docking of unmanned tractors for unmanned docks and intelligent docks, and uses actual vehicle tests, and the results verify the feasibility and effectiveness of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The present invention can be better understood by referring to the description given below in conjunction with the accompanying drawings, which together with the following detailed description are included in this specification and form a part of this specification, and are used to further illustrate the preferred embodiments of the present invention and explain the principles and advantages of the present invention.

[0048] Figure 1 A schematic flow chart of a method for controlling an electric tractor and a trailer to achieve large-angle docking according to an embodiment of the present invention;

[0049] Figure 2 Another flow chart of a method for controlling an electric tractor and a trailer to achieve large-angle docking according to an embodiment of the present invention;

[0050] Figure 3 It is a schematic diagram of a tractor automatically reversing and docking with a trailer in a parallel reversing scenario according to an embodiment of the present invention;

[0051] Figure 4 It is a schematic diagram of a tractor automatically reversing and docking with a trailer in a herringbone reversing scenario in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to enable those skilled in the art to better understand the scheme of the present invention, exemplary implementations or embodiments of the present invention will be described below in conjunction with the accompanying drawings. Obviously, the described implementations or embodiments are only implementations or embodiments of a part of the present invention, not all of them. Based on the implementations or embodiments of the present invention, all other implementations or embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present invention.

[0053] The embodiment of the present invention provides a method for controlling an electric tractor to achieve large-angle docking with a trailer. The method enables the tractor to reverse according to different automatic docking modes according to different scenarios where the tractor and the trailer are located, so that the longitudinal axes of the tractor and the trailer coincide before docking. The specific process includes:

[0054] According to the relative posture information of the tractor and the trailer, it is determined whether the longitudinal axes of the tractor and the trailer (i.e., the central axis passing through the longitudinal body) are parallel, and the tractor is put into a reversing state; if the longitudinal axes of the tractor and the trailer are parallel, it is determined whether the lateral deviation of the tractor and the trailer is within the range of a preset threshold value. If it is within the range of the preset threshold value, it is determined that the tractor and the trailer are in a straight-line reversing scene, and the straight-line reversing automatic docking mode is entered; if it is not within the range of the preset threshold value, it is determined that the tractor and the trailer are in a parallel reversing scene, and the parallel reversing automatic docking mode is entered; if the longitudinal axes of the tractor and the trailer are not parallel, it is determined that the tractor and the trailer are in a herringbone reversing scene, and the herringbone reversing automatic docking mode is entered.

[0055] In this embodiment, optionally, the preset threshold is 0.15 meters.

[0056] In this embodiment, optionally, the parallel reversing automatic docking mode is: using a two-stage arc reversing method, according to the Ackerman angle corresponding to the first arc The Ackermann angle corresponding to the second arc Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle and The calculation process specifically includes:

[0057] Assume that the radius of the first arc is R1, the radius of the second arc is R2, and the center of the first arc and the center of the second arc are on both sides of the midpoint of the lateral distance between the tractor and the trailer respectively; then the corresponding position relationship is calculated as follows:

[0058]

[0059] Where, L0 represents the longitudinal distance traveled by the rear axle of the tractor from the initial reversing position to the completion of the two-stage circular arc reversing, and △x represents the lateral deviation between the tractor and the trailer;

[0060] So that R1 = R2, the above formula is calculated to obtain: Then the Ackerman angle corresponding to the first arc is The Ackermann angle corresponding to the second arc They are:

[0061]

[0062]

[0063] Where L is the wheelbase of the tractor.

[0064] In this embodiment, optionally, the automatic docking mode of herringbone reversing is: assuming that the Ackerman angle corresponding to the herringbone reversing is According to the calculated Ackerman angle Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle Calculated according to the following formula:

[0065]

[0066] In the formula, L represents the wheelbase of the tractor; R represents the radius corresponding to the reverse arc segment of the tractor, and the calculation process is as follows:

[0067] Assume that the intersection of the longitudinal axis of the tractor and trailer is N, and connect the center point M of the rear axle of the tractor and the intersection point N to form a line segment MN; the origin corresponding to the reverse arc segment of the tractor is O1, then:

[0068] R=MN·tan∠O1NM

[0069] In the formula, θ is the azimuth angle, that is, the angle between the longitudinal axes of the tractor and trailer.

[0070] In this embodiment, optionally, the straight-line reverse automatic docking mode is: according to the lateral deviation between the tractor and the trailer and the angle between the longitudinal axes of the two vehicles, the front wheel turning angle of the tractor is fine-tuned to make the longitudinal axes of the tractor and the trailer coincide.

[0071] In this embodiment, optionally, after the automatic docking mode reversing is completed, that is, the longitudinal axes of the tractor and the trailer have coincided, the automatic docking mode is disengaged, and the tractor automatically reverses and docks with the trailer.

[0072] Another embodiment of the present invention provides a method for controlling an electric tractor and a trailer to achieve a large angle docking, such as Figure 1 , Figure 2 As shown, the method is specifically carried out according to the following steps:

[0073] Step 1: Read the current tractor status and confirm whether the tractor is in neutral;

[0074] According to the embodiment of the present invention, the specific process is as follows: read the status information of the current vehicle, and in the unmanned driving mode, confirm that the current tractor is in the N gear (i.e., neutral gear) state through the current vehicle status information transmitted through CAN communication; if the tractor is not in the neutral gear (N gear) state, send a neutral gear instruction to drive the system controller to switch the tractor to the neutral gear (N gear) mode; if the tractor is already in the neutral gear state, execute the next step.

[0075] Step 2: Read the relative position information of the current tractor and trailer transmitted from the sensing devices such as radar and camera equipped on them, and determine the scene in which the current tractor and trailer are located;

[0076] According to an embodiment of the present invention, the specific process is: in the initial state, if the axes of the tractor and the trailer are parallel, that is, the azimuth angle θ=0 at this time, if the lateral error of the tractor and the trailer is -0.15m≤△x≤0.15m at this time, it can be approximately considered that the tractor and the trailer are in a straight-line reversing scene; in the initial state, if the axes of the tractor and the trailer are parallel, that is, the azimuth angle θ=0 at this time, but the lateral error of the tractor and the trailer is △x≤-0.15m or 0.15m≤△x at this time, the tractor and the trailer enter the parallel reversing automatic docking scene; in the initial state, if the axes of the tractor and the trailer are not parallel, that is, the azimuth angle θ≠0 at this time, the tractor and the trailer enter the herringbone reversing automatic docking scene.

[0077] Step 3: Control the tractor to automatically reverse, send a reverse command to the tractor through CAN communication, and put the tractor into reverse gear mode;

[0078] According to the embodiment of the present invention, the specific process is as follows: according to the current tractor status information, it has been confirmed that the tractor is currently in the neutral gear (N gear) state; after confirming that the tractor is currently in the neutral gear (N gear) state, a reversing command is issued to the tractor through CAN communication, so that the tractor switches from the current neutral gear (N gear) state to the reverse gear (R gear) state, and the tractor executes the reversing command and enters the reversing mode.

[0079] Step 4: Complete the automatic reversing of the tractor at a large angle. According to the relative posture of the tractor and the trailer, calculate the Ackerman angle of the left and right front wheels, generate the tractor's wire-controlled steering mechanism command, control the front wheel angle, and change the relative posture of the tractor and the trailer at the next moment until the tractor reverses to the target point;

[0080] According to the embodiment of the present invention, the specific process is as follows: Step 4.1, read the initial posture information of the tractor and the trailer, determine the scene to which the current tractor and the trailer belong, if the tractor and the trailer are in a straight-line reversing scene at this time, directly give the tractor a reverse gear (R gear) command to put the tractor into reversing mode, at the end of the tractor reversing, according to the lateral error and azimuth information of the tractor and the trailer, if the tractor is slightly biased to the right relative to the trailer, the front wheel turning angle of the tractor to turn left at the next moment is calculated according to the control algorithm, so that the front wheels of the tractor perform a small left turn; if the tractor is slightly biased to the left relative to the trailer, the front wheel turning angle of the tractor to turn right at the next moment is calculated according to the control algorithm, so that the front wheels of the tractor perform a small right turn; until the longitudinal axis of the tractor coincides with the longitudinal axis of the trailer, the dynamic fine-tuning of the front wheel turning angle is completed, see the following step 5.3, to ensure that the tractor reverses in a straight line facing the trailer until it is successfully connected to the trailer;

[0081] Step 4.2: If the tractor and trailer are in a parallel reversing scenario, that is, the azimuth angle θ=0, but the lateral error between the tractor and trailer is △x≤-0.15m or 0.15m≤△x, the specific process of the tractor in the parallel reversing docking mode with the trailer is as follows:

[0082] In the parallel reverse automatic docking mode, a two-stage arc method is used for reverse operation, such as Figure 3 As shown in the figure, the coordinate system is established with the docking point O of the trailer as the origin, that is, the coordinate of point O is (0,0); the origin corresponding to the first arc is O1, and the coordinate of O1 in the coordinate system of the trailer docking point is (x O1 ,y O1 ); The origin of the second arc is O2, and the coordinate of O2 in the trailer docking point coordinate system is (x O2 ,y O2 ); The coordinate of the rear axle center M of the tractor at the initial position is (x M ,y M ), after completing the arc reversing at both ends, the coordinate of the rear axle center M′ of the tractor is (x M′ ,y M′ ), then the following formula can be established according to the corresponding position relationship:

[0083] (R1+R2)·sinα-L0=0 (1)

[0084] (R1+R2)·(1-cosα)=△x (2)

[0085] Where: R1 is the radius corresponding to the first arc, R2 is the radius corresponding to the second arc, α is the angle between the origin O1O2 of the two ends of the arc and the extension line of the rear axle after the second arc is reversed, L0 is the longitudinal distance from the rear axle at the initial position of the tractor to the rear axle after the second arc is reversed, and △x is the lateral deviation between the tractor and the trailer.

[0086] According to equations (1) and (2), we can get:

[0087]

[0088]

[0089] Then according to the calculated sinα and cosα, the following formula can be obtained:

[0090]

[0091]

[0092] According to the above formulas (5) and (6), the sum of R1 and R2 can be calculated, and then the weights of R1 and R2 are adjusted to achieve the optimal path control planning effect. According to the actual vehicle test, in the present invention, the weights of R1 and R2 are selected as 0.5 and 0.5 respectively, then it can be calculated:

[0093]

[0094] The Ackerman angle calculated at this time is:

[0095]

[0096]

[0097] According to the calculated first Ackermann angle and the second Ackermann turn Generate a tractor-by-wire steering command and transmit it to the front wheel angle to change the steering of the tractor, so that the axis of the tractor continuously approaches the axis of the trailer until its azimuth angle θ=0. At this time, the axis of the tractor and the axis of the trailer coincide, completing the automatic reversing action of the tractor in the parallel reversing scenario.

[0098] Step 4.3: If the tractor and trailer are in a herringbone reversing scene, that is, the axes of the tractor and trailer are not parallel, and the azimuth angle θ between the two is ≠ 0, the specific process of the tractor in the herringbone reversing and the trailer reversing mode is as follows:

[0099] When the tractor automatically docks with the trailer during low-speed reverse, the Ackerman turning angle formula is:

[0100]

[0101] Where L is the wheelbase of the tractor.

[0102] like Figure 4 As shown in the figure, a coordinate system is established with the trailer docking point as the origin O, that is, the coordinate of point O is (0,0); the coordinate of the rear axle center M of the tractor in the coordinate system established at the trailer docking point is (x M ,y M ), the coordinate of the origin O1 corresponding to the tractor's automatic reverse arc segment is (x O1 ,y O1 ), then the coordinates of the intersection point N of the extension line of the trailer axis and the extension line of the tractor axis can be obtained as (x N ,y N ). According to the relative position relationship between the tractor and the trailer, we can get:

[0103] x N =0 (11)

[0104] y N =y M -x M tanθ (12)

[0105] Where: θ is the azimuth. Then the coordinates of point N are (0, y M -x M ·tanθ). The intersection point N connecting the rear axle center M of the tractor in the initial posture and the extension line of the tractor axis and the extension line of the trailer is MN, and the intersection point N connecting the extension line of the tractor axis and the extension line of the trailer and the origin O1 corresponding to the automatic reverse arc segment of the tractor is O1N, then the angle between O1N and MN is:

[0106]

[0107] The distance MN from point M to point N is:

[0108]

[0109] According to the angle ∠O1NM and the distance MN, the arc radius R of the tractor when reversing in a herringbone is:

[0110] R=MN·tan∠O1NM (15)

[0111] The Ackerman turning angle at this stage is calculated based on the obtained arc radius R:

[0112]

[0113] That is, the Ackerman turning angle corresponding to the herringbone reverse in this stage is According to the calculated Ackerman angle Generate a tractor-by-wire steering command and transmit it to the front wheel angle to change the steering of the tractor, so that the axis of the tractor continuously approaches the axis of the trailer until its azimuth angle θ=0. At this time, the axis of the tractor and the axis of the trailer coincide, completing the automatic reversing action of the tractor in the herringbone scenario.

[0114] Step 5: Read the relative position of the tractor and trailer at this moment, calculate the Ackerman angle at the next moment according to the azimuth angles of the tractor and trailer, control the steering of the tractor at the next moment, and make dynamic fine-tuning until the tractor and trailer are automatically docked;

[0115] According to the embodiment of the present invention, the specific process is as follows: Step 5.1, calculating the lateral deviation and azimuth deviation between the current tractor and the trailer, and judging whether the tractor is successfully docked with the trailer; Step 5.2, if the tractor and the trailer have been successfully docked at this time, then leaving the automatic docking mode, completing the task of the tractor automatically reversing and docking with the trailer;

[0116] Step 5.3: If the tractor and trailer have not yet been successfully docked, calculate the currently required Ackerman angle based on the lateral deviation and azimuth deviation information of the tractor and trailer at the previous moment, generate the tractor's wire-controlled steering command, and change the tractor's driving direction. Then read the lateral deviation and azimuth deviation of the tractor and trailer at the next moment, calculate the Ackerman angle at this time, and generate the tractor's wire-controlled steering command for the next moment. This continues until the lateral deviation and azimuth deviation of the tractor and trailer gradually decrease, and finally eliminates the lateral deviation and azimuth deviation of the tractor and trailer. This achieves dynamic adjustment in the final docking stage under the condition of automatic reversing of the tractor at a large angle, ensuring that the tractor is reversing in a straight line facing the trailer before docking with the trailer;

[0117] Step 5.4, generate a speed control command, drive the system controller, issue a speed control command to the tractor through CAN communication, control the speed of the tractor during the automatic reverse docking process, keep the tractor in reverse at a low speed, and ensure that the tractor can dock with the trailer successfully;

[0118] Step 5.5: After the execution of the above step 5.4, the lateral deviation and azimuth deviation of the tractor and the trailer are calculated again, and then it is determined whether the tractor and the trailer are successfully docked. If successful, execute step 5.2; if not, execute steps 5.3 and 5.4 until the tractor and the trailer are successfully docked, exit the automatic docking mode of the tractor and the trailer, and achieve the expected control effect.

[0119] Another embodiment of the present invention provides a system for controlling an electric tractor and a trailer to achieve large-angle docking, wherein the system enables the tractor to reverse according to different automatic docking modes according to different scenarios in which the tractor and the trailer are located, so that the longitudinal axes of the tractor and the trailer coincide before docking; the system comprises:

[0120] A relative posture acquisition module, configured to acquire relative posture information of the tractor and the trailer;

[0121] A straight-line reversing module is configured to determine that the tractor and the trailer are in a straight-line reversing scene and enter a straight-line reversing automatic docking mode when it is determined based on the relative posture information of the tractor and the trailer that the longitudinal axes of the tractor and the trailer are parallel and the lateral deviation between the two is within a preset threshold value;

[0122] A parallel reversing module is configured to determine that the tractor and the trailer are in a parallel reversing scenario and enter a parallel reversing automatic docking mode when it is determined based on the relative posture information of the tractor and the trailer that the longitudinal axes of the tractor and the trailer are parallel and the lateral deviation between the two is not within a preset threshold value.

[0123] The herringbone reversing module is configured to determine that the tractor and the trailer are in a herringbone reversing scene and enter the herringbone reversing automatic docking mode when it is determined that the longitudinal axes of the tractor and the trailer are not parallel based on the relative posture information of the tractor and the trailer.

[0124] In this embodiment, optionally, the preset threshold is 0.15 meters.

[0125] In this embodiment, optionally, the parallel reversing automatic docking mode in the parallel reversing module is: adopting a two-stage arc reversing method, according to the Ackerman angle corresponding to the first arc The Ackermann angle corresponding to the second arc Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle and The calculation process specifically includes:

[0126] Assume that the radius of the first arc is R1, the radius of the second arc is R2, and the center of the first arc and the center of the second arc are on both sides of the midpoint of the lateral distance between the tractor and the trailer respectively; then the corresponding position relationship is calculated as follows:

[0127]

[0128] Where, L0 represents the longitudinal distance traveled by the rear axle of the tractor from the initial reversing position to the completion of the two-stage circular arc reversing, and △x represents the lateral deviation between the tractor and the trailer;

[0129] So that R1 = R2, the above formula is calculated to obtain: Then the Ackerman angle corresponding to the first arc is The Ackermann angle corresponding to the second arc They are:

[0130]

[0131]

[0132] Where L is the wheelbase of the tractor.

[0133] In this embodiment, optionally, the herringbone reversing automatic docking mode in the herringbone reversing module is: assuming that the Ackerman angle corresponding to the herringbone reversing is According to the calculated Ackerman angle Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle Calculated according to the following formula:

[0134]

[0135] In the formula, L represents the wheelbase of the tractor; R represents the radius corresponding to the reverse arc segment of the tractor, and the calculation process is as follows:

[0136] Assume that the intersection of the longitudinal axis of the tractor and trailer is N, and connect the center point M of the rear axle of the tractor and the intersection point N to form a line segment MN; the origin corresponding to the reverse arc segment of the tractor is O1, then:

[0137] R=MN·tan∠O1NM

[0138] In the formula, θ is the angle between the longitudinal axes of the tractor and trailer.

[0139] The function of the system for controlling an electric tractor and a trailer to achieve large-angle docking described in this embodiment can be described by the aforementioned method for controlling an electric tractor and a trailer to achieve large-angle docking. Therefore, for the parts not described in detail in this embodiment, please refer to the above method embodiments and will not be repeated here.

[0140] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments are contemplated within the scope of the invention thus described. The disclosure of the present invention is intended to be illustrative rather than restrictive of the scope of the invention, which is defined by the appended claims.

Claims

1. A method for controlling an electric tractor and a trailer to achieve large-angle docking, characterized in that: According to different scenarios of the tractor and trailer, the tractor is reversed according to different automatic docking modes, so that the longitudinal axes of the tractor and trailer coincide before docking. The specific process includes: According to the relative posture information of the tractor and the trailer, determine whether the longitudinal axes of the tractor and the trailer are parallel, and put the tractor in a reverse state; If the longitudinal axes of the tractor and trailer are parallel, determine whether the lateral deviation of the tractor and trailer is within the range of a preset threshold value. If so, determine that the tractor and trailer are in a straight-line reversing scene, and enter the straight-line reversing automatic docking mode. The straight-line reversing automatic docking mode is as follows: fine-tune the front wheel turning angle of the tractor according to the lateral deviation of the tractor and trailer and the angle between the longitudinal axes of the two vehicles, so that the longitudinal axes of the tractor and trailer coincide; if not within the range of the preset threshold value, determine that the tractor and trailer are in a parallel reversing scene, and enter the parallel reversing automatic docking mode. The parallel reversing automatic docking mode is as follows: adopt a two-stage arc reversing method, according to the Ackerman turning angle corresponding to the first arc, The Ackermann angle corresponding to the second arc Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle and The calculation process specifically includes: Assume that the radius of the first arc is R1, the radius of the second arc is R2, and the center of the first arc and the center of the second arc are on both sides of the midpoint of the lateral distance between the tractor and the trailer respectively; then the corresponding position relationship is calculated as follows: Where L0 represents the longitudinal distance traveled by the rear axle of the tractor from the initial reversing position to the completion of the two-stage circular arc reversing, and Δx represents the lateral deviation between the tractor and the trailer; So that R1 = R2, calculated from the above formula: Then the Ackerman angle corresponding to the first arc is The Ackermann angle corresponding to the second arc They are: Where, L represents the wheelbase of the tractor; If the longitudinal axes of the tractor and trailer are not parallel, it is determined that the tractor and trailer are in a herringbone reversing scene, and the herringbone reversing automatic docking mode is entered. The herringbone reversing automatic docking mode is: the Ackerman angle corresponding to the herringbone reversing is According to the calculated Ackerman angle Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle Calculated according to the following formula: In the formula, L represents the wheelbase of the tractor; R represents the radius corresponding to the reverse arc segment of the tractor, and the calculation process is as follows: Assume that the intersection of the longitudinal axis of the tractor and trailer is N, and connect the center point M of the rear axle of the tractor and the intersection point N to form a line segment MN; the origin corresponding to the reverse arc segment of the tractor is O1, then: R=MN·tan∠O1NM In the formula, θ is the angle between the longitudinal axes of the tractor and trailer.

2. A method for controlling an electric tractor and a trailer to achieve large-angle docking according to claim 1, characterized in that: The preset threshold is 0.15 meters.

3. A method for controlling an electric tractor and a trailer to achieve large-angle docking according to claim 1 or 2, characterized in that: After the automatic docking mode is completed, that is, the longitudinal axes of the tractor and the trailer have coincided, the automatic docking mode is disengaged, and the tractor automatically reverses and docks with the trailer.

4. A system for controlling an electric tractor and a trailer to achieve large-angle docking, characterized in that: The system enables the tractor to reverse according to different automatic docking modes according to different scenarios where the tractor and the trailer are located, so that the longitudinal axes of the tractor and the trailer coincide before docking; including: A relative posture acquisition module, configured to acquire relative posture information of the tractor and the trailer; A straight-line reversing module is configured to determine that the tractor and trailer are in a straight-line reversing scene and enter a straight-line reversing automatic docking mode when it is determined based on the relative posture information of the tractor and the trailer that the longitudinal axes of the tractor and the trailer are parallel and the lateral deviation between the two is within a preset threshold value. The straight-line reversing automatic docking mode is: according to the lateral deviation between the tractor and the trailer and the angle between the longitudinal axes of the two vehicles, the front wheel steering angle of the tractor is fine-tuned to make the longitudinal axes of the tractor and the trailer coincide; The parallel reversing module is configured to determine that the tractor and trailer are in a parallel reversing scene and enter the parallel reversing automatic docking mode when it is determined based on the relative posture information of the tractor and the trailer that the longitudinal axes of the tractor and the trailer are parallel and the lateral deviation between the two is not within the range of a preset threshold value; the parallel reversing automatic docking mode is: using a two-stage arc reversing method, according to the Ackerman angle corresponding to the first arc The Ackermann angle corresponding to the second arc Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle and The calculation process specifically includes: Assume that the radius of the first arc is R1, the radius of the second arc is R2, and the center of the first arc and the center of the second arc are on both sides of the midpoint of the lateral distance between the tractor and the trailer respectively; then the corresponding position relationship is calculated as follows: Where L0 represents the longitudinal distance traveled by the rear axle of the tractor from the initial reversing position to the completion of the two-stage circular arc reversing, and Δx represents the lateral deviation between the tractor and the trailer; So that R1 = R2, calculated from the above formula: Then the Ackerman angle corresponding to the first arc is The Ackermann angle corresponding to the second arc They are: Where, L represents the wheelbase of the tractor; The herringbone reversing module is configured to, when it is determined that the longitudinal axes of the tractor and the trailer are not parallel according to the relative posture information of the tractor and the trailer, determine that the tractor and the trailer are in a herringbone reversing scene, and enter the herringbone reversing automatic docking mode. The herringbone reversing automatic docking mode is: the Ackerman angle corresponding to the herringbone reversing is According to the calculated Ackerman angle Generates tractor steer-by-wire commands to align the longitudinal axes of the tractor and trailer; Ackermann angle Calculated according to the following formula: In the formula, L represents the wheelbase of the tractor; R represents the radius corresponding to the reverse arc segment of the tractor, and the calculation process is as follows: Assume that the intersection of the longitudinal axis of the tractor and trailer is N, and connect the center point M of the rear axle of the tractor and the intersection point N to form a line segment MN; the origin corresponding to the reverse arc segment of the tractor is O1, then: R=MN·tan∠O1NM In the formula, θ is the angle between the longitudinal axes of the tractor and trailer.

5. A system for controlling an electric tractor and a trailer to achieve large-angle docking according to claim 4, characterized in that: The preset threshold is 0.15 meters.

Citation Information

Patent Citations

  • Automatic parking method and device and electronic equipment

    CN111169470A

  • Vehicle parking path planning method and related equipment

    CN113492830A

  • Full-automatic parking control method based on linear arc path and controller

    CN113581167A

  • Method for ranking of car / trailer combination, involves performing maneuvering of towing vehicle with active steering assistance while maintaining predetermined direction of travel up to final parking position

    DE102013000198A1

  • Method and system for assisting in the parking of a motor vehicle

    FR3111314A1