Vehicle control method and device, vehicle and storage medium

Through the control method of independent driving motors for each wheel, PID control is used to adjust wheel speed and torque, which solves the problem of difficult steering of traditional cars on narrow roads, improves the accuracy and stability of steering, and improves driving experience and safety. .

CN118544835APending Publication Date: 2024-08-27GREAT WALL MOTOR CO LTD
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202410817741.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

It is difficult for traditional cars to turn on narrow roads and their passability is poor, which affects the driving experience.

Method used

Using the control method of independent drive motor for each wheel, by obtaining the accelerator pedal opening, yaw angular velocity and rotation speed, and using PID control to adjust the wheel speed and torque, the vehicle can achieve precise steering and ensure rapid response and stability of the vehicle on narrow roads. sex.

Benefits of technology

It improves the vehicle's passability on narrow roads, reduces steering time, improves driving experience and safety, avoids sudden acceleration or braking, and reduces wheel wear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118544835A
    Figure CN118544835A
Patent Text Reader

Abstract

The invention provides a vehicle control method and device, a vehicle and a storage medium, the method is applied to the field of vehicles, and the method comprises the steps that under the condition that it is determined that the vehicle meets the in-situ steering condition, the accelerator pedal opening degree and the actual yaw velocity of the vehicle and the actual rotating speed of each wheel are obtained, determining a target yaw velocity corresponding to the opening degree of the accelerator pedal; pID control is conducted on the speed difference value of the target yaw velocity and the actual yaw velocity, and the wheel speed regulation and control quantity is obtained; for each wheel, determining a target rotation speed based on the wheel speed regulation quantity and the target yaw velocity, and determining a target torque of each wheel based on the target rotation speed and the actual rotation speed; and a driving motor corresponding to each wheel is controlled to output the target torque, so that the actual rotating speed reaches the target rotating speed. The method can accurately and stably control the steering of the vehicle, and improves the trafficability of the vehicle in a narrow road scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, a device, a vehicle and a storage medium for controlling a vehicle in the field of vehicles. Background Art

[0002] At present, vehicles have become an indispensable part of people's daily lives. People's requirements for vehicle driving experience are getting higher and higher. However, when traditional cars are driving on narrow roads, it takes a long time to operate and turn, and the operation is difficult and the passability is poor, which affects the travel experience of drivers and passengers. Summary of the invention

[0003] The present application provides a vehicle control method, device, vehicle and storage medium, which can accurately and stably control the steering of the vehicle and improve the vehicle's passability in narrow road scenarios.

[0004] In a first aspect, a vehicle control method is provided, in which each wheel is driven by an independent drive motor, the method comprising: when it is determined that the vehicle satisfies the on-the-spot turning condition, obtaining the accelerator pedal opening, the actual yaw angular velocity and the actual rotation speed of each wheel of the vehicle, and determining a target yaw angular velocity corresponding to the accelerator pedal opening; performing PID control on the speed difference between the target yaw angular velocity and the actual yaw angular velocity to obtain a wheel speed control amount; for each wheel, determining a target rotation speed based on the wheel speed control amount and the target yaw angular velocity, and determining a target torque for each wheel based on the target rotation speed and the actual rotation speed; controlling the drive motor corresponding to each wheel to output the target torque so that the actual rotation speed reaches the target rotation speed; wherein the output torques of the drive motors corresponding to the wheels on the same side of the vehicle have the same torque direction, and the output torques of the drive motors corresponding to the wheels on opposite sides have opposite torque directions.

[0005] The above technical solution, when it is determined that the vehicle meets the conditions for turning in place, accurately calculates the target yaw rate according to the accelerator pedal opening, and obtains the wheel speed control amount by performing PID control on the speed difference between the target yaw rate and the actual yaw rate, so as to adjust the rotation speed of the wheel in real time, so that the vehicle can quickly respond to the steering change, reduce delay and increase stability. According to the actual rotation speed and the target rotation speed of the wheel, the target torque of the wheel is determined, the wheel output can be accurately controlled, the power of the wheel is effectively distributed, the vehicle power control accuracy during steering is improved, the smooth transition of the vehicle is ensured, sudden acceleration or braking is avoided, and the riding experience of the user is improved. By controlling the output torque of the drive motor corresponding to the wheels on the same side of the vehicle to have the same torque direction, and the output torque of the drive motor corresponding to the wheels on the opposite sides to have the opposite torque direction, the user can realize the turning operation of the vehicle in place without turning the steering wheel, which solves the difficult problems of difficult steering, time-consuming steering and easy scratching of the vehicle in narrow road scenes, which is conducive to reducing the steering time of the vehicle and improving the passability of the vehicle in narrow road scenes.

[0006] In combination with the first aspect, in certain implementations of the first aspect, the target torque of each wheel is determined based on the target rotational speed and the actual rotational speed, including: performing PID control on the speed difference between the target rotational speed and the actual rotational speed to obtain a torque adjustment amount for driving each wheel to rotate; obtaining the actual torque of each wheel; and determining the target torque based on the actual torque and the torque adjustment amount.

[0007] The above technical solution, by applying the PID control strategy to the speed difference between the target rotation speed and the actual rotation speed, can quickly respond to various dynamic changes of the vehicle, making the vehicle more agile to control. The precise torque control can ensure the stability of the vehicle during the in-situ steering process and improve driving safety.

[0008] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the target rotation speed is determined based on the wheel speed control amount and the target yaw angular velocity, including: based on a pre-stored correspondence, determining an initial rotation speed corresponding to the target yaw angular velocity; adding the wheel speed control amount to the initial rotation speed to obtain the target rotation speed.

[0009] The above technical solution uses a pre-stored corresponding relationship to determine the initial rotation speed that matches the target yaw angular velocity, and adds the wheel speed control amount to the initial rotation speed to obtain the target rotation speed, so that when the vehicle is turning on the spot, it can more accurately control the vehicle's wheels to rotate at the target rotation speed according to the driver's intention, thereby improving control accuracy and reducing unnecessary wear on the wheels.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, when it is determined that the vehicle meets the on-the-spot turning conditions, the method also includes: determining the steering direction of the vehicle based on the received control instruction to perform an on-the-spot turning operation on the vehicle; and determining the target torque of each wheel based on the target rotation speed and the actual rotation speed, including: determining the target torque of each wheel based on the steering direction, the target rotation speed and the actual rotation speed.

[0011] In combination with the first aspect and the above-mentioned implementation manner, in some implementation manners of the first aspect, the vehicle includes a left wheel and a right wheel, the left wheel corresponds to a target rotational speed of the left wheel, and the right wheel corresponds to a target rotational speed of the right wheel, and the target torque of each wheel is determined based on the steering direction, the target rotational speed and the actual rotational speed, including: when the steering direction is determined to be clockwise, the target rotational speed is determined as the target rotational speed of the left wheel, and the target torque of the left wheel is determined based on the target rotational speed of the left wheel and the actual rotational speed of the left wheel; the negative value corresponding to the target rotational speed is determined as the target rotational speed of the right wheel, and the target torque of the right wheel is determined based on the target rotational speed of the right wheel and the actual rotational speed of the right wheel; when the steering direction is determined to be counterclockwise, the target rotational speed is determined as the target rotational speed of the right wheel, and the target torque of the right wheel is determined based on the target rotational speed of the right wheel and the actual rotational speed of the right wheel; the negative value corresponding to the target rotational speed is determined as the target rotational speed of the left wheel, and the target torque of the left wheel is determined based on the target rotational speed of the left wheel and the actual rotational speed of the left wheel.

