Vehicle control method and device, vehicle and computer readable storage medium

By obtaining the curvature and type of the vehicle's driving trajectory in the automatic parking system and setting speed marks to control the vehicle's deceleration, the problem of unstable vehicle driving is solved and the stability and safety of the parking process is improved.

CN119078806APending Publication Date: 2024-12-06GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411374286.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing automatic parking system fails to ensure the smooth driving of the vehicle when controlling the parking of the vehicle, resulting in sharp turns and sudden stops during the parking process, affecting the user experience and driving safety.

Method used

By obtaining the trajectory type and curvature of the vehicle's driving trajectory, setting a speed mark to control the vehicle to decelerate at the deceleration point, ensuring that the vehicle maintains its original speed at the non-deceleration point, providing more time to adjust the steering and avoid sharp turns and stopping.

Benefits of technology

It improves the stability of the vehicle during driving according to the planned trajectory, enhances user experience and driving safety, and avoids sharp turns and stops.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078806A_ABST
    Figure CN119078806A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control method and device, a vehicle and a computer readable storage medium, and relates to the technical field of vehicle control, and the method comprises the steps: obtaining a track type corresponding to a vehicle driving track, and determining the curvature of all track points on the vehicle driving track; according to the curvature and the track type, a speed identifier is set for each track point, and the speed identifiers are used for indicating whether the vehicle decelerates or not when reaching the track points; and under the condition that the vehicle reaches a target point, the driving speed of the vehicle is controlled according to the speed identifier corresponding to the target point, and the target point is any one of all the track points. The stability of the vehicle in the driving period according to the planned track can be improved, and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and more specifically, to a vehicle control method, device, vehicle and computer-readable storage medium in the field of vehicle control technology. Background Art

[0002] The automatic parking system is a system that can automatically complete parking operations. It is usually implemented using sensors, computer programs and artificial intelligence technology, which can improve the safety and efficiency of parking. As an important part of vehicle intelligence, the automatic parking system is also growing and developing with the continuous advancement of technology and the continuous increase in market demand, and has become a powerful assistant for people.

[0003] When controlling vehicle parking, the current automatic parking system only considers whether the vehicle can drive according to the planned parking trajectory, but does not consider ensuring the stability of the vehicle when the vehicle drives according to the parking trajectory, resulting in poor stability. Summary of the invention

[0004] The present application provides a vehicle control method, device, vehicle and computer-readable storage medium. The present application can improve the stability of the vehicle while driving along a planned trajectory, which is conducive to improving the user experience.

[0005] In a first aspect, a vehicle control method is provided, comprising: obtaining a trajectory type corresponding to a vehicle driving trajectory, and determining the curvature of all trajectory points on the vehicle driving trajectory; setting a speed identifier for each trajectory point according to the curvature and the trajectory type; wherein the speed identifier is used to indicate whether the vehicle decelerates when it reaches a trajectory point; and when the vehicle reaches a target point, controlling the driving speed of the vehicle according to the speed identifier corresponding to the target point; wherein the target point is any one of all trajectory points.

[0006] In the above technical scheme, the embodiment of the present application obtains the trajectory type corresponding to the vehicle's driving trajectory, determines the curvature of all trajectory points on the vehicle's driving trajectory, sets a speed identifier for each trajectory point according to the curvature and the trajectory type, and the speed identifier is used to indicate whether the vehicle decelerates when it reaches the trajectory point. When the vehicle reaches any trajectory point, the vehicle's driving speed is controlled according to the speed identifier corresponding to the trajectory point reached by the vehicle. The technical scheme realizes controlling the vehicle to pass through trajectory points that are not deceleration points at the original driving speed, and controlling the vehicle to pass through trajectory points that are deceleration points at a lower driving speed, thereby realizing the control of the vehicle to decelerate when it should decelerate, providing the vehicle with more time to adjust the steering of the vehicle, and avoiding the vehicle from making sharp turns or sudden stops, thereby ensuring that the vehicle follows the path more stably, improving the stability of the vehicle during driving along the planned trajectory, and helping to improve the user experience.

[0007] In combination with the first aspect, in some possible implementations, setting a speed identifier for each trajectory point according to the curvature and the trajectory type includes: determining a target strategy corresponding to the trajectory type from a first strategy and a second strategy; wherein the first strategy includes setting the speed identifier according to a relationship between a curvature change rate of the trajectory point and a preset value, and the second strategy includes determining whether the product of the curvatures of two adjacent trajectory points is a negative value to set the speed identifier; and setting the speed identifier for each trajectory point according to the target strategy and the curvature.

[0008] In combination with the first aspect and the above implementation manner, in some possible implementation manners, determining the target strategy corresponding to the trajectory type from the first strategy and the second strategy includes:

[0009] In a case where the trajectory type includes a straight trajectory type and a curved trajectory type, the first strategy is determined as the target strategy.

[0010] Based on the above technical solution, a judgment strategy suitable for judging whether a trajectory point is a deceleration point is selected for vehicle driving trajectories of different trajectory types, thereby accurately distinguishing deceleration points and non-deceleration points on the vehicle driving trajectory, which is conducive to achieving precise control of the vehicle speed and improving driving safety.

