Vehicle lateral control method, device, equipment and storage medium

Determining the target parameters of the PID controller by simulating the response situation solves the problem of heavy calibration workload of PID controller parameters in the existing technology, realizes efficient self-calibration of vehicle lateral control, and improves control efficiency.

CN113848899BActive Publication Date: 2024-09-20CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111107822.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-22
Publication Date
2024-09-20
Estimated Expiration
2041-09-22

AI Technical Summary

Technical Problem

In the existing technology, the control parameter calibration of the PID controller is heavy and time-consuming, making it difficult to obtain optimal parameters and affecting the efficiency of vehicle lateral control.

Method used

Determine the target control parameters of the proportional integral differential PID controller by simulating the response, use the preset input test signal for simulation, obtain the deviation degree of the vehicle and the lane line, and adjust the torque according to the target control parameters to realize the self-calibration function and reduce The workload of parameter calibration.

Benefits of technology

It achieves high efficiency of vehicle lateral control, reduces the workload of PID controller parameter calibration, and makes vehicle lateral control more efficient and automated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113848899B
    Figure CN113848899B
Patent Text Reader

Abstract

An embodiment of the present application discloses a vehicle lateral control method, device, equipment and storage medium, the method comprising: determining target control parameters of a proportional integral differential PID controller according to a simulated response of the vehicle to a preset input test signal; obtaining a current deviation degree of the vehicle from a lane line and a target deviation degree of the vehicle from the lane line; controlling the PID controller to output a target torque of the vehicle according to the target control parameters, the current deviation degree and the target deviation degree; controlling the current torque of the vehicle to be adjusted to the target torque; through the above technical solution, the workload of PID controller control parameter calibration is reduced, making the vehicle lateral control more efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of control technology, and in particular, to a vehicle lateral control method, device, equipment and storage medium. Background Art

[0002] At present, the installation rate of advanced driver assistance systems on automobiles is getting higher and higher. Among them, lane departure assistance systems and congestion assistance systems both include vehicle lateral control. For example, during the operation of the lane departure assistance system, the system calculates the positional relationship between the vehicle and the lane line, that is, the degree of deviation of the vehicle, and corrects the vehicle by controlling the angle of the steering wheel so that the vehicle drives in the middle of the lane. In the above process, it is often necessary to calculate the desired steering wheel angle based on the degree of deviation of the vehicle, and then output the torque signal of the desired angle through the controller to control the vehicle's electric power steering system to achieve the desired angle, and then correct the degree of deviation of the vehicle. In order to ensure the safety of vehicle lateral control, the Proportional Integral Differential (PID) controller is often used in vehicle lateral control.

[0003] However, the design of PID controller includes a lot of control parameter calibration work. The existing control parameter calibration method is to obtain better PID control parameters by gradually adjusting P parameters, I parameters and D parameters based on existing experience and PID control rules. For experienced engineers, this calibration work is also very time-consuming and laborious, and it may not necessarily obtain the optimal PID control parameters.

[0004] Therefore, there is an urgent need to improve the problems existing in the prior art. Summary of the invention

[0005] The present application provides a vehicle lateral control method, device, equipment and storage medium to reduce the workload of PID controller control parameter calibration and make vehicle lateral control more efficient.

[0006] In a first aspect, an embodiment of the present application provides a vehicle lateral control method, the method comprising:

[0007] Determine the target control parameters of the proportional-integral-derivative (PID) controller based on the simulated response of the vehicle to a preset input test signal;

[0008] Acquire a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line;

[0009] Controlling the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree and the target deviation degree;

[0010] Control is performed to adjust the current torque of the vehicle to the target torque.

[0011] In a second aspect, an embodiment of the present application further provides a vehicle lateral control device, the device comprising:

[0012] A control parameter determination module, used to determine target control parameters of a proportional-integral-differential (PID) controller according to a simulated response of the vehicle to a preset input test signal;

[0013] A deviation data acquisition module, used to acquire a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line;

[0014] a target torque acquisition module, configured to control the PID controller to output the target torque of the vehicle according to the target control parameter, the current deviation degree and the target deviation degree;

[0015] The torque control module is used to control the current torque of the vehicle to be adjusted to the target torque.

[0016] In a third aspect, an embodiment of the present application further provides an electronic device, the device comprising:

[0017] one or more processors;

[0018] a storage device for storing one or more programs,

