Automatic parking control methods, devices, equipment and storage media
By installing a motor inside the vehicle to control the vehicle's rotation around a single front wheel, the parking difficulty caused by limited parking space is solved, achieving efficient and low-wear automatic parking control.
Patent Information
- Application Number
- CN202410947688.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-07-15
AI Technical Summary
With reduced parking space, it becomes difficult for vehicles to park in one go, making parking more challenging, especially for larger vehicles or those with excessively long axles.
The vehicle is equipped with two separate motors for the two rear wheels, and the vehicle is driven into the target parking space by controlling the rotation of the vehicle around a single front wheel. This reduces the space required to adjust the vehicle's orientation and achieves precise rotation using rear wheel steering and torque control.
It reduces the difficulty of parking in small spaces, reduces tire wear, and improves the convenience and safety of parking.
Smart Images

Figure CN120440019B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to an automatic parking control method, device, equipment and storage medium. Background Technology
[0002] With the increasing prevalence of cars in daily life, the parking space provided by parking spaces has decreased. For example, parking spaces have become narrower, the driving lanes between opposite parking spaces have become narrower, and there are dead-end parking spaces.
[0003] Currently, when faced with the aforementioned reduction in parking space, due to the limited space, it is impossible to park the vehicle in the parking space in one go. Therefore, it is necessary to move the vehicle back and forth multiple times, first adjusting the rear of the vehicle to the entrance of the parking space, and then parking the vehicle in the parking space. This parking solution of moving the vehicle back and forth multiple times makes parking more difficult. Furthermore, when the vehicle is too large or the axle is too long, the difficulty of parking will be further increased. Summary of the Invention
[0004] The purpose of this application is to provide an automatic parking control method, device, equipment, and storage medium, which aims to solve the problem of increased parking difficulty caused by reduced parking space.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] This application provides an automatic parking control method applied to a vehicle, the vehicle including a first motor, a second motor and a third motor, the first motor driving two wheels of a first axle, the second motor driving a first wheel of a second axle, and the third motor driving a second wheel of the second axle. The method includes: receiving a parking command to instruct the vehicle to activate an automatic parking function; and responding to the parking command by controlling the vehicle to drive into a target parking space along a target trajectory, the target trajectory including at least a first trajectory, the first trajectory being a rotational trajectory controlling the vehicle to rotate around a single wheel of the first axle.
[0007] The automatic parking control method provided in this application addresses the issue that when parking space is limited, the wheels cannot be parked in the parking space in a normal manner. Therefore, this application provides two separate motors for the two rear wheels inside the vehicle and drives the vehicle into the target parking space by controlling the vehicle to rotate around a single front wheel during the parking process. This eliminates the need to adjust the vehicle's orientation by repeatedly moving the vehicle forward and backward, reducing the space required for adjusting the vehicle's orientation and thus reducing the difficulty of parking in limited spaces.
[0008] In some embodiments, controlling the vehicle to drive into the target parking space along the target trajectory includes: controlling the steering of the first wheel and / or the second wheel during the process of controlling the vehicle to rotate along the first trajectory.
[0009] Based on this, this application, while controlling the vehicle's rotation around a single front wheel, further controls the steering of the rear wheels, improving steering convenience and reducing tire wear during vehicle rotation.
[0010] In some embodiments, as the vehicle rotates along the first trajectory, the steering direction of the first wheel is opposite to that of the second wheel; wherein, when the first wheel is the left wheel, the steering direction of the first wheel is to the left and the steering direction of the second wheel is to the right; or, when the first wheel is the right wheel, the steering direction of the first wheel is to the right and the steering direction of the second wheel is to the left.
[0011] Based on this, this application controls the two rear wheels of the vehicle to turn in an inverted V-shape toward the front of the vehicle during the rotation of the vehicle around a single front wheel, which can reduce tire wear during vehicle rotation.
[0012] In some embodiments, the steering angles of the first wheel and the second wheel are the maximum values of the steering angles of the second axle.
[0013] Based on this, this application controls the rear wheel steering with the maximum steering angle, which facilitates vehicle rotation and further reduces tire wear during vehicle rotation.
[0014] In some embodiments, controlling the vehicle to drive into the target parking space along the target trajectory includes: locking a single wheel of the first axle while controlling the vehicle to rotate along the first trajectory; and unlocking a single wheel of the first axle after controlling the vehicle to rotate along the first trajectory.
[0015] Based on this, this application improves the accuracy of vehicle rotation by locking the wheel to prevent the wheel from rotating during rotation around it.
[0016] In some embodiments, controlling the vehicle to drive into the target parking space along the target trajectory includes: during the process of controlling the vehicle to rotate along the first trajectory, controlling the motors of the wheels other than the single wheel of the two wheels of the first axle to output a first torque, controlling the wheels of the two wheels of the second axle opposite to the single wheel of the first axle to output a second torque, and controlling the wheels of the two wheels of the second axle on the same side as the single wheel of the first axle to output a third torque; wherein the first torque and the second torque have the same torque direction, and the second torque and the third torque have opposite torque directions.
[0017] Based on this, this application controls the motors of the two rear wheels to output torque in different directions, and the motors of the wheels on the same side to output torque in the same direction, so that the vehicle can rotate around a single front wheel, reducing the space required to adjust the vehicle's body direction.
[0018] In some embodiments, the first trajectory includes a rotation termination point; controlling the vehicle to drive into the target parking space along the target trajectory includes: during the process of controlling the vehicle to rotate along the first trajectory, determining a target rotation angle based on the current position of the first wheel, the current position of the second wheel, and the position of the rotation termination point, and controlling the motor output torque of the other wheels of the vehicle, excluding the single wheel of the first axle, to drive the vehicle to rotate around the single wheel of the first axle by the target rotation angle.
[0019] The target rotation angle includes either a counterclockwise rotation angle or a clockwise rotation angle.
[0020] Based on this, this application determines the rotation angle of the vehicle so that the vehicle rotates according to that rotation angle, ensuring that the vehicle can accurately rotate to the rotation termination point.
[0021] In some embodiments, the first trajectory further includes a rotation start point, and the rotation start point and rotation end point are determined based on the vehicle's current position, the vehicle's pose information, the position of the target parking space, and path constraint information; wherein, the path constraint information includes obstacle information and / or the vehicle's minimum turning radius information under rear wheel steering; the obstacle information is used to constrain the vehicle from colliding with obstacles during its rotation around a single front wheel, and the minimum turning radius information refers to the minimum turning radius information during the process of the vehicle entering the target parking space after rotating along the first trajectory; under the minimum turning radius, the steering angle of the two wheels of the vehicle's first axle is the maximum value of the first axle steering angle, the steering angle of the two wheels of the vehicle's second axle is the maximum value of the second axle steering angle, and the steering direction of the two wheels of the first axle is opposite to the steering direction of the two wheels of the second axle.
[0022] Based on this, when determining the starting and ending points of rotation, this application also needs to consider whether a collision will occur during the vehicle rotation process, thereby improving parking safety; at the same time, it considers whether the turning radius of the vehicle entering the target parking space after rotation is minimized, so as to reduce the angle of vehicle rotation and avoid causing excessive wear to the vehicle tires.
[0023] In some embodiments, the automatic parking control method provided in this application may further include: determining multiple candidate rotation start points and candidate rotation end points corresponding to each of the multiple candidate rotation start points from outside the target parking space; performing collision detection on the process of the vehicle rotating from the candidate rotation start point to the candidate rotation end point based on the current position of the vehicle, the vehicle's pose information, the position of the target parking space, and the minimum turning radius information of the vehicle under rear wheel steering; obtaining collision detection results; and determining the candidate rotation start points and corresponding candidate rotation end points that did not produce a collision as rotation start points and rotation end points.
[0024] Based on this, this application selects candidate rotation start points and corresponding candidate rotation end points from multiple candidate rotation start points and multiple candidate rotation end points, combined with the minimum turning radius, to ensure that the vehicle will not collide during rotation, thereby improving parking safety.
[0025] In some embodiments, the target trajectory further includes a second trajectory; wherein the second trajectory is a driving trajectory in which the two wheels of the vehicle start the second axle and turn in the same direction, and the second trajectory connects with the first trajectory at the rotation termination point.
[0026] Therefore, after the vehicle has rotated, this application also requires the rear wheels to be turned in the same direction to drive the vehicle into the target parking space and ensure successful parking.
[0027] In some embodiments, controlling the vehicle to drive into the target parking space along the target trajectory includes: during the process of controlling the vehicle to drive along the second trajectory, when the vehicle's body orientation is not parallel to the long side of the target parking space, and / or one side of the vehicle's body is located outside the long side of the target parking space, adjusting the vehicle's posture through the rear wheel steering function until the vehicle's body orientation is parallel to the long side of the target parking space, and both sides of the vehicle's body are located inside the long side of the target parking space.
[0028] Based on this, after the vehicle has rotated, this application can activate the rear wheel steering function to adjust the vehicle's position so that the vehicle can drive straight into the parking space, further reducing the difficulty of parking.
[0029] This application provides an automatic parking control device applied to a vehicle. The vehicle includes a first motor, a second motor, and a third motor. The first motor drives two wheels on a first axle, the second motor drives a first wheel on a second axle, and the third motor drives a second wheel on the second axle. The device includes a receiving unit and a control unit. The receiving unit receives a parking command that instructs the vehicle to activate its automatic parking function. The control unit, in response to the parking command, controls the vehicle to drive into a target parking space along a target trajectory. The target trajectory includes at least a first trajectory, which is a rotational trajectory controlling the vehicle to rotate around a single wheel on the first axle.
[0030] In some embodiments, the control unit is specifically used to control the steering of the first wheel and / or the second wheel during the process of controlling the vehicle to rotate along the first trajectory.
[0031] In some embodiments, during the rotation of the vehicle along the first trajectory, the steering direction of the first wheel is opposite to that of the second wheel; wherein, when the first wheel is the left wheel, the steering direction of the first wheel is to the left and the steering direction of the second wheel is to the right; or, when the first wheel is the right wheel, the steering direction of the first wheel is to the right and the steering direction of the second wheel is to the left.
[0032] In some embodiments, the steering angles of the first wheel and the second wheel are the maximum values of the steering angles of the second axle.
[0033] In some embodiments, the control unit is specifically configured to: lock a single wheel of the first axle during the process of controlling the vehicle to rotate along the first trajectory; and unlock a single wheel of the first axle after the control of the vehicle to rotate along the first trajectory has ended.
[0034] In some embodiments, the control unit is specifically configured to: during the process of controlling the vehicle to rotate along a first trajectory, control the motors of the wheels other than the single wheel of the two wheels of the first axle to output a first torque, control the wheels of the two wheels of the second axle opposite to the single wheel of the first axle to output a second torque, and control the wheels of the two wheels of the second axle on the same side as the single wheel of the first axle to output a third torque; wherein the first torque and the second torque have the same torque direction, and the second torque and the third torque have opposite torque directions.
[0035] In some embodiments, the first trajectory includes a rotation termination point, and the control unit is specifically configured to: determine a target rotation angle based on the current position of the first wheel, the current position of the second wheel, and the position of the rotation termination point during the process of controlling the vehicle to rotate along the first trajectory, and control the motor output torque of the other wheels of the vehicle, excluding the single wheel of the first axle, to drive the vehicle to rotate around the single wheel of the first axle by the target rotation angle.
[0036] In some embodiments, the first trajectory further includes a rotation start point, and the rotation start point and rotation end point are determined based on the vehicle's current position, the vehicle's pose information, the position of the target parking space, and path constraint information; wherein, the path constraint information includes obstacle information and / or the vehicle's minimum turning radius information under rear wheel steering; the obstacle information is used to constrain the vehicle from colliding with obstacles during its rotation around a single front wheel, and the minimum turning radius information refers to the minimum turning radius information during the process of the vehicle entering the target parking space after rotating along the first trajectory; under the minimum turning radius, the steering angle of the two wheels of the vehicle's first axle is the maximum value of the first axle steering angle, the steering angle of the two wheels of the vehicle's second axle is the maximum value of the second axle steering angle, and the steering direction of the two wheels of the first axle is opposite to the steering direction of the two wheels of the second axle.
[0037] In some embodiments, the above-mentioned automatic parking control device further includes: a determining unit and a processing unit, wherein: the determining unit is configured to determine multiple candidate rotation start points and candidate rotation end points corresponding to each of the multiple candidate rotation start points from outside the target parking space; the processing unit is configured to perform collision detection on the process of the vehicle rotating from the candidate rotation start point to the candidate rotation end point based on the current position of the vehicle, the vehicle's pose information, the position of the target parking space, and the minimum turning radius information of the vehicle under rear wheel steering, and obtain a collision detection result; the determining unit is further configured to determine the candidate rotation start points and the corresponding candidate rotation end points that the collision detection results indicate did not result in a collision as the rotation start point and the rotation end point.
[0038] In some embodiments, the target trajectory further includes a second trajectory; wherein the second trajectory is a driving trajectory in which the two wheels of the vehicle start the second axle and turn in the same direction, and the second trajectory connects with the first trajectory at the rotation termination point.
[0039] In some embodiments, the control unit is specifically used to adjust the vehicle's position through the rear wheel steering function until the vehicle's orientation is parallel to the long side of the target parking space and both sides of the vehicle are located inside the long side of the target parking space when the vehicle's body orientation is not parallel to the long side of the target parking space and / or one side of the vehicle's body is located outside the long side of the target parking space during the process of controlling the vehicle to travel along the second trajectory.
[0040] This application provides an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the automatic parking control method described above.
[0041] This application provides a vehicle, including: a first motor, a second motor and a third motor, and electronic equipment as described above; wherein the first motor is used to drive two wheels of a first axle, the second motor is used to drive a first wheel of a second axle, and the third motor is used to drive a second wheel of the second axle.
[0042] This application provides a computer-readable storage medium storing instructions that, when executed on a terminal, cause the terminal to perform the automatic parking control method described above.
[0043] This application provides a computer program product containing instructions that, when executed by a computer, cause the computer to perform the automatic parking control method described above.
[0044] This application provides a chip including a processor and a communication interface, the communication interface and the processor being coupled together. The processor is used to run computer programs or instructions to implement the automatic parking control method described above.
[0045] Specifically, the chip provided in this application embodiment also includes a memory for storing computer programs or instructions. Attached Figure Description
[0046] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is an architecture diagram of an automatic parking control system provided in related technologies;
[0048] Figure 2 A parking path diagram provided for an embodiment of this application;
[0049] Figure 3 This is one of the flowcharts of an automatic parking control method provided in an embodiment of this application;
[0050] Figure 4 A parking path diagram provided for an embodiment of this application;
[0051] Figure 5 A parking path diagram provided for an embodiment of this application;
[0052] Figure 6 A parking path diagram provided for an embodiment of this application;
[0053] Figure 7 A parking path diagram provided for an embodiment of this application;
[0054] Figure 8 A second flowchart of an automatic parking control method provided in this application embodiment;
[0055] Figure 9 A parking path diagram provided for an embodiment of this application;
[0056] Figure 10 A parking path diagram provided for an embodiment of this application;
[0057] Figure 11 A parking path diagram provided for an embodiment of this application;
[0058] Figure 12 A parking path diagram provided for an embodiment of this application;
[0059] Figure 13A parking path diagram provided for an embodiment of this application;
[0060] Figure 14 A complete flowchart of an automatic parking control method provided in this application embodiment;
[0061] Figure 15 A structural diagram of an automatic parking control device provided in an embodiment of this application;
[0062] Figure 16 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0063] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0064] In the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "front," "rear," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or relative positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and for simplification, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Unless otherwise specified, the above-mentioned orientational descriptions can be flexibly set in practical applications, provided that the relative positional relationships shown in the accompanying drawings are satisfied.
[0065] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0066] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "communication" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a direct connection or an indirect connection through an intermediate medium, or a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0067] In some embodiments, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.
[0068] In some embodiments, the words "exemplary" or "for example" are used to indicate that something is an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0069] In the description of this specification, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0070] With the rapid popularization of cars, the utilization rate of parking lots is also increasing, and various challenging parking scenarios have become a major headache for users. Especially in prime business districts and tourist areas, scenarios with limited parking space, such as dead-end roads and narrow lanes, are becoming more and more common.
[0071] Currently, in scenarios with limited parking space, conventional parking routes require multiple maneuvers to first align the front of the vehicle with the opposite direction of entry before parking the rear. When a vehicle is too large or has an excessively long axle, the difficulty of parking is further increased.
[0072] Against this backdrop, in order to address the problem of parking difficulties in scenarios with limited parking space in related technologies, this application provides an automatic parking control method, device, equipment, and storage medium. The implementation methods of the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0073] like Figure 1 The diagram shown is an architecture diagram of an automatic parking control system provided in an embodiment of this application. The automatic parking control system 100 may include a parking controller 110, a power output controller 120, an entertainment display 130, a lateral control module 140, and a rear wheel steering module 150. The parking controller 110 may include a sensing module 111, a fusion module 112, a planning module 113, a planning decision module 114, a motion control module 115, a display control module 116, and a positioning module 117. The power output controller 120 may include a longitudinal control module 121 and a fixed wheel rotation module 122.
[0074] The sensing module 111 is coupled to multiple ultrasonic radars and surround-view cameras, the display control module 116 is coupled to the entertainment display 130, and the motion control module 115 is coupled to the longitudinal control module 121, the fixed wheel rotation module 122, the lateral control module 140 and the rear wheel steering module 150 respectively.
[0075] In some embodiments, the perception module 111 can receive ultrasonic radar data and surround-view camera data to identify environmental, parking space, and obstacle information; the positioning module 117 can acquire the vehicle's own pose information; the fusion module 112 can fuse ultrasonic radar data, surround-view camera data, and the vehicle's pose information; the planning module 113 can complete path planning based on the fused information; the planning decision module 114 can formulate behavioral strategies based on the path planning; the motion control module 115 can output control commands based on the behavioral strategies; the lateral control module 140, the rear wheel steering module 150, the longitudinal control module 121, and the fixed wheel rotation module 122 can execute control commands, for example, the fixed wheel rotation module 122 can control the locking of the front wheels and torque output.
[0076] For example, during the process of the vehicle traveling to the starting point of rotation, the vehicle travels through the lateral control module 140 and the longitudinal control module 121, and the display control module 116 controls the entertainment display 130 to display the driving route and vehicle speed information; during the process of the vehicle rotating from the starting point of rotation to the ending point of rotation, the front left / right wheels are locked by the fixed wheel rotation module 122 in the controller 120, and the vehicle is controlled to rotate clockwise / counterclockwise around the front left / right wheels; the longitudinal control module 121 controls the vehicle to drive into the target parking space.
[0077] It should be noted that during the vehicle parking process, when the parking controller 110 calls any module in the automatic parking control system 100, it needs to successfully handshake with that module first, and after the call to that module is completed, it needs to disconnect the handshake with that module.
[0078] In some embodiments, the parking controller can be an automatic parking assist (APA) controller, the lateral control module can be an electronic power steering (EPS) system, the display control module can be a human machine interface (HMI) control module, and the entertainment display can be an in-vehicle tablet computer.
[0079] In this way, by controlling the vehicle to rotate around a certain front wheel through the fixed wheel rotation module, the vehicle can be adjusted to a position that can be parked in a parking space using only the longitudinal control module, without having to move the vehicle back and forth multiple times to adjust its position. This reduces the space required for parking and thus reduces the difficulty of parking in small spaces.
[0080] The following is combined with Figure 1 Please refer to the following Figures 2 to 14 The automatic parking control method provided in the embodiments of this application is described.
[0081] It is understood that in the embodiments of this application, the various devices / modules in the automatic parking control system can perform some or all of the steps in the embodiments of this application. These steps or operations are merely examples, and the embodiments of this application can also perform other operations or variations of various operations. Furthermore, the various steps can be performed in different orders as presented in the embodiments of this application, and it is not necessarily necessary to perform all the operations in the embodiments of this application.
[0082] In some embodiments, the vehicle provided in this application may include a first motor, a second motor, and a third motor. The first motor is used to drive two wheels on a first axle, the second motor is used to drive the first wheel on a second axle, and the third motor is used to drive the second wheel on the second axle.
[0083] The first axle can be the front axle of the wheel, and the second axle can be the rear axle of the wheel.
[0084] For example, such as Figure 2 As shown, taking a vehicle with four wheels (front wheel 1, front wheel 2, rear wheel 1, and rear wheel 2) as an example, the first motor can be controlled to drive the front wheels 1 and 2, the second motor can be controlled to drive the rear wheel 1, and the third motor can be controlled to drive the rear wheel 2.
[0085] Figure 3 The flowchart of the automatic parking control method provided in the embodiments of this application is shown. The subject executing the method can be a vehicle or various devices / modules in the vehicle, such as integrated circuits or chips. The embodiments of this application do not specifically limit this.
[0086] For example, such as Figure 3 As shown, the automatic parking control method provided in this application embodiment may include the following S301 and S302:
[0087] S301, Receive parking command.
[0088] The parking command is used to instruct the wheels to activate the automatic parking function.
[0089] In some embodiments, a parking instruction can be generated by the parking controller in response to the user's click operation after the user clicks the parking control displayed on the vehicle display and then clicks the target parking space control.
[0090] Optionally, after the user clicks the parking control, the system can also detect whether the doors and hoods are closed, and whether the sensors and systems are functioning properly. If the doors and hoods are closed and the sensors and systems are functioning properly, the system will perform the subsequent parking operation.
[0091] S302, in response to a parking command, controls the vehicle to drive into the target parking space along the target trajectory.
[0092] Optionally, the target parking space can be selected by the user on the vehicle's infotainment screen or automatically determined by the automatic parking control system.
[0093] The target trajectory includes at least a first trajectory, which is a rotational trajectory that controls the rotation of a single wheel of the vehicle around a first axle.
[0094] Alternatively, a single front wheel may be the front wheel of the vehicle on the side closest to the target parking space.
[0095] For example, combined Figure 2 A single front wheel can be the front wheel 1 closest to parking space 1, the first wheel can be the rear wheel 1, and the second wheel can be the rear wheel 2.
[0096] Optionally, during the process of controlling the vehicle to rotate along the first trajectory, the steering of the first wheel and / or the second wheel can be controlled.
[0097] In some embodiments, the first wheel can be either the left rear wheel or the right rear wheel. Where the first wheel is the left rear wheel, the second wheel is the right rear wheel.
[0098] Optionally, during the rotation of the vehicle along the first trajectory, the steering direction of the first wheel is opposite to that of the second wheel.
[0099] For example, when the first wheel is the left rear wheel, the steering direction of the first wheel is to the left and the steering direction of the second wheel is to the right; when the first wheel is the right rear wheel, the steering direction of the first wheel is to the right and the steering direction of the second wheel is to the left.
[0100] Thus, while the vehicle is rotating around a single front wheel, controlling the two rear wheels to steer in an inverted V-shape toward the front of the vehicle can reduce tire wear during rotation.
[0101] Optionally, the steering angles of the first wheel and the second wheel are the maximum values of the steering angles of the second axle.
[0102] The maximum steering angle of the second axle refers to the maximum angle at which the two wheels of the second axle are allowed to turn. For example, the maximum steering angle of the second axle can be 20° or 30°.
[0103] In this way, controlling the rear wheel steering with the maximum steering angle facilitates vehicle rotation and further reduces tire wear during vehicle rotation.
[0104] Optionally, during the process of controlling the vehicle to rotate along the first trajectory, the individual wheels of the first axle are locked, and after the control of the vehicle to rotate along the first trajectory ends, the individual wheels of the first axle are unlocked.
[0105] In one alternative implementation, a single wheel can be locked or unlocked by controlling the locking device of the individual wheel to close or open.
[0106] For example, the locking device described above can be a brake pedal for a single wheel or a caliper for a single wheel.
[0107] In one example, the locking of a single wheel can be controlled by switching the open / closed state of the brake pedal on a single wheel.
[0108] For example, when the brake pedal of a single wheel is in the closed state, the single wheel does not respond to the torque output by the motor of the single wheel, and the single wheel is locked; when the brake pedal of a single wheel is in the open state, the single wheel responds to the torque output by the motor of the single wheel, and the single wheel is unlocked.
[0109] In another example, the on / off state of the caliper of a single wheel can be controlled to control whether the single wheel is locked.
[0110] For example, when the caliper of a single wheel is in the closed state, the single wheel does not respond to the torque output by the motor of the single wheel, and the single wheel is locked; when the caliper of a single wheel is in the open state, the single wheel responds to the torque output by the motor of the single wheel, and the single wheel is unlocked.
[0111] In another alternative implementation, the first motor can be controlled to not output torque to a single wheel of the first axle by decoupling the wheel ends, thereby locking or unlocking a single wheel.
[0112] Thus, this application locks the wheel to prevent it from rotating during rotation around the wheel, thus avoiding affecting the accuracy of the vehicle's rotation.
[0113] In some embodiments, the motor output torque of each unlocked wheel can be controlled to drive the vehicle to rotate around the locked wheel.
[0114] Optionally, during the process of controlling the vehicle to rotate along the first trajectory, the motors of the wheels other than the single wheel of the two wheels of the first axle can be controlled to output a first torque, the wheels opposite to the single wheel of the first axle of the two wheels of the second axle can be controlled to output a second torque, and the wheels on the same side as the single wheel of the first axle of the two wheels of the second axle can be controlled to output a third torque.
[0115] The first torque and the second torque have opposite torque directions, while the second torque and the third torque have the same torque direction.
[0116] For example, combined Figure 2 ,like Figure 4 As shown, taking parking space 1 as the target parking space in a reverse parking scenario, with the rear left side of the vehicle close to parking space 1 as an example, the front wheels 1 can be locked, motor 1 can be controlled to output reverse torque (such as the third torque) to make the front wheels 2 rotate in the opposite direction, motor 2 can be controlled to output forward torque to make the rear wheels 1 rotate in the forward direction (such as the second torque), and motor 3 can be controlled to output reverse torque (such as the first torque) to make the rear wheels 2 rotate in the opposite direction, thereby driving the vehicle to rotate around the front wheels 1.
[0117] For example, such as Figure 5 As shown, taking the target parking space as an example of a side parking scenario, with the right side of the vehicle's front end close to the target parking space, the front wheel 1 can be locked, and motor 1 can be controlled to output reverse torque (such as the third torque) to make the front wheel 2 rotate forward. Motor 2 can be controlled to output reverse torque to make the rear wheel 1 rotate in the opposite direction (such as the second torque), and motor 3 can be controlled to output forward torque (such as the first torque) to make the rear wheel 2 rotate forward, thereby driving the vehicle to rotate around the front wheel 1.
[0118] Thus, by controlling the motors of the two rear wheels to output torque in different directions, and the motors of the wheels on the same side to output torque in the same direction, this application enables the vehicle to rotate around the second wheel, reducing the space required to adjust the vehicle's orientation.
[0119] Optionally, the target trajectory may also include a second trajectory, which is a driving trajectory in which the two wheels of the vehicle start the second axle and turn in the same direction. The second trajectory connects with the first trajectory at the rotation termination point.
[0120] Optionally, after the vehicle has rotated along the first trajectory, the relative position of the vehicle's orientation and the target parking space can be determined first, and then the vehicle can be controlled to drive into the target parking space along the second trajectory.
[0121] In one alternative implementation, when the vehicle's body orientation is not parallel to the long side of the target parking space, and / or one side of the vehicle's body is located outside the long side of the target parking space, during the process of controlling the vehicle to drive into the target parking space along the second trajectory, the vehicle's posture is adjusted by the steering function of the two wheels of the second axle until the vehicle's body orientation is parallel to the long side of the target parking space, and both sides of the vehicle's body are located inside the long side of the target parking space.
[0122] For example, combined Figure 4 ,like Figure 6 As shown, taking the right rear of the vehicle near parking space 1 as an example, the vehicle's body orientation is not parallel to the long side of parking space 1, and the right side of the vehicle's body is located outside the long side of parking space 1. At this time, it is necessary to control the rear wheels 1 and 2 to turn right, and at the same time control the front wheels 1 and 2 to turn left. Then, control the motors of the front wheels 1, 2, 1, and 2 to output reverse torque to adjust the vehicle's body orientation to be parallel to the long side of parking space 1, with both sides of the vehicle's body located inside the long side of parking space 1, and then drive the vehicle into parking space 1.
[0123] Thus, this application can also invoke the rear wheel steering function to adjust the vehicle's position so that the vehicle can drive straight into the parking space, further reducing the difficulty of parking.
[0124] In another alternative implementation, when the vehicle's body is parallel to the long side of the target parking space and the two sides of the vehicle's body are inside the long side of the target parking space, the motors of the respective wheels of the vehicle are controlled to output torque to drive the vehicle into the target parking space.
[0125] For example, combined Figure 4 ,like Figure 7 As shown, taking the rear of the vehicle as an example of parking space 1, the vehicle's body is parallel to the long side of parking space 1, and the two sides of the vehicle's body are located inside the long side of parking space 1. At this time, the motors of the front wheels 1, front wheels 2, rear wheels 1, and rear wheels 2 are directly controlled to output reverse torque to drive the vehicle into parking space 1.
[0126] In the automatic parking control method provided in this application embodiment, since the wheels cannot be parked in the parking space in a normal way when the parking space is small, this application sets two motors for the two rear wheels in the vehicle and drives the vehicle into the target parking space by controlling the vehicle to rotate around a single front wheel during the parking process, without having to adjust the vehicle's orientation by moving the vehicle back and forth multiple times, thus reducing the space required to adjust the vehicle's orientation and reducing the difficulty of parking in small parking spaces.
[0127] Optionally, the first trajectory may include a rotation start point and a rotation end point, which are determined based on the vehicle's current position, the vehicle's pose information, the position of the target parking space, and path constraint information, including obstacle information and / or the vehicle's minimum turning radius under rear wheel steering.
[0128] The obstacle information is used to constrain the vehicle from colliding with obstacles as it rotates around a single front wheel.
[0129] Minimum turning radius information refers to the minimum turning radius information during the process of the vehicle entering the target parking space after rotating along the first trajectory. Under the minimum turning radius, the steering angle of the two wheels of the first axle of the vehicle is the maximum value of the steering angle of the first axle, the steering angle of the two wheels of the second axle of the vehicle is the maximum value of the steering angle of the second axle, and the steering direction of the two wheels of the first axle is opposite to the steering direction of the two wheels of the second axle.
[0130] In some embodiments, the vehicle's pose information may include the position information of each wheel of the vehicle and the vehicle's body outline information.
[0131] In some embodiments, obstacle information can be the location information of obstacles around the target parking space. For example, the location information of surrounding vehicles, the location information of surrounding people, and the distance information between the target parking space and the opposite parking space.
[0132] Alternatively, obstacle information can be obtained through sensors.
[0133] For example, the positions of vehicles and people around the target parking space and the driving width between opposite parking spaces can be obtained by ultrasonic radar and surround view cameras.
[0134] Optionally, such as Figure 8 As shown, before controlling the wheels to rotate along the first trajectory, the automatic parking control method provided in this application embodiment may further include the following S801 to S803:
[0135] S801. Determine multiple candidate rotation start points from outside the target parking space, and the corresponding candidate rotation end points for each of the multiple candidate rotation start points.
[0136] Alternatively, the starting and ending points of rotation can be determined by randomly scattering points outside the target parking space.
[0137] Among them, the multiple candidate rotation start points are points randomly selected outside the target parking space, and the candidate rotation end points corresponding to the multiple candidate rotation start points are points after rotating the vehicle by a random angle based on the multiple candidate rotation start points.
[0138] S802. Based on the vehicle's current position, the vehicle's pose information, the position of the target parking space, and the vehicle's minimum turning radius information under rear wheel steering, perform collision detection on the process of the vehicle rotating from the candidate rotation start point to the candidate rotation end point, and obtain the collision detection result.
[0139] Optionally, a trajectory planning algorithm can be used to determine the starting point and ending point of rotation by combining the vehicle's rear-wheel steering function, the vehicle's current position, the vehicle's pose information, the position of the target parking space, the vehicle's minimum turning radius under rear-wheel steering, and obstacle information.
[0140] Trajectory planning algorithms can include geometric algorithms, Reeds-Shepp (RS) curve algorithms, hybrid A* algorithms, etc.
[0141] For example, consider a trajectory planning algorithm that includes a geometric algorithm. The vehicle's wheelbase, track width, front wheel steering angle, and rear wheel steering angle can be input into the geometric algorithm to obtain the minimum turning radius of the vehicle based on the rear wheel steering. Then, using this minimum turning radius as a reference, combined with the positions of vehicles and pedestrians around the target parking space and the driving width between opposite parking spaces, the starting and ending points of rotation that will not collide with obstacles during the rotation around the second wheel can be planned.
[0142] S803. The candidate rotation start point and the corresponding candidate rotation end point indicated by the collision detection results are determined as the rotation start point and rotation end point.
[0143] For example, consider three candidate rotation start points (points A, B, and C). After points A, B, and C are each rotated by a random angle, corresponding candidate rotation end points (A1, A2, A3, B1, B2, B3, C1, C2, C3) can be identified. Collision detection results can then be detected when the vehicle rotates from point A to points A1, A2, and A3, when it rotates from point B to points B1, B2, and B3, and when it rotates from point C to points C1, C2, and C3. If the collision detection result when the vehicle rotates from point B to point B2 indicates that no collision occurred, then point B is determined as the rotation start point, and point B2 is determined as the rotation end point.
[0144] Furthermore, if the collision detection results indicate that there are multiple candidate rotation termination points corresponding to the candidate rotation start point where no collision occurred, the candidate rotation termination point with the smallest rotation angle from the candidate rotation start point to each corresponding candidate rotation termination point is taken as the rotation termination point.
[0145] For example, taking the candidate rotation start point indicating that no collision occurred as indicated by the collision detection result as an example, the candidate rotation end point includes three candidate rotation end points (B1, B2, B3). If the rotation angle of the vehicle from point B to point B1 is 40°, the rotation angle of the vehicle from point B to point B2 is 30°, and the rotation angle of the vehicle from point B to point B3 is 45°, then point B2 is taken as the rotation end point.
[0146] Thus, this application selects the candidate rotation start point and the corresponding candidate rotation end point with the smallest rotation angle, taking into account that the vehicle will not collide during rotation, in order to minimize the wear on the tires during vehicle rotation.
[0147] Optionally, in response to a parking command, it can also be determined whether the wheels are at the starting point of rotation, and whether to control the vehicle to rotate along the first trajectory.
[0148] In one alternative implementation, in response to a parking command, if the vehicle is at the starting point of rotation, the motors of the wheels of the vehicle other than the single wheel of the first axle output torque to drive the vehicle to rotate around the single wheel of the first axle.
[0149] In some embodiments, during the process of controlling the vehicle to rotate along the first trajectory, a target rotation angle can be determined based on the current position of the first wheel, the current position of the second wheel, and the position of the rotation termination point. The motor output torque of the other wheels of the vehicle, excluding the single wheel of the first axle, can be controlled to drive the vehicle to rotate around the single wheel of the first axle by the target rotation angle.
[0150] The target rotation angle is less than 180°.
[0151] In some embodiments, the angle difference of less than 180° between the line connecting the rear wheel and the second wheel and the line connecting the rotation termination point and the second wheel can be used as the target rotation angle.
[0152] For example, the angle difference between the line connecting the second wheel and the rear wheel on the same side before the vehicle rotates and the line connecting the second wheel and the rear wheel on the same side after the vehicle rotates is taken as the target rotation angle.
[0153] Optionally, the target rotation angle may include a counterclockwise rotation angle or a clockwise rotation angle.
[0154] For example, combined Figure 4 ,like Figure 9 As shown, taking the front of the vehicle as an example, the rear wheel 1 after the vehicle rotates is located to the left of the rear wheel 1 before the vehicle rotates. Since the target rotation angle is less than 180°, the angle difference between the line connecting the rear wheel 1 and the front wheel 1 and the line connecting the rear wheel 1 and the front wheel 1 after the vehicle rotates is the angle of clockwise rotation around the front wheel 1.
[0155] For example, such as Figure 10 As shown, taking the front of the vehicle as an example, the rear wheel 1 after the vehicle rotates is located to the right of the rear wheel 1 before the vehicle rotates. Since the target rotation angle is less than 180°, the angle difference between the line connecting the rear wheel 1 and the front wheel 1 and the line connecting the rear wheel 1 and the front wheel 1 after the vehicle rotates is the angle of counterclockwise rotation around the front wheel 1.
[0156] In some embodiments, after determining the target rotation angle, the motor output torque of the first wheel can be controlled to drive the vehicle to rotate around the second wheel by the target rotation angle so that the rear wheel of the vehicle is at the end point of rotation.
[0157] In one example, when the target rotation angle is a counterclockwise rotation angle, the motor output torque of the first wheel is controlled to drive the vehicle to rotate counterclockwise around the second wheel by that angle, so that the rear wheel of the vehicle is at the end point of rotation.
[0158] In another example, when the target rotation angle is a clockwise rotation angle, the motor output torque of the first wheel is controlled to drive the vehicle to rotate clockwise around the second wheel by that angle so that the rear wheel of the vehicle is at the end of the rotation.
[0159] Thus, this application can determine the angle by which the rear wheel of a vehicle needs to rotate around the second wheel when rotating from the starting point of rotation to the ending point of rotation, so as to ensure that the rear wheel of the vehicle can be accurately located at the ending point of rotation.
[0160] In another alternative implementation, after responding to a parking command, if the vehicle is not at the starting point of rotation, it is necessary to drive the vehicle until it is at the starting point of rotation, and then control the motor output torque of the other wheels of the vehicle, except for the single wheel of the first axle, to drive the vehicle to rotate around the single wheel of the first axle.
[0161] In some embodiments, after obtaining the rotation start point, a third trajectory can be determined based on the vehicle's initial starting position and the rotation start point.
[0162] In one alternative implementation, the third trajectory can be a driving trajectory that controls the two wheels of the vehicle to turn in the same direction when starting the first axle, and the third trajectory and the first trajectory are connected at the starting point of rotation.
[0163] For example, such as Figure 11 As shown, taking the target parking space as an example of reversing into a parking space, with the rotation starting point located to the right front of the vehicle's initial starting position, the system can control the vehicle's front wheels to turn right and control all of the vehicle's motors to output positive torque, driving the vehicle to travel along the parking path until the second wheel is at the rotation starting point.
[0164] In another alternative implementation, the third trajectory can be a driving trajectory that controls the vehicle to simultaneously initiate the same-direction steering of the two wheels of the first axle and the same-direction steering of the two wheels of the second axle.
[0165] For example, such as Figure 12 As shown, taking the target parking space as an example of reversing into a parking space, with the rotation starting point located to the right front of the vehicle's initial starting position, it is possible to control both the front and rear wheels of the vehicle to turn to the right, and control the vehicle's motors to output positive torque to drive the vehicle according to the parking path until the second wheel is located at the rotation starting point.
[0166] For example, such as Figure 13 As shown, taking the target parking space as an example of a parallel parking scenario, with the rotation starting point located to the right front of the vehicle's initial starting position, it is possible to control both the front and rear wheels of the vehicle to turn to the right, and control the vehicle's motors to output positive torque to drive the vehicle according to the parking path until the second wheel is located at the rotation starting point.
[0167] Thus, before the driving wheels begin to rotate, this application combines the rear wheel steering function to drive the vehicle to the starting point of rotation, so that the vehicle can be positioned at the starting point of rotation at a more precise angle.
[0168] Optionally, if human intervention is detected after responding to a parking command, the automatic parking function is deactivated.
[0169] For example, human operation may include manually controlling the steering wheel, manually pressing the accelerator pedal, manually pressing the brake pedal, etc.
[0170] Thus, this application improves parking safety by detecting whether there is human intervention and disconnecting the automatic parking process.
[0171] The following provides an exemplary description of the complete flow of the automatic parking control method provided in the embodiments of this application.
[0172] For example, such as Figure 14 As shown, the complete flow of the automatic parking control method provided in this application embodiment may include the following S1401 to S1413:
[0173] S1401: Receive user clicks on the automatic parking interface.
[0174] S1402. In response to the click operation, check whether the doors, front and rear hoods are closed, and whether the sensors and systems are functioning properly. If yes, proceed to S1403; otherwise, proceed to S1413.
[0175] S1403. Obtain information about the surrounding environment of the target parking space and the vehicle's position and orientation through sensors.
[0176] S1404. Based on the surrounding environment information of the target parking space, the vehicle's pose information, and the path constraint information, determine the rotation start point and rotation end point.
[0177] S1405. Determine if the vehicle is at the starting point of rotation. If yes, proceed to S1408; otherwise, proceed to S1406.
[0178] S1406. Based on the current position of the vehicle and the position of the starting point of rotation, determine the third trajectory.
[0179] S1407. Drive the vehicle along the third trajectory until the vehicle is at the starting point of rotation.
[0180] S1408. Based on the current position of the first wheel, the current position of the second wheel, and the position of the rotation termination point, determine the target rotation angle.
[0181] S1409. Control the motor output torque of the wheels of the vehicle other than the single wheel of the first axle to drive the vehicle to rotate around the single wheel of the first axle by a target rotation angle so that the vehicle is at the rotation termination point.
[0182] S1410. Determine if the vehicle meets the entry conditions. If yes, proceed to S1411; otherwise, proceed to S1412.
[0183] The conditions for parking include at least one of the following: the vehicle body is parallel to the long side of the target parking space, and the two sides of the vehicle body are located inside the long side of the target parking space.
[0184] S1411. Control the output torque of the motors of each wheel of the vehicle to drive the vehicle into the target parking space.
[0185] S1412. During the process of driving the vehicle into the target parking space, the vehicle body position is adjusted by the rear wheel steering function until the vehicle body orientation is parallel to the long side of the target parking space, and the two sides of the vehicle body are located inside the long side of the target parking space.
[0186] S1413, End.
[0187] Thus, this application controls the output torque of the motors of the other wheels of the vehicle to drive the vehicle to rotate around the locked wheels, thereby parking the vehicle without having to adjust the vehicle's orientation by moving it back and forth multiple times. This reduces the space required for parking and thus reduces the difficulty of parking in situations with limited parking space.
[0188] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the automatic parking control device or electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0189] This application embodiment can, according to the above method, exemplarily divide an automatic parking control device or electronic device into functional modules. For example, the automatic parking control device or electronic device may include functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.
[0190] Figure 15 This is a structural diagram of an automatic parking control device provided in an embodiment of this application. The automatic parking control device is applied to a vehicle, which includes a first motor, a second motor, and a third motor. The first motor drives two wheels on a first axle, the second motor drives the first wheel on a second axle, and the third motor drives the second wheel on the second axle. The automatic parking control device 1500 includes a receiving unit 1501 and a control unit 1502.
[0191] Wherein: the receiving unit 1501 is used to receive a parking instruction, which is used to instruct the wheels to activate the automatic parking function; the control unit 1502 is used to respond to the parking instruction to control the vehicle to drive into the target parking space along the target trajectory, which includes at least a first trajectory, which is a rotation trajectory that controls the rotation of a single wheel of the vehicle around the first axle.
[0192] In some embodiments, the control unit 1502 is specifically used to control the steering of the first wheel and / or the second wheel during the process of controlling the vehicle to rotate along the first trajectory.
[0193] In some embodiments, during the rotation of the vehicle along the first trajectory, the steering direction of the first wheel is opposite to that of the second wheel; wherein, when the first wheel is the left wheel, the steering direction of the first wheel is to the left and the steering direction of the second wheel is to the right; or, when the first wheel is the right wheel, the steering direction of the first wheel is to the right and the steering direction of the second wheel is to the left.
[0194] In some embodiments, the steering angles of the first wheel and the second wheel are the maximum values of the steering angles of the second axle.
[0195] In some embodiments, the control unit 1502 is specifically configured to: lock a single wheel of the first axle during the process of controlling the vehicle to rotate along the first trajectory; and unlock a single wheel of the first axle after the control of the vehicle to rotate along the first trajectory has ended.
[0196] In some embodiments, the control unit 1502 is specifically configured to: control the motors of the wheels other than the single wheel of the first axle to output a first torque during the process of controlling the vehicle to rotate along the first trajectory; control the wheels opposite to the single wheel of the first axle to output a second torque; and control the wheels on the same side as the single wheel of the first axle to output a third torque during the process of controlling the vehicle to rotate along the first trajectory; wherein the first torque and the second torque have the same torque direction, and the second torque and the third torque have opposite torque directions.
[0197] In some embodiments, the first trajectory includes a rotation termination point, and the control unit 1502 is specifically configured to: determine a target rotation angle based on the current position of the first wheel, the current position of the second wheel, and the position of the rotation termination point during the process of controlling the vehicle to rotate along the first trajectory, and control the motor output torque of the other wheels of the vehicle except for the single wheel of the first axle, so as to drive the vehicle to rotate around the single wheel of the first axle by the target rotation angle.
[0198] In some embodiments, the first trajectory further includes a rotation start point, and the rotation start point and rotation end point are determined based on the vehicle's current position, the vehicle's pose information, the position of the target parking space, and path constraint information; wherein, the path constraint information includes obstacle information and / or the vehicle's minimum turning radius information under rear wheel steering; the obstacle information is used to constrain the vehicle from colliding with obstacles during its rotation around a single front wheel, and the minimum turning radius information refers to the minimum turning radius information during the process of the vehicle entering the target parking space after rotating along the first trajectory; under the minimum turning radius, the steering angle of the two wheels of the vehicle's first axle is the maximum value of the first axle steering angle, the steering angle of the two wheels of the vehicle's second axle is the maximum value of the second axle steering angle, and the steering direction of the two wheels of the first axle is opposite to the steering direction of the two wheels of the second axle.
[0199] In some embodiments, the automatic parking control device 1500 further includes a determining unit and a processing unit, wherein: the determining unit is configured to determine multiple candidate rotation start points and candidate rotation end points corresponding to each of the multiple candidate rotation start points from outside the target parking space; the processing unit is configured to perform collision detection on the process of the vehicle rotating from the candidate rotation start point to the candidate rotation end point based on the current position of the vehicle, the vehicle's pose information, the position of the target parking space, and the minimum turning radius information of the vehicle under rear wheel steering, and obtain a collision detection result; the determining unit is further configured to determine the candidate rotation start points and corresponding candidate rotation end points that the collision detection result indicates did not result in a collision as the rotation start point and the rotation end point.
[0200] In some embodiments, the target trajectory further includes a second trajectory; wherein the second trajectory is a driving trajectory in which the two wheels of the vehicle start the second axle and turn in the same direction, and the second trajectory connects with the first trajectory at the rotation termination point.
[0201] In some embodiments, the control unit 1502 is specifically used to adjust the vehicle's position through the rear wheel steering function until the vehicle's body orientation is parallel to the long side of the target parking space and both sides of the vehicle's body are located inside the long side of the target parking space when the vehicle's body orientation is not parallel to the long side of the target parking space and / or one side of the vehicle's body is located outside the long side of the target parking space during the process of controlling the vehicle to travel along the second trajectory.
[0202] In the automatic parking control device provided in this application embodiment, since the wheels cannot be parked in the parking space in a normal way when the parking space is small, this application sets two motors for the two rear wheels in the vehicle and drives the vehicle into the target parking space by controlling the vehicle to rotate around a single front wheel during the parking process, without having to adjust the vehicle's orientation by moving the vehicle back and forth multiple times, thus reducing the space required to adjust the vehicle's orientation and reducing the difficulty of parking in small parking spaces.
[0203] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0204] Figure 16 This is a structural diagram of an electronic device provided in an embodiment of this application. Figure 16 As shown, the electronic device 1600 includes, but is not limited to, a processor 1601 and a memory 1602.
[0205] The memory 1602 described above is used to store the executable instructions of the processor 1601. It is understood that the processor 1601 is configured to execute instructions to implement the automatic parking control method in the above embodiments.
[0206] It should be noted that those skilled in the art will understand that Figure 16 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 16 This may indicate more or fewer components, or a combination of certain components, or a different arrangement of components.
[0207] Processor 1601 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in memory 1602, and by calling data stored in memory 1602, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Processor 1601 may include one or more processing units. Optionally, processor 1601 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 1601.
[0208] The memory 1602 can be used to store software programs and various data. The memory 1602 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a determination unit, processing unit, etc.), etc. Furthermore, the memory 1602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0209] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1602 including instructions, which can be executed by a processor 1601 of an electronic device 1600 to implement the automatic parking control method in the above embodiments.
[0210] In actual implementation, Figure 15 The steps performed by the receiving unit 1501 and the control unit 1502 can all be performed by... Figure 16 The processor 1601 calls the computer program stored in the memory 1602 to implement the process. The specific execution process can be found in the method section of the previous embodiment, and will not be repeated here.
[0211] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0212] In an exemplary embodiment, this application also provides a computer program product including one or more instructions, which can be executed by the processor 1601 of an electronic device to complete the automatic parking control method in the above embodiments.
[0213] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of an electronic device, they implement the various processes of the above method embodiments and achieve the same technical effect as the above method. To avoid repetition, they will not be described again here.
[0214] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0215] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0216] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the classified units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0217] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0218] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, essentially, or the part that contributes to the prior art, or a complete or partial classification of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0219] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An automatic parking control method, characterized in that, Applied to a vehicle, the vehicle including a first motor, a second motor, and a third motor, wherein the first motor drives two wheels on a first axle, the second motor drives a first wheel on a second axle, and the third motor drives a second wheel on the second axle, the method comprising: Receive a parking instruction, the parking instruction being used to instruct the vehicle to activate the automatic parking function; In response to the parking instruction, the vehicle is controlled to drive into the target parking space along a target trajectory, the target trajectory including at least a first trajectory; Wherein, the first trajectory is a rotational trajectory that controls the rotation of a single wheel of the vehicle around the first axle; The first trajectory includes: a rotation start point and a rotation end point; The rotation start point and the rotation end point are determined in the following manner: Multiple candidate rotation start points are determined from outside the target parking space, and each of the multiple candidate rotation start points corresponds to a candidate rotation end point; Based on the vehicle's current position, the vehicle's pose information, the target parking space's position, and the vehicle's minimum turning radius under rear wheel steering, collision detection is performed on the process of the vehicle rotating from the candidate rotation start point to the candidate rotation end point, and collision detection results are obtained. If the collision detection result indicates that there are multiple candidate rotation termination points corresponding to the candidate rotation start point where no collision occurred, the candidate rotation termination point with the smallest rotation angle from the candidate rotation start point to each corresponding candidate rotation termination point among the multiple candidate rotation termination points shall be taken as the rotation termination point.
2. The method according to claim 1, characterized in that, The control of the vehicle to drive into the target parking space along the target trajectory includes: During the process of controlling the vehicle to rotate along the first trajectory, the steering of the first wheel and / or the second wheel is controlled.
3. The method according to claim 2, characterized in that, During the process of the vehicle rotating along the first trajectory, the steering direction of the first wheel is opposite to that of the second wheel; Wherein, if the first wheel is the left wheel, the steering direction of the first wheel is to the left, and the steering direction of the second wheel is to the right; or, When the first wheel is the right wheel, the first wheel turns to the right, and the second wheel turns to the left.
4. The method according to claim 2 or 3, characterized in that, The steering angles of the first wheel and the second wheel are the maximum values of the steering angles of the second axle.
5. The method according to claim 1, characterized in that, The control of the vehicle to drive into the target parking space along the target trajectory includes: During the process of controlling the vehicle to rotate along the first trajectory, the individual wheels of the first axle are locked. After the vehicle has finished rotating along the first trajectory, the individual wheels of the first axle are unlocked.
6. The method according to claim 1, characterized in that, The control of the vehicle to drive into the target parking space along the target trajectory includes: During the process of controlling the vehicle to rotate along the first trajectory, the motors of the wheels other than the single wheel of the two wheels of the first axle output a first torque, the two wheels of the second axle output a second torque to the wheel opposite to the single wheel of the first axle, and the two wheels of the second axle output a third torque to the wheel on the same side as the single wheel of the first axle. The first torque and the second torque have the same torque direction, while the second torque and the third torque have opposite torque directions.
7. The method according to claim 1, characterized in that, The control of the vehicle to drive into the target parking space along the target trajectory includes: During the process of controlling the vehicle to rotate along the first trajectory, the target rotation angle is determined based on the current position of the first wheel, the current position of the second wheel, and the position of the rotation termination point. The motor output torque of the wheels of the vehicle other than the single wheel of the first axle is controlled to drive the vehicle to rotate around the single wheel of the first axle by the target rotation angle.
8. The method according to claim 7, characterized in that, The rotation start point and the rotation end point are determined based on the current position of the vehicle, the vehicle's pose information, the position of the target parking space, and the path constraint information. The path constraint information includes obstacle information and / or minimum turning radius information of the vehicle under rear-wheel steering. The obstacle information is used to constrain the vehicle from colliding with obstacles during its rotation around a single front wheel. The minimum turning radius information refers to the minimum turning radius information of the vehicle during its entry into the target parking space after rotating along the first trajectory. Under the minimum turning radius, the steering angles of the two wheels on the first axle of the vehicle are the maximum values of the first axle steering angle, the steering angles of the two wheels on the second axle of the vehicle are the maximum values of the second axle steering angle, and the steering directions of the two wheels on the first axle are opposite to the steering directions of the two wheels on the second axle.
9. The method according to claim 7, characterized in that, The target trajectory also includes a second trajectory; The second trajectory is the driving trajectory of the two wheels of the vehicle that control the second axle to turn in the same direction, and the second trajectory connects with the first trajectory at the rotation termination point.
10. The method according to claim 9, characterized in that, The control of the vehicle to drive into the target parking space along the target trajectory includes: During the process of controlling the vehicle to travel along the second trajectory, if the vehicle body orientation is not parallel to the long side of the target parking space, and / or one side of the vehicle body is located outside the long side of the target parking space, the vehicle body posture is adjusted by the steering function of the two wheels of the second axle until the vehicle body orientation is parallel to the long side of the target parking space, and both sides of the vehicle body are located inside the long side of the target parking space.
11. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 1 to 10.
12. A vehicle, characterized in that, include: The first motor, the second motor, and the third motor, as well as the electronic device described in claim 11; The first motor is used to drive the two wheels of the first axle, the second motor is used to drive the first wheel of the second axle, and the third motor is used to drive the second wheel of the second axle.
13. A computer-readable storage medium storing instructions, characterized in that, When the computer executes the instruction, the computer performs the method described in any one of claims 1 to 10.
14. A computer program product, characterized in that, The computer program product includes instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Vehicle steering control method and related device
CN118220333A
Vehicle travel control device
CN118302346A
Controller and vehicle
JP2007062623A
