Trailer angle measuring method, device and vehicle

The use of multi-line laser radars and point cloud matching algorithms in semi-trailers enhances the accuracy of measuring trailer included angles, addressing the challenge of large angle measurements for autonomous driving.

JP7553668B2Active Publication Date: 2024-09-18BEIJING TUSEN ZHITU TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023129340
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-12-10
Filing Date
2023-08-08
Publication Date
2024-09-18
Estimated Expiration
2039-03-06

AI Technical Summary

Technical Problem

Current methods struggle to accurately measure the trailer included angle, especially when it exceeds ±40°, which is crucial for autonomous driving planning and control in semi-trailers.

Method used

Employing multi-line laser radars installed on both sides of the tractor head to emit and receive laser point clouds, using a point cloud matching algorithm to calculate the trailer included angle based on initial point cloud data.

Benefits of technology

Improves accuracy in measuring trailer included angles by utilizing the laser point clouds from multiple radars, enabling precise calculations even in large angles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553668000033
    Figure 0007553668000033
  • Figure 0007553668000022
    Figure 0007553668000022
  • Figure 0007553668000025
    Figure 0007553668000025
Patent Text Reader

Abstract

To quickly and accurately measure a trailer pinch angle in a simple configuration.SOLUTION: There is provided a trailer pinch angle measuring method that is applied to a semi-trailer including a tractor head and a trailer with multiline laser radars respectively installed on both sides. The trailer pinch angle measuring method includes: acquiring a trailer initial model when a trailer pinch angle is an initial value in a preset vehicle coordinate system and acquiring initial point cloud data in the trailer initial model (301); controlling each multiline laser radar such that a surface of the trailer reflects a laser emitted from the multiline laser radar (302); controlling each multiline laser radar so as to receive a corresponding laser point cloud reflected by the surface of the trailer (303); and calculating a trailer pinch angle using a point cloud matching algorithm based on the laser point clouds received by the respective multiline laser radars and the initial point cloud data (304).SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application filed on December 10, 2018, application number 201811505593.1, entitled "Trailer Included Angle Measurement Method, Apparatus and Vehicle," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the technical field of vehicles, and in particular to a method, device and vehicle for measuring a trailer included angle. [Background technology]

[0003] At present, with the development of the logistics and transportation industry, the application of vehicles with tractor heads and trailers such as container trucks (hereinafter simply referred to as "semi-trailers") is becoming more and more widespread. As a heavy-duty transportation tool, the semi-trailer can improve the overall economic benefits of road transportation compared to monoblock trucks, but with the development of autonomous driving technology, the trailer included angle (as shown in the top view of the semi-trailer in Figure 1, the trailer included angle is the included angle α between the central axis of the tractor head 11 and the central axis of the trailer 12) has become the focus of research as the basis for autonomous driving planning and control points.

[0004] The current method for measuring the trailer included angle can only measure when the trailer included angle is small, and it is difficult to obtain an accurate trailer included angle in a scene where the trailer included angle is large (for example, when the trailer included angle exceeds ±40°). Therefore, how to realize a method for measuring the trailer included angle quickly and accurately with a simple structure is an issue that needs to be solved as soon as possible. Summary of the Invention [Problem to be solved by the invention]

[0005] The embodiments of the present application provide a method, an apparatus, and a vehicle for measuring a trailer included angle, which are simple in structure and enable a method for quickly and accurately measuring a trailer included angle. [Means for solving the problem]

[0006] To achieve the above objectives, the present application adopts the following technical solution:

[0007] On the other hand, an embodiment of the present application is a method for measuring a trailer included angle applied to a semi-trailer including a tractor head and a trailer, each of which is provided with at least one multiline laser radar on both sides, comprising: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data; The present invention provides a method for measuring a trailer included angle, comprising:

[0008] In another aspect, an embodiment of the present application is a trailer included angle measuring device applied to a semi-trailer including a tractor head having at least one multi-line laser radar installed on each side and a trailer, The device is in communication with the multi-line laser radar, and includes a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, a process for measuring a trailer included angle is realized, the process including: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data; A trailer included angle measuring device is further provided.

[0009] On the other hand, an embodiment of the present application is a computer-readable storage medium having a computer program stored thereon, When the program is executed by a processor, a process for measuring a trailer included angle applied to a semi-trailer including a tractor head having at least one multi-line laser radar installed on each side and a trailer is realized, and the process includes: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data; A computer readable storage medium is further provided.

[0010] On the other hand, an embodiment of the present application is a vehicle including the above-mentioned trailer included angle measurement device and a tractor head and a trailer, each of which is provided with at least one multi-line laser radar on both sides, The trailer included angle measuring device is connected to the multi-line laser radar in communication with the multi-line laser radar, and includes a memory, a processor, and a computer program stored in the memory and executable by the processor. When the processor executes the computer program, the device realizes a trailer included angle measuring process, the process including: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data; Further providing vehicles. Effect of the Invention

