Lateral controller performance evaluation method and device, medium and product

By establishing a performance evaluation model, the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the lateral controller are obtained, which solves the problem of low evaluation accuracy in the existing technology and realizes the lateral control of intelligent driving heavy-duty vehicles. Comprehensive evaluation of machine stability and riding comfort.

CN118747433APending Publication Date: 2024-10-08SINO TRUK JINAN POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410868842.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

When the existing technology evaluates the stability and ride comfort of intelligent driving heavy-duty vehicle lateral controllers, the evaluation accuracy is not high. It mainly relies on the integral absolute error and the maximum lateral error, and cannot fully reflect the performance of the controller.

Method used

By obtaining the test parameters of the lateral controller under the preset trajectory, a performance evaluation model is established, including the objective function, vehicle dynamics constraints and controller parameter constraints, and the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation are obtained. Metrics used to evaluate tracking accuracy, stability and ride comfort.

Benefits of technology

It achieves a comprehensive and objective evaluation of the performance of the lateral controller, can effectively evaluate the stability and ride comfort of the controller, and provides a reliable performance evaluation solution for the field of intelligent driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747433A_ABST
    Figure CN118747433A_ABST
Patent Text Reader

Abstract

The invention provides a transverse controller performance evaluation method and device, a medium and a product, and relates to the field of intelligent driving, and the method comprises the steps: obtaining test parameters of a transverse controller under a preset track; wherein the test parameters comprise a controller parameter, an automobile kinetic parameter, a deviation between an actual track point and an expected track point, and a first spectrum power under a preset frequency band; a performance evaluation model is established according to the test parameters, and the performance evaluation model comprises an objective function, automobile dynamics constraint conditions and controller parameter constraint conditions; obtaining an evaluation index according to the performance evaluation model; wherein the evaluation indexes comprise the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the transverse controller; the evaluation indexes are used for evaluating the tracking precision, the stability and the riding comfort of the transverse controller. According to the method, the riding comfort of the transverse controller and the stability of the transverse controller can be effectively evaluated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving, and in particular to a lateral controller performance evaluation method, device, medium and product. Background Art

[0002] The lateral controller plays a vital role in vehicle dynamics control, especially in autonomous driving systems. Its main responsibility is to adjust the lateral movement of the vehicle, that is, to control the steering of the vehicle to ensure that the vehicle can travel along the expected path. The evaluation indicators of the control effect of the lateral controller mainly focus on the lateral deviation, that is, the gap between the actual driving trajectory and the expected trajectory. However, at present, intelligent driving heavy-duty vehicles are mainly used in trunk logistics and other working conditions. Therefore, in addition to paying attention to the accuracy of trajectory tracking, there are high requirements for the stability and comfort of the lateral controller. Stability is related to safety, and comfort requires the vehicle to avoid sudden movements during driving.

[0003] In the prior art, IAE (Integral Absolute Error) and MLE (Maximum Lateral Error) are generally used to evaluate the accuracy and robustness of the lateral controller. The ride comfort and stability of the lateral controller are generally evaluated by observing the lateral acceleration mutation, etc., and the evaluation accuracy is not high.

[0004] In view of the above defects, there is an urgent need for a lateral controller performance evaluation method, equipment, medium and product that can effectively evaluate the ride comfort and stability of the lateral controller. Summary of the invention

[0005] The present application provides a lateral controller performance evaluation method, device, medium and product, which can effectively evaluate the ride comfort and stability of the lateral controller.

[0006] In a first aspect, the present application provides a method for evaluating performance of a lateral controller, comprising:

[0007] Acquire test parameters of the lateral controller under a preset trajectory; wherein the test parameters include controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power under a preset frequency band;

[0008] Establishing a performance evaluation model according to controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power in a preset frequency band, wherein the performance evaluation model includes an objective function, vehicle dynamics constraints, and controller parameter constraints;

[0009] The evaluation indicators are obtained according to the objective function, vehicle dynamics constraints and controller parameter constraints; wherein, the evaluation indicators include the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller; the maximum absolute integral error is used to evaluate the tracking accuracy of the lateral controller, the maximum low-frequency oscillation index is used to evaluate the stability of the lateral controller, and the maximum high-frequency oscillation index is used to evaluate the ride comfort of the lateral controller.

[0010] In one possible design, a performance evaluation model is established based on controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power in a preset frequency band, including:

[0011] Obtain an absolute integral error based on the deviation between the actual trajectory point and the expected trajectory point; obtain a high-frequency oscillation index and a low-frequency oscillation index of the lateral controller based on the first spectrum power;

[0012] A performance evaluation model is established based on absolute integral error, high-frequency oscillation index, low-frequency oscillation index, vehicle dynamics parameters and controller parameters; among which:

