Parking control methods, apparatus, devices, readable storage media and program products
By using preset driving modes and PID control to adjust deceleration in real time, the problem of accurate parking in various scenarios in existing parking control methods has been solved, achieving accurate parking of vehicles at parking points and simplifying the control process.
Patent Information
- Application Number
- CN202210255590.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-15
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-03-15
AI Technical Summary
Existing parking control methods are difficult to meet the precise parking needs in various scenarios, especially in the small error stage where the accuracy is poor, and the control process is complex and the scope of application is narrow.
The vehicle is controlled to travel to the target location using a preset driving mode. By adjusting the deceleration in real time, the vehicle is controlled to stop in two stages: deceleration and braking. Combined with PID control for compensation, the vehicle is ensured to stop accurately at the parking point.
It enables precise parking of vehicles in various scenarios, with a simple control process, strong robustness, wide applicability, and meets the parking needs of different venues.
Smart Images

Figure CN116788243B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of autonomous driving technology, and in particular relates to a parking control method, apparatus, device, readable storage medium and program product thereof. Background Technology
[0002] In the research of autonomous driving technology, autonomous parking is one of the key research areas, and with the development of autonomous driving technology, the requirements for the accuracy of autonomous parking are becoming increasingly higher.
[0003] In related technologies, autonomous vehicles typically employ a proportional-integral-differential (PID) longitudinal control algorithm for parking control. However, because this relies on error for parking control, its accuracy is relatively poor in the small error stage. Other precise parking control methods, such as trains stopping at platforms, monitor speed from a distance far from the parking point, ensuring that the vehicle's speed remains within a specified range as it passes each marker at different distances from the parking point, ultimately guaranteeing vehicle accuracy. However, this requires setting multiple markers along the parking route and a relatively long parking preparation distance, making the control process more complex and its applicability narrower.
[0004] It is evident that the parking control methods in related technologies are insufficient to meet the precise parking needs in various scenarios. Summary of the Invention
[0005] This application provides a parking control method, apparatus, device, readable storage medium, and program product to solve the technical problem that existing parking control methods are unable to meet the precise parking needs in various scenarios.
[0006] In a first aspect, embodiments of this application provide a parking control method, the method comprising:
[0007] The vehicle is controlled to drive to the target location according to a preset driving mode. In the preset driving mode, the vehicle's driving speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the driving speed at time i. The target location is a preset distance away from the parking point, and i is a positive integer.
[0008] When the vehicle reaches the target location, a braking operation is performed.
[0009] Secondly, embodiments of this application provide a parking control device, the device comprising:
[0010] The deceleration module is used to control the vehicle to drive to the target position according to a preset driving mode. In the preset driving mode, the vehicle's driving speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the driving speed at time i. The target position is a preset distance away from the parking point, and i is a positive integer.
[0011] The braking module is used to perform a braking operation when the vehicle travels to the target position.
[0012] Thirdly, embodiments of this application provide an electronic device, the device comprising:
[0013] Processor and memory storing programs or instructions;
[0014] The processor implements the above-described method when executing the program or instructions.
[0015] Fourthly, embodiments of this application provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the method described above.
[0016] Fifthly, embodiments of this application provide a computer program product, wherein instructions in the computer program product, when executed by a processor of an electronic device, cause the electronic device to perform the above-described method.
[0017] The parking control method, apparatus, device, readable storage medium, and program product of this application embodiment can control a vehicle to drive to a target location according to a preset driving mode. In the preset driving mode, the vehicle's driving speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the driving speed at time i. The target location is separated from the parking point by a preset distance. When the vehicle reaches the target location, a braking operation is performed.
[0018] The vehicle parking process can be divided into two stages: deceleration and stopping. First, the deceleration is continuously adjusted based on the real-time driving speed to bring the vehicle close to the parking spot. Then, a stopping operation is performed near the parking spot to bring the vehicle to a complete stop. This approach allows for coarse control during the deceleration phase, simplifying the process, enhancing robustness, reducing limitations on parking locations, and broadening its applicability. The stopping operation then ensures precise parking, thus meeting the precise parking needs of various scenarios. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic flowchart of a parking control method provided in one embodiment of this application;
[0021] Figure 2 This is a graph showing different deceleration states of the parking control method provided in the embodiments of this application;
[0022] Figure 3 This is a vehicle speed change curve of the parking control method provided in the embodiments of this application;
[0023] Figure 4 This is a schematic diagram of the structure of a parking control device provided in another embodiment of this application;
[0024] Figure 5 This is a schematic diagram of the structure of an electronic device provided in another embodiment of this application. Detailed Implementation
[0025] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0026] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, 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, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0027] To address the problems of the prior art, embodiments of this application provide a parking control method, apparatus, device, readable storage medium, and program product thereof. The parking control method provided by embodiments of this application will be described first.
[0028] Figure 1 A flowchart illustrating a parking control method according to an embodiment of this application is shown. This parking control method can be applied to any scenario of fixed-point parking for autonomous vehicles, such as... Figure 1 As shown, the parking control method may include the following steps:
[0029] Step 101: Control the vehicle to drive to the target location according to the preset driving mode. In the preset driving mode, the vehicle's driving speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the driving speed at time i. The target location is a preset distance away from the parking point, and i is a positive integer.
[0030] Step 102: Once the vehicle has reached the target location, perform a braking operation.
[0031] The specific implementation methods of each of the above steps will be described in detail below.
[0032] In this embodiment of the application, the parking control method can control the vehicle to drive to the target position according to a preset driving mode. In the preset driving mode, the vehicle's driving speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the driving speed at time i. The target position is separated from the parking point by a preset distance. When the vehicle reaches the target position, a braking operation is performed.
[0033] The vehicle parking process can be divided into two stages: deceleration and stopping. First, the deceleration is continuously adjusted based on the real-time driving speed to bring the vehicle close to the parking spot. Then, a stopping operation is performed near the parking spot to bring the vehicle to a complete stop. This approach allows for coarse control during the deceleration phase, simplifying the process, enhancing robustness, reducing limitations on parking locations, and broadening its applicability. The stopping operation then ensures precise parking, thus meeting the precise parking needs of various scenarios.
[0034] The specific implementation methods for each of the above steps are described below.
[0035] In step 101, the target location can be a position at a preset distance from the parking spot, where the preset distance can be a distance value close to 0, and the specific value can be set according to the actual situation. In other words, the target location can be located near the parking spot.
[0036] Controlling the vehicle to the target location according to the preset driving mode can be achieved by automatically controlling the vehicle to activate the preset driving mode when the vehicle is within a preset range of the parking point, and then controlling the vehicle to the target location according to the preset driving mode; or by responding to a parking command by activating the preset driving mode and controlling the vehicle to the target location according to the preset driving mode.
[0037] In the preset driving mode, the vehicle's deceleration at time i can be determined based on the vehicle's speed at time i, and the vehicle can be controlled to decelerate according to the deceleration at time i. Then, the speed at time i+1 after deceleration can be determined, and the vehicle's deceleration at time i+1 can be determined based on the vehicle's speed at time i+1, and the vehicle can be controlled to decelerate according to the deceleration at time i+1. Then, the speed at time i+2 after deceleration can be determined, and so on. The vehicle's deceleration can be continuously adjusted according to the real-time speed to control the vehicle to decelerate to the target position.
[0038] It is understandable that the vehicle's speed at different times can be obtained based on a preset frequency. In other words, there is a preset time interval between time i and time i+1. The preset time interval can be set according to the actual situation, and no specific limitation is made here.
[0039] As the vehicle decelerates and approaches the target location, a braking operation can be performed. This is understandable because once the vehicle reaches the target location, it is near the parking spot. Performing the braking operation at this point allows for increased braking force as the vehicle approaches the parking spot, ensuring a timely and precise stop. It's also understandable that during the deceleration process towards the target location, the speed can be reduced to a lower value. Since the vehicle is traveling at a lower speed upon reaching the target location, this effectively ensures a smooth braking operation.
[0040] In some examples, a minimum braking force can be preset. This minimum braking force can be set based on actual conditions and empirical values, simultaneously meeting requirements such as smooth stopping, preventing the vehicle from rolling back after stopping, and ensuring parking comfort. During the braking operation, if the vehicle's speed when reaching the target position is less than or equal to a preset first threshold, the minimum braking force can be determined as the target braking force. The vehicle is then controlled to stop comfortably based on the target braking force. The preset first threshold can be set according to actual conditions, such as a desired speed. If the vehicle's speed when reaching the target position is greater than the preset first threshold, a target braking force greater than the minimum braking force can be determined based on the vehicle's speed and preset relationships to control the vehicle to stop.
[0041] For example, the target braking force can be determined based on a preset correlation table between driving speed and braking force. In the preset correlation table, "speed 1" is associated with "braking force 1", "speed 2" is associated with "braking force 2", "speed 3" is associated with "braking force 3", and so on, with "speed n" associated with "braking force n". Here, "speed 1" can be a preset first threshold, and "braking force 1" can be the minimum braking force. If the vehicle's speed when reaching the target position is less than or equal to "speed 1", then "braking force 1" can be used as the target braking force; if the vehicle's speed when reaching the target position is "speed 2", then "braking force 2" can be used as the target braking force; and if the vehicle's speed when reaching the target position is "speed 3", then "braking force 3" can be used as the target braking force.
[0042] In some embodiments, step 101 above may specifically perform the following steps:
[0043] Obtain the vehicle's speed and first distance at time i. The first distance at time i is the distance between the vehicle and the parking point at time i.
[0044] Determine the preset coefficient for time i based on the driving speed at time i.
[0045] The vehicle's deceleration at time i is determined based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, and the preset expected speed.
[0046] Determine the vehicle's speed at time i+1 based on the deceleration at time i-th.
[0047] In this embodiment of the application, the vehicle's speed at time i and the first distance at time i can be obtained. The first distance at time i can be determined based on the vehicle's position at time i and the position of the parking point. That is, the first distance at time i can be the distance between the vehicle and the parking point at time i.
[0048] The preset coefficients for time i can be determined based on the driving speed at time i. These preset coefficients can be variable coefficients that change according to the driving speed.
[0049] After determining the preset coefficient at time i, the vehicle's deceleration at time i can be determined based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, and the preset expected speed. The preset expected speed can be a speed value close to 0, and its specific value can be set according to actual conditions. This avoids the vehicle stopping prematurely before reaching the parking point and ensures a lower driving speed when reaching the target position, thus guaranteeing braking comfort.
[0050] The specific formula for calculating the deceleration of the vehicle at time i can be shown in formula (1):
[0051]
[0052] Among them, a cmd(i) Let K be the deceleration at time i. i v is the preset coefficient at time i. i Let v be the speed at time i, v0 be the desired speed, and s be the speed at time i. i Let be the first distance at time i.
[0053] Once the deceleration at time i is determined, the vehicle can be controlled to decelerate at the deceleration at time i, and then the vehicle's speed at time i+1 can be determined.
[0054] It is understandable that, such as Figure 2 As shown, there are three deceleration modes when a vehicle is decelerating. Ideally, the vehicle can decelerate uniformly (as shown by curve 201), thereby precisely controlling the vehicle's speed and the distance between the vehicle and the parking point. However, in actual driving, due to factors such as the scenario and the vehicle's own condition, it is almost impossible for the vehicle to control an ideal uniform deceleration motion. Usually, it decelerates slightly first and then significantly (as shown by curve 202), or it decelerates significantly first and then slightly (as shown by curve 203). For precise parking, since it is necessary to strictly control the distance between the vehicle and the parking point, a coarse-to-fine control strategy can often be adopted, that is, decelerates significantly first and then slightly (as shown by curve 203). In this way, the distance between the vehicle and the parking point can be adjusted and corrected in time, and the vehicle's position is easier to control. Therefore, combined with formula (1), the value of the preset coefficient can gradually decrease as the driving speed decreases. In other words, the deceleration can gradually decrease as the driving speed decreases, so that the vehicle can drive to the target position in a deceleration mode of first decelerating significantly and then slightly.
[0055] In some embodiments, determining the vehicle's speed at time i+1 based on the deceleration at time i can be specifically performed using the following steps:
[0056] If the driving speed at time i is less than the preset reference speed, determine the speed difference between the driving speed at time i and the reference speed, where the reference speed is greater than the expected speed.
[0057] Based on the speed difference, determine the vehicle's compensated acceleration at time i;
[0058] Based on the compensated acceleration and deceleration at time i, determine the target deceleration at time i.
[0059] Determine the vehicle's speed at time i+1 based on the target deceleration at time i.
[0060] It is understandable that when a vehicle is decelerating, there is a risk of premature stopping due to external driving conditions. To reduce this risk and further ensure the accuracy of vehicle stopping, the speed difference between the driving speed at time i and the reference speed can be determined if the driving speed at time i is less than a preset reference speed. The reference speed can be a speed value that is close to 0 and greater than the desired speed, and the specific value can be set according to the actual situation. The expression for the speed difference can be shown in formula (2):
[0061]
[0062] Among them, e speed(i) Let v be the velocity difference at time i. i Let v be the speed at time i. ref For reference speed.
[0063] The compensation acceleration of the vehicle at time i can be determined based on the speed difference. For example, the compensation acceleration of the vehicle at time i can be determined based on proportional-integral-differential (PID). The formula for calculating the compensation acceleration at time i is shown in formula (3):
[0064] a offset(i) =B1e speed(i) +B2∫e speed(i) dt+B3e speed(i) (3)
[0065] Among them, a offset(i) Let e be the compensation acceleration at time i. speed(i) Let B1 be the speed difference at time i, B2 be the proportional control parameter of the PID controller, B3 be the integral control parameter of the PID controller, and B4 be the derivative control parameter of the PID controller.
[0066] The target deceleration at time i can be determined based on the compensated acceleration and deceleration at time i. The calculation formula is shown in formula (4):
[0067] a out(i) =a offset(i) +a cmd(i) (4)
[0068] Among them, a out(i) Let a be the target deceleration at time i. offset(i) Let a be the compensation acceleration at time i. cmd(i)Let be the deceleration at time i.
[0069] In this way, PID control can be added in real time to compensate for speed control during deceleration, ensuring that the vehicle can still glide to the target position at a low speed after deceleration is too fast, thus ensuring the accuracy of parking.
[0070] In some embodiments, determining the preset coefficient at time i based on the driving speed at time i can be specifically performed by the following steps:
[0071] Obtain the preset interpolation table, which includes N velocities and N coefficients that correspond one-to-one, where N is a positive integer greater than 1;
[0072] Determine the preset coefficients in the interpolation table that match the driving speed at time i.
[0073] In this embodiment, the preset coefficients can be coefficients from a preset interpolation table, wherein the preset interpolation table can be as shown in formula (5):
[0074]
[0075] It is possible to determine the preset coefficients in the interpolation table that match the driving speed at time i. For example, it is possible to first determine the target speed among N speeds that matches the driving speed at time i, and then the target coefficients corresponding to the target speeds can be determined as the preset coefficients at time i.
[0076] In some embodiments, the deceleration of the vehicle at time i is determined based on the driving speed at time i, a preset coefficient at time i, a first distance at time i, and a preset desired speed. This can be achieved by performing the following steps:
[0077] Obtain the vehicle's braking delay time;
[0078] Based on the braking delay time and the driving speed at time i, determine the vehicle's reaction distance at time i.
[0079] The vehicle's deceleration at time i is determined based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, the preset expected speed, and the reaction distance at time i.
[0080] In this embodiment, to further improve parking accuracy, the delay time of the vehicle's own actuators during braking can also be considered. Based on this, the vehicle's braking delay time can be obtained, and the vehicle's reaction distance at time i can be determined according to the braking delay time and the driving speed at time i. Then, the vehicle's deceleration at time i can be determined according to the driving speed at time i, the preset coefficient at time i, the first distance at time i, the preset expected speed, and the reaction distance at time i.
[0081] At this point, the specific formula for calculating the deceleration at time i can be shown in formula (6):
[0082]
[0083] Among them, a cmd(i) Let K be the deceleration at time i. i v is the preset coefficient at time i. i Let v be the speed at time i, v0 be the desired speed, and s be the speed at time i. i Let t be the first distance at time i. delay v is the braking delay time. i ·t delay Let be the reaction distance at time i.
[0084] In some embodiments, step 101 above may specifically perform the following steps:
[0085] Obtain the vehicle's speed at time j, and the second distance between the vehicle and the parking point at time j, where j is a positive integer;
[0086] Determine the vehicle's braking distance at time j based on its speed at time j.
[0087] Under preset conditions, the vehicle is controlled to travel to the target position according to the preset driving mode. The preset conditions include the second distance being less than or equal to the braking distance at time j.
[0088] In this embodiment, the vehicle's speed at time j and the second distance between the vehicle and the parking point at time j can be obtained, where time j can be any time before the vehicle is controlled to travel to the target location according to a preset driving mode. In other words, before the vehicle is controlled to travel to the target location according to the preset driving mode, the vehicle's speed and distance from the parking point can be obtained in real time, or the vehicle's speed and distance from the parking point can be obtained at preset time intervals.
[0089] The braking distance of a vehicle at time j can be determined based on its speed at time j. For example, the braking distance at time j can refer to the distance required for the vehicle to decelerate from its speed at time j to 0. It is understood that the braking distance can be obtained using existing braking distance estimation algorithms.
[0090] If the second distance between the vehicle and the parking point at time j is less than or equal to the braking distance at time j, the preset driving mode can be activated, and the vehicle can be controlled to drive to the target position according to the preset driving mode.
[0091] In this way, a preset driving mode can be activated when preset conditions are met. This can effectively prevent the vehicle from driving in the preset driving mode too early during the autonomous driving process, which would cause the process to take too long and reduce the overall continuity of autonomous driving.
[0092] Understandably, if the preset conditions are not met, the vehicle can automatically drive according to the normal driving mode based on the actual situation. For example, the vehicle can use the existing longitudinal control algorithm to control its driving. If the second distance between the vehicle and the parking point at time j is less than or equal to the braking distance at time j, the vehicle can be controlled to drive to the target position according to the preset driving mode. If the second distance between the vehicle and the parking point at time j is greater than the braking distance at time j, the vehicle can continue to be controlled according to the longitudinal control algorithm.
[0093] like Figure 3 As shown, t1 can be the time when the vehicle is controlled to travel to the target position according to the preset driving mode, and t2 can be the time when the vehicle travels to the target position. It can be understood that, based on the relevant operation of controlling the vehicle to travel to the target position according to the preset driving mode in the embodiments of this application, when the vehicle travels to the target position, its driving speed can be reduced to the desired speed v0, that is, the driving speed corresponding to time t2 can be v0.
[0094] Before time t1, the vehicle can be controlled to drive according to the existing PID-based longitudinal control algorithm. From time t1 to time t2, the vehicle can be controlled to drive to the target position according to the preset driving mode. At time t2, the vehicle speed is close to 0 and the vehicle is near the parking point, so a braking operation can be performed to make the vehicle stop precisely at the parking point, completing the entire process of precise parking.
[0095] In some embodiments, determining the vehicle's braking distance at time j based on the vehicle's speed at time j can be achieved by performing the following steps:
[0096] Obtain the vehicle's braking delay time;
[0097] Determine the vehicle's reaction distance at time j based on the braking delay time and the vehicle's speed at time j.
[0098] The braking distance of the vehicle at time j is determined based on the driving speed at time j, the reaction distance at time j, and the preset deceleration.
[0099] To more accurately determine when the vehicle will travel to the target position according to the preset driving mode, the delay time of the vehicle's own actuators during the braking process can be considered when determining the braking distance of the vehicle at time j.
[0100] Based on this, the vehicle's braking delay time can be obtained, and the vehicle's reaction distance at time j can be determined according to the braking delay time and the driving speed at time j. Subsequently, the vehicle's braking distance at time j can be determined according to the driving speed at time j, the reaction distance at time j, and the preset deceleration. The specific calculation formula for the braking distance at time j is shown in formula (7):
[0101]
[0102] Among them, brake s(j) Let v be the braking distance at time j, a be the preset deceleration, and v be the braking distance at time j. j Let t be the speed at time j. delay v is the braking delay time. j ·t delay Let be the reaction distance at time j.
[0103] In some embodiments, the preset conditions may further include:
[0104] The driving speed at time j is less than or equal to the preset speed threshold.
[0105] Understandably, to further accurately determine when the vehicle should travel to the target location according to the preset driving mode, the preset conditions may also include the vehicle speed at time j being less than a preset speed threshold. If the vehicle speed at time j is greater than the preset speed threshold, it can be considered that the vehicle may be in a situation requiring emergency braking, and in this case, emergency braking measures can be taken to ensure safety.
[0106] In other words, the vehicle can be controlled to travel to the target position according to the preset driving mode when the second distance between the vehicle and the parking point at time j is less than or equal to the braking distance at time j, and the driving speed at time j is less than or equal to the preset speed threshold.
[0107] Based on the parking control method provided in the above embodiments, this application also provides an embodiment of a parking control device.
[0108] Figure 4 A schematic diagram of a parking control device according to another embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.
[0109] Reference Figure 4 The parking control device 400 may include:
[0110] The deceleration module 401 is used to control the vehicle to drive to the target position according to the preset driving mode. In the preset driving mode, the vehicle's driving speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the driving speed at time i. The target position is separated from the parking point by a preset distance, and i is a positive integer.
[0111] The braking module 402 is used to perform braking operations when the vehicle has traveled to the target position.
[0112] In some embodiments, the deceleration module 401 may include:
[0113] The first acquisition unit is used to acquire the vehicle's driving speed at time i and the first distance at time i, where the first distance at time i is the distance between the vehicle and the parking point at time i.
[0114] The first determining unit is used to determine the preset coefficient at time i based on the driving speed at time i.
[0115] The second determining unit is used to determine the deceleration of the vehicle at time i based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, and the preset expected speed.
[0116] The third determining unit is used to determine the vehicle's speed at time i+1 based on the deceleration at time i.
[0117] In some embodiments, the third determining unit described above can be specifically used for:
[0118] If the driving speed at time i is less than the preset reference speed, determine the speed difference between the driving speed at time i and the reference speed, where the reference speed is greater than the expected speed.
[0119] Based on the speed difference, determine the vehicle's compensated acceleration at time i;
[0120] Based on the compensated acceleration and deceleration at time i, determine the target deceleration at time i.
[0121] Determine the vehicle's speed at time i+1 based on the target deceleration at time i.
[0122] In some embodiments, the first determining unit described above can be specifically used for:
[0123] Obtain the preset interpolation table, which includes N velocities and N coefficients that correspond one-to-one, where N is a positive integer greater than 1;
[0124] Determine the preset coefficients in the interpolation table that match the driving speed at time i.
[0125] In some embodiments, the second determining unit described above can be specifically used for:
[0126] Obtain the vehicle's braking delay time;
[0127] Based on the braking delay time and the driving speed at time i, determine the vehicle's reaction distance at time i.
[0128] The vehicle's deceleration at time i is determined based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, the preset expected speed, and the reaction distance at time i.
[0129] In some embodiments, the deceleration module 401 may further include:
[0130] The second acquisition unit is used to acquire the vehicle's speed at time j and the second distance between the vehicle and the parking point at time j, where j is a positive integer;
[0131] The fourth determining unit is used to determine the braking distance of the vehicle at time j based on the driving speed at time j.
[0132] The deceleration unit is used to control the vehicle to travel to the target position according to a preset driving mode under preset conditions, wherein the preset conditions include a second distance being less than or equal to the braking distance at time j.
[0133] In some embodiments, the fourth determining unit described above can be specifically used for:
[0134] Obtain the vehicle's braking delay time;
[0135] Determine the vehicle's reaction distance at time j based on the braking delay time and the vehicle's speed at time j.
[0136] The braking distance of the vehicle at time j is determined based on the driving speed at time j, the reaction distance at time j, and the preset deceleration.
[0137] In some embodiments, the preset conditions may further include:
[0138] The driving speed at time j is less than or equal to the preset speed threshold.
[0139] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application, and are devices corresponding to the above-mentioned parking control method. All implementation methods in the above-mentioned method embodiments are applicable to the embodiments of this device. For details on its specific functions and the technical effects it brings, please refer to the method embodiment section, which will not be repeated here.
[0140] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments 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. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0141] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in yet another embodiment of this application is shown.
[0142] The device may include a processor 501 and a memory 502 storing programs or instructions.
[0143] When processor 501 executes the program, it implements the steps in any of the above method embodiments.
[0144] For example, the program can be divided into one or more modules / units, one or more of which are stored in memory 502 and executed by processor 501 to complete this application. One or more modules / units can be a series of program instruction segments capable of performing a specific function, which describe the program's execution process in the device.
[0145] Specifically, the processor 501 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0146] Memory 502 may include mass storage for data or instructions. For example, and not limitingly, memory 502 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 502 may include removable or non-removable (or fixed) media. Where appropriate, memory 502 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 502 is non-volatile solid-state memory.
[0147] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.
[0148] The processor 501 implements any of the methods described above by reading and executing programs or instructions stored in the memory 502.
[0149] In one example, the electronic device may also include a communication interface 503 and a bus 510. The processor 501, memory 502, and communication interface 503 are connected via the bus 510 and communicate with each other.
[0150] The communication interface 503 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0151] Bus 510 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 510 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0152] Furthermore, in conjunction with the methods in the above embodiments, this application embodiment can provide a readable storage medium for implementation. This readable storage medium stores a program or instructions; when executed by a processor, the program or instructions implement any of the methods in the above embodiments. This readable storage medium can be read by a machine such as a computer.
[0153] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0154] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0155] This application provides a computer program product stored in a readable storage medium. The program product is executed by at least one processor to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0156] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0157] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer grids such as the Internet, intranets, etc.
[0158] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0159] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by a computer program or instructions. These programs or instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0160] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A parking control method, characterized in that, include: The vehicle is controlled to drive to the target location according to a preset driving mode. In the preset driving mode, the vehicle's driving speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the driving speed at time i. The target location is a preset distance away from the parking point, and i is a positive integer. When the vehicle reaches the target location, a braking operation is performed; The step of controlling the vehicle to the target location according to the preset driving mode includes: Obtain the vehicle's speed at time i and the first distance at time i, wherein the first distance at time i is the distance between the vehicle and the parking point at time i; Based on the driving speed at time i, a preset coefficient for time i is determined; wherein the preset coefficient is a variable coefficient that changes according to the driving speed and is configured to decrease as the driving speed decreases; Based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, and the preset desired speed, the deceleration of the vehicle at time i is determined; the formula for calculating the deceleration is as follows: in, Let be the deceleration at time i. For the preset coefficient at time i, Let be the speed at time i. For the desired speed, The first distance at time i; If the driving speed at time i is less than a preset reference speed, determine the speed difference between the driving speed at time i and the reference speed, wherein the reference speed is greater than the expected speed; Based on the speed difference, determine the compensated acceleration of the vehicle at time i; Based on the compensated acceleration and the deceleration at time i, determine the target deceleration at time i. The vehicle's speed at time i+1 is determined based on the target deceleration at time i.
2. The method according to claim 1, characterized in that, The step of determining the preset coefficient at time i based on the driving speed at time i includes: Obtain a preset interpolation table, which includes N velocities and N coefficients that correspond one-to-one, where N is a positive integer greater than 1; Determine the preset coefficient in the interpolation table that matches the driving speed at time i.
3. The method according to claim 1, characterized in that, Determining the vehicle's deceleration at time i based on the driving speed at time i, a preset coefficient at time i, a first distance at time i, and a preset desired speed includes: Obtain the braking delay time of the vehicle; The reaction distance of the vehicle at time i is determined based on the braking delay time and the driving speed at time i. The deceleration of the vehicle at time i is determined based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, the preset expected speed, and the reaction distance at time i.
4. The method according to claim 1, characterized in that, The step of controlling the vehicle to the target location according to the preset driving mode includes: Obtain the vehicle's speed at time i, and the second distance between the vehicle and the parking point at time i; Based on the driving speed at time i, determine the braking distance of the vehicle at time i. Under preset conditions, the vehicle is controlled to travel to the target position according to a preset driving mode, wherein the preset conditions include the second distance being less than or equal to the braking distance at the i-th moment.
5. The method according to claim 4, characterized in that, Determining the braking distance of the vehicle at time i based on the driving speed at time i includes: Obtain the braking delay time of the vehicle; The reaction distance of the vehicle at time i is determined based on the braking delay time and the driving speed at time i. The braking distance of the vehicle at time i is determined based on the driving speed at time i, the reaction distance at time i, and the preset deceleration.
6. The method according to claim 4, characterized in that, The preset conditions also include: The driving speed at time i is less than or equal to a preset speed threshold.
7. A parking control device, characterized in that, The device includes: A deceleration module is used to control the vehicle to travel to a target position according to a preset driving mode. In the preset driving mode, the vehicle's speed at time i+1 is determined based on the deceleration at time i, and the deceleration at time i is determined based on the speed at time i. The target position is a preset distance away from the parking point, and i is a positive integer. A braking module is used to perform a braking operation when the vehicle reaches the target position; The deceleration module is specifically used for: Obtain the vehicle's speed at time i and the first distance at time i, wherein the first distance at time i is the distance between the vehicle and the parking point at time i; Based on the driving speed at time i, a preset coefficient for time i is determined; wherein the preset coefficient is a variable coefficient that changes according to the driving speed and is configured to decrease as the driving speed decreases; Based on the driving speed at time i, the preset coefficient at time i, the first distance at time i, and the preset desired speed, the deceleration of the vehicle at time i is determined; the formula for calculating the deceleration is as follows: in, Let be the deceleration at time i. For the preset coefficient at time i, Let be the speed at time i. For the desired speed, The first distance at time i; If the driving speed at time i is less than a preset reference speed, determine the speed difference between the driving speed at time i and the reference speed, wherein the reference speed is greater than the expected speed; Based on the speed difference, determine the compensated acceleration of the vehicle at time i; Based on the compensated acceleration and the deceleration at time i, determine the target deceleration at time i. The vehicle's speed at time i+1 is determined based on the target deceleration at time i.
8. An electronic device, characterized in that, The device includes: a processor and a memory storing programs or instructions; When the processor executes the program or instructions, it implements the method as described in any one of claims 1-6.
9. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the method as described in any one of claims 1-6.
10. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Vehicle driving control method and system and vehicle
CN110466531A