[0011] The trailer angle measuring method, device and vehicle according to the embodiment of the present application adopt at least one multi-line laser radar installed on both sides of the tractor head, and the multi-line laser radars installed on both sides can irradiate the surface of the trailer, so that the trailer angle can be calculated using a point cloud matching algorithm based on the corresponding laser point clouds and initial point cloud data received by each multi-line laser radar. In addition, the present application adopts calculating the trailer angle based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data when the trailer angle is an initial value, rather than the laser point cloud of a single laser radar, so that the accuracy is greatly improved.

[0012] Additional features and advantages of the present application will be set forth in the specification which follows, and in part will be obvious from the specification, or will be learned by the practice of the present application. The objectives and other advantages of the present application may be realized and obtained by the structure particularly pointed out in the written description, claims and drawings. [Brief description of the drawings]

[0013] The technical solution of the present application will be further explained in detail with reference to the following drawings and examples.

[0014] In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the drawings necessary for describing the embodiments or the prior art will be briefly described below. Of course, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without performing creative labor.

[0015] [Figure 1] FIG. 2 is a schematic diagram of the trailer included angle. [Diagram 2] 1 is a flowchart 1 of a method for measuring a trailer included angle according to an embodiment of the present application. [Diagram 3] FIG. 2 is a bottom view of a semi-trailer structure in an embodiment of the present application. [Figure 4] FIG. 1 is a schematic diagram of a work scene in which only one laser radar is installed on the tail of a tractor head in an embodiment of the present application. [Diagram 5] FIG. 1 is a schematic diagram of a work scene when one multi-line laser radar is installed on each side of a tractor head in an embodiment of the present application. [Figure 6] FIG. 1 is a distribution schematic diagram of a multi-line laser radar installed on both sides of a tractor head in an embodiment of the present application. [Figure 7] FIG. 2 is a distribution schematic diagram 2 of multi-line laser radars installed on both sides of a tractor head in an embodiment of the present application. [Figure 8] 2 is a flowchart 2 of the trailer included angle measuring method according to an embodiment of the present application. [Figure 9] FIG. 2 is a schematic diagram of the collection environment of an external multi-line laser radar in an embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of a preset area range in an embodiment of the present application. [Figure 11] FIG. 2 is a schematic diagram of a laser radar coordinate system established in an embodiment of the present application. [Figure 12] FIG. 2 is a graph schematic of angle data processed in an embodiment of the present application. [Figure 13] 1 is a structural schematic diagram of a vehicle in an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It is clear that the described embodiments are only some of the embodiments of the present application, and are not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without any creative work are all within the scope of protection of the present application.

[0017] In order to help those skilled in the art to better understand the present application, some technical terms related to the embodiments of the present application are explained below.

[0018] Point cloud: In reverse engineering, a set of point data of the exterior surface of an object obtained by a measuring device is called a point cloud.

[0019] ICP: Iterative Closest Point, the iterative closest point algorithm is mainly used in precise matching of depth images in computer vision, and achieves precise matching by iteratively minimizing the corresponding points of source data and target data. At present, there are many variants, and the main focus is on how to obtain good matching effect efficiently and robustly.

[0020] SVD (Singular Value Decomposition) The singular value decomposition algorithm is a method for reliably finding translation vectors and rotation matrices.

[0021] As shown in FIG. 2, an embodiment of the present application provides a method for measuring a trailer included angle, which is applied to one semi-trailer 20 shown in FIG. 3 (FIG. 3 is a bottom view of the semi-trailer 20), in which the semi-trailer 20 includes a tractor head 201 and a trailer 202, the tractor head 201 and the trailer 202 are connected by a rotating shaft 205, which allows the trailer 202 to rotate relative to the tractor head 201, and at least one multi-line laser radar 203 is installed on both sides of the tractor head 201 (e.g., on the left and right sides of the tip of the tractor head 201, i.e., the left and right sides of the front mask of the vehicle) (e.g., one multi-line laser radar, two multi-line laser radars or more multi-line laser radars may be installed on the left and right sides, respectively, and here, due to the limitations of FIG. 3, only one multi-line laser radar is installed on the left and right sides).

[0022] This method for measuring the trailer included angle includes the following steps.

[0023] In step 301, an initial trailer model is obtained when the trailer included angle is an initial value in a preset vehicle coordinate system, and initial point cloud data in the initial trailer model is obtained.