[0013] The objective function is to obtain the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller;

[0014] The vehicle dynamics constraint condition includes ensuring that one or more of longitudinal acceleration, maximum turning radius and lateral acceleration are within corresponding preset ranges;

[0015] The controller parameter constraint condition is that the controller parameters are within the corresponding preset range.

[0016] In a possible design, the preset frequency band includes a preset first frequency band, and obtaining a low-frequency oscillation index of the lateral controller according to the first spectrum power includes:

[0017] The first spectrum power in the preset first frequency band is filtered according to the first preset cutoff frequency to obtain the second spectrum power, and the low-frequency oscillation index is obtained according to the short-time Fourier transform of the overlapping section of the second spectrum power.

[0018] In a possible design, the preset frequency band includes a preset second frequency band, and obtaining a high-frequency oscillation index of the lateral controller according to the first spectrum power includes:

[0019] The first spectrum power in the preset second frequency band is filtered according to the second preset cutoff frequency to obtain the third spectrum power, and the high-frequency oscillation index is obtained according to the short-time Fourier transform of the overlapping section of the third spectrum power.

[0020] In one possible design, evaluation metrics are obtained based on the objective function, vehicle dynamics constraints, and controller parameter constraints, including:

[0021] According to the vehicle dynamics constraints and controller parameter constraints, the objective function is solved by a multi-objective optimization method to obtain the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the lateral controller.

[0022] In one possible design, after obtaining the evaluation index based on the objective function, the vehicle dynamics constraints, and the controller parameter constraints, the method further includes:

[0023] The tracking accuracy of the lateral controller is evaluated according to the maximum absolute integral error. The smaller the maximum absolute integral error, the higher the tracking accuracy.

[0024] The stability of the lateral controller is evaluated according to the maximum low-frequency oscillation index. The smaller the maximum high-frequency oscillation index, the higher the stability.

[0025] The ride comfort of the lateral controller is evaluated according to the maximum high-frequency oscillation index. The smaller the maximum low-frequency oscillation index, the higher the ride comfort.

[0026] In a second aspect, the present application provides a lateral controller performance evaluation device, the device comprising:

[0027] An acquisition module, used to acquire test parameters of the lateral controller under a preset trajectory; wherein the test parameters include controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power under a preset frequency band;

[0028] A model building module, used for building a performance evaluation model according to controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power in a preset frequency band, wherein the performance evaluation model includes an objective function, vehicle dynamics constraints, and controller parameter constraints;

[0029] An evaluation module is used to obtain evaluation indicators according to an objective function, vehicle dynamics constraints and controller parameter constraints; wherein the evaluation indicators include a maximum absolute integral error, a maximum low-frequency oscillation index and a maximum high-frequency oscillation index of a lateral controller; the maximum absolute integral error is used to evaluate the tracking accuracy of the lateral controller, the maximum low-frequency oscillation index is used to evaluate the stability of the lateral controller, and the maximum high-frequency oscillation index is used to evaluate the ride comfort of the lateral controller.

[0030] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0031] Memory stores computer-executable instructions;

[0032] The processor executes the computer-executable instructions stored in the memory to implement the above-mentioned method for evaluating the performance of a lateral controller.

[0033] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above-mentioned method for evaluating the performance of a lateral controller.

[0034] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the above-mentioned lateral controller performance evaluation method when executed by a processor.

[0035] The present application provides a lateral controller performance evaluation method, device, medium and product, including: establishing a performance evaluation model according to test parameters, and obtaining evaluation indicators according to the performance evaluation model; wherein the performance evaluation model includes an objective function, vehicle dynamics constraints and controller parameter constraints; the evaluation indicators include the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the lateral controller; the evaluation indicators are used to evaluate the tracking accuracy, stability and ride comfort of the lateral controller; and the following technical effects are achieved:

[0036] The present application can obtain the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the controller for evaluating the performance of the lateral controller, wherein the maximum low-frequency oscillation index and the maximum high-frequency oscillation index can respectively effectively evaluate the stability and ride comfort of the controller of the lateral controller in the driving process of the car in intelligent driving; the method of this embodiment can evaluate the lateral controller, and its evaluation method is more comprehensive and objective, providing a reliable performance evaluation scheme for researchers in the field of intelligent driving lateral control. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 Schematic diagram of the process of the lateral controller performance evaluation method provided in the embodiment of the present application Figure 1 ;

[0039] Figure 2 Schematic diagram of the process of the lateral controller performance evaluation method provided in the embodiment of the present application Figure 2 ;

[0040] Figure 3A trajectory diagram of a first preset trajectory provided in an embodiment of the present application;