[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the vehicle lateral control methods provided in the first aspect embodiment.

[0020] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any one of the vehicle lateral control methods provided in the embodiment of the first aspect.

[0021] The embodiment of the present application determines the target control parameters of the proportional-integral-differential PID controller according to the simulated response of the vehicle to a preset input test signal; obtains the current deviation degree of the vehicle from the lane line and the target deviation degree of the vehicle from the lane line; controls the PID controller to output the target torque of the vehicle according to the target control parameters, the current deviation degree and the target deviation degree; and controls the current torque of the vehicle to be adjusted to the target torque. Through the above technical scheme, the PID control parameters are optimized by simulation, and the target control parameters in the PID controller are determined according to the simulated response of the vehicle to the preset input test signal. Finally, the target control parameters in the PID controller are determined as a more optimal value, so that the PID controller for the lateral control of the vehicle has a self-calibration function, which reduces the workload of the PID controller control parameter calibration and makes the lateral control of the vehicle more efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of a vehicle lateral control method provided in Example 1 of the present application;

[0023] Figure 2 is a flow chart of a vehicle lateral control method provided in Embodiment 2 of the present application;

[0024] Figure 3 is a flow chart of a vehicle lateral control method provided in Embodiment 3 of the present application;

[0025] Figure 4 It is a schematic diagram of a control parameter calibration process of a PID controller provided in Example 3 of the present application;

[0026] Figure 5 It is a schematic diagram of a target control parameter verification process provided in Example 3 of the present application;

[0027] Figure 6 is a schematic diagram of a vehicle lateral control device provided in Embodiment 4 of the present application;

[0028] Figure 7 This is a schematic diagram of an electronic device provided in Example 5 of the present application. DETAILED DESCRIPTION

[0029] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.

[0030] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0031] Embodiment 1

[0032] Figure 1 A flow chart of a vehicle lateral control method provided in Example 1 of the present application. The present application embodiment can be applied to the case where the vehicle lateral control is realized according to the PID control parameters obtained by automatic calibration. The method can be executed by a vehicle lateral control device, which can be implemented by software and / or hardware and specifically configured in an electronic device, which can be a mobile terminal or a fixed terminal.

[0033] See also Figure 1 , the vehicle lateral control method provided by the embodiment of the present application includes:

[0034] S110 . Determine target control parameters of a proportional-integral-differential (PID) controller according to a simulated response of the vehicle to a preset input test signal.

[0035] The preset input test signal may be a predetermined simulated input signal, and the preset input test signal is used to simulate an assumption about the degree of deviation of the vehicle.

[0036] Optionally, depending on the type of the input signal, the preset input test signal may be a step-type input test signal, a ramp-type input test signal or a sinusoidal-type input test signal.

[0037] In this embodiment, based on the vehicle's simulated response to a preset input test signal, the vehicle's response time and response error to the input test signal can be determined; based on the response time and response error, it can be determined whether the control parameters in the vehicle's current PID controller need to be used as target control parameters; when both the response time and response error meet the preset conditions, the control parameters in the vehicle's current PID controller can be used as target control parameters.

[0038] Of course, in some embodiments, the target control parameters of the proportional-integral-differential (PID) controller can also be comprehensively determined based on the simulated response of the vehicle to various types of preset input test signals, such as the simulated response of the vehicle to a step input test signal, the simulated response of the vehicle to a ramp input test signal, and the simulated response of the vehicle to a sinusoidal input test signal.

[0039] It should be noted that during the simulated response process, the vehicle does not actually move, and the simulated response process is equivalent to a simulation process performed on the vehicle.

[0040] S120: Obtain a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line.

[0041] The degree of deviation includes the deviation angle and deviation distance of the vehicle.

[0042] The front deviation degree refers to the current deviation of the vehicle from the lane line, including the current deviation angle and current deviation distance of the vehicle.

[0043] The target deviation degree refers to the deviation degree of the vehicle under the standard operating state. Typically, the target deviation degree can be determined as the vehicle driving in the center of the lane line, that is, the target deviation angle between the vehicle and the lane line is zero, and the target deviation distance between the vehicle and the lane line is half of the lane width.

[0044] Optionally, the current deviation degree between the vehicle and the lane line can be determined based on a visual sensor such as a camera carried by the vehicle itself; or the current deviation degree between the vehicle and the lane line can be determined based on the vehicle's GPS (Global Positioning System) location information and the vehicle's running direction. The target deviation degree can be determined based on a preset standard operating state of the vehicle, and different standard operating states correspond to different target deviation degrees.

[0045] S130 , controlling the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree, and the target deviation degree.

[0046] The target torque is also the target torque signal output by the PID controller. The electric power steering system of the vehicle can control the driving of the vehicle according to the target torque signal, and then correct the deviation degree of the vehicle.

[0047] Specifically, the vehicle's PID controller may output a target torque of the vehicle according to a current deviation degree and a target deviation degree of the vehicle based on predetermined target control parameters.

[0048] S140: Control to adjust the current torque of the vehicle to the target torque.

[0049] Specifically, the control adjusts the current torque of the vehicle to the target torque, that is, controls the driving state of the vehicle. By adjusting the current torque of the vehicle to the target torque, the deviation degree of the vehicle can be corrected.