[0024] In step 302, the multi-line laser radars installed on both sides of the tractor head are controlled to emit lasers so that the lasers emitted from the multi-line laser radars are reflected by the surface of the trailer.

[0025] In step 303, each multi-line laser radar is controlled to receive a corresponding laser point cloud reflected from the surface of the trailer.

[0026] In step 304, the trailer included angle is calculated based on the corresponding laser point clouds and the initial point cloud data received by each multi-line laser radar using a point cloud matching algorithm.

[0027] Here, as shown in FIG. 4, a reflector having a reflecting surface may be fixedly installed at the front of the trailer 202, and a laser radar 206 (generally installed at the middle position of the tail of the tractor head, and a single-line laser radar is used as the laser radar) may be installed at the tail of the tractor head 201, with the reflecting surface facing the laser radar 206. Considering that a single laser radar 206 installed at the tail of the tractor head 201 can emit a laser to the reflecting surface of the reflector 204, it is generally possible to measure the trailer angle by this single laser radar 206. However, when the trailer angle is large, as shown in FIG. 4, the reflector 204 may move to the side of the tractor head 201 and enter the blind spot of the laser radar 206, and the laser emitted by the single laser radar 206 cannot hit the reflecting surface of the reflector 204, resulting in failure to measure the trailer angle. Therefore, in the embodiment of the present application, the trailer angle may be measured in a scene where the trailer angle is small (for example, the trailer angle is less than 40°) by adopting the aspect as shown in Fig. 4, or the trailer angle may be measured in a scene where the trailer angle is large (for example, the trailer angle is 40° or more) by adopting the steps 301 to 304, but is not limited thereto. The trailer angle may be measured in a scene where the trailer angle is small by the steps 301 to 304 in the embodiment of the present application.

[0028] Also, as shown in FIG. 5, the present application adopts the installation of at least one multi-line laser radar 203 on each side of the tractor head 201 (for example, the left and right sides of the tip of the tractor head 201, i.e., the left and right sides of the front mask) (for example, one multi-line laser radar, two multi-line laser radars, or more multi-line laser radars may be installed on the left and right sides, respectively, and here, due to the limitations of FIG. 5, only one multi-line laser radar is installed on the left and right sides). In this way, when the reflector 204 moves to the side of the tractor head 201, the laser emitted by at least one of the multi-line laser radars can hit the surface of the trailer, so that it can be used to measure the trailer angle. Also, the present application adopts the calculation of the trailer angle based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data when the trailer angle is the initial value, rather than the laser point cloud of a single laser radar, and as a result, the accuracy is greatly improved.

[0029] Here, to show that at least one multi-line laser radar 203 is installed on each side of the tractor head 201, as shown in Figures 6 and 7, the distribution of the multi-line laser radar 203 at the tip of the tractor head 201 may be, but is not limited to, one multi-line laser radar 203 (as shown in Figure 6) or two multi-line laser radars 203 (as shown in Figure 7) on each of the left and right sides. If cost is not a consideration, more multi-line laser radars can even be installed on the left and right sides.

[0030] In order to make the present application easier for those skilled in the art to understand, the present application provides a more detailed embodiment as follows. As shown in Fig. 8, the embodiment of the present application provides a method for measuring the trailer included angle applied to the semi-trailer 20 as shown in Fig. 3 above, the structure of the semi-trailer 20 has been described above and will not be described here. The method includes the following steps:

[0031] In step 401, a laser is emitted to both sides of the trailer when the trailer included angle is 0° using an external multi-line laser radar that has been pre-installed in a pre-set vehicle coordinate system, so that the surfaces on both sides of the trailer respectively reflect the laser emitted from the external multi-line laser radar.

[0032] In step 402, an external multi-line laser radar is controlled to receive laser point clouds reflected from surfaces on both sides of the trailer.

[0033] In step 403, the laser point clouds reflected on the surfaces on both sides of the trailer are subjected to an iterative closest point algorithm to obtain an initial trailer model when the trailer included angle is 0°, and initial point cloud data of the initial trailer model is obtained.

[0034] Generally, the above-mentioned steps 401 to 403 can adopt the following aspects. As shown in FIG. 9, a holder 501 is installed on one side of the road on which the vehicle runs, and an external multi-line laser radar 502 is installed on the holder 501 (for example, the installation height is 2m or more). In this way, the vehicle can first enter the laser emission range of the external multi-line laser radar 502 from one side while keeping the trailer angle at 0°, and then enter the laser emission range of the external multi-line laser radar 502 from the other side, so that both sides of the trailer can be irradiated by the laser, and the external multi-line laser radar 502 can also collect the laser point clouds on both sides of the trailer. After that, an initial trailer model when the trailer angle is 0° can be obtained by an iterative closest point algorithm, and further, initial point cloud data in the trailer initial model can be obtained, and the initial point cloud data here is denoted as {Pt}.