[0041] Figure 4 A trajectory diagram of a second preset trajectory provided in an embodiment of the present application;

[0042] Figure 5 A trajectory diagram of a third preset trajectory provided in an embodiment of the present application;

[0043] Figure 6 is a representation diagram of the evaluation index of the LQR controller under the third preset trajectory and different preset controller parameters;

[0044] Figure 7 is a representation diagram of the evaluation index of the PID controller under a third preset trajectory and different preset controller parameters;

[0045] Figure 8 A schematic diagram of the structure of a lateral controller performance evaluation device provided in an embodiment of the present application;

[0046] Fig. 9 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0047] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims, rather than all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0049] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0050] It should be noted that the terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example.

[0051] It should be noted that the “at…” in the embodiments of the present application may be the instant when a certain situation occurs, or may be a period of time after the occurrence of a certain situation, and the embodiments of the present application do not specifically limit this.

[0052] First, the terms in this application are explained:

[0053] Lateral Controller: The lateral controller plays a vital role in vehicle dynamics control, especially in autonomous driving systems. Its main responsibility is to adjust the lateral motion of the vehicle, that is, control the steering of the vehicle to ensure that the vehicle can follow the expected path.

[0054] The lateral control strategy can adopt a variety of algorithms, including but not limited to: Proportional-Integral-Derivative (PID) control, sliding mode control (Sliding Mode Control), model predictive control (MPC), linear quadratic regulator (LQR) and Stanley control; if the lateral controller is divided according to the lateral control strategy, the lateral controller may include PID controller, sliding mode controller, MPC controller, LQR controller and Stanley controller, etc.

[0055] In the prior art, IAE (Integral Absolute Error) and MLE (Maximum Lateral Error) are generally used to evaluate the accuracy and robustness of the lateral controller. The ride comfort and stability of the lateral controller are generally evaluated by observing the lateral acceleration mutation, etc., and the evaluation accuracy is not high.

[0056] The present application provides a lateral controller performance evaluation method, which aims to solve the above technical problems in the prior art.

[0057] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0058] Figure 1 Schematic diagram of the process of the lateral controller performance evaluation method provided in the embodiment of the present application Figure 1 ;like Figure 1 As shown, the method includes:

[0059] S101, obtaining test parameters of a lateral controller under a preset trajectory; wherein the test parameters include controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power under a preset frequency band;

[0060] Specifically, during the test experiment, a control tracking instruction is issued to the lateral controller, the tracking instruction is used to indicate the tracking trajectory point, and the actual trajectory point and the expected trajectory point are obtained according to the test process to obtain the deviation thereof, and the signal sent by the controller is obtained to obtain the first spectrum power in the preset frequency band and the corresponding controller parameters and vehicle dynamics parameters;

[0061] Specifically, vehicle dynamics parameters include longitudinal acceleration, maximum turning radius, lateral acceleration, braking system parameters, tire model parameters, etc.

[0062] S102, establishing a performance evaluation model according to controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power in a preset frequency band, wherein the performance evaluation model includes an objective function, vehicle dynamics constraints, and controller parameter constraints;

[0063] Specifically, the objective function is to find the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index; the vehicle dynamics constraint is that the dynamics parameters are within the corresponding preset range; the preset controller constraint is that the controller parameters are within the corresponding preset range;

[0064] Specifically, the low-frequency oscillation index quantifies the low-frequency oscillation of the control action, which can cause unstable vehicle driving;

[0065] Specifically, the high-frequency oscillation index quantifies the high-frequency oscillation of the control action. High-frequency oscillation will affect the driving comfort of heavy-duty vehicles. Driving discomfort will also affect safety and vehicle fuel saving.

[0066] Specifically, in order to objectively evaluate the performance of the lateral controller, different types of test trajectories can be used for testing, such as continuous curves, curve-straight-track conversions, etc.; the absolute integral error, low-frequency oscillation index and high-frequency oscillation index will be obtained for different trajectories, and the maximum value of each index will be considered during optimization to ensure that the controller parameterization is as stable, comfortable and accurate as possible under the most unfavorable conditions.

[0067] S103. Obtaining evaluation indicators according to the objective function, vehicle dynamics constraints and controller parameter constraints; wherein the evaluation indicators include the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller; the maximum absolute integral error is used to evaluate the tracking accuracy of the lateral controller, the maximum low-frequency oscillation index is used to evaluate the stability of the lateral controller, and the maximum high-frequency oscillation index is used to evaluate the ride comfort of the lateral controller.

[0068] Specifically, the maximum absolute integral error, the maximum low-frequency oscillation index, and the maximum high-frequency oscillation index are obtained through an optimization method according to the performance evaluation model;

