A vehicle control method, apparatus, device, and storage medium

By calculating the vehicle's trajectory points and steering angle, the vehicle is controlled in real time to move along the parking path, solving the problem of vehicles deviating from the path during parking and improving parking accuracy and success rate.

CN117261880BActive Publication Date: 2026-11-24CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311392528.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2026-11-24
Estimated Expiration
2043-10-25

Smart Images

  • Figure CN117261880B_ABST
    Figure CN117261880B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle control method, device and equipment and a storage medium, and belongs to the technical field of automatic parking. The method comprises the following steps: determining a to-be-tracked trajectory point of a target vehicle from a parking path according to vehicle position information of the target vehicle and a candidate position of a candidate trajectory point in the parking path, wherein the vehicle position information comprises a front axle position, a rear axle position and vehicle coordinates; determining a first front wheel steering angle and a second front wheel steering angle according to the front axle position, the rear axle position, a vehicle wheelbase and a vehicle speed of the target vehicle, and a to-be-tracked position of the to-be-tracked trajectory point; determining a first coefficient corresponding to the first front wheel steering angle and a second coefficient corresponding to the second front wheel steering angle; determining a target front wheel steering angle of the target vehicle according to the first front wheel steering angle, the first coefficient, the second front wheel steering angle and the second coefficient; and controlling the target vehicle to pass through the to-be-tracked trajectory point according to the target front wheel steering angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automatic parking technology, and more particularly to a vehicle control method, device, equipment, and storage medium. Background Technology

[0002] With the continuous improvement of vehicle automation and intelligence, automatic parking function has gradually become a standard feature in many mid-to-high-end models.

[0003] However, most current research only considers the path planning problem for parking, lacking research on path tracking and steering wheel control during the vehicle's entry into the parking space. Vehicles are highly prone to deviating from the planned path during parking, resulting in low parking accuracy and a high parking failure rate. Summary of the Invention

[0004] This invention provides a vehicle control method, apparatus, device, and storage medium to improve vehicle parking accuracy, thereby increasing the success rate of vehicle parking.

[0005] According to one aspect of the present invention, a vehicle control method is provided, the method comprising:

[0006] Based on the vehicle position information of the target vehicle and the candidate positions of candidate trajectory points in the parking path, the trajectory points to be tracked for the target vehicle are determined from the parking path; wherein, the vehicle position information includes the front axle position, the rear axle position, and the vehicle coordinates;

[0007] Based on the front axle position, rear axle position, target vehicle wheelbase and speed, and the tracking position of the trajectory point to be tracked, the first front wheel steering angle and the second front wheel steering angle are determined respectively.

[0008] Determine the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle;

[0009] The target front wheel steering angle of the target vehicle is determined based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient.

[0010] Based on the target front wheel steering angle, control the target vehicle to pass through the track points to be tracked.

[0011] According to another aspect of the present invention, a vehicle control device is provided, the device comprising:

[0012] The trajectory point determination module is used to determine the trajectory point to be tracked of the target vehicle from the parking path based on the vehicle position information of the target vehicle and the candidate positions of candidate trajectory points in the parking path; wherein, the vehicle position information includes the front axle position, the rear axle position and the vehicle coordinates;

[0013] The steering angle determination module is used to determine the first front wheel steering angle and the second front wheel steering angle based on the front axle position, the rear axle position, the wheelbase and speed of the target vehicle, and the tracking position of the trajectory point to be tracked.

[0014] The coefficient determination module is used to determine the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle.

[0015] The target front wheel steering angle determination module is used to determine the target front wheel steering angle of the target vehicle based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient.

[0016] The target vehicle control module is used to control the target vehicle to pass through the track points based on the target's front wheel steering angle.

[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0018] At least one processor; and

[0019] A memory that is communicatively connected to at least one processor; wherein,

[0020] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the vehicle control method of any embodiment of the present invention.

