Vehicle control method and device, electronic equipment and medium
By obtaining and compensating for the zero-bias angle of the steering wheel, the accurate control of vehicle steering is achieved, which solves the problem of reduced vehicle control accuracy caused by zero-bias angle of the steering wheel and improves the vehicle control effect.
Patent Information
- Application Number
- CN202310558059.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2024-11-22
AI Technical Summary
During vehicle control, the zero deviation problem of steering wheel causes the steering wheel to be unable to accurately control the wheel steering, reducing the accuracy of vehicle control.
By obtaining the angle control command and the current steering wheel zero deviation angle, the zero deviation compensation process is performed, and the rotation of the steering wheel is controlled according to the angle to achieve accurate control of the vehicle steering.
It effectively solves the problem of zero deviation of the steering wheel, improves the accuracy and effect of vehicle control, and ensures that the vehicle can turn accurately.
Smart Images

Figure CN118991919A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control method, device, electronic equipment and medium. Background Art
[0002] Affected by factors such as angle sensor errors, there is a common problem of steering wheel zero offset during vehicle control. For example, when the steering wheel is controlled to zero degrees, the wheels turn slightly. The existence of the steering wheel zero offset problem will make the steering wheel unable to accurately control the steering of the wheels, reducing the accuracy of vehicle control.
[0003] As users' demands for vehicle driving safety continue to increase, it is necessary to provide a vehicle control method that can cope with the steering wheel zero offset problem. Summary of the invention
[0004] The embodiments of the present application provide a vehicle control method, device, electronic device and medium, which can address the problem of steering wheel zero offset, thereby improving the vehicle control effect.
[0005] In a first aspect, an embodiment of the present application provides a vehicle control method, comprising: obtaining a turning angle control instruction, wherein the turning angle control instruction includes a first turning angle, and the turning angle control instruction is used to control a first vehicle to have a steering that conforms to the first turning angle; obtaining a current steering wheel zero offset angle of the first vehicle; performing zero offset compensation processing based on the obtained steering wheel zero offset angle and the first turning angle to obtain a second turning angle; and controlling the rotation of the steering wheel of the first vehicle based on the second turning angle.
[0006] The embodiment of the present application performs zero bias compensation processing according to the zero bias acquired in real time, and uses the steering angle after zero bias compensation to control the rotation of the steering wheel, which can address the steering wheel zero bias problem and improve the vehicle control effect.
[0007] Optionally, the angle types of the first turning angle and the second turning angle are both steering wheel angles; performing zero offset compensation processing based on the acquired steering wheel zero offset angle and the first turning angle to obtain the second turning angle includes: obtaining the difference between the first turning angle and the acquired steering wheel zero offset angle as the second turning angle.
[0008] By doing so, accurate zero bias compensation can be achieved, thereby helping to accurately control the steering of the vehicle.
[0009] Optionally, obtaining the steering angle control instruction includes: obtaining a wheel steering angle instruction, the wheel steering angle instruction including a third steering angle, the angle type of the third steering angle being a wheel steering angle; obtaining the steering angle control instruction according to the third steering angle and pre-set first information; wherein the first information is used to describe the correspondence between the wheel steering angle and the steering wheel steering angle, and the third steering angle corresponds to the first steering angle.
[0010] In the case of zero steering wheel deviation, by controlling the steering wheel to have a second steering angle after deviation correction, the wheels of the vehicle can have a desired third steering angle, thereby achieving accurate control of the vehicle steering.
[0011] Optionally, obtaining the steering angle control instruction includes: obtaining the steering angle control instruction according to a vehicle kinematic model and an understeer coefficient of the first vehicle; wherein the vehicle kinematic model involves a vehicle heading angle, and a first-order derivative of the vehicle heading angle with respect to time is obtained according to the understeer coefficient, the vehicle speed and the wheel angle; wherein the understeer coefficient of the first vehicle makes the deviation between the first motion information set and the second motion information set meet a set deviation limit condition; the first motion information set includes actual motion information of the first vehicle or other vehicles having the same understeer coefficient as the first vehicle at a series of time points, and the second motion information set includes predicted motion information of the first vehicle or other vehicles at the series of time points obtained according to the understeer coefficient of the first vehicle.
[0012] Since the prediction of vehicle motion is based on an accurate vehicle understeer coefficient, accurate prediction of vehicle operation can be achieved, and the vehicle control effect can be improved based on accurate vehicle motion prediction.
[0013] Optionally, the independent variable of the first function for obtaining the understeering coefficient includes a first parameter and a second parameter; the understeering coefficient of the first vehicle is a value obtained by the first function when the first parameter takes a first value and the second parameter takes a second value, and the first value and the second value make the deviation between the first motion information set and the second motion information set meet the deviation limitation condition; the first function is k=C1 / (1+C2×v 2 );wherein, k represents the understeering coefficient, C1 represents the first parameter, C2 represents the second parameter, and v represents the vehicle speed.
[0014] Optionally, the deviation between the first motion information set and the second motion information set meets the set deviation limitation condition, including: the deviation between the first motion information set and the second motion information set is not greater than the deviation between the first motion information set and any other motion information set; wherein, the other motion information set includes the predicted motion information of the first vehicle or the other vehicle at the series of time points obtained based on other understeer coefficients.
[0015] Compared with directly traversing each possible value of the understeer coefficient, traversing different value combinations of C1 and C2 and combining them with the speed of the test vehicle to obtain each possible value of the understeer coefficient can narrow the feasible value range of the understeer coefficient, thereby reducing the amount of data calculation and helping to quickly obtain the understeer coefficient of the test vehicle.
[0016] Optionally, when the first motion information set and the second motion information set are obtained based on the other vehicle, the absolute value of the steering wheel zero deviation of the other vehicle is less than a corresponding preset threshold.
[0017] By using a vehicle with a smaller steering wheel zero offset as a test vehicle, it is helpful to achieve fast and accurate prediction of vehicle motion information, thereby supporting the fast and accurate acquisition of the vehicle understeer coefficient.
[0018] In a second aspect, an embodiment of the present application provides a vehicle control device, comprising: a first acquisition module, used to acquire a turning angle control instruction, wherein the turning angle control instruction includes a first turning angle, and the turning angle control instruction is used to control a first vehicle to have a steering that conforms to the first turning angle; a second acquisition module, used to acquire the current steering wheel zero offset angle of the first vehicle; a processing module, used to perform zero offset compensation processing based on the acquired steering wheel zero offset angle and the first turning angle to obtain a second turning angle; and a control module, used to control the rotation of the steering wheel of the first vehicle based on the second turning angle.
[0019] In a third aspect, an embodiment of the present application provides an electronic chip, comprising: a processor, which is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute any method as in the first aspect.
[0020] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising at least one processor, wherein the processor and a memory are coupled, the memory is used to store computer program instructions, and the processor is used to execute the computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute a method as described in any one of the first aspects.
[0021] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes any method in the first aspect.
[0022] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes any method in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 A flow chart of a vehicle control method provided by an embodiment of the present application;
[0025] Figure 2 A block diagram of a vehicle control device provided by one embodiment of the present application;
[0026] Figure 3 A schematic diagram of the structure of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0028] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0029] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0030] It should be understood that the term "at least one" used in this article refers to one or more, and "plurality" refers to two or more. The term "and / or" used in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple.
[0031] It should be understood that, although the terms first, second, etc. may be used to describe the set thresholds in the embodiments of the present application, these set thresholds should not be limited to these terms. These terms are only used to distinguish the set thresholds from each other. For example, without departing from the scope of the embodiments of the present application, the first set threshold may also be referred to as the second set threshold, and similarly, the second set threshold may also be referred to as the first set threshold.
[0032] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0033] like Figure 1 As shown, an embodiment of the present application provides a vehicle control method, including steps 101 to 104. In one embodiment, Figure 1 The execution subject of the illustrated embodiment may be a first vehicle. In one embodiment, the first vehicle may be any vehicle with an automatic driving function.
[0034] Step 101, obtaining a turning angle control instruction, wherein the turning angle control instruction includes a first turning angle, and the turning angle control instruction is used to control a first vehicle to have a steering that conforms to the first turning angle.
[0035] In one embodiment, the angle type of the first angle may be a steering wheel angle. In another embodiment, the angle type of the first angle may also be a wheel angle.
[0036] In one embodiment, a turning angle control instruction can be obtained according to the vehicle driving planning strategy, so that the vehicle can be controlled to travel according to the planned expected trajectory route by executing the turning angle control instruction. In another embodiment, the host computer (such as a server) can send the turning angle control instruction to the first vehicle to control the driving of the first vehicle.
[0037] Step 102, obtaining the current steering wheel zero offset angle (or referred to as steering wheel zero offset, zero offset, etc.) of the first vehicle.
[0038] The steering angle bias of a vehicle can be used to reflect the deviation between the theoretical rotation angle and the actual rotation angle of the vehicle's steering wheel. The steering angle bias of the same vehicle at different time points may not be fixed.
[0039] Preferably, the sign (positive and negative) of the steering wheel zero bias may represent the direction of the zero bias (leftward and rightward).
[0040] In one embodiment, the steering wheel zero offset angle of the first vehicle may be acquired in real time, and when a turning angle control instruction is acquired, the most recently acquired steering wheel zero offset angle is used as the current steering wheel zero offset angle of the first vehicle.
[0041] In another embodiment, when the turning angle control instruction is obtained, the steering wheel zero offset angle of the first vehicle may be obtained, and the obtained steering wheel zero offset angle may be used as the current steering wheel zero offset angle of the first vehicle.
[0042] After obtaining the steering angle control instruction, the current zero offset angle of the steering wheel of the vehicle can be obtained, so that the zero offset compensation of the first steering angle in the steering angle control instruction can be performed accordingly, thereby achieving the purpose of steering angle correction. Moreover, the latest steering wheel zero offset angle can accurately reflect the current zero offset degree of the vehicle, and the zero offset compensation performed accordingly has a good compensation effect.
[0043] In one embodiment, considering the zero offset angle of the steering wheel, the following formula (4) in the vehicle kinematic model can be transformed into Among them, δ can represent the actual wheel angle of the vehicle, δx represents the wheel angle based on which the actuator performs wheel angle control, and δd can represent the wheel angle deviation, which can be obtained by converting the vehicle's steering wheel zero offset angle.
[0044] In one feasible implementation, the formula Solve for δd by differentiating ψ.
[0045] Step 103 , performing zero offset compensation processing according to the acquired steering wheel zero offset angle and the first turning angle to obtain a second turning angle.
[0046] Based on the existence of the vehicle's steering wheel zero offset, in order to achieve accurate control of the vehicle, the first steering angle in the steering angle control instruction can be optimized and corrected according to the vehicle's steering wheel zero offset angle to obtain a corrected second steering angle.
[0047] In one embodiment of the present application, the angle types of the first angle and the second angle are both steering wheel angles. Based on this, performing zero offset compensation processing according to the acquired steering wheel zero offset angle and the first angle to obtain the second angle may include: obtaining the difference between the first angle and the acquired steering wheel zero offset angle as the second angle. In this way, accurate zero offset compensation can be achieved, thereby facilitating accurate control of the steering of the vehicle.
[0048] For example, the second angle can be obtained according to the formula δs=δsx+δsd, where δs represents the first angle (i.e., the steering wheel angle before correction), δsx represents the second angle (i.e., the steering wheel angle after correction), and δsd represents the zero deviation angle of the steering wheel. d can be expressed as disturbance.
[0049] For example, assuming that the first turning angle is 0° (which can indicate that the vehicle's wheels need to be aligned based on the vehicle's forward direction), and the steering wheel zero offset angle is -3° (which can indicate that when the vehicle's wheels are aligned, the vehicle's steering wheel is not aligned, and there is an angle deviation of -3° compared to when the steering wheel is aligned), the second turning angle can be calculated to be 3° (which can indicate that in order to be able to control the vehicle's wheels to be aligned, the steering wheel angle can be controlled to be 3°). When the steering wheel zero offset angle is -3°, by controlling the steering wheel angle to be 3°, the influence of the steering wheel zero offset can be eliminated, and the desired effect of aligning the wheels can be achieved.
[0050] Step 104: Control the rotation of the steering wheel of the first vehicle according to the second turning angle.
[0051] After optimizing and correcting the first turning angle in the turning angle control instruction according to the steering wheel zero deviation angle of the vehicle, the rotation of the vehicle steering wheel can be controlled according to the corrected turning angle, thereby achieving control of the vehicle steering, which can make the control effect of the vehicle steering meet expectations.
[0052] Figure 1 The illustrated embodiment performs zero bias compensation processing according to the zero bias acquired in real time, and uses the steering angle after zero bias compensation to control the rotation of the steering wheel, which can address the zero bias problem of the steering wheel and improve the vehicle control effect.
[0053] In one embodiment of the present application, the step of obtaining a steering angle control instruction may include: obtaining a wheel steering angle instruction, the wheel steering angle instruction including a third steering angle, the angle type of the third steering angle being the wheel steering angle; obtaining the steering angle control instruction based on the third steering angle and a pre-set first information; wherein the first information is used to describe the correspondence between the wheel steering angle and the steering wheel steering angle, and the third steering angle corresponds to the first steering angle.
[0054] Preferably, the wheel angle and the steering wheel angle may be positively correlated, for example, δ=k×δs, where k is a preset value, δ represents the wheel angle, and δs represents the steering wheel angle.
[0055] After the wheel angle command is obtained, the wheel angle to be achieved (ie the third angle) can be converted into the corresponding steering wheel angle (ie the first angle) according to the proportional relationship between the wheel angle and the steering wheel angle.
[0056] In a feasible implementation, after obtaining the wheel steering angle command including the third angle (e.g., recorded as wheelsteer angle command), the raw steering wheel angle command including the first angle before correction (e.g., recorded as raw steer wheelangle command) can be obtained according to the preset steering ratio map (e.g., recorded as steer ratio map) and the third angle. The steering ratio map can indicate the proportional relationship between the wheel angle and the steering wheel angle. Afterwards, the raw steering wheel angle command can be input into a lead compensator (e.g., recorded as lead compensator) for zero bias compensation to obtain the steering wheel angle command including the second angle after correction (e.g., recorded as steer wheel angle command), and the steering wheel angle command including the second angle after correction is sent to the actuator of the first vehicle, so that the actuator executes the steering wheel angle command including the second angle after correction to control the steering wheel of the first vehicle to have the second angle.
[0057] In one embodiment, the actuator may be a drive-by-wire chassis.
[0058] In the case of zero steering wheel deviation, by controlling the steering wheel to have a second steering angle after deviation correction, the wheels of the vehicle can have a desired third steering angle, thereby achieving accurate control of the vehicle steering.
[0059] Figure 1 The illustrated embodiment performs zero bias compensation processing according to the zero bias acquired in real time, and uses the steering angle after zero bias compensation to control the rotation of the steering wheel, which can address the zero bias problem of the steering wheel and improve the vehicle control effect.
[0060] In one embodiment of the present application, the step of obtaining a steering angle control instruction may include: obtaining a steering angle control instruction based on a vehicle kinematic model and an understeer coefficient of the first vehicle; wherein the vehicle kinematic model involves a vehicle heading angle, and a first-order derivative of the vehicle heading angle with respect to time is obtained based on the understeer coefficient, the vehicle speed and the wheel angle.
[0061] In one embodiment, the vehicle kinematic model may also involve the vehicle lateral position and the vehicle longitudinal position, and the first-order derivatives of the vehicle lateral position and the vehicle longitudinal position with respect to time are both obtained according to the vehicle speed and the vehicle heading angle.
[0062] In one embodiment, the vehicle kinematics model may include the following formulas (2) to (4): The vehicle kinematics model may be used to predict the vehicle's motion trajectory in the future.
[0063]
[0064]
[0065]
[0066] Among them, x is the longitudinal position of the vehicle, y is the lateral position of the vehicle, ψ is the vehicle heading angle, k is the vehicle understeer coefficient, v is the vehicle speed, and δ is the wheel angle, which is proportional to the steering wheel angle.
[0067] In one embodiment, the lateral position and longitudinal position of the vehicle may be acquired based on a local coordinate system.
[0068] In one embodiment, the lateral position and longitudinal position of the vehicle may be the lateral coordinate value and longitudinal coordinate value of the center position of the rear axle of the vehicle.
[0069] In a feasible implementation, based on the vehicle kinematics model, the heading angle of the vehicle at a future moment can be predicted according to the understeer coefficient of the vehicle and the vehicle speed and wheel angle.
[0070] In a feasible implementation, based on the vehicle kinematics model, the vehicle's lateral position and / or longitudinal position at a future moment can be predicted according to the prediction result of the vehicle's heading angle and in combination with the vehicle's speed.
[0071] In one embodiment, the step of obtaining a turning angle control instruction based on a vehicle kinematic model and an understeer coefficient of the first vehicle may include: obtaining motion information of the first vehicle at a series of time points in the future based on the vehicle kinematic model and the understeer coefficient of the first vehicle; fitting a predicted motion trajectory of the vehicle in a corresponding time period in the future based on the motion information of the first vehicle at a series of time points in the future; obtaining a comparison result between the expected motion trajectory and the predicted motion trajectory of the first vehicle, and obtaining a turning angle control instruction based on the comparison result to control the driving of the first vehicle.
[0072] In a feasible implementation, the expected motion trajectory of the first vehicle may be obtained according to the vehicle driving planning strategy.
[0073] In one embodiment, if the expected motion trajectory differs greatly from the predicted motion trajectory (for example, the trajectory deviation is greater than the corresponding deviation threshold), a turning angle control instruction can be obtained based on the trajectory deviation, so that the deviation between the predicted motion trajectory obtained based on the result of the turning angle control and the expected motion trajectory can be less than the corresponding deviation threshold, so as to be more consistent with the expected motion trajectory. In this way, the motion trajectory of the vehicle can be made to meet expectations, which helps to achieve precise control of the vehicle operation.
[0074] In the case of predicting the motion information of the first vehicle based on the vehicle dynamics model including the above formulas (2) to (4), in one embodiment of the present application, the motion information of the first vehicle at a series of future time points includes: at least one of the vehicle longitudinal position, vehicle lateral position, and vehicle heading angle of the first vehicle at a series of future time points.
[0075] In order to accurately predict the motion information of the vehicle at a future moment based on the vehicle kinematic model, and then generate a steering angle control instruction for controlling the vehicle steering based on the prediction result, it is necessary to know the understeer coefficient of the vehicle.
[0076] In a feasible implementation, the understeer coefficient of the vehicle can be solved by the following formula (1):
[0077] k=(1 / L) / [1+(m / L 2 )(a / k1-b / k2)v 2 ] (1)
[0078] Among them, k is the understeer coefficient of the vehicle, L is the wheelbase of the vehicle, m is the mass of the vehicle, k1 is the front wheel cornering stiffness of the vehicle, k2 is the rear wheel cornering stiffness of the vehicle, v is the speed of the vehicle, a is the distance from the front axle to the center of mass of the vehicle, and b is the distance from the rear axle to the center of mass of the vehicle.
[0079] However, the values of k1, k2, a, and b in formula (1) are usually difficult to obtain. For example, it is difficult to obtain the values of a and b because it is inconvenient to know the position of the center of mass of the vehicle. In order to obtain the values of k1, k2, a, and b, measurements can be performed by the OEM or a dedicated measurement organization, but the measurement cost is high and the accuracy of the measurement results is difficult to guarantee.
[0080] In one embodiment of the present application, the understeer coefficient of the first vehicle makes the deviation between the first motion information set and the second motion information set meet the set deviation limitation condition; the first motion information set includes the actual motion information of the first vehicle or other vehicles having the same understeer coefficient as the first vehicle at a series of time points, and the second motion information set includes the predicted motion information of the first vehicle or other vehicles at a series of time points obtained based on the understeer coefficient of the first vehicle.
[0081] The fact that the first vehicle and the other vehicle have the same understeer coefficient may indicate that the understeer coefficients of the two vehicles are not much different (the deviation between the two is within an acceptable range), and the two vehicles may use the same understeer coefficient.
[0082] The test vehicle used to obtain the understeer coefficient of the first vehicle may be the first vehicle, or may be another vehicle having the same understeer coefficient as the first vehicle. In one embodiment, the other vehicle having the same understeer coefficient as the first vehicle may be, for example, any vehicle of the same model as the first vehicle. Preferably, the models of the vehicles of the same model may be the same.
[0083] In one embodiment, the test vehicle may travel in a specified test scene for a period of time, based on which the motion information of the test vehicle at each time point in the period of time may be obtained to obtain the actual motion information of the test vehicle at a series of time points.
[0084] In a feasible implementation, the actual motion information may include at least one of a longitudinal position of the vehicle, a lateral position of the vehicle, and a heading angle of the vehicle.
[0085] In one embodiment, the driving data of a vehicle at a point in time may include the vehicle speed, heading angle, and position point (including lateral position and longitudinal position) of the vehicle at that point in time.
[0086] Taking the actual measurement of the longitudinal position, lateral position, and heading angle of the test vehicle at a series of time points as an example, the following actual motion information can be obtained:
[0087] The longitudinal position of the vehicle at a series of time points: x0 m 、x1 m ……xn m ;
[0088] The lateral position of the vehicle at a series of time points: y0 m ,y1 m ……yn m ;
[0089] Vehicle heading angle at a series of time points: ψ0 m , ψ1 m ……ψn m .
[0090] In one feasible implementation, x0 m 、x1 m ……xn m Can form vector x m ,y0 m ,y1 m ……yn m Can form vector y m , ψ0 m , ψ1 m ……ψn m Can form a vector ψ m .
[0091] In one embodiment, the motion information of the test vehicle in the same time period may be predicted based on the vehicle kinematics model to obtain the predicted motion information of the test vehicle at a series of time points.
[0092] When the motion information of the test vehicle is predicted based on the vehicle dynamics model including the above formulas (2) to (4), in a feasible implementation, the obtained predicted motion information may include at least one of the vehicle longitudinal position, the vehicle lateral position, and the vehicle heading angle.
[0093] Taking the prediction of the longitudinal position, lateral position, and heading angle of the test vehicle at the same series of time points as an example, the following predicted motion information can be obtained:
[0094] The longitudinal position of the vehicle at a series of time points: x0 * 、x1 * ……xn * ;
[0095] The lateral position of the vehicle at a series of time points: y0 * ,y1 * ……yn * ;
[0096] Vehicle heading angle at a series of time points: ψ0 * , ψ1 * ……ψn * .
[0097] In one feasible implementation, x0 * 、x1 * ……xn * Can form vector x * ,y0 * ,y1 * ……yn * Can form vector y * , ψ0 * , ψ1 * ……ψn * Can form a vector ψ * .
[0098] In one embodiment, each possible value of the understeer coefficient may be traversed in sequence to obtain corresponding predicted motion information.
[0099] When predicting the motion information of the test vehicle, if different understeering coefficients are used, corresponding different predicted motion information can be obtained. Compared with the predicted motion information obtained based on the inaccurate understeering coefficient, the predicted motion information obtained based on the accurate understeering coefficient can be closer to the actual motion information, and the deviation between the predicted motion information and the actual motion information is smaller. In this way, a deviation limiting condition can be set, and the understeering coefficient of the vehicle can be determined based on the deviation limiting condition.
[0100] In one embodiment, the deviation between the predicted motion information and any actual motion information may be: (x * -x m ) 2 +(y * -y m ) 2 +(ψ * -ψ m ) 2 .
[0101] Since the prediction of vehicle motion is based on an accurate vehicle understeer coefficient, accurate prediction of vehicle operation can be achieved, and the vehicle control effect can be improved based on accurate vehicle motion prediction.
[0102] In one embodiment of the present application, the independent variable of the first function for obtaining the understeering coefficient includes a first parameter and a second parameter; the understeering coefficient of the first vehicle is a value obtained by the first function when the first parameter takes a first value and the second parameter takes a second value, and the first value and the second value make the deviation between the first motion information set and the second motion information set meet the deviation limitation condition; the first function is k=C1 / (1+C2×v 2 ), wherein k represents the understeer coefficient, C1 represents the first parameter, C2 represents the second parameter, and v represents the vehicle speed.
[0103] It is feasible to simplify the above formula (1) to obtain a first function, and obtain various possible values of the understeer coefficient through the first function. The corresponding feasible understeer coefficients can be obtained by changing different feasible values of C1 and / or C2 and combining the speed of the test vehicle.
[0104] Compared with directly traversing each possible value of the understeer coefficient, traversing different value combinations of C1 and C2 and combining them with the speed of the test vehicle to obtain each possible value of the understeer coefficient can narrow the feasible value range of the understeer coefficient, thereby reducing the amount of data calculation and helping to quickly obtain the understeer coefficient of the test vehicle.
[0105] When various possible understeering coefficients are obtained based on the first function, the understeering coefficient can be obtained simply and quickly, and the optimal understeering coefficient can be determined according to the deviation limitation condition as the understeering coefficient of the test vehicle. The understeering coefficient of the test vehicle obtained in this way conforms to the above formula (1), which can ensure the accuracy of the understeering coefficient of the test vehicle.
[0106] By simplifying the above formula (1), the value of C1 can replace the value of the overall parameter (1 / L), and the value of C2 can replace (m / L 2 By taking the value of the overall parameter item )(a / k1-b / k2), according to the values of C1, C2 and vehicle speed and combining the deviation limit condition, the understeer coefficient of the test vehicle can be accurately determined without knowing the specific values of the parameters k1, k2, a, and b in the above formula (1). In this way, the understeer coefficient of the test vehicle can be determined quickly and accurately, and the test method is simpler and more convenient.
[0107] In one embodiment of the present application, the deviation between the first motion information set and the second motion information set meets the set deviation limiting condition, including: the deviation between the first motion information set and the second motion information set is not greater than the deviation between the first motion information set and any other motion information set; wherein the other motion information set includes the predicted motion information of the first vehicle or other vehicles at a series of time points obtained according to other understeer coefficients. In this way, the optimal understeer coefficient can be obtained as the understeer coefficient of the test vehicle.
[0108] In one embodiment of the present application, other understeer coefficients are values obtained by the first function when the first parameter takes other values different from the first value and / or the second parameter takes other values different from the second value.
[0109] In a feasible implementation, each feasible value of the understeer coefficient can be traversed in turn, and a corresponding number of predicted motion information sets can be obtained accordingly, that is, multiple predicted motion information sets can be obtained. By comparing the deviations between the actual motion information set and each predicted motion information set, the predicted motion information set corresponding to the minimum deviation can be determined, and the understeer coefficient based on the predicted motion information set can be used as the understeer coefficient of the test vehicle.
[0110] In another embodiment of the present application, the deviation between the first motion information set and the second motion information set meets the set deviation limiting condition, including: the deviation between the first motion information set and the second motion information set is not greater than a preset deviation threshold. In this way, the understeer coefficient of the test vehicle can be obtained more quickly, and the accuracy of the obtained understeer coefficient meets expectations.
[0111] In a feasible implementation, each feasible value of the understeering coefficient can be traversed in turn according to a preset traversal order or by random traversal, and the corresponding predicted motion information set can be obtained after each understeering coefficient is traversed. If the deviation between the actual motion information set and the predicted motion information set is less than the preset deviation threshold (i.e., it meets the deviation limit condition), the currently traversed understeering coefficient can be used as the understeering coefficient of the test vehicle, otherwise continue to traverse. This cycle is repeated until the understeering coefficient that can make the deviation limit condition meet is traversed, and the understeering coefficient is used as the understeering coefficient of the test vehicle.
[0112] In one embodiment of the present application, when the first motion information set and the second motion information set are obtained based on other vehicles, the absolute value of the steering wheel zero deviation of the other vehicles is less than the corresponding preset threshold. Based on the same implementation principle, when the first motion information set and the second motion information set are obtained based on the first vehicle, the absolute value of the steering wheel zero deviation of the first vehicle is less than the corresponding preset threshold.
[0113] In one feasible implementation, a test vehicle with negligible zero bias can be obtained through human perception, driving data verification, etc.
[0114] In one feasible implementation, when the vehicle steering wheel zero bias is small, the acquisition of motion information may not involve the parameter of steering wheel zero bias. This can make the method of acquiring motion information simpler and avoid the adverse effects of inaccurate steering wheel zero bias on motion information prediction, which helps to quickly and accurately acquire motion information.
[0115] By using a vehicle with a smaller steering wheel zero offset as a test vehicle, it is helpful to achieve fast and accurate prediction of vehicle motion information, thereby supporting the fast and accurate acquisition of the vehicle understeer coefficient.
[0116] like Figure 2 As shown, an embodiment of the present application provides a vehicle control device 200, including: a first acquisition module 201, used to acquire a turning angle control instruction, wherein the turning angle control instruction includes a first turning angle, and the turning angle control instruction is used to control the first vehicle to have a steering that conforms to the first turning angle; a second acquisition module 202, used to acquire the current steering wheel zero offset angle of the first vehicle; a processing module 203, used to perform zero offset compensation processing according to the acquired steering wheel zero offset angle and the first turning angle to obtain a second turning angle; and a control module 204, used to control the rotation of the steering wheel of the first vehicle according to the second turning angle.
[0117] An embodiment of the present application provides an electronic chip, including: a processor, which is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method described in any embodiment of the present application.
[0118] An embodiment of the present application provides an electronic device, which includes at least one processor, the processor and a memory are coupled, the memory is used to store computer program instructions, and the processor is used to execute the computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method described in any embodiment of the present application.
[0119] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method described in any embodiment of the present application.
[0120] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program runs on a computer, the computer executes the method described in any embodiment of the present application.
[0121] Figure 3 A schematic diagram of a computer device provided in one embodiment of the present application. Figure 3 As shown, the computer device 20 of this embodiment includes: a processor 21 and a memory 22, the memory 22 is used to store a computer program 23 that can be run on the processor 21, and the computer program 23 is executed by the processor 21 to implement the steps in the method embodiment of the present application. To avoid repetition, they are not described one by one here. Alternatively, when the computer program 23 is executed by the processor 21, the functions of each model / unit in the device embodiment of the present application are implemented. To avoid repetition, they are not described one by one here.
[0122] The computer device 20 includes but is not limited to a processor 21 and a memory 22. Those skilled in the art will appreciate that Figure 3 It is only an example of the computer device 20 and does not constitute a limitation of the computer device 20. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0123] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc.
[0124] The memory 22 may be an internal storage unit of the computer device 20, such as a hard disk or memory of the computer device 20. The memory 22 may also be an external storage device of the computer device 20, such as a plug-in hard disk, a Smart Media (SM) card, a Secure Digital (SD) card, a Flash Card, etc. equipped on the computer device 20. Further, the memory 22 may also include both an internal storage unit of the computer device 20 and an external storage device. The memory 22 is used to store the computer program 23 and other programs and data required by the computer device. The memory 22 may also be used to temporarily store data that has been output or is to be output.
[0125] In the several embodiments provided in the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0126] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0127] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0128] The integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.
[0129] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0130] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0131] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0132] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0133] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0134] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A vehicle control method, characterized in that: include: Acquire a turning angle control instruction, wherein the turning angle control instruction includes a first turning angle, and the turning angle control instruction is used to control the first vehicle to have a steering that conforms to the first turning angle; Obtaining a current steering wheel zero offset angle of the first vehicle; Performing zero offset compensation processing according to the acquired steering wheel zero offset angle and the first rotation angle to obtain a second rotation angle; According to the second turning angle, the rotation of the steering wheel of the first vehicle is controlled.
2. The method according to claim 1, characterized in that The angle types of the first turning angle and the second turning angle are both steering wheel angles; The performing zero offset compensation processing according to the acquired steering wheel zero offset angle and the first rotation angle to obtain a second rotation angle includes: A difference between the first turning angle and the obtained steering wheel zero offset angle is obtained as the second turning angle.
3. The method according to claim 1, characterized in that The obtaining of the turning angle control instruction comprises: Acquire a wheel angle command, wherein the wheel angle command includes a third angle, and the angle type of the third angle is a wheel angle; Obtaining the turning angle control instruction according to the third turning angle and the preset first information; The first information is used to describe the corresponding relationship between the wheel angle and the steering wheel angle, and the third angle corresponds to the first angle.
4. The method according to claim 1, characterized in that: The obtaining of the turning angle control instruction comprises: Obtaining the steering angle control instruction according to a vehicle kinematics model and an understeering coefficient of the first vehicle; The vehicle kinematic model involves the vehicle heading angle, and the first-order derivative of the vehicle heading angle with respect to time is obtained according to the understeering coefficient, the vehicle speed and the wheel angle; Wherein, the understeering coefficient of the first vehicle makes the deviation between the first motion information set and the second motion information set meet the set deviation limiting condition; The first motion information set includes actual motion information of the first vehicle or other vehicles having the same understeer coefficient as the first vehicle at a series of time points, and the second motion information set includes predicted motion information of the first vehicle or other vehicles at the series of time points obtained based on the understeer coefficient of the first vehicle.
5. The method according to claim 4, characterized in that The independent variables of the first function for obtaining the understeer coefficient include a first parameter and a second parameter; The understeer coefficient of the first vehicle is a value obtained by the first function when the first parameter takes a first value and the second parameter takes a second value, and the first value and the second value make the deviation between the first motion information set and the second motion information set meet the deviation limiting condition; The first function is k=C1 / (1+C2×v 2 ); Wherein, k represents the understeer coefficient, C1 represents the first parameter, C2 represents the second parameter, and v represents the vehicle speed.
6. The method according to claim 4, characterized in that The deviation between the first motion information set and the second motion information set meets a set deviation limiting condition, including: The deviation between the first motion information set and the second motion information set is no greater than the first motion DD225059I The deviation between the information set and any other motion information set; The other motion information set includes predicted motion information of the first vehicle or the other vehicle at the series of time points obtained according to other understeer coefficients.
7. The method according to claim 4, characterized in that When the first motion information set and the second motion information set are obtained based on the other vehicle, the absolute value of the steering wheel zero bias of the other vehicle is less than the corresponding preset threshold.
8. A vehicle control device, characterized in that: include: A first acquisition module, configured to acquire a turning angle control instruction, wherein the turning angle control instruction includes a first turning angle, and the turning angle control instruction is used to control the first vehicle to have a steering direction that conforms to the first turning angle; A second acquisition module is used to acquire a current zero offset angle of the steering wheel of the first vehicle; a processing module, configured to perform zero offset compensation processing according to the acquired steering wheel zero offset angle and the first rotation angle to obtain a second rotation angle; A control module is used to control the rotation of the steering wheel of the first vehicle according to the second turning angle.
9. An electronic device, characterized in that: The electronic device comprises at least one processor, the processor is coupled to a memory, the memory is used to store computer program instructions, and the processor is used to execute computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 7.