[0069] Specifically, the maximum absolute integrated error, the maximum low-frequency oscillation index, and the maximum high-frequency oscillation index are used to evaluate the tracking accuracy, stability, and ride comfort of the lateral controller, respectively.

[0070] The method provided in the embodiment of the present application establishes a performance evaluation model according to the test parameters, and obtains evaluation indicators according to the performance evaluation model; wherein the performance evaluation model includes the objective function, the vehicle dynamics constraint conditions and the controller parameter constraint conditions; the evaluation indicators include the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller; the evaluation indicators are used to evaluate the tracking accuracy, stability and ride comfort of the lateral controller. The following technical effects can be achieved:

[0071] According to the method of this embodiment, the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the controller can be further obtained for evaluating the performance of the lateral controller, wherein the maximum low-frequency oscillation index and the maximum high-frequency oscillation index can respectively effectively evaluate the stability and ride comfort of the controller of the lateral controller in the driving process of the car in intelligent driving; the method of this embodiment can evaluate the lateral controller, and its evaluation method is more comprehensive and objective, providing a reliable performance evaluation solution for researchers in the field of intelligent driving lateral control.

[0072] Figure 2 Schematic diagram of the process of the lateral controller performance evaluation method provided in the embodiment of the present application Figure 2 ;like Figure 2 As shown, the method includes:

[0073] S201, obtaining test parameters of a lateral controller under a preset trajectory; wherein the test parameters include controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power under a preset frequency band;

[0074] Specifically, the lateral controllers are divided according to the lateral control strategy. The lateral controllers may include a PID controller, a sliding mode controller, an MPC controller, an LQR controller, and a Stanley controller, etc. Different controllers correspond to different controller parameters, and the controller parameters are all known parameters that affect the operation of the controller.

[0075] For example, if the lateral controller is a PID controller, the corresponding controller parameters are the proportional KP, the integral KI, the differential KD, the filter parameter coefficient N and the preview distance dp;

[0076] For another example, if the lateral controller is an LQR controller, the corresponding controller parameters are the weight parameters q1, q2, q3 and q4 of the state weight Q matrix, the filter parameter coefficient N and the preview distance dp;

[0077] Specifically, the test experiment may be a real vehicle test process or a simulation test process;

[0078] Specifically, the test experiment is as follows: setting preset expected trajectory points, dynamic parameters, and controller parameters in the planning layer, and conducting tests under multiple preset trajectories; obtaining the actual trajectory point information and the frequency spectrum information of the controller signal during the experiment, as well as the corresponding controller parameters and vehicle dynamic parameters;

[0079] Furthermore, in the test experiment, the control frequency of the controller needs to be set. Based on the actual experience of the specific development process, the controller frequency is preset to 10Hz;

[0080] Specifically, the actual trajectory point information includes the position information and time information of the actual trajectory point, the preset expected trajectory point given by the planning layer also includes the corresponding time information, and the spectrum information also includes the corresponding time information.

[0081] Specifically, the deviation between the actual trajectory point and the expected trajectory point corresponding to the time information is obtained, and the first spectrum power in the preset frequency band is obtained according to the spectrum information of the controller signal;

[0082] Specifically, vehicle dynamics parameters include longitudinal acceleration, maximum turning radius, lateral acceleration, braking system, tire model constraint parameters, etc.

[0083] Specifically, the preset frequency band includes a first preset frequency band and a second preset frequency band, and the first preset frequency band is greater than the second preset frequency band;

[0084] In one embodiment, after repeated experiments and trials, the first preset frequency band is (2 Hz, 5 Hz], and the second preset frequency band is [0.6 Hz, 2 Hz].

[0085] S202, obtaining an absolute integral error according to a deviation between an actual trajectory point and an expected trajectory point; obtaining a high-frequency oscillation index and a low-frequency oscillation index of a lateral controller according to a first spectrum power;

[0086] Specifically, the absolute integral error is obtained by the following formula:

[0087] IAE c =∫1 m |e c (t)|dt

[0088] Among them, IAE i is the absolute integral error under the cth preset trajectory, m is the number of trajectory points, e i (t) is the deviation between the actual trajectory and the expected trajectory point at time t under the i-th preset trajectory, which is obtained according to the following formula:

[0089] e(t)=y r (t)-y e (t)

[0090] Among them, y r (t) is the actual position of the car at time t, y e (t) is the expected position of the car at time t.

[0091] Specifically, the first spectrum power in the preset first frequency band is filtered according to the first preset cutoff frequency to obtain the second spectrum power, and the low-frequency oscillation index is obtained according to the short-time Fourier transform of the overlapping section of the second spectrum power;

[0092] Specifically, the high-pass filter is used to remove the spectrum power value with large noise in the first preset frequency band;