[0050] The embodiment of the present application determines the target control parameters of the proportional-integral-differential PID controller according to the simulated response of the vehicle to a preset input test signal; obtains the current deviation degree of the vehicle from the lane line and the target deviation degree of the vehicle from the lane line; controls the PID controller to output the target torque of the vehicle according to the target control parameters, the current deviation degree and the target deviation degree; and controls the current torque of the vehicle to be adjusted to the target torque. Through the above technical scheme, the PID control parameters are optimized by simulation, and the target control parameters in the PID controller are determined according to the simulated response of the vehicle to the preset input test signal. Finally, the target control parameters in the PID controller are determined as a more optimal value, so that the PID controller for the lateral control of the vehicle has a self-calibration function, which reduces the workload of the PID controller control parameter calibration and makes the lateral control of the vehicle more efficient.

[0051] Embodiment 2

[0052] Figure 2 A flow chart of a vehicle lateral control method provided in Embodiment 2 of the present application. This embodiment is an optimization of the above-mentioned scheme based on the above-mentioned embodiment.

[0053] Furthermore, the operation of "determining target control parameters of a proportional-integral-differential (PID) controller based on a simulated response of the vehicle to a preset input test signal" is refined into "determining candidate control parameters of the PID controller; controlling the power steering system of the vehicle to simulate a response to the input test signal of the vehicle according to the candidate control parameters to obtain simulated response data; and controlling the candidate control parameters to be used as target control parameters according to the simulated response data" to clarify the process of determining the target control parameters.

[0054] The explanations of the terms that are the same as or corresponding to the above embodiments will not be repeated here.

[0055] See also Figure 2 The vehicle lateral control method provided in this embodiment includes:

[0056] S210: Determine candidate control parameters of a PID controller.

[0057] Specifically, based on preset selection rules, candidate control parameters may be selected within the parameter range of the PID control parameters, including selecting P parameters, I parameters, and D parameters from among the PID control parameters.

[0058] The parameter range may be determined in advance based on empirical values, and the preset selection rule may be based on a predetermined control parameter selection order to select within the parameter range. For example, the candidate control parameters may be selected in a descending or ascending order within the parameter range.

[0059] Of course, in some embodiments, candidate control parameters may also be randomly selected within the parameter range.

[0060] It should be noted that the preset selection rules proposed above should not constitute a limitation on the embodiments of the present application. Other preset selection rules may also be determined according to actual needs, all of which are within the scope of protection of the present application.

[0061] S220 , controlling the power steering system of the vehicle to simulate a response to an input test signal of the vehicle according to the candidate control parameters to obtain simulated response data.

[0062] Among them, the power steering system, also known as the vehicle's Electric Power Steering (EPS), refers to a power steering system that relies on an electric motor to provide auxiliary torque.

[0063] In this embodiment, the power steering system of the vehicle can simulate the response to the input test signal of the vehicle according to the candidate control parameters determined in S210 to obtain simulated response data, where the simulated response data includes the offset angle and offset position of the vehicle.

[0064] S230. According to the simulation response data, the control takes the candidate control parameters as target control parameters.

[0065] Optionally, after obtaining the simulated response data, the steady-state error and delay time of the vehicle steering wheel response, that is, the response time and response error, can be calculated based on the simulated response data; based on the steady-state error and delay time, it can be determined whether the candidate control parameter needs to be used as the target control parameter.

[0066] Specifically, it can be determined whether the steady-state error and the delay time meet the preset indicator thresholds, wherein the preset indicator thresholds include a steady-state error threshold and a delay time threshold; when the steady-state error is less than the steady-state error threshold, and the delay time is less than the delay time threshold, it can be determined that the steady-state error and the delay time meet the preset indicator thresholds; and the candidate control parameters corresponding to the preset indicator thresholds are used as target control parameters.

[0067] Among them, the preset indicator threshold can be a parameter range pre-set for the PID control parameter. In more detail, a corresponding parameter range can be set for each control parameter in the PID control parameter. The parameter ranges of different control parameters can be the same or different. The parameter range can be determined specifically according to actual conditions.

[0068] S240: Obtain a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line.

[0069] S250 , controlling the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree, and the target deviation degree.

[0070] S260: Control to adjust the current torque of the vehicle to the target torque.

[0071] Based on the above-mentioned embodiments, the embodiment of the present application clarifies the process of determining the target control parameters, by determining the candidate control parameters of the PID controller; controlling the power steering system of the vehicle to simulate the response to the input test signal of the vehicle according to the candidate control parameters to obtain simulated response data; and controlling the candidate control parameters as the target control parameters according to the simulated response data. Through the above-mentioned technical scheme, the PID control parameters are optimized by simulation, and the target control parameters are determined from the candidate control parameters according to the simulated response data of the power steering system of the vehicle to the input test signal according to the candidate control parameters. Finally, the target control parameters in the PID controller are determined as a more optimal value, so that the PID controller for the lateral control of the vehicle has a self-calibration function, which reduces the workload of the PID controller control parameter calibration and makes the lateral control of the vehicle more efficient.