[0035] In step 404, the multi-line laser radars installed on both sides of the tractor head are controlled to emit lasers so that the lasers emitted from the multi-line laser radars are reflected by the surface of the trailer.

[0036] In the embodiments of the present application, the multi-line laser radar used and the external multi-line laser radar may be, but are not limited to, 16-line, 32-line, or 64-line laser radar.

[0037] In step 405, each multi-line laser radar is controlled to receive a corresponding laser point cloud reflected from the surface of the trailer.

[0038] Generally, the sampling frequency of each multi-line laser radar may be 10Hz, but is not limited thereto. In addition, when the multi-line laser radar emits a laser, it is given an identification corresponding to itself, so that when the multi-line laser radar receives the laser point cloud reflected on the surface of the trailer, it can be ensured that it receives only the laser point cloud corresponding to itself, without receiving the laser point cloud corresponding to other multi-line laser radars. In addition, in order to arrange the initial trailer included angles corresponding to each multi-line laser radar at the collection timing in the current cycle in the subsequent step 408, it is preferable that the collection timing of each multi-line laser radar is different, thereby avoiding two or more initial trailer included angles at the same collection timing, which are difficult to distinguish. In addition, due to the structural characteristics of the semi-trailer 20, when there is a certain trailer included angle, generally, only the multi-line laser radar on one side can receive the laser point cloud reflected on the surface of the trailer.

[0039] In step 406, the laser point clouds received by each multi-line laser radar are pre-processed, and an initial trailer included angle corresponding to each multi-line laser radar is obtained using an iterative closest point algorithm based on the initial point cloud data and the pre-processed laser point cloud.

[0040] Step 406 here can be accomplished by an iterative closest point algorithm.

[0041] In step 1, region of interest filtering is performed on the corresponding laser point clouds received by each multi-line laser radar to obtain laser point clouds within a preset region range.

[0042] The preset range here can be determined in the following manner: Based on the trailer angle of the previous cycle and the previously known trailer size, a range of a preset distance outside the trailer of the previous cycle is determined as the preset range.

[0043] For example, the following aspects can be adopted.

[0044] As shown in Figure 10, when the trailer angle of the previous cycle and the trailer size are already known, the current attitude of the trailer can be obtained, and a region range of a preset distance outside the trailer of the previous cycle (the figure shows the region within the horizontal plane range with hatching, but in reality, there are similar regions at the top and bottom of the trailer as well), and thus the three-dimensional region range can be set as the preset region range. The reason for setting it in this way is that the time between adjacent cycles is short (generally 0.1s) and the change in the trailer angle is relatively small, so the change between the current cycle and the previous cycle of the trailer is relatively small and should be within this preset region range.

[0045] In step 2, noise filtering is performed on the laser point cloud within a preset area range, and the noise-filtered laser point cloud corresponding to each multi-line laser radar is obtained, and the current trailer model corresponding to each multi-line laser radar is constructed.

[0046] Here, noise filtering can be used to filter out outlying points, resulting in a more accurate laser point cloud. Here, the point set composed of each point of the current trailer model is denoted as {Pn}, where n is a positive integer, and for example, {P1} denotes the point set composed of each point of the first trailer model.

[0047] In step 3, for each point in the current trailer model, the point in the initial point cloud data set that is closest to that point in a straight line is determined as a target point.

[0048] In step 4, the singular value decomposition algorithm is used to move each point to its corresponding target point, obtain the next trailer model, and generate the model matrix for the current iteration.

[0049] Here, the model matrix of the current iteration includes a rotation matrix of the current iteration and a translation matrix of the current iteration, and the rotation matrix of the current iteration includes a trigonometric relationship of the current deflection angles of the three coordinate axes in the vehicle coordinate system.

[0050] After step 4, the process returns to step 3 until the distance between each point in the current trailer model and the target point becomes smaller than a preset distance threshold, and then the process proceeds to step 5.

[0051] In an embodiment of the present application, after the multi-line laser radar is installed, a laser radar coordinate system is established, and all position information of the laser point cloud of the multi-line laser radar is based on this laser radar coordinate system. For example, a laser radar coordinate system as shown in FIG. 11 may be established, but is not limited to this. In establishing the laser radar coordinate system, another direction may be selected as the x-axis, a direction perpendicular to the x-axis on a horizontal plane as the y-axis, and a direction perpendicular to both the x-axis and y-axis as the z-axis (not shown, generally a vertical upward direction), and no further enumeration will be given here.