[0012] The above technical solution determines the target rotation speeds of the left and right wheels respectively according to the steering direction, ensuring that the vehicle can quickly respond to the driver's steering intention and improving the response speed and accuracy. For example, when the vehicle turns clockwise, the target rotation speed is set as the target rotation speed of the left wheel, so that the vehicle turns left quickly, and the negative value of the target rotation speed is set as the target rotation speed of the right wheel, so that the right wheel rotates in the opposite direction to assist the vehicle in turning. Based on the difference between the actual rotation speed of the wheel and the target rotation speed, the target torque of the left and right wheels is adjusted, which can ensure that the vehicle remains stable when turning and reduce side slip and swing.

[0013] In combination with the first aspect and the above-mentioned implementation manner, in some implementation manners of the first aspect, the method also includes: when it is determined that the vehicle's on-the-spot steering function is in an on-state, obtaining the vehicle's brake pedal signal, current gear position, driving speed, steering wheel angle, actual rotation speed of each wheel, yaw angular velocity, and the road surface slope angle and road surface side slope angle at the vehicle's position; if the brake pedal signal indicates that the brake pedal is not depressed, the current gear position is forward gear or reverse gear, the driving speed is less than or equal to a preset speed threshold, the steering wheel angle is less than or equal to a preset angle, the actual rotation speed of each wheel is less than or equal to a preset rotation speed, the yaw angular velocity is less than or equal to a preset yaw angular velocity, the road surface slope angle is less than or equal to a preset slope angle, and the road surface side slope angle is less than or equal to a preset side slope angle, then it is determined that the vehicle meets the on-the-spot steering condition.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, after controlling the drive motor corresponding to each wheel to output the target torque so that the actual rotation speed reaches the target rotation speed, the method also includes: if the vehicle's brake pedal signal indicates that the brake pedal is stepped on, the current gear is the parking gear or the neutral gear, the driving speed is greater than the preset speed threshold, the steering wheel angle is greater than the preset angle, the actual rotation speed of at least one wheel is greater than the preset rotation speed, the lateral and longitudinal accelerations are greater than the preset accelerations, the yaw angular velocity is greater than the preset yaw angular velocity, the road surface slope angle at the vehicle's position is greater than the preset slope angle, and the road surface side slope angle is greater than the preset side slope angle, at least one of the following is satisfied, the vehicle is controlled to stop.

[0015] In a second aspect, a control device for a vehicle is provided, in which each wheel is driven by an independent drive motor, and the device comprises: an acquisition module, for acquiring the accelerator pedal opening, the actual yaw angular velocity and the actual rotation speed of each wheel of the vehicle, and determining the target yaw angular velocity corresponding to the accelerator pedal opening when it is determined that the vehicle satisfies the in-situ turning condition; a first control module, for performing PID control on the speed difference between the target yaw angular velocity and the actual yaw angular velocity to obtain a wheel speed control amount; a determination module, for determining a target rotation speed for each wheel based on the wheel speed control amount and the target yaw angular velocity, and determining a target torque for each wheel based on the target rotation speed and the actual rotation speed; a second control module, for controlling the drive motor corresponding to each wheel to output the target torque so that the actual rotation speed reaches the target rotation speed; wherein the output torques of the drive motors corresponding to the wheels on the same side of the vehicle have the same torque direction, and the output torques of the drive motors corresponding to the wheels on opposite sides have opposite torque directions.

[0016] In combination with the second aspect, in certain implementations of the second aspect, the determination module is specifically used to: perform PID control on the speed difference between the target rotation speed and the actual rotation speed to obtain a torque adjustment amount for driving each wheel to rotate; obtain the actual torque of each wheel; and determine the target torque based on the actual torque and the torque adjustment amount.

[0017] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the determination module is also specifically used to: determine the initial rotation speed corresponding to the target yaw angular velocity based on a pre-stored correspondence; add the wheel speed control amount to the initial rotation speed to obtain the target rotation speed.

[0018] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes a second determination module, which is specifically used to: determine the steering direction of the vehicle based on the received control instruction to perform an on-the-spot steering operation on the vehicle; the determination module is also specifically used to: determine the target torque of each wheel based on the steering direction, the target rotation speed and the actual rotation speed.

[0019] In combination with the second aspect and the above-mentioned implementation manner, in some implementation manners of the second aspect, the vehicle includes a left wheel and a right wheel, the left wheel corresponds to a target rotational speed of the left wheel, and the right wheel corresponds to a target rotational speed of the right wheel, and the determination module is further specifically used to: when it is determined that the steering direction is clockwise, determine the target rotational speed as the target rotational speed of the left wheel, and determine the target torque of the left wheel based on the target rotational speed of the left wheel and the actual rotational speed of the left wheel; determine the negative value corresponding to the target rotational speed as the target rotational speed of the right wheel, and determine the target torque of the right wheel based on the target rotational speed of the right wheel and the actual rotational speed of the right wheel; when it is determined that the steering direction is counterclockwise, determine the target rotational speed as the target rotational speed of the right wheel, and determine the target torque of the right wheel based on the target rotational speed of the right wheel and the actual rotational speed of the right wheel; determine the negative value corresponding to the target rotational speed as the target rotational speed of the left wheel, and determine the target torque of the left wheel based on the target rotational speed of the left wheel and the actual rotational speed of the left wheel.

[0020] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes a second acquisition module, which is specifically used to: when it is determined that the vehicle's on-the-spot steering function is in an on-state, obtain the vehicle's brake pedal signal, current gear position, driving speed, steering wheel angle, actual rotation speed of each wheel, yaw angular velocity, and the road surface slope angle and road surface side slope angle at the vehicle's position; if the brake pedal signal indicates that the brake pedal is not depressed, the current gear position is a forward gear or a reverse gear, the driving speed is less than or equal to a preset speed threshold, the steering wheel angle is less than or equal to a preset angle, the actual rotation speed of each wheel is less than or equal to a preset rotation speed, the yaw angular velocity is less than or equal to a preset yaw angular velocity, the road surface slope angle is less than or equal to a preset slope angle, and the road surface side slope angle is less than or equal to a preset side slope angle, then it is determined that the vehicle meets the on-the-spot steering condition.

[0021] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes a third control module, which is specifically used to: if the vehicle's brake pedal signal indicates that the brake pedal is stepped on, the current gear is the parking gear or the neutral gear, the driving speed is greater than the preset speed threshold, the steering wheel angle is greater than the preset angle, the actual rotation speed of at least one wheel is greater than the preset rotation speed, the lateral and longitudinal accelerations are greater than the preset accelerations, the yaw angular velocity is greater than the preset yaw angular velocity, the road surface slope angle at the vehicle's position is greater than the preset slope angle, and the road surface side slope angle is greater than the preset side slope angle, at least one of the following is satisfied, control the vehicle to stop.