[0072] Embodiment 3

[0073] Figure 3 A flow chart of a vehicle lateral control method provided in Example 3 of the present application. This embodiment is an optimization of the above-mentioned scheme based on the above-mentioned embodiment.

[0074] Furthermore, the operation of "determining candidate control parameters of the PID controller" is refined into "determining initial control parameters, and taking the initial control parameters that meet preset parameter conditions as the candidate control parameters; or, if the previous simulation response data does not meet the corresponding preset response conditions, adjusting the previous simulation response data, and generating new candidate control parameters based on the adjustment results" to clarify the process of determining the candidate control parameters.

[0075] The explanations of the terms that are the same as or corresponding to the above embodiments will not be repeated here.

[0076] See also Figure 3The vehicle lateral control method provided in this embodiment includes:

[0077] S310, determining initial control parameters, and taking the initial control parameters that meet preset parameter conditions as candidate control parameters; or, if the previous simulation response data does not meet the corresponding preset response conditions, adjusting the previous simulation response data, and generating new candidate control parameters according to the adjustment results.

[0078] Wherein, determining the initial control parameters includes determining the initial values ​​of the P parameter, the I parameter and the D parameter in the PID control parameters. The preset parameter condition may be a parameter range pre-set for the PID control parameters. In more detail, a corresponding parameter range may be set for each control parameter in the PID control parameters. The parameter ranges of different control parameters may be the same or different. Specifically, the parameter range may be set according to actual conditions.

[0079] In this embodiment, based on the experience of vehicle lateral control, the P parameter, I parameter and D parameter in the PID control parameters can be set to values ​​between 0.01 and 3.

[0080] Optionally, determining the initial control parameters includes: setting the lower limit value or the lower limit value of the parameter range of each control parameter as the initial control parameter when the preset parameter conditions are met; or, randomly generating the initial control parameters within the parameter range of each control parameter when the preset parameter conditions are met.

[0081] It is understandable that there are many ways to determine the initial control parameters, and of course there are other ways of determination. The specific way of determining the initial control parameters can be determined according to actual needs, which is within the scope of protection of this application.

[0082] In this embodiment, after the initial control parameters that meet the preset parameter conditions are used as candidate control parameters, the power steering system of the vehicle can be controlled to simulate the response of the vehicle's input test signal according to the candidate control parameters to obtain simulated response data; after obtaining the simulated response data, the simulated response data can be judged to determine whether the simulated response data meets the corresponding preset response conditions.

[0083] The preset response conditions include a response time condition and a response error condition, and the preset response conditions can be predetermined according to requirements.

[0084] For example, the response error of the vehicle steering wheel may be determined to be less than 0.1 degrees, and the response time may be determined to be less than 150 milliseconds.

[0085] In this embodiment, when the simulation response data does not satisfy the corresponding preset response condition, new candidate control parameters can be determined according to the current simulation response data to achieve optimization of the PID control parameters.

[0086] Optionally, if the previous simulation response data does not meet the corresponding preset response condition, the previous simulation response data is adjusted, and new candidate control parameters are generated based on the adjustment result, including: adjusting the D parameter in the candidate control parameter according to a first preset accuracy value; if the adjustment result meets the first preset parameter condition, the adjusted candidate control parameter is used as the new candidate control parameter.

[0087] The size of the first preset accuracy value is associated with the accuracy of the control parameter determination. Of course, the first preset accuracy value cannot be set too small. If you blindly pursue accuracy, the calibration process of the control parameter will take a long time.

[0088] In this embodiment, the first preset accuracy value can be set manually according to actual conditions and actual needs, or can be automatically calculated and set using other algorithms. For example, the first preset accuracy value can be set to 0.01.

[0089] The first preset parameter condition refers to the parameter range of the D parameter adjustment, and the parameter range can be predetermined based on empirical values. For example, the first preset parameter condition can be set to be between 0.01 and 3.

[0090] Optionally, if the adjustment result does not meet the first preset parameter condition, the I parameter in the candidate control parameter is adjusted according to the second preset accuracy value; if the adjustment result meets the second preset parameter condition, the adjusted candidate control parameter is used as a new candidate control parameter.

[0091] The size of the second preset accuracy value is associated with the accuracy of the control parameter determination. Of course, the second preset accuracy value cannot be set too small. If you blindly pursue accuracy, the calibration process of the control parameter will take a long time.

[0092] In this embodiment, the second preset precision value can be manually set according to actual conditions and actual needs or automatically calculated and set using other algorithms. The second preset precision value can be the same as or different from the first preset precision value. For example, the second preset precision value can be set to 0.01.

