Vehicle control method, device, equipment and medium
By processing the trajectory curve segmentally and combining the actual conditions of the vehicle and the road, the appropriate driving speed is calculated, which solves the problem of inappropriate vehicle speed on large curvature ramps in the existing technology, and improves driving safety and the accuracy of speed planning. .
Patent Information
- Application Number
- CN202411080482.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-15
AI Technical Summary
When planning the driving speed of a vehicle on a ramp with a large curvature, the existing technology fails to fully consider the actual situation of the vehicle and the actual conditions of the road, resulting in inappropriate speed and affecting driving safety.
By obtaining the trajectory curve formed by the trajectory points, perform segmentation processing according to the azimuth angle threshold, determine the first planned speed of the vehicle on each trajectory segment, and calculate the final planned speed through the relationship between centrifugal force, radius, weight and speed to ensure that the vehicle is in Drive at an appropriate speed on each track segment.
It improves the driving safety and stability of vehicles on ramps with large curvatures, ensures the accuracy and rationality of speed planning, and adapts to the needs of different driving scenarios.
Smart Images

Figure CN118770247A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle control method, device, equipment and medium. Background Art
[0002] Large curvature ramps such as circular ramps are common in highways, overpasses and other roads. They enable vehicles to transfer between different roads. Vehicles enter or exit different intersections through circular ramps to drive to different destinations. Circular ramps have complex shapes and large curvatures, and it is also a challenge to achieve stable and safe driving of intelligent driving vehicles in circular ramps. To ensure the smooth movement of vehicles on large curvature ramps, it is necessary to plan a stable and feasible driving speed, otherwise it is easy to cause unstable vehicle control and low driving safety.
[0003] Most of the related technical solutions consider the road speed limit or the speed set by the driver as the main factor in calculating the control speed, without considering factors such as the actual situation of the vehicle and the actual situation of the road on which the vehicle is located, resulting in inappropriate speed control when the vehicle is traveling, affecting driving safety.
[0004] It can be seen that how to plan a suitable speed so that the vehicle travels at a suitable speed to ensure driving safety is a technical problem that people in this field urgently need to solve. Summary of the invention
[0005] The purpose of the present invention is to provide a vehicle control method, device, equipment and medium to solve the technical problem that the speed is calculated based on the road speed limit or the speed set by the driver, resulting in inappropriate speed control when the vehicle is driving, affecting driving safety.
[0006] In order to solve the above technical problems, the present invention provides a vehicle control method, comprising:
[0007] Obtain a trajectory curve formed by trajectory points;
[0008] The trajectory curve is segmented according to an azimuth angle threshold to obtain multiple segments of trajectory; wherein the azimuth angle threshold is determined by at least a radius of the road, a length of the road and a number of segments;
[0009] Determining a first planned speed of the vehicle on each track segment according to the centrifugal force at the location of the vehicle, the radius of each track segment, and the relationship between the vehicle weight and the speed; wherein the value of the centrifugal force at the location of the vehicle is determined by the friction coefficient between the vehicle and the road, the vehicle weight, and the inclination angle of the road;
[0010] Smoothing all the values of the first planned speeds to determine a final planned speed on each of the trajectory segments;
[0011] The vehicle is controlled to travel at the corresponding final planned speed on the road segment represented by each trajectory segment.
[0012] Preferably, the segmenting the trajectory curve according to the azimuth angle threshold to obtain multiple segments of trajectory includes:
[0013] Obtain the coordinate value of each trajectory point and calculate the azimuth according to the coordinate value of each trajectory point;
[0014] When it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that a segmentation point exists in the curve segment corresponding to the target trajectory point; wherein the target trajectory point is a trajectory point corresponding to the calculated azimuth angle being greater than the azimuth angle threshold;
[0015] The trajectory curve is segmented according to the segmentation points to obtain multiple segments of trajectory.
[0016] Preferably, when it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that a segmentation point exists in the curve segment corresponding to the target trajectory point comprises:
[0017] Starting from the first end point of the trajectory curve to the second end point of the trajectory curve, three consecutive trajectory points are selected in sequence to calculate the azimuth;
[0018] In the case where it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that there is a segmentation point in the curve segment corresponding to three consecutive trajectory points when the azimuth angle is greater than the azimuth angle threshold;
[0019] After the segmentation point exists in the curve segment corresponding to the three consecutive trajectory points when the azimuth angle is determined to be greater than the azimuth angle threshold, the method further includes:
[0020] Using a trajectory point located in the middle of three consecutive trajectory points when the azimuth angle is greater than the azimuth angle threshold as the segmentation point;
[0021] Correspondingly, segmenting the trajectory curve according to the segmentation points to obtain multiple segments of trajectory includes:
[0022] The trajectory point located in the middle position is used to segment the trajectory curve to obtain multiple trajectory segments.
[0023] Preferably, determining the radius of the current trajectory segment includes:
[0024] Obtaining the slope and grade of a first connecting line and obtaining the slope and grade of a second connecting line; wherein the first connecting line is a connecting line between a center point of a current track segment and a starting point of the current track segment, and the second connecting line is a connecting line between a center point of the current track segment and an end point of the current track segment;
[0025] Determining the coordinate value of the center point of the current track segment according to the slope and grade of the first connecting line and the slope and grade of the second connecting line;
[0026] The radius of the current trajectory segment is determined according to the coordinate value of the starting point of the current trajectory segment, the coordinate value of the end point, and the coordinate value of the center point of the current trajectory segment.
[0027] Preferably, the smoothing of all the first planned speed values to determine the final planned speed on each trajectory segment comprises:
[0028] Obtaining a speed point corresponding to the starting point and the end point of each trajectory segment; wherein each speed point is represented by the starting point coordinates of each trajectory segment and the corresponding first planned speed value, and the speed value of the speed point corresponding to the end point of the trajectory curve is equal to the speed value of the speed point corresponding to the starting point of the trajectory curve;
[0029] The speed point corresponding to the starting point and the speed point corresponding to the end point of each trajectory segment are smoothed to determine the final planned speed on each trajectory segment.
[0030] Preferably, before controlling the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment, the method further includes:
[0031] Acquire a current driving scene, and acquire a magnitude relationship between a curvature of a current road on which the vehicle is located and a preset curvature in the current driving scene; wherein the driving scene includes at least one of the following: a main road driving scene, a driving scene merging from the main road to a ramp, a ramp driving scene, and a driving scene merging from the ramp to the main road;
[0032] When it is detected that the current driving scene and the size relationship meet the preset requirements, the step of controlling the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment is entered.
[0033] Preferably, when it is detected that the current driving scene and the size relationship meet the preset requirements, the step of controlling the vehicle to drive at the corresponding final planned speed on the road segment represented by each trajectory segment comprises:
[0034] When it is detected that the current driving scene is the ramp driving scene and the curvature of the current road on which the vehicle is located is less than the preset curvature, the step of controlling the vehicle to travel at the corresponding final planned speed on the road segments represented by each of the trajectory segments is entered.
[0035] Preferably, the method further comprises:
[0036] When it is detected that the current driving scene is the main road driving scene, obtaining a second planned speed planned by the trajectory; and controlling the vehicle to travel according to the second planned speed;
[0037] In the case where it is detected that the current driving scene is the driving scene of the vehicle exiting the main road to the ramp or the driving scene of the vehicle exiting the ramp to the main road, if the curvature of the current road on which the vehicle is located is less than the preset curvature, the second planned speed planned by the trajectory is obtained, and the first planned speed and the second planned speed are smoothed to control the vehicle to travel at the processed speed; if the curvature of the current road on which the vehicle is located is greater than or equal to the preset curvature, the vehicle is controlled to travel according to the second planned speed;
[0038] When it is detected that the current driving scene is the ramp driving scene, if the curvature of the current road on which the vehicle is located is greater than or equal to the preset curvature, a second planned speed planned by the trajectory is obtained, and the vehicle driving is controlled according to the second planned speed.
[0039] In order to solve the above technical problems, the present invention further provides a vehicle control device, comprising:
[0040] An acquisition module, used for acquiring a trajectory curve formed by trajectory points;
[0041] A segmentation module, used for segmenting the trajectory curve according to an azimuth angle threshold to obtain multiple segments of trajectory; wherein the azimuth angle threshold is determined by at least a radius of the road, a length of the road and a number of segments;
[0042] A determination module, used to determine a first planned speed of the vehicle on each track segment according to the centrifugal force at the location of the vehicle, the radius of each track segment, and the relationship between the vehicle weight and the speed; wherein the value of the centrifugal force at the location of the vehicle is determined by the friction coefficient between the vehicle and the road, the vehicle weight, and the inclination angle of the road;
[0043] Smoothing processing is used to smooth all the values of the first planned speed to determine the final planned speed on each of the trajectory segments;
[0044] The control module is used to control the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment.
[0045] In order to solve the above technical problems, the present invention further provides a vehicle control device, comprising:
[0046] Memory for storing computer programs;
[0047] A processor is used to implement the steps of the above-mentioned vehicle control method when executing the computer program.
[0048] In order to solve the above technical problem, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above vehicle control method are implemented.
[0049] The vehicle control method provided by the present invention first determines the planned speed of the vehicle on each track segment according to the centrifugal force at the position of the vehicle, the radius of each track segment, the relationship between the vehicle weight and the speed; wherein the value of the centrifugal force at the position of the vehicle is determined by the friction coefficient between the vehicle and the road, the vehicle weight and the inclination angle of the road. It can be seen that the actual situation of the road and the situation of the vehicle itself are taken into consideration, so that the planned vehicle speed is more appropriate, and the driving safety is improved; secondly, the track curve is segmented, and the speed corresponding to each obtained curve segment is smoothed, so that the speed planning accuracy is higher, the planned speed is appropriate, and the stability of the vehicle driving is guaranteed; thirdly, when the track curve is segmented, the track curve is segmented according to the azimuth angle threshold, so that the segmentation of the track curve is more reasonable. Since the radius of the track segment is taken into consideration when determining the planned speed, the speed planning accuracy is higher on the basis of reasonable segmentation, and the safety of vehicle driving is improved.
[0050] In addition, the present invention also provides a vehicle control device, a vehicle control equipment and a computer-readable storage medium, which have the same or corresponding technical features as the above-mentioned vehicle control method and have the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flow chart of a vehicle control method provided by an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of a segmented trajectory curve provided by an embodiment of the present invention;
[0054] Figure 3 A schematic diagram of a vehicle subjected to forces on a road provided by an embodiment of the present invention;
[0055] Figure 4 A schematic diagram of a trajectory curve represented by speed points provided in an embodiment of the present invention;
[0056] Figure 5A schematic diagram of a scenario in which an intelligent driving vehicle is directed to a ramp with a large curvature, provided by an embodiment of the present invention;
[0057] Figure 6 A structural diagram of a vehicle control device provided in another embodiment of the present invention. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0059] The core of the present invention is to provide a vehicle control method, device, equipment and medium to solve the technical problem that the speed is calculated based on the road speed limit or the speed set by the driver, resulting in inappropriate speed control when the vehicle is driving, affecting driving safety.
[0060] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 A flow chart of a vehicle control method provided by an embodiment of the present invention is as follows: Figure 1 As shown, the method includes:
[0061] S10: Acquire a trajectory curve formed by the trajectory points;
[0062] S11: segmenting the trajectory curve according to the azimuth angle threshold to obtain multiple trajectory segments;
[0063] S12: determining a first planned speed of the vehicle on each track segment according to the centrifugal force at the location of the vehicle, the radius of each track segment, and the relationship between the vehicle weight and the speed; wherein the value of the centrifugal force at the location of the vehicle is determined by the friction coefficient between the vehicle and the road, the vehicle weight, and the inclination angle of the road;
[0064] S13: Smoothing all the values of the first planned speeds to determine the final planned speed on each trajectory segment;
[0065] S14: Control the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment.
[0066] The planned trajectory points are obtained from the planning module, and multiple trajectory points form a trajectory curve. There is no limit on the number of selected trajectory points, which is determined according to the actual situation. In order to improve the accuracy and precision of the planned speed, after the trajectory curve is obtained, the trajectory curve is segmented. The user can segment according to the actual situation, but in order to improve the rationality and accuracy of the planned speed, in the embodiment of the present invention, the trajectory curve is segmented according to the azimuth threshold to obtain multiple segments of trajectory.
[0067] Specifically, the trajectory curve is segmented according to the azimuth threshold to obtain multiple segments of trajectory including:
[0068] Obtain the coordinate value of each trajectory point and calculate the azimuth according to the coordinate value of each trajectory point;
[0069] When it is detected that the azimuth angle is greater than the azimuth angle threshold, it is determined that a segmentation point exists in the curve segment corresponding to the target trajectory point; wherein the target trajectory point is the trajectory point corresponding to the calculated azimuth angle being greater than the azimuth angle threshold;
[0070] The trajectory curve is segmented according to the segmentation points to obtain multiple segments of trajectory.
[0071] The azimuth angle threshold is determined by at least the radius of the road, the length of the road and the number of sections. There is no limitation on the azimuth angle threshold, which is determined according to actual conditions.
[0072] In order to segment the entire trajectory curve, in implementation, when it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that there is a segmentation point in the curve segment corresponding to the target trajectory point includes:
[0073] Starting from the first end point of the trajectory curve to the second end point of the trajectory curve, three consecutive trajectory points are selected in sequence to calculate the azimuth;
[0074] In the case where it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that there is a segmentation point in the curve segment corresponding to three consecutive trajectory points when the azimuth angle is greater than the azimuth angle threshold;
[0075] After determining that there is a split point in the curve segment corresponding to three consecutive trajectory points when the azimuth angle is greater than the azimuth angle threshold, it also includes:
[0076] The middle track point among three consecutive track points when the azimuth angle is greater than the azimuth angle threshold is used as the segmentation point;
[0077] Correspondingly, the trajectory curve is segmented according to the segmentation points, and multiple segments of the trajectory are obtained, including:
[0078] The trajectory curve is segmented using the trajectory points located in the middle to obtain multiple trajectory segments.
[0079] In order to facilitate those skilled in the art to better understand the segmentation method of the track curve of the present invention, the segmentation process of the track curve will be further described below.
[0080] 1) Obtain the planned trajectory points (vehicle coordinate system) from the planning module. Assume that there are n points P((x1, y1),...,P(x n ,y n )).
[0081] 2) Traverse the trajectory points P, and use the azimuth calculation formula (as shown in formula (1)) to calculate the azimuth α for every three consecutive points (such as point A, point B, and point C). Set an azimuth threshold. When the calculated azimuth is greater than the azimuth threshold, it is considered that the middle point B of the three points divides the trajectory curve into segments. The setting of the azimuth threshold is very important. Based on the previous test experience of real vehicles on different roads, the threshold is set to 5°. When the first point greater than the threshold is calculated, this point is considered to be the end point of the first curve and the starting point of the second curve. The next point that meets the conditions is the end point of the second curve, until the end point of the trajectory curve is traversed, and all the trajectory segments after the trajectory curve is segmented are obtained.
[0082]
[0083] After the trajectory curve is segmented, in order to obtain the speed corresponding to each trajectory segment, it is necessary to obtain the radius of each trajectory segment. In implementation, determining the radius of the current trajectory segment includes:
[0084] Obtaining the slope and grade of a first connecting line and obtaining the slope and grade of a second connecting line; wherein the first connecting line is a connecting line between a center point of a current track segment and a starting point of the current track segment, and the second connecting line is a connecting line between a center point of the current track segment and an end point of the current track segment;
[0085] Determine the coordinate value of the center point of the current track segment according to the slope and grade of the first connecting line and the slope and grade of the second connecting line;
[0086] The radius of the current track segment is determined according to the coordinate value of the starting point of the current track segment, the coordinate value of the end point and the coordinate value of the center point of the current track segment.
[0087] Specifically, after the trajectory curve is segmented, each curve is defined by the starting point (curvature point PC) and the end point (tangent point PT) of the curve. Figure 2 A schematic diagram of a segmented trajectory curve provided by an embodiment of the present invention, such as Figure 2As shown, the current track segment is the track segment corresponding to PC2 (the starting point of the current track segment or the end point of the previous track segment of the current track segment) to PT2 (the end point of the current track segment or the starting point of the next track segment of the current track segment). The starting point of the previous track segment of the current track segment is PC1, and the end point of the next track segment of the current track segment is PT1.
[0088] First, calculate the center point O(x0, y0) of the curve, take the two curvature points PC1(x1, y1), PC2(x2, y2) and two curve points PT1(x3, y3), PT2(x4, y4) on the curve, and calculate the slopes of the lines O-PC2 and O-OT2 and Then calculate the intercept of the line The center point of the curve can be calculated
[0089] The radius of the curve can be calculated from the center point
[0090] On the basis of obtaining the radius of each track segment, the first planned speed of the vehicle on each track segment is further determined according to the centrifugal force at the location of the vehicle, the radius of each track segment, and the relationship between the vehicle weight and speed.
[0091] Figure 3 A schematic diagram of a vehicle subjected to force on a road provided by an embodiment of the present invention, such as Figure 3 As shown, θ represents the inclination angle of the road, F represents the centrifugal force, N represents the centripetal force, and W represents the gravity.
[0092] The centrifugal force can be expressed as:
[0093]
[0094] m is the mass of the vehicle, which can be provided by the vehicle supplier, v is the planned speed that needs to be calculated, and R is the curve radius calculated above. The centrifugal force and centripetal force can be expressed as:
[0095] F=N·sin(θ)+N·μ·cos(θ), (3)
[0096]
[0097] Where g is the acceleration of gravity, μ is the friction coefficient, and the road inclination angle θ can be given by the high-precision map. The planned speed can be calculated according to formula (2). The formula for the planned speed is shown in formula (5):
[0098]
[0099] According to the above method, the planned speed values of all trajectory segments are obtained. In order to ensure that the vehicle can travel smoothly, all the values of the first planned speed are smoothed. All the values of the first planned speed are smoothed to determine the final planned speed on each trajectory segment, including:
[0100] Obtaining the speed point corresponding to the starting point and the speed point corresponding to the end point of each trajectory segment; wherein each speed point is represented by the starting point coordinates of each trajectory segment and the corresponding first planned speed value, and the speed value of the speed point corresponding to the end point of the trajectory curve is equal to the speed value of the speed point corresponding to the starting point of the trajectory curve;
[0101] The speed points corresponding to the starting point and the end point of each trajectory segment are smoothed to determine the final planned speed on each trajectory segment.
[0102] In order to achieve the effect of stable vehicle control, the speed needs to be smooth. Therefore, the speed points are formed according to the longitudinal coordinates and speed of the starting point of each curve, and the speed is ensured to be smooth through polynomial fitting. The specific method is as follows: Assuming that the trajectory curve is divided into m segments by calculating the azimuth angle, there will be m+1 speed points, such as Figure 4 As shown, Figure 4 A schematic diagram of a trajectory curve represented by speed points provided in an embodiment of the present invention. Four speed points are selected each time for third-order polynomial fitting to obtain the coefficients of the polynomial, that is, each four speed points form a speed curve. After a speed curve is formed by each group of four speed points, the average coefficient of the polynomial is obtained as the coefficient of the final speed curve.
[0103] The speed of the vehicle can be controlled by the speed of trajectory planning, or by the first planned speed obtained by the present invention, or by the speed determined based on the speed of trajectory planning and the first planned speed. In practice, driving scenarios are divided into four categories: driving on the main road, merging from the main road to the ramp, driving on the ramp, and merging from the ramp to the main road. The control system can comprehensively consider the speed of trajectory planning and the speed curve calculated by this technology according to different driving scenarios, and perform selection or smoothing and other processing in different driving scenarios to achieve smooth vehicle control. In implementation, before controlling the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment, it also includes:
[0104] Obtaining a current driving scene, and obtaining a magnitude relationship between a curvature of a current road on which the vehicle is located and a preset curvature in the current driving scene; wherein the driving scene includes at least one of the following: a main road driving scene, a driving scene merging from the main road to a ramp, a ramp driving scene, and a driving scene merging from the ramp to the main road;
[0105] When it is detected that the current driving scene and the size relationship meet the preset requirements, the step of controlling the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment is entered.
[0106] When it is detected that the current driving scene and the size relationship meet the preset requirements, the step of controlling the vehicle to drive at the corresponding final planned speed on the road segment represented by each trajectory segment includes:
[0107] When it is detected that the current driving scene is a ramp driving scene and the curvature of the current road on which the vehicle is located is less than the preset curvature, the step of controlling the vehicle to travel at the corresponding final planned speed on the road segments represented by each trajectory segment is entered.
[0108] There is no limitation on the value of the preset curvature. For example, if the value of the preset curvature is 200 m, that is, the curvature of the current road is less than 200 m, it is considered to be a large curvature ramp. Figure 5 A schematic diagram of a scenario where an intelligent driving vehicle is exported to a large curvature ramp provided by an embodiment of the present invention. The trajectory curve is segmented by calculating the azimuth angle, and the radius of each curve is calculated. The vehicle's driving on the ramp is regarded as circular motion, and the centripetal force and centrifugal force on the vehicle when driving on the ramp are considered, and the speed is calculated by the friction coefficient and the inclination angle of the road.
[0109] The vehicle control method further includes:
[0110] When it is detected that the current driving scene is a main road driving scene, a second planned speed is obtained according to the trajectory planning; and the vehicle driving is controlled according to the second planned speed;
[0111] When it is detected that the current driving scene is a driving scene from the main road to the ramp or from the ramp to the main road, if the curvature of the current road where the vehicle is located is less than the preset curvature, the second planned speed planned by the trajectory is obtained, and the first planned speed and the second planned speed are smoothed, and the vehicle is controlled to travel at the processed speed; if the curvature of the current road where the vehicle is located is greater than or equal to the preset curvature, the vehicle is controlled to travel according to the second planned speed;
[0112] When it is detected that the current driving scene is a ramp driving scene, if the curvature of the current road on which the vehicle is located is greater than or equal to the preset curvature, the second planned speed planned by the trajectory is obtained, and the vehicle driving is controlled according to the second planned speed.
[0113] Specifically, the methods of controlling vehicle speed in various driving scenarios are as follows:
[0114] 1. Intelligent driving vehicles can use trajectory planning to control the speed of the vehicle when driving on the main road;
[0115] 2. When the intelligent driving vehicle is exiting the main road to the ramp, if the calculated curvature radius of the ramp ahead is less than the threshold (the ramp radius can be set to be less than 200m to be considered as a ramp with large curvature), the speed of the trajectory planning and the speed curve suitable for the ramp with large curvature calculated by this technology can be smoothed or filtered to ensure smooth speed switching, so as to smoothly exit from the main road to the ramp with large curvature. If the curvature radius is greater than the threshold, the vehicle can continue to drive at the speed planned by the trajectory;
[0116] 3. In the ramp driving scenario, the intelligent driving vehicle selectively uses the trajectory planning speed or the speed curve calculated by this technology according to the threshold set by the curvature radius;
[0117] 4. When an intelligent driving vehicle exits a ramp and enters the main road, if the speed curve calculated by this technology is used to control the vehicle in a ramp with a curvature radius less than a threshold, the speed curve calculated by this technology and the speed of trajectory planning can be smoothed or filtered to ensure smooth speed switching, so as to smoothly merge from the ramp to the main road. If the speed of trajectory planning is used in a ramp with a curvature radius greater than the threshold, the speed of trajectory planning can continue to be used in this scenario.
[0118] In the method provided by the embodiment of the present invention, the trajectory curve issued by the planning module is segmented by calculating the azimuth, and the radius and length of each curve are calculated. The vehicle driving on the ramp is regarded as a circular motion, and the centripetal force and centrifugal force on the vehicle driving on the ramp are considered. The speed is calculated by the friction coefficient and the inclination angle of the road for use by the control module. The algorithm for calculating the speed segmentation curve considering the influencing factors such as the vehicle's own parameters, road properties, and path curvature can be used to optimize the planned speed. The control system can select or smooth the planned speed, lane speed limit, and the optimized speed calculated by the present invention according to different driving scenarios to achieve smooth vehicle control.
[0119] In the above embodiments, the vehicle control method is described in detail, and the present invention also provides corresponding embodiments of the vehicle control device and the vehicle control equipment. It should be noted that the present invention describes the embodiments of the device part from two perspectives, one is based on the functional module perspective, and the other is based on the hardware perspective.
[0120] A vehicle control device provided by an embodiment of the present invention includes, based on the perspective of functional modules:
[0121] An acquisition module, used for acquiring a trajectory curve formed by trajectory points;
[0122] A segmentation module, used for segmenting the trajectory curve according to an azimuth angle threshold to obtain multiple segments of trajectory; wherein the azimuth angle threshold is determined by at least the radius of the road, the length of the road and the number of segments;
[0123] A determination module, used to determine a first planned speed of the vehicle on each track segment according to the centrifugal force at the location of the vehicle, the radius of each track segment, and the relationship between the vehicle weight and the speed; wherein the value of the centrifugal force at the location of the vehicle is determined by the friction coefficient between the vehicle and the road, the vehicle weight, and the inclination angle of the road;
[0124] Smoothing is used to smooth all the values of the first planned speed to determine the final planned speed on each trajectory segment;
[0125] The control module is used to control the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment.
[0126] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0127] Figure 6 This is a structural diagram of a vehicle control device provided by another embodiment of the present invention. This embodiment is based on the hardware perspective, such as Figure 6 As shown, the vehicle control device includes:
[0128] A memory 20, for storing computer programs;
[0129] The processor 21 is used to implement the steps of the vehicle control method mentioned in the above embodiment when executing the computer program.
[0130] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0131] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the vehicle control method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the above-mentioned vehicle control method, etc.
[0132] In some embodiments, the vehicle control device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power source 25 , and a communication bus 26 .
[0133] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the vehicle control device, and may include more or fewer components than shown in the figure.
[0134] The vehicle control device provided by the embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: a vehicle control method, with the same effect as above.
[0135] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0136] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0137] The computer-readable storage medium provided by the present invention includes the above-mentioned vehicle control method, and the effect is the same as above.
[0138] The above is a detailed introduction to a vehicle control method, device, equipment and medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.
[0139] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A vehicle control method, characterized in that: include: Obtain a trajectory curve formed by trajectory points; The trajectory curve is segmented according to an azimuth angle threshold to obtain multiple segments of trajectory; wherein the azimuth angle threshold is determined by at least a radius of the road, a length of the road and a number of segments; Determining a first planned speed of the vehicle on each track segment according to the centrifugal force at the location of the vehicle, the radius of each track segment, and the relationship between the vehicle weight and the speed; wherein the value of the centrifugal force at the location of the vehicle is determined by the friction coefficient between the vehicle and the road, the vehicle weight, and the inclination angle of the road; Smoothing all the values of the first planned speeds to determine a final planned speed on each of the trajectory segments; The vehicle is controlled to travel at the corresponding final planned speed on the road segment represented by each trajectory segment.
2. The vehicle control method according to claim 1, characterized in that: The segmenting of the trajectory curve according to the azimuth angle threshold to obtain multiple segments of trajectory includes: Obtain the coordinate value of each trajectory point and calculate the azimuth according to the coordinate value of each trajectory point; When it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that a segmentation point exists in the curve segment corresponding to the target trajectory point; wherein the target trajectory point is a trajectory point corresponding to the calculated azimuth angle being greater than the azimuth angle threshold; The trajectory curve is segmented according to the segmentation points to obtain multiple segments of trajectory.
3. The vehicle control method according to claim 2, characterized in that: In the case where it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that there is a segmentation point in the curve segment corresponding to the target trajectory point includes: Starting from the first end point of the trajectory curve to the second end point of the trajectory curve, three consecutive trajectory points are selected in sequence to calculate the azimuth; In the case where it is detected that the azimuth angle is greater than the azimuth angle threshold, determining that there is a segmentation point in the curve segment corresponding to three consecutive trajectory points when the azimuth angle is greater than the azimuth angle threshold; After the segmentation point exists in the curve segment corresponding to the three consecutive trajectory points when the azimuth angle is determined to be greater than the azimuth angle threshold, the method further includes: Using a trajectory point located in the middle of three consecutive trajectory points when the azimuth angle is greater than the azimuth angle threshold as the segmentation point; Correspondingly, segmenting the trajectory curve according to the segmentation points to obtain multiple segments of trajectory includes: The trajectory point located in the middle position is used to segment the trajectory curve to obtain multiple trajectory segments.
4. The vehicle control method according to any one of claims 1 to 3, characterized in that: Determining the radius of the current trajectory segment includes: Obtaining the slope and grade of a first connecting line and obtaining the slope and grade of a second connecting line; wherein the first connecting line is a connecting line between a center point of a current track segment and a starting point of the current track segment, and the second connecting line is a connecting line between a center point of the current track segment and an end point of the current track segment; Determining the coordinate value of the center point of the current track segment according to the slope and grade of the first connecting line and the slope and grade of the second connecting line; The radius of the current trajectory segment is determined according to the coordinate value of the starting point of the current trajectory segment, the coordinate value of the end point, and the coordinate value of the center point of the current trajectory segment.
5. The vehicle control method according to claim 3, characterized in that: The smoothing of all the first planned speed values to determine the final planned speed on each trajectory segment includes: Obtaining a speed point corresponding to the starting point and the end point of each trajectory segment; wherein each speed point is represented by the starting point coordinates of each trajectory segment and the corresponding first planned speed value, and the speed value of the speed point corresponding to the end point of the trajectory curve is equal to the speed value of the speed point corresponding to the starting point of the trajectory curve; The speed point corresponding to the starting point and the speed point corresponding to the end point of each trajectory segment are smoothed to determine the final planned speed on each trajectory segment.
6. The vehicle control method according to claim 1, characterized in that: Before controlling the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment, the method further includes: Acquire a current driving scene, and acquire a magnitude relationship between a curvature of a current road on which the vehicle is located and a preset curvature in the current driving scene; wherein the driving scene includes at least one of the following: a main road driving scene, a driving scene merging from the main road to a ramp, a ramp driving scene, and a driving scene merging from the ramp to the main road; When it is detected that the current driving scene and the size relationship meet the preset requirements, the step of controlling the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment is entered.
7. The vehicle control method according to claim 6, characterized in that: When it is detected that the current driving scene and the size relationship meet the preset requirements, the step of controlling the vehicle to drive at the corresponding final planned speed on the road segment represented by each trajectory segment comprises: When it is detected that the current driving scene is the ramp driving scene and the curvature of the current road on which the vehicle is located is less than the preset curvature, the step of controlling the vehicle to travel at the corresponding final planned speed on the road segments represented by each of the trajectory segments is entered.
8. The vehicle control method according to claim 6, characterized in that: The method further comprises: When it is detected that the current driving scene is the main road driving scene, obtaining a second planned speed planned by the trajectory; and controlling the vehicle to travel according to the second planned speed; In the case where it is detected that the current driving scene is the driving scene of the vehicle exiting the main road to the ramp or the driving scene of the vehicle exiting the ramp to the main road, if the curvature of the current road on which the vehicle is located is less than the preset curvature, the second planned speed planned by the trajectory is obtained, and the first planned speed and the second planned speed are smoothed to control the vehicle to travel at the processed speed; if the curvature of the current road on which the vehicle is located is greater than or equal to the preset curvature, the vehicle is controlled to travel according to the second planned speed; When it is detected that the current driving scene is the ramp driving scene, if the curvature of the current road on which the vehicle is located is greater than or equal to the preset curvature, a second planned speed planned by the trajectory is obtained, and the vehicle driving is controlled according to the second planned speed.
9. A vehicle control device, characterized in that: include: An acquisition module, used for acquiring a trajectory curve formed by trajectory points; A segmentation module, used for segmenting the trajectory curve according to an azimuth angle threshold to obtain multiple segments of trajectory; wherein the azimuth angle threshold is determined by at least a radius of the road, a length of the road and a number of segments; A determination module, used to determine a first planned speed of the vehicle on each track segment according to the centrifugal force at the location of the vehicle, the radius of each track segment, and the relationship between the vehicle weight and the speed; wherein the value of the centrifugal force at the location of the vehicle is determined by the friction coefficient between the vehicle and the road, the vehicle weight, and the inclination angle of the road; Smoothing processing is used to smooth all the values of the first planned speed to determine the final planned speed on each of the trajectory segments; The control module is used to control the vehicle to travel at the corresponding final planned speed on the road segment represented by each trajectory segment.
10. A vehicle control device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the vehicle control method as claimed in any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle control method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Segment-based driver analysis and individualized driver assistance
US12509113B2
Segment-based driver analysis and individualized driver assistance
US20240140481A1
