Vehicle control method, electronic device, storage medium and vehicle
By calculating the heading angle change value and steering curvature, the steering behavior of the vehicle is accurately controlled, which solves the problem of inaccurate heading angle control in narrow paths and improves the safety and accuracy of the vehicle in autonomous driving.
Patent Information
- Application Number
- CN202411078025.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-07
AI Technical Summary
Existing vehicle tracking control methods are difficult to accurately control the heading angle in narrow paths, resulting in the vehicle possibly colliding or being unable to enter a designated location, affecting the safety and user experience of the autonomous driving system.
By calculating the heading angle change value between the vehicle's current position point and the next position point, the target steering curvature and angle are obtained, and the vehicle's steering behavior is accurately controlled to ensure that the vehicle accurately travels along the planned trajectory, and the trajectory is re-planned when necessary to match the vehicle's steering capabilities.
It achieves precise control of the vehicle's heading angle at the target position, reduces the risk of collision, and improves the safety and accuracy of driving operations.
Smart Images

Figure CN118597201B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle control method, an electronic device, a non-volatile readable storage medium and a vehicle. Background Art
[0002] Vehicle tracking is a relatively important application in the field of autonomous driving. By collecting environmental information, planning a reasonable path, and then controlling the vehicle's turning angle and speed to track the path, the vehicle can be controlled without driver control, thereby greatly improving the driving experience.
[0003] However, in tracking operations, existing technologies usually use trajectory tracking error as an indicator for tracking control, that is, the vehicle's driving path is controlled by minimizing the error between the vehicle's current position and the planned trajectory. Although this method can ensure that the vehicle can reach the target position to a certain extent, it often ignores the precise control of the vehicle's heading angle at the target position. In actual driving, the vehicle's heading angle is crucial to whether it can successfully reach the specified position, especially in narrow paths. If the heading angle control is inaccurate, the vehicle is prone to collision or cannot enter the specified position, thereby affecting the safety of the autonomous driving system and user experience. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, one purpose of the present invention is to provide a vehicle control method, which can not only ensure that the vehicle reaches the target position smoothly during driving, but also realize the precise control of the heading angle of the vehicle at the target position, effectively solve the driving problem in narrow paths, reduce the risk of collision, and thus improve the safety and accuracy of driving operations.
[0005] A second objective of the present invention is to provide an electronic device.
[0006] The third object of the present invention is to provide a non-volatile readable storage medium.
[0007] A fourth objective of the present invention is to provide a vehicle.
[0008] In order to achieve the above-mentioned purpose, the vehicle control method of the first aspect of the embodiment of the present invention includes: obtaining a target turning curvature based on a heading angle change value between a current position point of the vehicle and a next position point of the current position point on a target driving planning trajectory; obtaining a target turning angle of the vehicle based on the target steering curvature; and controlling the vehicle to travel from the current position point to the next position point based on the target turning angle.
[0009] According to the vehicle control method of the embodiment of the present invention, based on the heading angle change value between the current position point of the vehicle and the next position point of the current position point, the heading angle change value reflects the direction change that needs to be adjusted when the vehicle is driving on the target driving planning trajectory. The target turning curvature can be obtained through the heading angle change value. The target turning curvature reflects the curvature of the vehicle's driving path and is an important parameter to ensure that the vehicle drives along the predetermined trajectory. The target turning angle can be obtained through the target turning curvature. The target turning angle is the steering angle required by the vehicle during driving, which is used to make the vehicle accurately drive on the planned trajectory. The vehicle is controlled to drive from the current position point to the next position point according to the target turning angle. The control of the target turning angle directly affects the steering behavior of the vehicle, ensuring that the vehicle can accurately drive along the trajectory of the target driving plan. By accurately controlling the target turning angle, the vehicle can turn according to the predetermined turning curvature and turning angle to smoothly reach the target position and achieve the predetermined target heading angle, thereby realizing accurate control of the heading angle of the vehicle at the target position. This effectively solves the problem of driving on a narrow path, reduces the risk of collision, and improves the safety and accuracy of vehicle operation.
[0010] In some embodiments, the target turning curvature is obtained by performing a differential operation on an arc section under a target turning radius; the target turning radius is the required turning radius for the vehicle to turn once from the current position to the next position point.
[0011] In some embodiments, the target turning radius is less than or equal to a maximum turning radius of the vehicle for reaching the next location point, and the target turning radius is greater than or equal to a minimum turning radius of the vehicle.
[0012] In some embodiments, the maximum turning radius of the vehicle to reach the next position point is expressed as follows:
[0013] ;
[0014] Among them, S min For S a and S b The minimum value of α is the heading angle change value, S a is the length from the intersection of the extension line of the current position point and the reverse extension line of the next position point to the current position point, S b is the length from the intersection point to the next position point.
[0015] In some embodiments, when the target turning radius is greater than the maximum turning radius of the vehicle to reach the next position point or the target turning radius is less than the minimum turning radius of the vehicle, the target driving planning trajectory is replanned.
[0016] In some embodiments, the replanning of the target driving plan trajectory includes: modifying the next position point to a position point that satisfies the target turning radius less than or equal to the maximum turning radius of the vehicle to reach the next position point and greater than or equal to the minimum turning radius of the vehicle. Alternatively, the replanning of the target driving plan trajectory includes: inserting a new position point between the current position point and the next position point, and replacing the next position point with the new position point.
[0017] In some embodiments, the target turning angle is obtained based on the target steering curvature and the target center of mass sideslip angle of the vehicle; the target center of mass sideslip angle is determined based on the lateral and longitudinal displacements in the vehicle's global coordinate system and the first center of mass sideslip angle of the vehicle; the first center of mass sideslip angle is the initial value of the center of mass sideslip angle; the lateral and longitudinal displacements are obtained based on the target steering curvature, the first center of mass sideslip angle and the steering time.
[0018] In some embodiments, the first center of mass sideslip angle is a center of mass sideslip angle corresponding to a turning radius of different front wheel steering of the vehicle when the rear wheel steering of the vehicle is zero.
[0019] In some embodiments, when the error between the lateral and longitudinal displacements and the next position point is less than an error threshold, the target center of mass sideslip angle is the first center of mass sideslip angle.
[0020] In some embodiments, when the error between the lateral and longitudinal displacements and the next position point is greater than or equal to an error threshold, the target center of mass sideslip angle is a second center of mass sideslip angle; the second center of mass sideslip angle is obtained by adjusting the first center of mass sideslip angle according to the error until the error is less than the error threshold.
[0021] In some embodiments, the transverse-longitudinal displacement includes a longitudinal displacement and a lateral displacement; when the longitudinal displacement is smaller than the longitudinal displacement required for the next position point or when the lateral displacement is smaller than the lateral displacement required for the next position point, the second center of mass sideslip angle is obtained by reducing the first center of mass sideslip angle by a preset center of mass sideslip angle step size.
[0022] In some embodiments, when the longitudinal displacement is greater than the longitudinal displacement required for the next position point or when the lateral displacement is greater than the lateral displacement required for the next position point, the second center of mass sideslip angle is obtained by increasing the first center of mass sideslip angle by the preset center of mass sideslip angle step size.
[0023] In some embodiments, the path from the current position point to the next position point includes a straight line segment and an arc segment; the turning time is obtained based on the trajectory length of the arc segment and the vehicle speed.
[0024] In some embodiments, the vehicle control method further includes: corresponding to each position point on the target driving planning trajectory, controlling the steering wheel of the vehicle to return to the center before each turn ends.
[0025] In order to achieve the above-mentioned purpose, the electronic device of the second aspect embodiment of the present invention includes: at least one processor; a memory communicatively connected to the at least one processor; the memory stores a computer program executable by the at least one processor, and when the at least one processor executes the computer program, the vehicle control method described in the above embodiment is implemented.
[0026] According to the electronic device of the embodiment of the present invention, at least one processor executes the vehicle control method described in the above embodiment, based on the heading angle change value between the current position point of the vehicle and the next position point of the current position point, the heading angle change value reflects the direction change that needs to be adjusted when the vehicle is driving on the target driving planning trajectory. The target turning curvature can be obtained through the heading angle change value, and the target turning curvature reflects the curvature of the vehicle's driving path and is an important parameter to ensure that the vehicle drives along the predetermined trajectory. The target turning angle of the vehicle can be obtained through the target turning curvature, and the target turning angle is the steering angle required by the vehicle during driving, which is used to make the vehicle accurately drive on the planned trajectory. According to the target turning angle, the vehicle is controlled to drive from the current position point to the next position point. The control of the target turning angle directly affects the steering behavior of the vehicle, ensuring that the vehicle can accurately drive along the trajectory of the target driving plan. By accurately controlling the target turning angle, the vehicle can turn according to the predetermined turning curvature and turning angle to smoothly reach the target position and achieve the predetermined target heading angle, thereby realizing accurate control of the heading angle of the vehicle at the target position. This effectively solves the problem of driving under narrow paths, reduces the risk of collision, and improves the safety and accuracy of vehicle operation.
[0027] In order to achieve the above-mentioned purpose, the non-volatile readable storage medium of the third aspect of the embodiment of the present invention stores a computer program thereon, and when the computer program is executed, the vehicle control method described in the above embodiment is implemented.
[0028] According to the non-volatile readable storage medium of the embodiment of the present invention, by adopting the vehicle control method described in the above embodiment, it is not only possible to ensure that the vehicle reaches the target position smoothly during driving, but also to achieve precise control of the heading angle of the vehicle at the target position, effectively solving the problem of driving on narrow paths, reducing the risk of collision, and thus improving the safety and accuracy of driving operations.
[0029] In order to achieve the above-mentioned object, a vehicle according to a fourth embodiment of the present invention includes the electronic device described in the above embodiment.
[0030] According to the vehicle of the embodiment of the present invention, by adopting the electronic device described in the above embodiment, based on the heading angle change value between the current position point of the vehicle and the next position point of the current position point, the heading angle change value reflects the direction change that needs to be adjusted when the vehicle is driving on the target driving planning trajectory. The target turning curvature can be obtained by the heading angle change value, and the target turning curvature reflects the curvature of the vehicle's driving path and is an important parameter to ensure that the vehicle drives along the predetermined trajectory. The target turning angle of the vehicle can be obtained by the target turning curvature, and the target turning angle is the steering angle required by the vehicle during driving, which is used to make the vehicle accurately drive on the planned trajectory. According to the target turning angle, the vehicle is controlled to drive from the current position point to the next position point. The control of the target turning angle directly affects the steering behavior of the vehicle, ensuring that the vehicle can accurately drive along the trajectory of the target driving plan. By accurately controlling the target turning angle, the vehicle can turn according to the predetermined turning curvature and turning angle to smoothly reach the target position and achieve the predetermined target heading angle, thereby realizing accurate control of the heading angle of the vehicle at the target position. This effectively solves the problem of driving under narrow paths, reduces the risk of collision, and improves the safety and accuracy of vehicle operation.
[0031] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0033] Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present invention;
[0034] Figure 2 is a schematic diagram of a mapping relationship between curvature and trajectory path length according to an embodiment of the present invention;
[0035] Figure 3 is a schematic diagram of vehicle steering according to an embodiment of the present invention;
[0036] Figure 4 is a schematic diagram of a steering center selectable area according to an embodiment of the present invention;
[0037] Figure 5 is a schematic diagram of the range of values of the center of mass sideslip angle under different curvatures according to an embodiment of the present invention;
[0038] Figure 6 is a flow chart of adjusting a first center of mass sideslip angle according to an embodiment of the present invention;
[0039] Figure 7 is a schematic diagram comparing the lateral displacement according to an embodiment of the present invention and the lateral displacement required for the next position point;
[0040] Figure 8 is an overall flow chart of a vehicle control method according to an embodiment of the present invention;
[0041] Fig. 9 is a block diagram of a vehicle control system according to an embodiment of the present invention;
[0042] Fig.10 is a block diagram of an electronic device according to an embodiment of the present invention;
[0043] Fig.11 is a block diagram of a vehicle according to one embodiment of the present invention.
[0044] Reference numerals:
[0045] Vehicle 100;
[0046] Vehicle control system 1;
[0047] Trajectory acquisition module 10; adjustment module 20; control module 30;
[0048] A first calculation unit 11; a judgment unit 12; a curvature adjustment unit 21; a second calculation unit 22; a center of mass side slip angle adjustment unit 23; a vehicle speed control unit 31; a steering control unit 32; a feedback adjustment unit 33;
[0049] Electronic device 110;
[0050] Processor 111; memory 112. DETAILED DESCRIPTION
[0051] Embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention are described in detail below.
[0052] In the prior art, the automatic driving control of the vehicle mainly uses the trajectory tracking error as an indicator for tracking control, that is, the vehicle's driving path is controlled by minimizing the error between the vehicle's current position and the planned trajectory. Although this method can ensure that the vehicle can reach the target position to a certain extent, it often ignores the precise control of the vehicle's heading angle at the target position. In the actual driving process, the vehicle's heading angle is crucial to whether it can successfully reach the designated position, especially in narrow paths. If the heading angle control is inaccurate, the vehicle is prone to collision or cannot enter the designated position, thereby affecting the safety of the automatic driving system and user experience.
[0053] In response to the above problems, an embodiment of the present invention proposes a vehicle control method, which can not only ensure that the vehicle reaches the target position smoothly during driving, but also can realize precise control of the vehicle's heading angle at the target position, effectively solve the problem of driving on narrow paths, reduce the risk of collision, and thus improve the safety and accuracy of driving operations.
[0054] In the embodiment of the present invention, the planned trajectory should divide multiple turns into multiple single turns, and add key points at the corresponding positions so that the vehicle can complete the turning operation. The planned trajectory should include the position and heading angle information of the key points. If the vehicle has an initial turning angle, the steering wheel can be turned back to the center position by turning the steering wheel in place to ensure that the vehicle is driving in a straight line when starting.
[0055] Reference below Figure 1-Figure 8 A vehicle control method according to an embodiment of the present invention is described.
[0056] Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present invention. The vehicle control method at least includes steps S1-S3, which are as follows:
[0057] S1, obtaining a target turning curvature according to a change value of a heading angle between a current position point of the vehicle and a position point next to the current position point on a target driving planning trajectory.
[0058] In some embodiments, the target driving planning trajectory can be a path or route pre-planned by the vehicle during driving, which is used to guide the vehicle to move from the current position to the target designated position. The trajectory can take into account various factors, such as traffic rules, road conditions, obstacles, and conditions around the target designated position, so as to provide the vehicle with a clear driving direction and path. The target driving planning trajectory can be a continuous curve containing a series of discrete points, each of which has clear coordinates and direction information.
[0059] In some embodiments, the target driving planning trajectory can be generated by the vehicle's autonomous driving system. Specifically, the system can use sensors on the vehicle (such as cameras, lidar, or millimeter wave sensors) and other devices to detect the surrounding environment, identify obstacles and parking spaces, and combine the path planning algorithm to generate an optimal path from the current position to the target specified position.
[0060] In some embodiments, the heading angle is the angle between the longitudinal direction of the vehicle and the horizontal axis direction of the geodetic coordinate system. The heading angle between the current position point and the next position point of the current position point can be calculated by a steering wheel sensor, a GPS (Global Positioning System) or an IMU (Inertial measurement unit) sensor, combined with the speed and acceleration data of the vehicle. The heading angle change value is the difference between the heading angle of the current position point and the heading angle of the next position point. Therefore, the heading angle change value can be the angle information that the vehicle needs to turn between the current position point and the next position point, reflecting the change in direction that the vehicle needs to adjust when driving on the planned trajectory. The heading angle change value is used to calculate the target steering curvature, which can help determine how the vehicle needs to turn to travel along the planned trajectory.
[0061] In some embodiments, the target turning curvature can reflect the curvature of the path of the vehicle during driving. The greater the curvature, the higher the curvature of the path. The target turning curvature is an important parameter for controlling vehicle steering and can be calculated based on the heading angle change value and the required turning diameter. It reflects the steering requirement of the vehicle from the current position point to the next position point.
[0062] S2, obtaining a target turning angle of the vehicle according to the target turning curvature.
[0063] In some embodiments, the target angle may refer to the wheel angle required for the vehicle to travel along a predetermined path. The target angle adjusts the steering angle of the wheels so that the vehicle travels along the planned path. Whether it is a straight path or a curved path, the target angle ensures that the vehicle accurately follows the predetermined trajectory during driving. In complex road environments, the target angle can help the vehicle bypass obstacles, avoid dangerous areas, optimize the driving path, and ensure safe driving.
[0064] S3, controlling the vehicle to travel from the current position point to the next position point according to the target turning angle.
[0065] In some embodiments, controlling the vehicle from the current position to the next position based on the target angle can be controlled not only based on the target angle of the front wheels or the target angle of the rear wheels, but also based on the target angles of the front and rear wheels. Comprehensive control can be performed, thereby better utilizing the advantages of four-wheel steering vehicles and improving user experience. Through the target angle, the path of the vehicle during the steering process can be accurately controlled to ensure that the vehicle can accurately follow the planned trajectory. Accurate target angle control can improve the stability of the vehicle during the steering process and reduce the risk of deviation from the trajectory. In addition, in narrow paths, accurate target angle control can effectively avoid collisions and improve the safety and accuracy of driving operations.
[0066] According to the vehicle control method of the embodiment of the present invention, based on the heading angle change value between the current position point of the vehicle and the next position point of the current position point, the heading angle change value reflects the direction change that needs to be adjusted when the vehicle is driving on the target driving planning trajectory. The target turning curvature can be obtained through the heading angle change value. The target turning curvature reflects the curvature of the vehicle's driving path and is an important parameter to ensure that the vehicle drives along the predetermined trajectory. The target turning angle can be obtained through the target turning curvature. The target turning angle is the steering angle required by the vehicle during driving, which is used to make the vehicle accurately drive on the planned trajectory. The vehicle is controlled to drive from the current position point to the next position point according to the target turning angle. The control of the target turning angle directly affects the steering behavior of the vehicle, ensuring that the vehicle can accurately drive along the trajectory of the target driving plan. By accurately controlling the target turning angle, the vehicle can turn according to the predetermined turning curvature and turning angle to smoothly reach the target position and achieve the predetermined target heading angle, thereby realizing accurate control of the heading angle of the vehicle at the target position. This effectively solves the problem of driving on a narrow path, reduces the risk of collision, and improves the safety and accuracy of vehicle operation.
[0067] In the embodiment, different methods may be used to obtain the turning curvature.
[0068] In some embodiments, the target turning curvature is obtained by differential operation of the arc section under the target turning radius. The target turning radius is the required turning radius for the vehicle to turn from the current position to the next position point. This radius can be determined based on the dynamic characteristics of the vehicle and the geometric characteristics of the path. This target turning radius can be determined based on the geometric size, speed, and path requirements of the vehicle.
[0069] In some embodiments, Figure 2 is a schematic diagram of the mapping relationship between curvature and trajectory path length according to an embodiment of the present invention. Figure 2 As shown, the trajectory length is used as the horizontal coordinate and the steering curvature is used as the vertical coordinate to construct a curvature conversion coordinate system. In this coordinate system, the change value of the vehicle body yaw angle is represented by the trapezoidal area. For example, Figure 2 As shown, when the vehicle travels from the start of turning to the next position point, the physical meaning of the yaw angle change value corresponds to the area of the target trapezoid shown in the curvature conversion coordinate system. Among them, the coordinate values of each position point in the target driving planning trajectory are known, and the coordinate point where the turning starts in the target driving planning trajectory can be identified.
[0070] In the embodiment, according to the length of the lower base of the target trapezoid, the coordinates of the two end points of the lower base, the slopes of the two waists of the trapezoid and the area of the trapezoid, the height of the trapezoid, the length of the upper base and the coordinates of the two end points of the upper base can be calculated based on the geometric relationship. That is, the target turning curvature can be obtained according to the target trapezoid in the curvature conversion coordinate system, and the area of the target trapezoid corresponds to the heading angle change value; the lower base of the target trapezoid is located on the horizontal axis of the curvature conversion coordinate system, and the two end points of the lower base of the target trapezoid correspond to the turning starting point and the next position point.
[0071] In some embodiments, the target turning curvature can be obtained according to the position values of the two end points of the base of the target trapezoid and the slopes of the two waists of the target trapezoid. The slopes of the two waists of the target trapezoid can be obtained according to the steering wheel angular velocity and the vehicle speed of the vehicle, and specifically, can be obtained based on a pre-calibrated mapping relationship or determined based on a satisfied mathematical model or mathematical formula.
[0072] For example, in some embodiments, the slope of the waist of the target trapezoid may be expressed by the following mathematical formula:
[0073] ;
[0074] in, is the slope, is the ratio of the steering wheel angle to the wheel angle; is the wheelbase of the vehicle; is the steering wheel angular velocity; is the vehicle speed. , All are known, and It can be acquired through sensor collection or calculated based on state parameters.
[0075] Specifically, for example, the length change of the lower base of the target trapezoid can be determined based on the coordinate values of each point in the trajectory, and the slope of the target trapezoid is the ratio of the length change of the lower base to the change in the height of the trapezoid, so that the height change of the trapezoid can be obtained. The turning starting point, that is, one end point of the lower base corresponds to a point with zero curvature, so the turning curvature corresponding to each coordinate point during the turning process can be obtained.
[0076] Alternatively, in some embodiments, the target turning curvature may be the curvature of the track path from the current position point to the next position point, and the integral result is the heading angle change value. That is, the curvature represents the lateral change rate on the track path, and the curvature is integrated on the driving track path to obtain the heading angle change value of the vehicle on the section of the journey. The specific calculation formula is as follows:
[0077] ;
[0078] in, is the heading angle change value, is the curvature and ds is the path differential.
[0079] In some embodiments, during the driving process of the vehicle, in order to enable the vehicle to smoothly reach the next position point from the current position point and achieve the expected heading angle change, it is necessary to determine a suitable target turning curvature. When determining the target turning curvature, the curvature corresponding to the required turning diameter of the vehicle from the current position to the next position point is taken as the initial curvature.
[0080] Furthermore, the heading angle change value can be calculated by integrating the trajectory path from the current position point to the next position point using the initial curvature. The calculated heading angle change value is compared with the known heading angle change value. If the heading angle change value obtained by the integration result is greater than the known heading angle change value, it means that the initial curvature is too large and the initial curvature needs to be reduced. If the heading angle change value obtained by the integration result is less than the known heading angle change value, it means that the initial curvature is too small and the initial curvature needs to be increased. The initial curvature is continuously adjusted and the integral calculation is performed until the integral result is close to the known heading angle change value. Therefore, when the integral result is very close to the known heading angle change value, the current initial curvature is the target turning curvature.
[0081] like Figure 2 As shown, Figure 2 The area of the trapezoid in represents the cumulative heading angle change value on the trajectory path. The height of the trapezoid corresponds to the curvature of the trajectory path, and the bottom of the trapezoid corresponds to the length of the trajectory path. When the adjusted curvature integral result is close to the known heading angle change value, the area of the trapezoid is the known heading angle change value, and the height of the trapezoid is the target turning curvature.
[0082] Therefore, through the above method, the target turning curvature required by the vehicle can be accurately determined. By adjusting the curvature, it is ensured that the vehicle can not only reach the target position during driving, but also reach it at the expected heading angle, thereby effectively solving the driving problem in narrow paths, reducing the risk of collision, and improving the safety and accuracy of vehicle driving operations.
[0083] In some embodiments, the target turning radius is less than or equal to the maximum turning radius of the vehicle to reach the next location point, and the target turning radius is greater than or equal to the minimum turning radius of the vehicle. The maximum turning radius may refer to the maximum radius at which the vehicle can safely complete a turn under the current driving speed and steering system limitations. When planning a path, ensuring that the target turning radius is less than or equal to this maximum turning radius is to avoid the vehicle exceeding its physical capabilities when turning, resulting in an inability to safely complete the turn and thus fail to reach the target location point.
[0084] The minimum turning radius may refer to the minimum turning radius required for the vehicle to perform a turning operation between the current position of the vehicle and the next position. The minimum turning radius may be set in advance during vehicle manufacturing or the design of the autonomous driving system. The minimum turning radius may be determined during the vehicle design phase based on factors such as vehicle size, wheelbase, steering system, and safety requirements to ensure that the vehicle can safely complete the turn under normal operation. No specific restrictions are made here.
[0085] In some embodiments, if the target turning radius is less than the minimum turning radius, it means that there are certain positions in the driving path where the vehicle cannot reach the next position in one turn. This may cause the vehicle to fail to reach the final target position smoothly, or require multiple adjustments to the steering angle to reach the target position, increasing the complexity and time consumption of the driving process. In addition, uncontrollable collisions may occur or the vehicle may not be able to fully reach the target position. Therefore, ensuring that the target turning radius is greater than or equal to the minimum turning radius of the vehicle is an important condition for ensuring safe and smooth vehicle driving.
[0086] In some embodiments, Figure 3 As shown, the maximum turning radius of the vehicle to reach the next position point is expressed as follows:
[0087] ;
[0088] Among them, S min For S a and S b The minimum value of α is the heading angle change, S a S is the length from the intersection of the extension line of the current point and the reverse extension line of the next point to the current point. b It is the length from the intersection point to the next position point.
[0089] Furthermore, after calculating the maximum turning radius, the target turning radius can be selected between the maximum turning radius and the minimum turning radius, and the initial curvature is equal to the inverse of the target turning radius. This initial curvature is used as the starting point for calculating the heading angle change value by the curvature integral. The curvature can be adjusted to make the integral result close to the known heading angle change value, and finally determine the target turning curvature.
[0090] In some embodiments, when the target turning radius is greater than the maximum turning radius of the vehicle to reach the next location point or the target turning radius is less than the minimum turning radius of the vehicle, the target driving planning trajectory is replanned. That is to say, when the target turning radius exceeds the maximum turning radius of the vehicle or is less than the minimum turning radius, the existing target driving planning trajectory may not be achieved. This is because the actual steering capability of the vehicle is not enough to complete the planned path, or the planned path is too compact and the vehicle cannot complete the turn safely. The purpose of replanning the trajectory is to adjust the target driving path to match the actual steering capability of the vehicle and ensure that the vehicle can smoothly and safely reach the next location point from the current location.
[0091] In some embodiments, replanning the target driving planning trajectory includes: modifying the next position point to a position point that satisfies the target turning radius less than or equal to the maximum turning radius of the vehicle to reach the next position point and greater than or equal to the minimum turning radius of the vehicle, so that the turning radius from the current position point to the new position point is consistent with the steering capability of the vehicle.
[0092] Alternatively, replanning the target driving planning trajectory includes: inserting a new position point between the current position point and the next position point, and replacing the next position point with the new position point. The inserting of the new position point may insert one or more position points, and the setting of these new position points can make each turning radius on the path meet the turning capability requirements of the vehicle.
[0093] In some embodiments, the target turning angle is obtained based on the target steering curvature and the target center of mass sideslip angle of the vehicle, and the target center of mass sideslip angle is determined based on the lateral and longitudinal displacements in the vehicle's global coordinate system and the first center of mass sideslip angle of the vehicle.
[0094] The first center of mass sideslip angle is an initial value of the center of mass sideslip angle, and the first center of mass sideslip angle can be determined by querying a mapping relationship according to a target turning curvature, and the mapping relationship is a corresponding relationship between the target turning curvature and the center of mass sideslip angle. The derivation process of the mapping relationship can include the establishment of a mathematical model or analysis based on experimental data to determine the first center of mass sideslip angle corresponding to different target turning curvatures.
[0095] In some embodiments, the steering characteristics and size of each vehicle model may be different, so when developing an autonomous driving system, it is necessary to determine the mapping relationship between the target steering curvature and the first center of mass sideslip angle for the specific vehicle model. This relationship can be modeled and verified based on the vehicle's geometric structure and dynamic characteristics.
[0096] In addition, once the mapping relationship is established, this data can be pre-stored in the vehicle's autonomous driving system. This means that in actual use, the system can quickly find and apply the correct first center of mass sideslip angle according to the current driving task and vehicle model, thereby achieving precise driving operations.
[0097] Figure 4 is a schematic diagram of a turning center optional area according to an embodiment of the present invention, such as Figure 4 As shown in the figure, the maximum turning angle of the front wheel of the vehicle is δF degrees, and the maximum turning angle of the rear wheel is δR degrees. The vehicle is driven at a low speed during tracking, so the turning radius and turning center of the vehicle are calculated using a two-degree-of-freedom model.
[0098] Among them, point O represents the center of mass of the vehicle, J and K represent the front and rear wheels of the vehicle respectively. δF represents the front wheel turning angle, and δR represents the rear wheel turning angle. The shaded area ACDE represents the optional area of the turning center when the vehicle turns left, which also includes the area in the middle of the extended lines CA and DE. Figure 4 As shown in FIG. 1 , although the turning radius of the points on the arc BGD is the same as OG, the sideslip angles of the center of mass of different turning center points on the arc are different.
[0099] In some embodiments, a coordinate system is established with the center of mass position O of the vehicle as the origin, the longitudinal direction of the vehicle as the X-axis, and the lateral direction as the Y-axis. A circle is drawn with the center of mass as the center and r as the radius. The part where the circle intersects with the shaded part is the optional position of the vehicle's turning center when the vehicle's turning radius is r. That is, the part where the circle intersects with the shaded part ACDE, i.e., the arc BGD, is the set of turning centers with the same turning radius of the vehicle. By adjusting the front and rear wheel steering angles of the vehicle, the instantaneous turning center of the vehicle can always be located on the arc BGD, i.e., without changing the turning radius of the vehicle, only the side slip angle of the center of mass of the vehicle during driving is changed to control the trajectory and direction during the steering process.
[0100] In some embodiments, reference Figure 4 The equation of the circle and the shaded part can be listed as follows:
[0101] ;
[0102] Among them, r is the turning radius, δF is the maximum turning angle of the front wheel, δR is the maximum turning angle of the rear wheel, a is the distance from the center of mass to the center of the front wheel, and b is the distance from the center of mass to the center of the rear wheel.
[0103] Therefore, the solution of the boundary equation of the circle and the shaded part is obtained, that is, the intersection of the circle and the boundary of the shaded part, and then the limit center of mass sideslip angle under the turning radius is calculated by the coordinates of the intersection point, and finally the center of mass sideslip angle value range corresponding to different turning radii, that is, different curvatures is obtained.
[0104] In some embodiments, the first center of mass slip angle is the center of mass slip angle corresponding to the turning radius of different front wheel steering of the vehicle when the rear wheel steering of the vehicle is zero. This angle reflects the offset of the center of mass of the vehicle relative to the longitudinal axis of the vehicle. When the vehicle is turning, the center of mass slip angle helps to describe the dynamic behavior and steering characteristics of the vehicle. When the rear wheel steering of the vehicle is zero, it means that the rear wheels keep going straight and do not participate in the steering operation. In this case, the steering behavior of the vehicle is mainly determined by the front wheel steering angle.
[0105] In some embodiments, for different front wheel steering angles, a corresponding center of mass sideslip angle can be calculated. These angle data can also form a mapping relationship (such as a table, a function) to help determine the center of mass sideslip angle at a specific turning radius. In vehicle control, by pre-calculating and storing the corresponding relationship between these center of mass sideslip angles and turning radius, the steering of the vehicle can be adjusted in real time to match the target steering curvature and the target center of mass sideslip angle.
[0106] like Figure 5 As shown, Figure 5 It is obtained by plotting the range of values of the sideslip angle at the center of mass corresponding to different curvatures. Since the curvature of the steering trajectory and the sideslip angle at the center of mass change continuously during the driving process, if the wheel turning angle of the vehicle at the current moment is zero, it means that the vehicle is in a straight-moving state. At this time, the curvature and the sideslip angle at the center of mass should be a continuous curve starting from the origin. For vehicles with different maximum front and rear wheel turning angles, wheelbases and center of mass positions, this curve may be different. Different vehicle parameters may also cause changes in the shape and range of the curve, reflecting the differences in vehicle steering characteristics under different conditions.
[0107] In some embodiments, Figure 5 As shown, although the first center of mass sideslip angle can be determined according to the target steering curvature query mapping relationship, the first center of mass sideslip angle may not fully meet the actual trajectory requirements. It may be larger or smaller than the required center of mass sideslip angle. Therefore, in order to achieve precise driving control, the first center of mass sideslip angle can be adjusted. However, it should be noted that the adjusted center of mass sideslip angles are all within the range of center of mass sideslip angles corresponding to the curvature. That is, a specific steering curvature can correspond to multiple center of mass sideslip angles, and a center of mass sideslip angle suitable for the current needs can be selected from this range.
[0108] In some embodiments, the lateral and longitudinal displacements are obtained based on the target turning curvature, the first center of mass sideslip angle and the turning time.
[0109] The turning time is obtained based on the trajectory length of the arc segment and the vehicle speed. Specifically, Figure 3As shown in FIG. 1 , the path between the current position point and the next position point includes a straight line segment and an arc segment. The straight line segment indicates that the vehicle is traveling along a straight line without turning. The arc segment indicates that the vehicle is traveling along a curve with turning. The path length of the arc segment can be obtained by calculating the length of the arc according to the turning radius and the central angle (expressed in radians) of the arc segment.
[0110] Furthermore, by dividing the path length of the arc segment by the vehicle speed, the travel time of the vehicle in the arc segment, that is, the turning time, can be obtained.
[0111] In some embodiments, the lateral and longitudinal displacements of the vehicle relative to the initial moment can be calculated by the target turning curvature, the first center of mass sideslip angle and the turning time. The specific calculation formula is as follows:
[0112] ;
[0113] Among them, x is the longitudinal displacement, y is the lateral displacement, v is the center of mass velocity, β is the first center of mass sideslip angle, ds is the path differential, and dt is the time differential.
[0114] In some embodiments, when the error between the lateral and longitudinal displacements and the next position point is less than the error threshold, the target center of mass sideslip angle is the first center of mass sideslip angle. This means that the distance error (i.e., lateral error and longitudinal error) between the actual position of the vehicle and the target position point is within an acceptable range. This indicates that the vehicle is very close to the expected position, the error is small enough, and the vehicle can accurately reach the next position point. The error threshold is a pre-set value that determines the maximum allowable error range between the vehicle and the next position point. It can be set according to the size, speed, environmental conditions, driving requirements, and safety considerations of the vehicle.
[0115] Furthermore, the turning angles of the front and rear wheels of the vehicle are obtained according to the target turning curvature and the first center of mass sideslip angle to control the front and rear wheels of the vehicle respectively. The turning angles of the rear wheels are the same, which can ensure the stability and steering accuracy of the vehicle. The turning angles of the front wheels can be calculated to obtain an average value, which is then automatically distributed to the two front wheels by the steering wheel control system. In this way, the front wheels can work together to ensure that the vehicle can travel according to the planned trajectory.
[0116] In some embodiments, the turning angles of the front and rear wheels of the vehicle are obtained according to the target turning curvature and the first center of mass sideslip angle, and the specific calculation formula is as follows:
[0117] ;
[0118] Among them, δF is the maximum turning angle of the front wheel, δR is the maximum turning angle of the rear wheel, R is the turning radius, β is the first center of mass sideslip angle, a is the distance from the center of mass to the center of the front wheel, and b is the distance from the center of mass to the center of the rear wheel.
[0119] Furthermore, according to the four-wheel turning angles and steering time obtained above, the vehicle driving and wheel steering are controlled, and feedback adjustment is combined during the driving process to complete the vehicle driving tracking operation.
[0120] In some embodiments, the vehicle control method further includes: when the error between the lateral and longitudinal displacements and the next position point is greater than or equal to an error threshold, the target center of mass sideslip angle is a second center of mass sideslip angle. The second center of mass sideslip angle is obtained by adjusting the first center of mass sideslip angle according to the error until the error is less than the error threshold. The purpose of adjusting the first center of mass sideslip angle is to optimize the steering behavior of the vehicle and make it closer to the target trajectory. Through continuous adjustment and correction, a new center of mass sideslip angle, namely the second center of mass sideslip angle, is eventually obtained. The second center of mass sideslip angle is an optimized value used to ensure that the vehicle can reach the target position more accurately and reduce the lateral deviation between the actual trajectory and the expected trajectory.
[0121] In some embodiments, the transverse and longitudinal displacement includes a transverse displacement and a longitudinal displacement. When the longitudinal displacement is less than the longitudinal displacement required for the next position point or when the transverse displacement is less than the transverse displacement required for the first position point, the second center of mass sideslip angle is obtained by reducing the first center of mass sideslip angle by a preset center of mass sideslip angle step length. The preset center of mass sideslip angle step length can be set in advance according to the actual requirements of the vehicle size and the driving environment. For example, the preset center of mass sideslip angle step length can be set to 0.1 degrees, that is, the first center of mass sideslip angle is reduced by 0.1 degrees.
[0122] In the case where the longitudinal displacement is greater than the longitudinal displacement required for the next position point or the lateral displacement is greater than the lateral displacement required for the next position point, the second center of mass sideslip angle is obtained by increasing the first center of mass sideslip angle by a preset center of mass sideslip angle step size. For example, the preset center of mass sideslip angle step size may be set to 0.1 degrees, that is, 0.1 degrees is increased on the basis of the first center of mass sideslip angle.
[0123] Figure 6 is a flow chart of adjusting the first center of mass sideslip angle according to an embodiment of the present invention, wherein adjusting the first center of mass sideslip angle comprises at least steps S10-S14, which are specifically as follows:
[0124] S10, calculating the lateral and longitudinal displacements of the vehicle in a global coordinate system according to the target turning curvature, the first center of mass sideslip angle and the turning time.
[0125] S11, determine the size of the calculated lateral displacement and longitudinal displacement and the lateral displacement and longitudinal displacement required for the next position point. If they are less than, proceed to step S12; if they are greater, proceed to step S13; if they are equal, proceed to step S14.
[0126] S12, reducing the first center of mass sideslip angle by a preset center of mass sideslip angle step size to obtain a second center of mass sideslip angle.
[0127] S13, increasing the first center of mass sideslip angle by a preset center of mass sideslip angle step size to obtain a second center of mass sideslip angle.
[0128] S14, calculation is completed, and the target turning curvature, turning time and second center of mass sideslip angle are output.
[0129] Taking lateral displacement as an example, Figure 7 FIG. 1 is a schematic diagram comparing the lateral displacement according to an embodiment of the present invention and the lateral displacement required for the next position point. Figure 7 As shown, Figure 7 The leftmost a curve may represent a curve where the calculated lateral displacement is less than the lateral displacement required for the next position point, i.e., the vehicle is not sufficient to reach the next position point in the planned trajectory. The middle b curve may represent a curve where the calculated lateral displacement is the same as the lateral displacement required for the next position point, and the vehicle can just reach the next position point in the planned trajectory. The rightmost c curve may represent a curve where the calculated lateral displacement is greater than the lateral displacement required for the next position point, i.e., the vehicle will exceed the next position point in the planned trajectory.
[0130] Figure 8 is an overall flow chart of a vehicle control method according to an embodiment of the present invention. Figure 8 As shown, the overall process of the vehicle control method includes at least steps S100-S110, which are as follows:
[0131] S100, obtaining the position information of the current position point of the vehicle, the position information of the next position point and the heading angle change value.
[0132] S101, calculating a target turning radius for a vehicle to turn from a current position to a next position point based on position information of a current position point of the vehicle, position information of a next position point and a heading angle change value.
[0133] S102, determine whether the target turning radius is greater than or equal to the minimum turning diameter for the vehicle to reach the next position point, and less than or equal to the maximum turning radius for the vehicle to reach the next position point. If it is greater than or equal to the minimum turning diameter and less than or equal to the maximum turning radius, proceed to step S104; if it is less than, proceed to step S103.
[0134] S103, replanning the trajectory.
[0135] S104, performing a differential operation on the arc section under the target turning radius to obtain a target turning curvature.
[0136] S105, obtaining a turning time according to the trajectory length of the arc portion and the vehicle speed.
[0137] S106, calculating the lateral and longitudinal displacements of the vehicle in the global coordinate system according to the target turning curvature, the first center of mass sideslip angle and the turning time.
[0138] S107, determine whether the error between the horizontal and vertical displacements and the next position point is less than the error threshold, if so, proceed to step S109, if greater than or equal to, proceed to step S108.
[0139] S108, correcting the lateral and longitudinal displacement errors by using the second center of mass sideslip angle.
[0140] S109, obtaining a target turning angle of the vehicle according to the target turning curvature and the first center of mass sideslip angle, and controlling the vehicle to travel from the current position point to the next position point according to the target turning angle.
[0141] S110, completing the vehicle tracking operation.
[0142] In general, the vehicle control method of the embodiment of the present invention can ensure that the vehicle accurately tracks the trajectory of the target driving plan during the automatic driving process, and improve the vehicle's passability in narrow areas by controlling the change in the heading angle of the vehicle between the current position point and the next position point. In addition, when the vehicle reaches the target heading angle, the deviation is corrected by adjusting the center of mass sideslip angle in real time, thereby improving the accuracy and stability of the vehicle's tracking and reducing the lateral deviation between the actual trajectory and the expected trajectory.
[0143] In some embodiments, the vehicle control method further includes: corresponding to each position point on the target driving planning trajectory, controlling the vehicle's steering wheel to return to the center before each turn is completed. By dividing each turn in different directions into different position points in the target driving trajectory planning, and returning the steering wheel to the center before each turn is completed, the number of times the vehicle turns the steering wheel in place is reduced, the tire wear is reduced, and the vehicle steering frequency is reduced while ensuring that the vehicle follows the target driving planning trajectory, thereby improving the riding experience.
[0144] Fig. 9 is a block diagram of a vehicle control system according to an embodiment of the present invention, such as Fig. 9 As shown, the vehicle control system 1 includes a trajectory acquisition module 10 , an adjustment module 20 and a control module 30 .
[0145] Among them, the trajectory acquisition module 10 is used to obtain the position information of the current position point of the vehicle in the target driving planning trajectory, the position information of the next position point and the heading angle change information, and judge whether the vehicle can reach the next position point through one turn through calculation. The adjustment module 20 is used to adjust the curvature and the center of mass sideslip angle of the vehicle during the turning process to obtain the target turning curvature and target center of mass sideslip angle that can meet the vehicle to reach the next position point. The control module 30 is used to control the vehicle to perform driving tracking operations with the target turning curvature and target center of mass sideslip angle obtained by the adjustment module 20, and monitor the actual displacement and heading angle of the vehicle, and correct the deviation in the tracking process through feedback adjustment.
[0146] like Fig. 9 As shown, the trajectory acquisition module 10 includes a first calculation unit 11 and a judgment unit 12. The first calculation unit 11 is used to calculate the target turning radius for the vehicle to reach the next position point from the current position once. The judgment unit 12 is used to judge the size of the target turning radius and the minimum turning radius of the vehicle. When the target turning radius is less than the minimum turning radius, or the target turning radius is greater than the maximum turning radius, the vehicle cannot complete the tracking operation through one turn, and the trajectory needs to be replanned. When the target turning radius is greater than or equal to the minimum turning radius, and the target turning radius is less than or equal to the maximum turning radius, the tracking operation can continue.
[0147] In some embodiments, the adjustment module 20 includes a curvature adjustment unit 21, a second calculation unit 22, and a center of mass sideslip angle adjustment unit 23. Among them, the curvature adjustment unit 21 is used to determine the change of curvature with the length of the trajectory during the vehicle turning process according to the change value of the heading angle of the next position point relative to the current position point in the planned trajectory, and the integral of the curvature on the trajectory is the heading angle change value. The second calculation unit 22 is used to calculate the lateral and longitudinal displacements of the vehicle when turning with the target turning curvature and the first center of mass sideslip angle according to the target turning curvature, the first center of mass sideslip angle and the turning time. The center of mass sideslip angle adjustment unit 23 is used to adjust the first center of mass sideslip angle under the target turning curvature to obtain the second center of mass sideslip angle so that the vehicle can reach the next position point.
[0148] In some embodiments, the control module 30 includes a vehicle speed control unit 31, a steering control unit 32, and a feedback adjustment unit 33. The vehicle speed control unit 31 is used to control the vehicle to travel at a certain speed to perform tracking operations. The steering control unit 32 is used to obtain the target turning angle of the vehicle according to the target steering curvature and the target center of mass sideslip angle to control the vehicle to turn. The feedback adjustment unit 33 is used to monitor the displacement and heading angle of the actual vehicle and compare them with the expected displacement and heading angle. When the displacement deviation exceeds the threshold, the vehicle is adjusted to correct the deviation.
[0149] Reference below Fig.10 An electronic device according to an embodiment of the present invention is described.
[0150] Fig.10 is a block diagram of an electronic device according to an embodiment of the present invention, such as Fig.10 As shown, the electronic device 110 includes: a memory 112 and at least one processor 111 .
[0151] In some embodiments, at least one processor 111 may be one processor 111, or may be two processors 111, three processors 111, five processors 111, eight processors 111, ten processors 111, or a plurality of processors 111. These processors 111 may be various types of general or special processors, such as a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), etc. It depends on the design and purpose of the electronic device.
[0152] In some embodiments, the memory 112 may be a random access memory (RAM), a read-only memory (ROM), a flash memory, a solid-state drive (SSD), etc. The selection of the memory 112 depends on the needs and performance of the processor to ensure that it can support real-time requirements and large-scale data processing. These memories 112 play an important role in storing and managing data, programs, and configuration information in electronic devices to ensure normal operation of the system and data security.
[0153] In some embodiments, the memory 112 is communicatively connected to at least one processor 111, and the memory 112 stores a computer program that can be executed by at least one processor 111. When the at least one processor 111 executes the computer program, the vehicle control method described in the above embodiment is implemented.
[0154] In some embodiments, the electronic device 110 may be a domain controller, a vehicle controller, a vehicle terminal or a mobile terminal for vehicle driving control. When executing the above vehicle control method, these devices may involve processing sensor data, calculating control strategies, executing action instructions and other functions.
[0155] According to the electronic device 110 of the embodiment of the present invention, at least one processor 111 executes the vehicle control method described in the above embodiment, based on the heading angle change value between the current position point of the vehicle and the next position point of the current position point, the heading angle change value reflects the direction change that needs to be adjusted when the vehicle is driving on the target driving planning trajectory. The target turning curvature can be obtained through the heading angle change value, and the target turning curvature reflects the curvature of the vehicle's driving path and is an important parameter to ensure that the vehicle drives along the predetermined trajectory. The target turning angle of the vehicle can be obtained through the target turning curvature, and the target turning angle is the steering angle required by the vehicle during driving, which is used to make the vehicle accurately drive on the planned trajectory. According to the target turning angle, the vehicle is controlled to drive from the current position point to the next position point. The control of the target turning angle directly affects the steering behavior of the vehicle, ensuring that the vehicle can accurately drive along the trajectory of the target driving plan. By accurately controlling the target turning angle, the vehicle can turn according to the predetermined turning curvature and turning angle to smoothly reach the target position and achieve the predetermined target heading angle, thereby realizing accurate control of the heading angle of the vehicle at the target position. This effectively solves the problem of driving under narrow paths, reduces the risk of collision, and improves the safety and accuracy of vehicle operation.
[0156] The embodiment of the present invention further provides a non-volatile readable storage medium on which a computer program is stored, and when the computer program is executed, the vehicle control method described in the above embodiment is implemented. The specific implementation process of the vehicle control method can refer to the description of the above embodiment.
[0157] In some embodiments, computer-readable storage media may include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0158] According to the non-volatile readable storage medium of the embodiment of the present invention, by adopting the vehicle control method described in the above embodiment, it is not only possible to ensure that the vehicle reaches the target position smoothly during driving, but also to achieve precise control of the heading angle of the vehicle at the target position, effectively solving the problem of driving on narrow paths, reducing the risk of collision, and thus improving the safety and accuracy of driving operations.
[0159] Reference below Fig.11 A vehicle according to an embodiment of the present invention is described.
[0160] Fig.11 is a block diagram of a vehicle according to an embodiment of the present invention, Fig.11As shown, the vehicle 100 includes the electronic device 110 described in the above embodiment. The specific structure and composition of the electronic device 110 can be referred to the description of the above embodiment, and will not be repeated here.
[0161] According to the vehicle 100 of the embodiment of the present invention, by adopting the electronic device 110 described in the above embodiment, based on the heading angle change value between the current position point of the vehicle 100 and the position point next to the current position point, the heading angle change value reflects the direction change that needs to be adjusted when the vehicle 100 is traveling on the target driving planning trajectory. The target turning curvature can be obtained through the heading angle change value. The target turning curvature reflects the curvature of the vehicle's driving path and is an important parameter to ensure that the vehicle 100 travels along the predetermined trajectory. The target turning angle of the vehicle 100 can be obtained through the target turning curvature. The target turning angle is the steering angle required by the vehicle 100 during driving, which is used to make the vehicle 100 accurately travel on the planned trajectory. The vehicle 100 is controlled to travel from the current position point to the next position point according to the target turning angle. The control of the target turning angle directly affects the steering behavior of the vehicle 100, ensuring that the vehicle 100 can accurately travel along the trajectory of the target driving plan. By precisely controlling the target turning angle, the vehicle 100 can turn according to the predetermined turning curvature and turning angle to smoothly reach the target position and achieve the predetermined target heading angle, thereby achieving precise control of the heading angle of the vehicle 100 at the target position. This effectively solves the problem of driving on narrow paths, reduces the risk of collision, and improves the safety and accuracy of the operation of the vehicle 100.
[0162] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.
[0163] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A vehicle control method, characterized in that: include: Obtaining a target turning curvature according to a heading angle change value between a current position point of the vehicle and a position point next to the current position point on the target driving planning trajectory; Obtaining a target turning angle of the vehicle according to the target turning curvature; Controlling the vehicle to travel from the current position point to the next position point according to the target turning angle; Wherein, the target turning curvature is obtained by performing differential calculation on the arc segment from the current position to the next position point turning with the target turning radius; The target turning radius is the required turning radius for the vehicle to reach the next position point after turning once from the current position; Wherein, the target turning angle is obtained according to the target steering curvature and the target center of mass sideslip angle of the vehicle, the target center of mass sideslip angle is determined according to the lateral and longitudinal displacements in the vehicle global coordinate system and the first center of mass sideslip angle of the vehicle, the first center of mass sideslip angle is the initial value of the center of mass sideslip angle, and the lateral and longitudinal displacements are obtained according to the target steering curvature, the first center of mass sideslip angle and the steering time; Wherein, when the error between the lateral and longitudinal displacements and the next position point is less than an error threshold, the target centroid sideslip angle is the first centroid sideslip angle; Alternatively, when the error between the lateral and longitudinal displacements and the next position point is greater than or equal to an error threshold, the target center of mass sideslip angle is a second center of mass sideslip angle, and the second center of mass sideslip angle is obtained by adjusting the first center of mass sideslip angle according to the error until the error is less than the error threshold.
2. The vehicle control method according to claim 1, characterized in that: The target turning radius is less than or equal to a maximum turning radius for the vehicle to reach the next position point, and the target turning radius is greater than or equal to a minimum turning radius of the vehicle.
3. The vehicle control method according to claim 2, characterized in that: The maximum turning radius of the vehicle to reach the next position point is expressed as follows: ; Among them, S min For S a and S b The minimum value of α is the heading angle change value, S a is the length from the intersection of the extension line of the current position point and the reverse extension line of the next position point to the current position point, S b is the length from the intersection point to the next position point.
4. The vehicle control method according to claim 2, characterized in that: When the target turning radius is greater than the maximum turning radius of the vehicle to reach the next position point or the target turning radius is less than the minimum turning radius of the vehicle, the target driving planning trajectory is replanned.
5. The vehicle control method according to claim 4, characterized in that: The replanning of the target driving planning trajectory includes: modifying the next position point to a position point satisfying that the target turning radius is less than or equal to the maximum turning radius of the vehicle to reach the next position point and is greater than or equal to the minimum turning radius of the vehicle; Alternatively, the re-planning of the target driving planning trajectory includes: inserting a new position point between the current position point and the next position point, and replacing the next position point with the new position point.
6. The vehicle control method according to claim 1, characterized in that: The first center of mass sideslip angle is the center of mass sideslip angle corresponding to the turning radius of the front wheel steering of different vehicles when the rear wheel steering of the vehicle is zero.
7. The vehicle control method according to claim 1, characterized in that: The transverse and longitudinal displacement includes longitudinal displacement and transverse displacement; When the longitudinal displacement is less than the longitudinal displacement required for the next position point or when the lateral displacement is less than the lateral displacement required for the next position point, the second center of mass sideslip angle is obtained by reducing the first center of mass sideslip angle by a preset center of mass sideslip angle step size.
8. The vehicle control method according to claim 7, characterized in that: When the longitudinal displacement is greater than the longitudinal displacement required for the next position point or when the lateral displacement is greater than the lateral displacement required for the next position point, the second center of mass sideslip angle is obtained by increasing the first center of mass sideslip angle by the preset center of mass sideslip angle step size.
9. The vehicle control method according to claim 1, characterized in that: The path from the current position point to the next position point includes a straight line segment and an arc segment; The turning time is obtained according to the trajectory length of the arc segment and the vehicle speed.
10. The vehicle control method according to any one of claims 1 to 9, characterized in that: The vehicle control method further includes: Corresponding to each position point on the target driving planning trajectory, the steering wheel of the vehicle is controlled to return to the center before each turn ends.
11. An electronic device, characterized in that: include: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and when the at least one processor executes the computer program, the vehicle control method according to any one of claims 1 to 10 is implemented.
12. A non-volatile readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the vehicle control method according to any one of claims 1 to 10 is implemented.
13. A vehicle, characterized in that: The electronic device comprising claim 11.