[0093] The second preset parameter condition refers to the parameter range of the I parameter adjustment, which can be predetermined based on empirical values. The second preset parameter condition can be the same as or different from the first preset parameter condition. For example, the second preset parameter condition can be set to between 0.01 and 3.

[0094] Optionally, if the adjustment result does not meet the second preset parameter condition, the P parameter in the candidate control parameter is adjusted according to the third preset accuracy value; if the adjustment result meets the third preset parameter condition, the adjusted candidate control parameter is used as a new candidate control parameter.

[0095] The size of the third preset accuracy value is associated with the accuracy of the control parameter determination. Of course, the third preset accuracy value cannot be set too small. If you blindly pursue accuracy, the calibration process of the control parameter will take a long time.

[0096] In this embodiment, the third preset precision value can be manually set according to actual conditions and actual needs or automatically calculated and set using other algorithms. The third preset precision value can be the same as or different from the first preset precision value or the second preset precision value. For example, the third preset precision value can be set to 0.01.

[0097] The third preset parameter condition refers to the parameter range of the P parameter adjustment, which can be predetermined based on empirical values. The third preset parameter condition can be the same as or different from the first preset parameter condition or the second preset parameter condition. For example, the third preset parameter condition can be set to between 0.01 and 3.

[0098] See also Figure 4 A schematic diagram of the control parameter calibration process of a PID controller is shown in FIG. Figure 4 The automatic parameter adjustment process of the PID controller is given as an example, that is, the process of determining the optimal PID control parameters. According to prior knowledge, the parameter ranges of the P parameter, I parameter and D parameter from the vehicle angle to torque can be set between 0.01 and 3. Within this parameter range, the parameter adjustment step is set to 0.01; the response error and response time of the vehicle EPS corresponding to the combined value of the P parameter, I parameter and D parameter are calculated, and according to the trend of the response error and response time, the P parameter, I parameter and D parameter item range are intelligently adjusted until the combined value of the P parameter, I parameter and D parameter that meets the response error and response time requirements is found; after finding the combined value that meets the requirements, the automatic calibration process ends. In addition, in the process of initializing the automatic calibration program, an initial steady-state error and response delay time can be predetermined, and the steady-state error and response delay time are less than the preset response condition.

[0099] Continue to see Figure 4When it is determined that the D parameter does not meet the preset parameter range, that is, when the D parameter is not less than 3, the automatic calibration program will output error, please redetermine the range. At this time, the automatic calibration program will jump to the adjustment process of the I parameter. At this time, the I parameter will be adjusted according to the precision value of 0.01, and the D parameter will also be redetermined; when it is determined that the I parameter does not meet the preset parameter range, that is, when the I parameter is not less than 3, the automatic calibration program will output error, please redetermine the range. At this time, the automatic calibration program will jump to the adjustment process of the P parameter. At this time, the P parameter will be adjusted according to the precision value of 0.01, and the I parameter and D parameter will also be redetermined, and then all the combined values ​​of the P parameter, I parameter and D parameter within the parameter range will be traversed.

[0100] It should be noted that the above automatic parameter adjustment process directly outputs the PID control parameters that meet the constraint conditions after finding the combined values ​​of the P parameters, I parameters and D parameters that meet the response error and response time requirements. Of course, in some embodiments, it is also possible to traverse all the combined values ​​of the P parameters, I parameters and D parameters within the parameter range, sort the response errors and response times corresponding to the combined values ​​of all the PID control parameters within the parameter range, and select the optimal PID control parameters for output.

[0101] Optionally, in some embodiments, during the above-mentioned automatic parameter adjustment process, the P parameter, I parameter and D parameter are dynamically adjusted within a preset parameter range according to the changing trend of the response error and the response time. For example, a swarm intelligence algorithm such as an artificial bee colony algorithm can be used to dynamically adjust the P parameter, I parameter and D parameter.

[0102] Specifically, the search range of P parameters, I parameters and D parameters can be set to values ​​between 0.01 and 3, the search step is 0.01, and the number of group update iterations is set to 50 times. The artificial bee colony algorithm will obtain the optimal solution in the given search interval through a series of calculation steps, that is, find the target control parameters.

[0103] S320, controlling the power steering system of the vehicle to simulate a response to an input test signal of the vehicle according to the candidate control parameters to obtain simulated response data.

[0104] S330. According to the simulation response data, the control takes the candidate control parameters as target control parameters.

[0105] S340: Obtain a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line.

[0106] S350 , controlling the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree and the target deviation degree.

[0107] S360: Control to adjust the current torque of the vehicle to the target torque.

[0108] Optionally, after controlling the current torque of the vehicle to be adjusted to the target torque, it also includes: obtaining the actual degree of deviation of the vehicle from the lane line, and determining whether it is necessary to redetermine the target control parameters based on the actual degree of deviation and the target deviation; if necessary, adjusting the preset parameter conditions and / or the preset response conditions; and redetermining the candidate control parameters of the PID controller based on the adjusted preset parameter conditions and the preset response conditions.