[0052] In this way, the model matrix An obtained after each iteration is JPEG0007553668000001.jpg2539, where: JPEG0007553668000002.jpg46 denotes the rotation matrix for the nth iteration, which is a 3-by-3 matrix. JPEG0007553668000003.jpg45 shows the translation matrix for this iteration, which is a 3-row, 1-column matrix. The rotation matrix for this n-th iteration is generally composed of three rotations, i.e. JPEG0007553668000004.jpg737JPEG0007553668000005.jpg48 is the x-axis rotation matrix in the vehicle coordinate system for the nth iteration, JPEG0007553668000006.jpg58 is the y-axis rotation matrix in the vehicle coordinate system for the nth iteration, JPEG0007553668000007.jpg48 is the z-axis rotation matrix in the vehicle coordinate system for the nth iteration. For example, in one embodiment, JPEG0007553668000008.jpg43162, where: JPEG0007553668000009.jpg47 is the x-axis deflection angle in the vehicle coordinate system for the nth iteration, JPEG0007553668000010.jpg57 is the y-axis deflection angle in the vehicle coordinate system for the nth iteration, JPEG0007553668000011.jpg57 is the z-axis deflection angle in the vehicle coordinate system for the nth iteration.

[0053] The translation matrix for this iteration is This can be expressed as JPEG0007553668000012.jpg1918. JPEG0007553668000013.jpg624 is the translation amount for the nth iteration.

[0054] In step 5, the model matrices for each iteration are multiplied to obtain the result matrix after multiplication.

[0055] Here, for example, if we perform a total of n iterations, we multiply the model matrices for each iteration, and the result matrix after multiplication is JPEG0007553668000014.jpg549, where the result matrix includes a result rotation matrix and a result translation matrix, and the result rotation matrix includes the trigonometric relationship of the deflection angles of the three coordinate axes in the vehicle coordinate system. For example, the result matrix Result rotation matrix for JPEG0007553668000015.jpg44 This can be expressed as JPEG0007553668000016.jpg1930. JPEG0007553668000017.jpg517 indicates the trigonometric relationship of the deflection angle at the corresponding position in the result rotation matrix R, and since this trigonometric relationship is complicated, the specific trigonometric relationship will not be enumerated any further.

[0056] In step 6, the initial trailer included angles corresponding to each of the multi-line laser radars are determined based on the resultant rotation matrix.

[0057] For example, if the result rotation matrix R is When represented as JPEG0007553668000018.jpg1930, the following relationship exists: JPEG0007553668000019.jpg27128 where, JPEG0007553668000020.jpg722 are the deflection angles around the x, y, and z axes for the current cycle. JPEG0007553668000021.jpg54 corresponds to the initial trailer angle.

[0058] In step 407, a selection is made for the initial trailer included angles corresponding to each multi-line laser radar based on a preset judgment condition.

[0059] Here, step 407 may be realized using the following two aspects, and of course, may be realized by combining these two aspects.

[0060] Aspect 1: It is determined whether the number of points in the laser point cloud after noise filtering corresponding to each multi-line laser radar is smaller than a preset threshold number of points.

[0061] The initial trailer included angles corresponding to the multi-line laser radar in which the number of points of the laser point cloud after noise filtering corresponding to the multi-line laser radar is smaller than a preset threshold number of points are excluded, and the initial trailer included angles corresponding to the multi-line laser radar in which the number of points of the laser point cloud after noise filtering corresponding to the multi-line laser radar is equal to or greater than a preset threshold number of points are retained.

[0062] Here, if the number of points of the laser point cloud after noise filtering corresponding to the multi-line laser radar is smaller than a preset point number threshold, it means that the current trailer model corresponding to the multi-line laser radar has been fitted using a relatively small number of laser point clouds. If the current trailer model is obtained by fitting using only a small number of laser point clouds, the obtained initial trailer included angle will be quite inaccurate and should be excluded.

[0063] Aspect 2: If the current cycle is not the first cycle, it is determined whether the deviation angle value between the initial trailer included angle corresponding to each multi-line laser radar of the current cycle and the trailer included angle of the previous cycle obtained by performing Kalman filter processing is greater than a preset deviation angle threshold value.

[0064] When the deviation angle value between the initial trailer included angle corresponding to the multi-line laser radar in the current cycle and the trailer included angle in the previous cycle obtained by performing Kalman filter processing is greater than a preset deviation angle threshold, the initial trailer included angle corresponding to the multi-line laser radar in the current cycle is excluded.

[0065] When the deviation angle value between the initial trailer encompassing angle corresponding to the multi-line laser radar in the current cycle and the trailer encompassing angle in the previous cycle obtained by performing Kalman filter processing is equal to or less than a preset deviation angle threshold, the initial trailer encompassing angle corresponding to the multi-line laser radar in the current cycle is retained.

