Vehicle queue transverse and longitudinal combined control method and device, electronic equipment and storage medium
By obtaining the road curvature and planning vehicle trajectory points, and adjusting the speed and heading of the vehicle queue, the problem of unreasonable vehicle queue control on curved roads in the existing technology is solved, and a safe, energy-saving, and comfortable queue driving effect is achieved.
Patent Information
- Application Number
- CN202410644717.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing vehicle platoon control algorithms are difficult to effectively consider the coupling relationship between longitudinal and lateral control on curved roads, causing vehicles to turn early and increasing safety risks.
By obtaining the curvature of the road curve, the traveling speed and trajectory points of the leading vehicle are planned, and the speed and heading of the vehicle are adjusted based on these trajectory points and the fleet formation to ensure that the vehicle queue is safe, energy-saving and comfortable driving on the curved road.
It achieves high-precision, robust, and quick-response control of vehicle queues on curved roads, improves followability and safety, and avoids the risk of early turns.
Smart Images

Figure CN118625804A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a method, device, electronic equipment and storage medium for combined horizontal and vertical control of a vehicle queue. Background Art
[0002] With the development of intelligent driving technology and communication technology, platooning of autonomous vehicles (AVs) with vehicle-to-vehicle (V2V) communication capabilities has attracted much attention because it can effectively improve traffic efficiency. Vehicle platoon control enables vehicles to drive safely at a smaller distance, increase traffic density, and reduce the occurrence of traffic accidents. At the same time, smaller vehicle spacing means reduced air resistance, thereby improving energy efficiency and reducing greenhouse gas emissions. Opportunities and challenges coexist. How to design a high-precision, robust, and fast-response control system to achieve safe, energy-saving, and comfortable platooning is a problem that needs to be studied and solved.
[0003] At present, most of the vehicle platoon control algorithms focus on the longitudinal control of vehicle platoons on straight roads. However, in reality, there are a large number of curved roads, which require the longitudinal and lateral control of vehicle platoons at the same time. Among the few vehicle platoon longitudinal and lateral control algorithms, some use independent longitudinal control algorithms and lateral control algorithms. This method cannot well consider the coupling relationship between the vehicle longitudinal and lateral control systems, and there is a common problem of the following vehicle turning in advance during the curved path driving process, which will bring great safety risks to the vehicle platoon system.
[0004] Based on this, it is necessary to develop and design a vehicle queue horizontal and vertical joint control method. Summary of the invention
[0005] The embodiments of the present invention provide a method, device, electronic device and storage medium for combined lateral and longitudinal control of a vehicle queue, which are used to solve the problem in the prior art that unreasonable lateral and longitudinal control of a vehicle queue leads to premature turning when driving on a curved path.
[0006] In a first aspect, an embodiment of the present invention provides a method for combining lateral and longitudinal control of a vehicle queue, comprising:
[0007] Get road curve;
[0008] Planning the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and planning a plurality of trajectory points of the lead vehicle based on the travel speed, wherein each trajectory point corresponds to a time node;
[0009] Planning a convoy formation according to the road curve and each trajectory point, thereby obtaining a plurality of convoy formations, wherein each convoy formation corresponds to a time node;
[0010] A driving trajectory of each vehicle is extracted from the plurality of vehicle convoy formations, and a speed and a heading of each vehicle are controlled based on the driving trajectory.
[0011] In a possible implementation, planning the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and planning a plurality of trajectory points of the lead vehicle based on the travel speed, includes:
[0012] Constructing a curvature data set according to the road curve, wherein the curvature data set represents the curvature of a plurality of points of the road curve;
[0013] Constructing a first speed data set according to the curvature data set, and adjusting the first speed data set by means of speed correction and acceleration correction to obtain a second speed curve set, wherein the second speed curve set represents a curve of the traveling speed of the lead vehicle on the road;
[0014] The trajectory points of the lead vehicle at multiple time nodes are extracted according to the second speed curve set.
[0015] In a possible implementation manner, constructing a curvature dataset according to the road curve includes:
[0016] Get the coordinate step length;
[0017] Extracting a plurality of node coordinates at equal coordinate intervals from the road curve using the coordinate step length;
[0018] A plurality of node curvatures are extracted according to a first formula and the plurality of node coordinates, wherein each node curvature corresponds to a node coordinate, and the first formula is:
[0019]
[0020] Where CVT(k) is the curvature of the kth node, y k is the kth node, Δx is the coordinate step length;
[0021] According to the positions of the plurality of node coordinates on the road curve, constructing the plurality of node curvatures into a curvature data set;
[0022] The step of constructing a first velocity data set according to the curvature data set, and adjusting the first velocity data set by means of velocity correction and acceleration correction to obtain a second velocity curve set includes:
[0023] traversally extracting node curvatures from the curvature data set as node curvatures to be processed;
[0024] The node velocity is determined according to the second formula and the curvature of the node to be processed, wherein the second formula is:
[0025]
[0026] In the formula, k v is the velocity coefficient, c v is the velocity margin constant, VCT(k) is the velocity of the kth node;
[0027] According to the position of the node to be processed in the curvature data set, adding the node velocity to the first velocity data set;
[0028] If the traversal of the curvature data set is not completed, jump to the step of traversally extracting the node curvature from the curvature data set as the node curvature to be processed;
[0029] Extracting node speeds from the first speed data set in sequence as speeds to be checked;
[0030] When the speed to be checked is greater than the preset speed and / or the acceleration value corresponding to the speed to be checked is greater than the acceleration threshold, the speed value of the speed to be checked is adjusted so that the adjusted speed to be checked is less than the preset speed and the corresponding acceleration value is less than the acceleration threshold;
[0031] If the traversal of the first speed data set is not completed, jump to extracting node speeds from the first speed data set in sequence as speeds to be checked;
[0032] Otherwise, the first speed data set is used as the second speed data set.
[0033] In a possible implementation, extracting the trajectory points of the lead vehicle at multiple time nodes according to the second speed curve set includes:
[0034] Get multiple time nodes;
[0035] Sequentially taking out time nodes from the multiple time nodes as traversal time nodes;
[0036] Sequentially taking out node speeds from the second speed curve set as speeds to be processed;
[0037] Extracting the node coordinates corresponding to the speed to be processed as the coordinates to be processed;
[0038] The accumulated duration is determined according to a third formula, the speed to be processed and the coordinates to be processed, wherein the third formula is:
[0039]
[0040] In the formula, t(k) is the cumulative duration of the kth node, Δt(k) is the duration of the kth node, and yk is the y coordinate of the coordinate to be processed, x k is the x-coordinate of the coordinate to be processed, VCT(k) is the velocity to be processed;
[0041] If the accumulated duration is less than the traversal time node, the process jumps to the step of sequentially extracting node speeds from the second speed curve set as speeds to be processed;
[0042] Using the coordinates to be processed as the trajectory points of the traversal time nodes;
[0043] If the traversal of the multiple time nodes is not completed, jump to the step of sequentially taking out time nodes from the multiple time nodes as the step of traversing the time nodes.
[0044] In a possible implementation, planning a convoy formation according to the road curve and each trajectory point to obtain multiple convoy formations includes:
[0045] From the plurality of trajectory points, trajectory points are sequentially taken as trajectory points to be processed, and the following steps are performed after each taking:
[0046] Extracting the speed of the trajectory point to be processed, and obtaining the vehicle fleet spacing according to the speed of the trajectory point to be processed, wherein the vehicle fleet spacing is the spacing between two adjacent vehicles;
[0047] Starting with the to-be-processed trajectory point, a plurality of points are obtained on the road curve along the opposite direction of the convoy's travel and the same distance as the convoy's distance, as a plurality of first formation points;
[0048] Determine a plurality of convoy speeds according to the plurality of first formation points and a plurality of formation points at a previous time node, wherein each convoy speed corresponds to a vehicle;
[0049] Obtaining the speed corresponding to the curvature of the road curve position where each first formation point is located as the warning speed, thereby obtaining multiple warning speeds;
[0050] If there is a convoy speed exceeding the warning speed among the multiple convoy speeds, the multiple convoy speeds are adjusted according to the multiple warning speeds, and the multiple first formation points are adjusted according to the adjusted multiple convoy speeds, and after the adjustment is completed, the step of determining multiple convoy speeds according to the multiple first formation points and the multiple formation points at the previous time node is jumped to;
[0051] Otherwise, a convoy formation is constructed according to the multiple first formation points.
[0052] In a possible implementation, extracting the driving trajectory of each vehicle from the plurality of vehicle fleet formations and controlling the speed and heading of each vehicle based on the driving trajectory includes:
[0053] For each vehicle, extracting driving trajectory points from the multiple vehicle fleet formations to construct a driving trajectory;
[0054] Selecting a trajectory point closest to the current position from the driving trajectory as a target trajectory point;
[0055] Determine a target heading angle and a target speed according to the current position, the current time, the target trajectory point and the time node of the target trajectory point;
[0056] Determine a heading angle deviation according to the target heading angle and the actual heading angle;
[0057] determining a speed deviation according to the target speed and the actual speed;
[0058] The speed and heading of the vehicle are controlled according to the heading angle deviation and the speed deviation.
[0059] In a possible implementation, controlling the speed and heading of the vehicle according to the heading angle deviation and the speed deviation includes:
[0060] The speed and heading of the vehicle are controlled according to a fourth formula, the heading angle deviation and the speed deviation, wherein the fourth formula is:
[0061]
[0062] Wherein, w1, w2, w3, w4, w5 and w6 are the first coefficient, the second coefficient, the third coefficient, the fourth coefficient, the fifth coefficient and the sixth coefficient respectively, Steer is the heading indication signal, Acc is the speed indication signal, Δα is the heading angle deviation, and Δv is the speed deviation.
[0063] In a second aspect, an embodiment of the present invention provides a vehicle queue horizontal and vertical joint control device, which is used to implement the vehicle queue horizontal and vertical joint control method described in the first aspect or any possible implementation of the first aspect, and the vehicle queue horizontal and vertical joint control device includes:
[0064] A road curve acquisition module, used for acquiring a road curve;
[0065] A trajectory planning module, used to plan the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and plan multiple trajectory points of the lead vehicle based on the travel speed, wherein each trajectory point corresponds to a time node;
[0066] A convoy formation planning module, used for planning the convoy formation according to the road curve and each trajectory point, so as to obtain multiple convoy formations, wherein each convoy formation corresponds to a time node;
[0067] as well as,
[0068] The vehicle control module is used to extract the driving trajectory of each vehicle from the multiple vehicle fleet formations and control the speed and heading of each vehicle based on the driving trajectory.
[0069] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the steps of the method described in the first aspect or any possible implementation method of the first aspect.
[0070] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation of the first aspect are implemented.
[0071] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0072] The embodiment of the present invention discloses a method for joint horizontal and vertical control of a vehicle queue, which first obtains a road curve; then plans the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and plans multiple trajectory points of the lead vehicle based on the travel speed, wherein each trajectory point corresponds to a time node; then plans the convoy formation according to the road curve and each trajectory point, thereby obtaining multiple convoy formations, wherein each convoy formation corresponds to a time node; finally, extracts the driving trajectory of each vehicle from the multiple convoy formations, and controls the speed and heading of each vehicle based on the driving trajectory. The embodiment of the present invention plans a driving trajectory for each vehicle based on the trajectory of the lead vehicle and the convoy formation. These driving trajectories fully consider the adaptability of the vehicle speed and direction to the road curve and the distance between vehicles, and simultaneously regulate the vehicle speed and heading. Therefore, the vehicle has good followability to the road curve, the safety adaptation of the vehicle speed to the road curve, and the safety adaptation of the distance between vehicles, which is safer than the independent longitudinal control and lateral control methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 labor.
[0074] Figure 1 is a flow chart of a method for combining horizontal and vertical control of a vehicle queue provided by an embodiment of the present invention;
[0075] Figure 2 This is an application scenario diagram of the vehicle queue horizontal and vertical joint control method provided by the embodiment of the present invention;
[0076] Figure 3 It is a principle diagram of a process for obtaining a heading angle deviation and a speed deviation provided by an embodiment of the present invention;
[0077] Figure 4 It is a functional block diagram of a vehicle queue horizontal and vertical joint control device provided by an embodiment of the present invention;
[0078] Figure 5 It is a functional block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0079] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present invention with unnecessary details.
[0080] In order to make the purpose, technical solutions and advantages of the present invention more clear, a specific implementation method will be described below in conjunction with the accompanying drawings.
[0081] The following is a detailed description of an embodiment of the present invention. This example is implemented based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0082] Figure 1 Flow chart of the method for combined horizontal and vertical control of a vehicle queue provided in an embodiment of the present invention.
[0083] like Figure 1 As shown, it shows a flow chart of the implementation of the vehicle queue horizontal and vertical joint control method provided by an embodiment of the present invention, which is described in detail as follows:
[0084] In step 101 , a road curve is obtained.
[0085] In step 102, the travel speed of the lead vehicle on the road curve is planned according to the curvature of the road curve, and a plurality of trajectory points of the lead vehicle are planned based on the travel speed, wherein each trajectory point corresponds to a time node.
[0086] In some implementations, step 102 includes:
[0087] Constructing a curvature data set according to the road curve, wherein the curvature data set represents the curvature of a plurality of points of the road curve;
[0088] Constructing a first speed data set according to the curvature data set, and adjusting the first speed data set by means of speed correction and acceleration correction to obtain a second speed curve set, wherein the second speed curve set represents a curve of the traveling speed of the lead vehicle on the road;
[0089] The trajectory points of the lead vehicle at multiple time nodes are extracted according to the second speed curve set.
[0090] In some implementations, constructing a curvature dataset according to the road curve includes:
[0091] Get the coordinate step length;
[0092] Extracting a plurality of node coordinates at equal coordinate intervals from the road curve using the coordinate step length;
[0093] A plurality of node curvatures are extracted according to a first formula and the plurality of node coordinates, wherein each node curvature corresponds to a node coordinate, and the first formula is:
[0094]
[0095] Where CVT(k) is the curvature of the kth node, y k is the kth node, Δx is the coordinate step length;
[0096] According to the positions of the plurality of node coordinates on the road curve, constructing the plurality of node curvatures into a curvature data set;
[0097] The step of constructing a first velocity data set according to the curvature data set, and adjusting the first velocity data set by means of velocity correction and acceleration correction to obtain a second velocity curve set includes:
[0098] traversally extracting node curvatures from the curvature data set as node curvatures to be processed;
[0099] The node velocity is determined according to the second formula and the curvature of the node to be processed, wherein the second formula is:
[0100]
[0101] In the formula, k v is the velocity coefficient, c v is the velocity margin constant, VCT(k) is the velocity of the kth node;
[0102] According to the position of the node to be processed in the curvature data set, adding the node velocity to the first velocity data set;
[0103] If the traversal of the curvature data set is not completed, jump to the step of traversally extracting the node curvature from the curvature data set as the node curvature to be processed;
[0104] Extracting node speeds from the first speed data set in sequence as speeds to be checked;
[0105] When the speed to be checked is greater than the preset speed and / or the acceleration value corresponding to the speed to be checked is greater than the acceleration threshold, the speed value of the speed to be checked is adjusted so that the adjusted speed to be checked is less than the preset speed and the corresponding acceleration value is less than the acceleration threshold;
[0106] If the traversal of the first speed data set is not completed, jump to extracting node speeds from the first speed data set in sequence as speeds to be checked;
[0107] Otherwise, the first speed data set is used as the second speed data set.
[0108] In some implementations, extracting the trajectory points of the lead vehicle at multiple time nodes according to the second speed curve set includes:
[0109] Get multiple time nodes;
[0110] Sequentially taking out time nodes from the multiple time nodes as traversal time nodes;
[0111] Sequentially taking out node speeds from the second speed curve set as speeds to be processed;
[0112] Extracting the node coordinates corresponding to the speed to be processed as the coordinates to be processed;
[0113] The accumulated duration is determined according to a third formula, the speed to be processed and the coordinates to be processed, wherein the third formula is:
[0114]
[0115] In the formula, t(k) is the cumulative duration of the kth node, Δt(k) is the duration of the kth node, and y k is the y coordinate of the coordinate to be processed, x k is the x-coordinate of the coordinate to be processed, VCT(k) is the velocity to be processed;
[0116] If the accumulated duration is less than the traversal time node, the process jumps to the step of sequentially extracting node speeds from the second speed curve set as speeds to be processed;
[0117] Using the coordinates to be processed as the trajectory points of the traversal time nodes;
[0118] If the traversal of the multiple time nodes is not completed, jump to the step of sequentially taking out time nodes from the multiple time nodes as the step of traversing the time nodes.
[0119] For example, Figure 2 As shown, it shows a schematic diagram of a vehicle platoon moving on a curved road. The vehicle platoon is led by a head vehicle 202, which guides other vehicles 203 in the platoon to move along the road 201. Other vehicles 203 should maintain a reasonable distance from each other and from the head vehicle 202 to ensure the safety of the movement. In addition, since a moving platoon is formed, the line shape of the platoon should conform to the curve of the road. As mentioned above, some vehicle platoon control methods use independent longitudinal control and lateral control, which makes the curve following performance poor, and since the two directions of the vehicle are coupled to each other, the control of vehicle speed and vehicle spacing is not good.
[0120] The implementation method of the present invention proposes an improved horizontal and vertical joint control method, the starting point of which is to plan the speed of the lead vehicle on the road curve according to the road curve, and plan the trajectory points that are adapted to the road curve based on the speed. Note that these trajectory points are trajectory points with time nodes (the time points of arriving at these trajectory points). Based on the trajectory points of the lead vehicle, the convoy formations at different time nodes are planned, and finally, the speed and heading of each vehicle are adjusted based on the time nodes and the position in the formation. We can see that the implementation method of the present invention plans the driving trajectory for each vehicle based on the trajectory of the lead vehicle and the convoy formation. These driving trajectories fully consider the adaptability of the speed and direction to the road curve and the distance between vehicles, and simultaneously regulate the speed and heading. Therefore, the following performance of the road curve is good, the speed is safely adapted to the road curve, and the safe distance between vehicles is well adapted, which is safer than the independent longitudinal control and lateral control methods.
[0121] To achieve the above objectives, the implementation mode of the present invention plans the theoretical driving speed of the lead vehicle on the road curve according to the curvature of the road curve after acquiring the road curve, then corrects the theoretical driving speed based on the traveling speed and the acceleration capability of the vehicle, and finally plans multiple trajectory points of the lead vehicle according to the corrected driving speed.
[0122] In determining the curvature of a road curve, the embodiment of the present invention sets a plurality of node coordinates of the road curve at equal coordinate intervals, and extracts the curvature of these node coordinates based on these node coordinates using a first formula, the first formula being:
[0123]
[0124] Where CVT(k) is the curvature of the kth node, y k is the kth node, and Δx is the coordinate step length.
[0125] According to the direction of the road, these curvatures are constructed into a curvature data set. Then, based on this curvature data set, the second formula is used to determine the theoretical speed of passing through these node coordinates:
[0126]
[0127] In the formula, k v is the velocity coefficient, c v is the velocity margin constant, and VCT(k) is the velocity of the kth node.
[0128] On a relatively straight road (road with small curvature), the speed calculated according to the second formula may be a larger value. In addition, for some speed settings that change from a curved section to a straight section, the speed calculated according to the second formula may have a large jump, and this speed jump may exceed the actual acceleration capability of the vehicle. In other words, the speed calculated according to the road curvature may have risks in terms of speed and acceleration. Therefore, the implementation method of the present invention starts from the direction of travel and performs a speed check on the node speed obtained by the second formula. When the speed exceeds the preset speed or the acceleration exceeds the acceleration threshold, the node speed is adjusted and replaced, and the adjusted and replaced speed is aggregated into the second speed data set.
[0129] After obtaining the second data set, for each node coordinate, a node duration from the previous node coordinate to the current node coordinate can be obtained, and these durations are accumulated to obtain the cumulative duration to reach the current node coordinate. The above process is calculated using the third formula:
[0130]
[0131] In the formula, t(k) is the cumulative duration of the kth node, Δt(k) is the duration of the kth node, and y k is the y coordinate of the coordinate to be processed, x k is the x-coordinate of the coordinate to be processed, and VCT(k) is the speed to be processed.
[0132] The node coordinates corresponding to multiple time nodes can be obtained in the above manner. These node coordinates are sorted in sequence according to the travel direction of the lead vehicle to obtain the trajectory points of the lead vehicle.
[0133] In step 103, a convoy formation is planned according to the road curve and each trajectory point, thereby obtaining a plurality of convoy formations, wherein each convoy formation corresponds to a time node.
[0134] In some implementations, step 103 includes:
[0135] From the plurality of trajectory points, trajectory points are sequentially taken as trajectory points to be processed, and the following steps are performed after each taking:
[0136] Extracting the speed of the trajectory point to be processed, and obtaining the vehicle fleet spacing according to the speed of the trajectory point to be processed, wherein the vehicle fleet spacing is the spacing between two adjacent vehicles;
[0137] Starting with the to-be-processed trajectory point, a plurality of points are obtained on the road curve along the opposite direction of the convoy's travel and the same distance as the convoy's distance, as a plurality of first formation points;
[0138] Determine a plurality of convoy speeds according to the plurality of first formation points and a plurality of formation points at a previous time node, wherein each convoy speed corresponds to a vehicle;
[0139] Obtaining the speed corresponding to the curvature of the road curve position where each first formation point is located as the warning speed, thereby obtaining multiple warning speeds;
[0140] If there is a convoy speed exceeding the warning speed among the multiple convoy speeds, the multiple convoy speeds are adjusted according to the multiple warning speeds, and the multiple first formation points are adjusted according to the adjusted multiple convoy speeds, and after the adjustment is completed, the step of determining multiple convoy speeds according to the multiple first formation points and the multiple formation points at the previous time node is jumped to;
[0141] Otherwise, a convoy formation is constructed according to the multiple first formation points.
[0142] Exemplarily, the formation of the convoy is headed by the position of the lead vehicle, and is arranged in sequence according to the road curve and safe driving distance. Therefore, the implementation manner of the present invention first sets a distance based on the speed of the lead vehicle according to the coordinates of the lead vehicle at different time nodes, and sets a convoy formation point that conforms to the road curve based on this distance. At this time, some vehicles may be located at a position with a large road curvature. Therefore, the implementation manner of the present invention performs curvature analysis on the formation points of the convoy, and based on the results of the curvature analysis, gives the warning speed of each point, and obtains the convoy speed by performing speed analysis on the current convoy formation point relative to the previous convoy formation point. When the convoy speed is higher than the warning speed, the convoy speed that exceeds the warning speed is adjusted, and based on the adjusted speed, the convoy points are adjusted to obtain a convoy formation point that follows the lead vehicle, conforms to the road curve, and has a travel speed that conforms to the curvature of the vehicle point, and the convoy formation is constructed according to these points.
[0143] In step 104, the driving trajectory of each vehicle is extracted from the plurality of vehicle convoy formations, and the speed and heading of each vehicle are controlled based on the driving trajectory.
[0144] In some implementations, step 104 includes:
[0145] For each vehicle, extracting driving trajectory points from the multiple vehicle fleet formations to construct a driving trajectory;
[0146] Selecting a trajectory point closest to the current position from the driving trajectory as a target trajectory point;
[0147] Determine a target heading angle and a target speed according to the current position, the current time, the target trajectory point and the time node of the target trajectory point;
[0148] Determine a heading angle deviation according to the target heading angle and the actual heading angle;
[0149] determining a speed deviation according to the target speed and the actual speed;
[0150] The speed and heading of the vehicle are controlled according to the heading angle deviation and the speed deviation.
[0151] In some implementations, controlling the speed and heading of the vehicle according to the heading angle deviation and the speed deviation includes:
[0152] The speed and heading of the vehicle are controlled according to a fourth formula, the heading angle deviation and the speed deviation, wherein the fourth formula is:
[0153]
[0154] Wherein, w1, w2, w3, w4, w5 and w6 are the first coefficient, the second coefficient, the third coefficient, the fourth coefficient, the fifth coefficient and the sixth coefficient respectively, Steer is the heading indication signal, Acc is the speed indication signal, Δα is the heading angle deviation, and Δv is the speed deviation.
[0155] For example, Figure 3 As shown, an implementation mode of the present invention is to extract the position of the same vehicle 203 from multiple convoy formations (one convoy formation corresponds to one time node) to construct a driving trajectory of the vehicle. In other words, this driving trajectory is the node coordinates corresponding to multiple time points, these node coordinates 302 conform to the road curve 301, and each node coordinate 302 corresponds to a time node.
[0156] When the vehicle is moving, it should strictly abide by the time point of reaching the node coordinates, otherwise there is a risk of changes in the distance between the convoys and even collisions, and it is necessary to strictly abide by the road curve. Therefore, the implementation method of the present invention finds the node coordinates closest to the forward direction based on the current position of the vehicle (the trajectory point closest to the current position), and the target distance and target heading angle can be obtained based on the current position and the node coordinates closest to the forward direction. The target time difference is calculated based on the current moment and the time node, and the target vehicle speed is obtained based on the target time difference and the target distance. The difference between the target heading angle and the actual heading angle of the current vehicle is the heading angle deviation Δα, and the difference between the target vehicle speed vs and the actual vehicle speed vp of the current vehicle is the speed deviation. The vehicle speed and heading angle deviation are regulated respectively, and efforts are made to make them consistent with the target vehicle speed and the target heading angle, so as to ensure that the predetermined node coordinates are reached at the predetermined time node. The implementation method of the present invention uses the fourth formula to regulate the speed and heading of the vehicle:
[0157]
[0158] Wherein, w1, w2, w3, w4, w5 and w6 are the first coefficient, the second coefficient, the third coefficient, the fourth coefficient, the fifth coefficient and the sixth coefficient respectively, Steer is the heading indication signal, Acc is the speed indication signal, Δα is the heading angle deviation, and Δv is the speed deviation.
[0159] The implementation method of the vehicle platoon joint control method of the present invention first obtains the road curve; then plans the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and plans multiple trajectory points of the lead vehicle based on the travel speed, wherein each trajectory point corresponds to a time node; then plans the convoy formation according to the road curve and each trajectory point, thereby obtaining multiple convoy formations, wherein each convoy formation corresponds to a time node; finally, extracts the driving trajectory of each vehicle from the multiple convoy formations, and controls the speed and heading of each vehicle based on the driving trajectory. The implementation method of the present invention plans the driving trajectory for each vehicle based on the trajectory of the lead vehicle and the convoy formation. These driving trajectories fully consider the adaptability of the vehicle speed and direction to the road curve and the distance between vehicles, and simultaneously regulate the vehicle speed and heading. Therefore, the following performance of the road curve is good, the vehicle speed is safely adapted to the road curve, and the safe distance between vehicles is well adapted, which is safer than the independent longitudinal control and lateral control methods.
[0160] It should be understood that the size of the serial numbers of the steps in the above implementation does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation method of the present invention.
[0161] The following is an implementation of the device of the present invention. For details not described in detail, reference may be made to the corresponding method implementation described above.
[0162] Figure 4 is a functional block diagram of a vehicle queue horizontal and vertical joint control device provided by an embodiment of the present invention, referring to Figure 4 The vehicle platoon horizontal and vertical joint control device comprises: a road curve acquisition module 401, a trajectory planning module 402, a platoon formation planning module 403 and a vehicle control module 404, wherein:
[0163] A road curve acquisition module 401 is used to acquire a road curve;
[0164] A trajectory planning module 402, configured to plan a travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and plan a plurality of trajectory points of the lead vehicle based on the travel speed, wherein each trajectory point corresponds to a time node;
[0165] A convoy formation planning module 403, used to plan a convoy formation according to the road curve and each trajectory point, so as to obtain a plurality of convoy formations, wherein each convoy formation corresponds to a time node;
[0166] The vehicle control module 404 is used to extract the driving trajectory of each vehicle from the multiple vehicle fleet formations, and control the speed and heading of each vehicle based on the driving trajectory.
[0167] Figure 5 is a functional block diagram of an electronic device provided by an embodiment of the present invention. Figure 5 As shown, the electronic device 5 of this embodiment includes: a processor 500 and a memory 501, wherein the memory 501 stores a computer program 502 that can be run on the processor 500. When the processor 500 executes the computer program 502, the steps in the above-mentioned vehicle queue horizontal and vertical joint control methods and embodiments are implemented, such as Figure 1 Steps 101 to 104 are shown.
[0168] Exemplarily, the computer program 502 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 501 and executed by the processor 500 to implement the present invention.
[0169] The electronic device 5 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 5 may include, but is not limited to, a processor 500 and a memory 501. Those skilled in the art will appreciate that Figure 5 It is only an example of the electronic device 5 and does not constitute a limitation of the electronic device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 5 may also include input and output devices, network access devices, buses, etc.
[0170] The processor 500 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0171] The memory 501 may be an internal storage unit of the electronic device 5, such as a hard disk or memory of the electronic device 5. The memory 501 may also be an external storage device of the electronic device 5, such as a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 5. Further, the memory 501 may also include both an internal storage unit of the electronic device 5 and an external storage device. The memory 501 is used to store the computer program 502 and other programs and data required by the electronic device 5. The memory 501 may also be used to temporarily store data that has been output or is to be output.
[0172] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method implementation method, which will not be repeated here.
[0173] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0174] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0175] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0177] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0178] If the integrated module / unit 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 present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various methods and device implementation methods can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0179] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for combined horizontal and vertical control of a vehicle queue, characterized in that: include: Get road curve; Planning the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and planning a plurality of trajectory points of the lead vehicle based on the travel speed, wherein each trajectory point corresponds to a time node; Planning a convoy formation according to the road curve and each trajectory point, thereby obtaining a plurality of convoy formations, wherein each convoy formation corresponds to a time node; A driving trajectory of each vehicle is extracted from the plurality of vehicle convoy formations, and a speed and a heading of each vehicle are controlled based on the driving trajectory.
2. The vehicle platoon horizontal and vertical joint control method according to claim 1, characterized in that: The step of planning the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and planning a plurality of trajectory points of the lead vehicle based on the travel speed, comprises: Constructing a curvature data set according to the road curve, wherein the curvature data set represents the curvature of a plurality of points of the road curve; Constructing a first speed data set according to the curvature data set, and adjusting the first speed data set by means of speed correction and acceleration correction to obtain a second speed curve set, wherein the second speed curve set represents a curve of the traveling speed of the lead vehicle on the road; The trajectory points of the lead vehicle at multiple time nodes are extracted according to the second speed curve set.
3. The vehicle platoon horizontal and vertical joint control method according to claim 2 is characterized in that: The step of constructing a curvature data set according to the road curve comprises: Get the coordinate step length; Extracting a plurality of node coordinates at equal coordinate intervals from the road curve using the coordinate step length; A plurality of node curvatures are extracted according to a first formula and the plurality of node coordinates, wherein each node curvature corresponds to a node coordinate, and the first formula is: Where CVT(k) is the curvature of the kth node, y k is the kth node, Δx is the coordinate step length; According to the positions of the plurality of node coordinates on the road curve, constructing the plurality of node curvatures into a curvature data set; The step of constructing a first velocity data set according to the curvature data set, and adjusting the first velocity data set by means of velocity correction and acceleration correction to obtain a second velocity curve set includes: traversally extracting node curvatures from the curvature data set as node curvatures to be processed; The node velocity is determined according to the second formula and the curvature of the node to be processed, wherein the second formula is: In the formula, k v is the velocity coefficient, c v is the velocity margin constant, VCT(k) is the velocity of the kth node; According to the position of the node to be processed in the curvature data set, adding the node velocity to the first velocity data set; If the traversal of the curvature data set is not completed, jump to the step of traversally extracting the node curvature from the curvature data set as the node curvature to be processed; Extracting node speeds from the first speed data set in sequence as speeds to be checked; When the speed to be checked is greater than the preset speed and / or the acceleration value corresponding to the speed to be checked is greater than the acceleration threshold, the speed value of the speed to be checked is adjusted so that the adjusted speed to be checked is less than the preset speed and the corresponding acceleration value is less than the acceleration threshold; If the traversal of the first speed data set is not completed, jump to extracting node speeds from the first speed data set in sequence as speeds to be checked; Otherwise, the first speed data set is used as the second speed data set.
4. The vehicle platoon horizontal and vertical joint control method according to claim 3 is characterized in that: The step of extracting the trajectory points of the lead vehicle at a plurality of time nodes according to the second speed curve set includes: Get multiple time nodes; Sequentially taking out time nodes from the multiple time nodes as traversal time nodes; Sequentially taking out node speeds from the second speed curve set as speeds to be processed; Extracting the node coordinates corresponding to the speed to be processed as the coordinates to be processed; The accumulated duration is determined according to a third formula, the speed to be processed and the coordinates to be processed, wherein the third formula is: In the formula, t(k) is the cumulative duration of the kth node, Δt(k) is the duration of the kth node, and y k is the y coordinate of the coordinate to be processed, x k is the x-coordinate of the coordinate to be processed, VCT(k) is the velocity to be processed; If the accumulated duration is less than the traversal time node, the process jumps to the step of sequentially extracting node speeds from the second speed curve set as speeds to be processed; Using the coordinates to be processed as the trajectory points of the traversal time nodes; If the traversal of the multiple time nodes is not completed, jump to the step of sequentially taking out time nodes from the multiple time nodes as the step of traversing the time nodes.
5. The vehicle platoon horizontal and vertical joint control method according to claim 1, characterized in that: The planning of the vehicle fleet formation according to the road curve and each trajectory point, thereby obtaining multiple vehicle fleet formations, includes: From the plurality of trajectory points, trajectory points are sequentially taken as trajectory points to be processed, and the following steps are performed after each taking: Extracting the speed of the trajectory point to be processed, and obtaining the vehicle fleet spacing according to the speed of the trajectory point to be processed, wherein the vehicle fleet spacing is the spacing between two adjacent vehicles; Starting with the to-be-processed trajectory point, a plurality of points are obtained on the road curve along the opposite direction of the convoy's travel and the same distance as the convoy's distance, as a plurality of first formation points; Determine a plurality of convoy speeds according to the plurality of first formation points and a plurality of formation points at a previous time node, wherein each convoy speed corresponds to a vehicle; Obtaining the speed corresponding to the curvature of the road curve position where each first formation point is located as the warning speed, thereby obtaining multiple warning speeds; If there is a convoy speed exceeding the warning speed among the multiple convoy speeds, the multiple convoy speeds are adjusted according to the multiple warning speeds, and the multiple first formation points are adjusted according to the adjusted multiple convoy speeds, and after the adjustment is completed, the step of determining multiple convoy speeds according to the multiple first formation points and the multiple formation points at the previous time node is jumped to; Otherwise, a convoy formation is constructed according to the multiple first formation points.
6. The vehicle queue horizontal and vertical joint control method according to any one of claims 1 to 5, characterized in that: The extracting the driving trajectory of each vehicle from the plurality of vehicle fleet formations and controlling the speed and heading of each vehicle based on the driving trajectory comprises: For each vehicle, extracting driving trajectory points from the multiple vehicle fleet formations to construct a driving trajectory; Selecting a trajectory point closest to the current position from the driving trajectory as a target trajectory point; Determine a target heading angle and a target speed according to the current position, the current time, the target trajectory point and the time node of the target trajectory point; Determine a heading angle deviation according to the target heading angle and the actual heading angle; determining a speed deviation according to the target speed and the actual speed; The speed and heading of the vehicle are controlled according to the heading angle deviation and the speed deviation.
7. The vehicle queue horizontal and vertical joint control method according to claim 6, characterized in that: The controlling the speed and heading of the vehicle according to the heading angle deviation and the speed deviation comprises: The speed and heading of the vehicle are controlled according to a fourth formula, the heading angle deviation and the speed deviation, wherein the fourth formula is: Wherein, w1, w2, w3, w4, w5 and w6 are the first coefficient, the second coefficient, the third coefficient, the fourth coefficient, the fifth coefficient and the sixth coefficient respectively, Steer is the heading indication signal, Acc is the speed indication signal, Δα is the heading angle deviation, and Δv is the speed deviation.
8. A vehicle queue horizontal and vertical joint control device, characterized in that: For implementing the method for combining horizontal and vertical control of a vehicle queue as claimed in any one of claims 1 to 7, the device for combining horizontal and vertical control of a vehicle queue comprises: A road curve acquisition module, used for acquiring a road curve; A trajectory planning module, used to plan the travel speed of the lead vehicle on the road curve according to the curvature of the road curve, and plan multiple trajectory points of the lead vehicle based on the travel speed, wherein each trajectory point corresponds to a time node; A convoy formation planning module, used for planning the convoy formation according to the road curve and each trajectory point, so as to obtain multiple convoy formations, wherein each convoy formation corresponds to a time node; as well as, The vehicle control module is used to extract the driving trajectory of each vehicle from the multiple vehicle fleet formations and control the speed and heading of each vehicle based on the driving trajectory.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 7 are implemented.