[0093] As an embodiment, the first preset cutoff frequency is set to 0.25 Hz;

[0094] Specifically, the second spectrum power is processed by short-time Fourier transform with a 5s overlapping section, and the low-frequency oscillation index is obtained by calculating the average value of the maximum power spectrum of each part; the threshold and the proportional factor need to be considered in the calculation to balance the order of magnitude of the two indicators;

[0095] Specifically, for each preset trajectory, the formula for obtaining the low-frequency oscillation index is:

[0096]

[0097] Among them, Mι is the low-frequency oscillation index, n represents the number of 5s overlapping sections, P ι,i represents the spectral power of frequency band ι at time i, s ι is the scaling factor, whose value is 0.012, λ ι is the threshold, λ ι =80dB;

[0098] It should be noted that due to M ι The high sensitivity of the low-frequency spectrum will lead to erroneous measurement values ​​in curved trajectories, so this indicator is only used for long sections with a path curvature less than 0.004 and a vehicle travel time of more than 5 seconds. This design also takes into account the curve radius requirements of current intelligent driving heavy-duty vehicles for application scenarios.

[0099] Specifically, the first spectrum power in the preset second frequency band is filtered according to the second preset cutoff frequency to obtain the third spectrum power, and the high-frequency oscillation index is obtained according to the short-time Fourier transform of the overlapping section of the third spectrum power.

[0100] Specifically, the high-pass filter is used to remove the spectrum power value with large noise in the second preset frequency band;

[0101] As an embodiment, the second preset cutoff frequency is set to 2 Hz;

[0102] Specifically, the same overlapping cross-section short-time Fourier transform method is also applicable to the calculation of high-frequency oscillation indicators. The difference is that when calculating high-frequency oscillation indicators, the average value is not taken, but the maximum power of all overlapping cross-section parts is assigned to the metric. The specific formula is:

[0103] M η =s η *max(10*logP η,i +λ η ) i=1,,,n

[0104] Where n represents the number of 5s overlapping sections, Mη is the high-frequency oscillation index, and P η,i represents the spectral power of frequency band η at time i, s η =0.035, is the proportional factor, λ η =80dB is the threshold.

[0105] Specifically, the particularity of Mη is that the experimental test found that the correlation and equivalence between the metric value obtained by taking the average value and the indicator that the metric should theoretically reflect are low. By considering the maximum power, during the test, the lateral controller will be warned or punished for excessively high Mη values ​​when high-frequency oscillations are exhibited when driving any trajectory.

[0106] Furthermore, the method of this embodiment also includes:

[0107] The MLE is obtained based on the deviation between the actual trajectory and the expected trajectory points. The MLE is the maximum value of the deviation between the actual trajectory and the expected trajectory points. If the MLE is greater than the fourth preset threshold value, it is determined that the vehicle's control performance under complex road conditions is poor. Generally speaking, the fourth preset threshold value is 0.4m, which is an industry-specified indicator.

[0108] S203. Establish a performance evaluation model according to the absolute integral error, the high-frequency oscillation index, the low-frequency oscillation index, the vehicle dynamics parameters and the controller parameters; wherein the performance evaluation model includes an objective function, a vehicle dynamics constraint and a controller parameter constraint; the objective function is to obtain the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller; the vehicle dynamics constraint includes determining that one or more of the longitudinal acceleration, the maximum turning radius and the lateral acceleration are within a corresponding preset range; the controller parameter constraint is that the controller parameter is within a corresponding preset range.

[0109] Specifically, the established performance evaluation model is:

[0110] J(p k )=(MAX{IAE c},MAX{Mι c},MAX{Mη c})

[0111] stf j (p k )∈[f j min ,f j max ]

[0112] stp k ∈[p k min ,p k max ]

[0113] Among them, p k represents the kth controller parameter, [p k min ,p k max ] is p k Corresponding preset range; J(p k ) indicates that in p k The objective function is to find IAE c 、M c and Mη c The maximum value of f j (pk ) is the jth dynamic parameter under the controller parameters, [f j min ,f j max ] is f j (p k ) corresponds to the preset range, and c represents the cth preset trajectory.

[0114] As an embodiment, the dynamic parameter constraint is specifically that the preset range corresponding to the longitudinal acceleration is [-6, 2.5] m / s2, the maximum turning radius depends on the specific vehicle model, and the preset range of the lateral acceleration is ≤2.1 m / s2;

[0115] Furthermore, if the dynamic parameters are braking system parameters, tire model parameters, etc., the vehicle dynamic constraints also include: the parameters of the reducer including the retarder of the acceleration in the braking system satisfy the corresponding torque conversion relationship, and the deformation of the tire during driving conforms to the corresponding magic formula.