[0011] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, setting the speed identifier for each trajectory point according to the target strategy and the curvature includes: determining the difference between the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2; determining the distance between the i-th trajectory point and the i-1-th trajectory point; determining the ratio of the difference to the distance to obtain the curvature change rate of the i-th trajectory point; when the curvature change rate of the i-th trajectory point is greater than the preset value, setting the speed identifier of the i-th trajectory point to a first identifier, and the first identifier is used to indicate that the vehicle decelerates when it reaches the i-th trajectory point; when the curvature change rate of the i-th trajectory point is less than or equal to the preset value, setting the speed identifier of the i-th trajectory point to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the i-th trajectory point.

[0012] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, determining the target strategy corresponding to the trajectory type from the first strategy and the second strategy includes: when the trajectory type includes a curved trajectory type, determining the second strategy as the target strategy.

[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, setting the speed identifier for each trajectory point according to the target strategy and the curvature includes: determining the product of the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2; when the product is a negative value, setting the speed identifier of the i-th trajectory point to a first identifier, and the first identifier is used to indicate that the vehicle decelerates when it reaches the i-th trajectory point; when the product is not a negative value, setting the speed identifier of the i-th trajectory point to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the i-th trajectory point.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, controlling the driving speed of the vehicle according to the speed indicator corresponding to the target point includes: if the speed indicator indicates that the vehicle does not decelerate when it reaches the target point, keeping the driving speed of the vehicle unchanged; if the speed indicator indicates that the vehicle decelerates when it reaches the target point, reducing the driving speed of the vehicle.

[0015] Based on the above technical solution, the control of slowing down the vehicle when it is necessary is realized during the driving of the vehicle, which can provide the vehicle with more time to adjust the steering of the vehicle and avoid the vehicle from making sharp turns or sudden stops, thereby ensuring that the vehicle follows the path more stably and improving the stability of the vehicle while driving along the planned trajectory.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, reducing the driving speed of the vehicle includes: if the vehicle activates an automatic parking function, reducing the driving speed to a preset speed; if the vehicle activates an automatic driving function that is not the automatic parking function, reducing the driving speed according to a deceleration corresponding to a curvature change rate of the target point; wherein the curvature change rate of the target point is positively correlated with the deceleration.

[0017] Based on the above technical solution, on the one hand, the stability of the vehicle during parking can be improved to avoid the problem of sudden stops during parking; on the other hand, when the vehicle encounters a curve in the scenarios of automatic parking, automatic driving on urban roads and automatic driving on highways, controlling the vehicle to travel at a lower speed can provide the vehicle with more time to adjust the steering of the vehicle, which can avoid the vehicle from making sharp turns and sudden stops, and is conducive to improving driving safety.

[0018] In a second aspect, a vehicle control device is provided, the vehicle control device comprising:

[0019] A data acquisition module, used to acquire a trajectory type corresponding to a vehicle driving trajectory and determine the curvature of all trajectory points on the vehicle driving trajectory;

[0020] An identification setting module, used to set a speed identification for each track point according to the curvature and the track type; wherein the speed identification is used to indicate whether the vehicle decelerates when arriving at the track point;

[0021] A speed control module is used to control the driving speed of the vehicle according to the speed identifier corresponding to the target point when the vehicle reaches the target point; wherein the target point is any one of all trajectory points.

[0022] In conjunction with the second aspect, in some possible implementations, the identification setting module includes:

[0023] A strategy selection unit, configured to determine a target strategy corresponding to the trajectory type from a first strategy and a second strategy; wherein the first strategy includes setting the speed flag according to a magnitude relationship between a curvature change rate of a trajectory point and a preset value, and the second strategy includes determining whether the product of curvatures of two adjacent trajectory points is a negative value to set the speed flag;

[0024] The identifier setting unit is used to set the speed identifier for each trajectory point according to the target strategy and the curvature.

[0025] In combination with the second aspect and the above implementation manner, in some possible implementation manners, the strategy selection unit includes:

[0026] The first selection subunit is used to determine the first strategy as the target strategy when the trajectory type includes a straight trajectory type and a curved trajectory type.

[0027] In combination with the second aspect and the foregoing implementation manner, in some possible implementation manners, the identification setting unit includes:

[0028] A first setting subunit is used to determine the difference between the curvature of the ith trajectory point and the curvature of the i-1th trajectory point; wherein i is an integer greater than or equal to 2; determine the distance between the ith trajectory point and the i-1th trajectory point; determine the ratio of the difference to the distance to obtain the curvature change rate of the ith trajectory point; when the curvature change rate of the ith trajectory point is greater than the preset value, set the speed identifier of the ith trajectory point to a first identifier, and the first identifier is used to indicate that the vehicle decelerates when it reaches the ith trajectory point; when the curvature change rate of the ith trajectory point is less than or equal to the preset value, set the speed identifier of the ith trajectory point to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the ith trajectory point.

[0029] In combination with the second aspect and the above implementation manner, in some possible implementation manners, the strategy selection unit includes:

[0030] The second selection subunit is used to determine the second strategy as the target strategy when the trajectory type includes a curved trajectory type.

[0031] In combination with the second aspect and the foregoing implementation manner, in some possible implementation manners, the identification setting unit includes:

[0032] The second setting subunit is used to determine the product of the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2; when the product is a negative value, the speed identifier of the i-th trajectory point is set to a first identifier, and the first identifier is used to indicate that the vehicle decelerates when it reaches the i-th trajectory point; when the product is not a negative value, the speed identifier of the i-th trajectory point is set to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the i-th trajectory point.

[0033] In combination with the second aspect and the above implementations, in some possible implementations, the speed control module includes:

[0034] a first control unit, configured to maintain the driving speed of the vehicle unchanged if the speed indicator indicates that the vehicle does not decelerate when reaching the target point;

[0035] The second control unit is used to decelerate the vehicle if the speed indicator indicates that the vehicle has reached the target point, thereby reducing the driving speed of the vehicle.

[0036] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the second control unit is specifically used to reduce the driving speed to a preset speed if the vehicle activates the automatic parking function; if the vehicle activates an automatic driving function that is not the automatic parking function, reduce the driving speed according to the deceleration corresponding to the curvature change rate of the target point; wherein the curvature change rate of the target point is positively correlated with the deceleration.

[0037] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the vehicle control method in the first aspect or any possible implementation of the first aspect.

[0038] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the vehicle control method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0039] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle control method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic flow chart of a vehicle control method provided in an embodiment of the present application is shown;