[0109] Specifically, on the basis of the preset parameter conditions, a parameter compensation condition can be added to the upper limit value and / or lower limit value of the preset parameter conditions, which is equivalent to amplifying the preset parameter conditions to a certain extent; and / or, on the basis of the preset response conditions, the preset response conditions can be re-determined to adjust the preset response conditions to more stringent response conditions.

[0110] For example, if the original preset parameter condition is between 0.01 and 3, then when it is determined that the candidate control parameters of the PID controller need to be re-determined, the preset parameter condition can be adjusted to between 0.01 and 3.2. Compared with the original preset parameter condition, the upper limit value of the adjusted preset parameter condition is increased by 0.2.

[0111] In this embodiment, the actual running state of the vehicle can be observed with the help of other external devices such as drones to obtain the actual deviation degree between the vehicle and the lane line. By comparing the actual deviation degree of the vehicle with the target deviation degree, the target control parameters can be verified to determine whether the control parameters in the PID controller need to be re-determined.

[0112] It is understandable that after the target control parameters of the PID controller are determined by simulation, the target control parameters need to be verified in actual scenarios, because there may be errors in the target control parameters determined by simulation. By adjusting the preset parameter conditions and / or the preset response conditions, the PID control parameters are re-determined by simulation to achieve the optimal control result in the real scenario.

[0113] See also Figure 5 The schematic diagram of a target control parameter verification process shown in FIG. 1 shows an example of a vehicle 1 driving on a circular road 2 with a set radius, wherein a drone 3 is used to observe the actual running state of the vehicle. Specifically, the target control parameters can be verified in a specific scenario, such as Figure 5The specific scenario given as an example can be selected as a group of fixed circle test roads, including 10 groups of fixed circle test roads with radii of 125 meters, 225 meters, ..., 925 and 1025 meters, in which the lane width is fixed such as 3.5 meters. By observing the driving conditions of the vehicle on different fixed circle test roads, the lateral control evaluation of the vehicle after calibration under a constant speed state can be achieved.

[0114] During the verification process, because the vehicle is at a constant speed, the vehicle can stably drive on a fixed circular runway. It only needs to give a specific target steering angle (such as 30 degrees). At this time, according to the target control parameters of the PID controller from the angle to the torque calibrated in steps S310-330, the steering wheel can be controlled to follow the angle to control the vehicle. Through the monitoring of the drone above the vehicle, the actual operation of the vehicle, such as the running trajectory, can be observed; according to the observed actual operation of the vehicle, the control parameter evaluation of the calibrated target control parameters can be performed, and the target control parameters determined in steps S310-330 can be further corrected according to the control parameter evaluation results, so as to achieve the optimal control result in the real scene.

[0115] Based on the above-mentioned embodiments, the embodiment of the present application clarifies the process of determining the candidate control parameters, by determining the initial control parameters, and taking the initial control parameters that meet the preset parameter conditions as the candidate control parameters; or, if the previous simulation response data does not meet the corresponding preset response conditions, the previous simulation response data is adjusted, and new candidate control parameters are generated based on the adjustment results. Through the above-mentioned technical scheme, when the simulation response data corresponding to the selected candidate control parameters does not meet the corresponding preset response conditions, new candidate control parameters can be regenerated based on the simulation response data, and finally the target control parameters in the PID controller are determined, and the target control parameters in the PID controller are determined as a more optimal value, so that the PID controller of the vehicle lateral control has a self-calibration function, which reduces the workload of the PID controller control parameter calibration and makes the vehicle lateral control more efficient.

[0116] Embodiment 4

[0117] Figure 6 Schematic diagram of the structure of a vehicle lateral control device provided in the fourth embodiment of the present application. Figure 6 An embodiment of the present application provides a vehicle lateral control device, which includes: a control parameter determination module 410, a deviation data acquisition module 420, a target torque acquisition module 430 and a torque control module 440.

[0118] A control parameter determination module 410 is used to determine target control parameters of a proportional-integral-derivative (PID) controller according to a simulated response of the vehicle to a preset input test signal;

[0119] A deviation data acquisition module 420 is used to acquire a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line;

[0120] A target torque acquisition module 430, configured to control the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree and the target deviation degree;

[0121] The torque control module 440 is used to control the current torque of the vehicle to be adjusted to the target torque.

[0122] The embodiment of the present application determines the target control parameters of the proportional-integral-differential PID controller according to the simulated response of the vehicle to a preset input test signal; obtains the current deviation degree of the vehicle from the lane line and the target deviation degree of the vehicle from the lane line; controls the PID controller to output the target torque of the vehicle according to the target control parameters, the current deviation degree and the target deviation degree; and controls the current torque of the vehicle to be adjusted to the target torque. Through the above technical scheme, the PID control parameters are optimized by simulation, and the target control parameters in the PID controller are determined according to the simulated response of the vehicle to the preset input test signal. Finally, the target control parameters in the PID controller are determined as a more optimal value, so that the PID controller for the lateral control of the vehicle has a self-calibration function, which reduces the workload of the PID controller control parameter calibration and makes the lateral control of the vehicle more efficient.