[0022] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the vehicle control method in the first aspect and any possible implementation of the first aspect.

[0023] In a fourth aspect, a computer program product is provided, which includes: a computer program code, when the computer program code is run on a computer, the computer executes the vehicle control method in the above-mentioned first aspect and any possible implementation of the first aspect.

[0024] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle control method in the above-mentioned first aspect and any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a schematic flow chart of a vehicle control method provided in an embodiment of the present application;

[0026] Figure 2 It is a schematic diagram of a vehicle turning clockwise on the spot provided by an embodiment of the present application;

[0027] Figure 3 It is a schematic diagram of a vehicle turning counterclockwise on the spot provided by an embodiment of the present application;

[0028] Figure 4 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;

[0029] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0031] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0032] At present, vehicles have become an indispensable part of people's daily lives. People's requirements for vehicle driving experience are getting higher and higher. However, when traditional cars are driving on narrow roads, it takes a long time to operate and turn, and the operation is difficult and the passability is poor, which affects the travel experience of drivers and passengers.

[0033] In order to solve the above technical problems, the embodiment of the present application provides a vehicle control method, the execution subject of the method is a vehicle, specifically a vehicle controller in the vehicle, and each wheel in the vehicle is driven by an independent drive motor.

[0034] Figure 1 It is a schematic flow chart of a vehicle control method provided in an embodiment of the present application.

[0035] For example, Figure 1 As shown, the method 100 includes:

[0036] S101, when it is determined that the vehicle meets the on-the-spot turning condition, the accelerator pedal opening, the actual yaw angular velocity and the actual rotation speed of each wheel of the vehicle are obtained, and a target yaw angular velocity corresponding to the accelerator pedal opening is determined.

[0037] S102, performing PID control on the speed difference between the target yaw angular velocity and the actual yaw angular velocity to obtain a wheel speed control amount.

[0038] S103 , for each wheel, determining a target rotation speed based on the wheel speed control amount and the target yaw angular velocity, and determining a target torque for each wheel based on the target rotation speed and the actual rotation speed.

[0039] S104, controlling the drive motor corresponding to each wheel to output the target torque so that the actual rotation speed reaches the target rotation speed.

[0040] The output torques of the driving motors corresponding to the wheels on the same side of the vehicle have the same torque direction, while the output torques of the driving motors corresponding to the wheels on opposite sides have opposite torque directions.

[0041] In the embodiment of the present application, when it is determined that the vehicle meets the in-situ steering condition, the target yaw rate is accurately calculated according to the accelerator pedal opening, and the speed difference between the target yaw rate and the actual yaw rate is controlled by PID to obtain the wheel speed control amount, so that the rotation speed of the wheel can be adjusted in real time, so that the vehicle can quickly respond to the steering change, reduce delay, and increase stability. According to the actual rotation speed of the wheel and the target rotation speed, the target torque of the wheel is determined, the wheel output can be accurately controlled, the power of the wheel is effectively distributed, the vehicle power control accuracy during steering is improved, the smooth transition of the vehicle is ensured, sudden acceleration or braking is avoided, and the user's riding experience is improved. By controlling the output torque of the drive motor corresponding to the wheels on the same side of the vehicle to have the same torque direction, and the output torque of the drive motor corresponding to the wheels on the opposite sides to have the opposite torque direction, the user can realize the in-situ steering operation of the vehicle without turning the steering wheel, which solves the difficult problems of difficult steering, time-consuming steering, and easy scratching of the vehicle in narrow road scenes, which is conducive to reducing the time of vehicle steering and improving the vehicle's passability in narrow road scenes.

[0042] Below Figure 1 The implementation method of each step in the embodiment shown is specifically described:

[0043] As for the above S101, it can be understood that the above-mentioned turning on the spot can also be called turning on the spot, which means that the vehicle can be rotated significantly by the independent steering ability of the wheels when the vehicle hardly moves or has only a very small position change, thereby changing the direction of travel of the vehicle without controlling the vehicle to move forward or backward a long distance.

[0044] The accelerator pedal opening refers to the pressure or degree of depression of the accelerator pedal when the driver operates the accelerator pedal of the car. The accelerator pedal opening can be related to the throttle valve or the throttle valve opening, thereby controlling the air flow of the air and fuel mixture entering the engine, affecting the power output of the engine and the acceleration of the vehicle.

[0045] The above yaw rate is also called roll rate or yaw rate. In the field of vehicles, it refers to the angular velocity of the vehicle around its vertical axis (usually along the longitudinal axis of the vehicle, i.e., the Z axis). In other words, the yaw rate is a measure of how fast the vehicle rotates around its longitudinal axis while driving, especially when turning. The unit of yaw rate is usually radians per second (rad / s), which indicates the angle change of the vehicle's rotation per second.

[0046] The actual rotation speed of the wheel is the actual rotation circumference of the wheel per second (such as degrees or radians), which is usually converted into units such as meters per second or kilometers per hour to be quantified and can correspond to the vehicle speed. It can usually be obtained through a wheel speed sensor, such as a Hall effect sensor or a magnetic sensor, which can be installed on the wheel axle, and measures the magnetic field changes generated by the wheel rotation and converts the magnetic field changes into electrical signals to calculate the actual rotation speed of the wheel.

[0047] In some embodiments, a vehicle user can initiate a control instruction to turn the vehicle on the spot. When the vehicle controller (also called the vehicle control unit) receives the instruction to turn the vehicle on the spot, it can first determine whether the vehicle currently meets the conditions for turning on the spot, that is, determine whether the conditions for turning the vehicle on the spot are met.

[0048] For example, when receiving an instruction to perform an in-place steering operation on a vehicle, the vehicle controller may obtain multiple operating parameters of the current vehicle and determine whether the multiple operating parameters meet the conditions for performing an in-place steering operation on the vehicle. If it is determined that the multiple operating parameters meet the conditions for performing an in-place steering operation on the vehicle, the in-place steering operation may be performed on the vehicle; if it is determined that the multiple operating parameters do not meet the conditions for performing an in-place steering operation on the vehicle, a prompt message may be sent to inform the user of the reason why the in-place steering operation cannot be performed on the vehicle.

[0049] It can be understood that the multiple operating parameters of the above-mentioned vehicle can be relevant operating parameters when the vehicle is turned on the spot, such as brake pedal signal, gear signal, vehicle speed signal, steering wheel angle signal, road slope angle, road side slope angle, four-wheel speed and yaw angular velocity and other parameters.