[0041] Figure 2 The vehicle travel trajectories of different trajectory types are shown;

[0042] Figure 3 A schematic flow chart of a vehicle driving trajectory provided by an embodiment of the present application is shown;

[0043] Figure 4Another schematic flow chart of the vehicle driving trajectory provided by an embodiment of the present application is shown;

[0044] Figure 5 A schematic structural diagram of a vehicle control device provided in an embodiment of the present application is shown;

[0045] Figure 6 A schematic structural diagram of a vehicle provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0046] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. 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 the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0047] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0048] The automatic parking system is a system that can automatically complete parking operations. It is usually implemented using sensors, computer programs and artificial intelligence technology, which can improve the safety and efficiency of parking. As an important part of vehicle intelligence, the automatic parking system is also growing and developing with the continuous advancement of technology and the continuous increase in market demand, and has become a powerful assistant for people.

[0049] When controlling vehicle parking, the current automatic parking system only considers whether the vehicle can drive according to the planned parking trajectory, but does not consider ensuring the stability of the vehicle when the vehicle drives according to the parking trajectory, resulting in poor stability.

[0050] Based on the problems existing in the above-mentioned related technologies, the present application provides a vehicle control method, device, vehicle and computer-readable storage medium. After planning the driving trajectory of the vehicle, the present application identifies whether each trajectory point on the driving trajectory is a deceleration point according to the curvature of the trajectory point on the driving trajectory and the trajectory type of the driving trajectory, and then controls the driving speed of the vehicle according to whether each trajectory point is a deceleration point while the vehicle is driving along the driving trajectory, thereby achieving the goal of maintaining the driving speed of the vehicle when the vehicle reaches a trajectory point that is not a deceleration point; and reducing the driving speed of the vehicle when the vehicle reaches a trajectory point that is a deceleration point, thereby achieving the control of decelerating the vehicle when it should decelerate, providing the vehicle with more time to adjust the steering of the vehicle, and avoiding the vehicle from making sharp turns and sudden stops, thereby ensuring that the vehicle follows the path more stably, improving the stability of the vehicle while driving along the planned trajectory, and helping to improve the user experience.

[0051] The following is an embodiment of a vehicle control method provided in an embodiment of the present application.

[0052] Figure 1 A schematic flow chart of a vehicle control method provided by an embodiment of the present application is shown, such as Figure 1 As shown, the vehicle control method provided in the embodiment of the present application is applied to a vehicle, and the above-mentioned vehicle control method includes the following schemes:

[0053] S110: Obtain a trajectory type corresponding to the vehicle driving trajectory, and determine the curvature of all trajectory points on the vehicle driving trajectory.

[0054] In an exemplary embodiment, a hybrid A* algorithm and RS curve are used to process external environment data collected by the vehicle's intelligent sensor module (lidar, camera, millimeter-wave radar, etc.) to plan the vehicle's driving trajectory. The vehicle's driving trajectory is composed of multiple trajectory points, and the multiple trajectory points include trajectory points corresponding to the vehicle's starting position and trajectory points corresponding to the end position.

[0055] After the vehicle driving trajectory is planned, the trajectory type of the vehicle driving trajectory can be obtained. The trajectory type includes a straight trajectory type, a curved trajectory type and a mixed trajectory type. The mixed trajectory type includes a straight trajectory type and a curved trajectory type. Among them, the curved trajectory type includes an arc trajectory type. Figure 2 As shown, Figure 2 Vehicle driving trajectories of different trajectory types are shown. The trajectory type of the vehicle driving trajectory G1 belongs to the straight trajectory type, the trajectory type of the vehicle driving trajectory G2 belongs to the curved trajectory type, and the trajectory type of the vehicle driving trajectory G3 belongs to the mixed trajectory type, that is, one part of the trajectory is a straight trajectory and the other part is a curved trajectory.

[0056] After the vehicle driving trajectory is planned, the trajectory information of the vehicle driving trajectory can be obtained, and the trajectory information includes: the trajectory point coordinates (x, y) of each trajectory point, the heading angle Theta, the curvature Kappa, the distance S between each trajectory point and the first trajectory point (the trajectory point corresponding to the starting position), etc. Therefore, the curvature of all trajectory points on the vehicle driving trajectory can be determined from the trajectory information of the vehicle driving trajectory, that is, the curvature Kappa of each trajectory point can be obtained.

[0057] S120: Setting a speed flag for each trajectory point according to the curvature and the trajectory type; wherein the speed flag is used to indicate whether the vehicle should decelerate when arriving at the trajectory point.