[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the vehicle control method of any embodiment of the present invention.

[0022] The technical solution of this invention involves determining the target vehicle's trajectory point to be tracked from the parking path based on the target vehicle's position information and the candidate positions of candidate trajectory points in the parking path. The vehicle position information includes the front axle position, rear axle position, and vehicle coordinates. Based on the front axle position, rear axle position, target vehicle wheelbase and speed, and the trajectory point's position to be tracked, a first front wheel steering angle and a second front wheel steering angle are determined. A first coefficient corresponding to the first front wheel steering angle and a second coefficient corresponding to the second front wheel steering angle are determined. Based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient, a target front wheel steering angle for the target vehicle is determined. Based on the target front wheel steering angle, the target vehicle is controlled to pass through the trajectory point to be tracked. The above technical solution determines the target vehicle's tracking trajectory point from the parking path in real time based on the target vehicle's real-time vehicle position information. Then, based on the target vehicle's real-time vehicle position information and the tracking position of the tracking trajectory point, it determines the target vehicle's front wheel steering angle at the current speed and gear. Based on the real-time determined target front wheel steering angle, it controls the target vehicle to pass through the tracking trajectory point, ensuring that the target vehicle always travels accurately along the parking path, improving the vehicle's parking accuracy and thus increasing the success rate of parking.

[0023] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a flowchart of a vehicle control method provided according to Embodiment 1 of the present invention;

[0026] Figure 2A This is a flowchart of a vehicle control method provided according to Embodiment 2 of the present invention;

[0027] Figure 2B This is a relative position diagram of a target vehicle and its parking path at the current moment, provided in Embodiment 2 of the present invention.

[0028] Figure 3 This is a flowchart of a vehicle control method provided according to Embodiment 3 of the present invention;

[0029] Figure 4This is a schematic diagram of the structure of a vehicle control device according to Embodiment 4 of the present invention;

[0030] Figure 5 This is a schematic diagram of the structure of an electronic device that implements the vehicle control method of this invention. Detailed Implementation

[0031] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0032] It should be noted that the terms "objective," "first," and "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0033] Furthermore, it should be noted that the collection, storage, use, processing, transmission, provision, and disclosure of vehicle location information, vehicle wheelbase, target vehicle gear and speed, parking path, and candidate positions of candidate trajectory points in the parking path involved in the technical solution of the present invention all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0034] Example 1

[0035] Figure 1 This is a flowchart of a vehicle control method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations involving vehicle parking control, particularly for controlling the vehicle to track trajectory points along the parking path during the parking process. This method can be executed by a vehicle control device, which can be implemented in hardware and / or software and can be configured in an electronic device, such as a vehicle controller. Figure 1 As shown, the method includes:

[0036] S101. Based on the vehicle position information of the target vehicle and the candidate positions of the candidate trajectory points in the parking path, determine the trajectory points to be tracked for the target vehicle from the parking path; wherein, the vehicle position information includes the front axle position, the rear axle position, and the vehicle coordinates.

[0037] In this context, "target vehicle" refers to the vehicle waiting to be parked. "Vehicle position information" refers to the current position of the target vehicle. "Front axle position" refers to the current position of the target vehicle's front axle center. Similarly, "rear axle position" refers to the current position of the target vehicle's rear axle center. "Vehicle coordinates" refers to the target vehicle's current position in the geodetic coordinate system. "Parking path" refers to the path the target vehicle takes to enter the designated parking position. "Candidate trajectory points" refers to the trajectory points existing within the parking path. "Candidate positions" refers to the positions of the candidate trajectory points. "Tracked trajectory points" refers to the candidate trajectory points that the target vehicle is expected to traverse in the next moment.

[0038] Optionally, for each candidate trajectory point in the parking path, the distance between the candidate trajectory point and the center of the front axle of the target vehicle is determined based on the front axle position of the target vehicle and the candidate position of the candidate trajectory point, and this distance is used as the first interval distance corresponding to the candidate trajectory point; based on the first interval distance corresponding to each candidate trajectory point, the trajectory point to be tracked of the target vehicle is determined from each candidate trajectory point in the parking path.

[0039] The first interval distance refers to the distance between the candidate trajectory point and the front axle center of the target vehicle.

[0040] Specifically, for each candidate trajectory point in the parking path, the distance between the candidate trajectory point and the center of the front axle of the target vehicle is calculated based on the front axle position of the target vehicle and the candidate position of the candidate trajectory point, and this distance is used as the first interval distance corresponding to the candidate trajectory point; the smallest first interval distance is selected from the first interval distances corresponding to each candidate trajectory point as the minimum interval distance; and the candidate trajectory point corresponding to the minimum interval distance is used as the trajectory point to be tracked by the target vehicle.

[0041] Understandably, the distance from the candidate trajectory point in the parking path to the center of the front axle of the target vehicle is used to determine the trajectory point to be tracked for the target vehicle. This takes into account the influence of the center of the front axle of the target vehicle on the heading of the target vehicle, which makes it easier to determine the target front wheel steering angle of the target vehicle more accurately in the future.

[0042] Optionally, for each candidate trajectory point in the parking path, the front axle distance between the candidate trajectory point and the front axle center of the target vehicle is calculated based on the front axle position of the target vehicle and the candidate position of the candidate trajectory point; the rear axle distance between the candidate trajectory point and the rear axle center of the target vehicle is calculated based on the rear axle position of the target vehicle and the candidate position of the candidate trajectory point; the sum of the front axle distance and the rear axle distance is used as the candidate interval distance corresponding to the candidate trajectory point; the smallest candidate interval distance is selected from the candidate interval distances corresponding to each candidate trajectory point; and the candidate trajectory point corresponding to the smallest candidate interval distance is used as the trajectory point to be tracked by the target vehicle.