[0066] Here, since the time difference between two adjacent cycles (generally only 0.1 seconds apart) is short, the change in the trailer angle is not very large, and if the deviation angle value between the initial trailer angle corresponding to the multi-line laser radar of the current cycle and the trailer angle of the previous cycle obtained by performing Kalman filter processing is greater than the preset deviation angle threshold, the initial trailer angle corresponding to the multi-line laser radar of the current cycle is determined as invalid data and should be excluded.

[0067] In step 408, the initial trailer included angles corresponding to each of the multi-line laser radars after sorting are arranged according to the collection timing in the current cycle to form angle data to be processed.

[0068] For example, taking as an example a case where there are two multi-line laser radars on each of the left and right sides of the front mask of the tractor head (for example, at this time, only the two multi-line laser radars on the left side have measured the corresponding initial trailer included angle), the measurement cycle of the multi-line laser radar is 0.1 s, the difference in measurement timing of the two multi-line laser radars is 0.05 s, and as shown in Figure 12, the abscissa is the timing corresponding to the initial trailer included angle, the ordinate is the angle of the initial trailer included angle, and the angle data to be processed is constituted by the entire ordinate data.

[0069] In step 409, a Kalman filter is performed based on the processed angle data to obtain the trailer angle for the current cycle.

[0070] Here, the reason for performing the Kalman filter process is that the surface of the trailer itself is not flat, and the multi-line laser radar itself has an observation error, so there is a certain error in the calculated initial trailer included angle, and the phenomenon that occurs is that the included angle jumps by ±1° to ±2° even when the vehicle is stationary. To solve this problem, the Kalman filter process performs noise reduction processing on the initial trailer included angle arranged at the collection timing in the angle data to be processed, and a smooth output result can be obtained by combining the initial trailer included angle and a simple kinematic model of the included angle change, and not only can the error of the measurement data measuring the trailer included angle in a stationary state be kept within ±0.5°, but also ensure that the measurement data changes accordingly in real time when the trailer included angle changes rapidly, and obvious delays can be avoided.

[0071] After step 409 described above, the process may return to step 404 for the next cycle of trailer angle measurements.

[0072] It can be seen that steps 401 to 409 described above can realize a method for quickly and accurately measuring the trailer included angle with a simple structure.

[0073] In addition, an embodiment of the present application further provides a trailer included angle measuring device, which includes a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, realizes a method corresponding to FIG. 2 or FIG. 8.

[0074] Moreover, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, realizes the method corresponding to FIG. 2 or FIG.

[0075] Furthermore, as shown in FIG. 13, an embodiment of the present application provides a vehicle 50 including the above-mentioned trailer angle measuring device 601, a tractor head 201, and a trailer 202 (a container can be loaded onto the trailer 202 related to the present application), and at least one multi-line laser radar 203 is installed on both sides of the tractor head 201 (for example, on both sides of the tip of the tractor head 201, i.e., on both sides of the vehicle front mask), and this trailer angle measuring device 601 is communicatively connected to the multi-line laser radar 203.

[0076] The trailer angle measuring method, device and vehicle according to the embodiment of the present application adopt at least one multi-line laser radar installed on both sides of the tractor head, and the multi-line laser radars installed on both sides can irradiate the surface of the trailer, so that the trailer angle can be calculated using a point cloud matching algorithm based on the corresponding laser point clouds and initial point cloud data received by each multi-line laser radar. In addition, the present application adopts calculating the trailer angle based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data when the trailer angle is an initial value, rather than the laser point cloud of a single laser radar, so that the accuracy is greatly improved.

[0077] The above describes the basic principles of the present application in connection with specific embodiments. However, it will be understood by those skilled in the art that all or any of the steps or components of the methods and apparatuses of the present application can be realized by hardware, software, or a combination thereof in a computing device (including a processor, a storage medium, etc.) or a network of computing devices, and it should be noted that this can be realized by those skilled in the art using basic programming techniques upon reading the specification of the present application.

[0078] Those skilled in the art can understand that implementing all or part of the steps included in the method of the above-mentioned embodiments may be completed by instructing relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and when the program is executed, it includes one or a combination of the steps of the method embodiments.

[0079] In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist physically alone, or two or more units may be integrated into one module. The integrated module may be realized in the form of hardware or software functional modules. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it may be stored in one computer-readable storage medium.

[0080] It should be understood by those skilled in the art that the embodiments of the present application may be provided as a method, a system, or a computer program product. Thus, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product embodied in one or more computer usable storage mediums (including, but not limited to, disk storage, optical storage, etc.) that contain computer usable program code.