[0058] After obtaining the trajectory type corresponding to the vehicle's driving trajectory and the curvature Kappa of each trajectory point, a speed flag is set for each trajectory point based on the trajectory type and curvature Kappa. The speed flag is used to indicate whether the vehicle decelerates when it reaches the trajectory point. If the speed flag indicates that the vehicle decelerates when it reaches the trajectory point, it can be understood that the trajectory point is a deceleration point. If the speed flag indicates that the vehicle does not decelerate when it reaches the trajectory point, it can be understood that the trajectory point is not a deceleration point. Therefore, the speed flag can be used to determine whether the corresponding trajectory point is a deceleration point.

[0059] Figure 3 A schematic flow chart of the vehicle driving trajectory provided by an embodiment of the present application is shown, as Figure 3 As shown, C represents a vehicle, and the trajectory type of the vehicle driving trajectory L1 belongs to a mixed trajectory type (a straight trajectory type and a curved trajectory type). The vehicle driving trajectory L1 is composed of a straight trajectory L11 and a curved trajectory L12. The trajectory points corresponding to the starting position to the end position on the vehicle driving trajectory L1 are P10, P11, P12, ..., P22, respectively. The B mark in the brackets indicates the speed mark, and the speed marks corresponding to the trajectory points P10-P22 are B10-B22 respectively.

[0060] S130: When the vehicle reaches a target point, the vehicle's travel speed is controlled according to a speed identifier corresponding to the target point; wherein the target point is any one of all the trajectory points.

[0061] When the vehicle is traveling along the vehicle driving trajectory, each time the vehicle reaches a target point, the speed indicator of the target point is used to determine whether the vehicle needs to decelerate at the target point. If deceleration is required, the vehicle's driving speed at the target point is reduced. If deceleration is not required, the vehicle's driving speed at the target point is maintained unchanged. Figure 3As shown, when the vehicle reaches the trajectory point P15, the speed mark B15 indicates that it is not necessary to decelerate at the trajectory point P15, that is, the trajectory point P15 is not a deceleration point, then the driving speed is kept unchanged, and the vehicle passes the trajectory point P15 at the original driving speed; when the vehicle reaches the trajectory point P16, the speed mark B16 indicates that it is necessary to decelerate at the trajectory point P16, that is, the trajectory point P15 is a deceleration point, then the driving speed is reduced, and the vehicle passes the trajectory point P16 at a lower driving speed, thereby ensuring that the vehicle safely passes each deceleration point on the vehicle driving trajectory. Among them, by controlling the vehicle to pass through the trajectory point that is not a deceleration point at the original driving speed, and controlling the vehicle to pass through the trajectory point that is a deceleration point at a lower driving speed, the control of the vehicle to decelerate when it should be decelerated is realized, which can avoid the situation where the vehicle makes a sharp turn and stops suddenly, and improve the stability of the vehicle during driving according to the planned trajectory.

[0062] The embodiment of the present application adopts the method of obtaining the trajectory type corresponding to the vehicle's driving trajectory, determining the curvature of all trajectory points on the vehicle's driving trajectory, and setting a speed identifier for each trajectory point according to the curvature and the trajectory type. The speed identifier is used to indicate whether the vehicle should decelerate when it reaches the trajectory point. When the vehicle reaches any trajectory point, the vehicle's driving speed is controlled according to the speed identifier corresponding to the trajectory point reached by the vehicle. The technical solution realizes controlling the vehicle to pass through trajectory points that are not deceleration points at the original driving speed, and controlling the vehicle to pass through trajectory points that are deceleration points at a lower driving speed, thereby realizing the control of the vehicle to decelerate when it should decelerate, providing the vehicle with more time to adjust the steering of the vehicle, and avoiding the vehicle from making sharp turns or sudden stops, thereby ensuring that the vehicle follows the path more stably, improving the stability of the vehicle during driving along the planned trajectory, and being beneficial to improving the user experience.

[0063] The following Figure 1 The specific implementation methods of each step in the illustrated embodiment are described as follows:

[0064] In a possible implementation, the above S120, setting a speed identifier for each trajectory point according to the curvature and the trajectory type, includes the following schemes:

[0065] Determine a target strategy corresponding to the trajectory type from the first strategy and the second strategy;

[0066] Set a speed flag for each trajectory point based on the target strategy and curvature.

[0067] Because there are many types of vehicle trajectories in practice, the judgment methods of whether the trajectory points on the trajectories of vehicles with different trajectory types are deceleration points are different, that is, each trajectory type corresponds to a judgment method of whether the trajectory points are deceleration points. Because the trajectory types include straight trajectory types, curved trajectory types and mixed trajectory types, after prior actual vehicle testing and analysis, it is found that the judgment methods of whether the trajectory points on the trajectories of vehicles belonging to the straight trajectory type or the mixed trajectory type are deceleration points are the same, and the judgment methods of whether the trajectory points on the trajectories of vehicles belonging to the curved trajectory type are deceleration points are the same.