[0050] In a possible implementation, the method also includes: when it is determined that the vehicle's on-the-spot steering function is in an on-state, obtaining the vehicle's brake pedal signal, current gear position, driving speed, steering wheel angle, actual rotation speed of each wheel, yaw angular velocity, and the road surface slope angle and road side slope angle at the vehicle's position; if the brake pedal signal indicates that the brake pedal is not depressed, the current gear position is forward gear or reverse gear, the driving speed is less than or equal to a preset speed threshold, the steering wheel angle is less than or equal to a preset angle, the actual rotation speed of each wheel is less than or equal to the preset rotation speed, the yaw angular velocity is less than or equal to the preset yaw angular velocity, the road surface slope angle is less than or equal to the preset slope angle, and the road surface side slope angle is less than or equal to the preset side slope angle, then it is determined that the vehicle meets the on-the-spot steering condition.

[0051] It can be understood that the on-the-spot steering function of the above-mentioned vehicle can be understood as receiving an instruction to perform an on-the-spot steering operation on the vehicle.

[0052] Furthermore, when it is determined that the on-the-spot steering function is in the turned-on state, the operating parameters of the above-mentioned vehicle can be obtained, including the brake pedal signal, the current gear position, the driving speed, the steering wheel angle, the actual rotation speed of each wheel, the yaw angular velocity, and the road surface slope angle and road surface side slope angle at the vehicle's position.

[0053] It can be understood that by obtaining the operating parameters of the above-mentioned vehicle, it is possible to determine whether the current state of the vehicle is suitable for turning on the spot. For example, if the current speed of the vehicle is too fast and the vehicle cannot be accurately controlled, the vehicle cannot be turned on the spot.

[0054] Exemplarily, the preset speed threshold, preset turning angle, preset rotation speed, preset yaw angular velocity, preset slope angle and preset slope angle can be set according to actual needs, such as setting the preset speed threshold to 2 km / h, the preset turning angle to 5 degrees, the preset rotation speed to 2 km / h, the preset yaw angular velocity to 2 rad / s, the preset slope angle to 5 degrees, and the preset slope angle to 5 degrees.

[0055] Furthermore, the brake pedal signal indicates that the brake pedal is not depressed, indicating that the driver of the vehicle is not currently braking. At this time, the vehicle can be accelerated freely or the power distribution can be adjusted to perform the on-the-spot steering function;

[0056] The current gear is a forward gear or a reverse gear, which means that the driver of the vehicle currently has no intention to park or stop the vehicle, and the vehicle is currently allowed to move forward or backward, and the vehicle can be controlled to turn on the spot;

[0057] The above driving speed is less than or equal to the preset speed threshold, which indicates that the driving speed of the vehicle is relatively low, and is suitable for precise control of the vehicle, and the vehicle can be turned on the spot;

[0058] If the steering wheel angle is less than or equal to the preset angle, it means that the vehicle is not oversteering and is suitable for on-site steering.

[0059] The actual rotation speed of each of the above wheels is less than or equal to the preset rotation speed, which means that the actual rotation speed of the wheel is low, which is convenient for precise control of the vehicle and suitable for on-the-spot steering of the vehicle;

[0060] The yaw angular velocity is less than or equal to the preset yaw angular velocity, indicating that the vehicle body is relatively stable and will not swing excessively, which facilitates the on-the-spot steering operation of the vehicle;

[0061] The above road slope is less than or equal to the preset slope angle, indicating that the current vehicle is located at a moderate slope, not steep, which is convenient for ensuring the power distribution of the vehicle and suitable for on-the-spot steering of the vehicle;

[0062] The above road slope angle is less than or equal to the preset slope angle, which means that the current slope is moderate, the vehicle will not slide, the vehicle is easy to control, and it is suitable for on-the-spot steering of the vehicle.

[0063] In summary, when it is determined that the above conditions are met, the vehicle is in an ideal control state and the vehicle can be turned on the spot safely and effectively.

[0064] Furthermore, when it is determined that the vehicle meets the conditions for turning on the spot, it means that the vehicle's turning on the spot function can be enabled normally, and the user can usually select the steering direction of the vehicle and control the throttle opening by stepping on the accelerator pedal.

[0065] It can be understood that the target yaw rate of the vehicle and the target rotation speed of the wheels can be obtained by acquiring the opening degree of the accelerator pedal.

[0066] For example, a first correspondence relationship between the accelerator pedal opening and the yaw rate may be stored in the vehicle. After obtaining the current accelerator pedal opening of the vehicle, the first correspondence relationship may be queried to determine the target yaw rate corresponding to the accelerator pedal opening.

[0067] Furthermore, when it is determined that the vehicle meets the on-the-spot turning condition, the actual yaw angular velocity of the vehicle and the actual rotation speed of the wheels may be obtained to determine the target rotation speed of the wheels.

[0068] As for the above S102 , it can be understood that, based on the above obtained target yaw angular velocity and the acquired actual yaw angular velocity, a speed difference between the target yaw angular velocity and the actual yaw angular velocity can be obtained.

[0069] Furthermore, the PID control of the speed difference between the target yaw angular velocity and the actual yaw angular velocity is usually implemented based on a PID controller.

[0070] It should be understood that the PID controller, full name Proportional Integral Derivative controller, is a basic algorithm widely used in feedback control systems in the field of automatic control. The PID controller continuously compares the actual output of the system with the set target value (expected value), calculates and outputs a control signal to reduce or eliminate the error between the two.

[0071] Exemplarily, the PID controller can adjust and output a control signal, namely the wheel speed control amount, based on the input speed difference through three parameters (P immediate reaction error, I cumulative error, and D predicted error change trend).

[0072] It can be understood that the PID controller outputs a wheel speed control amount based on the input speed difference. The wheel speed control amount can be used to adjust the rotation speed of the wheel, and adjusting the rotation speed of the wheel can indirectly affect the yaw rate, thereby reducing the difference between the target yaw rate and the actual yaw rate.

[0073] Furthermore, the target rotation speed corresponding to each wheel may be determined based on the obtained target yaw angular velocity and the wheel speed control amount output by the PID controller.

[0074] For the above S103, illustratively, there may be a second corresponding relationship between the above target yaw angular velocity and the rotation speed of the wheel, and the second corresponding relationship may also be stored in the vehicle.

[0075] In a possible implementation, the target rotation speed is determined based on the wheel speed control amount and the target yaw angular velocity, including: determining an initial rotation speed corresponding to the target yaw angular velocity based on a pre-stored correspondence; and adding the wheel speed control amount to the initial rotation speed to obtain the target rotation speed.

[0076] It can be understood that after the target yaw rate is determined, the initial rotation speed of each wheel corresponding to the target yaw rate can be determined based on a pre-stored correspondence, ie, a second correspondence between the target yaw rate and the rotation speed.

[0077] As mentioned above, the wheel speed control amount is used to adjust the rotation speed of the wheel. Since the rotation speed of the wheel can indirectly affect the yaw rate, the actual yaw rate of the vehicle can be made closer to the target yaw rate by adjusting and correcting the rotation speed of the wheel.

[0078] Exemplarily, the target rotation speed of each wheel may be obtained by adding the above-determined initial rotation speed of each wheel to the wheel speed control amount.

[0079] It should be understood that the above-mentioned target rotation speed, initial rotation speed and wheel speed control amount are all positive numbers.