[0043] Understandably, the target vehicle's trajectory point is determined based on the distances from candidate trajectory points in the parking path to the front axle center of the target vehicle, and the distances from candidate trajectory points to the rear axle center of the target vehicle. This comprehensive consideration of the influence of the target vehicle's front and rear axle centers on the determination of the trajectory point makes the obtained trajectory point more accurate.

[0044] S102. Based on the front axle position, rear axle position, target vehicle wheelbase and speed, and the tracking position of the track point to be tracked, determine the first front wheel steering angle and the second front wheel steering angle respectively.

[0045] Here, the position to be tracked refers to the location of the trajectory point to be tracked. The first front wheel steering angle refers to the front wheel steering angle determined based on the pure tracking algorithm. The second front wheel steering angle refers to the front wheel steering angle determined based on the Stanley algorithm.

[0046] Specifically, the front axle position, rear axle position, target vehicle wheelbase and speed, and the tracking position of the trajectory point to be tracked can be used as input parameters for the steering angle determination model. After processing by the steering angle determination model, the first front wheel steering angle and the second front wheel steering angle are obtained. The algorithms involved in the steering angle determination model include a pure tracking algorithm and the Stanley algorithm.

[0047] S103. Determine the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle.

[0048] Here, the first coefficient refers to the coefficient corresponding to the first front wheel steering angle. Correspondingly, the second coefficient refers to the coefficient corresponding to the second front wheel steering angle.

[0049] Specifically, the coefficient relationship between the first coefficient and the second coefficient can be preset, for example, the sum of the first coefficient and the second coefficient is equal to 1; based on the random algorithm, the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle are determined according to the coefficient relationship.

[0050] S104. Determine the target front wheel steering angle of the target vehicle based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient.

[0051] The target front wheel steering angle refers to the actual front wheel steering angle of the target vehicle at the current moment.

[0052] Specifically, the product between the first right steering angle and the first coefficient can be calculated as the first product; the product between the second front wheel steering angle and the second coefficient can be calculated as the second product; and the sum of the first product and the second product can be used as the target front wheel steering angle of the target vehicle.

[0053] S105. Based on the target front wheel steering angle, control the target vehicle to pass through the track point to be tracked.

[0054] Specifically, based on the target front wheel steering angle, the target vehicle is controlled to pass through the track points to be tracked, so that the target vehicle always travels along the parking path.

[0055] The technical solution of this invention involves determining the target vehicle's trajectory point to be tracked from the parking path based on the target vehicle's position information and the candidate positions of candidate trajectory points in the parking path. The vehicle position information includes the front axle position, rear axle position, and vehicle coordinates. Based on the front axle position, rear axle position, target vehicle wheelbase and speed, and the trajectory point's position to be tracked, a first front wheel steering angle and a second front wheel steering angle are determined. A first coefficient corresponding to the first front wheel steering angle and a second coefficient corresponding to the second front wheel steering angle are determined. Based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient, a target front wheel steering angle for the target vehicle is determined. Based on the target front wheel steering angle, the target vehicle is controlled to pass through the trajectory point to be tracked. The above technical solution determines the target vehicle's tracking trajectory point from the parking path in real time based on the target vehicle's real-time vehicle position information. Then, based on the target vehicle's real-time vehicle position information and the tracking position of the tracking trajectory point, it determines the target vehicle's front wheel steering angle at the current speed and gear. Based on the real-time determined target front wheel steering angle, it controls the target vehicle to pass through the tracking trajectory point, ensuring that the target vehicle always travels accurately along the parking path, improving the vehicle's parking accuracy and thus increasing the success rate of parking.

[0056] Example 2

[0057] Figure 2A This is a flowchart of a vehicle control method provided in Embodiment 2 of the present invention. Figure 2BThis embodiment of the invention provides a relative position diagram of a target vehicle and its parking path at the current moment. Based on the previous embodiment, this embodiment further optimizes the process of "determining the first front wheel steering angle and the second front wheel steering angle based on the front axle position, rear axle position, the target vehicle's wheelbase and speed, and the tracking position of the track point to be tracked," providing an optional implementation scheme. It should be noted that parts not detailed in this embodiment can be referred to in other embodiments. Figure 2A As shown, the method includes:

[0058] S201. Based on the vehicle position information of the target vehicle and the candidate positions of the candidate trajectory points in the parking path, determine the trajectory points to be tracked for the target vehicle from the parking path; wherein, the vehicle position information includes the front axle position, the rear axle position, and the vehicle coordinates.

[0059] In this context, "target vehicle" refers to the vehicle waiting to be parked. "Vehicle position information" refers to the current position of the target vehicle. "Front axle position" refers to the current position of the target vehicle's front axle center. Similarly, "rear axle position" refers to the current position of the target vehicle's rear axle center. "Vehicle coordinates" refers to the target vehicle's current position in the geodetic coordinate system. "Parking path" refers to the path the target vehicle takes to enter the designated parking position. "Candidate trajectory points" refers to the trajectory points existing within the parking path. "Candidate positions" refers to the positions of the candidate trajectory points. "Tracked trajectory points" refers to the candidate trajectory points that the target vehicle is expected to traverse in the next moment.

[0060] Optionally, for each candidate trajectory point in the parking path, the distance between the candidate trajectory point and the center of the front axle of the target vehicle is determined based on the front axle position of the target vehicle and the candidate position of the candidate trajectory point, and this distance is used as the first interval distance corresponding to the candidate trajectory point; based on the first interval distance corresponding to each candidate trajectory point, the trajectory point to be tracked of the target vehicle is determined from each candidate trajectory point in the parking path.

[0061] Optionally, for each candidate trajectory point in the parking path, the front axle distance between the candidate trajectory point and the front axle center of the target vehicle is calculated based on the front axle position of the target vehicle and the candidate position of the candidate trajectory point; the rear axle distance between the candidate trajectory point and the rear axle center of the target vehicle is calculated based on the rear axle position of the target vehicle and the candidate position of the candidate trajectory point; the sum of the front axle distance and the rear axle distance is used as the candidate interval distance corresponding to the candidate trajectory point; the smallest candidate interval distance is selected from the candidate interval distances corresponding to each candidate trajectory point; and the candidate trajectory point corresponding to the smallest candidate interval distance is used as the trajectory point to be tracked by the target vehicle.

[0062] S202. Determine the centerline of the target vehicle based on the positions of the front axle and the rear axle.

[0063] For details, please refer to Figure 2B Based on the positions of the front and rear axles, the straight line passing through the center of the front and rear axles of the target vehicle is taken as the vehicle's centerline. It should be noted that the vehicle centerline reflects the current attitude of the target vehicle.

[0064] S203. Based on the rear axle position and the tracking position of the trajectory point to be tracked, determine the forward sight distance and forward line of sight of the target vehicle.

[0065] For details, please refer to Figure 2B Based on the rear axle position and the tracking position of the trajectory point to be tracked, the rear axle center of the target vehicle is aligned with the trajectory point to be tracked (i.e., Figure 2B The distance between g) is taken as the forward sight distance; the straight line passing through the rear axle center of the target vehicle and the trajectory point to be tracked is taken as the forward sight line.

[0066] S204. Determine the first front wheel steering angle based on the target vehicle's wheelbase, forward sight distance, and the angle between the vehicle's centerline and the forward sight line.

[0067] Specifically, based on the target vehicle's wheelbase, forward sight distance, and the angle between the vehicle's centerline and the forward sight line, the first front wheel steering angle is determined using the following formula:

[0068]

[0069] Where δ1 is the first front wheel steering angle, L is the wheelbase of the target vehicle, α is the angle between the vehicle centerline and the forward line of sight, and l d This is the forward sight distance.

[0070] S205. Determine the trajectory tangent of the trajectory point to be tracked based on its position.

[0071] For details, please refer to Figure 2B Based on the tracking position of the trajectory point to be tracked, the tangent line passing through the trajectory point to be tracked is taken as the trajectory tangent line.

[0072] S206. Determine the heading deviation angle of the target vehicle based on the vehicle centerline and the trajectory tangent.

[0073] For details, please refer to Figure 2B It can translate the trajectory tangent so that the trajectory tangent intersects the vehicle centerline at the front axle center of the target vehicle, and the angle between the trajectory tangent and the vehicle centerline is taken as the heading deviation angle of the target vehicle.

[0074] S207. Determine the lateral deviation of the target vehicle based on the front axle position and the tracking position of the trajectory point to be tracked.