[0068] A judgment strategy is set for judging whether a trajectory point corresponding to a straight trajectory or a mixed trajectory is a deceleration point, which is called the first strategy. Because the curvature change rate of a trajectory point on a vehicle driving trajectory belonging to a straight trajectory type is 0, the curvature change rate of a straight trajectory transitioning to a curved trajectory in a vehicle driving trajectory belonging to a mixed trajectory type will suddenly change, that is, the curvature change rate will be greater than 0, wherein the transition from a straight trajectory to a curved trajectory corresponds to the transition from a straight road to a curved road in reality. At this time, in order to ensure driving safety, the vehicle needs to slow down to turn. Therefore, when the curvature change rate is less than or equal to a certain value, the corresponding trajectory point is considered not to be a deceleration point, and when the curvature change rate is greater than a certain value, the corresponding trajectory point is considered to be a deceleration point. Therefore, based on the above judgment method for judging whether a trajectory point is a deceleration point, a first strategy is set, that is, the first strategy includes setting a speed mark according to the relationship between the curvature change rate of the trajectory point and a preset value. Among them, the curvature change rate is: the ratio of the difference between the curvature of the first trajectory point and the curvature of the second trajectory point to the interval between the first trajectory point and the second trajectory point, the first trajectory point and the second trajectory point are any pair of adjacent trajectory points on the vehicle's driving trajectory, and the second trajectory point is the next trajectory point of the first trajectory point, and the interval between the first trajectory point and the second trajectory point is: the difference between the distance between the second trajectory point and the trajectory point corresponding to the starting position and the distance between the first trajectory point and the trajectory point corresponding to the starting position.

[0069] A judgment strategy is set for the judgment method of whether the trajectory point corresponding to the curved trajectory is a deceleration point, which is called the second strategy. When the curvature of each trajectory point in the vehicle driving trajectory is known, and in the two-dimensional coordinates, according to the bending direction of the curved trajectory, the curvature of the trajectory point of the curved trajectory with different bending directions is positive or negative. For curved trajectories with different bending directions, for example, the curved trajectory is composed of two arc trajectories, and the bending directions of the two arc trajectories are different. Assuming that the trajectory point at the splicing position of the two arc trajectories is a splicing point, the curvature of the splicing point is opposite to the curvature of any trajectory point adjacent to the splicing point. Therefore, the trajectory points on the vehicle driving trajectory can be traversed, and the product of the curvature of the first trajectory point and the curvature of the second trajectory point is less than 0 to judge whether the first trajectory point is a deceleration point. If it is less than 0, the first trajectory point is considered to be a deceleration point. If it is not less than 0, the first trajectory point is considered not to be a deceleration point. Therefore, based on the above judgment method of judging whether the trajectory point is a deceleration point, a second strategy is set, that is, the second strategy includes judging whether the product of the curvatures of two adjacent trajectory points is a negative value to set the speed mark.

[0070] After determining the curvature of each trajectory point and the trajectory type of the vehicle's driving trajectory, a target strategy corresponding to the trajectory type is determined from the first strategy and the second strategy, that is, a target strategy for judging whether a trajectory point on the vehicle's driving trajectory is a deceleration point is obtained, and then a corresponding speed identifier is set for each trajectory point on the vehicle's driving trajectory through the target strategy and the curvature, thereby achieving the selection of a judgment strategy suitable for judging whether a trajectory point is a deceleration point for vehicle driving trajectories of different trajectory types, thereby accurately distinguishing deceleration points and non-deceleration points on the vehicle's driving trajectory, which is conducive to achieving precise control of the vehicle speed and improving driving safety.

[0071] In a possible implementation, determining the target strategy corresponding to the trajectory type from the first strategy and the second strategy includes the following solutions:

[0072] In a case where the trajectory type includes a straight trajectory type and a curved trajectory type, the first strategy is determined as the target strategy.

[0073] If the trajectory type of the vehicle driving trajectory includes a straight line trajectory type and a curved line trajectory type, it can be understood that the vehicle driving trajectory is composed of a straight line and a curve, and the curvature change rate of the straight line to the curve will suddenly change, and the curvature change rate will be greater than 0, then the first strategy is determined as the target strategy. Figure 3 As shown, Figure 3 The trajectory type of the vehicle driving trajectory L1 includes a straight trajectory type and a curved trajectory type, and the first strategy is used as the target strategy to set a speed identifier for each trajectory point on the vehicle driving trajectory L1.

[0074] In a possible implementation, the above-mentioned setting of the speed identifier for each trajectory point according to the target strategy and the curvature includes the following schemes:

[0075] Determine the difference between the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2;

[0076] Determine the distance between the i-th trajectory point and the i-1-th trajectory point;

[0077] Determine the ratio of the difference to the distance to obtain the curvature change rate of the i-th trajectory point;

[0078] When the curvature change rate of the i-th trajectory point is greater than a preset value, the speed indicator of the i-th trajectory point is set to a first indicator, and the first indicator is used to indicate that the vehicle decelerates when it reaches the i-th trajectory point;

[0079] When the curvature change rate of the i-th trajectory point is less than or equal to a preset value, the speed identifier of the i-th trajectory point is set to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the i-th trajectory point.

[0080] Assume that there are i track points on the vehicle's driving track. The curvature change rate of the i-th track point is obtained by the curvature change rate calculation formula. The curvature change rate calculation formula is as follows:

[0081] Dkappa(i)=(Kappa(i)-Kappa(i-1)) / (S(i)-S(i-1));

[0082] Where Dkappa(i) represents the rate of change of curvature of the i-th trajectory point, Kappa(i) represents the curvature of the i-th trajectory point, Kappa(i-1) represents the curvature of the i-1-th trajectory point, S(i) represents the distance between the i-th trajectory point and the first trajectory point (the trajectory point corresponding to the starting position), and S(i-1) represents the distance between the i-1-th trajectory point and the first trajectory point.