[0116] S204. Solve the objective function by a multi-objective optimization method according to the vehicle dynamics constraints and the controller parameter constraints to obtain the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller.

[0117] As an embodiment, the ParetoSearch algorithm (Pareto frontier search) is used to solve the performance evaluation model.

[0118] Specifically, for the performance evaluation model, the ParetoSearch algorithm randomly generates a set of initial solutions as the initial population, then performs optimization iterations, and finally outputs the found Pareto optimal solution and the corresponding objective function value, thereby obtaining the evaluation index. Since the ParetoSearch algorithm is relatively mature and public, and there is also a corresponding module in Matlab, this step will not be described in detail.

[0119] S205. Evaluate the tracking accuracy of the lateral controller based on the maximum absolute integral error. The smaller the maximum absolute integral error, the higher the tracking accuracy. Evaluate the stability of the lateral controller based on the maximum high-frequency oscillation index. The smaller the maximum high-frequency oscillation index, the higher the stability. Evaluate the ride comfort of the lateral controller based on the maximum low-frequency oscillation index. The smaller the maximum low-frequency oscillation index, the higher the ride comfort.

[0120] Furthermore, this step also includes: determining the tracking accuracy of the lateral controller, the stability of the lateral controller, and the ride comfort through thresholds, specifically:

[0121] If MAX{IAE c} is greater than the first preset threshold value, it is determined that the trajectory tracking accuracy of the lateral controller is insufficient; if MAX{Mι c} is greater than the second preset threshold value, it is determined that the control action sent by the lateral controller will cause instability of the intelligent driving system; if MAX{Mη c} is greater than the third preset threshold value; determining that the comfort level of the lateral controller is poor.

[0122] Furthermore, the first preset threshold value is 0.3 m, the second preset threshold value is 0.25, and the third preset threshold value is 0.7.

[0123] Specifically, 0.3m is an industry-specified indicator, and the second preset threshold value and the third preset threshold value are threshold values ​​determined based on comprehensive conditions and specific experiments. When the dynamic constraint changes greatly (such as a curve), Mι c The larger the capacity, the poor ride comfort will lead to poor passenger experience and energy loss.

[0124] In the experiment, the present application evaluated a certain LQR controller and a PID controller according to the method of this embodiment;

[0125]

[0126]

[0127] Among them, the selected Figures 3 to 5 The three trajectories shown are used as preset trajectories (respectively, the first preset trajectory, the second preset trajectory, and the third preset trajectory), and a certain LQR controller and a PID controller are tested respectively. Table 1 shows the preset controller parameters of the LQR controller and the PID controller in the experiment; wherein s1, s2, and s3 are different parameter groups;

[0128] Specifically, Figure 6 and Figure 7 The representation diagram (Pareto front diagram) of the evaluation indexes obtained by the LQR controller and the PID controller according to the evaluation model under the third preset trajectory and different preset controller parameters (s1-s3) can reflect the comprehensive distribution of the three parameter indexes obtained by different parameter controllers; among them, yellow represents the evaluation index under the preset controller parameters of the s1 group, red corresponds to the evaluation index under the preset controller parameters of the s2 group, and green represents the evaluation index under the preset controller parameters of the s3 group. The specific partial results are shown in Table 2.

[0129] According to the evaluation method provided in the embodiment of the present application, it can be seen from the test results that for the maximum Mη index, the PID-s2 controller performs the worst, and for the maximum Mι index, the PID-s3 performs the best; in the third preset trajectory, the control effect of the LQR controller is better than that of the PID controller. According to the Pareto frontier diagram, it can be seen that the evaluation indicators of controllers with poor stability, such as PID-s3 and LQR-s3, are concentrated in the high value area.

[0130] The method provided in the embodiment of the present application can achieve the following technical effects:

[0131] The evaluation method of the present invention evaluates the performance of the intelligent driving lateral controller, takes into account the parameters selected by different lateral controllers, and uses multi-objective optimization problems to effectively solve the balance problem between various evaluation indicators and different trajectory tests; effectively analyzes the dynamic performance of the lateral control of the intelligent driving heavy-duty vehicle;

[0132] According to the method of this embodiment, two new evaluation indicators, namely, the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index, are obtained. The maximum absolute integral error is used to evaluate the tracking accuracy of the lateral controller, the maximum low-frequency oscillation index can effectively evaluate the stability of the controller of the lateral controller in the intelligent driving process of the car, and the maximum high-frequency oscillation index can effectively evaluate the ride comfort of the lateral controller in the intelligent driving process of the car.

[0133] The method of this embodiment can evaluate the lateral controller, and its evaluation method is more comprehensive and objective, providing a reliable performance evaluation solution for researchers in the field of intelligent driving lateral control.