[0081] The present application has been described with reference to flowcharts and / or block diagrams according to the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each process and / or block of the flowcharts and / or block diagrams, and combinations of processes and / or blocks of the flowcharts and / or block diagrams, can be realized by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing device generate an apparatus for implementing the functions specified in one or more processes of the flowcharts and / or one or more blocks of the block diagrams.

[0082] These computer program instructions may be stored in a computer readable memory that can direct a computer or programmable data processing device to operate in a particular manner, thereby causing the instructions stored in the computer readable memory to generate an article of manufacture that includes a command device, which implements the functions specified in a flow or flows of the flowcharts and / or a block or blocks of the block diagrams.

[0083] These computer program instructions may be loaded into a computer or other programmable data processing device, thereby causing the computer or other programmable device to perform a series of work steps to generate a computerized process, the instructions executing on the computer or other programmable device providing steps for implementing the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0084] Although the above embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments upon knowing the basic inventive concept. Therefore, it is intended that the appended claims be interpreted to include the above-described embodiments and all changes and modifications that fall within the scope of the present application.

[0085] Of course, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and the equivalent technology thereof, the present application also intends to include these modifications and variations.

Claims

1. A method for measuring a trailer included angle applied to a semi-trailer including a trailer and a tractor head having at least one multi-line laser radar installed on each side, comprising: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data; Including, Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each of the multi-line laser radars and the initial point cloud data; Pre-processing the laser point clouds received by each of the multi-line laser radars, and obtaining an initial trailer included angle corresponding to each of the multi-line laser radars using an iterative closest point algorithm based on the initial point cloud data and the pre-processed laser point cloud; Selecting the initial trailer included angles corresponding to each of the multi-line laser radars based on a preset judgment condition; Arranging the initial trailer included angles corresponding to each of the selected multi-line laser radars according to collection timing in the current cycle to form angle data to be processed; Performing a Kalman filter process based on the processed angle data to obtain a trailer angle for the current cycle; Includes A method for measuring a trailer included angle.

2. Pre-processing the laser point clouds received by each of the multi-line laser radars, and obtaining an initial trailer included angle corresponding to each of the multi-line laser radars using an iterative closest point algorithm based on the initial point cloud data and the pre-processed laser point cloud; Step 1: performing region of interest filtering on the laser point clouds received by each of the multi-line laser radars to obtain laser point clouds within a predetermined region range; Step 2 of performing noise filtering on the laser point cloud within the preset area range to obtain a noise-filtered laser point cloud corresponding to each multi-line laser radar, and constructing a current trailer model corresponding to each multi-line laser radar; Step 3: for each point in the current trailer model, determining a point in the initial point cloud data set that is closest to the point in a straight line as a target point; Step 4: using a singular value decomposition algorithm to move each of the points to a target point corresponding to each of the points, obtain a next trailer model, and generate a model matrix for the current iteration, the model matrix for the current iteration including a rotation matrix for the current iteration and a translation matrix for the current iteration, and the rotation matrix for the current iteration includes a trigonometric function relationship of the current deflection angles of the three coordinate axes in the vehicle coordinate system; Returning to step 3 after step 4 until the distance between each point in the current trailer model and the target point becomes smaller than a preset distance threshold, and then proceeding to step 5; Step 5: multiplying the model matrix for each iteration to obtain a result matrix after multiplication, the result matrix including a result rotation matrix and a result translation matrix, and the result rotation matrix includes a trigonometric function relationship of the deflection angles of the three coordinate axes in the vehicle coordinate system; Step 6: determining an initial trailer included angle corresponding to each of the multi-line laser radars based on the resultant rotation matrix; 2. The method for measuring a trailer included angle according to claim 1, further comprising:

3. 3. The method for measuring a trailer included angle according to claim 2, further comprising: determining an area range of a preset distance outside the trailer of the previous cycle as the preset area range based on the trailer included angle of the previous cycle and a previously known trailer size.

4. The method includes: selecting the initial trailer included angles corresponding to each of the multi-line laser radars based on the predetermined judgment conditions; Determining whether the number of points of the laser point cloud after noise filtering corresponding to each multi-line laser radar is less than a preset point number threshold; excluding an initial trailer included angle corresponding to a multi-line laser radar in which the number of points of a laser point cloud after noise filtering corresponding to the multi-line laser radar is smaller than the preset threshold number of points, and leaving an initial trailer included angle corresponding to a multi-line laser radar in which the number of points of a laser point cloud after noise filtering corresponding to the multi-line laser radar is equal to or greater than the preset threshold number of points; 3. The method for measuring a trailer included angle according to claim 2, further comprising:

5. The method includes: selecting the initial trailer included angles corresponding to each of the multi-line laser radars based on the predetermined judgment conditions; If the current cycle is not the first cycle, determining whether a deviation angle value between the initial trailer included angle corresponding to each multi-line laser radar of the current cycle and the trailer included angle of the previous cycle obtained by performing Kalman filter processing is greater than a preset deviation angle threshold value; If a deviation angle value between an initial trailer included angle corresponding to the multi-line laser radar of the current cycle and a trailer included angle of a previous cycle obtained by performing Kalman filtering processing is greater than a preset deviation angle threshold, excluding the initial trailer included angle corresponding to the multi-line laser radar of the current cycle; If the deviation angle between the initial trailer included angle corresponding to the multi-line laser radar of the current cycle and the trailer included angle of the previous cycle obtained by performing the Kalman filter processing is equal to or less than a preset deviation angle threshold value, the initial trailer included angle corresponding to the multi-line laser radar of the current cycle is retained; 3. The method for measuring a trailer included angle according to claim 2, further comprising:

6. A trailer angle measuring device that is applied to a semi-trailer including a trailer and a tractor head having at least one multi-line laser radar installed on each side, comprising: The device is in communication with the multi-line laser radar, and includes a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, a process for measuring a trailer included angle is realized, the process including: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating the trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data. fruit, Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each of the multi-line laser radars and the initial point cloud data; Pre-processing the laser point clouds received by each of the multi-line laser radars, and obtaining an initial trailer included angle corresponding to each of the multi-line laser radars using an iterative closest point algorithm based on the initial point cloud data and the pre-processed laser point cloud; Selecting the initial trailer included angles corresponding to each of the multi-line laser radars based on a preset judgment condition; Arranging the initial trailer included angles corresponding to each of the selected multi-line laser radars according to collection timing in the current cycle to form angle data to be processed; Performing a Kalman filter process based on the processed angle data to obtain a trailer angle for the current cycle; Includes A trailer included angle measuring device characterized by the above.

7. A computer-readable storage medium having a computer program stored thereon, When the program is executed by the processor, a process for measuring a trailer included angle applied to a semi-trailer including a tractor head having at least one multi-line laser radar installed on each side and a trailer is realized, and the process includes: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating the trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data. fruit, Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each of the multi-line laser radars and the initial point cloud data; Pre-processing the laser point clouds received by each of the multi-line laser radars, and obtaining an initial trailer included angle corresponding to each of the multi-line laser radars using an iterative closest point algorithm based on the initial point cloud data and the pre-processed laser point cloud; Selecting the initial trailer included angles corresponding to each of the multi-line laser radars based on a preset judgment condition; Arranging the initial trailer included angles corresponding to each of the selected multi-line laser radars according to collection timing in the current cycle to form angle data to be processed; Performing a Kalman filter process based on the processed angle data to obtain a trailer angle for the current cycle; Includes A computer-readable storage medium comprising:

8. A vehicle including a trailer included angle measuring device and a tractor head and a trailer each having at least one multi-line laser radar installed on both sides, The trailer included angle measuring device is connected to the multi-line laser radar in communication with the multi-line laser radar, and includes a memory, a processor, and a computer program stored in the memory and executable by the processor. When the processor executes the computer program, the device realizes a trailer included angle measuring process, the process including: Acquire an initial trailer model when the trailer included angle is an initial value in a preset vehicle coordinate system, and obtain initial point cloud data in the initial trailer model; Controlling the multi-line laser radars installed on both sides of the tractor head to emit lasers so that the surface of the trailer reflects the lasers emitted from the multi-line laser radars; controlling each multi-line laser radar to receive a corresponding laser point cloud reflected from a surface of the trailer; Calculating the trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each multi-line laser radar and the initial point cloud data. fruit, Calculating a trailer included angle using a point cloud matching algorithm based on the corresponding laser point clouds received by each of the multi-line laser radars and the initial point cloud data; Pre-processing the laser point clouds received by each of the multi-line laser radars, and obtaining an initial trailer included angle corresponding to each of the multi-line laser radars using an iterative closest point algorithm based on the initial point cloud data and the pre-processed laser point cloud; Selecting the initial trailer included angles corresponding to each of the multi-line laser radars based on a preset judgment condition; Arranging the initial trailer included angles corresponding to each of the selected multi-line laser radars according to collection timing in the current cycle to form angle data to be processed; Performing a Kalman filter process based on the processed angle data to obtain a trailer angle for the current cycle; Includes A vehicle characterized by:

9. 9. The vehicle according to claim 8, wherein at least one multi-line laser radar is installed on each side of the tip of the tractor head.

Citation Information

Patent Citations

  • Trailer connecting angle detector

    JP2001334966A

  • Method for connecting trailer to automobile

    JP2006001533A

  • JPP7330276B

  • Use of laser scanner for autonomous truck operation

    US20160368336A1