[0075] For details, please refer to Figure 2BBased on the front axle position and the tracking position of the trajectory point to be tracked, the distance between the front axle center of the target vehicle and the trajectory point to be tracked is taken as the lateral deviation of the target vehicle (i.e., Figure 2B (e in the text)

[0076] S208. Determine the second front wheel steering angle based on the target vehicle's speed, heading deviation angle, and lateral deviation.

[0077] Specifically, based on the target vehicle's speed, heading deviation angle, and lateral deviation, the second front wheel steering angle is determined using the following formula:

[0078]

[0079] Where δ2 is the second front wheel steering angle, θ is the heading deviation angle, e is the lateral deviation, v is the target vehicle speed, and k is the gain coefficient, which can be adjusted according to actual business needs.

[0080] S209. Determine the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle.

[0081] S210. Determine the target front wheel steering angle of the target vehicle based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient.

[0082] S211. Based on the target front wheel steering angle, control the target vehicle to pass through the track point to be tracked.

[0083] The technical solutions of this invention provide a specific method for determining the first front wheel steering angle based on a pure tracking algorithm, and a specific method for determining the second front wheel steering angle based on the Stanley algorithm.

[0084] Example 3

[0085] Figure 3 This is a flowchart of a vehicle control method provided in Embodiment 3 of the present invention. Based on the above embodiments, this embodiment further optimizes the process of "determining the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle," providing an optional implementation scheme. It should be noted that parts not detailed in this embodiment can be referred to in the relevant descriptions of other embodiments.

[0086] like Figure 3 As shown, the method includes:

[0087] S301. Based on the vehicle position information of the target vehicle and the candidate positions of the candidate trajectory points in the parking path, determine the trajectory points to be tracked for the target vehicle from the parking path; wherein, the vehicle position information includes the front axle position, the rear axle position, and the vehicle coordinates.

[0088] S302. Based on the front axle position, rear axle position, target vehicle wheelbase and speed, and the tracking position of the track point to be tracked, determine the first front wheel steering angle and the second front wheel steering angle respectively.

[0089] S303. Determine the remaining path length of the target vehicle based on the target vehicle's gear position, vehicle coordinates, and the starting position of the parking path.

[0090] Optionally, the target parking path length corresponding to the target vehicle's gear can be determined from the candidate sub-parking path lengths based on the target vehicle's gear; the length of the driving path already traveled by the target vehicle can be determined based on the starting position of the parking path and the vehicle coordinates; and the remaining path length of the target vehicle can be determined based on the target parking path length and the driving path length.

[0091] Here, "target vehicle gear" refers to the current gear of the target vehicle. "Candidate sub-parking path length" refers to the length of the selectable sub-parking paths within the parking path. "Target parking path length" refers to the length of the candidate sub-parking path corresponding to the target vehicle's gear within the parking path. It should be noted that one candidate sub-parking path length corresponds to one vehicle gear. "Travel path length" refers to the distance the target vehicle has already traveled along the parking path from its starting point. "Remaining path length" refers to the distance the target vehicle will travel from its current position to the designated parking position along the parking path.

[0092] Specifically, using the target vehicle's gear as an index, the candidate sub-parking path length corresponding to the target vehicle's gear is selected from the candidate sub-parking path lengths of the parking path, and this is taken as the target parking path length corresponding to the target vehicle's gear. Based on the starting position of the parking path and the vehicle coordinates, the length of the parking path between the starting point and the vehicle coordinates is calculated, and this is taken as the length of the driving path already traveled by the target vehicle. The difference between the target parking path length and the driving path length is taken as the remaining path length of the target vehicle.

[0093] Understandably, based on the target vehicle's gear, the target parking path length corresponding to the target vehicle's gear is determined from the candidate sub-parking path lengths; based on the starting position of the parking path and the vehicle's coordinates, the length of the driving path already traveled by the target vehicle is confirmed; based on the target parking path length and the driving path length, the remaining path length of the target vehicle is determined. By determining the target parking path length and the driving path length in real time, the remaining path length of the target vehicle is determined, thus achieving real-time updates to the remaining path length and ensuring its accuracy.

[0094] S304. Determine the first coefficient corresponding to the first front wheel steering angle based on the remaining path length.

[0095] Specifically, the remaining path length can be compared with a path length threshold. If the remaining path length is greater than or equal to 0 and less than or equal to the path length threshold, the lateral deviation of the target vehicle is determined based on the front axle position and the tracking position of the track point. Based on the remaining path length, the target parking path length, and the lateral deviation, the first coefficient corresponding to the first front wheel steering angle is determined using the following formula:

[0096]

[0097] Where m is the first coefficient corresponding to the first front wheel steering angle, e is the lateral deviation of the target vehicle, d1 is the target parking path length, d2 is the remaining path length, and d3 is the path length threshold. It should be noted that the path length threshold can be preset according to actual business needs; for example, if the path length threshold is 1 meter, then d3 = 1.

[0098] If the remaining path length is greater than the path length threshold, i.e., d2>d3, then the first coefficient corresponding to the first front wheel steering angle is set to 1, i.e., m=1.

[0099] It can be understood that, based on the remaining path length determined in real time, the first coefficient of the first front wheel steering angle is determined, thereby realizing the real-time update of the first coefficient and ensuring its accuracy.

[0100] S305. Based on the preset coefficient relationship, determine the second coefficient corresponding to the second front wheel steering angle according to the first coefficient.

[0101] Among them, the preset coefficient relationship refers to the coefficient relationship between the first coefficient and the second coefficient; the preset coefficient can be set in advance according to actual business needs. For example, the preset coefficient relationship can be: the sum of the first coefficient and the second coefficient is equal to 1.

[0102] Specifically, based on the preset coefficient relationship, a coefficient relationship formula is constructed, and the determined first coefficient is substituted into the coefficient relationship formula to obtain the second coefficient corresponding to the second front wheel steering angle.

[0103] S306. Determine the target front wheel steering angle of the target vehicle based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient.

[0104] Specifically, the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient are used to determine the target front wheel steering angle of the target vehicle using the following formula:

[0105] δ = δ1 × m + δ2 × n,

[0106] Right now,

[0107]

[0108] Where δ1 is the first front wheel steering angle, m is the first coefficient, δ2 is the second front wheel steering angle, n is the second coefficient, L is the wheelbase of the target vehicle, α is the angle between the vehicle centerline and the forward line of sight, and l d θ is the forward sight distance, e is the heading deviation angle, v is the lateral deviation, v is the target vehicle speed, and k is the gain coefficient, which can be adjusted according to actual business needs.

[0109] S307. Based on the target front wheel steering angle, control the target vehicle to pass through the track point to be tracked.

[0110] The technical solution of this invention determines the remaining path length of the target vehicle based on its gear position, coordinates, and the starting position of the parking path. Based on the remaining path length, a first coefficient corresponding to the first front wheel steering angle is determined. Then, based on a preset coefficient relationship, a second coefficient corresponding to the second front wheel steering angle is determined using the first coefficient. This technical solution adjusts the first coefficient corresponding to the first front wheel steering angle in real time according to the remaining path length of the target vehicle; as the remaining path length decreases, the first coefficient also decreases. Simultaneously, it adjusts the second coefficient corresponding to the second front wheel steering angle in real time based on the changes in the first coefficient and the preset coefficient relationship, making the determined target front wheel steering angle of the target vehicle more accurate. This ensures that the target vehicle always travels precisely along the parking path, improving parking accuracy and thus increasing the success rate of parking.

[0111] Example 4

[0112] Figure 4 This is a schematic diagram of a vehicle control device according to Embodiment 4 of the present invention. This embodiment is applicable to controlling vehicle parking, especially to controlling the vehicle to track trajectory points in the parking path during the parking process. The device can be implemented in hardware and / or software and can be configured in an electronic device, which can be a vehicle controller. Figure 4 As shown, the device includes:

[0113] The trajectory point determination module 401 is used to determine the trajectory point to be tracked of the target vehicle from the parking path based on the vehicle position information of the target vehicle and the candidate positions of the candidate trajectory points in the parking path; wherein, the vehicle position information includes the front axle position, the rear axle position and the vehicle coordinates;

[0114] The steering angle determination module 402 is used to determine the first front wheel steering angle and the second front wheel steering angle based on the front axle position, the rear axle position, the wheelbase and speed of the target vehicle, and the tracking position of the track point to be tracked.

[0115] The coefficient determination module 403 is used to determine the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle.

[0116] The target front wheel steering angle determination module 404 is used to determine the target front wheel steering angle of the target vehicle based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient.

[0117] The target vehicle control module 405 is used to control the target vehicle to pass through the track points based on the target front wheel steering angle.

[0118] The technical solution of this invention involves determining the target vehicle's trajectory point to be tracked from the parking path based on the target vehicle's position information and the candidate positions of candidate trajectory points in the parking path. The vehicle position information includes the front axle position, rear axle position, and vehicle coordinates. Based on the front axle position, rear axle position, target vehicle wheelbase and speed, and the trajectory point's position to be tracked, a first front wheel steering angle and a second front wheel steering angle are determined. A first coefficient corresponding to the first front wheel steering angle and a second coefficient corresponding to the second front wheel steering angle are determined. Based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient, a target front wheel steering angle for the target vehicle is determined. Based on the target front wheel steering angle, the target vehicle is controlled to pass through the trajectory point to be tracked. The above technical solution determines the target vehicle's tracking trajectory point from the parking path in real time based on the target vehicle's real-time vehicle position information. Then, based on the target vehicle's real-time vehicle position information and the tracking position of the tracking trajectory point, it determines the target vehicle's front wheel steering angle at the current speed and gear. Based on the real-time determined target front wheel steering angle, it controls the target vehicle to pass through the tracking trajectory point, ensuring that the target vehicle always travels accurately along the parking path, improving the vehicle's parking accuracy and thus increasing the success rate of parking.

[0119] Optionally, the trajectory point determination module 401 is specifically used for:

[0120] For each candidate trajectory point in the parking path, the distance between the candidate trajectory point and the center of the front axle of the target vehicle is determined based on the front axle position of the target vehicle and the candidate position of the candidate trajectory point. This distance is used as the first interval distance corresponding to the candidate trajectory point.

[0121] Based on the first interval distance corresponding to each candidate trajectory point, the trajectory point to be tracked for the target vehicle is determined from each candidate trajectory point in the parking path.

[0122] Optionally, the steering angle determination module 402 includes:

[0123] The vehicle centerline determination unit is used to determine the vehicle centerline of the target vehicle based on the positions of the front axle and the rear axle.

[0124] The forward-looking data determination unit is used to determine the forward-looking distance and forward-looking line of sight of the target vehicle based on the rear axle position and the tracking position of the trajectory point to be tracked;

[0125] The first front wheel steering angle determination unit is used to determine the first front wheel steering angle based on the target vehicle's wheelbase, forward viewing distance, and the angle between the vehicle's centerline and the forward line of sight.

[0126] Optionally, the steering angle determination module 402 also includes:

[0127] The trajectory tangent determination unit is used to determine the trajectory tangent of the track point based on the track point's position.

[0128] The heading deviation angle determination unit is used to determine the heading deviation angle of the target vehicle based on the vehicle centerline and the track tangent.

[0129] The lateral deviation determination unit is used to determine the lateral deviation of the target vehicle based on the front axle position and the tracking position of the track point to be tracked.

[0130] The second front wheel steering angle determination unit is used to determine the second front wheel steering angle based on the target vehicle's speed, heading deviation angle, and lateral deviation.

[0131] Optionally, the coefficient determination module 403 includes:

[0132] The remaining path length determination unit is used to determine the remaining path length of the target vehicle based on the target vehicle's gear position, vehicle coordinates, and the starting position of the parking path.

[0133] The first coefficient determination unit is used to determine the first coefficient corresponding to the first front wheel steering angle based on the remaining path length.

[0134] Optionally, the remaining path length determination unit is specifically used for:

[0135] Based on the target vehicle gear, determine the target parking path length corresponding to the vehicle gear from the candidate sub-parking path lengths of the parking path.

[0136] Based on the starting position of the parking path and the vehicle coordinates, determine the length of the driving path already traveled by the target vehicle;

[0137] The remaining path length for the target vehicle is determined based on the target parking path length and driving path length.

[0138] Optionally, the coefficient determination module 403 also includes:

[0139] The second coefficient determination unit is used to determine the second coefficient corresponding to the second front wheel steering angle based on the preset coefficient relationship and the first coefficient.

[0140] The vehicle control device provided in the embodiments of the present invention can execute the vehicle control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing each vehicle control method.

[0141] Example 5

[0142] Figure 5 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0143] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0144] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0145] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as vehicle control methods.