[0134] The invented performance evaluation method has far-reaching guiding significance for the selection of controller and the selection of controller parameters.

[0135] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain 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 optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0136] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

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

[0138] Figure 8 A schematic diagram of the structure of a lateral controller performance evaluation device provided in an embodiment of the present application; Figure 8 As shown, the device 80 includes:

[0139] An acquisition module 801 is used to acquire test parameters of a lateral controller under a preset trajectory; wherein the test parameters include controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power under a preset frequency band;

[0140] A model building module 802 is used to establish a performance evaluation model according to controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power in a preset frequency band, wherein the performance evaluation model includes an objective function, vehicle dynamics constraints, and controller parameter constraints;

[0141] Evaluation module 803 is used to obtain evaluation indicators according to the objective function, vehicle dynamics constraints and controller parameter constraints; wherein the evaluation indicators include the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller; the maximum absolute integral error is used to evaluate the tracking accuracy of the lateral controller, the maximum low-frequency oscillation index is used to evaluate the stability of the lateral controller, and the maximum high-frequency oscillation index is used to evaluate the ride comfort of the lateral controller.

[0142] Furthermore, the model building module 802 is also used for:

[0143] Obtain an absolute integral error based on the deviation between the actual trajectory point and the expected trajectory point; obtain a high-frequency oscillation index and a low-frequency oscillation index of the lateral controller based on the first spectrum power;

[0144] A performance evaluation model is established based on absolute integral error, high-frequency oscillation index, low-frequency oscillation index, vehicle dynamics parameters and controller parameters; among which:

[0145] The objective function is to obtain the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller;

[0146] The vehicle dynamics constraint condition includes ensuring that one or more of longitudinal acceleration, maximum turning radius and lateral acceleration are within corresponding preset ranges;

[0147] The controller parameter constraint condition is that the controller parameters are within the corresponding preset range.

[0148] Furthermore, the model building module 802 is also specifically used for:

[0149] The preset frequency band includes a preset first frequency band, and the first spectrum power under the preset first frequency band is filtered according to the first preset cutoff frequency to obtain the second spectrum power, and the low-frequency oscillation index is obtained according to the short-time Fourier transform of the overlapping section of the second spectrum power.

[0150] Furthermore, the model building module 802 is also specifically used for:

[0151] The preset frequency band includes a preset second frequency band. The first spectrum power in the preset second frequency band is filtered according to the second preset cutoff frequency to obtain the third spectrum power. The high-frequency oscillation index is obtained according to the short-time Fourier transform of the overlapping section of the third spectrum power.

[0152] Further, the evaluation module 803 is also used for:

[0153] According to the vehicle dynamics constraints and controller parameter constraints, the objective function is solved by a multi-objective optimization method to obtain the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the lateral controller.

[0154] Furthermore, the evaluation module 803 is further configured to:

[0155] After obtaining the evaluation index according to the objective function, vehicle dynamics constraints and controller parameter constraints, the tracking accuracy of the lateral controller is evaluated according to the maximum absolute integral error. The smaller the maximum absolute integral error, the higher the tracking accuracy.

[0156] The stability of the lateral controller is evaluated according to the maximum low-frequency oscillation index. The smaller the maximum high-frequency oscillation index, the higher the stability.

[0157] The ride comfort of the lateral controller is evaluated according to the maximum high-frequency oscillation index. The smaller the maximum low-frequency oscillation index, the higher the ride comfort.

[0158] The present embodiment provides a lateral controller performance evaluation device, which can execute the above-mentioned lateral controller performance evaluation method. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0159] In the specific implementation of the aforementioned lateral controller performance evaluation device, each module can be implemented as a processor, and the processor can execute computer execution instructions stored in the memory, so that the processor executes the aforementioned lateral controller performance evaluation method.

[0160] Fig. 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device 90 includes: at least one processor 901 and a memory 902. The electronic device 90 also includes a communication component 903. The processor 901, the memory 902 and the communication component 903 are connected via a bus 904.

[0161] In the specific implementation process, at least one processor 901 executes the computer execution instructions stored in the memory 902, so that at least one processor 901 executes a lateral controller performance evaluation method executed by the electronic device side as above.

[0162] The specific implementation process of the processor 901 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0163] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0164] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0165] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0166] The above-mentioned functions implemented by the electronic device and the main control device introduce the scheme provided by the embodiment of the present invention. It can be understood that in order to implement the above-mentioned functions, the electronic device or the main control device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and algorithm steps of each example described in the embodiment disclosed in the embodiment of the present invention, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present invention.

[0167] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above-mentioned method for evaluating the performance of a lateral controller is implemented.

[0168] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0169] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in an electronic device or a main control device.

