Vehicle docking control method and device and vehicle
By acquiring and utilizing the position information of multiple positioning points of the vehicle docking device to perform posture and position adjustments, the problems of low vehicle docking efficiency and poor accuracy in the existing technology are solved, and an efficient and safe docking process is achieved.
Patent Information
- Application Number
- CN202310314989.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-03-20
AI Technical Summary
Existing vehicle docking control methods are inefficient, time-consuming, and have poor docking accuracy. The multi-sensor sensing system is complex, making it difficult to achieve efficient and accurate docking.
By obtaining the actual position information of multiple positioning points, the docking device is controlled to adjust its pose and position, and the position of the positioning points is determined using lidar scanning and reflected signals to achieve precise docking of the docking device and reduce hardware dependence.
It improves the accuracy and safety of vehicle docking, reduces costs, simplifies the docking process, and reduces dependence on hardware equipment.
Smart Images

Figure CN118689209A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicles, and in particular, to a vehicle docking control method, device and vehicle. Background Art
[0002] Docking vehicles refers to the process of connecting a car to another car to achieve fast, safe and efficient transportation of goods. At present, the common method of docking two vehicles is through manual or manual-assisted electric methods. Manual docking is inefficient, time-consuming, poor docking accuracy, and wastes manpower.
[0003] The premise of automatic docking of two vehicles is to obtain the relative position of the two vehicles. The more accurate the relative position, the better the docking effect. In the docking control method in the prior art, the docking mechanism is designed with a multi-sensor perception system such as a visual sensor, a laser ranging sensor, and a force sensor. It needs to work with the help of multiple sensors. The number of corresponding sensing elements is large, the control process is cumbersome, and it is difficult to achieve efficient and accurate docking. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a vehicle docking control method, device and vehicle.
[0005] According to a first aspect of an embodiment of the present disclosure, a vehicle docking control method is provided, the method comprising:
[0006] Acquiring actual position information of a plurality of first positioning points set on the first docking device and actual position information of a plurality of second positioning points set on the second docking device, wherein the second positioning points correspond to the first positioning points one by one, the first docking device is installed on the front vehicle, the second docking device is installed on the rear vehicle, and the first docking device is used to connect with the second docking device to dock the front vehicle with the rear vehicle;
[0007] According to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point, controlling the first docking device to adjust the posture so that the first docking device and the second docking device do not collide in space;
[0008] According to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, the first docking device is controlled to adjust the position so that the actual position information of the target positioning point pair is consistent with the target position information, wherein the target positioning point pair includes one first positioning point and a second positioning point corresponding to the first positioning point.
[0009] Optionally, controlling the first docking device to adjust the posture according to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point includes:
[0010] Determine the pitch angle and roll angle between the first docking device and the second docking device according to the actual position information of the plurality of first positioning points and the actual position information of the plurality of second positioning points;
[0011] The first docking device is controlled to rotate according to the pitch angle and the roll angle.
[0012] Optionally, the first positioning points include a plurality of first horizontal positioning points arranged along the horizontal direction of the first docking device and a plurality of first vertical positioning points arranged along the vertical direction of the first docking device; the second positioning points include a plurality of second horizontal positioning points arranged along the horizontal direction of the second docking device and a plurality of second vertical positioning points arranged along the vertical direction of the second docking device;
[0013] Determining a pitch angle and a roll angle between the first docking device and the second docking device according to actual position information of the plurality of first positioning points and actual position information of the plurality of second positioning points includes:
[0014] Determine the normal vector of the horizontal positioning plane of the first docking device according to the actual position information of each first horizontal positioning point, and determine the normal vector of the vertical positioning plane of the first docking device according to the actual position information of each first vertical positioning point;
[0015] Determine the normal vector of the horizontal positioning plane of the second docking device according to the actual position information of each second horizontal positioning point, and determine the normal vector of the vertical positioning plane of the second docking device according to the actual position information of each second vertical positioning point;
[0016] Determine the angle between the normal vectors of the horizontal positioning planes of the first docking device and the second docking device as the pitch angle;
[0017] The angle between the normal vectors of the vertical positioning planes of the first docking device and the second docking device is determined as the roll angle.
[0018] Optionally, controlling the first docking device to adjust the posture according to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point includes:
[0019] Determine current contour information of the first docking device and current contour information of the second docking device according to actual position information of the target positioning point pair, and pre-stored relative position information of a first positioning point in the target positioning point pair and a contour of the first docking device, and relative position information of a second positioning point in the target positioning point pair and a contour of the second docking device;
[0020] Determine, based on the current contour information of the first docking device and the current contour information of the second docking device, a target direction in which the first docking device and the second docking device overlap in position, and determine a target moving distance of the first docking device in the target direction;
[0021] The first docking device is controlled to move a target moving distance in a target direction.
[0022] Optionally, the contour information of the first docking device includes minimum limit position information and maximum limit position information of the contour of the first docking device in each preset direction, and the contour information of the second docking device includes minimum limit position information and maximum limit position information of the contour of the second docking device in each preset direction;
[0023] Determining a target direction in which the first docking device and the second docking device overlap in position according to current contour information of the first docking device and current contour information of the second docking device, and determining a target moving distance of the first docking device in the target direction, including:
[0024] If the current position intervals of the first docking device and the second docking device in the same preset direction intersect, the preset direction is determined as the target direction, wherein the position interval of the first docking device in the preset direction is defined by the minimum limit position information and the maximum limit position information of the first docking device in the preset direction, and the position interval of the second docking device in the preset direction is defined by the minimum limit position information and the maximum limit position information of the second docking device in the preset direction;
[0025] The target moving distance of the first docking device in the target direction is determined according to the distance between the current minimum limit position of the first docking device in the target direction and the current maximum limit position of the second docking device in the target direction, and a preset distance margin.
[0026] Optionally, before the step of acquiring the actual position information of the plurality of first positioning points set on the first docking device and the actual position information of the plurality of second positioning points set on the second docking device, the method further comprises:
[0027] Controlling the laser radar to scan the first docking device and the second docking device;
[0028] The actual position information of the first positioning point and the actual position information of the second positioning point are determined according to the reflected signal received by the laser radar.
[0029] Optionally, positioning patches are provided at the first positioning point and the second positioning point, and the positioning patches at different positioning points have different reflectivities;
[0030] Determining the actual position information of the first positioning point and the actual position information of the second positioning point according to the reflected signal received by the laser radar includes:
[0031] Determine the positioning point to which the reflected signal belongs according to the reflectivity of the received reflected signal;
[0032] According to the time interval between the laser radar emitting the laser signal and receiving the reflected signal, the distance between the laser radar and the positioning point to which the reflected signal belongs is determined, and according to the reflection angle of the reflected signal, the angle between the laser radar and the positioning point to which the reflected signal belongs is determined. According to the distance and angle between the laser radar and the positioning point to which the reflected signal belongs, the actual position information of the positioning point to which the reflected signal belongs is determined.
[0033] According to a second aspect of an embodiment of the present disclosure, a vehicle docking control device is provided, the device comprising:
[0034] an acquisition module, configured to acquire actual position information of a plurality of first positioning points set on the first docking device and actual position information of a plurality of second positioning points set on the second docking device, wherein the second positioning points correspond to the first positioning points one by one, the first docking device is installed on the front vehicle, the second docking device is installed on the rear vehicle, and the first docking device is used to connect with the second docking device to dock the front vehicle with the rear vehicle;
[0035] a control module configured to control the first docking device to adjust its position according to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point, so that the first docking device and the second docking device do not collide in space;
[0036] The control module is also configured to control the first docking device to adjust the position according to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, so that the actual position information of the target positioning point pair is consistent with the target position information, wherein the target positioning point pair includes one of the first positioning points and a second positioning point corresponding to the first positioning point.
[0037] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0038] processor;
[0039] a memory for storing processor-executable instructions;
[0040] Among them, the processor is configured to run executable instructions to implement the steps of the vehicle docking control method provided in the first aspect of the present disclosure.
[0041] According to a fourth aspect of an embodiment of the present disclosure, there is provided a vehicle, comprising: a first docking device, used to connect with a second docking device installed on another vehicle to dock the two vehicles, wherein the first docking device is provided with a plurality of first positioning points, and the second docking device is provided with second positioning points corresponding to the first positioning points one by one;
[0042] A laser radar, used for scanning the first docking device and the second docking device;
[0043] A controller is used to execute the steps of the vehicle docking control method provided in the first aspect of the present disclosure.
[0044] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the vehicle docking control method provided in the first aspect of the present disclosure are implemented.
[0045] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0046] In the above technical solution, the actual position information of the multiple first positioning points set on the first docking device and the actual position information of the multiple second positioning points set on the second docking device are obtained, and the first docking device is controlled to adjust its posture according to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point, so that the first docking device and the second docking device do not collide in space; according to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, the first docking device is controlled to adjust its position so that the actual position information of the target positioning point pair is consistent with the target position information, and then the first docking device is controlled to complete the docking with the second docking device. The technical solution in the present disclosure can pre-store the target position information of a pair of target positioning point pairs. Therefore, during automatic docking, only a small amount of actual position information needs to be obtained to determine the relative position of the first docking device and the second docking device, which reduces the dependence on hardware equipment and reduces costs. In addition, in the present disclosure, according to the actual position information of the multiple first positioning points set on the first docking device and the actual position information of the multiple second positioning points set on the second docking device, the first docking device is controlled to adjust its posture so that the two vehicles do not collide during the docking process, thereby improving the accuracy and safety of the docking of the two vehicles.
[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0049] Figure 1 is a flow chart of a vehicle docking control method according to an exemplary embodiment;
[0050] Figure 2 is a schematic diagram showing the position of a first positioning point on a first docking device according to an exemplary embodiment;
[0051] Figure 3 is a schematic diagram showing the position of a second positioning point on a second docking device according to an exemplary embodiment;
[0052] Figure 4 is a schematic diagram showing a pitch angle of a first docking device and a second docking device according to an exemplary embodiment;
[0053] Figure 5 is a schematic diagram showing a roll angle of a first docking device and a second docking device according to an exemplary embodiment;
[0054] Figure 6 is a structural diagram of a vehicle docking control device according to an exemplary embodiment;
[0055] Figure 7 The diagram is a structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0057] Figure 1 FIG. 1 is a flow chart of a vehicle docking control method according to an exemplary embodiment. Figure 1 As shown, the vehicle docking control method may include:
[0058] In step S11, the actual position information of multiple first positioning points set on the first docking device and the actual position information of multiple second positioning points set on the second docking device are obtained, wherein the second positioning points correspond one-to-one to the first positioning points, the first docking device is installed on the front vehicle, the second docking device is installed on the rear vehicle, and the first docking device is used to connect with the second docking device to dock the front vehicle with the rear vehicle.
[0059] The actual position information of the first positioning point and the actual position information of the second positioning point can be obtained based on 3D structured light camera scanning; the actual position information of the first positioning point and the actual position information of the second positioning point can also be obtained based on RGB binocular scanning. Optionally, in the embodiment of the present disclosure, the actual position information of the first positioning point and the actual position information of the second positioning point can be obtained based on laser radar scanning. The actual position information of the first positioning point and the actual position information of the second positioning point are obtained, wherein the actual position information may include coordinate position information, wherein the coordinate position information refers to the coordinate position in the following coordinate system: the position of the laser radar is the origin, the direction of travel of the previous vehicle is the Y direction, the direction perpendicular to the ground and upward is the Z direction, and the direction perpendicular to the YOZ plane and to the right is the X direction.
[0060] In step S12, the first docking device is controlled to adjust its posture according to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point, so that the first docking device and the second docking device do not collide in space.
[0061] Collision refers to the contact between a part and another part because the distance between the parts is less than the set clearance value. In the embodiment of the present disclosure, the first docking device and the second docking device do not collide in space, which means that during the docking process between the first docking device and the second docking device, there is no possibility of collision between the first docking device and the second docking device.
[0062] As a possible implementation, based on the actual position information of at least one first positioning point and the actual position information of at least one second positioning point, controlling the first docking device to adjust its posture can be: only considering the possible collision of the first docking device in the moving direction. At this time, the position information of all first positioning points and all second positioning points is not required, only the position information of one first positioning point and the second positioning point corresponding to the first positioning point is required, and the first docking device can be controlled to adjust its posture to achieve no collision between the first docking device and the second docking device in the moving space.
[0063] As another possible implementation, controlling the first docking device to adjust its posture according to actual position information of at least one first positioning point and actual position information of at least one second positioning point may also be: considering possible collision of the first docking device in the rotation direction, at this time, position information of multiple first positioning points and multiple second positioning points corresponding to the first positioning points are required to control the first docking device to adjust its posture so as to achieve non-collision between the first docking device and the second docking device in the rotation space.
[0064] In step S13, according to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, the first docking device is controlled to adjust the position so that the actual position information of the target positioning point pair is consistent with the target position information, wherein the target positioning point pair includes one first positioning point and a second positioning point corresponding to the first positioning point.
[0065] In the disclosed embodiment, any first positioning point can be selected from the first docking device, and the selected first positioning point and the second positioning point corresponding to the selected first positioning point form the above-mentioned target positioning point pair. In addition, the target position information of the target positioning point pair can be pre-stored. The target position information is used to indicate the position information of the first positioning point and the second positioning point in the target positioning point pair when the first docking device successfully docks with the second docking device, and the target position information can be determined through a pre-calibration process.
[0066] According to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, controlling the first docking device to adjust the position can be: controlling the first docking device to move in at least one direction of the X direction, the Y direction and the Z direction, so that the actual position information of the target positioning point pair is consistent with the target position information.
[0067] In the above technical solution, the actual position information of the multiple first positioning points set on the first docking device and the actual position information of the multiple second positioning points set on the second docking device are obtained, and the first docking device is controlled to adjust its posture according to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point, so that the first docking device and the second docking device do not collide in space; according to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, the first docking device is controlled to adjust its position so that the actual position information of the target positioning point pair is consistent with the target position information, and then the first docking device is controlled to complete the docking with the second docking device. The technical solution in the present disclosure can pre-store the target position information of a pair of target positioning point pairs. Therefore, during automatic docking, only a small amount of actual position information needs to be obtained to determine the relative position of the first docking device and the second docking device, which reduces the dependence on hardware equipment and reduces costs. In addition, in the present disclosure, according to the actual position information of the multiple first positioning points set on the first docking device and the actual position information of the multiple second positioning points set on the second docking device, the first docking device is controlled to adjust its posture so that the two vehicles do not collide during the docking process, thereby improving the accuracy and safety of the docking of the two vehicles.
[0068] As a possible implementation, before step S11, the vehicle docking control method may include:
[0069] Controlling the laser radar to scan the first docking device and the second docking device,
[0070] The actual position information of the first positioning point and the actual position information of the second positioning point are determined according to the reflected signal received by the laser radar.
[0071] Laser radar is a radar system that emits laser beams to detect the position, speed and other characteristic quantities of a target. In the embodiment of the present disclosure, the laser radar is controlled to emit a detection signal (for example, a laser beam) to the first docking device and the second docking device to scan the first docking device and the second docking device. The laser radar can be set at the rear of the front vehicle, for example.
[0072] For example, the first docking device may be a trailer hook installed at the rear of the front vehicle, and the second docking device may be a trailer cover installed at the head of the rear vehicle. A plurality of first positioning points are arranged on the first docking device, and the position information of each first positioning point can be determined by scanning the first docking device with a laser radar. Similarly, a plurality of second positioning points are arranged on the second docking device, and the position information of each second positioning point can be determined by scanning the second docking device with a laser radar.
[0073] The signals reflected from the first and second positioning points received by the laser radar (for example, the target echo) are compared with the transmitted detection signals, and after relevant processing, the target information of the first and second positioning points can be obtained, thereby realizing the detection or identification of the first and second positioning points. The target information can include, for example, but is not limited to: target distance, direction, height, speed or attitude.
[0074] During the docking process of two vehicles, the front and rear vehicle docking devices may generate interference based on the structure. The interference generated based on the structure may include: interference generated based on the assembly angle and interference based on the distance that may be generated during movement. Regarding the interference generated based on the assembly angle, in a possible implementation, step S12 may further include:
[0075] Determine the pitch angle and roll angle between the first docking device and the second docking device according to the actual position information of the plurality of first positioning points and the actual position information of the plurality of second positioning points;
[0076] The first docking device is controlled to rotate according to the pitch angle and the roll angle.
[0077] According to the determined pitch angle and roll angle between the first docking device and the second docking device, the first docking device is controlled to rotate until the pitch angle and roll angle between the first docking device and the second docking device are adjusted to zero. In this way, the first docking device and the second docking device can reach a relatively parallel state, and there is no interference between the first docking device and the second docking device in the rotation space.
[0078] For example, M first positioning points are set on the first docking device. At this time, the pitch angle and roll angle between the first docking device and the second docking device are determined according to the actual position information of the N first positioning points and the actual position information of the second positioning points corresponding to the N first positioning points, wherein 1<N≤M, and N and M are both integers greater than 1.
[0079] In the present disclosure, the first positioning points include a plurality of first horizontal positioning points arranged along the horizontal direction of the first docking device and a plurality of first vertical positioning points arranged along the vertical direction of the first docking device; the second positioning points include a plurality of second horizontal positioning points arranged along the horizontal direction of the second docking device and a plurality of second vertical positioning points arranged along the vertical direction of the second docking device; and according to actual position information of the plurality of first positioning points and actual position information of the plurality of second positioning points, determining the pitch angle and roll angle between the first docking device and the second docking device includes:
[0080] Determine the normal vector of the horizontal positioning plane of the first docking device according to the actual position information of each first horizontal positioning point, and determine the normal vector of the vertical positioning plane of the first docking device according to the actual position information of each first vertical positioning point;
[0081] Determine the normal vector of the horizontal positioning plane of the second docking device according to the actual position information of each second horizontal positioning point, and determine the normal vector of the vertical positioning plane of the second docking device according to the actual position information of each second vertical positioning point;
[0082] Determine the angle between the normal vectors of the horizontal positioning planes of the first docking device and the second docking device as the pitch angle;
[0083] The angle between the normal vectors of the vertical positioning planes of the first docking device and the second docking device is determined as the roll angle.
[0084] For example, see Figure 2 and Figure 3 , the first docking device has four first positioning points, which are positioning point 1, positioning point 2, positioning point 3 and positioning point 4; the second docking device has four second positioning points corresponding to the first positioning points, which are positioning point 5, positioning point 6, positioning point 7 and positioning point 8, wherein positioning point 1 corresponds to positioning point 5, positioning point 2 corresponds to positioning point 6, positioning point 3 corresponds to positioning point 7, and positioning point 4 corresponds to positioning point 8. The actual position coordinates of positioning point 1 are (X1, Y1, Z1), the actual position coordinates of positioning point 2 are (X2, Y2, Z2), the actual position coordinates of positioning point 3 are (X3, Y3, Z3), and the actual position coordinates of positioning point 4 are (X4, Y4, Z4).
[0085] See also Figure 4 and Figure 5 , positioning point 1, positioning point 2, and positioning point 3 determine the horizontal positioning plane 9 of the first docking device, and the horizontal positioning plane includes: a first vector, a second vector, and a third vector. The position coordinates corresponding to the first vector are (X2-X1, Y2-Y1, Z2-Z1), the position coordinates corresponding to the second vector are (X3-X1, Y3-Y1, Z3-Z1), and the position coordinates corresponding to the third vector are (X3-X2, Y3-Y2, Z3-Z2). The position coordinates corresponding to the normal vector 15 of the horizontal positioning plane 9 are (a, b, c). The normal vector 15 of the horizontal positioning plane 9 of the first docking device is calculated according to the following calculation formula:
[0086]
[0087] Similarly, the vertical positioning plane 10 of the first docking device is determined according to positioning point 1, positioning point 2, and positioning point 4. The vertical positioning plane 10 includes: a first vector, a fourth vector, and a fifth vector. The position coordinates corresponding to the first vector are (X2-X1, Y2-Y1, Z2-Z1), the position coordinates corresponding to the fourth vector are (X4-X1, Y4-Y1, Z4-Z1), and the position coordinates corresponding to the fifth vector are (X4-X2, Y4-Y2, Z4-Z2). According to the above calculation method, the position coordinates corresponding to the normal vector 16 of the vertical positioning plane 10 of the first docking device are determined.
[0088] Similarly, positioning point 5, positioning point 6, and positioning point 7 determine the horizontal positioning plane 11 of the second docking device. The horizontal positioning plane 11 includes: the sixth vector, the seventh vector and the eighth vector. The position coordinates corresponding to the sixth vector are (X6-X5, Y6-Y5, Z6-Z5), the position coordinates corresponding to the seventh vector are (X7-X5, Y7-Y5, Z7-Z5), and the position coordinates corresponding to the eighth vector are (X7-X6, Y7-Y6, Z7-Z6). According to the above calculation method, the position coordinates corresponding to the normal vector 17 of the horizontal positioning plane 11 of the second docking device are determined.
[0089] Similarly, positioning point 5, positioning point 6, and positioning point 8 determine the vertical positioning plane 12 of the second docking device. The vertical positioning plane 12 includes: the sixth vector, the ninth vector, and the tenth vector. The position coordinates corresponding to the sixth vector are (X6-X5, Y6-Y5, Z6-Z5), the position coordinates corresponding to the ninth vector are (X8-X5, Y8-Y5, Z8-Z5), and the position coordinates corresponding to the tenth vector are (X8-X6, Y8-Y6, Z8-Z6). According to the above calculation method, the position coordinates corresponding to the normal vector 18 of the vertical positioning plane 12 of the second docking device are determined.
[0090] After determining the position coordinates of the normal vector 15, the forward vector direction of the normal vector 15 is determined according to the positioning point 4. In the embodiment of the present application, the forward vector direction is determined by whether the product of the vector determined with the positioning point 3 as the vector starting point and the positioning point 4 as the vector end point and the normal vector 15 is greater than 0. If the product of the vector determined with the positioning point 3 as the vector starting point and the positioning point 4 as the vector end point and the normal vector 15 is greater than 0, the direction of the existing normal vector 15 is determined as the forward vector direction; if the product of the vector determined with the positioning point 3 as the vector starting point and the positioning point 4 as the vector end point and the normal vector 15 is less than 0, the direction opposite to the existing normal vector 15 is determined as the forward vector direction.
[0091] Similarly, after determining the position coordinates of the normal vector 16, the forward vector direction of the normal vector 16 is determined according to the positioning point 3. In the embodiment of the present application, the forward vector direction is determined by whether the product of the vector determined with the positioning point 3 as the vector starting point and the positioning point 1 as the vector end point and the normal vector 16 is greater than 0. If the product of the vector determined with the positioning point 3 as the vector starting point and the positioning point 1 as the vector end point and the normal vector 16 is greater than 0, the direction of the existing normal vector 16 is determined as the forward vector direction; if the product of the vector determined with the positioning point 3 as the vector starting point and the positioning point 1 as the vector end point and the normal vector 16 is less than 0, the direction opposite to the existing normal vector 16 is determined as the forward vector direction.
[0092] Similarly, after determining the position coordinates of the normal vector 17, the forward vector direction of the normal vector 17 is determined according to the positioning point 8. In the embodiment of the present application, the forward vector direction is determined by whether the product of the vector determined with the positioning point 7 as the vector starting point and the positioning point 8 as the vector end point and the normal vector 17 is greater than 0. If the product of the vector determined with the positioning point 7 as the vector starting point and the positioning point 8 as the vector end point and the normal vector 17 is greater than 0, the direction of the existing normal vector 17 is determined as the forward vector direction; if the product of the vector determined with the positioning point 7 as the vector starting point and the positioning point 8 as the vector end point and the normal vector 17 is less than 0, the direction opposite to the existing normal vector 17 is determined as the forward vector direction.
[0093] Similarly, after determining the position coordinates of the normal vector 18, the forward vector direction of the normal vector 18 is determined according to the positioning point 7. In the embodiment of the present application, the forward vector direction is determined by whether the product of the vector determined with the positioning point 7 as the vector starting point and the positioning point 5 as the vector end point and the normal vector 18 is greater than 0. If the product of the vector determined with the positioning point 7 as the vector starting point and the positioning point 5 as the vector end point and the normal vector 18 is greater than 0, the existing normal vector 18 direction is determined as the forward vector direction; if the product of the vector determined with the positioning point 7 as the vector starting point and the positioning point 5 as the vector end point and the normal vector 18 is less than 0, the direction opposite to the existing normal vector 18 is determined as the forward vector direction.
[0094] According to the cosine value of the normal vector 15 of the horizontal positioning plane 9 of the first docking device and the normal vector 17 of the horizontal positioning plane 11 of the second docking device, the angle 19 between the two vectors can be calculated. The angle 19 is the angle between the horizontal positioning plane of the first docking device and the horizontal positioning plane of the second docking device. The angle 19 is determined as the pitch angle.
[0095] According to the cosine value of the normal vector 16 of the vertical positioning plane 10 of the first docking device and the normal vector 18 of the horizontal positioning plane 12 of the second docking device, the angle 20 between the two vectors can be calculated. The angle 20 is the angle between the vertical positioning plane of the first docking device and the vertical positioning plane of the second docking device. The angle 20 is determined as the roll angle.
[0096] According to the determined pitch angle and roll angle, the first docking device is controlled to rotate in the horizontal direction, and the rotation angle value is the angle value corresponding to the angle 19; the first docking device is controlled to rotate in the vertical direction, and the rotation angle value is the angle value corresponding to the angle 20. By controlling the first docking device to rotate in the horizontal direction and / or the vertical direction, the pitch angle and / or the roll angle after adjustment is made zero, so that there is no interference between the first docking device and the second docking device in the rotation space.
[0097] With respect to the distance interference that may be generated during movement, in another possible implementation, step S13 may further include:
[0098] Determine current contour information of the first docking device and current contour information of the second docking device according to actual position information of the target positioning point pair, and pre-stored relative position information of a first positioning point in the target positioning point pair and a contour of the first docking device, and relative position information of a second positioning point in the target positioning point pair and a contour of the second docking device;
[0099] Determine, based on the current contour information of the first docking device and the current contour information of the second docking device, a target direction in which the first docking device and the second docking device overlap in position, and determine a target moving distance of the first docking device in the target direction;
[0100] The first docking device is controlled to move a target moving distance in a target direction.
[0101] In this embodiment, the relative position information of the first positioning point in the target positioning point pair and the contour of the first docking device can be pre-stored, and the relative position information is used to characterize the relative position of the first positioning point in the target positioning point pair relative to the contour of the first docking device when the first docking device and the second docking device are successfully docked. Similarly, the relative position information of the second positioning point in the target positioning point pair and the contour of the second docking device is also pre-stored, and the relative position information is used to characterize the relative position of the second positioning point in the target positioning point pair relative to the contour of the second docking device when the first docking device and the second docking device are successfully docked.
[0102] In this way, after obtaining the actual position information of the target positioning point pair, the current contour information of the first docking device and the current contour information of the second docking device can be determined according to the above-mentioned pre-stored relative position information. For example, the current contour information of the first docking device is determined according to the actual position information of the first positioning point in the target positioning point pair and the relative position information between the first positioning point and the contour of the first docking device; and the current contour information of the second docking device is determined according to the actual position information of the second positioning point in the target positioning point pair and the relative position information between the second positioning point and the contour of the second docking device.
[0103] In the present disclosure, the profile information of the first docking device includes the minimum limit position information and the maximum limit position information of the profile of the first docking device in each preset direction, and the profile information of the second docking device includes the minimum limit position information and the maximum limit position information of the profile of the second docking device in each preset direction. The preset directions include the above-mentioned X direction, Y direction and Z direction. The minimum limit position information and the maximum limit position information in a certain direction respectively represent the minimum coordinate value and the maximum coordinate value in the direction.
[0104] After the current contour information of the first docking device and the current contour information of the second docking device are determined, a target direction in which the first docking device and the second docking device overlap in position may be determined.
[0105] Optionally, determining a target direction in which the first docking device and the second docking device overlap in position, and determining a target moving distance of the first docking device in the target direction according to current contour information of the first docking device and current contour information of the second docking device may include:
[0106] If the current position intervals of the first docking device and the second docking device in the same preset direction intersect, the preset direction is determined as the target direction, wherein the position interval of the first docking device in the preset direction is defined by the minimum limit position information and the maximum limit position information of the first docking device in the preset direction, and the position interval of the second docking device in the preset direction is defined by the minimum limit position information and the maximum limit position information of the second docking device in the preset direction;
[0107] The target moving distance of the first docking device in the target direction is determined according to the distance between the current minimum limit position of the first docking device in the target direction and the current maximum limit position of the second docking device in the target direction, and a preset distance margin.
[0108] For example, it is determined that the maximum limit position of the contour of the first docking device in the X direction of the three-dimensional coordinate system is X22, the minimum limit position of the contour of the first docking device in the X direction of the three-dimensional coordinate system is X21, the maximum limit position of the contour of the first docking device in the Y direction of the three-dimensional coordinate system is Y33, the minimum limit position of the contour of the first docking device in the Y direction of the three-dimensional coordinate system is Y31, the maximum limit position of the contour of the first docking device in the Z direction of the three-dimensional coordinate system is Z44, and the minimum limit position of the contour of the first docking device in the Z direction of the three-dimensional coordinate system is Z41; the maximum limit position of the contour of the second docking device in the X direction of the three-dimensional coordinate system is X55, the minimum limit position of the contour of the second docking device in the X direction of the three-dimensional coordinate system is X51, the maximum limit position of the contour of the second docking device in the Y direction of the three-dimensional coordinate system is Y66, the minimum limit position of the contour of the second docking device in the Y direction of the three-dimensional coordinate system is Y61, the maximum limit position of the contour of the second docking device in the Z direction of the three-dimensional coordinate system is Z77, and the minimum limit position of the contour of the second docking device in the Z direction of the three-dimensional coordinate system is Z71. Determine whether the two position intervals (X21, X22) and (X51, X55) have an intersection, that is, a common interval. If the two position intervals (X21, X22) and (X51, X55) have an intersection, it is determined that the first docking device and the second docking device overlap in the X direction, that is, the X direction is the target direction; determine whether the two position intervals (Y31, Y33) and (Y61, Y66) have an intersection. If the two position intervals (Y31, Y33) and (Y61, Y66) have an intersection, it is determined that the first docking device and the second docking device overlap in the Y direction, that is, the Y direction is the target direction; determine whether the two position intervals (Z41, Z44) and (Z71, Z77) have an intersection. If the two position intervals (Z41, Z44) and (Z71, Z77) have an intersection, it is determined that the first docking device and the second docking device overlap in the Z direction, that is, the Z direction is the target direction.
[0109] Afterwards, the target moving distance of the first docking device in the target direction is determined according to the distance between the current minimum limit position of the first docking device in the target direction and the current maximum limit position of the second docking device in the target direction, and a preset distance margin.
[0110] For example, if it is determined that there is an overlap between the first docking device and the second docking device in the X direction, the first docking device is controlled to move in the X direction, the moving direction is the positive direction of the X axis, and the moving distance is: the absolute value of the difference between the minimum limit position of the contour of the first docking device in the X direction of the three-dimensional coordinate system and the maximum limit position of the contour of the second docking device in the X direction of the three-dimensional coordinate system, and the sum of the preset distance margin. For example, using the above example, the expression for the moving distance can be: |X21-X55|+5. After the first docking device moves, the first docking device and the second docking device do not overlap in the X direction. Among them, the preset distance margin can be set according to the actual anti-collision requirements, for example, it can be set to 5cm, and the present disclosure does not limit this.
[0111] For example, if it is determined that there is an overlap between the first docking device and the second docking device in the Y direction, the first docking device is controlled to move in the Y direction, the moving direction is the positive direction of the Y axis, and the moving distance is: the absolute value of the difference between the minimum limit position of the contour of the first docking device in the Y direction of the three-dimensional coordinate system and the maximum limit position of the contour of the second docking device in the Y direction of the three-dimensional coordinate system, and the sum of the preset distance margin. For example, using the above example, the expression for the moving distance can be: |Y31-Y66|+5. After the first docking device moves, the first docking device and the second docking device do not overlap in the Y direction. Among them, the preset distance margin can be set according to the actual anti-collision requirements, for example, it can be set to 5cm, and the present disclosure does not limit this.
[0112] For example, if it is determined that there is an overlap between the first docking device and the second docking device in the Z direction, the first docking device is controlled to move in the Z direction, the moving direction is the positive direction of the Z axis, and the moving distance is: the absolute value of the difference between the minimum limit position of the contour of the first docking device in the Z direction of the three-dimensional coordinate system and the maximum limit position of the contour of the second docking device in the Z direction of the three-dimensional coordinate system, and the sum of the preset distance margin. For example, using the above example, the expression for the moving distance can be: |Z31-Z66|+5. After the first docking device moves, the first docking device and the second docking device do not overlap in the Z direction. Among them, the preset distance margin can be set according to the actual anti-collision requirements, for example, it can be set to 5cm, and the present disclosure does not limit this.
[0113] After controlling the first docking device to adjust its posture so that there is no interference between the first docking device and the second docking device in space, the first docking device is controlled to adjust its position according to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance so that the actual position information of the target positioning point pair is consistent with the target position information.
[0114] For example, the target position information of the first positioning point in the target positioning point pair is (X 11 , Y 11 , Z 11 ), the actual position information of the first positioning point in the target positioning point pair is (X 10 , Y 10 , Z 10 ); The target position information of the second positioning point corresponding to the first positioning point in the target positioning point pair is (X 51 , Y 51 , Z 51 ), the actual position information of the second positioning point corresponding to the first positioning point in the target positioning point pair is (X 50 , Y 50 , Z 50 ), the distance that the first docking device needs to move in the X direction is X 00 , the distance that the first docking device needs to move in the Y direction is Y 00 , the distance that the first docking device needs to move in the Z direction is Z 00 . Calculate and determine X according to the following formulas 00 , Y 00 , Z 00 :
[0115] X 10 + X 00 -X 50 = X 11 -X 51 (2)
[0116] Y 10 + Y 00 - Y 50 = Y 11 - Y 51 (3)
[0117] Z 10 + Z 00 -Z 50 = Z 11 -Z 51 (4)
[0118] According to the above method, the moving distances of the first docking device in the X direction, the Y direction and the Z direction are determined, and then the first docking device is controlled to move in the X direction, and the moving distance is X. 00 ; Control the first docking device to move in the Y direction, the moving distance is Y 00 ; Control the first docking device to move in the Z direction, the moving distance is Z 00In this way, the actual position information of the target positioning point pair can be made consistent with the target position information. It should be noted that the above-mentioned first docking device moves in the X direction, Y direction and Z direction in sequence is only exemplary, and the order of the first docking device moving in the X direction, Y direction and Z direction is not limited here.
[0119] In a possible implementation manner, before step S11, the vehicle docking control method may further include:
[0120] Control the front vehicle to move towards the rear vehicle until the front vehicle moves to a preset distance from the rear vehicle.
[0121] The front vehicle is controlled to move toward the rear vehicle until the front vehicle moves to a preset distance from the rear vehicle, and then the laser radar is turned on for scanning, so as to avoid invalid scanning caused by turning on the laser radar scanning too early. In addition, the front vehicle moves to a preset distance from the rear vehicle to provide sufficient space for the posture adjustment of the first docking device, avoiding interference between the first docking device and the second docking device during docking due to insufficient space between the first docking device and the second docking device.
[0122] In a possible implementation, positioning patches are provided at the first positioning point and the second positioning point, and the positioning patches at different positioning points have different reflectivities. The positioning patches can be used to increase the reflectivity of the optical surface so that the detection signal emitted by the laser radar can be reflected.
[0123] In this case, determining the actual position information of the first positioning point and the actual position information of the second positioning point according to the reflected signal received by the laser radar may further include:
[0124] Determine the positioning point to which the reflected signal belongs according to the reflectivity of the received reflected signal;
[0125] According to the time interval between the laser radar emitting the laser signal and receiving the reflected signal, the distance between the laser radar and the positioning point to which the reflected signal belongs is determined, and according to the reflection angle of the reflected signal, the angle between the laser radar and the positioning point to which the reflected signal belongs is determined. According to the distance and angle between the laser radar and the positioning point to which the reflected signal belongs, the actual position information of the positioning point to which the reflected signal belongs is determined.
[0126] As described above, the reflectivity of the positioning patches at different positioning points is different. Therefore, the positioning point to which the corresponding reflection signal belongs can be determined based on the reflectivity of the reflection signal received by the laser radar, that is, from which positioning point the reflection signal is reflected. In addition, the distance between the laser radar and the positioning point to which the reflection signal belongs can be determined based on the time interval between the emission time of the laser signal and the reception time of the reflection signal, and the angle between the laser radar and the positioning point to which the reflection signal belongs can be determined based on the reflection angle of the reflection signal. Then, the actual position information of the positioning point to which the reflection signal belongs can be determined based on the distance and angle between the laser radar and the positioning point to which the reflection signal belongs, that is, the coordinates of the positioning point to which the reflection signal belongs in the above-mentioned coordinate system.
[0127] In a possible implementation, different positions on the same positioning point can reflect the laser signal and generate corresponding reflection signals, so there may be multiple reflection signals corresponding to the same positioning point. In this case, the actual position information of the reflection point corresponding to each reflection signal can be calculated based on the reflection signals belonging to the same positioning point, and then the actual position information of each reflection point is averaged (for example, the average of each reflection point in the three coordinate directions of the above coordinate system is taken), and the result is used as the actual position information of the positioning point.
[0128] The target position information of the target positioning point pair mentioned above can also be determined in a manner similar to the above manner. For example, first successfully dock the first docking device with the second docking device. Afterwards, start the laser radar to scan the first docking device and the second docking device, and determine the position information of each first positioning point and the position information of each second positioning point based on the reflected signal received by the laser radar, wherein the position information of the first positioning point determined at this time is used as the target position information of the first positioning point, and the position information of the second positioning point determined is used as the target position information of the second positioning point. One of the first positioning points can be selected, and the first positioning point and the second positioning point corresponding to the first positioning point form a target positioning point pair, and accordingly, the determined target position information of the first positioning point and the target position information of the corresponding second positioning point constitute the target position information of the target positioning point pair.
[0129] Furthermore, the relative position information of the first positioning point in the target positioning point pair and the contour of the first docking device and the relative position information of the second positioning point in the target positioning point pair and the contour of the second docking device can be determined based on the target position information of the determined target positioning point pair, and the contour of the first docking device and the contour of the second docking device.
[0130] For example, first obtain the outline size information about the first docking device and the second docking device manually measured or provided by the manufacturer. After the first docking device and the second docking device are successfully docked, the outline information of the first docking device in the above coordinate system and the outline information of the second docking device in the above coordinate system are respectively obtained based on the outline size information. Afterwards, the relative position information of the first positioning point and the outline of the first docking device is determined based on the target position information of the first positioning point in the target positioning point pair and the outline information of the first docking device in the above coordinate system. Similarly, the relative position information of the second positioning point and the outline of the second docking device is determined based on the target position information of the second positioning point in the target positioning point pair and the outline information of the second docking device in the above coordinate system.
[0131] The technical solution in the present disclosure can pre-store the target position information of a pair of target positioning points. Therefore, during automatic docking, only a single laser radar is required to collect less position information to determine the relative position of the first docking device and the second docking device, which reduces the dependence on hardware equipment and reduces costs. In addition, according to the actual position information of multiple first positioning points set on the first docking device and the actual position information of multiple second positioning points set on the second docking device, the present disclosure controls the first docking device to adjust its posture so that the two vehicles do not collide during the docking process, thereby improving the accuracy and safety of the docking of the two vehicles.
[0132] In a possible implementation, after step S13, the vehicle docking control method may further include: after controlling the first docking device to adjust its position, controlling the first docking device to perform a locking operation to complete connection with the second docking device.
[0133] After controlling the first docking device to perform posture adjustment and position adjustment, the first docking device is controlled to perform a locking operation to complete the connection with the second docking device.
[0134] See also Figure 6 The present disclosure further provides a vehicle docking control device 10, the vehicle docking control device 10 comprising:
[0135] The acquisition module 100 is configured to acquire actual position information of a plurality of first positioning points set on the first docking device and actual position information of a plurality of second positioning points set on the second docking device, wherein the second positioning points correspond to the first positioning points one by one, the first docking device is installed on the front vehicle, the second docking device is installed on the rear vehicle, and the first docking device is used to connect with the second docking device to dock the front vehicle with the rear vehicle;
[0136] The control module 110 is configured to control the first docking device to adjust its posture according to the actual position information of at least one first positioning point and the actual position information of at least one second positioning point, so that the first docking device and the second docking device do not collide in space;
[0137] The control module 110 is also configured to control the first docking device to adjust the position according to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, so that the actual position information of the target positioning point pair is consistent with the target position information, wherein the target positioning point pair includes one of the first positioning points and a second positioning point corresponding to the first positioning point.
[0138] The technical solution in the present disclosure can pre-store the target position information of a pair of target positioning points. Therefore, during automatic docking, only a small amount of actual position information needs to be obtained to determine the relative position of the first docking device and the second docking device, which reduces the dependence on hardware equipment and reduces costs. In addition, according to the actual position information of multiple first positioning points set on the first docking device and the actual position information of multiple second positioning points set on the second docking device, the present disclosure controls the first docking device to adjust its posture so that the two vehicles do not collide during the docking process, thereby improving the accuracy and safety of the docking of the two vehicles.
[0139] Optionally, the control module 110 includes:
[0140] A first determination submodule is configured to determine a pitch angle and a roll angle between the first docking device and the second docking device according to actual position information of the plurality of first positioning points and actual position information of the plurality of second positioning points;
[0141] The first control submodule is configured to control the first docking device to rotate according to the pitch angle and the roll angle.
[0142] Optionally, the first positioning point includes a plurality of first horizontal positioning points arranged along the horizontal direction of the first docking device and a plurality of first vertical positioning points arranged along the vertical direction of the first docking device; the second positioning point includes a plurality of second horizontal positioning points arranged along the horizontal direction of the second docking device and a plurality of second vertical positioning points arranged along the vertical direction of the second docking device; the first determination submodule is further configured to determine the normal vector of the horizontal positioning plane of the first docking device according to the actual position information of each first horizontal positioning point, and determine the normal vector of the vertical positioning plane of the first docking device according to the actual position information of each first vertical positioning point; determine the normal vector of the horizontal positioning plane of the second docking device according to the actual position information of each second horizontal positioning point, and determine the normal vector of the vertical positioning plane of the second docking device according to the actual position information of each second vertical positioning point; determine the angle between the normal vectors of the horizontal positioning planes of the first docking device and the second docking device as the pitch angle; determine the angle between the normal vectors of the vertical positioning planes of the first docking device and the second docking device as the roll angle.
[0143] Optionally, the control module 110 further includes:
[0144] The second determination submodule is configured to determine the current contour information of the first docking device and the current contour information of the second docking device according to the actual position information of the target positioning point pair, and the pre-stored relative position information of the first positioning point in the target positioning point pair and the contour of the first docking device, and the relative position information of the second positioning point in the target positioning point pair and the contour of the second docking device;
[0145] A third determination submodule is configured to determine a target direction in which the first docking device and the second docking device overlap in position based on the current contour information of the first docking device and the current contour information of the second docking device, and determine a target moving distance of the first docking device in the target direction;
[0146] The second control submodule is configured to control the first docking device to move a target moving distance in a target direction.
[0147] Optionally, the contour information of the first docking device includes minimum limit position information and maximum limit position information of the contour of the first docking device in each preset direction, and the contour information of the second docking device includes minimum limit position information and maximum limit position information of the contour of the second docking device in each preset direction; the third determination submodule is further configured to determine the preset direction as the target direction if there is an intersection in the position intervals of the first docking device and the second docking device in the same preset direction, wherein the position interval of the first docking device in the preset direction is defined by the minimum limit position information and maximum limit position information of the first docking device in the preset direction, and the position interval of the second docking device in the preset direction is defined by the minimum limit position information and maximum limit position information of the second docking device in the preset direction;
[0148] The target moving distance of the first docking device in the target direction is determined according to the distance between the current minimum limit position of the first docking device in the target direction and the current maximum limit position of the second docking device in the target direction, and a preset distance margin.
[0149] Optionally, the control module 110 is further configured to control the laser radar to scan the first docking device and the second docking device;
[0150] The actual position information of the first positioning point and the actual position information of the second positioning point are determined according to the reflected signal received by the laser radar.
[0151] Optionally, positioning patches are provided at the first positioning point and the second positioning point, and the positioning patches at different positioning points have different reflectivities. The control module 110 further includes:
[0152] A fourth determination submodule is configured to determine the positioning point to which the reflection signal belongs according to the reflectivity of the received reflection signal;
[0153] The fifth determination submodule is configured to determine the distance between the laser radar and the positioning point to which the reflected signal belongs based on the time interval between the laser radar transmitting the laser signal and receiving the reflected signal, and to determine the angle between the laser radar and the positioning point to which the reflected signal belongs based on the reflection angle of the reflected signal, and to determine the actual position information of the positioning point to which the reflected signal belongs based on the distance and angle between the laser radar and the positioning point to which the reflected signal belongs.
[0154] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0155] Figure 7 FIG. 7 is a block diagram of an electronic device 700 according to an exemplary embodiment. Figure 7As shown, the electronic device 700 may include: a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.
[0156] The processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned vehicle docking control method. The memory 702 is used to store various types of data to support the operation of the electronic device 700, and these data may include, for example, instructions for any application or method used to operate on the electronic device 700, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 702 or sent through the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0157] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned vehicle docking control method.
[0158] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned vehicle docking control method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned vehicle docking control method.
[0159] In another exemplary embodiment, a vehicle is also provided, comprising: a first docking device, used to connect with a second docking device installed on another vehicle to dock the two vehicles, wherein the first docking device is provided with a plurality of first positioning points, and the second docking device is provided with second positioning points corresponding one to one with the first positioning points; a laser radar, used to scan the first docking device and the second docking device; and a controller, used to execute the above-mentioned vehicle docking control method.
[0160] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0161] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0162] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A vehicle docking control method, characterized in that: The method comprises: Acquire actual position information of a plurality of first positioning points set on a first docking device and actual position information of a plurality of second positioning points set on a second docking device, wherein the second positioning points correspond to the first positioning points one by one, the first docking device is installed on a front vehicle, the second docking device is installed on a rear vehicle, and the first docking device is used to connect with the second docking device to dock the front vehicle with the rear vehicle; According to the actual position information of at least one of the first positioning points and the actual position information of at least one of the second positioning points, controlling the first docking device to adjust its posture so that the first docking device and the second docking device do not collide in space; According to the actual position information of the target positioning point pair and the target position information of the target positioning point pair stored in advance, the first docking device is controlled to adjust the position so that the actual position information of the target positioning point pair is consistent with the target position information, wherein the target positioning point pair includes one of the first positioning points and a second positioning point corresponding to the first positioning point.
2. The vehicle docking control method according to claim 1, characterized in that: The controlling the first docking device to adjust the posture according to the actual position information of at least one of the first positioning points and the actual position information of at least one of the second positioning points comprises: Determine a pitch angle and a roll angle between the first docking device and the second docking device according to actual position information of the first plurality of positioning points and actual position information of the second plurality of positioning points; The first docking device is controlled to rotate according to the pitch angle and the roll angle.
3. The vehicle docking control method according to claim 2, characterized in that: The first positioning points include a plurality of first horizontal positioning points arranged along the horizontal direction of the first docking device and a plurality of first vertical positioning points arranged along the vertical direction of the first docking device; the second positioning points include a plurality of second horizontal positioning points arranged along the horizontal direction of the second docking device and a plurality of second vertical positioning points arranged along the vertical direction of the second docking device; The determining the pitch angle and the roll angle between the first docking device and the second docking device according to the actual position information of the plurality of first positioning points and the actual position information of the plurality of second positioning points comprises: Determine a normal vector of a horizontal positioning plane of the first docking device according to the actual position information of each of the first horizontal positioning points, and determine a normal vector of a vertical positioning plane of the first docking device according to the actual position information of each of the first vertical positioning points; Determine the normal vector of the horizontal positioning plane of the second docking device according to the actual position information of each of the second horizontal positioning points, and determine the normal vector of the vertical positioning plane of the second docking device according to the actual position information of each of the second vertical positioning points; Determine the angle between the normal vectors of the horizontal positioning planes of the first docking device and the second docking device as the pitch angle; The angle between the normal vectors of the vertical positioning planes of the first docking device and the second docking device is determined as the roll angle.
4. The vehicle docking control method according to claim 1, characterized in that: The controlling the first docking device to adjust the posture according to the actual position information of at least one of the first positioning points and the actual position information of at least one of the second positioning points comprises: Determine current contour information of the first docking device and current contour information of the second docking device according to actual position information of the target positioning point pair, and pre-stored relative position information of a first positioning point in the target positioning point pair and a contour of the first docking device, and pre-stored relative position information of a second positioning point in the target positioning point pair and a contour of the second docking device; Determine, according to the current contour information of the first docking device and the current contour information of the second docking device, a target direction in which the first docking device and the second docking device overlap in position, and determine a target moving distance of the first docking device in the target direction; The first docking device is controlled to move the target moving distance in the target direction.
5. The vehicle docking control method according to claim 4, characterized in that: The contour information of the first docking device includes minimum limit position information and maximum limit position information of the contour of the first docking device in each preset direction, and the contour information of the second docking device includes minimum limit position information and maximum limit position information of the contour of the second docking device in each preset direction; The step of determining, based on the current contour information of the first docking device and the current contour information of the second docking device, a target direction in which the first docking device and the second docking device overlap in position, and determining a target moving distance of the first docking device in the target direction includes: If the current position intervals of the first docking device and the second docking device in the same preset direction intersect, the preset direction is determined as the target direction, wherein the position interval of the first docking device in the preset direction is defined by the minimum limit position information and the maximum limit position information of the first docking device in the preset direction, and the position interval of the second docking device in the preset direction is defined by the minimum limit position information and the maximum limit position information of the second docking device in the preset direction; The target moving distance of the first docking device in the target direction is determined according to the distance between the current minimum limit position of the first docking device in the target direction and the current maximum limit position of the second docking device in the target direction, and a preset distance margin.
6. The vehicle docking control method according to claim 1, characterized in that: Before the step of acquiring the actual position information of the plurality of first positioning points set on the first docking device and the actual position information of the plurality of second positioning points set on the second docking device, the method further comprises: Controlling the laser radar to scan the first docking device and the second docking device; The actual position information of the first positioning point and the actual position information of the second positioning point are determined according to the reflected signal received by the laser radar.
7. The vehicle docking control method according to claim 6, characterized in that: Positioning patches are arranged on the first positioning point and the second positioning point, and the reflectivities of the positioning patches at different positioning points are different; The determining, according to the reflected signal received by the laser radar, the actual position information of the first positioning point and the actual position information of the second positioning point includes: Determining the positioning point to which the reflected signal belongs according to the reflectivity of the received reflected signal; According to the time interval between the laser radar emitting the laser signal and receiving the reflected signal, the distance between the laser radar and the positioning point to which the reflected signal belongs is determined, and according to the reflection angle of the reflected signal, the angle between the laser radar and the positioning point to which the reflected signal belongs is determined. According to the distance and angle between the laser radar and the positioning point to which the reflected signal belongs, the actual position information of the positioning point to which the reflected signal belongs is determined.
8. A vehicle docking control device, characterized in that: The device comprises: an acquisition module, configured to acquire actual position information of a plurality of first positioning points set on a first docking device and actual position information of a plurality of second positioning points set on a second docking device, wherein the second positioning points correspond to the first positioning points one by one, the first docking device is installed on a front vehicle, the second docking device is installed on a rear vehicle, and the first docking device is used to connect with the second docking device to dock the front vehicle with the rear vehicle; The control module is configured to control the first docking device to adjust its posture according to the actual position information of at least one of the first positioning points and the actual position information of at least one of the second positioning points, so that the first docking device and the second docking device do not collide in space; The control module is also configured to control the first docking device to adjust its position according to actual position information of the target positioning point pair and pre-stored target position information of the target positioning point pair, so that the actual position information of the target positioning point pair is consistent with the target position information, wherein the target positioning point pair includes one of the first positioning points and a second positioning point corresponding to the first positioning point.
9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to run the executable instructions to implement the steps of the vehicle docking control method according to any one of claims 1-7.
10. A vehicle, characterized in that: include: A first docking device, used to connect with a second docking device installed on another vehicle to dock the two vehicles, wherein the first docking device is provided with a plurality of first positioning points, and the second docking device is provided with second positioning points corresponding to the first positioning points one by one; A laser radar, used for scanning the first docking device and the second docking device; A controller for executing the steps of the vehicle docking control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Aircraft wing butt joint attitude adjusting reconfigurable device
CN108001708A
Method and system for adjusting pose of docking equipment based on object docking ring
CN110647156A
GNSS and radar ranging combined railway-waterway transport vehicle tracking and positioning method and system
CN110824515A
Scheduling method and system for new energy vehicles in Internet of vehicles
CN112258882A
Method for automatic butt joint of automatic driving tractor and trailer
CN112356626A