[0146] In some embodiments, the vehicle control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the vehicle control method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the vehicle control method by any other suitable means (e.g., by means of firmware).

[0147] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0148] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0149] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0150] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0151] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0152] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0153] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0154] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A vehicle control method, characterized in that, include: Based on the vehicle location information of the target vehicle and the candidate positions of candidate trajectory points in the parking path, the trajectory points to be tracked for the target vehicle are determined from the parking path; wherein, the vehicle location information includes the front axle position, the rear axle position, and the vehicle coordinates; Based on the front axle position, the rear axle position, the wheelbase and speed of the target vehicle, and the tracking position of the track point to be tracked, the first front wheel steering angle and the second front wheel steering angle are determined respectively. Determine the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle; The target front wheel steering angle of the target vehicle is determined based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient. Based on the target front wheel steering angle, control the target vehicle to pass through the track point to be tracked; The step of determining the first front wheel steering angle and the second front wheel steering angle based on the front axle position, the rear axle position, the wheelbase and speed of the target vehicle, and the tracking position of the trajectory point to be tracked includes: The vehicle centerline of the target vehicle is determined based on the front axle position and the rear axle position. Based on the rear axle position and the tracking position of the trajectory point to be tracked, the forward sight distance and forward line of sight of the target vehicle are determined; The first front wheel steering angle is determined based on the target vehicle's wheelbase, the forward sight distance, and the angle between the vehicle's centerline and the forward sight line. Based on the tracking position of the track point, determine the trajectory tangent of the track point; The heading deviation angle of the target vehicle is determined based on the vehicle centerline and the trajectory tangent. Based on the front axle position and the tracking position of the track point to be tracked, the lateral deviation of the target vehicle is determined; The second front wheel steering angle is determined based on the target vehicle's speed, the heading deviation angle, and the lateral deviation. Wherein, determining the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle includes: The remaining path length of the target vehicle is determined based on the target vehicle's gear position, the vehicle's coordinates, and the starting position of the parking path. Based on the remaining path length, determine the first coefficient corresponding to the first front wheel steering angle; Based on the preset coefficient relationship, the second coefficient corresponding to the second front wheel steering angle is determined according to the first coefficient.