[0170] The present application also provides a computer program product, including a computer program. The computer program product includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.

[0171] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0172] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for evaluating the performance of a lateral controller, characterized in that: include: Acquire test parameters of the lateral controller under a preset trajectory; wherein the test parameters include controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power under a preset frequency band; Establishing a performance evaluation model according to the controller parameters, the vehicle dynamics parameters, the deviation between the actual trajectory point and the expected trajectory point, and the first spectrum power in the preset frequency band, wherein the performance evaluation model includes an objective function, a vehicle dynamics constraint condition, and a controller parameter constraint condition; The evaluation index is obtained according to the objective function, the vehicle dynamics constraints and the controller parameter constraints; wherein the evaluation index includes the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller; the maximum absolute integral error is used to evaluate the tracking accuracy of the lateral controller, the maximum low-frequency oscillation index is used to evaluate the stability of the lateral controller, and the maximum high-frequency oscillation index is used to evaluate the ride comfort of the lateral controller.

2. The method according to claim 1, characterized in that: The establishing of a performance evaluation model according to the controller parameters, the vehicle dynamics parameters, the deviation between the actual trajectory point and the expected trajectory point, and the first spectrum power in a preset frequency band includes: Obtain an absolute integral error according to the deviation between the actual trajectory point and the expected trajectory point; obtain a high-frequency oscillation index and a low-frequency oscillation index of the lateral controller according to the first spectrum power; A performance evaluation model is established according to the absolute integral error, the high-frequency oscillation index, the low-frequency oscillation index, the vehicle dynamics parameter and the controller parameter; wherein: The objective function is to obtain the maximum absolute integral error, the maximum low-frequency oscillation index and the maximum high-frequency oscillation index of the lateral controller; The vehicle dynamics constraint condition includes determining that one or more of longitudinal acceleration, maximum turning radius and lateral acceleration are within corresponding preset ranges; The controller parameter constraint condition is that the controller parameter is within a corresponding preset range.

3. The method according to claim 2, characterized in that The preset frequency band includes a preset first frequency band, and the acquiring the low-frequency oscillation index of the lateral controller according to the first spectrum power includes: The first spectrum power in the preset first frequency band is filtered according to a first preset cutoff frequency to obtain a second spectrum power, and the low-frequency oscillation index is obtained according to a short-time Fourier transform of the second spectrum power through an overlapping section.

4. The method according to claim 2, characterized in that: The preset frequency band includes a preset second frequency band, and the obtaining of a high-frequency oscillation index of the lateral controller according to the first spectrum power includes: The first spectrum power in the preset second frequency band is filtered according to a second preset cutoff frequency to obtain a third spectrum power, and the high-frequency oscillation index is obtained according to a short-time Fourier transform of the third spectrum power through an overlapping section.

5. The method according to claim 1, characterized in that The obtaining of evaluation indicators according to the objective function, vehicle dynamics constraints and controller parameter constraints includes: The objective function is solved by a multi-objective optimization method according to vehicle dynamics constraints and controller parameter constraints to obtain the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the lateral controller.

6. The method according to claim 1, characterized in that After obtaining the evaluation index according to the objective function, the vehicle dynamics constraint condition and the controller parameter constraint condition, the method further includes: evaluating the tracking accuracy of the lateral controller according to the maximum absolute integral error, wherein the smaller the maximum absolute integral error is, the higher the tracking accuracy is; evaluating the stability of the lateral controller according to the maximum low-frequency oscillation index, wherein the smaller the maximum high-frequency oscillation index is, the higher the stability is; The riding comfort of the lateral controller is evaluated according to the maximum high-frequency oscillation index. The smaller the maximum low-frequency oscillation index is, the higher the riding comfort is.

7. A lateral controller performance evaluation device, characterized in that: include: An acquisition module, used to acquire test parameters of the lateral controller under a preset trajectory; wherein the test parameters include controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power under a preset frequency band; A model building module, used for building a performance evaluation model according to the controller parameters, vehicle dynamics parameters, deviations between actual trajectory points and expected trajectory points, and first spectrum power in a preset frequency band, wherein the performance evaluation model includes an objective function, vehicle dynamics constraints, and controller parameter constraints; An evaluation module is used to obtain evaluation indicators according to the objective function, vehicle dynamics constraints and controller parameter constraints; wherein the evaluation indicators include the maximum absolute integral error, maximum low-frequency oscillation index and maximum high-frequency oscillation index of the lateral controller; the maximum absolute integral error is used to evaluate the tracking accuracy of the lateral controller, the maximum low-frequency oscillation index is used to evaluate the stability of the lateral controller, and the maximum high-frequency oscillation index is used to evaluate the ride comfort of the lateral controller.

8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.