[0123] Furthermore, the control parameter determination module 410 includes:

[0124] A candidate control parameter determination submodule, used to determine candidate control parameters of the PID controller;

[0125] A simulation response data acquisition submodule, used for controlling the power steering system of the vehicle to simulate the response to the input test signal of the vehicle according to the candidate control parameters to obtain simulation response data;

[0126] The target control parameter determination submodule is used to control the candidate control parameter to be used as the target control parameter according to the simulation response data.

[0127] Furthermore, the candidate control parameter determination submodule includes:

[0128] The candidate control parameter generating unit is used to determine the initial control parameter and use the initial control parameter that meets the preset parameter condition as the candidate control parameter; or, if the previous simulation response data does not meet the corresponding preset response condition, the previous simulation response data is adjusted, and new candidate control parameters are generated according to the adjustment result.

[0129] Furthermore, the candidate control parameter generating unit includes:

[0130] A differential parameter adjustment subunit, configured to adjust a D parameter in the candidate control parameters according to a first preset precision value;

[0131] The first candidate parameter generating subunit is configured to use the adjusted candidate control parameter as the new candidate control parameter if the adjustment result satisfies the first preset parameter condition.

[0132] Furthermore, the device also includes:

[0133] an integral parameter adjustment subunit, configured to adjust the I parameter in the candidate control parameters according to a second preset accuracy value if the adjustment result does not satisfy the first preset parameter condition;

[0134] The second candidate parameter generating subunit is used to use the adjusted candidate control parameter as a new candidate control parameter if the adjustment result meets the second preset parameter condition.

[0135] Furthermore, the device also includes:

[0136] a proportional parameter adjustment subunit, configured to adjust the P parameter in the candidate control parameters according to a third preset accuracy value if the adjustment result does not satisfy the second preset parameter condition;

[0137] The third candidate parameter generating subunit is used to use the adjusted candidate control parameter as a new candidate control parameter if the adjustment result meets the third preset parameter condition.

[0138] Furthermore, the device also includes:

[0139] a control parameter adjustment subunit, configured to obtain an actual degree of deviation between the vehicle and the lane line after controlling the current torque of the vehicle to be adjusted to the target torque, and determine whether it is necessary to redetermine the target control parameter according to the actual degree of deviation and the target degree of deviation;

[0140] A preset parameter adjustment subunit, used to adjust the preset parameter condition and / or the preset response condition if necessary;

[0141] The candidate control parameter redetermining subunit is used to redetermine the candidate control parameters of the PID controller according to the adjusted preset parameter conditions and the preset response conditions.

[0142] The vehicle lateral control device provided in the embodiments of the present application can execute the vehicle lateral control method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.

[0143] Embodiment 5

[0144] Figure 7 This is a structural diagram of an electronic device provided in Example 5 of the present application. Figure 7 A block diagram of an exemplary electronic device 512 suitable for implementing embodiments of the present application is shown. Figure 7 The electronic device 512 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0145] like Figure 7 As shown, the electronic device 512 is in the form of a general purpose computing device. The components of the electronic device 512 may include, but are not limited to: one or more processors or processing units 516, a system memory 528, and a bus 518 connecting different system components (including the system memory 528 and the processing unit 516).

[0146] Bus 518 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0147] The electronic device 512 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 512, including volatile and non-volatile media, removable and non-removable media.

[0148] The system memory 528 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 530 and / or cache memory 532. The electronic device 512 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 534 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 518 via one or more data medium interfaces. The system memory 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.

[0149] A program / utility 540 having a set (at least one) of program modules 542 may be stored, for example, in system memory 528, such program modules 542 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 542 generally perform the functions and / or methods of the embodiments described herein.

[0150] The electronic device 512 may also communicate with one or more external devices 514 (e.g., keyboards, pointing devices, displays 524, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 512, and / or may communicate with any device that enables the electronic device 512 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 522. Furthermore, the electronic device 512 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 520. As shown, the network adapter 520 communicates with other modules of the electronic device 512 via a bus 518. It should be understood that although Figure 7 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 512, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0151] The processing unit 516 executes various functional applications and data processing by running at least one of the other programs among the multiple programs stored in the system memory 528, such as implementing any vehicle lateral control method provided in the embodiments of the present application.

[0152] Embodiment 6

[0153] Embodiment 6 of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a vehicle lateral control method provided in any embodiment of the present application is implemented. The method includes:

[0154] Determine the target control parameters of the proportional-integral-derivative (PID) controller based on the simulated response of the vehicle to a preset input test signal;