[0080] The above method uses a pre-stored corresponding relationship to determine an initial rotation speed that matches the target yaw angular velocity, and adds the wheel speed control amount to the initial rotation speed to obtain the target rotation speed, so that when the vehicle is turning on the spot, it can more accurately control the vehicle's wheels to rotate at the target rotation speed according to the driver's intention, thereby improving control accuracy and reducing unnecessary wear on the wheels.

[0081] Further, as mentioned above, when it is determined that the vehicle meets the on-the-spot steering condition, it means that the on-the-spot steering function of the vehicle can be normally enabled, and the user can usually select the steering direction of the vehicle. The vehicle controller can also determine the target torque of each wheel based on the steering direction of the vehicle.

[0082] In one possible implementation, when it is determined that the vehicle meets the conditions for turning on the spot, the method also includes: determining the steering direction of the vehicle based on a received control instruction to perform an on-the-spot turning operation on the vehicle; and determining the target torque of each wheel based on the target rotation speed and the actual rotation speed, including: determining the target torque of each wheel based on the steering direction, the target rotation speed and the actual rotation speed.

[0083] It is understandable that the above-received control instruction for performing an on-the-spot steering operation on the vehicle may generally be initiated by the user of the vehicle after turning on the on-the-spot steering function of the vehicle.

[0084] For example, after the user of the vehicle turns on the on-the-spot turning function of the vehicle, it can be determined whether the vehicle meets the on-the-spot turning conditions. If it is determined that the vehicle meets the on-the-spot turning conditions, the user can be prompted on the central control screen of the vehicle to select clockwise on-the-spot turning or counterclockwise on-the-spot turning by shifting gears. For example, the user controls the gear position of the vehicle to be in the forward gear to determine that the vehicle performs a clockwise on-the-spot turning; the user controls the gear position of the vehicle to be in the reverse gear to determine that the vehicle performs a counterclockwise on-the-spot turning.

[0085] Further, after the steering direction of the vehicle is determined, the target rotational speed of each wheel of the vehicle and the target torque of each wheel may be determined based on the steering direction, the target rotational speed and the actual rotational speed.

[0086] In one possible implementation, the target torque of each wheel is determined based on the target rotational speed and the actual rotational speed, including: performing PID control on the speed difference between the target rotational speed and the actual rotational speed to obtain a torque adjustment amount for driving each wheel to rotate; obtaining the actual torque of each wheel; and determining the target torque based on the actual torque and the torque adjustment amount.

[0087] It can be understood that, for each wheel, the difference between the target rotational speed of the wheel and the actual rotational speed obtained by real-time monitoring, i.e., the speed difference, is calculated, and the speed difference is used as the control target of the PID control, that is, the speed difference between the target rotational speed and the actual rotational speed is used as the input of the PID controller, and the PID controllers are controlled in parallel on each wheel of the vehicle respectively to determine the torque adjustment amount for driving each wheel to rotate, and then the current actual torque of each wheel and the torque adjustment amount are added to determine the target torque of each wheel.

[0088] The above method, by applying the PID control strategy to the speed difference between the target rotation speed and the actual rotation speed, can quickly respond to various dynamic changes of the vehicle, making the vehicle more agile to control. The precise torque control can ensure the stability of the vehicle during the in-situ steering process and improve driving safety.

[0089] Exemplarily, the vehicle may include a left wheel and a right wheel, the left wheel corresponds to a target rotational speed of the left wheel, and the right wheel corresponds to a target rotational speed of the right wheel.

[0090] In one possible implementation, the target torque of the wheel is determined based on the steering direction, the target rotation speed and the actual rotation speed, including: when the steering direction is determined to be clockwise, the target rotation speed is determined as the target rotation speed of the left wheel, and based on the target rotation speed of the left wheel and the actual rotation speed of the left wheel, the target torque of the left wheel is determined; the negative value corresponding to the target rotation speed is determined as the target rotation speed of the right wheel, and based on the target rotation speed of the right wheel and the actual rotation speed of the right wheel, the target torque of the right wheel is determined.

[0091] It can be understood that when the turning direction of the vehicle is determined to be clockwise, the vehicle is usually turning right, and in order to drive the vehicle to turn right, the left wheel needs to move outward relative to the center of the vehicle to drive the vehicle to rotate around a center point. In order to ensure that the left wheel provides sufficient torque to drive the vehicle to turn right, the target rotation speed can be determined as the target rotation speed of the left wheel.

[0092] Furthermore, the speed difference between the target rotational speed of the left wheel and the actual rotational speed of the left wheel can be used as a control target of the PID, that is, the speed difference between the target rotational speed of the left wheel and the actual rotational speed of the left wheel is used as the input of the PID controller, the torque adjustment amount of the left wheel is output, and the target torque of the left wheel is determined based on the torque adjustment amount and the current torque of the left wheel.

[0093] When the steering direction of the vehicle is clockwise, the right wheels of the vehicle should rotate in the opposite direction to assist the vehicle in steering, so the negative value corresponding to the target rotation speed can be determined as the actual rotation speed of the right wheels.

[0094] Further, similarly to the previous text, the speed difference between the target rotational speed of the right wheel and the actual rotational speed of the right wheel can be used as the control target of the PID, that is, the speed difference between the target rotational speed of the right wheel and the actual rotational speed of the right wheel is used as the input of the PID controller, the torque adjustment amount of the right wheel is output, and the target torque of the right wheel is determined based on the torque adjustment amount and the current torque of the right wheel.

[0095] In another possible implementation, the target torque of each wheel is determined based on the steering direction, the target rotation speed and the actual rotation speed, including: when the steering direction is determined to be counterclockwise, the target rotation speed is determined as the target rotation speed of the right wheel, and the target torque of the right wheel is determined based on the target rotation speed of the right wheel and the actual rotation speed of the right wheel; the negative value corresponding to the target rotation speed is determined as the target rotation speed of the left wheel, and the target torque of the left wheel is determined based on the target rotation speed of the left wheel and the actual rotation speed of the left wheel.

[0096] It can be understood that, similar to the above, when the turning direction of the vehicle is determined to be counterclockwise, the vehicle usually turns left, and in order to drive the vehicle to turn left, the right wheels of the vehicle need to move outward relative to the center of the vehicle to drive the vehicle to rotate around a center point. Therefore, the target rotation speed can be determined as the target rotation speed of the right wheels.

[0097] Further, similarly to the previous text, the speed difference between the target rotational speed of the right wheel and the actual rotational speed of the right wheel can be used as the control target of the PID, that is, the speed difference between the target rotational speed of the right wheel and the actual rotational speed of the right wheel is used as the input of the PID controller, the torque adjustment amount of the right wheel is output, and the target torque of the right wheel is determined based on the torque adjustment amount and the current torque of the right wheel.

[0098] When it is determined that the turning direction of the vehicle is counterclockwise, the left wheel of the vehicle needs to move inward relative to the center of the vehicle, that is, the left wheel needs to rotate backward relative to the forward direction of the vehicle to perform negative assistance. Therefore, the negative value corresponding to the target rotation speed can be determined as the target rotation speed of the left wheel.