2. The method according to claim 1, characterized in that, The step of determining the track point of the target vehicle from the parking path based on the vehicle location information of the target vehicle and the candidate positions of candidate trajectory points in the parking path includes: For each candidate trajectory point in the parking path, the distance between the candidate trajectory point and the center of the front axle of the target vehicle is determined based on the front axle position of the target vehicle and the candidate position of the candidate trajectory point, and this distance is used as the first interval distance corresponding to the candidate trajectory point. Based on the first interval distance corresponding to each candidate trajectory point, the trajectory point to be tracked for the target vehicle is determined from each candidate trajectory point in the parking path.

3. The method according to claim 1, characterized in that, Determining the remaining path length of the target vehicle based on the target vehicle's gear position, the vehicle's coordinates, and the starting position of the parking path includes: Based on the target vehicle gear, determine the target parking path length corresponding to the target vehicle gear from the candidate sub-parking path lengths of the parking path; Based on the starting position of the parking path and the vehicle coordinates, determine the length of the driving path already traveled by the target vehicle; The remaining path length of the target vehicle is determined based on the target parking path length and the driving path length.

4. A vehicle control device, characterized in that, include: The trajectory point determination module is used to determine the trajectory point to be tracked of the target vehicle from the parking path based on the vehicle position information of the target vehicle and the candidate positions of candidate trajectory points in the parking path; wherein, the vehicle position information includes the front axle position, the rear axle position, and the vehicle coordinates; The steering angle determination module is used to determine the first front wheel steering angle and the second front wheel steering angle based on the front axle position, the rear axle position, the wheelbase and speed of the target vehicle, and the tracking position of the track point to be tracked. The coefficient determination module is used to determine the first coefficient corresponding to the first front wheel steering angle and the second coefficient corresponding to the second front wheel steering angle; A target front wheel steering angle determination module is used to determine the target front wheel steering angle of the target vehicle based on the first front wheel steering angle, the first coefficient, the second front wheel steering angle, and the second coefficient. The target vehicle control module is used to control the target vehicle to pass through the track point based on the target front wheel steering angle; The steering angle determination module includes: The vehicle centerline determination unit is used to determine the vehicle centerline of the target vehicle based on the front axle position and the rear axle position. A forward-looking data determination unit is used to determine the forward-looking distance and forward-looking line of sight of the target vehicle based on the rear axle position and the tracking position of the track point to be tracked. The first front wheel steering angle determination unit is used to determine the first front wheel steering angle based on the target vehicle's wheelbase, the forward viewing distance, and the angle between the vehicle's centerline and the forward viewing line. The trajectory tangent determination unit is used to determine the trajectory tangent of the track point based on the track point's position to be tracked. The heading deviation angle determination unit is used to determine the heading deviation angle of the target vehicle based on the vehicle centerline and the trajectory tangent. The lateral deviation determination unit is used to determine the lateral deviation of the target vehicle based on the front axle position and the tracking position of the track point to be tracked. The second front wheel steering angle determination unit is used to determine the second front wheel steering angle based on the target vehicle's speed, the heading deviation angle, and the lateral deviation amount. The coefficient determination module includes: The remaining path length determination unit is used to determine the remaining path length of the target vehicle based on the target vehicle's gear position, the vehicle's coordinates, and the starting position of the parking path. The first coefficient determining unit is used to determine the first coefficient corresponding to the first front wheel steering angle based on the remaining path length; The second coefficient determination unit is used to determine the second coefficient corresponding to the second front wheel steering angle based on the first coefficient and a preset coefficient relationship.

5. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the vehicle control method according to any one of claims 1-3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the vehicle control method of any one of claims 1-3.

Citation Information

Patent Citations

  • Transverse control method for low-speed automatic parking of self-driving automobile

    CN113110500A

  • Vehicle control method and device, electronic equipment and storage medium

    CN116533990A