Control method and device and vehicle
By obtaining and utilizing the information of the first parking trajectory and the second parking trajectory in automatic parking, the vehicle steering is controlled in advance, which solves the problem of parking in the existing technology that is not consistent with human driving experience and habits, and improves the parking experience. and efficiency, avoiding tire wear.
Patent Information
- Application Number
- CN202310232160.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
After the existing automatic parking technology plans the global trajectory, the vehicle segmented control tracks each segment of the parking trajectory to ensure tracking accuracy, but it is not in line with human driving experience and habits, affects the user's parking experience, and may cause tire wear.
By obtaining the first parking trajectory and the second parking trajectory, where the end point of the first parking trajectory is the starting point of the second parking trajectory, and before the vehicle is about to drive to the end point of the first parking trajectory, according to the second parking trajectory The vehicle trajectory is previewed and the vehicle is controlled to turn in advance, thereby reducing parking time and avoiding tire wear caused by turning when driving to the end.
It improves the smoothness and humanity of the parking process, improves the user's parking experience, reduces the time required for parking, and avoids tire wear.
Smart Images

Figure CN118560461A
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of intelligent driving, and more specifically, to a control method, device and vehicle. Background Art
[0002] Auto parking (AP) refers to the automatic parking of a vehicle, that is, the vehicle's automatic driving system can semi-automatically or fully automatically help the user park the vehicle into the parking space. Auto parking can include auto parking assist (APA), remote parking assist (RPA) and auto valet parking (AVP).
[0003] Currently, after planning the global trajectory, the vehicle can control and track each parking trajectory in sections, so that the vehicle can park in the parking space or park out at the target location. Although the tracking accuracy can be guaranteed by controlling and tracking each parking trajectory, it does not conform to human driving experience and habits, and affects the user's parking experience. Summary of the invention
[0004] The present application provides a control method, device and vehicle, which help to improve the smoothness and human-likeness during the parking process, thereby helping to improve the user's parking experience.
[0005] The vehicle in the present application can be a vehicle in a broad sense, and can be a means of transportation (such as commercial vehicles, passenger cars, motorcycles, flying cars, trains, etc.), industrial vehicles (such as forklifts, trailers, tractors, etc.), engineering vehicles (such as excavators, bulldozers, cranes, etc.), agricultural equipment (such as mowers, harvesters, etc.), amusement equipment, toy vehicles, etc. The embodiments of the present application do not specifically limit the type of vehicle.
[0006] In a first aspect, a control method is provided, the method comprising: acquiring a first parking trajectory and a second parking trajectory, the end point of the first parking trajectory being the starting point of the second parking trajectory, the vehicle being in a first gear position in the first parking trajectory, the vehicle being in a second gear position in the second parking trajectory, and the first gear position and the second gear position being different; and before the vehicle travels to the end point according to the first parking trajectory, controlling the vehicle to turn according to the second parking trajectory.
[0007] Based on the above technical solution, when the vehicle is about to reach the end of the first parking trajectory, it can preview the second parking trajectory and control the vehicle to turn in advance, which helps to reduce the time required for parking and makes the parking process more in line with human driving experience and habits, which helps to improve the smoothness and human-likeness of the parking process, thereby helping to improve the user's parking experience; at the same time, it avoids tire wear caused by controlling the steering of the vehicle when driving to the end of the first parking trajectory (the vehicle's speed is zero).
[0008] In some possible implementations, acquiring the first parking trajectory and the second parking trajectory includes: acquiring information about a target parking area, a current position of the vehicle, and obstacles around the vehicle; and determining a parking trajectory according to the target parking area, the current position of the vehicle, and the information about obstacles around the vehicle, the parking trajectory being a trajectory from the current position of the vehicle to the target parking area, and the parking trajectory including the first parking trajectory and the second parking trajectory.
[0009] In some possible implementations, the target parking area may be an area where the target parking space is located, or may also be a target parking exit area.
[0010] In some possible implementations, obtaining the first parking trajectory and the second parking trajectory includes: sending information about a target parking area, a current position of the vehicle, and obstacles around the vehicle to a cloud server; and receiving a parking trajectory determined by the cloud server based on the target parking area, the current position of the vehicle, and the information about obstacles around the vehicle, the parking trajectory being a trajectory from the current position of the vehicle to the target parking area, and the parking trajectory including the first parking trajectory and the second parking trajectory.
[0011] Exemplarily, the steering angle of the wheel corresponding to the end of the first parking track is a first angle deflected clockwise along a preset direction, and the steering angle of the wheel corresponding to the beginning of the second parking track is a second angle deflected counterclockwise along the preset direction. Before the vehicle drives to the end point according to the first parking track, the wheel steering angle of the vehicle can be controlled to be adjusted to the second angle deflected counterclockwise along the preset direction. The preset direction can be the direction where the center line of the tire is located when the vehicle is driving in a straight line.
[0012] In combination with the first aspect, in certain implementations of the first aspect, controlling the steering of the vehicle according to the second parking trajectory includes: flipping the second parking trajectory along a first direction to obtain a first flipped trajectory, the first direction being perpendicular to a tangent direction at the end point of the first parking trajectory; and controlling the steering of the vehicle according to the first flipped trajectory.
[0013] Based on the above technical solution, the vehicle can flip the second parking trajectory along the first direction to obtain the first flip trajectory. Therefore, the first flip trajectory can be used as an extension of the first parking trajectory. In this way, when the vehicle is about to reach the end of the first parking trajectory, the vehicle can be controlled to turn in advance according to the first flip trajectory, which helps to reduce the time required for parking and makes the parking process more in line with human driving experience and habits, which helps to improve the smoothness and human-likeness of the parking process, thereby helping to improve the user's parking experience; at the same time, it avoids tire wear caused by controlling the vehicle's steering when driving to the end of the first parking trajectory (the vehicle's speed is zero).
[0014] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: before the vehicle travels to the end point according to the first parking trajectory, controlling the vehicle to switch from the first gear to the second gear according to the second parking trajectory.
[0015] Based on the above technical solution, when the vehicle is about to reach the end point of the first parking trajectory, the vehicle can be controlled to steer and shift gears at the same time, which helps to reduce the time required for parking and makes the parking process more in line with human driving experience and habits, which helps to improve the smoothness and human-likeness of the parking process, thereby helping to improve the user's parking experience; at the same time, it avoids tire wear caused by controlling the steering of the vehicle when it reaches the end point of the first parking trajectory (the vehicle's speed is zero).
[0016] In combination with the first aspect, in certain implementations of the first aspect, controlling the steering of the vehicle according to the second parking trajectory includes: when the vehicle switches from the first gear to the second gear, controlling the steering of the vehicle according to the second parking trajectory.
[0017] In combination with the first aspect, in certain implementations of the first aspect, before controlling the vehicle to perform a gear shift operation, the method further includes: determining that the speed of the vehicle is less than or equal to a preset speed.
[0018] Based on the above technical solution, before executing the gear shift operation, it can be determined that the speed of the vehicle is less than or equal to the preset speed. In this way, the vehicle body vibration caused by excessive speed when the vehicle shifts gears is avoided, which helps to improve the user's parking experience.
[0019] Exemplarily, the preset speed is 0.2 m / s.
[0020] In combination with the first aspect, in some implementations of the first aspect, before acquiring the first parking trajectory and the second parking trajectory, the method further includes: detecting that the automatic parking function is turned on.
[0021] In some possible implementations, the automatic parking function includes an APA function, an RPA function, an AVP function, or an automatic parking out function.
[0022] In combination with the first aspect, in certain implementations of the first aspect, before the vehicle travels to the destination according to the first parking trajectory, the vehicle is controlled to turn according to the second parking trajectory, including: when the distance between the vehicle and the destination is less than or equal to a preset distance, the vehicle is controlled to turn according to the second parking trajectory; or when the remaining parking time of the vehicle to the destination is less than or equal to a preset time, the vehicle is controlled to turn according to the second parking trajectory.
[0023] In some possible implementations, the preset distance may be 20 centimeters (cm).
[0024] In some possible implementations, the preset duration may be 1 second (s).
[0025] The remaining parking time may be a parking time required from the position of the vehicle to the end point of the first parking trajectory during the process of traveling along the first parking trajectory.
[0026] In a second aspect, a control device is provided, the device comprising: an acquisition unit, used to acquire a first parking trajectory and a second parking trajectory, the end point of the first parking trajectory being the starting point of the second parking trajectory, the vehicle being in a first gear in the first parking trajectory, and the vehicle being in a second gear in the second parking trajectory, and the first gear being different from the second gear; and a control unit, used to control the steering of the vehicle according to the second parking trajectory before the vehicle travels to the end point according to the first parking trajectory.
[0027] In combination with the second aspect, in certain implementations of the second aspect, the control unit is used to: flip the second parking trajectory along a first direction to obtain a first flipped trajectory, where the first direction is perpendicular to a tangent direction at the end point of the first parking trajectory; and control the steering of the vehicle according to the first flipped trajectory.
[0028] In combination with the second aspect, in certain implementations of the second aspect, the control unit is further used to: before the vehicle drives to the end point according to the first parking trajectory, control the vehicle to switch from the first gear to the second gear according to the second parking trajectory.
[0029] In combination with the second aspect, in certain implementations of the second aspect, the device further includes: a determination unit, configured to determine that a speed of the vehicle is less than or equal to a preset speed before the control unit controls the vehicle to perform a gear shifting operation.
[0030] In combination with the second aspect, in some implementations of the second aspect, the device further includes: a detection unit, configured to detect that the automatic parking function is turned on before the acquisition unit acquires the first parking trajectory and the second parking trajectory.
[0031] In combination with the second aspect, in certain implementations of the second aspect, the control unit is used to: when the distance between the vehicle and the destination is less than or equal to a preset distance, control the vehicle to turn according to the second parking trajectory; or when the remaining parking time of the vehicle to the destination is less than or equal to a preset time, control the vehicle to turn according to the second parking trajectory.
[0032] In a third aspect, the present application provides a control device, which includes a processing unit and a storage unit, wherein the storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit to enable the device to perform any possible control method in the first aspect.
[0033] In a fourth aspect, the present application provides a control system, which includes a sensor and a computing platform, and the computing platform includes any possible control device in the second aspect, or includes the control device described in the third aspect.
[0034] In a fifth aspect, the present application provides a vehicle, comprising any possible control device in the second aspect, or comprising the control device described in the third aspect, or comprising the control system described in the fourth aspect.
[0035] In a sixth aspect, the present application provides a computer program product, comprising: a computer program code, when the computer program code is run on a computer, the computer executes any possible control method in the first aspect above.
[0036] It should be noted that the above-mentioned computer program code can be stored in whole or in part on the first storage medium, wherein the first storage medium can be packaged together with the processor or separately packaged with the processor, and the embodiments of the present application do not specifically limit this.
[0037] In a seventh aspect, the present application provides a computer-readable medium storing a program code, and when the computer program code runs on a computer, the computer executes any possible control method in the first aspect.
[0038] In an eighth aspect, the present application provides a chip, comprising a circuit, wherein the circuit is used to execute any possible control method in the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1It is a functional block diagram of a vehicle provided in an embodiment of the present application.
[0040] Figure 2 It is a schematic diagram of a parking scene.
[0041] Figure 3 It is a schematic diagram of a parking scenario provided in an embodiment of the present application.
[0042] Figure 4 It is a schematic flow chart of the control method provided in the embodiment of the present application.
[0043] Figure 5 It is another schematic diagram of the parking scene provided in an embodiment of the present application.
[0044] Figure 6 It is another schematic flow chart of the control method provided in an embodiment of the present application.
[0045] Figure 7 It is a schematic block diagram of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. "At least one" means one or more. For example, "at least one of A and B" is similar to "A and / or B", describing the association relationship of associated objects, indicating that three relationships can exist, for example, at least one of A and B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0047] In the embodiments of the present application, prefixes such as "first" and "second" are used only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present application does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "multiple" is two or more.
[0048] Figure 11 is a functional block diagram of a vehicle 100 provided in an embodiment of the present application. The vehicle 100 may include a perception system 120 and a computing platform 150, wherein the perception system 120 may include one or more sensors for sensing information about the environment around the vehicle 100. For example, the perception system 120 may include a positioning system, and the positioning system may be a global positioning system (GPS), or a Beidou system or other positioning systems. The perception system 120 may also include one or more of an inertial measurement unit (IMU), a laser radar, a millimeter wave radar, an ultrasonic radar, and a camera device.
[0049] Some or all functions of the vehicle 100 may be controlled by the computing platform 150. The computing platform 150 may include one or more processors, such as processors 151 to 15n (n is a positive integer). The processor is a circuit with signal processing capability. In one implementation, the processor may be a circuit with instruction reading and execution capability, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by a processor such as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, the processor may also be a hardware circuit designed for artificial intelligence, which may be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. In addition, the computing platform 150 may also include a memory, the memory is used to store instructions, and some or all of the processors 151 to 15n may call the instructions in the memory to implement corresponding functions.
[0050] Currently, after planning the global trajectory, the vehicle can control and track each parking trajectory in sections, so that the vehicle can park in the parking space or park out at the target location. Although the tracking accuracy can be guaranteed by controlling and tracking each parking trajectory, it does not conform to human driving experience and habits, and affects the user's parking experience.
[0051] Figure 2 It is a schematic diagram of a parking scene.
[0052] like Figure 2As shown in (a), the vehicle is at the parking starting point (e.g., position A) and the parking space to be parked is the target parking space. The vehicle can plan the parking trajectory from position A to the target parking space according to the position A, the position of the target parking space and the information of obstacles around the vehicle, and divide the parking trajectory into parking trajectory 1 and parking trajectory 2, wherein parking trajectory 1 is the trajectory of the vehicle moving forward in D gear, and parking trajectory 2 is the trajectory of the vehicle reversing into the target parking space in R gear. The intersection point of parking trajectory 1 and parking trajectory 2 is position O. When the vehicle is at the parking starting point, the steering angle of the wheel is the angle between the center line of the tire and the preset direction x0 (e.g., 0°), and the preset direction is the direction of the center line of the tire when the vehicle is moving straight.
[0053] The above position A may be the center point of the projection of the vehicle on the ground when the vehicle is at the parking starting point, and the position O may be the center point of the projection of the vehicle on the ground when the vehicle is at the gear shifting point.
[0054] like Figure 2 As shown in (b), when the vehicle travels to position O along the parking trajectory 1, the vehicle can control the steering angle of the wheel to +20° ("+20°" means a 20° clockwise deflection from the preset direction x0) according to the lateral turning angle instruction corresponding to the parking trajectory 1.
[0055] like Figure 2 As shown in (c) in FIG. 1 , when the vehicle travels to position O along the parking trajectory, the vehicle can switch to the next parking trajectory (parking trajectory 2). At this time, the vehicle can control the steering angle of the wheel to -25° ("-25°" means a 25° counterclockwise deflection from the preset direction x0) according to the lateral turning angle instruction corresponding to parking trajectory 2.
[0056] When the vehicle drives to position O along parking track 1, it needs to switch to parking track 2. In order to ensure lateral tracking accuracy, the vehicle needs to stop and steer, switch gears and start again to track parking track 2. This method can ensure tracking accuracy, but the overall parking experience is compromised by the technical solution. The entire parking track is divided into two sections, which does not conform to human driving experience and habits. When the vehicle drives to the end of parking track 1 and is about to switch to parking track 2, due to the large difference between the lateral turning angle corresponding to parking track 1 and the lateral turning angle corresponding to parking track 2, the vehicle needs to adjust the steering angle of the wheel in situ when driving to position O, so that the steering angle of the adjusted wheel meets the lateral turning angle corresponding to parking track 2. On the one hand, adjusting the steering angle of the wheel in situ will affect the smoothness and human nature of parking; on the other hand, adjusting the steering angle of the wheel in situ will also cause wear on the tires.
[0057] The present application provides a control method, device and vehicle, which preview the lateral turning angle instruction of the next parking trajectory at the end of the previous parking trajectory, control the vehicle to turn in advance, avoid controlling the vehicle to turn according to the next trajectory when the vehicle reaches the shift point, help reduce the time required for parking, and make the parking process more in line with human driving experience and habits, help improve the smoothness and human-likeness of the parking process, and thus help improve the user's parking experience; at the same time, avoid tire wear caused by controlling the vehicle to turn when driving to the end of the first parking trajectory (the vehicle speed is zero).
[0058] Figure 3 Another schematic diagram of a parking scenario provided in an embodiment of the present application is shown.
[0059] like Figure 3 As shown in (a) in FIG. 1 , when the vehicle travels along parking track 1 to position B (the position before position O), the steering angle of the wheel is +20°. The vehicle can adjust the steering angle of the wheel in advance according to the lateral turning angle instruction corresponding to parking track 2. For example, the lateral turning angle corresponding to the beginning of parking track 2 is -25°, then the vehicle can control the steering angle of the wheel from +20° to -25° during the process of traveling from position B to position O.
[0060] In one embodiment, the distance between the position B and the position O is a preset distance. Exemplarily, the preset distance is 20 cm.
[0061] In one embodiment, the driving time required to drive from the position B to the position O is a preset time. Exemplarily, the preset time is 1 second.
[0062] In one embodiment, at position B, the vehicle can also switch from the D gear to the R gear. After switching from the D gear to the R gear, the vehicle can also travel from position B to position O'. In this way, the vehicle has performed a gear shift operation before traveling to position O', avoiding the vehicle performing a gear shift operation only after traveling to position O', which helps to reduce the parking time and thus helps to improve the user's parking experience.
[0063] In one embodiment, before the vehicle switches from the D gear to the R gear, it can be determined that the speed of the vehicle is less than or equal to a preset speed.
[0064] In one embodiment, when the vehicle speed is less than or equal to a preset speed, the vehicle can be controlled to switch from the D gear to the R gear, and the vehicle can continue to move forward to the position O'. When the vehicle reaches the position O', the vehicle can be controlled to reverse and park in the target parking space.
[0065] In one embodiment, when the vehicle is controlled to switch from the D gear to the R gear, the vehicle can be controlled to switch from tracking the parking trajectory 1 to tracking the parking trajectory 2. Thus, the vehicle steering can be controlled according to the parking trajectory 2. In this way, the parking trajectory can be switched in advance, and the steering can be switched while the gear is switched, which helps to improve the smoothness and human-likeness of the gear shift.
[0066] Exemplarily, the preset speed is 0.2 m / s.
[0067] The vehicle's initial planned shift point is position O. Before the vehicle reaches position O, it performs steering according to the lateral turning angle corresponding to parking trajectory 2, and may not be able to reach position O according to parking trajectory 1. Since position B is close to position O, the distance between position O and position O' can be very close, and the vehicle can be controlled to switch parking trajectories in advance on the premise that the error between the actual parking trajectory of the vehicle and the planned parking trajectory is small, and the vehicle can be controlled to change gears while steering when switching parking trajectories, which helps to reduce the time required for parking and improve parking efficiency; at the same time, on the premise of ensuring control and tracking accuracy, the smoothness and human-likeness of parking are improved, which helps to improve the user's parking experience.
[0068] like Figure 3 As shown in (b) in FIG. 1 , when the vehicle travels from position B to position O', the steering angle of the wheel is adjusted from +20° to -25°. At this time, the vehicle can be directly controlled to park in the target parking space according to the parking trajectory 2.
[0069] above Figure 2 and Figure 3 The example of the vehicle parking in the target parking space is used for explanation, and the embodiments of the present application are not limited thereto. For example, the embodiments of the present application can also be applied to the scene where the vehicle is parked out of the parking space.
[0070] above Figure 2 and Figure 3 In the example, the entire parking trajectory of the vehicle when it is parked in the target parking space is divided into parking trajectory 1 and parking trajectory 2, and the embodiments of the present application are not limited thereto. For example, the entire parking trajectory of the vehicle can also be divided into parking trajectory 1, parking trajectory 2, parking trajectory 3 and parking trajectory 4, wherein the vehicle is in the D gear in parking trajectory 1, the vehicle is in the R gear in parking trajectory 2, the vehicle is in the D gear in parking trajectory 3, and the vehicle is in the R gear in parking trajectory 4. Before the vehicle travels to the intersection of parking trajectory 2 and parking trajectory 3, the vehicle can also control the vehicle to turn in advance according to the lateral turning angle corresponding to parking trajectory 3; or, before the vehicle travels to the intersection of parking trajectory 2 and parking trajectory 3, the vehicle can also perform a gear shift operation in advance.
[0071] Figure 4FIG. 4 is a schematic flow chart of a control method 400 provided in an embodiment of the present application. The method 400 may be Figure 1 The method 400 may be executed by the vehicle 100 shown in the figure, or the method 400 may be executed by the computing platform 150, or the method 400 may be executed by a system consisting of the computing platform 150 and a sensor, or the method 400 may be executed by a system-on-chip (SoC) in the computing platform 150, or the method 400 may be executed by a processor in the computing platform 150. The following description will be made by taking the vehicle as an example. The method 400 includes:
[0072] S410, acquiring a first parking trajectory and a second parking trajectory, wherein an end point of the first parking trajectory is a starting point of the second parking trajectory, a vehicle is in a first gear position in the first parking trajectory, and the vehicle is in a second gear position in the second parking trajectory, and the first gear position and the second gear position are different.
[0073] Exemplarily, the first parking trajectory may be the parking trajectory 1, and the second parking trajectory may be the parking trajectory 2. For example, in the parking trajectory 1, the vehicle is in the D gear, and in the parking trajectory 2, the vehicle is in the R gear.
[0074] The end point of the first parking trajectory being the starting point of the second parking trajectory can also be understood as the first parking trajectory and the second parking trajectory being two adjacent parking trajectories in the entire parking trajectory of the vehicle.
[0075] S420: Before the vehicle travels to the end point according to the first parking trajectory, the vehicle is controlled to turn according to the second parking trajectory.
[0076] For example, before the vehicle drives to the position O, the vehicle can control the steering according to the parking trajectory 2 .
[0077] Optionally, controlling the vehicle to turn according to the second parking trajectory includes: flipping the second parking trajectory along a first direction to obtain a first flipped trajectory, wherein the first direction is perpendicular to a tangent direction at the end point of the first parking trajectory; and controlling the vehicle to turn according to the first flipped trajectory.
[0078] Figure 5 Another schematic diagram of a parking scenario provided in an embodiment of the present application is shown.
[0079] like Figure 5As shown, after the vehicle obtains parking trajectory 1 and parking trajectory 2, the parking trajectory 2 can be flipped along the first direction to obtain flip trajectory 1. Before the vehicle drives to position O, the vehicle can be controlled to steer according to flip trajectory 1, so that the steering angle of the wheel when reaching position O matches the steering angle of the wheel corresponding to parking trajectory 2, and the vehicle does not need to be controlled to steer at position O, which is also helpful to improve the smoothness and human-likeness during parking, thereby helping to improve the parking experience of users.
[0080] The first flipping trajectory mentioned above may be flipping trajectory 1 .
[0081] Optionally, the method 400 further includes: before the vehicle travels to the end point according to the first parking trajectory, controlling the vehicle to switch from the first gear to the second gear according to the second parking trajectory.
[0082] Optionally, before controlling the vehicle to perform a gear shift operation, the method 400 further includes: determining that the speed of the vehicle is less than or equal to a preset speed.
[0083] Optionally, controlling the vehicle to turn according to the second parking trajectory includes: controlling the vehicle to turn according to the second parking trajectory when the vehicle switches from a first gear to a second gear.
[0084] For example, in the second half of the vehicle traveling along the first parking trajectory, if the speed of the vehicle is less than or equal to the preset speed, the vehicle can be controlled to switch from the first gear to the second gear and switch from controlling and tracking the first parking trajectory to controlling and tracking the second parking trajectory. At the same time, when switching from the first gear to the second gear, the vehicle can be controlled to turn according to the second parking trajectory.
[0085] Optionally, before acquiring the first parking trajectory and the second parking trajectory, the method 400 further includes: detecting that an automatic parking function is turned on.
[0086] Exemplarily, the detection that the automatic parking function is turned on includes: detecting that a user clicks on a control corresponding to the automatic parking; or detecting that a user issues a voice command corresponding to the automatic parking.
[0087] Optionally, before the vehicle travels to the destination according to the first parking trajectory, the vehicle is controlled to turn according to the second parking trajectory, including: when the distance between the vehicle and the destination is less than or equal to a preset distance, the vehicle is controlled to turn according to the second parking trajectory; or when the remaining parking time of the vehicle to the destination is less than or equal to a preset time, the vehicle is controlled to turn according to the second parking trajectory.
[0088] Exemplarily, the preset distance is 20 cm.
[0089] Exemplarily, the preset duration is 1 second.
[0090] Figure 6 FIG. 6 is a schematic flow chart of a control method 600 provided in an embodiment of the present application. The method 600 may be Figure 1 The method 600 may be executed by the vehicle 100 shown in the figure, or the method 600 may be executed by the computing platform 150, or the method 600 may be executed by a system consisting of the computing platform 150 and a sensor, or the method 600 may be executed by the SoC in the computing platform 150, or the method 600 may be executed by a processor in the computing platform 150. The following description will be made by taking the vehicle as an example. The method 600 includes:
[0091] S610: Plan a global parking trajectory based on the current position of the vehicle and information about the vehicle's surroundings.
[0092] Exemplarily, taking the case of a vehicle parking in a target parking space as an example, the information about the vehicle's surroundings includes information about the target parking space and information about obstacles around the vehicle (eg, pillars, and vehicles parked in parking spaces around the target parking space).
[0093] S620: receiving a next parking trajectory while controlling and tracking the current parking trajectory, and using the next parking trajectory as an extension of the current parking trajectory after the next parking trajectory is flipped along the first direction.
[0094] The description of the first direction can refer to the above embodiment and will not be repeated here.
[0095] Exemplarily, the current parking trajectory of the vehicle may be the parking trajectory 1 , the next parking trajectory may be the parking trajectory 2 , and the flipping trajectory may be the flipping trajectory 1 .
[0096] S630: Before the vehicle reaches the end of the current parking trajectory, the vehicle is controlled to turn and the gear is adjusted according to the next parking trajectory.
[0097] In one embodiment, before reaching the end point of the current parking trajectory, the vehicle is controlled to turn according to the lateral turning angle corresponding to the flip trajectory.
[0098] In one embodiment, before the vehicle reaches the end of the current parking trajectory, the vehicle is controlled to adjust the gear according to the gear corresponding to the next parking trajectory.
[0099] The above control of vehicle steering and control of vehicle gear adjustment may be performed simultaneously, or the control of vehicle steering may be performed first and then the control of vehicle gear adjustment, or the control of vehicle gear adjustment may be performed first and then the control of vehicle steering.
[0100] In one embodiment, the triggering conditions for controlling the vehicle to turn and for controlling the vehicle to adjust the gear position may be different.
[0101] Exemplarily, when the distance to the end point of the current parking trajectory is less than or equal to a preset distance, the vehicle steering may be controlled according to the next parking trajectory; or, when the remaining parking time for the vehicle to reach the end point is less than or equal to a preset time, the vehicle steering may be controlled according to the second parking trajectory.
[0102] Exemplarily, when the vehicle speed is less than or equal to a preset speed, the vehicle can be controlled to adjust the gear.
[0103] In one embodiment, the triggering conditions for controlling the vehicle to turn and controlling the vehicle to adjust the gear position may be the same.
[0104] For example, when the vehicle speed is less than or equal to the preset speed, the vehicle can be controlled to adjust the gear (for example, from D gear to R gear). While adjusting the gear, the vehicle can be controlled to turn according to the lateral turning angle of the next track.
[0105] S640: Determine whether the current parking trajectory is the last parking trajectory.
[0106] If the current parking trajectory is the last parking trajectory, execute S650; if the current parking trajectory is not the last parking trajectory, take the next parking trajectory as the current parking trajectory, and return to continue to execute S620.
[0107] S650: Determine whether the vehicle has reached the target posture.
[0108] For example, taking a vehicle parking in a target parking space as an example, the target posture may be the posture of the vehicle after parking in the target parking space.
[0109] For example, taking the case of a vehicle parking out of a target parking space, the target position may be the area after the vehicle is planned to park out of the target parking space, or the target position may be the area after the vehicle is parked out of the target parking space selected by the user.
[0110] If the vehicle reaches the target position, parking is completed; otherwise, the vehicle can return to continue executing S650.
[0111] Figure 7 FIG. 7 is a schematic block diagram of a control device 700 provided in an embodiment of the present application. Figure 7As shown, the device 700 includes: an acquisition unit 710, used to acquire a first parking trajectory and a second parking trajectory, the end point of the first parking trajectory is the starting point of the second parking trajectory, the vehicle is in a first gear in the first parking trajectory, and the vehicle is in a second gear in the second parking trajectory, and the first gear is different from the second gear; a control unit 720, used to control the steering of the vehicle according to the second parking trajectory before the vehicle travels to the end point according to the first parking trajectory.
[0112] Optionally, the control unit 720 is configured to: flip the second parking trajectory along a first direction to obtain a first flipped trajectory, where the first direction is perpendicular to a tangent direction at the end point of the first parking trajectory; and control the steering of the vehicle according to the first flipped trajectory.
[0113] Optionally, the control unit 720 is further configured to: before the vehicle drives to the end point according to the first parking trajectory, control the vehicle to switch from the first gear to the second gear according to the second parking trajectory.
[0114] Optionally, the device 700 further includes: a determination unit, configured to determine that the speed of the vehicle is less than or equal to a preset speed before controlling the vehicle to switch from the first gear to the second gear.
[0115] Optionally, the device 700 further includes: a detection unit, configured to detect that the automatic parking function is turned on before the acquisition unit acquires the first parking trajectory and the second parking trajectory.
[0116] Optionally, the control unit 720 is used to: when the distance between the vehicle and the destination is less than or equal to a preset distance, control the vehicle to turn according to the second parking trajectory; or when the remaining parking time of the vehicle to the destination is less than or equal to a preset time, control the vehicle to turn according to the second parking trajectory.
[0117] For example, the acquisition unit 710 may be Figure 1 The computing platform in the computing platform or the processing circuit, processor or controller in the computing platform. Taking the acquisition unit 710 as the processor 151 in the computing platform as an example, the processor 151 can acquire the first parking trajectory and the second parking trajectory.
[0118] For example, the processor 151 may plan a parking trajectory from the current position of the vehicle to the target parking space based on data collected by sensors outside the vehicle cabin and the current position of the vehicle. The parking trajectory may include a first parking trajectory and a second parking trajectory.
[0119] For another example, the processor 151 can control the transceiver to send data collected by the vehicle's external cabin sensor and the vehicle's current position to the cloud server, and the cloud server determines the parking trajectory from the vehicle's current position to the target parking space based on the data collected by the vehicle's external cabin sensor and the vehicle's current position. The processor 151 can control the transceiver to receive the parking trajectory.
[0120] For another example, the control unit 720 may be Figure 1 The computing platform in the computing platform or the processing circuit, processor or controller in the computing platform. Taking the control unit 720 as the processor 152 in the computing platform as an example, the processor 152 can control the vehicle to travel along the first parking trajectory according to the first parking trajectory obtained by the processor 151. Before controlling the vehicle to travel to the end point of the first parking trajectory, the processor 152 can control the vehicle to turn according to the second parking trajectory.
[0121] The functions implemented by the acquisition unit 710 and the functions implemented by the control unit 720 may be implemented by different processors, or may be implemented by the same processor, which is not limited in the embodiment of the present application.
[0122] It should be understood that the division of the units in the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. In addition, the units in the device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of the units of the device, wherein the processor is, for example, a general-purpose processor, such as a CPU or a microprocessor, and the memory is a memory in the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units can be realized by designing the hardware circuits. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD. Taking FPGA as an example, it can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured through the configuration file, so as to realize the functions of some or all of the above units. All units of the above device may be implemented entirely in the form of a processor calling software, or entirely in the form of a hardware circuit, or partially in the form of a processor calling software and the rest in the form of a hardware circuit.
[0123] Each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0124] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of SoC. The SoC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including CPU and FPGA, CPU and artificial intelligence processor, CPU and GPU, etc.
[0125] An embodiment of the present application also provides a device, which includes a processing unit and a storage unit, wherein the storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit so that the device executes the method or steps executed by the above embodiment.
[0126] Alternatively, if the device is located in a vehicle, the processing unit may be Figure 1 Processors 151-15n are shown.
[0127] An embodiment of the present application also provides a control system, the path planning system includes one or more sensors and a computing platform, wherein the computing platform includes the above-mentioned device.
[0128] Exemplarily, the one or more sensors may be located in a vehicle, and the computing platform may be located in a cloud server or in the vehicle.
[0129] An embodiment of the present application also provides a vehicle, which may include the above-mentioned device or the above-mentioned control system.
[0130] The embodiment of the present application further provides a computer program product, which includes: a computer program code, and when the computer program code is executed on a computer, the computer executes the above control method.
[0131] The embodiment of the present application further provides a computer-readable medium, wherein the computer-readable medium stores a program code. When the computer program code is executed on a computer, the computer executes the above control method.
[0132] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or a power-on erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.
[0133] It should be understood that in the embodiment of the present application, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor.
[0134] It should also be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0135] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0136] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0137] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0140] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0141] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered. Within the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A control method, characterized in that: include: Acquire a first parking trajectory and a second parking trajectory, wherein an end point of the first parking trajectory is a starting point of the second parking trajectory, a vehicle is in a first gear position in the first parking trajectory, and the vehicle is in a second gear position in the second parking trajectory, and the first gear position and the second gear position are different; Before the vehicle travels to the end point according to the first parking trajectory, the vehicle is controlled to turn according to the second parking trajectory.
2. The method according to claim 1, characterized in that The controlling the vehicle steering according to the second parking trajectory includes: Flipping the second parking trajectory along a first direction to obtain a first flipped trajectory, wherein the first direction is perpendicular to a tangent direction at the end point of the first parking trajectory; The vehicle is controlled to turn according to the first flipping trajectory.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: Before the vehicle travels to the end point according to the first parking trajectory, the vehicle is controlled to switch from the first gear position to the second gear position according to the second parking trajectory.
4. The method according to claim 3, characterized in that Before controlling the vehicle to switch from the first gear to the second gear, the method further includes: It is determined that the speed of the vehicle is less than or equal to a preset speed.
5. The method according to any one of claims 1 to 4, characterized in that Before acquiring the first parking trajectory and the second parking trajectory, the method further includes: Detected that the Autopark feature is on.
6. The method according to any one of claims 1 to 5, characterized in that Before the vehicle travels to the end point according to the first parking trajectory, controlling the vehicle to turn according to the second parking trajectory includes: When the distance between the vehicle and the end point is less than or equal to a preset distance, controlling the vehicle to turn according to the second parking trajectory; or, When the remaining parking time of the vehicle to the end point is less than or equal to a preset time, the vehicle is controlled to turn according to the second parking trajectory.
7. A control device, characterized in that: include: an acquisition unit, configured to acquire a first parking trajectory and a second parking trajectory, wherein an end point of the first parking trajectory is a starting point of the second parking trajectory, a vehicle is in a first gear position in the first parking trajectory, and the vehicle is in a second gear position in the second parking trajectory, and the first gear position and the second gear position are different; A control unit is used to control the steering of the vehicle according to the second parking trajectory before the vehicle travels to the end point according to the first parking trajectory.
8. The device according to claim 7, characterized in that The control unit is used for: Flipping the second parking trajectory along a first direction to obtain a first flipped trajectory, wherein the first direction is perpendicular to a tangent direction at the end point of the first parking trajectory; The vehicle is controlled to turn according to the first flipping trajectory.
9. The device according to claim 7 or 8, characterized in that The control unit is further used for: Before the vehicle travels to the end point according to the first parking trajectory, the vehicle is controlled to switch from the first gear position to the second gear position according to the second parking trajectory.
10. The device according to claim 9, characterized in that The device also includes: A determination unit is used to determine that the speed of the vehicle is less than or equal to a preset speed before the control unit controls the vehicle to switch from the first gear to the second gear.
11. The device according to any one of claims 7 to 10, characterized in that The device also includes: The detection unit is configured to detect that the automatic parking function is turned on before the acquisition unit acquires the first parking trajectory and the second parking trajectory.
12. The device according to any one of claims 7 to 11, characterized in that The control unit is used for: When the distance between the vehicle and the end point is less than or equal to a preset distance, controlling the vehicle to turn according to the second parking trajectory; or, When the remaining parking time of the vehicle to the end point is less than or equal to a preset time, the vehicle is controlled to turn according to the second parking trajectory.
13. A control device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program stored in the memory, so that the apparatus performs the method according to any one of claims 1 to 6.
14. A vehicle, characterized in that: Comprising a control device as claimed in any one of claims 7 to 13.
15. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a computer, the method according to any one of claims 1 to 6 is implemented.
16. A chip, characterized in that: include: A circuit for executing the method according to any one of claims 1 to 6.