[0083] After obtaining Dkappa(i), the relationship between Dkappa(i) and the preset value is determined. If Dkappa(i) is greater than the preset value, the speed identifier of the i-th trajectory point is set to the first identifier, that is, the i-th trajectory point is determined to be a deceleration point. If Dkappa(i) is less than or equal to the preset value, the speed identifier of the i-th trajectory point is set to the second identifier, that is, the i-th trajectory point is determined not to be a deceleration point, so as to achieve the setting of speed identifiers for trajectory points on the vehicle driving trajectory belonging to the mixed trajectory type.

[0084] In a possible implementation, determining the target strategy corresponding to the trajectory type from the first strategy and the second strategy includes the following solutions:

[0085] In a case where the trajectory type includes a curved trajectory type, the second strategy is determined as the target strategy.

[0086] Figure 4 Another schematic flow chart of the vehicle driving trajectory provided by the embodiment of the present application is shown, as Figure 4 As shown, C represents a vehicle. The trajectory type of the vehicle driving trajectory L2 belongs to the curved trajectory type. The vehicle driving trajectory L2 is composed of a curved trajectory L21 and a curved trajectory L22. The trajectory points corresponding to the starting position to the end position on the vehicle driving trajectory L2 are Q10, Q11, Q12, ..., Q24 respectively, and the speed identifiers corresponding to the trajectory points Q10-Q24 are not shown.

[0087] If the trajectory type of the vehicle driving trajectory includes a curve trajectory type, it can be understood that the vehicle driving trajectory is composed of curves. According to the curvature direction of the curve trajectory, the curvature of the trajectory points of the curve trajectory with different curvature directions is positive or negative. Therefore, the trajectory points on the vehicle driving trajectory can be traversed. By judging whether the product of the curvature of the first trajectory point and the curvature of the second trajectory point is less than 0, it can be judged whether the first trajectory point is a deceleration point, and the second strategy is determined as the target strategy. Figure 4 As shown, Figure 4 If the trajectory type of the vehicle driving trajectory L2 includes a curved trajectory type, the second strategy is used as the target strategy to set a speed identifier for each trajectory point on the vehicle driving trajectory L2.

[0088] In a possible implementation, the above-mentioned setting of the speed identifier for each trajectory point according to the target strategy and the curvature includes the following schemes:

[0089] Determine the product of the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2;

[0090] When the product is a negative value, the speed indicator of the i-th track point is set as the first indicator, and the first indicator is used to indicate that the vehicle decelerates when it reaches the i-th track point;

[0091] When the product is not a negative value, the speed flag of the ith trajectory point is set as the second flag, and the second flag is used to indicate that the vehicle does not decelerate when it reaches the ith trajectory point.

[0092] Assume that there are i track points on the vehicle's driving track. The product of the curvature of the i-th track point and the curvature of the i-1-th track point is calculated by the product calculation formula. The product calculation formula is as follows:

[0093] C(i)=kappa(i)×kappa(i-1);

[0094] Among them, C(i) represents the product of the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point, kappa(i) represents the curvature of the i-th trajectory point, and kappa(i-1) represents the curvature of the i-1-th trajectory point.

[0095] After obtaining C(i), determine whether C(i) is a negative value. If C(i) is a negative value, set the speed identifier of the i-th trajectory point to the first identifier, that is, determine that the i-th trajectory point is a deceleration point; if C(i) is a non-negative value (0 or a positive value), set the speed identifier of the i-th trajectory point to the second identifier, that is, determine that the i-th trajectory point is not a deceleration point. In this way, the speed identifier is set for the trajectory point on the vehicle driving trajectory belonging to the curved trajectory type.

[0096] In a possible implementation, the above-mentioned setting of the speed identifier for each trajectory point according to the target strategy and the curvature includes the following schemes:

[0097] If the speed sign indicates that the vehicle has reached the target point without slowing down, the vehicle's speed remains unchanged;

[0098] If the speed sign indicates that the vehicle has reached the target point, slow down and reduce the vehicle's speed.

[0099] While the vehicle is traveling along the vehicle driving trajectory, if the vehicle reaches a target point each time and the speed mark of the target point indicates that the vehicle does not need to decelerate to reach the target point, the vehicle's driving speed is kept unchanged, that is, the original driving speed is maintained; if the vehicle reaches a target point each time and the speed mark of the target point indicates that the vehicle needs to decelerate to reach the target point, the vehicle's driving speed is reduced so that the vehicle passes the target point at a lower driving speed.

[0100] Based on the above technical solution, the control of slowing down the vehicle when it is necessary is realized during the driving of the vehicle, which can provide the vehicle with more time to adjust the steering of the vehicle and avoid the vehicle from making sharp turns or sudden stops, thereby ensuring that the vehicle follows the path more stably and improving the stability of the vehicle while driving along the planned trajectory.

[0101] In a possible implementation, the above-mentioned reduction in the vehicle's speed includes the following solutions:

[0102] If the vehicle has the automatic parking feature activated, the vehicle will slow down to the preset speed;

[0103] If the vehicle activates an automatic driving function other than the automatic parking function, the driving speed is reduced according to the deceleration corresponding to the curvature change rate of the target point; wherein the curvature change rate of the target point is positively correlated with the deceleration.