[0099] Furthermore, the speed difference between the target rotational speed of the left wheel and the actual rotational speed of the left wheel can be used as a control target of the PID, that is, the speed difference between the target rotational speed of the left wheel and the actual rotational speed of the left wheel is used as the input of the PID controller, the torque adjustment amount of the left wheel is output, and the target torque of the left wheel is determined based on the torque adjustment amount and the current torque of the left wheel.

[0100] The above method determines the target rotation speeds of the left and right wheels respectively according to the steering direction, ensuring that the vehicle can quickly respond to the driver's steering intention and improving the response speed and accuracy. For example, when the vehicle turns clockwise, the target rotation speed is set as the target rotation speed of the left wheel, so that the vehicle turns left quickly, and the negative value of the target rotation speed is set as the target rotation speed of the right wheel, so that the right wheel rotates in the opposite direction to assist the vehicle in turning. Based on the difference between the actual rotation speed of the wheel and the target rotation speed, the target torque of the left and right wheels is adjusted to ensure that the vehicle remains stable when turning and reduce side slip and swing.

[0101] Further, after the target rotation speed of each of the above wheels is determined, the target torque of the wheel can be determined based on the target rotation speed and the actual rotation speed of the wheel.

[0102] Regarding the above S104, it can be understood that since each wheel in the vehicle is driven by an independent drive motor, for each wheel, after obtaining the target torque of the drive motor corresponding to each wheel, the torque output by the drive motor corresponding to each wheel can be controlled to reach the target torque, that is, the drive motor corresponding to each wheel is controlled to output the target torque, so that the actual rotation speed of each wheel can be controlled to reach the corresponding target rotation speed.

[0103] As mentioned above, the output torques of the drive motors corresponding to the wheels on the same side of the vehicle have the same torque direction, and the output torques of the drive motors corresponding to the wheels on opposite sides have opposite torque directions.

[0104] For example, Figure 2 As shown, the front wheels of the vehicle include a left front wheel Q1 and a right front wheel Q2, and the rear wheels include a left rear wheel H1 and a right rear wheel H2. Each of the left front wheel Q1, the right front wheel Q2, the left rear wheel H1 and the right rear wheel H2 is driven by an independent drive motor, that is, the left front wheel Q1 is driven by a corresponding drive motor, the right front wheel Q2 is driven by a corresponding drive motor, the left rear wheel H1 is driven by a corresponding drive motor, and the right rear wheel H2 is driven by a corresponding drive motor.

[0105] The left front wheel Q1 and the left rear wheel H1 are wheels on the same side, the right front wheel Q2 and the right front wheel Q2 are wheels on the same side, the left front wheel Q1 and the right front wheel Q2 are wheels on opposite sides, and the left rear wheel H1 and the right rear wheel H2 are wheels on opposite sides. The target torques output by the drive motors corresponding to the left front wheel Q1 and the left rear wheel H1 have the same torque direction, the target torques output by the drive motors corresponding to the right front wheel Q2 and the right rear wheel H2 have the same torque direction, and the target torques output by the drive motors corresponding to the left front wheel Q1 and the left rear wheel H1 have opposite torque directions to the target torques output by the drive motors corresponding to the right front wheel Q2 and the right rear wheel H2.

[0106] Furthermore, the vehicle's moving direction can be defined as the forward direction, called the positive direction, and the direction opposite to the vehicle's moving direction can be defined as the backward direction, called the negative direction. Figure 2 As shown, for example, the vehicle is turning in place in a clockwise direction: the torque direction of the target torque output by the drive motor corresponding to the left front wheel Q1 and the left rear wheel H1 is the positive direction, and the torque direction of the target torque output by the drive motor corresponding to the right front wheel Q2 and the right rear wheel H2 is the negative direction. When the torque direction of the target torque output by the drive motor corresponding to the left front wheel Q1 and the left rear wheel H1 is the positive direction, and the torque direction of the target torque output by the drive motor corresponding to the right front wheel Q2 and the right rear wheel H2 is the negative direction, the left front wheel Q1 and the left rear wheel H1 rotate in a counterclockwise direction, the right front wheel Q2 and the right rear wheel H2 rotate in a clockwise direction, and the actual rotation speeds of the left front wheel Q1, the left rear wheel H1, the left front wheel Q1 and the left rear wheel H1 all reach the target rotation speed, thereby realizing the vehicle turning in place in a clockwise direction.

[0107] For example, Figure 2 As shown, when the steering direction of the vehicle is clockwise, the target torque T corresponding to the left front wheel Q1 is fl The target torque T corresponding to the left rear wheel H1 rl is a positive value; the target torque T corresponding to the right front wheel Q2 fr The target torque T corresponding to the right rear wheel H2 rr Is a negative value.

[0108] Furthermore, if Figure 3As shown, if the vehicle is turning in place in the counterclockwise direction: the torque direction of the target torque output by the drive motor corresponding to the left front wheel Q1 and the left rear wheel H1 is negative, and the torque direction of the target torque output by the drive motor corresponding to the right front wheel Q2 and the right rear wheel H2 is positive. When the torque direction of the target torque output by the drive motor corresponding to the left front wheel Q1 and the left rear wheel H1 is negative, and the torque direction of the target torque output by the drive motor corresponding to the right front wheel Q2 and the right rear wheel H2 is positive, the left front wheel Q1 and the left rear wheel H1 rotate in the clockwise direction, the right front wheel Q2 and the right rear wheel H2 rotate in the counterclockwise direction, and the actual rotation speeds of the left front wheel Q1, the left rear wheel H1, the left front wheel Q1 and the left rear wheel H1 all reach the target rotation speed, thereby realizing the vehicle turning in place in the counterclockwise direction.

[0109] For example, Figure 3 As shown, when the steering direction of the vehicle is counterclockwise, the target torque T corresponding to the left front wheel Q1 is fl The target torque T corresponding to the left rear wheel H1 rl is a negative value; the target torque T corresponding to the right front wheel Q2 fr The target torque T corresponding to the right rear wheel H2 rr Is a positive value.

[0110] Furthermore, after controlling the drive motor corresponding to the wheel to output the target torque, the vehicle controller can continuously monitor the operating parameters of the vehicle, and control the vehicle to exit the on-the-spot steering function when the operating parameters of the vehicle do not meet the on-the-spot steering conditions.

[0111] In one possible implementation, after controlling the drive motor corresponding to each wheel to output the target torque so that the actual rotational speed reaches the target rotational speed, the method also includes: if the vehicle's brake pedal signal indicates that the brake pedal is stepped on, the current gear is parking or neutral, the driving speed is greater than a preset speed threshold, the steering wheel angle is greater than a preset angle, the actual rotational speed of at least one wheel is greater than the preset rotational speed, the lateral and longitudinal accelerations are greater than the preset accelerations, the yaw angular velocity is greater than the preset yaw angular velocity, the road surface slope angle at the vehicle's position is greater than the preset slope angle, and the road surface side slope angle is greater than the preset side slope angle, at least one of the following conditions is satisfied, the vehicle is controlled to stop.