[0155] Acquire a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line;

[0156] Controlling the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree and the target deviation degree;

[0157] Control is performed to adjust the current torque of the vehicle to the target torque.

[0158] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented with the help of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0159] It is worth noting that in the above-mentioned embodiment of the vehicle lateral control device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0160] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A vehicle lateral control method, characterized in that: include: Determine the target control parameters of the proportional-integral-derivative (PID) controller based on the simulated response of the vehicle to a preset input test signal; Acquire a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line, wherein the deviation degree includes a deviation angle and a deviation distance of the vehicle; Controlling the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree and the target deviation degree; controlling to adjust the current torque of the vehicle to the target torque; The step of determining target control parameters of a proportional-integral-differential (PID) controller according to a simulated response of the vehicle to a preset input test signal comprises: determining candidate control parameters of the PID controller; Controlling the power steering system of the vehicle to simulate a response to an input test signal of the vehicle according to the candidate control parameters to obtain simulated response data; controlling, according to the simulation response data, to use the candidate control parameter as a target control parameter; Wherein, determining the candidate control parameters of the PID controller includes: When the preset parameter conditions are met, the upper limit or lower limit of the parameter range of each control parameter is set as the initial control parameter; or, when the preset parameter conditions are met, the initial control parameter is randomly generated within the parameter range of each control parameter; Using the initial control parameters that meet the preset parameter conditions as the candidate control parameters; or, If the previous simulation response data does not meet the corresponding preset response condition, the previous simulation response data is adjusted, and new candidate control parameters are generated according to the adjustment result, wherein the preset response condition includes a response time condition and a response error condition.

2. The method according to claim 1, characterized in that If the previous simulation response data does not meet the corresponding preset response condition, the previous simulation response data is adjusted, and new candidate control parameters are generated according to the adjustment result, including: Adjusting the D parameter in the candidate control parameters according to a first preset accuracy value; If the adjustment result satisfies the first preset parameter condition, the adjusted candidate control parameter is used as the new candidate control parameter.

3. The method according to claim 2, characterized in that The method further comprises: If the adjustment result does not meet the first preset parameter condition, adjusting the I parameter in the candidate control parameters according to the second preset accuracy value; If the adjustment result satisfies the second preset parameter condition, the adjusted candidate control parameter is used as a new candidate control parameter.

4. The method according to claim 3, characterized in that The method further comprises: If the adjustment result does not meet the second preset parameter condition, adjusting the P parameter in the candidate control parameters according to a third preset accuracy value; If the adjustment result satisfies the third preset parameter condition, the adjusted candidate control parameter is used as a new candidate control parameter.

5. The method according to claim 1, characterized in that After controlling the current torque of the vehicle to be adjusted to the target torque, the method further includes: Acquiring an actual degree of deviation between the vehicle and the lane line, and determining whether it is necessary to redetermine the target control parameter according to the actual degree of deviation and the target deviation degree; If necessary, adjusting the preset parameter condition and / or the preset response condition; The candidate control parameters of the PID controller are re-determined according to the adjusted preset parameter conditions and the preset response conditions.

6. A vehicle lateral control device, characterized in that: include: A control parameter determination module, used to determine target control parameters of a proportional-integral-differential (PID) controller according to a simulated response of the vehicle to a preset input test signal; A deviation data acquisition module, used to acquire a current deviation degree between the vehicle and the lane line and a target deviation degree between the vehicle and the lane line, wherein the deviation degree includes a deviation angle and a deviation distance of the vehicle; a target torque acquisition module, configured to control the PID controller to output a target torque of the vehicle according to the target control parameter, the current deviation degree and the target deviation degree; A torque control module, used for controlling the current torque of the vehicle to be adjusted to the target torque; The control parameter determination module comprises: A candidate control parameter determination submodule, used to determine candidate control parameters of the PID controller; A simulation response data acquisition submodule, used for controlling the power steering system of the vehicle to simulate the response to the input test signal of the vehicle according to the candidate control parameters to obtain simulation response data; a target control parameter determination submodule, configured to control the candidate control parameter to be used as the target control parameter according to the simulation response data; The candidate control parameter determination submodule includes: A candidate control parameter generating unit, configured to set an upper limit value or a lower limit value of a parameter range of each control parameter as an initial control parameter when a preset parameter condition is satisfied; or, when a preset parameter condition is satisfied, randomly generate an initial control parameter within a parameter range of each control parameter; The initial control parameters that meet the preset parameter conditions are used as the candidate control parameters; or, if the previous simulation response data does not meet the corresponding preset response conditions, the previous simulation response data is adjusted, and new candidate control parameters are generated based on the adjustment results, wherein the preset response conditions include response time conditions and response error conditions.

7. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement a vehicle lateral control method as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a vehicle lateral control method as described in any one of claims 1 to 5 is implemented.