[0104] The scenarios for reducing the vehicle's driving speed are divided into a first scenario and a second scenario. The first scenario is a scenario in which the driving speed is reduced and the vehicle travels at a constant speed. The second scenario is a scenario in which the driving speed is reduced according to the curvature change rate of the target point. The greater the curvature change rate, the greater the deceleration, that is, the greater the value of the driving speed reduction.

[0105] If it is detected that the vehicle activates the automatic parking function, it means that the vehicle needs to park automatically, that is, the scenario of reducing the vehicle's driving speed belongs to the first scenario. In this case, when the driving speed needs to be reduced, the driving speed is reduced to the preset speed. The vehicle travels at a constant speed at a lower speed when passing each target point, thereby improving stability during parking.

[0106] The automatic driving functions other than the automatic parking function include the automatic parking function, the urban automatic driving function, the high-speed automatic driving function, etc. If it is detected that the vehicle activates the automatic driving function other than the automatic parking function, that is, the scenario of reducing the driving speed of the vehicle belongs to the second scenario, the driving speed is reduced according to the deceleration corresponding to the curvature change rate of the target point, specifically, the reduced driving speed is obtained by subtracting the deceleration from the current driving speed, and then the vehicle is controlled to pass the target point according to the reduced driving speed, so that the vehicle can travel at a lower speed when passing through a curve, which can provide the vehicle with more time to adjust the steering of the vehicle, and can avoid the vehicle from making sharp turns and sudden stops, which is conducive to improving driving safety.

[0107] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0108] Figure 5 A schematic diagram of the structure of a vehicle control device provided in an embodiment of the present application is shown. Figure 5 As shown, the vehicle control device 500 includes:

[0109] A data acquisition module 530 is used to acquire a trajectory type corresponding to a vehicle driving trajectory and determine the curvature of all trajectory points on the vehicle driving trajectory;

[0110] The flag setting module 520 is used to set a speed flag for each track point according to the curvature and the track type; wherein the speed flag is used to indicate whether the vehicle decelerates when arriving at the track point;

[0111] The speed control module 530 is used to control the driving speed of the vehicle according to the speed identifier corresponding to the target point when the vehicle reaches the target point; wherein the target point is any one of all the trajectory points.

[0112] In a possible implementation, the identification setting module 520 includes:

[0113] A strategy selection unit, configured to determine a target strategy corresponding to the trajectory type from a first strategy and a second strategy; wherein the first strategy includes setting the speed flag according to a magnitude relationship between a curvature change rate of a trajectory point and a preset value, and the second strategy includes determining whether the product of curvatures of two adjacent trajectory points is a negative value to set the speed flag;

[0114] The identifier setting unit is used to set the speed identifier for each trajectory point according to the target strategy and the curvature.

[0115] In a possible implementation, the strategy selection unit includes:

[0116] The first selection subunit is used to determine the first strategy as the target strategy when the trajectory type includes a straight trajectory type and a curved trajectory type.

[0117] In a possible implementation, the identification setting unit includes:

[0118] A first setting subunit is used to determine the difference between the curvature of the ith trajectory point and the curvature of the i-1th trajectory point; wherein i is an integer greater than or equal to 2; determine the distance between the ith trajectory point and the i-1th trajectory point; determine the ratio of the difference to the distance to obtain the curvature change rate of the ith trajectory point; when the curvature change rate of the ith trajectory point is greater than the preset value, set the speed identifier of the ith trajectory point to a first identifier, and the first identifier is used to indicate that the vehicle decelerates when it reaches the ith trajectory point; when the curvature change rate of the ith trajectory point is less than or equal to the preset value, set the speed identifier of the ith trajectory point to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the ith trajectory point.

[0119] In a possible implementation, the strategy selection unit includes:

[0120] The second selection subunit is used to determine the second strategy as the target strategy when the trajectory type includes a curved trajectory type.

[0121] In a possible implementation, the identification setting unit includes:

[0122] The second setting subunit is used to determine the product of the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2; when the product is a negative value, the speed identifier of the i-th trajectory point is set to a first identifier, and the first identifier is used to indicate that the vehicle decelerates when it reaches the i-th trajectory point; when the product is not a negative value, the speed identifier of the i-th trajectory point is set to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the i-th trajectory point.

[0123] In a possible implementation, the speed control module 530 includes:

[0124] a first control unit, configured to maintain the driving speed of the vehicle unchanged if the speed indicator indicates that the vehicle does not decelerate when reaching the target point;

[0125] The second control unit is configured to decelerate the vehicle if the speed indicator indicates that the vehicle has reached the target point, thereby reducing the driving speed of the vehicle.

[0126] In one possible implementation, the second control unit is specifically configured to reduce the driving speed to a preset speed if the vehicle activates an automatic parking function; and reduce the driving speed according to a deceleration corresponding to a curvature change rate of the target point if the vehicle activates an automatic driving function that is not the automatic parking function; wherein the curvature change rate of the target point is positively correlated with the deceleration.

[0127] It should be noted that the vehicle control device provided in the above embodiment only uses the division of the above functional modules as an example when executing the vehicle control method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the vehicle control device provided in the above embodiment belongs to the same concept as the vehicle control method embodiment. Therefore, for details not disclosed in the device embodiment of the present application, please refer to the above-mentioned vehicle control method embodiment of the present application, which will not be repeated here.