[0112] It is understandable that in the process of controlling the vehicle to turn in place, the operating parameters of the vehicle are monitored in real time, including brake pedal signal, current gear position, driving speed, steering wheel angle, actual rotation speed of each wheel, lateral and longitudinal acceleration, yaw angular velocity, road surface slope angle and road surface side slope angle at the position of the vehicle. If the brake pedal signal indicates that the brake pedal is stepped on, the current gear position is parking gear or neutral gear, the driving speed is greater than the preset speed threshold, the steering wheel angle is greater than the preset angle, the actual rotation speed of at least one wheel is greater than the preset rotation speed, the lateral and longitudinal acceleration is greater than the preset acceleration, the yaw angular velocity is greater than the preset yaw angular velocity, the road surface slope angle is greater than the preset slope angle, and the road surface side slope angle is greater than the preset side slope angle, it means that the vehicle's turning in place condition is no longer met. If continuing to control the vehicle to turn in place will cause safety hazards, the vehicle is controlled to stop, thereby exiting the turning in place function.

[0113] In some embodiments, the actual operation steps for implementing vehicle in-situ steering corresponding to the vehicle control method provided in the embodiments of the present application are as follows:

[0114] Step 1: The driver turns on the vehicle's on-the-spot steering function through a switch;

[0115] Step 2: The vehicle prompts the driver to move the vehicle to a flat position, then return the steering wheel to the center, release the brake pedal, release the parking brake, and shift the gear to forward or reverse gear;

[0116] Step 3: After confirming with the driver that the operations in step 2 are all completed, the system prompts the driver to select a steering direction for turning on the spot, and prompts the driver to step on the accelerator pedal according to his / her needs, thereby adjusting the accelerator pedal opening;

[0117] Step 4: When it is detected that the vehicle's on-site turning condition is met, S101-S104 are executed to perform on-site turning control of the vehicle;

[0118] Step 5: When the vehicle approaches the target position, if a brake pedal signal is detected indicating that the brake pedal is depressed, the turn-on-place function off button is pressed, the door is opened, or the gear is in neutral or park, any of the operating parameters changes, the vehicle is controlled to stop and the turn-on-place function is exited.

[0119] In the above method, after turning on the vehicle's on-the-spot steering function, the driver can complete the corresponding operation according to the corresponding prompts, and can also adjust the accelerator pedal opening according to actual needs, accurately control the vehicle speed and steering force, achieve precise operation, and improve steering accuracy. At the same time, the vehicle detects whether the on-the-spot steering conditions are currently met. If it is determined that the on-the-spot steering conditions are met, the on-the-spot steering is completed to reduce the risk of human operation. When the vehicle approaches the target position, if it is determined that any operating parameter has changed, the on-the-spot steering function is safely stopped to ensure a smooth transition to the normal driving state, avoid the impact caused by the sudden stop of the vehicle, and improve the user experience.

[0120] Figure 4 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.

[0121] Exemplarily, each wheel in the vehicle is driven by an independent drive motor, such as Figure 4 As shown, the device 400 includes:

[0122] The acquisition module 401 is used to acquire the accelerator pedal opening, actual yaw rate and actual rotation speed of each wheel of the vehicle when it is determined that the vehicle meets the on-the-spot turning condition, and determine the target yaw rate corresponding to the accelerator pedal opening.

[0123] The first control module 402 is used to perform PID control on the speed difference between the target yaw angular velocity and the actual yaw angular velocity to obtain a wheel speed control amount.

[0124] The determination module 403 is used to determine a target rotation speed for each wheel based on the wheel speed control amount and the target yaw angular velocity, and to determine a target torque for each wheel based on the target rotation speed and the actual rotation speed.

[0125] The second control module 404 is used to control the driving motor corresponding to each wheel to output the target torque so that the actual rotation speed reaches the target rotation speed.

[0126] The output torques of the driving motors corresponding to the wheels on the same side of the vehicle have the same torque direction, while the output torques of the driving motors corresponding to the wheels on opposite sides have opposite torque directions.

[0127] In one possible implementation, the determination module is specifically used to: perform PID control on the speed difference between the target rotation speed and the actual rotation speed to obtain a torque adjustment amount for driving each wheel to rotate; obtain the actual torque of each wheel; and determine the target torque based on the actual torque and the torque adjustment amount.

[0128] In a possible implementation, the determination module is further specifically used to: determine an initial rotation speed corresponding to the target yaw angular velocity based on a pre-stored corresponding relationship; and add the wheel speed control amount to the initial rotation speed to obtain the target rotation speed.

[0129] Optionally, the device further comprises a second determination module, the second determination module being specifically configured to: determine the turning direction of the vehicle based on a received control instruction for performing an in-situ turning operation on the vehicle;

[0130] In a possible implementation, the determination module is further specifically used to determine the target torque of the wheel based on the steering direction, the target rotation speed and the actual rotation speed.

[0131] In a possible implementation, the vehicle includes a left wheel and a right wheel, the left wheel corresponds to a target rotational speed of the left wheel, and the right wheel corresponds to a target rotational speed of the right wheel, and the determination module is further specifically used to: when it is determined that the steering direction is clockwise, determine the target rotational speed as the target rotational speed of the left wheel, and determine the target torque of the left wheel based on the target rotational speed of the left wheel and the actual rotational speed of the left wheel; determine the negative value corresponding to the target rotational speed as the target rotational speed of the right wheel, and determine the target torque of the right wheel based on the target rotational speed of the right wheel and the actual rotational speed of the right wheel; when it is determined that the steering direction is counterclockwise, determine the target rotational speed as the target rotational speed of the right wheel, and determine the target torque of the right wheel based on the target rotational speed of the right wheel and the actual rotational speed of the right wheel; determine the negative value corresponding to the target rotational speed as the target rotational speed of the left wheel, and determine the target torque of the left wheel based on the target rotational speed of the left wheel and the actual rotational speed of the left wheel.

[0132] Optionally, the device also includes a second acquisition module, which is specifically used to: when it is determined that the vehicle's on-the-spot steering function is in an on-state, obtain the vehicle's brake pedal signal, current gear position, driving speed, steering wheel angle, actual rotation speed of each wheel, yaw angular velocity, and the road surface slope angle and road surface side slope angle at the vehicle's position; if the brake pedal signal indicates that the brake pedal is not depressed, the current gear position is forward gear or reverse gear, the driving speed is less than or equal to a preset speed threshold, the steering wheel angle is less than or equal to a preset angle, the actual rotation speed of each wheel is less than or equal to a preset rotation speed, the yaw angular velocity is less than or equal to a preset yaw angular velocity, the road surface slope angle is less than or equal to a preset slope angle, and the road surface side slope angle is less than or equal to a preset side slope angle, then it is determined that the vehicle meets the on-the-spot steering condition.

