Control method of vehicle, vehicle, and storage medium
By combining vehicle motion prediction models and multi-motor multi-steering devices, the problem that existing trajectory planning technologies cannot plan vehicle trajectories according to specific needs is solved, and efficient vehicle driving under different working conditions is achieved.
Patent Information
- Application Number
- CN202411048585.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing trajectory planning technologies cannot plan vehicle trajectories according to specific needs, resulting in poor applicability. In particular, they cannot plan the trajectory of the fastest-moving vehicle under moose test conditions and emergency lane change conditions.
Based on the target driving requirements, the vehicle's driving trajectory on the road is predicted by the vehicle motion prediction model, and the vehicle is controlled to drive according to the target driving trajectory. By using a vehicle system with multiple motors and multiple steering devices, combined with road parameters and vehicle state parameters, a suitable driving trajectory is determined.
It improves the applicability of vehicle driving trajectory schemes, enabling vehicles to drive according to specific needs, and optimizes the flexibility and control effect of trajectory planning.
Smart Images

Figure CN119749588B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and more particularly to a vehicle control method, a vehicle, and a storage medium. Background Technology
[0002] With the rapid and continuous updates and iterations of science and technology in my country, autonomous driving technology has become a research hotspot in the automotive industry. The key to autonomous driving lies in planning the autonomous driving trajectory for future moments. Therefore, trajectory planning technology in the field of autonomous driving is crucial for achieving safe, efficient, and natural driving behavior.
[0003] Among the related technologies, most of the trajectory planning technologies currently used in the field of autonomous driving are based on curvature, path distance, or some constraints to plan the trajectory of the vehicle, such as planning the path with the minimum curvature or the trajectory with the shortest distance.
[0004] However, such trajectory planning schemes cannot plan vehicle trajectories according to specific needs, resulting in poor applicability. For example, in the moose test scenario, it is impossible to plan the trajectory of the vehicle with the fastest travel speed. Summary of the Invention
[0005] This application provides a vehicle control method, a vehicle, and a storage medium, which solves the problem that current trajectory planning schemes cannot plan vehicle trajectories according to specific needs and have poor applicability. It can improve the applicability of vehicle driving trajectory schemes and enable vehicles to drive based on target driving needs.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] In a first aspect, this application provides a vehicle control method, the method comprising: determining a target driving trajectory in at least one driving trajectory based on a target driving demand; the at least one driving trajectory being the driving trajectory of a vehicle on a road, predicted based on road parameters and through a vehicle motion prediction model; the vehicle motion prediction model being used to predict the driving trajectory of the vehicle in its motion state; and controlling the vehicle to drive according to the target driving trajectory.
[0008] In conjunction with the first aspect mentioned above, in one possible implementation, the target driving requirement is one or more of the preset driving requirements; the preset driving requirements include at least one of the following: the vehicle's driving speed is the maximum, the driving time is the shortest, the driving distance is the shortest, the curvature of the driving trajectory is the smallest, the driving state of the vehicle is the most stable during the driving process, and the similarity to the original driving trajectory is the highest.
[0009] In conjunction with the first aspect mentioned above, in one possible implementation, based on preset driving requirements, a target driving trajectory is determined from at least one driving trajectory, including: for each driving trajectory, determining the degree of matching between the driving trajectory and the preset driving requirements; and determining the driving trajectory with the highest degree of matching as the target driving trajectory.
[0010] In conjunction with the first aspect mentioned above, in one possible implementation, the method further includes: constructing a vehicle motion prediction model based on the vehicle's driving state parameters and motion control parameters.
[0011] In conjunction with the first aspect mentioned above, in one possible implementation, a vehicle motion prediction model is constructed based on the vehicle's driving state parameters and motion control parameters, including: constructing a vehicle dynamics model based on the driving state parameters; and constructing a vehicle motion prediction model based on the vehicle dynamics model and motion control parameters.
[0012] In conjunction with the first aspect above, in one possible implementation, the step of determining at least one driving trajectory includes: determining the drivable range of the vehicle on the road based on road parameters; and constraining the vehicle motion prediction model based on the drivable range and trajectory constraints to determine at least one driving trajectory.
[0013] In conjunction with the first aspect above, in one possible implementation, controlling the vehicle to travel along a target trajectory includes: determining the target control quantity for each actuator in the vehicle based on the target trajectory; the target control quantity is the control quantity executed by the actuator when the vehicle travels along the target trajectory; and sending the target control quantity to each actuator in the vehicle through the vehicle's chassis drive-by-wire system, so that each actuator executes the target control quantity to control the vehicle to travel along the target trajectory.
[0014] In conjunction with the first aspect mentioned above, in one possible implementation, the target control quantities of each actuator in the vehicle are determined based on the target driving trajectory, including: acquiring the real-time motion state of the vehicle; correcting the target driving trajectory based on the real-time motion state using a vehicle motion prediction model to obtain the corrected target driving trajectory; and determining the target control quantities of each actuator in the vehicle based on the corrected target driving trajectory.
[0015] In conjunction with the first aspect above, in one possible implementation, the motion control parameters include at least one of the following: the vehicle's motor torque and the vehicle's wheel angle.
[0016] In conjunction with the first aspect above, in one possible implementation, when the vehicle is equipped with a first motor, a second motor, a third motor, a first steering device, and a second steering device, the motion control parameters specifically include at least one of the following: the torque of the first motor, the torque of the second motor, the torque of the third motor, the equivalent steering angle of the front wheels, the steering angle of the left rear wheel, and the steering angle of the right rear wheel; wherein, the first motor is used to drive the left front wheel and the right front wheel of the vehicle, the second motor is used to drive the left rear wheel of the vehicle, and the third motor is used to drive the right rear wheel of the vehicle; the first steering device is used to control the steering of the left rear wheel, and the second steering device is used to control the steering of the right rear wheel.
[0017] In conjunction with the first aspect above, in one possible implementation, the driving state parameters include at least one of the following: vehicle position information, longitudinal velocity, lateral velocity, vehicle heading angle, yaw rate, mass, longitudinal component of force on each wheel in the ground coordinate system, lateral component of force on each wheel in the ground coordinate system, vehicle moment of inertia, distance from vehicle center of gravity to front axle, distance from vehicle center of gravity to rear axle, front wheel track, rear wheel track, wheel angle, longitudinal force on the wheel in the wheel coordinate system, and lateral force on the wheel in the wheel coordinate system.
[0018] In conjunction with the first aspect mentioned above, in one possible implementation, the road parameters include at least one of the following: the location of the road center point, the road width at the center point, and the location information of obstacles in the road.
[0019] In conjunction with the first aspect mentioned above, in one possible implementation, the trajectory constraints include at least one of the following: vehicle motion state constraints and motion control parameter incremental constraints.
[0020] Secondly, this application provides a vehicle control device, the device comprising: a processing unit; the processing unit being configured to determine a target driving trajectory in at least one driving trajectory based on a target driving demand; the at least one driving trajectory being a driving trajectory of a vehicle on a road predicted by a vehicle motion prediction model based on road parameters; the vehicle motion prediction model being used to predict the driving trajectory of a vehicle in its motion state; the processing unit being further configured to control the vehicle to drive according to the target driving trajectory.
[0021] In conjunction with the second aspect above, in one possible implementation, the target driving requirement is one or more of the preset driving requirements; the preset driving requirements include at least one of the following: the vehicle's driving speed is the maximum, the driving time is the shortest, the driving distance is the shortest, the curvature of the driving trajectory is the smallest, the driving state of the vehicle is the most stable during the driving process, and the similarity to the original driving trajectory is the highest.
[0022] In conjunction with the second aspect above, in one possible implementation, the processing unit is specifically configured to: for each driving trajectory, determine the degree of matching between the driving trajectory and the preset driving requirements; and determine the driving trajectory with the highest degree of matching as the target driving trajectory. In conjunction with the second aspect above, in one possible implementation, the processing unit is further configured to: construct a vehicle motion prediction model based on the vehicle's driving state parameters and motion control parameters.
[0023] In conjunction with the second aspect above, in one possible implementation, the processing unit is specifically used to: construct a vehicle dynamics model based on driving state parameters; and construct a vehicle motion prediction model based on the vehicle dynamics model and motion control parameters.
[0024] In conjunction with the second aspect above, in one possible implementation, the processing unit is specifically used to: determine the drivable range of the vehicle on the road based on road parameters; and constrain the vehicle motion prediction model based on the drivable range and trajectory constraints to determine at least one driving trajectory.
[0025] In conjunction with the second aspect above, in one possible implementation, the device further includes a communication unit; a processing unit, further configured to determine the target control quantity of each actuator in the vehicle based on the target driving trajectory; the target control quantity is the control quantity executed by the actuator when the vehicle is driving according to the target driving trajectory; the communication unit is configured to send the target control quantity to each actuator in the vehicle through the chassis drive-by-wire system, so that each actuator executes the target control quantity to control the vehicle to drive according to the target driving trajectory.
[0026] In conjunction with the second aspect above, in one possible implementation, the processing unit is specifically used to: instruct the communication unit to acquire the real-time motion state of the vehicle; based on the real-time motion state, correct the target driving trajectory through a vehicle motion prediction model to obtain the corrected target driving trajectory; and based on the corrected target driving trajectory, determine the target control quantities of each actuator in the vehicle.
[0027] In conjunction with the second aspect above, in one possible implementation, the motion control parameters include at least one of the following: the vehicle's motor torque and the vehicle's wheel angle.
[0028] In conjunction with the second aspect above, in one possible implementation, when the vehicle is equipped with a first motor, a second motor, a third motor, a first steering device, and a second steering device, the motion control parameters specifically include at least one of the following: the torque of the first motor, the torque of the second motor, the torque of the third motor, the equivalent steering angle of the front wheels, the steering angle of the left rear wheel, and the steering angle of the right rear wheel; wherein, the first motor is used to drive the left front wheel and the right front wheel of the vehicle, the second motor is used to drive the left rear wheel of the vehicle, and the third motor is used to drive the right rear wheel of the vehicle; the first steering device is used to control the steering of the left rear wheel, and the second steering device is used to control the steering of the right rear wheel.
[0029] In conjunction with the second aspect above, in one possible implementation, the driving state parameters include at least one of the following: vehicle position information, longitudinal velocity, lateral velocity, vehicle heading angle, yaw rate, mass, longitudinal component of force on each wheel in the ground coordinate system, lateral component of force on each wheel in the ground coordinate system, vehicle moment of inertia, distance from vehicle center of gravity to front axle, distance from vehicle center of gravity to rear axle, front wheel track, rear wheel track, wheel angle, longitudinal force on the wheel in the wheel coordinate system, and lateral force on the wheel in the wheel coordinate system.
[0030] In conjunction with the second aspect above, in one possible implementation, the road parameters include at least one of the following: the location of the road center point, the road width at the center point, and the location information of obstacles in the road.
[0031] In conjunction with the second aspect above, in one possible implementation, the trajectory constraints include at least one of the following: vehicle motion state constraints and motion control parameter incremental constraints.
[0032] In conjunction with the second aspect mentioned above, in one possible implementation, the preset driving requirements also include at least one of the following: shortest driving time, shortest driving distance, minimum curvature of the driving trajectory, most stable driving state of the vehicle during driving, and highest similarity to the original driving trajectory.
[0033] Thirdly, this application provides a vehicle, the device comprising: a processor and a communication interface; the communication interface and the processor are coupled, the processor being configured to run computer programs or instructions to implement the vehicle control method as described in the first aspect and any possible implementation thereof.
[0034] In conjunction with the third aspect mentioned above, in one possible implementation, the vehicle further includes: a first motor, a second motor, and a third motor; wherein the first motor is used to drive the left front wheel and the right front wheel of the vehicle, the second motor is used to drive the left rear wheel of the vehicle, and the third motor is used to drive the right rear wheel of the vehicle.
[0035] In conjunction with the third aspect mentioned above, in one possible implementation, the vehicle further includes a first steering device and a second steering device; wherein the first steering device is used to control the steering of the left rear wheel, and the second steering device is used to control the steering of the right rear wheel.
[0036] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed on a terminal, cause the terminal to perform the vehicle control method described in the first aspect and any possible implementation thereof.
[0037] Fifthly, this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the vehicle control method as described in the first aspect and any possible implementation thereof.
[0038] In a sixth aspect, this application provides a chip including a processor and a communication interface coupled to the processor. The processor is used to run computer programs or instructions to implement the vehicle control method as described in the first aspect and any possible implementation thereof.
[0039] Specifically, the chip provided in this application also includes a memory for storing computer programs or instructions.
[0040] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the device, or it may be packaged separately from the processor of the device; this application does not impose any limitation on this.
[0041] In a seventh aspect, this application provides a vehicle control system, comprising: a vehicle and a data server, wherein the data server is configured to execute the vehicle control method as described in the first aspect and any possible implementation thereof.
[0042] The descriptions of aspects two through seven in this application can be referenced to the detailed description of aspect one; and the beneficial effects of the descriptions of aspects two through seven can be referenced to the analysis of the beneficial effects of aspect one, which will not be repeated here.
[0043] In this application, the names of the vehicle control devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those in this application, they fall within the scope of the claims of this application and their equivalents.
[0044] These or other aspects of this application will become more readily apparent in the following description.
[0045] The above solution offers at least the following advantages: Based on the above technical solution, the vehicle control method provided in this application determines at least one target driving trajectory based on the target driving requirements. This at least one driving trajectory is the vehicle's driving trajectory on the road, predicted by a vehicle motion prediction model based on road parameters. The vehicle motion prediction model is used to predict the vehicle's trajectory under its motion state. Furthermore, the vehicle is controlled to drive according to the target driving trajectory. The above technical solution can determine a suitable driving trajectory according to different target driving requirements, solving the problem that current trajectory planning schemes can only plan vehicle driving trajectories based on curvature, path distance, or some constraints, and cannot plan vehicle trajectories according to specific requirements, resulting in poor applicability. This improves the applicability of vehicle driving trajectory schemes and enables vehicles to drive according to target driving requirements. Attached Figure Description
[0046] Figure 1 A flowchart illustrating a method for optimizing a racing car's trajectory, as provided in this application embodiment;
[0047] Figure 2 A flowchart of a trajectory tracking control method provided in an embodiment of this application;
[0048] Figure 3 A schematic diagram of the architecture of a vehicle control system provided in an embodiment of this application;
[0049] Figure 4 A schematic diagram of a vehicle motor provided for an embodiment of this application;
[0050] Figure 5 A schematic diagram of a vehicle steering device provided in an embodiment of this application;
[0051] Figure 6 A schematic diagram illustrating a vehicle control method provided in an embodiment of this application;
[0052] Figure 7 A schematic diagram of the hardware structure of a vehicle provided in an embodiment of this application;
[0053] Figure 8 A flowchart illustrating a vehicle control method provided in this application embodiment;
[0054] Figure 9 A flowchart illustrating another vehicle control method provided in this application embodiment;
[0055] Figure 10 A flowchart illustrating another vehicle control method provided in this application embodiment;
[0056] Figure 11A flowchart illustrating another vehicle control method provided in this application embodiment;
[0057] Figure 12 A schematic diagram illustrating another vehicle control method provided in an embodiment of this application;
[0058] Figure 13 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application. Detailed Implementation
[0059] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0060] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0061] The terms "first" and "second," etc., used in the specification and drawings of this application are used to distinguish different objects or to distinguish different treatments of the same object, rather than to describe a specific order of objects.
[0062] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.
[0063] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0064] In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0065] With the rapid and continuous updates and iterations of science and technology in my country, autonomous driving technology has become a research hotspot in the automotive industry. The key to autonomous driving lies in planning the autonomous driving trajectory for future moments. Therefore, trajectory planning technology in the field of autonomous driving is crucial for achieving safe, efficient, and natural driving behavior.
[0066] Among the related technologies, most of the trajectory planning technologies currently used in the field of autonomous driving are based on curvature, path distance, or some constraints to plan the trajectory of the vehicle, such as planning the path with the minimum curvature or the trajectory with the shortest distance.
[0067] For example, such as Figure 1 As shown, in a racing car trajectory optimization method, the shortest speed curve is determined based on the initial racing car path and tire adhesion limit constraints; the path with minimum curvature is determined based on the shortest speed curve, tire adhesion limit constraints, and vehicle motion state.
[0068] However, this type of trajectory planning scheme is limited in that its trajectory planning process first determines the speed curve with the shortest travel time, and then determines the path with the least curvature based on that curve. It cannot plan vehicle trajectories according to specific needs. For example, in the moose test scenario, this type of trajectory planning scheme cannot plan the trajectory of the vehicle with the fastest travel speed; or, in the emergency lane change scenario, this type of trajectory planning scheme also cannot plan the trajectory of vehicles traveling towards other targets.
[0069] Furthermore, the relevant trajectory planning and tracking technologies only consider single power drive systems and single front wheel steering systems. The upper limit of the vehicle state change speed limits the optimization of trajectory planning, making it difficult to obtain trajectories that meet actual needs. Moreover, the tracking effect is poor for trajectories with rapid system state changes, and large deviations are likely to occur.
[0070] For example, such as Figure 2 As shown, in a trajectory tracking control method, the turning angle increment weight of the vehicle at the current moment is determined based on the vehicle's current lateral and longitudinal speeds at the current moment, and the vehicle's expected lateral and longitudinal speeds at the next moment. Using the turning angle increment as a parameter, the vehicle's trajectory tracking error is determined based on the vehicle's expected lateral displacement, the vehicle's expected heading angle, the vehicle's operating state parameters at the current moment, and the turning angle increment weight. The turning angle increment is calculated with the goal of minimizing the trajectory tracking error. The current vehicle turning angle is added to the turning angle increment to obtain the target wheel turning angle of the vehicle at the next moment, so that the vehicle travels according to the target wheel turning angle.
[0071] In the above scheme, the control quantity is only the front wheel steering angle, and the rear wheel steering angle control problem is not considered, so it is not suitable for vehicles with independent rear wheel control systems.
[0072] Therefore, the vehicle control method provided in this application determines a target driving trajectory from at least one driving trajectory based on target driving requirements. This at least one driving trajectory is the vehicle's driving trajectory on the road, predicted by a vehicle motion prediction model based on road parameters. The vehicle motion prediction model is used to predict the vehicle's driving trajectory under its motion state. Furthermore, the vehicle is controlled to drive according to the target driving trajectory. This technical solution can determine a suitable driving trajectory according to different target driving requirements, solving the problem that current trajectory planning schemes can only plan vehicle driving trajectories based on curvature, path distance, or some constraints, and cannot plan vehicle trajectories according to specific requirements, resulting in poor applicability. This improves the applicability of vehicle driving trajectory schemes and enables vehicles to drive according to target driving requirements.
[0073] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0074] Figure 3 This is a schematic diagram of the architecture of a vehicle control system provided in an embodiment of this application. Figure 3 As shown, the vehicle's control system includes: vehicle 301 and data server 302.
[0075] The vehicle 301 and the data server 302 are connected via a communication link. This communication link can be a wired communication link or a wireless communication link, and this application does not limit it in this regard.
[0076] The following is a detailed introduction to vehicle 301.
[0077] In one possible implementation, vehicle 301 is used to send location information collected by multiple on-board sensors in vehicle 301 to data server 302, so that data server 302 can determine the relative position of vehicle 301 on the road based on the location information collected by multiple on-board sensors.
[0078] Optionally, vehicle 301 is equipped with onboard sensors such as cameras, lidar, millimeter-wave radar, ultrasonic radar, and inertial measurement units (IMUs). By fusing information collected from multiple onboard sensors, the relative position of vehicle 301 on the road can be obtained. Of course, the above is only an exemplary method for obtaining the relative position of vehicle 301 on the road. This application can also obtain the relative position of vehicle 301 on the road through other means, such as data collected by any one or more devices such as attitude and heading reference system (AHRS), vertical reference unit (VRU), global navigation satellite system (GNSS), global positioning system (GPS), Beidou navigation satellite system (BDS), or inertial navigation system (INS) to determine the relative position of vehicle 301 on the road. This application does not limit this method.
[0079] Optional, such as Figure 4 As shown, vehicle 301 is equipped with a first motor, a second motor, and a third motor. The first motor drives the left and right front wheels of vehicle 301, the second motor drives the left rear wheel, and the third motor drives the right rear wheel.
[0080] Optional, such as Figure 5 As shown, vehicle 301 is also equipped with a first steering device and a second steering device. The first steering device is used to control the steering of the left rear wheel, and the second steering device is used to control the steering of the right rear wheel.
[0081] In addition, vehicle 301 is also equipped with a third steering device. The third steering device is used to control the steering of the left front wheel and the right front wheel of vehicle 301.
[0082] It should be noted that the rear-wheel independent steering system in this application can increase the speed at which vehicle 301 changes direction, thereby increasing the optimization potential of trajectory planning and making the obtained trajectory more consistent with actual needs. Simultaneously, by applying different lateral forces and yaw moments to vehicle 301 through the rear-wheel steering device, the control effect of the vehicle is improved; furthermore, based on the three-motor independent drive system, by instructing the torque of the left and right rear wheels, the vehicle can generate additional yaw moments, further enhancing the control effect.
[0083] Optionally, the vehicle 301 in this application is not limited to a three-wheel drive mode, but can also be a four-wheel drive mode or a two-wheel drive mode. Of course, the above is only an exemplary description of the vehicle's drive mode. As the number of vehicle wheels increases, the vehicle 301 can also be a five-wheel drive mode, a six-wheel drive mode, etc. The vehicle's drive mode can be proportional to the number of vehicle wheels, and this application does not limit this.
[0084] The following is a detailed introduction to the 301 vehicle with four-wheel drive mode.
[0085] In one possible implementation, the vehicle 301 in this application can also be a four-wheel drive system. The vehicle 301 can be equipped with four motors, for example, a fourth motor, a fifth motor, a second motor, and a third motor.
[0086] The fourth motor drives the left front wheel of vehicle 301; the fifth motor drives the right front wheel of vehicle 301; the second motor drives the left rear wheel of vehicle 301; and the third motor drives the right rear wheel of vehicle 301.
[0087] The following is a detailed introduction to the 301 vehicle with dual drive mode.
[0088] Additionally, the vehicle 301 in this application can also be in a dual-drive mode. The vehicle 301 can also be equipped with two motors, for example, a first motor and a sixth motor.
[0089] The first motor is used to drive the left front wheel and the right front wheel of the vehicle 301, and the sixth motor is used to drive the left rear wheel and the right rear wheel of the vehicle 301.
[0090] Optionally, the vehicle 301 in this application is not limited to a three-steering mode, but can also be a four-steering mode or a two-steering mode. Of course, the above is only an exemplary description of the vehicle's steering mode. As the number of vehicle wheels increases, the vehicle 301 can also be a five-steering mode, a six-steering mode, etc. The vehicle's steering mode can be proportional to the number of vehicle wheels, and this application does not limit this.
[0091] The following is a detailed introduction to the 301 vehicle with four-way steering.
[0092] In one possible implementation, the vehicle 301 of this application may also be equipped with a fourth steering device, a fifth steering device, a first steering device, and a second steering device.
[0093] The fourth steering device is used to control the steering of the left front wheel of the vehicle 301, the fifth steering device is used to control the steering of the right front wheel of the vehicle 301, the first steering device is used to control the steering of the left rear wheel of the vehicle 301, and the second steering device is used to control the steering of the right rear wheel of the vehicle 301.
[0094] The following is a detailed introduction to the 301 vehicle with dual steering mode.
[0095] In one possible implementation, the vehicle 301 in this application may also be equipped with a third steering device and a sixth steering device.
[0096] The third steering device is used to control the steering of the left front wheel and the right front wheel of the vehicle 301; the sixth steering device is used to control the steering of the left rear wheel and the right rear wheel of the vehicle 301.
[0097] The following is a detailed introduction to data server 302.
[0098] One possible implementation is, such as Figure 6 As shown, the data server 302 is used to receive position information collected by multiple on-board sensors in the vehicle 301, and based on the position information collected by multiple on-board sensors, to determine the relative position of the vehicle 301 on the road through positioning perception technology, and in response to the input operation of the test personnel on vehicle size information and road parameters (e.g., test road boundary), to determine the drivable area of the vehicle's center of gravity.
[0099] Furthermore, the data server 302 is also used to construct a vehicle dynamics model based on the vehicle's driving state parameters, and to construct a vehicle motion prediction model based on motion control parameters (e.g., the torque of the first motor, the torque of the second motor, the torque of the third motor, the equivalent steering angle of the front wheel, the steering angle of the left rear wheel, and the steering angle of the right rear wheel).
[0100] Furthermore, based on the vehicle's center of gravity drivable area, trajectory constraints, and preset driving requirements, the vehicle motion prediction model is constrained to determine the target driving trajectory. Then, based on the target trajectory, the target control quantities of each actuator in vehicle 301 are determined.
[0101] Optionally, road parameters (e.g., road boundary information, road center point location, road width at the center point, and location information of obstacles in the road) can also be pre-configured information in data server 302.
[0102] When implemented in hardware, the various modules in data server 302 can be integrated into, for example... Figure 7 This is implemented in the hardware structure of the vehicle shown. Specifically, as... Figure 7 As shown, the basic hardware structure of the vehicle is introduced.
[0103] Figure 7 This is a schematic diagram of the hardware structure of a vehicle provided in an embodiment of this application. Figure 7As shown, the vehicle includes at least one processor 701, a communication line 702, and at least one communication interface 704, and may also include a memory 703. The processor 701, memory 703, and communication interface 704 are connected via the communication line 702.
[0104] The processor 701 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).
[0105] Communication line 702 may include a path for transmitting information between the aforementioned components.
[0106] The communication interface 704 is used to communicate with other devices or communication networks. It can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.
[0107] The memory 703 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of including or storing desired program code having the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0108] In one possible design, the memory 703 can exist independently of the processor 701, meaning the memory 703 can be an external memory of the processor 701. In this case, the memory 703 can be connected to the processor 701 via a communication line 702 to store execution instructions or application code, and its execution is controlled by the processor 701 to implement the vehicle control method provided in the following embodiments of this application. In another possible design, the memory 703 can also be integrated with the processor 701, meaning the memory 703 can be an internal memory of the processor 701. For example, the memory 703 can be a cache, used to temporarily store some data and instruction information.
[0109] As one possible implementation, processor 701 may include one or more CPUs, for example Figure 7 CPU0 and CPU1 in the example. As another possible implementation, the vehicle may include multiple processors, such as... Figure 7 The processors 701 and 707 are included. As another possible implementation, the vehicle may also include an output device 705 and an input device 706.
[0110] It should be noted that the various embodiments of this application can be referenced or learned from each other. For example, the same or similar steps, method embodiments, system embodiments and device embodiments can be referenced from each other without limitation.
[0111] Figure 8 A flowchart illustrating a vehicle control method provided in this application embodiment, which can be applied to, for example... Figure 7 In the vehicles shown. For example... Figure 8 As shown, the method includes the following S801-S802.
[0112] S801. Based on the target driving requirements, determine the target driving trajectory in at least one driving trajectory.
[0113] Optionally, preset driving requirements may include at least one of the following: maximum vehicle speed, shortest driving time, shortest driving distance, minimum curvature of the driving trajectory, and maximum average speed at a preset location. Of course, the above is merely an exemplary description of preset driving requirements, and preset driving requirements may also include other requirements, such as the smoothest vehicle driving state and the highest similarity to the original driving trajectory during driving; this application does not limit this.
[0114] It should be noted that the target driving requirement is one or more of the preset driving requirements, and this application does not limit this. For example, the target driving requirement can be the maximum driving speed of the vehicle at the preset position, the minimum driving time and the shortest driving distance, or the maximum driving speed, the shortest driving time, the shortest driving distance, and the minimum curvature of the driving trajectory at the preset position.
[0115] In one possible implementation, for each driving trajectory, the degree of matching between the driving trajectory and the target driving demand is determined; the driving trajectory with the highest degree of matching is determined as the target driving trajectory.
[0116] The following examples 1-3 illustrate the process of determining the target driving trajectory under different conditions. Example 1: Determining the target driving trajectory when the target driving requirement is that the vehicle's speed is at the maximum at the preset location; Example 2: Determining the target driving trajectory when the target driving requirement is that the average speed is at the maximum; Example 3: Determining the target driving trajectory when the target driving requirement is that the vehicle's speed is at the maximum at the preset location, and the vehicle's driving state is at its most stable during the driving process.
[0117] Example 1: When the target driving requirement is that the vehicle's driving speed is the maximum at a preset location, the matching degree of the driving trajectory to the preset driving requirement is the vehicle's driving speed at the preset location; the implementation of S801 is as follows: for each driving trajectory, determine the vehicle's driving speed at the preset location; determine the driving trajectory with the maximum driving speed as the target driving trajectory.
[0118] For example, in an unmanned moose speed test scenario, for each driving trajectory, the maximum speed at a preset position (x = x0) is determined, i.e., maxv(x = x0). All driving trajectories are traversed offline, and the trajectory with the maximum speed is identified as the target trajectory, denoted as ξ. r (k).
[0119] For example, consider a driving trajectory including driving trajectory A, driving trajectory B, and driving trajectory C. The speeds a, b, and c of the vehicle at a preset position in driving trajectory A, driving trajectory B, and driving trajectory C are determined respectively. If speed a > speed b and speed a > speed c, then driving trajectory A corresponding to speed a is determined as the target driving trajectory.
[0120] Example 2: When the target driving requirement is the maximum average speed, the matching degree of the driving trajectory to the preset driving requirement is the average driving speed of the vehicle during the driving process; the implementation method of S801 is as follows: for each driving trajectory, determine the average driving speed of the vehicle in each driving trajectory. The driving trajectory with the maximum average driving speed is determined as the target driving trajectory.
[0121] Example 3: When the target driving requirement is that the vehicle's speed is the highest at the preset location and the vehicle's driving state is the most stable during the driving process, the matching degree of the driving trajectory to the preset driving requirement is the vehicle's speed at the preset location and the vehicle's driving state during the driving process; the implementation method of S801 is as follows: for each driving trajectory, determine the vehicle's speed at the preset location and the vehicle's driving state during the driving process; determine the driving trajectory with the highest speed at the preset location and the most stable driving state as the target driving trajectory.
[0122] Optionally, prior to S801, based on road parameters, at least one driving trajectory of the vehicle on the road is predicted using a vehicle motion prediction model.
[0123] The road parameters include at least one of the following: the location of the road center point, the road width at the center point, and the location information of obstacles in the road. The vehicle motion prediction model is used to predict the vehicle's trajectory under its motion state.
[0124] In one possible implementation, the process of determining at least one driving trajectory can be as follows: Based on road parameters, determine the drivable range of the vehicle on the road. Based on the drivable range and trajectory constraints, constrain the vehicle motion prediction model to determine at least one driving trajectory.
[0125] The trajectory constraints include at least one of the following: vehicle motion state constraints and motion control parameter incremental constraints.
[0126] Specifically, the process of determining at least one driving trajectory is described above with reference to the embodiments shown in S1003-S1004, and will not be repeated here.
[0127] S802, Control the vehicle to travel along the target trajectory.
[0128] In one possible implementation, based on the target driving trajectory, the target control quantity of each actuator in the vehicle is determined, and the target control quantity is sent to each actuator in the vehicle through the chassis drive-by-wire system, so that each actuator executes the target control quantity to control the vehicle to drive according to the target driving trajectory.
[0129] Specifically, the process of controlling the vehicle to travel according to the target trajectory is described in the embodiments shown in S1101-S1102, and will not be repeated here.
[0130] Based on the above technical solution, the vehicle control method provided in this application determines a target driving trajectory from at least one driving trajectory based on target driving requirements. This at least one driving trajectory is the vehicle's driving trajectory on the road, predicted by a vehicle motion prediction model based on road parameters. The vehicle motion prediction model is used to predict the vehicle's driving trajectory under its motion state. Furthermore, the vehicle is controlled to drive according to the target driving trajectory. This technical solution can determine a suitable driving trajectory according to different target driving requirements, solving the problem that current trajectory planning schemes can only plan vehicle driving trajectories based on curvature, path distance, or some constraints, and cannot plan vehicle trajectories according to specific requirements, resulting in poor applicability. This improves the applicability of vehicle driving trajectory schemes and enables vehicles to drive according to target driving requirements.
[0131] As one possible embodiment of this application, combined with Figure 8 ,like Figure 9 As shown, prior to S801 above, the method for constructing a vehicle motion prediction model can be implemented through the following S901.
[0132] S901. Based on the vehicle's driving state parameters and motion control parameters, a vehicle motion prediction model is constructed.
[0133] Among them, the vehicle motion prediction model is used to predict the driving trajectory of the vehicle under motion conditions.
[0134] Optionally, the driving state parameters include at least one of the following: vehicle position information, longitudinal velocity, lateral velocity, vehicle heading angle, yaw rate, mass, longitudinal component of force on each wheel in the ground coordinate system, lateral component of force on each wheel in the ground coordinate system, vehicle moment of inertia, distance from vehicle center of gravity to front axle, distance from vehicle center of gravity to rear axle, front wheel track, rear wheel track, wheel angle, longitudinal force on the wheel in the wheel coordinate system, and lateral force on the wheel in the wheel coordinate system.
[0135] Optionally, motion control parameters may include at least one of the following: the vehicle's motor torque and the vehicle's wheel angle.
[0136] Optionally, when the vehicle is equipped with a first motor, a second motor, a third motor, a first steering device, and a second steering device, the motion control parameters specifically include at least one of the following: the torque of the first motor, the torque of the second motor, the torque of the third motor, the equivalent steering angle of the front wheel, the steering angle of the left rear wheel, and the steering angle of the right rear wheel.
[0137] The first motor drives the left front wheel and the right front wheel of the vehicle, the second motor drives the left rear wheel of the vehicle, and the third motor drives the right rear wheel of the vehicle; the first steering device controls the steering of the left rear wheel, and the second steering device controls the steering of the right rear wheel.
[0138] In one possible implementation, S901 can be implemented by: constructing a vehicle dynamics model based on driving state parameters; and constructing a vehicle motion prediction model based on the vehicle dynamics model and motion control parameters.
[0139] Specifically, the implementation process of S901 above is as shown in the embodiments shown in S1001-S1002, and will not be repeated here.
[0140] It should be noted that the rear-wheel independent steering system in this application can increase the vehicle's change speed, enhance the optimization potential of trajectory planning, and make the obtained trajectory more consistent with actual needs. Simultaneously, by applying different lateral forces and yaw moments to the vehicle through the rear-wheel steering device, the control effect of the vehicle is improved. Furthermore, based on the three-motor independent drive system, the torque of the left and right rear wheels driven by independent motors can generate additional yaw moments, further improving the control effect.
[0141] Therefore, based on the vehicle's steering system and independent drive system in this application, the obtained vehicle motion prediction model has a higher optimization potential when planning driving trajectories, thus making the obtained trajectory more in line with actual needs.
[0142] As one possible embodiment of this application, combined with Figure 9 ,like Figure 10 As shown, the vehicle motion prediction model constructed in S901 can be implemented through the following S1001-S1002.
[0143] S1001. Based on the driving state parameters, construct the vehicle dynamics model.
[0144] In one possible implementation, when the vehicle's drive configuration is a single front and dual rear (i.e., the vehicle is driven by a first motor, a second motor, and a third motor), and the steering system includes a front wheel steering device, a first steering device, and a second steering device, a vehicle dynamics model is established based on the vehicle's driving and steering systems.
[0145] Optionally, the vehicle dynamics model satisfies the following formula:
[0146]
[0147] Where X is the abscissa of the vehicle in the ground coordinate system, Y is the ordinate of the vehicle in the ground coordinate system, and v y For the vehicle's longitudinal velocity, v x φ is the vehicle's lateral velocity, φ is the vehicle's heading angle, ω is the yaw rate, m is the vehicle's mass, and X is the lateral velocity. ij The longitudinal component of the force on the wheel in the ground coordinate system, X fl The longitudinal component of the force on the left front wheel in the ground coordinate system, X fr The longitudinal component of the force on the right front wheel in the ground coordinate system, X rl Let X be the longitudinal component of the force acting on the left rear wheel in the ground coordinate system. rr Let y be the longitudinal component of the force acting on the right rear wheel in the ground coordinate system. ij The lateral component of the force acting on the wheel in the ground coordinate system, Y fl Let Y be the lateral component of the force acting on the left front wheel in the ground coordinate system. fr Let Y be the lateral component of the force acting on the right front wheel in the ground coordinate system. rl Let Y be the lateral component of the force acting on the left rear wheel in the ground coordinate system. rr Let I be the lateral component of the force acting on the right rear wheel in the ground coordinate system. z Let be the vehicle's moment of inertia, 'a' be the distance from the vehicle's center of gravity to the front axle, 'b' be the distance from the vehicle's center of gravity to the rear axle, and 't' be the distance from the vehicle's center of gravity to the rear axle. f For the front wheel track, t r Rear wheel track, δ ij For wheel turning angle, F xij The longitudinal force F acting on the wheel in the wheel coordinate system yij This represents the lateral force acting on the wheel in the wheel coordinate system.
[0148] S1002. Based on the vehicle dynamics model and motion control parameters, a vehicle motion prediction model is constructed.
[0149] In one example, motion control parameters are determined based on the vehicle's drive system and steering system.
[0150] The motion control parameters include the torque of the vehicle's first motor, the torque of the second motor, the torque of the third motor, the equivalent steering angle of the front wheel, the steering angle of the left rear wheel, and the steering angle of the right rear wheel.
[0151] Optionally, the motion control parameter u can be expressed as: u = [T f ,T rl ,T rr ,δ f ,δ rl ,δ rr ] T .
[0152] Among them, T fFor the vehicle's first motor torque, T rl For the torque of the second motor, T rr For the torque of the third motor, δ f The equivalent steering angle of the front wheel, δ rl Left rear wheel steering angle, δ rr This is the steering angle of the right rear wheel.
[0153] In one example, the vehicle dynamics model in S901 is represented as
[0154] Where x=[X,Y,φ,v] x ,v y ,ω] T , representing the driving state variable; Characterize the derivative with respect to x.
[0155] Furthermore, the vehicle dynamics model is linearized and discretized, and the motion control parameter u is converted into the form of wheel control increments to obtain the vehicle motion prediction model.
[0156] For example, the vehicle motion prediction model satisfies the following formula:
[0157]
[0158] Where ξ is the vehicle state variable; The coefficient matrix, is a constant matrix; Δu is the wheel control increment; k is the time step.
[0159] Optionally, the longitudinal force of the front wheels is determined based on the vehicle's first motor torque and the equivalent radius of the front wheels. The front wheel steering angle can be converted to the equivalent front wheel steering angle based on the vehicle design. The tire lateral force can be converted to the slip angle using an equivalent tire model. Examples 1-3 below illustrate how the longitudinal force of the wheels can be converted to the motor torque using an equivalent tire model.
[0160] Specifically, Example 1 mainly introduces the process of determining the longitudinal force of the front wheel; Example 2 mainly introduces the process of determining the longitudinal force of the left rear wheel; and Example 3 mainly introduces the process of determining the longitudinal force of the right rear wheel.
[0161] Example 1: Determine the longitudinal force of the front wheel based on the vehicle's first motor torque and the equivalent radius of the front wheel.
[0162] It should be noted that since the left and right front wheels are controlled by the same first motor, and their equivalent radii are the same, the longitudinal force on the left front wheel is the same as the longitudinal force on the right front wheel, and both can be determined by the equivalent radius of the front wheel and the torque of the first motor.
[0163] For example, front wheel F xf The longitudinal force satisfies the following formula:
[0164]
[0165] Among them, T f R is the torque of the vehicle's first motor. f The effective radius of the front wheel is given.
[0166] Example 2: Determine the longitudinal force of the left rear wheel based on the torque of the vehicle's second motor and the equivalent radius of the left rear wheel.
[0167] For example, the longitudinal force F of the left rear wheel xrl Satisfy the following formula:
[0168]
[0169] Among them, T rl R is the torque of the second motor. r Let be the equivalent radius of the rear wheel.
[0170] Example 3: Determine the longitudinal force of the right rear wheel based on the torque of the vehicle's third motor and the equivalent radius of the right rear wheel.
[0171] For example, the longitudinal force F of the right rear wheel xrr Satisfy the following formula:
[0172]
[0173] Among them, T rr R is the torque of the third motor. r Let be the equivalent radius of the rear wheel.
[0174] Based on the above technical solution, a vehicle dynamics model is constructed based on driving state parameters. A vehicle motion prediction model is then constructed based on the vehicle dynamics model and motion control parameters. This technical solution allows for the targeted creation of vehicle motion prediction models for the vehicle's drive system and steering system, facilitating subsequent trajectory planning based on these models.
[0175] As one possible embodiment of this application, such as Figure 10 As shown, the above-mentioned method for determining at least one driving trajectory can be implemented through the following steps S1003-S1004.
[0176] S1003. Based on road parameters, determine the drivable range of the vehicle on the road.
[0177] In one possible implementation, when the road is a road area where obstacles have been removed, S903 can be implemented as follows: Obtain the position of the vehicle's center of gravity. Establish a Cartesian coordinate system with the position of the vehicle's center of gravity as the origin, and perform corresponding coordinate transformations on the road parameters to determine the road parameters in the Cartesian coordinate system. Based on the road parameters in the Cartesian coordinate system and the maximum distance between the vehicle boundary and the center of gravity in the Y direction when the vehicle's heading angle is φ, determine the drivable range of the vehicle's center of gravity in the road.
[0178] Among them, the road parameter can be T t =[X t ,Y t W t ].
[0179] Specifically, X t ,Y t Indicates the location of the center point of the road. X t X represents the x-coordinate of the road's center point. t ={x t1 ,x t2 ,...,x tn};Y t Y represents the ordinate of the road's center point. t ={y t1 ,y t2 ,...,yt n} W t W represents the width of the road at its center point. t ={w t1 ,w t2 ,...,w tn}
[0180] In one example, the drivable range P of a vehicle on a road t Satisfy the following formula:
[0181]
[0182] It should be noted that D((x,y),(x ti ,y ti ),(x ti+1 ,y ti+1 The meaning of )) is the distance from point (x, y) to line segment (x). ti ,y ti ), (x ti+1 ,y ti+1 B is the perpendicular distance of φ; B is the maximum distance between the vehicle boundary and the centroid in the Y direction when the vehicle heading angle is φ.
[0183] In another possible implementation, S1003 can also be implemented as follows: Obtain the position of the vehicle's center of gravity. Establish a Cartesian coordinate system with the position of the vehicle's center of gravity as the origin, and perform corresponding coordinate transformations on the road parameters to determine the position coordinates of each center point in the road and the position coordinates of obstacles in the road under the Cartesian coordinate system. Based on the position coordinates of each center point in the road and the position coordinates of obstacles in the road under the Cartesian coordinate system, and the maximum distance between the vehicle boundary and the center of gravity in the Y direction when the vehicle's heading angle is φ, determine the drivable range of the vehicle's center of gravity in the road.
[0184] S1004. Based on the drivable range and trajectory constraints, constrain the vehicle motion prediction model to determine at least one driving trajectory.
[0185] Specifically, the drivable range is: {x,y,φ}∈P t .
[0186] Where x is the abscissa of the vehicle in the ground coordinate system, y is the ordinate of the vehicle in the ground coordinate system, and φ is the heading angle of the vehicle body.
[0187] Specifically, the trajectory constraints include at least one of the following: vehicle motion state constraints and motion control parameter incremental constraints.
[0188] The following sections will provide a detailed explanation of the vehicle motion state constraints using condition 1, and a detailed explanation of the motion control parameter increment constraints using condition 2.
[0189] Condition 1: Vehicle motion state constraints can be achieved through stability constraints and control limit constraints. Vehicle motion state constraints can be expressed by the following formula:
[0190] ξ min ≤ξ(k)≤ξ max
[0191] Where, ξ min ξ is the minimum value of each parameter in the preset vehicle state variables. max This represents the maximum value of each parameter in the preset vehicle state variables.
[0192] It should be noted that when each parameter in the vehicle state variables reaches its preset minimum value, the vehicle satisfies the stability constraints and is in a stable driving state. When each parameter in the vehicle state variables reaches its preset maximum value, the vehicle satisfies the control limit constraints and is in a driving limit state; if the maximum values of each parameter are exceeded, the vehicle is at risk of losing control.
[0193] Condition 2: Incremental constraints on motion control parameters are mainly determined through incremental limit constraints. For example:
[0194] ΔU min ≤ΔU(k)≤ΔU max
[0195] Where, ΔU min ΔU is the minimum value of the increment of the motion control parameter. max This represents the maximum value of the increment of the motion control parameters.
[0196] Based on the above technical solution, the drivable range of a vehicle on the road is determined based on road parameters. Based on the drivable range and trajectory constraints, the vehicle motion prediction model is constrained to determine at least one driving trajectory. The above technical solution can determine at least one driving trajectory through road constraints and trajectory constraints.
[0197] As one possible embodiment of this application, combined with Figure 8 ,like Figure 11 As shown, the process of controlling the vehicle to travel according to the target trajectory in S802 can be achieved through the following S1101-S1102.
[0198] S1101. Based on the target driving trajectory, determine the target control quantity of each actuator in the vehicle.
[0199] Among them, the target control quantity is the control quantity executed by the actuator when the vehicle is traveling along the target trajectory.
[0200] In one possible implementation, the process of S1101 can be achieved through the following steps 1-3.
[0201] Step 1: Obtain the real-time motion status of the vehicle.
[0202] In one example, vehicle information collected by various onboard sensors (e.g., inertial measurement unit, onboard camera, millimeter-wave radar, ultrasonic radar, lidar, etc.) is used to determine the real-time motion state of the vehicle through multi-sensor information fusion and a vehicle state estimation module.
[0203] It should be noted that during actual driving, vehicles may deviate from the target signal's trajectory. Therefore, based on the vehicle's real-time motion status, it is possible to monitor whether the vehicle deviates from the target trajectory.
[0204] Step 2: Based on the real-time motion state, the target driving trajectory is corrected by the vehicle motion prediction model to obtain the corrected target driving trajectory.
[0205] In one example, the target driving trajectory and its motion state are sent to the vehicle motion prediction model so that the model can correct the target driving trajectory based on the real-time motion state, thereby improving the accuracy of the vehicle during driving.
[0206] It should be noted that, based on real-time motion status, the target driving trajectory can be corrected in a timely manner if the vehicle deviates from the target driving trajectory.
[0207] Step 3: Based on the corrected target driving trajectory, determine the target control quantity of each actuator in the vehicle.
[0208] In one example, based on the objective function and the corrected target driving trajectory, the target control quantity of each actuator in the vehicle is determined through optimal quadratic programming.
[0209] Optionally, the objective function is determined by the trajectory tracking accuracy and the cost of control inputs. For example, the objective function J can be:
[0210]
[0211] Where, N p Q and R are weighting coefficients for predicting the step size.
[0212] S1102. The target control quantity is sent to each actuator in the vehicle through the chassis drive-by-wire system, so that each actuator executes the target control quantity to control the vehicle to drive according to the target driving trajectory.
[0213] In one example, a target control quantity is sent to the vehicle's chassis drive-by-wire system, and the chassis drive-by-wire system sends corresponding target control quantities to the vehicle's various actuators (e.g., various motors or various steering devices), so that each actuator can control the vehicle based on the target control quantity.
[0214] Furthermore, repeat steps S1101-S1102 until the vehicle reaches the test endpoint.
[0215] For example, such as Figure 12 As shown, based on the target driving trajectory and the real-time motion state of the vehicle fed back by the vehicle state estimation module, the vehicle motion prediction model updates and corrects the target control quantities executed by each actuator, and sends the updated and corrected target control quantities to the vehicle's chassis drive-by-wire system. This enables the vehicle's chassis drive-by-wire system (first motor control module, second motor control module, third motor control module, third steering device control module, first steering device control module, and second steering device control module) to send the updated and corrected target control quantities to each actuator in the vehicle, so that each actuator can control the vehicle based on the target control quantities.
[0216] The vehicle state estimation module also provides real-time feedback on the vehicle's motion status to the vehicle's chassis drive-by-wire system.
[0217] Based on the above technical solution, the target control quantity for each actuator in the vehicle is determined based on the target driving trajectory. The target control quantity is then sent to each actuator in the vehicle via the vehicle's chassis drive-by-wire system, causing each actuator to execute the target control quantity. This technical solution enables each actuator to execute the target control quantity, controlling the vehicle to travel along the target driving trajectory.
[0218] This application embodiment can divide the vehicle into functional modules or functional units according to the above method examples. For example, each function can be divided into its own functional modules or functional units, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules or functional units. The module or unit division in this application embodiment is illustrative and represents only one logical functional division; other division methods may be used in actual implementation.
[0219] like Figure 13 The diagram shown is a structural schematic of a vehicle control device 130 provided in an embodiment of this application. The vehicle control device 130 includes a communication unit 1301 and a processing unit 1302.
[0220] The processing unit 1302 is used to predict at least one driving trajectory of a vehicle on the road based on road parameters and a vehicle motion prediction model; the vehicle motion prediction model is used to predict the driving trajectory of a vehicle in motion.
[0221] The processing unit 1302 is also used to determine the target driving trajectory in at least one driving trajectory based on preset driving requirements.
[0222] In one possible implementation, the preset driving requirements include at least one of the following: the vehicle's driving speed is the maximum, the driving time is the shortest, the driving distance is the shortest, the curvature of the driving trajectory is the smallest, the driving state of the vehicle is the most stable during the driving process, and the similarity to the original driving trajectory is the highest.
[0223] In one possible implementation, when the preset driving requirement is that the vehicle's driving speed is the maximum at a preset location, the processing unit 1302 is specifically used to: determine the vehicle's driving speed at the preset location for each driving trajectory; and determine the driving trajectory with the maximum driving speed as the target driving trajectory.
[0224] In one possible implementation, the processing unit 1302 is further configured to: construct a vehicle motion prediction model based on the vehicle's driving state parameters and motion control parameters.
[0225] In one possible implementation, the processing unit 1302 is specifically used to: construct a vehicle dynamics model based on driving state parameters; and construct a vehicle motion prediction model based on the vehicle dynamics model and motion control parameters.
[0226] In one possible implementation, the processing unit 1302 is specifically used to: determine the drivable range of the vehicle on the road based on road parameters; and constrain the vehicle motion prediction model based on the drivable range and trajectory constraints to determine at least one driving trajectory.
[0227] In one possible implementation, the processing unit 1302 is further configured to determine the target control quantity of each actuator in the vehicle based on the target driving trajectory; the target control quantity is the control quantity executed by the actuator when the vehicle is driving according to the target driving trajectory; the communication unit 1301 is configured to send the target control quantity to each actuator in the vehicle through the chassis drive-by-wire system of the vehicle, so that each actuator executes the target control quantity.
[0228] In one possible implementation, the processing unit 1302 is specifically used to: instruct the communication unit to acquire the real-time motion state of the vehicle; based on the real-time motion state, correct the target driving trajectory through the vehicle motion prediction model to obtain the corrected target driving trajectory; and based on the corrected target driving trajectory, determine the target control quantity of each actuator in the vehicle.
[0229] In one possible implementation, the motion control parameters include at least one of the following: the vehicle's motor torque and the vehicle's wheel angle.
[0230] In one possible implementation, when the vehicle is equipped with a first motor, a second motor, a third motor, a first steering device, and a second steering device, the motion control parameters specifically include at least one of the following: the torque of the first motor, the torque of the second motor, the torque of the third motor, the equivalent steering angle of the front wheels, the steering angle of the left rear wheel, and the steering angle of the right rear wheel; wherein, the first motor is used to drive the left front wheel and the right front wheel of the vehicle, the second motor is used to drive the left rear wheel of the vehicle, and the third motor is used to drive the right rear wheel of the vehicle; the first steering device is used to control the steering of the left rear wheel, and the second steering device is used to control the steering of the right rear wheel.
[0231] In one possible implementation, the driving state parameters include at least one of the following: vehicle position information, longitudinal velocity, lateral velocity, vehicle heading angle, yaw rate, mass, longitudinal component of force on each wheel in the ground coordinate system, lateral component of force on each wheel in the ground coordinate system, vehicle moment of inertia, distance from vehicle center of mass to front axle, distance from vehicle center of mass to rear axle, front wheel track, rear wheel track, wheel angle, longitudinal force on the wheel in the wheel coordinate system, and lateral force on the wheel in the wheel coordinate system.
[0232] In one possible implementation, the road parameters include at least one of the following: the location of the road center point, the road width at the center point, and the location information of obstacles in the road.
[0233] In one possible implementation, the trajectory constraints include at least one of the following: vehicle motion state constraints and motion control parameter increment constraints.
[0234] In one possible implementation, the vehicle control unit 130 may further include a storage unit 1303. Figure 13 (shown in dashed box) The storage unit 1303 stores a program or instruction. When the processing unit 1302 executes the program or instruction, the vehicle control device 130 can execute the vehicle control method described in the above method embodiment.
[0235] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0236] This application provides a computer program product containing instructions that, when run on a computer, cause the computer to execute the vehicle control method described in the above method embodiments.
[0237] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the vehicle control method in the method flow shown in the above method embodiments.
[0238] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: electrical connections having one or more wires; portable computer disks; hard disks; random access memory (RAM); read-only memory (ROM); erasable programmable read-only memory (EPROM); registers; hard disks; optical fibers; portable compact disc read-only memory (CD-ROM); optical storage devices; magnetic storage devices; or any suitable combination thereof; or any other form of computer-readable storage medium known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may reside in an application-specific integrated circuit (ASIC). In the embodiments of this application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0239] Since the vehicle, computer-readable storage medium, and computer program product in the embodiments of this application can be applied to the above method, the technical effects that can be obtained can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.
[0240] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0241] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this disclosure can be achieved, and this is not limited herein.
[0242] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. 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 disclosure should be included within the scope of protection of this disclosure.
[0243] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0244] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0245] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for controlling a vehicle, characterized in that, The method includes: Based on road parameters, the drivable range of the vehicle in the road is determined; the road parameters include: the location of the road center point, the road width at the center point, and the location information of obstacles in the road. Based on the drivable range and trajectory constraints, the vehicle motion prediction model is constrained to determine at least one driving trajectory; the trajectory constraints include at least one of the following: vehicle motion state constraints and motion control parameter increment constraints; the at least one driving trajectory is the predicted driving trajectory of the vehicle on the road; the vehicle motion prediction model is used to predict the driving trajectory of the vehicle under its motion state. Based on the target driving requirements, a target driving trajectory is determined from the at least one driving trajectory; the target driving requirements include: the vehicle's driving speed is maximum at a preset position; Control the vehicle to travel along the target trajectory; The method further includes: Based on the vehicle's driving state parameters, a vehicle dynamics model is constructed. The vehicle dynamics model is linearized and discretized, and the motion control parameters are converted into wheel control increments to construct the vehicle motion prediction model. When the vehicle is equipped with a first motor, a second motor, a third motor, a first steering device, and a second steering device, the motion control parameters include: the torque of the first motor, the torque of the second motor, the torque of the third motor, the equivalent steering angle of the front wheel, the steering angle of the left rear wheel, and the steering angle of the right rear wheel. The first motor drives the left front wheel and the right front wheel of the vehicle, the second motor drives the left rear wheel of the vehicle, and the third motor drives the right rear wheel of the vehicle; the first steering device controls the steering of the left rear wheel, and the second steering device controls the steering of the right rear wheel.
2. The method according to claim 1, characterized in that, The step of determining the target driving trajectory among the at least one driving trajectory based on the target driving demand includes: For each driving trajectory, determine the degree of matching between the driving trajectory and the target driving requirement; The driving trajectory with the highest matching degree is determined as the target driving trajectory.
3. The method according to claim 1, characterized in that, The control of the vehicle to travel according to the target trajectory includes: Based on the target driving trajectory, the target control quantity of each actuator in the vehicle is determined; the target control quantity is the control quantity executed by the actuator when the vehicle is driving according to the target driving trajectory. The target control quantity is sent to each actuator in the vehicle through the chassis drive-by-wire system, so that each actuator executes the target control quantity to control the vehicle to travel according to the target driving trajectory.
4. The method according to claim 3, characterized in that, The step of determining the target control quantity of each actuator in the vehicle based on the target driving trajectory includes: Obtain the real-time motion status of the vehicle; Based on the real-time motion state, the target driving trajectory is corrected by the vehicle motion prediction model to obtain the corrected target driving trajectory. Based on the corrected target driving trajectory, the target control quantity of each actuator in the vehicle is determined.
5. The method according to any one of claims 1-3, characterized in that, The driving status parameters include at least one of the following: The vehicle's position information, longitudinal velocity, lateral velocity, vehicle heading angle, yaw rate, mass, longitudinal force on each wheel in the ground coordinate system, lateral force on each wheel in the ground coordinate system, vehicle moment of inertia, distance from the vehicle's center of gravity to the front axle, distance from the vehicle's center of gravity to the rear axle, front wheel track, rear wheel track, wheel angle, longitudinal force on the wheel in the wheel coordinate system, and lateral force on the wheel in the wheel coordinate system.
6. A vehicle, characterized in that, include: First motor, second motor, third motor, first steering device, second steering device, processor and communication interface; The first motor is used to drive the left front wheel and the right front wheel of the vehicle, the second motor is used to drive the left rear wheel of the vehicle, and the third motor is used to drive the right rear wheel of the vehicle. The first steering device is used to control the steering of the left rear wheel, and the second steering device is used to control the steering of the right rear wheel; The communication interface is coupled to the processor, which is used to run computer programs or instructions to implement the vehicle control method as described in any one of claims 1-5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed by a computer, enable the computer to perform the vehicle control method as described in any one of claims 1-5.
8. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed on a computer, cause the computer to perform the vehicle control method as described in any one of claims 1-5.
Citation Information
Patent Citations
Systems and methods for trajectory determination
CN109496288A
A vehicle driving track prediction method and device
CN109583151A
Conditional motion prediction
CN114120687A