[0128] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0129] Figure 6 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application is shown. Figure 6 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a vehicle control method.

[0130] In this embodiment, the functional modules of the vehicle can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0131] In the case of dividing each functional module according to each function, the vehicle may include: a data acquisition module, an identification setting module, a speed control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0132] The vehicle provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0133] In the case of an integrated unit, the vehicle may include a processing module and a storage module. The processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes and data.

[0134] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0135] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method in the above-mentioned embodiment.

[0136] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method in the above-mentioned embodiment.

[0137] In addition, the vehicle provided in the embodiments of the present application may specifically be a chip, component or module, and the vehicle may include a connected processor and memory; wherein the memory is used to store instructions, and when the vehicle is running, the processor may call and execute instructions so that the chip executes a vehicle control method in the above embodiments.

[0138] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding vehicle control method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding vehicle control method provided above, and will not be repeated here.

[0139] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0140] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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.

[0141] The above contents are only specific implementation methods 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 included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle control method, It is characterized in that The vehicle control method comprises: Obtaining a trajectory type corresponding to a vehicle driving trajectory, and determining the curvature of all trajectory points on the vehicle driving trajectory; According to the curvature and the trajectory type, a speed indicator is set for each trajectory point; wherein the speed indicator is used to indicate whether the vehicle decelerates when it reaches the trajectory point; When the vehicle reaches a target point, the driving speed of the vehicle is controlled according to the speed identifier corresponding to the target point; wherein the target point is any one of all trajectory points.

2. The vehicle control method according to claim 1, It is characterized in that The step of setting a speed identifier for each trajectory point according to the curvature and the trajectory type comprises: Determine a target strategy corresponding to the trajectory type from the first strategy and the second strategy; wherein the first strategy includes setting the speed flag according to the magnitude relationship between the curvature change rate of the trajectory point and a preset value, and the second strategy includes determining whether the product of the curvatures of two adjacent trajectory points is a negative value to set the speed flag; The speed flag is set for each trajectory point according to the target strategy and the curvature.

3. The vehicle control method according to claim 2, It is characterized in that Determining the target strategy corresponding to the trajectory type from the first strategy and the second strategy includes: In a case where the trajectory type includes a straight trajectory type and a curved trajectory type, the first strategy is determined as the target strategy.

4. The vehicle control method according to claim 3, It is characterized in that The step of setting the speed identifier for each trajectory point according to the target strategy and the curvature includes: Determine the difference between the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2; Determine the distance between the i-th trajectory point and the i-1-th trajectory point; Determine a ratio of the difference to the distance to obtain a curvature change rate of the i-th trajectory point; When the curvature change rate of the i-th trajectory point is greater than the preset value, the speed indicator of the i-th trajectory point is set to a first indicator, wherein the first indicator is used to indicate that the vehicle decelerates when it reaches the i-th trajectory point; When the curvature change rate of the i-th trajectory point is less than or equal to the preset value, the speed identifier of the i-th trajectory point is set to a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the i-th trajectory point.

5. The vehicle control method according to claim 2, It is characterized in that Determining the target strategy corresponding to the trajectory type from the first strategy and the second strategy includes: In a case where the trajectory type includes a curved trajectory type, the second strategy is determined as the target strategy.

6. The vehicle control method according to claim 5, It is characterized in that The step of setting the speed identifier for each trajectory point according to the target strategy and the curvature includes: Determine the product of the curvature of the i-th trajectory point and the curvature of the i-1-th trajectory point; wherein i is an integer greater than or equal to 2; When the product is a negative value, the speed identifier of the i-th trajectory point is set as a first identifier, and the first identifier is used to indicate that the vehicle decelerates when it reaches the i-th trajectory point; When the product is not a negative value, the speed identifier of the i-th trajectory point is set as a second identifier, and the second identifier is used to indicate that the vehicle does not decelerate when it reaches the i-th trajectory point.

7. The vehicle control method according to any one of claims 1 to 6, It is characterized in that The controlling the driving speed of the vehicle according to the speed identifier corresponding to the target point comprises: If the speed indicator indicates that the vehicle does not decelerate when reaching the target point, maintaining the driving speed of the vehicle unchanged; If the speed indicator indicates that the vehicle will decelerate when reaching the target point, the driving speed of the vehicle is reduced.

8. The vehicle control method according to claim 7, It is characterized in that The reducing the running speed of the vehicle comprises: If the vehicle activates the automatic parking function, reducing the driving speed to a preset speed; If the vehicle activates an automatic driving function other than the automatic parking function, the driving speed is reduced according to the deceleration corresponding to the curvature change rate of the target point; wherein the curvature change rate of the target point is positively correlated with the deceleration.

9. A vehicle control device, It is characterized in that The vehicle control device comprises: A data acquisition module, used to acquire a trajectory type corresponding to a vehicle driving trajectory and determine the curvature of all trajectory points on the vehicle driving trajectory; An identification setting module, used to set a speed identification for each track point according to the curvature and the track type; wherein the speed identification is used to indicate whether the vehicle decelerates when arriving at the track point; A speed control module is used to control the driving speed of the vehicle according to the speed identifier corresponding to the target point when the vehicle reaches the target point; wherein the target point is any one of all trajectory points.

10. A vehicle, It is characterized in that The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the vehicle control method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the vehicle control method according to any one of claims 1 to 8 is implemented.