[0133] Optionally, the device also includes a third control module, which is specifically used to control the vehicle to stop if at least one of the following conditions is met: the brake pedal signal of the vehicle indicates that the brake pedal is stepped on, the current gear is the parking gear or the neutral gear, the driving speed is greater than a preset speed threshold, the steering wheel angle is greater than a preset angle, the actual rotation speed of at least one wheel is greater than a preset rotation speed, the lateral and longitudinal accelerations are greater than a preset acceleration, the yaw angular velocity is greater than a preset yaw angular velocity, the road surface slope angle at the vehicle's position is greater than a preset slope angle, and the road surface side slope angle is greater than a preset side slope angle.

[0134] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0135] For example, Figure 5 As shown, the vehicle 500 includes: a memory 501 and a processor 502, wherein the memory 501 stores an executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform a vehicle control method.

[0136] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.

[0137] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0138] In the case of dividing each functional module according to each function, the device may also include an acquisition module, a first control module, a determination module, a second control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0139] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0140] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes and data.

[0141] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0142] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.

[0143] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above embodiment.

[0144] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.

[0145] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0146] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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.

[0147] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0148] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle control method, characterized in that: Each wheel in the vehicle is driven by an independent drive motor, and the method comprises: When it is determined that the vehicle satisfies the on-the-spot turning condition, obtaining the accelerator pedal opening, the actual yaw rate and the actual rotation speed of each wheel of the vehicle, and determining a target yaw rate corresponding to the accelerator pedal opening; Performing PID control on the speed difference between the target yaw angular velocity and the actual yaw angular velocity to obtain a wheel speed control amount; For each wheel, determining a target rotation speed based on the wheel speed control amount and the target yaw rate, and determining a target torque for each wheel based on the target rotation speed and the actual rotation speed; Control the drive motor corresponding to each wheel to output the target torque so that the actual rotational speed reaches the target rotational speed; wherein, the output torques of the drive motors corresponding to the wheels on the same side of the vehicle have the same torque direction, and the output torques of the drive motors corresponding to the wheels on opposite sides have opposite torque directions.

2. The method according to claim 1, characterized in that The determining the target torque of each wheel based on the target rotation speed and the actual rotation speed comprises: Performing PID control on the speed difference between the target rotation speed and the actual rotation speed to obtain a torque adjustment amount for driving each wheel to rotate; Obtaining the actual torque of each wheel; The target torque is determined based on the actual torque and the torque adjustment amount.

3. The method according to claim 1, characterized in that The determining the target rotation speed based on the wheel speed control amount and the target yaw angular velocity includes: determining an initial rotation speed corresponding to the target yaw angular velocity based on a pre-stored corresponding relationship; The wheel speed control amount is added to the initial rotation speed to obtain the target rotation speed.

4. The method according to claim 1, characterized in that: In the case where it is determined that the vehicle meets the on-the-spot turning condition, the method further includes: Determining a steering direction of the vehicle based on a received control instruction to perform an in-situ steering operation on the vehicle; The determining the target torque of each wheel based on the target rotation speed and the actual rotation speed comprises: The target torque of each wheel is determined based on the steering direction, the target rotational speed, and the actual rotational speed.

5. The method according to claim 4, characterized in that The vehicle includes a left wheel and a right wheel, the left wheel corresponds to a target rotational speed of the left wheel, and the right wheel corresponds to a target rotational speed of the right wheel, and determining the target torque of each wheel based on the steering direction, the target rotational speed, and the actual rotational speed includes: In the case where it is determined that the steering direction is clockwise, the target rotation speed is determined as the target rotation speed of the left wheel, and based on the target rotation speed of the left wheel and the actual rotation speed of the left wheel, the target torque of the left wheel is determined; Determine the negative value corresponding to the target rotation speed as the target rotation speed of the right wheel, and determine the target torque of the right wheel based on the target rotation speed of the right wheel and the actual rotation speed of the right wheel; In the case where it is determined that the steering direction is counterclockwise, the target rotation speed is determined as the target rotation speed of the right wheel, and based on the target rotation speed of the right wheel and the actual rotation speed of the right wheel, the target torque of the right wheel is determined; A negative value corresponding to the target rotational speed is determined as the target rotational speed of the left wheel, and a target torque of the left wheel is determined based on the target rotational speed of the left wheel and the actual rotational speed of the left wheel.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: When it is determined that the on-the-spot steering function of the vehicle is in an on state, obtaining a brake pedal signal of the vehicle, a current gear position, a driving speed, a steering wheel angle, an actual rotation speed of each wheel, a yaw angular velocity, and a road surface slope angle and a road surface side slope angle at a position of the vehicle; If the brake pedal signal indicates that the brake pedal is not depressed, the current gear is forward gear or reverse gear, the driving speed is less than or equal to a preset speed threshold, the steering wheel angle is less than or equal to a preset angle, the actual rotation speed of each wheel is less than or equal to a preset rotation speed, the yaw angular velocity is less than or equal to a preset yaw angular velocity, the road surface slope angle is less than or equal to a preset slope angle, and the road surface side slope angle is less than or equal to a preset side slope angle, it is determined that the vehicle meets the on-the-spot turning condition.

7. The method according to any one of claims 1 to 5, characterized in that After controlling the drive motor corresponding to each wheel to output the target torque so that the actual rotation speed reaches the target rotation speed, the method further includes: If the vehicle's brake pedal signal indicates that the brake pedal is pressed, the current gear is parking or neutral, the driving speed is greater than a preset speed threshold, the steering wheel angle is greater than a preset angle, the actual rotation speed of at least one wheel is greater than a preset rotation speed, the lateral and longitudinal accelerations are greater than a preset acceleration, the yaw angular velocity is greater than a preset yaw angular velocity, the road surface slope angle at the vehicle's position is greater than a preset slope angle, and the road surface side slope angle is greater than a preset side slope angle, the vehicle is controlled to stop.

8. A vehicle control device, characterized in that: Each wheel in the vehicle is driven by an independent drive motor, and the device comprises: an acquisition module, for acquiring the accelerator pedal opening, the actual yaw rate and the actual rotation speed of each wheel of the vehicle when it is determined that the vehicle satisfies the on-the-spot turning condition, and determining a target yaw rate corresponding to the accelerator pedal opening; A first control module, configured to perform PID control on a speed difference between the target yaw angular velocity and the actual yaw angular velocity to obtain a wheel speed control amount; a determination module, configured to determine, for each wheel, a target rotation speed based on the wheel speed control amount and the target yaw rate, and determine a target torque for each wheel based on the target rotation speed and the actual rotation speed; The second control module is used to control the drive motor corresponding to each wheel to output the target torque so that the actual rotation speed reaches the target rotation speed; wherein, the output torques of the drive motors corresponding to the wheels on the same side of the vehicle have the same torque direction, and the output torques of the drive motors corresponding to the wheels on opposite sides have opposite torque directions.

9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Vehicle control method and vehicle controller for realizing pendulum type garage entering and exiting, and vehicle

    CN119568130A

  • Vehicle control method and system, vehicle and storage medium

    CN119659616A

  • Vehicle control method, system, vehicle, and storage medium

    CN119659616B

  • Vehicle control method and device, vehicle and storage medium

    CN119705111A

  • Vehicle control method, device, vehicle and storage medium

    CN119705111B