Vehicle lateral control method and related device
By obtaining and adjusting the target parameters of vehicle lateral control, dividing multiple value ranges and applying corresponding strategies, the problem of unstable driving in vehicle lateral control is solved and the overall stability and driving experience of the vehicle are improved.
Patent Information
- Application Number
- CN202410842967.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-27
AI Technical Summary
In the existing vehicle lateral control technology, the vehicle is prone to unstable driving, which affects the driving experience.
By obtaining the measured values of target parameters such as road curvature, vehicle lateral error and heading angle error, dividing multiple value ranges, and adjusting these parameters to reduce their absolute values according to the adjustment strategies corresponding to different value ranges, thereby conducting Lateral control of the vehicle.
It achieves smooth lateral control of the vehicle, reduces the oscillation of the steering wheel and the back and forth swing of the vehicle, and improves the driving experience.
Smart Images

Figure CN118387095B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, specifically, to the field of vehicle lateral control technology, and more specifically, to a vehicle lateral control method and related devices. Background Art
[0002] With the development of intelligent vehicles, more and more car companies are paying attention to intelligent driving functions. In intelligent driving functions, whether the vehicle can follow the expected path is a key indicator for testing intelligent driving functions.
[0003] The desired path following includes following in both longitudinal and lateral directions, and lateral following is particularly important. The principle of vehicle lateral control is to control the front wheel angle through the steering wheel to change the vehicle heading angle, thereby achieving lateral displacement.
[0004] However, in the existing vehicle lateral control, affected by the input parameters, the vehicle is prone to unstable driving problems, such as the vehicle swinging back and forth, affecting the driving experience. Summary of the invention
[0005] Based on the above-mentioned defects and shortcomings of the prior art, the present application proposes a vehicle lateral control method and related devices, which can solve the problem of unstable driving of the vehicle in the prior art vehicle lateral control.
[0006] According to a first aspect of an embodiment of the present application, a vehicle lateral control method is provided, the method comprising:
[0007] Obtaining a measured value of a target parameter; wherein the target parameter is an input parameter for lateral control of the vehicle, including at least one of the following: road curvature, lateral error of the vehicle, and heading angle error of the vehicle;
[0008] Determine the target value range to which the measured value of each target parameter belongs; wherein each target parameter corresponds to multiple value ranges;
[0009] According to the target adjustment strategy corresponding to the target value range, the measured value of the target parameter is adjusted to obtain an adjusted target value; wherein different value ranges correspond to different adjustment strategies, and the different adjustment strategies are used to indicate that the absolute value of the measured value of the target parameter is reduced in different ways;
[0010] The vehicle is laterally controlled according to the target value of the target parameter.
[0011] According to a second aspect of an embodiment of the present application, a vehicle lateral control device is provided, the device comprising:
[0012] A measurement value acquisition module, used to acquire the measurement value of a target parameter; wherein the target parameter is an input parameter for the lateral control of the vehicle, including at least one of the following: road curvature, lateral error of the vehicle, and heading angle error of the vehicle;
[0013] A range determination module, used to determine the target value range to which the measured value of each target parameter belongs; wherein each target parameter corresponds to multiple value ranges;
[0014] A parameter adjustment module, used to adjust the measured value of the target parameter according to the target adjustment strategy corresponding to the target value range, so as to obtain an adjusted target value; wherein different value ranges correspond to different adjustment strategies, and the different adjustment strategies are used to indicate that the absolute value of the measured value of the target parameter is reduced in different ways;
[0015] A lateral control module is used to perform lateral control on the vehicle according to the target value of the target parameter.
[0016] According to a third aspect of an embodiment of the present application, a vehicle is provided for implementing the vehicle lateral control method as described in the first aspect.
[0017] According to a fourth aspect of the embodiments of the present application, there is provided an electronic device, including: a memory and a processor;
[0018] The memory is connected to the processor and is used to store programs;
[0019] The processor is used to implement the vehicle lateral control method as described in the first aspect by running the program in the memory.
[0020] According to a fifth aspect of an embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the vehicle lateral control method as described in the first aspect is implemented.
[0021] According to a sixth aspect of the embodiments of the present application, a computer program product or a computer program is provided, wherein the computer program product includes the computer program, and when the processor executes the computer program, the steps in the monitoring method described in the first aspect are implemented. Optionally, the computer program can be stored in a readable storage medium or in the cloud of a computer device; the processor of the computer device reads the computer program from the readable storage medium or the cloud.
[0022] In the technical solution provided in the present application, multiple value ranges are set for the input parameters of the vehicle's lateral control. Different value ranges correspond to different adjustment strategies for the actual measured values of the input parameters, so that the vehicle's lateral control is adjusted in different ways for lateral inputs of different magnitudes, thereby making the vehicle's overall lateral control smoother. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0024] Figure 1 A schematic flow chart of a vehicle lateral control method provided in an embodiment of the present application.
[0025] Figure 2 Function curve diagram corresponding to different characteristic regions provided in the embodiment of the present application.
[0026] Figure 3 A schematic diagram of a process for determining steering wheel feedback amount provided in an embodiment of the present application.
[0027] Figure 4 A schematic diagram of a convex function provided in an embodiment of the present application.
[0028] Figure 5 A schematic diagram of a concave function provided in an embodiment of the present application.
[0029] Figure 6 A block diagram of a vehicle lateral control device provided in an embodiment of the present application.
[0030] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] Exemplary Methods
[0033] An embodiment of the present application provides a vehicle lateral control method, and the execution subject may be a vehicle, specifically an intelligent driving vehicle, such as an intelligent driving vehicle with a lateral control function.
[0034] The method is described in detail below through some embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0035] like Figure 1 As shown, the method may include steps 101 to 104, as described below:
[0036] Step 101: Obtain the measured value of the target parameter.
[0037] The target parameters mentioned here are input parameters for the lateral control of the vehicle, and may include but are not limited to at least one of the following: road curvature, lateral error of the vehicle, heading angle error of the vehicle, etc.
[0038] The vehicle can perform lateral control based on input parameters. Specifically, the steering wheel angle can be determined based on the input parameters, thereby controlling the rotation of the steering wheel, and then adjusting the front wheel angle of the vehicle to achieve a change in the vehicle's heading angle and lateral displacement of the vehicle.
[0039] The road curvature may refer to: the road curvature of the lane where the vehicle is located. The road curvature generally belongs to the feedforward control part of the vehicle lateral control, that is, the feedforward control takes the road curvature as input to construct the feedforward amount of the steering wheel angle.
[0040] The lateral error may refer to the difference between the actual lateral position of the vehicle and the lateral position corresponding to the same longitudinal position of the desired path. The desired path may be a path planned by the vehicle based on current traffic environment information. The same longitudinal position referred to here refers to a position with the same longitudinal coordinates but different lateral coordinates.
[0041] The heading angle error may refer to the difference between the actual heading angle of the vehicle and the expected heading angle corresponding to the same longitudinal position of the expected path. The tangent direction of a point on the expected path is the heading angle of the point.
[0042] The lateral error and heading angle error generally belong to the feedback control part of the vehicle's lateral control, that is, the feedback control takes the lateral error and / or heading angle error as input to construct the steering wheel angle feedback.
[0043] The number of input parameters for vehicle lateral control may be at least one, and therefore, the number of target parameters may also be at least one. For example, the input parameters for vehicle lateral control include road curvature, lateral error, and lateral angle error, and the embodiment of the present application involves three target parameters, namely, road curvature, lateral error, and lateral angle error.
[0044] The measurement value described in the embodiments of the present application refers to the current measurement value, which may be an actual value measured by a vehicle sensor, and specifically may be an actual value measured most recently by a vehicle sensor.
[0045] Step 102: Determine the target value range to which the measured value of each target parameter belongs.
[0046] In the embodiment of the present application, each target parameter corresponds to multiple value ranges. Different value ranges correspond to different adjustment strategies, and different adjustment strategies are used to indicate that the absolute value of the measured value of the target parameter is reduced in different ways, so as to adjust the lateral control of the vehicle in different ways for lateral inputs of different magnitudes, thereby making the overall lateral control of the vehicle more stable.
[0047] The following is an example of determining the target value range to which the measured value of each target parameter belongs. For example, if there are three target parameters, namely, road curvature, lateral error, and heading angle error, the target value range corresponding to the current measured value of the road curvature, the target value range corresponding to the current measured value of the lateral error, and the target value range corresponding to the current measured value of the heading angle error are determined respectively.
[0048] Among them, the measured value of the target parameter has positive and negative points. For example, taking the lateral error as an example, the actual lateral position of the vehicle is 0.5 meters to the left relative to the target lateral position, and the lateral error can be recorded as +0.5 meters; the actual lateral position of the vehicle is 0.5 meters to the right relative to the target lateral position, and the lateral error can be recorded as -0.5 meters. However, the positive and negative points are used to distinguish directions. Without considering the direction, the adjustment strategy for the measured value of the target parameter is to appropriately reduce the measured value. Therefore, in the embodiment of the present application, the adjustment process is clearly and concisely described based on the absolute value of the measured value. For example, if the lateral error is -0.5 meters, its absolute value can be reduced by 0.3 meters, and the adjusted lateral error is -0.2 meters.
[0049] Step 103: According to the target adjustment strategy corresponding to the target value range, the measured value of the target parameter is adjusted to obtain an adjusted target value.
[0050] After obtaining the target value range corresponding to each target parameter, the target adjustment strategy corresponding to each target value range is obtained, and the measured value of the corresponding target parameter is adjusted based on the target adjustment strategy to obtain an adjusted target value.
[0051] Step 104: Perform lateral control on the vehicle according to the target value of the target parameter.
[0052] Finally, the vehicle is laterally controlled according to the adjusted target value to make the lateral control of the vehicle more stable.
[0053] In some optional embodiments, each target parameter may correspond to four value ranges, which may be respectively referred to as a first value range, a second value range, a third value range, and a fourth value range. The following further describes the adjustment strategies corresponding to the above four value ranges.
[0054] The first value range
[0055] Optionally, when the target value range is the first value range, the measured value of the target parameter may be adjusted to 0.
[0056] The absolute values of the maximum values in the first value range are 0 and the first value, respectively, and the first value is greater than 0. Figure 2 As shown, the first value range can be the range shown in the figure [-a, a], where a corresponds to the first value. Figure 2 In the coordinate system shown, the abscissa represents the measured value of the target parameter, and the ordinate represents the target value of the target parameter.
[0057] The adjustment strategy corresponding to the first value range is to adjust the smaller measured value of the target parameter to 0. Therefore, the first value range can also be called a dead zone. The adjustment strategy corresponding to the first value range can reduce unnecessary oscillation of the steering wheel in vehicle centering auxiliary control.
[0058] For example, when a vehicle is driving along the center line of the road on a straight road, it is expected that the steering wheel is almost motionless. However, since the measurement of the road curvature contains noise of a certain amplitude, this noise is mapped to the steering wheel through the feedforward quantity, causing the steering wheel to vibrate slightly when the vehicle is driving on a straight road. In this case, by setting the road curvature to 0, the problem of slight steering wheel shaking caused by measurement noise in straight road scenes can be overcome.
[0059] In the above example, the road curvature mainly affects the control of the steering wheel. Therefore, when the target parameter includes the road curvature, the adjustment strategy corresponding to the first value range may include the strategy expressed by formula (1):
[0060] (1)
[0061] In formula (1), k represents the road curvature, Indicates the road curvature dead zone threshold. exist[ ] range, the feedforward amount of the vehicle lateral controller , thereby eliminating the small vibration of the steering wheel caused by the road curvature measurement noise when driving on a straight road. Figure 2 The relationship between the measured value and the target value of the road curvature is shown in the figure. and Figure 2 The a in are equal.
[0062] For another example, when a vehicle is traveling at high speed along the center line of the road (e.g., the speed is above 80 kph), there will be small interference inputs, such as slight changes in the lane structure, natural crosswinds, and air disturbances caused by vehicles in adjacent lanes, but the steering wheel is not expected to move significantly, and it is even expected that the steering wheel of the vehicle can remain stationary in an interference-free high-speed driving scenario. However, for control algorithms based on error elimination, it is difficult to ensure that the steering wheel remains stationary for a long time, because the vehicle's lateral controller cannot control various errors (such as lateral error, heading angle error) to absolute 0 for a long time, so the steering wheel will show a small amplitude of equal-frequency stable oscillation. If the oscillation amplitude is too large, it will also cause the driver and passengers to feel shaking from side to side. In this case, by setting the lateral error, heading angle error, etc. to 0, the problem of slight shaking of the steering wheel in this scenario can be overcome.
[0063] In the above example, the lateral error and the heading angle error mainly affect the control of the steering wheel. Therefore, when the target parameter includes the lateral error or the heading angle error, the adjustment strategy corresponding to the first value range may also include the strategy expressed by formula (2) and formula (3):
[0064] (2)
[0065] (3)
[0066] In formula (2) represents the lateral error dead zone threshold, and in formula (3) Indicates the heading angle error dead zone threshold.
[0067] When the measured values of the lateral error and the heading angle error are both within the first value range, the feedback amount of the steering wheel is 0, thereby alleviating the problem of small-amplitude oscillation of the steering wheel when the vehicle is in a small error.
[0068] Taking the linear quadratic regulator (LQR) algorithm as an example, the steering wheel feedback It consists of two groups of contributions, each group includes 2 contributions. The first group is related to the lateral error, which are the lateral error contributions and the lateral error rate (i.e., the lateral error change rate) contribution The second group is related to the heading angle error, which are the heading angle error contributions and the heading error rate (i.e., the heading error change rate) contribution , so the steering wheel feedback It can be shown as formula (4):
[0069] (4)
[0070] Based on this example, when the number of target parameters is at least two and includes a lateral error and a heading angle error, the process of determining the steering wheel feedback amount can be as follows: Figure 3 As shown:
[0071] 1. Determine lateral error Is it in the dead zone (i.e. the first value range). If so, it will be compared with the lateral error The relevant contribution is set to 0, such as the lateral error contribution and the lateral error rate contribution Set to 0; if not, calculate the contribution related to the lateral error, such as the lateral error contribution and the lateral error rate contribution .
[0072] 2. If the lateral error In the dead zone, the heading angle error is determined Is it in the dead zone? If so, it will be compared with the heading angle error Set the relevant contribution to 0, such as Related heading angle error contribution and heading error rate contribution Set to 0; if not, calculate the heading angle error Related contributions, such as heading angle error contribution and heading error rate contribution .
[0073] 3. Finally, the lateral error The relevant contribution and heading angle error The relevant contributions are added together to obtain the steering wheel feedback.
[0074] When the lateral error is within the set dead zone, only the heading error is eliminated; when the heading error is also within the dead zone, the steering wheel feedback item is 0, that is, the steering wheel can be temporarily immobilized. This design can effectively alleviate the problem of continuous small oscillations of the steering wheel, thereby solving the problem of the vehicle swinging back and forth near the center line of the road.
[0075] As can be seen from the above, in some optional embodiments, when the target parameter includes a lateral error and a heading angle error, step 104: performing lateral control on the vehicle according to the target value of the target parameter may include steps A1 to A4, as shown below:
[0076] Step A1: Determine a first feedback amount of the steering wheel according to a target value corresponding to the lateral error, wherein the first feedback amount corresponds to a contribution amount related to the lateral error.
[0077] Step A2: Determine a second feedback amount of the steering wheel according to a target value corresponding to the heading angle error, wherein the second feedback amount corresponds to a contribution amount related to the heading angle error.
[0078] Step A3: determining the sum of the first feedback amount and the second feedback amount as the target feedback amount of the steering wheel;
[0079] Step A4: Control the steering wheel rotation angle according to the target feedback amount of the steering wheel.
[0080] The second value range
[0081] Optionally, when the target value range is the second value range, the absolute value of the measured value of the target parameter may be adjusted to a value greater than 0 and less than the second value.
[0082] The absolute values of the maximum values of the second value range are the first value and the second value, respectively, and the second value is greater than the first value. Figure 2 As shown, the second value range can be the range shown in the figure (a, b] and [-b, -a), where a corresponds to the first value and b corresponds to the second value.
[0083] Since the adjustment strategy corresponding to the first value range is used to adjust the smaller measured value of the target parameter to 0, when the measured value of the target parameter exceeds the first value range, sudden events are prone to occur, such as a jump in the steering wheel control command, from the return state (i.e., the state of the turning angle of 0) to a sudden turn of 10° to the left, which causes the vehicle to turn suddenly. In order to avoid the jump in the measured value, the adjustment strategy corresponding to the second value range can achieve the effect of smoothly transitioning the measured value of the adjusted target parameter to a value greater than 0, so the second value range can also be called a transition zone.
[0084] Optionally, when the target parameter is the road curvature, the adjustment strategy corresponding to the second value range may further include: as the absolute value of the measured value of the target parameter changes from small to large, the rate of change of the target value of the target parameter changes from large to small. That is, when the target parameter is the road curvature, the adjustment strategy corresponding to the second value range may include: adjusting the measured value of the target parameter according to a convex function, such as Figure 4 The convex function curve is shown.
[0085] In the embodiment of the present application, the road curvature A dead zone is designed. If a vehicle enters a curve from a straight road, the expected curvature after the vehicle enters the curve It can quickly keep up with the actual curvature of the road, so a convex function connection is needed, with a large rate of change in the front and a small rate of change in the back.
[0086] Optionally, when the target parameter is the road curvature, the convex function may be a quadratic convex function. On the positive semi-axis of the coordinate system, the symmetry axis of the quadratic convex function may be , passing the vertex , and one of the intersections with the x-axis is , the function curve on the negative semi-axis is related to the function curve on the positive semi-axis It is a mirror image relationship, so the quadratic convex function can be expressed as formula (5):
[0087] (5)
[0088] Formula (5) is an expression of the relationship between the measured value and the target value when the target parameter is the road curvature, where x represents the measured value and y represents the target value.
[0089] In formula (5), a represents the dead zone threshold of road curvature, which is the same as are equal, b represents the upper limit of the road curvature in the transition zone, which can be expressed as If b=0.2 and a=0.1, the curve graph of the second adjustment function can be as follows: Figure 4 shown.
[0090] Optionally, when the target parameter is a lateral error or a heading angle error, the adjustment strategy corresponding to the second value range may further include: as the absolute value of the measured value of the target parameter changes from small to large, the rate of change of the target value of the target parameter changes from small to large. That is, when the target parameter is a lateral error or a heading angle error, the adjustment strategy corresponding to the second value range may include: adjusting the measured value of the target parameter according to a concave function, such as Figure 5 The concave function curve is shown.
[0091] Taking the lateral error as an example, when the lateral error gradually diverges from the dead zone to the transition zone, the steering wheel feedback amount does not want to go from 0 to a relatively large control amount, but rather expects a smaller steering wheel control amount to slowly control the vehicle to the transition zone. The adjustment strategy corresponding to the second value range can achieve the effect of a smooth transition of the measured value of the adjusted target parameter to a value greater than 0.
[0092] Optionally, when the target parameter is a lateral error or a heading angle error, the concave function may be a quadratic concave function. On the positive semi-axis of the coordinate system, the symmetry axis of the quadratic concave function may be ,Pass Point, one of the intersections with the x-axis is , the function curve on the negative semi-axis is related to the function curve on the positive semi-axis In a mirror relationship, taking the lateral error as an example, the quadratic concave function can be expressed as formula (6):
[0093] (6)
[0094] Formula (6) is an expression of the relationship between the measured value and the target value when the target parameter is the lateral error, where x represents the measured value and y represents the target value.
[0095] In formula (6), a represents the dead zone threshold of the lateral error, which is the same as Same; b represents the upper limit of the lateral error in the transition zone, denoted as If b=0.2 and a=0.1, the curve graph of the second adjustment function can be as follows: Figure 5 shown.
[0096] It should be noted that, when the target parameter is the heading angle error, the concave function corresponding to the adjustment strategy is similar to the concave function corresponding to the lateral error in the transition zone, and will not be described in detail here.
[0097] The third value range
[0098] like Figure 2 As shown, the third value range can be the value range shown in the figure (b, c] and [-c, -b). The absolute values of the maximum values of the third value range are the second value and the third value, respectively, and the third value is greater than the second value.
[0099] When the target value range corresponding to the target parameter is the third value range, the measured value of the target parameter can generally be directly input into the control to obtain the control instruction of the steering wheel. Therefore, the third value range can also be called the linear region. However, when there are sudden changes in the road structure and jumps in the road selection at the intersection, the measured value may jump instantly. For example, a sudden concave or convex part of the curb may cause a jump in the calculated road centerline; for example, the vehicle selects lane A according to the direction of the head, but lane B is found to be more suitable during control, which may cause the measured value to jump instantly. If not processed, it will cause a sudden slam of the steering wheel. Therefore, if the measured value falls within the third value range, the measured value compensation is required. Therefore, when the target value range is the third value range and the rate of change between the measured values of the target parameter is greater than the rate of change threshold, the corresponding adjustment strategy may include reducing the absolute value of the current measured value of the target parameter to obtain the adjusted target value. The rate of change between the measured values mentioned here refers to the rate of change between the current measured value and the previous measured value.
[0100] Specifically, the difference between the current measurement value and the previous measurement value of the target parameter can be determined; when the difference is a positive number, the sum of the previous measurement value and the adjustment value is determined as the target value; when the difference is a negative number, the sum of the negative value of the adjustment value and the previous measurement value is determined as the target value. The adjustment value here is the product of the change rate threshold and the measurement time period.
[0101] Taking the lateral error as an example, the rate of change between measured values can be calculated using formula (7):
[0102] (7)
[0103] In formula (7), Indicates The absolute rate of change of the lateral error at the moment, Indicates The lateral error of the moment, Indicates the measurement time period.
[0104] Afterwards, the relationship between the change rate between the measured values and the change rate threshold is determined. If the change rate between the measured values is greater than the change rate threshold, compensation is performed; if the change rate between the measured values is less than or equal to the change rate threshold, no compensation is performed. The compensation formula can be shown as formula (8):
[0105] (8)
[0106] In formula (8), the sign() function is a sign function used to determine the sign of a number. is a positive number, the sign() function returns 1. If the number is negative, the sign() function returns -1. , then the sign() function returns 0. is the rate of change threshold.
[0107] The fourth value range
[0108] Optionally, when the target value range is the fourth value range, the absolute value of the measured value of the target parameter can be adjusted to a fixed third value. Among the absolute values of the maximum values of the fourth value range, the smaller value is the third value, and the larger value is infinity. Figure 2 As shown, the third value range can be the value range shown in the figure (c, +∞) and (-∞, -c).
[0109] In order to quickly eliminate errors (such as lateral errors and heading angle errors), the vehicle lateral controller is generally in a slightly underdamped state, that is, the vehicle lateral controller has reverse oscillations. When a larger lateral error is input, the amplitude of the reverse oscillation will also be larger. For the feedback amount, the adjustment strategy corresponding to the fourth value range can ensure that the reverse oscillation amplitude does not exceed the preset accuracy. Therefore, the fourth value range can also be called a saturation zone.
[0110] Taking the lateral error as an example, the adjustment strategy corresponding to the fourth value range may include the strategy shown in formula (9):
[0111] (9)
[0112] In formula (9), It represents the saturation threshold of the lateral error and is also the upper limit of the linear region.
[0113] The above is a description of the vehicle lateral control method provided in the embodiment of the present application.
[0114] In summary, in the technical solution provided by the present application, different characteristic zones are divided for the input parameters of the vehicle lateral control, which may include a dead zone (corresponding to the first value range), a transition zone (corresponding to the second value range), a linear zone (corresponding to the third value range) and a saturation zone (corresponding to the fourth value range), and different characteristic zones correspond to different adjustment strategies. The adjustment strategy corresponding to the dead zone can effectively alleviate the problem that the vehicle is prone to swinging back and forth with a small amplitude when the measured value of the input parameter is small; the adjustment strategy corresponding to the transition zone can make the adjusted value smoothly connected with the adjusted value of the dead zone, avoiding the situation where the vehicle suddenly turns due to the jump of the steering wheel control command; the adjustment strategy corresponding to the linear zone can avoid causing the steering wheel to suddenly slam when there are sudden changes in the road structure and jumps in the lane selection at the intersection; the adjustment strategy corresponding to the saturation zone can avoid the danger of the vehicle rushing out of the current road due to a large reverse oscillation amplitude in the vehicle lateral control when the measured value of the input parameter is too large. In summary, the vehicle lateral control method provided by the present application is more conducive to the smooth driving of the vehicle.
[0115] Exemplary Devices
[0116] Correspondingly, an embodiment of the present application also provides a vehicle lateral control device, which is applied to a vehicle, specifically an intelligent driving vehicle, such as an intelligent driving vehicle with a lateral control function.
[0117] like Figure 6 As shown, the device may include:
[0118] The acquisition module 601 is used to acquire the measured value of the target parameter.
[0119] The target parameter is an input parameter for lateral control of the vehicle, including at least one of the following: road curvature, lateral error of the vehicle, and heading angle error of the vehicle.
[0120] The determination module 602 is used to determine the target value range to which the measured value of each target parameter belongs.
[0121] Each of the target parameters corresponds to multiple value ranges.
[0122] The adjustment module 603 is used to adjust the measured value of the target parameter according to the target adjustment strategy corresponding to the target value range to obtain an adjusted target value.
[0123] Different value ranges correspond to different adjustment strategies, and the different adjustment strategies are used to indicate reducing the absolute value of the measured value of the target parameter in different ways.
[0124] The control module 604 is used to perform lateral control on the vehicle according to the target value of the target parameter.
[0125] Optionally, the adjustment module 603 may include:
[0126] The first adjustment unit is used to adjust the measured value of the target parameter to 0 when the target value range is a first value range. The absolute values of the maximum values of the first value range are 0 and a first value, respectively, and the first value is greater than 0.
[0127] The second adjustment unit is used for adjusting the absolute value of the measured value of the target parameter to a value greater than 0 and less than a second value when the target value range is the second value range, wherein the absolute values of the maximum values of the second value range are the first value and the second value, respectively, and the second value is greater than the first value.
[0128] The third adjustment unit is used to adjust the absolute value of the measured value of the target parameter to a third value when the target value range is a fourth value range, wherein the smaller value among the absolute values of the maximum values in the fourth value range is the third value, and the third value is greater than the second value.
[0129] Optionally, when the target parameter is a lateral error or a heading angle error, the adjustment module 603 may include:
[0130] The fourth adjustment unit is used to reduce the absolute value of the current measured value of the target parameter to obtain an adjusted target value when the target value range is the third value range and the change rate between the measured values of the target parameter is greater than the change rate threshold.
[0131] The absolute values of the maximum values of the third value range are the second value and the third value respectively, and the third value is greater than the second value.
[0132] Optionally, the fourth adjustment unit may be specifically configured to:
[0133] Determine the difference between the current measurement value and the previous measurement value of the target parameter; if the difference is a positive number, determine the sum of the previous measurement value and the adjustment value as the target value; if the difference is a negative number, determine the sum of the negative value of the adjustment value and the previous measurement value as the target value. The adjustment value is the product of the change rate threshold and the measurement time period.
[0134] Optionally, when the target parameter is road curvature, the adjustment strategy corresponding to the second value range also includes: as the absolute value of the measured value of the target parameter changes from small to large, the rate of change of the target value of the target parameter changes from large to small.
[0135] Optionally, when the target parameter is a lateral error or a heading angle error, the adjustment strategy corresponding to the second value range includes: as the absolute value of the measured value of the target parameter changes from small to large, the rate of change of the target value of the target parameter changes from small to large.
[0136] Optionally, when the target parameter includes a lateral error and a heading angle error, the control module 604 may be specifically configured to:
[0137] A first feedback amount of a steering wheel is determined according to a target value corresponding to the lateral error; a second feedback amount of the steering wheel is determined according to a target value corresponding to the heading angle error; a sum of the first feedback amount and the second feedback amount is determined as a target feedback amount of the steering wheel; and a steering angle of the steering wheel is controlled according to the target feedback amount of the steering wheel.
[0138] The vehicle lateral control device provided in this embodiment belongs to the same application concept as the vehicle lateral control method provided in the above embodiments of this application, and can execute the vehicle lateral control method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the specific processing content of the vehicle lateral control method provided in the above embodiments of this application, and will not be repeated here.
[0139] Exemplary Electronic Devices
[0140] The present application also provides an electronic device, such as Figure 7 As shown, the electronic device includes: a memory 700 and a processor 710 .
[0141] The memory 700 is connected to the processor 710 and is used to store programs.
[0142] The processor 710 is used to implement the vehicle lateral control method in the above embodiment by running the program stored in the memory 700.
[0143] Specifically, the electronic device may further include: a communication interface 720 , an input device 730 , an output device 740 and a bus 750 .
[0144] The processor 710, the memory 700, the communication interface 720, the input device 730 and the output device 740 are connected to each other via a bus.
[0145] Bus 750 may include a pathway for transferring information between the various components of the computer system.
[0146] The processor 710 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0147] The processor 710 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0148] The memory 700 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 700 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0149] The input device 730 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0150] Output device 740 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0151] The communication interface 720 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.
[0152] The processor 710 executes the program stored in the memory 700 and calls other devices, which can be used to implement the various steps of the vehicle lateral control method provided in the above embodiments of the present application.
[0153] Exemplary computer program products and storage media
[0154] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the vehicle lateral control method described in the embodiment of the present application.
[0155] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK).
[0156] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0157] In addition, the embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the vehicle lateral control method described in the embodiment of the present application.
[0158] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0159] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. 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.
[0160] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0161] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0162] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, 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 modules, which can be electrical, mechanical or other forms.
[0163] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0164] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0165] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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.
[0166] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0167] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0168] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle lateral control method, characterized in that: The method comprises: Obtaining a measured value of a target parameter; wherein the target parameter is an input parameter for lateral control of the vehicle, including at least one of the following: road curvature, lateral error of the vehicle, and heading angle error of the vehicle; Determine the target value range to which the measured value of each target parameter belongs; wherein each target parameter corresponds to multiple value ranges; According to the target adjustment strategy corresponding to the target value range, the measured value of the target parameter is adjusted to obtain an adjusted target value; wherein different value ranges correspond to different adjustment strategies, and the different adjustment strategies are used to indicate that the absolute value of the measured value of the target parameter is reduced in different ways; performing lateral control on the vehicle according to the target value of the target parameter; Wherein, adjusting the measured value of the target parameter according to the target adjustment strategy corresponding to the target value range includes: When the target value range is a first value range, adjusting the measured value of the target parameter to 0; wherein the absolute values of the maximum values of the first value range are 0 and a first value, respectively, and the first value is greater than 0; When the target value range is the second value range, adjusting the absolute value of the measured value of the target parameter to a value greater than 0 and less than a second value; wherein the absolute values of the maximum values of the second value range are the first value and the second value, respectively, and the second value is greater than the first value; When the target value range is the fourth value range, the absolute value of the measured value of the target parameter is adjusted to a third value; wherein the smaller value among the absolute values of the maximum values of the fourth value range is the third value, and the third value is greater than the second value.
2. The vehicle lateral control method according to claim 1, characterized in that: The step of adjusting the measured value of the target parameter according to the target adjustment strategy corresponding to the target value range to obtain the adjusted target value includes: When the target value range is a third value range and the rate of change between the measured values of the target parameter is greater than a rate of change threshold, reducing the absolute value of the current measured value of the target parameter to obtain an adjusted target value; The absolute values of the maximum values of the third value range are the second value and the third value respectively, and the third value is greater than the second value.
3. The vehicle lateral control method according to claim 2, characterized in that: The reducing the absolute value of the current measured value of the target parameter to obtain an adjusted target value includes: determining a difference between a current measurement and a previous measurement of the target parameter; When the difference is a positive number, the sum of the previous measurement value and the adjustment value is determined as the target value; wherein the adjustment value is the product of the change rate threshold and the measurement time period; When the difference is a negative number, the sum of the negative value of the adjustment value and the previous measurement value is determined as the target value.
4. The vehicle lateral control method according to claim 1, characterized in that: In the case where the target parameter is road curvature, the adjustment strategy corresponding to the second value range also includes: as the absolute value of the measured value of the target parameter changes from small to large, the change rate of the target value of the target parameter changes from large to small.
5. The vehicle lateral control method according to claim 1, characterized in that: When the target parameter is a lateral error or a heading angle error, the adjustment strategy corresponding to the second value range includes: as the absolute value of the measured value of the target parameter changes from small to large, the change rate of the target value of the target parameter changes from small to large.
6. The vehicle lateral control method according to claim 1, characterized in that: In a case where the target parameter includes a lateral error and a heading angle error, the lateral control of the vehicle according to a target value of the target parameter includes: determining a first feedback amount of a steering wheel according to a target value corresponding to the lateral error; determining a second feedback amount of the steering wheel according to a target value corresponding to the heading angle error; determining the sum of the first feedback amount and the second feedback amount as a target feedback amount of the steering wheel; The turning angle of the steering wheel is controlled according to the target feedback amount of the steering wheel.
7. A vehicle, characterized in that: The vehicle is used to implement the vehicle lateral control method as described in any one of claims 1 to 6.
8. An electronic device, characterized in that: include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the vehicle lateral control method according to any one of claims 1 to 6 by running the program in the memory.
9. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the vehicle lateral control method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Vehicle driving assistance equipment
CN102264593A
Vehicle control method and device, computer equipment and storage medium
CN111409632A
