Lane keeping assist system test scene extraction method, server and medium

Through the analytic hierarchy process and iterative clustering technology, the representative factors of LKAS failure scenarios were extracted and representative test scenarios were generated, which solved the problem of difficulty in extracting representative LKAS failure scenarios in the existing technology and improved the stability of LKAS. reliability and testing efficiency.

CN117669364BActive Publication Date: 2024-10-29CATARC AUTOMOTIVE TEST CENT (GUANGZHOU) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311567871.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2024-10-29
Estimated Expiration
2043-11-22

AI Technical Summary

Technical Problem

Existing technologies fail to effectively extract representative LKAS failure scenarios, making it difficult to conduct targeted testing of LKAS under adverse conditions encountered in real traffic scenarios.

Method used

The analytic hierarchy process is used to determine the weight of each failure factor, generate failure scenario samples, and extract representative LKAS test scenarios through iterative clustering, including classification and judgment matrix correction of self-vehicle status, external environment and lane line status, and calculation The weight values ​​and similarities of failure factors are used to generate representative test scenarios.

Benefits of technology

By extracting representative LKAS failure scenarios, targeted test scenarios are provided, which improves the stability and testing efficiency of LKAS in use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117669364B_ABST
    Figure CN117669364B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, server and medium for extracting a lane keeping assist system test scenario, the method comprising: obtaining a number of LKAS failure scenarios that have occurred, wherein the failure scenarios contain a number of failure factors, using a hierarchical analysis method to determine the weight of the influence of each failure factor on the LKAS failure scenario, selecting a failure factor with a weight greater than a preset weight threshold as a selected failure factor, extracting the selected failure factor for each LKAS failure scenario, generating failure scenario samples, performing iterative clustering according to the similarity between the failure scenario samples, determining the number of clusters, selecting the parameter value that appears the most times during the clustering process as the selected parameter value of the selected failure factor, and generating various types of LKAS test scenarios. The present invention can extract representative LKAS failure scenarios based on a large number of real LKAS failure scenarios for targeted testing by R&D personnel and test personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of LKAS (Lane Keeping Assist System), and in particular to a method, a server and a medium for extracting a lane keeping assist system test scene. Background Art

[0002] LKAS (Lane Keeping Assist System) is an important component of ADAS (Advanced Driving Assistance System). Its function is to prevent or correct the vehicle from deviating from the original lane when the driver is distracted. Since 2010, many authoritative organizations have formulated and revised LKAS test standards and regulations. In mainstream standards and regulations, factors such as weather, visibility, wind speed and illumination are strictly restricted. However, in real traffic scenes, adverse conditions such as heavy rain, strong light and lane line fading pose great challenges to LKAS. Therefore, it is necessary to analyze the external factors that may affect LKAS in real road scenes. At present, there is no method that can extract representative LKAS failure scenarios based on a large number of real LKAS failure scenarios for R&D personnel and test personnel to conduct targeted testing. Summary of the invention

[0003] The present invention provides a method, a server and a medium for extracting a lane keeping assist system test scenario. The method can extract representative LKAS failure scenarios for R&D and testing personnel to perform targeted tests.

[0004] An embodiment of the present invention provides a method for extracting a lane keeping assist system test scenario, comprising:

[0005] Obtain several LKAS failure scenarios that have occurred, each of which contains several failure factors;

[0006] The weight of each failure factor affecting the LKAS failure scenario is determined by the analytic hierarchy process; the failure factors with weights greater than the preset weight threshold are extracted as selected failure factors;

[0007] For each LKAS failure scenario, extract selected failure factors of the LKAS failure scenario, and generate failure scenario samples based on the extracted selected failure factors;

[0008] Calculate the similarity between each failure scenario sample, iteratively cluster the failure scenario samples according to the similarity, and generate a curve graph representing the relationship between the number of categories and the aggregation coefficient after each iteration during the iterative clustering process;

[0009] The number of categories corresponding to the elbow position of the curve in the curve graph is taken as the number of selected clusters;

[0010] Extracting all failure scenario cluster samples corresponding to the number of clusters; wherein the failure scenario cluster samples are the cluster results corresponding to each category after clustering;

[0011] For each selected failure factor in each class of clustering results, the parameter value that appears most times during the clustering process is selected as the selected parameter value of the selected failure factor;

[0012] According to the selected parameter values ​​of each selected failure factor in the clustering results of each category, various LKAS test scenarios are generated.

[0013] Furthermore, the failure factors include: vehicle speed, weather type, lane keeping function failure time, lane keeping function failure location, whether the lane line is obstructed, whether there is a vehicle in front of the vehicle, whether there is a vehicle on the side of the vehicle, lane form, lane line color, first lane line type, second lane line type, and whether the lane line is worn; wherein, the first lane line type is used to indicate whether the lane line is single-line or double-line, and the second lane line type is used to indicate whether the lane line is solid or dashed.

[0014] Furthermore, the weight of each failure factor affecting the LKAS failure scenario is determined by the hierarchical analysis method, and the failure factors with weights greater than the preset weight threshold are extracted as selected failure factors, including:

[0015] The speed of the ego vehicle is classified as the ego vehicle state;

[0016] The weather type, the time when the lane keeping function fails, the location where the lane keeping function fails, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, and whether there is a vehicle on the side of the vehicle are classified as the external environment;

[0017] The lane form, lane line color, first lane line type, second lane line type, and whether the lane line is worn are classified as lane line status;

[0018] A criterion layer is constructed based on the vehicle status, external environment, and lane line status, and a sub-criteria layer is constructed based on the vehicle speed, weather type, lane keeping function failure time, lane keeping function failure location, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, whether there is a vehicle on the side of the vehicle, lane form, lane line color, first lane line type, second lane line type, and whether the lane line is worn;

[0019] Classify and divide the failure factors contained in the failure scenario, classify the classified failure factors, and establish a criterion layer and a sub-criterion layer;

[0020] Constructing a judgment matrix according to the established criterion layer and sub-criterion layer;

[0021] Extracting the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer, and the maximum eigenroot of the criterion layer of the sub-criterion layer according to the judgment matrix;

[0022] The weight value of each failure factor in the sub-criterion layer is calculated according to the regularized characteristic vector of the criterion layer, the maximum characteristic root of the criterion layer, the regularized characteristic vector of the sub-criterion layer and the maximum characteristic root of the criterion layer of the sub-criterion layer;

[0023] Failure factors whose weights are greater than a preset weight threshold are extracted as selected failure factors.

[0024] Further, after extracting the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer, and the maximum eigenroot of the criterion layer of the sub-criterion layer according to the judgment matrix, it also includes:

[0025] Repeat the judgment matrix correction operation until the consistency index corresponding to the judgment matrix is ​​less than or equal to the preset value;

[0026] Wherein, the judgment matrix correction operation includes:

[0027] Calculate the consistency index according to the maximum characteristic root of the criterion layer and the maximum characteristic root of the criterion layer of the sub-criterion layer;

[0028] When the consistency index is greater than a preset value, the judgment matrix is ​​modified, and the regularized eigenvector of the extraction criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer, and the maximum eigenroot of the criterion layer of the sub-criterion layer are recalculated according to the modified judgment matrix.

[0029] Further, for each LKAS failure scenario, selected failure factors of the LKAS failure scenario are extracted, and failure scenario samples are generated according to the extracted selected failure factors, including:

[0030] For each LKAS failure scenario, extract the selected failure factors of the LKAS failure scenario;

[0031] Assign values ​​to the parameter characteristics of the selected failure factors and generate failure scenario samples.

[0032] Furthermore, the similarity between each failure scenario sample is calculated, and the failure scenario samples are iteratively clustered according to the similarity, including:

[0033] For each failure scenario sample, the failure scenario sample is taken as a class to form several categories;

[0034] The sum of squared deviations of each class is calculated to obtain the distance between classes, and the two classes with the closest distance are selected to merge until all failure scenario samples are iteratively clustered into one class.

[0035] Based on the above-mentioned method embodiments, the present invention provides a corresponding server, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, it implements a method for extracting a lane keeping assist system test scenario as described in any one of the method embodiments.

[0036] Based on the above-mentioned method embodiments, the present invention provides a corresponding computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements a method for extracting a lane keeping assist system test scenario described in any method embodiment.

[0037] The embodiments of the present invention have the following beneficial effects:

[0038] The present invention provides a method and a server medium for extracting a lane keeping assist system test scenario. The method first obtains a failure scenario corresponding to a failure moment recorded in the use of an LKAS, wherein the failure scenario includes a plurality of failure factors, and then uses a hierarchical analysis method to determine the weight of the influence of each failure factor on the LKAS failure scenario, extracts a failure factor with a weight greater than a preset weight threshold as a selected failure factor, generates a failure scenario sample according to the selected failure factor extracted for each LKAS failure scenario, calculates the similarity between the failure scenario samples for iterative clustering, selects the category number of the elbow position as the selected cluster number according to a curve diagram of the relationship between the category number and the clustering coefficient generated in the iterative clustering process, extracts the clustering results of all failure scenario clustering samples of the corresponding cluster number, selects the parameter value that appears most times in the clustering process as the selected parameter value of the selected failure factor, and generates various types of representative LKAS test scenarios according to the selected parameter value of each selected failure factor in the clustering result of each category, so as to provide targeted testing for R&D personnel and test personnel, so as to improve the stability of the LKAS in use. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of a method for extracting a lane keeping assist system test scenario provided in one embodiment of the present invention.

[0040] Figure 2 It is a schematic diagram of a category number-aggregation coefficient curve provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] Please refer to Figure 1 , is a flow chart of a method for extracting a lane keeping assist system test scenario provided by an embodiment of the present invention, comprising the following specific steps:

[0043] S1. Obtain several LKAS failure scenarios that have occurred, where the failure scenarios contain several failure factors;

[0044] When extracting the test scenario for the lane keeping assist system, firstly, the failure scenario corresponding to the failure moment recorded during the use of LKAS is obtained, and the failure scenario contains multiple failure factors.

[0045] Preferably, the failure factors include: vehicle speed, weather type, lane keeping function failure time, lane keeping function failure location, whether the lane line is obstructed, whether there is a vehicle in front of the vehicle, whether there is a vehicle on the side of the vehicle, lane form, lane line color, first lane line type, second lane line type, and whether the lane line is worn; wherein, the first lane line type is used to indicate whether the lane line is single-line or double-line, and the second lane line type is used to indicate whether the lane line is solid or dashed.

[0046] S2. Determine the weight of each failure factor affecting the LKAS failure scenario through the hierarchical analysis method; extract the failure factors with weights greater than the preset weight threshold as the selected failure factors;

[0047] Preferably, the weight of each failure factor affecting the LKAS failure scenario is determined by the hierarchical analysis method, and the failure factors with weights greater than a preset weight threshold are extracted as selected failure factors, including: classifying the vehicle speed as the vehicle state; classifying the weather type, the time when the lane keeping function fails, the location where the lane keeping function fails, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, and whether there is a vehicle on the side of the vehicle as the external environment; classifying the lane form, lane line color, the first lane line type, the second lane line type, and whether the lane line is worn as the lane line state; constructing a criterion layer according to the vehicle state, the external environment, and the lane line state, and , lane form, lane line color, first lane line type, second lane line type and whether the lane line is worn to construct a sub-criteria layer; classify and divide the failure factors contained in the failure scenario, classify the classified failure factors into levels, and establish a criterion layer and a sub-criteria layer; construct a judgment matrix according to the established criterion layer and sub-criteria layer; extract the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criteria layer and the maximum eigenroot of the criterion layer of the sub-criteria layer according to the judgment matrix; calculate the weight value of each failure factor in the sub-criteria layer according to the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criteria layer and the maximum eigenroot of the criterion layer of the sub-criteria layer; extract the failure factor whose weight is greater than the preset weight threshold as the selected failure factor.

[0048] Specifically, first, a hierarchical architecture model of LKAS failure scenarios is constructed, and the vehicle speed is classified as the vehicle state; the weather type, the time when the lane keeping function fails, the location where the lane keeping function fails, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, and whether there is a vehicle on the side of the vehicle are classified as the external environment; the lane form, lane line color, the first lane line type, the second lane line type, and whether the lane line is worn are classified as the lane line state; the vehicle state, the external environment, and the lane line state are used as the criterion layer, and the vehicle speed, weather type, the time when the lane keeping function fails, the location where the lane keeping function fails, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, whether there is a vehicle on the side of the vehicle, the lane form, the lane line color, the first lane line type, the second lane line type, and whether the lane line is worn are constructed as the sub-criterion layer, schematically, as shown in the following table:

[0049]

[0050] Secondly, according to the hierarchical architecture model of LKAS failure scenarios, the judgment matrix a is constructed using the “1-9 scaling method”; the “1-9 scaling method” compares the factors within the layer pairwise according to the importance of the lower-level factors relative to the upper-level factors.

[0051] Construct judgment matrix a:

[0052]

[0053] Among them, a ij represents the comparison result between the i-th factor and the j-th factor, a ii =1.

[0054]

[0055] For example: The following is the criterion layer judgment matrix:

[0056] Self-driving status Lane status External Environment Self-driving status 1 1 / 5 1 / 7 Lane status 5 1 1 / 3 External Environment 7 3 1

[0057] For example, the following is the judgment matrix of the sub-criteria layer - lane line status:

[0058]

[0059]

[0060] For example: The following is the judgment matrix of the sub-criteria layer - external environment:

[0061]

[0062] According to the judgment matrix of the criterion layer and the sub-criterion layer established by the scaling method, the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer, and the maximum eigenroot of the criterion layer of the sub-criterion layer are calculated. The weight value of each failure factor of the criterion layer is calculated according to the regularized eigenvector of the criterion layer and the maximum eigenroot of the criterion layer. The weight value of each failure factor in the sub-criterion layer is calculated according to the regularized eigenvector of the sub-criterion layer and the maximum eigenroot of the criterion layer of the sub-criterion layer. Then, the weight value of each failure factor is determined by multiplying the calculated weight value of each failure factor in the sub-criterion layer by the weight value of the criterion layer to which it belongs, and the failure factors whose weights are greater than the preset threshold are extracted as the selected failure factors. Calculate the regularized eigenvector W and the maximum eigenroot λ of the judgment matrix max The calculation is as follows:

[0063]

[0064]

[0065] aW=λmax W,W=(w a1 ,w a2 ,...,w ai ) T

[0066] Where W represents the regularized feature vector, λ max represents the maximum eigenvalue, and aW represents the weight value.

[0067] For example: The following is the weight calculation table for the criterion layer:

[0068]

[0069] Then, according to the criterion layer judgment matrix in the above table, it can be calculated that the weight of the vehicle state is 7.20%, the weight of the lane line state is 27.90%, and the weight of the external environment is 64.91%;

[0070] For example: The following is the weight calculation table for the sub-criteria layer - external environment:

[0071]

[0072] Then, according to the sub-criteria layer-external environment judgment matrix in the above table, it can be calculated that the weight value of weather type is 27.12%, the weight value of function failure time is 19.17%, the weight value of function failure location is 7.14%, the weight value of lane line obstruction is 37.70%, the weight value of whether there is a vehicle in front is 3.58%, and the weight value of whether there is a vehicle on the side is 5.30%.

[0073] For example, the following is the weight calculation table of the sub-criteria layer-lane line status:

[0074] Then, according to the above table sub-criteria layer-lane line state judgment matrix, it can be calculated that the weight value of lane form is 42.21%, the weight value of lane line color is 26.98%, the weight value of the first lane line type is 5.18%, the weight value of the second lane line type is 9.23%, and the weight value of whether the lane line is worn is 16.41%.

[0075] The calculated weight value of each failure factor in the sub-criteria layer is multiplied by the criterion layer to which it belongs.

[0076] The weight value of each failure factor is determined, and the failure factors with weights greater than a preset threshold are extracted as selected failure factors.

[0077] For example: The following is a weight calculation table for each failure factor at the sub-criteria level:

[0078]

[0079]

[0080] Then, taking weather type as an example, its weight is equal to the weight of the external environment in the criterion layer multiplied by its own weight in the sub-criterion layer (external environment), that is, 64.91%×27.12%=17.61%. Similarly, the weight value of each failure factor is calculated, and the failure factor with a weight greater than the preset weight threshold is extracted as the selected failure factor. In the present invention, the preset weight threshold is 4.00%, and the failure factor with a weight greater than 4.00% is extracted as the selected failure factor, that is, whether the lane line is blocked, weather type, function failure time, lane form, lane line color, vehicle speed, function failure location, and whether the lane line is worn are extracted as the selected failure factors.

[0081] In a preferred embodiment, after extracting the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer and the maximum eigenroot of the criterion layer of the sub-criterion layer according to the judgment matrix, it also includes: repeatedly performing the judgment matrix correction operation until the consistency index corresponding to the judgment matrix is ​​less than or equal to the preset value; wherein the judgment matrix correction operation includes: calculating the consistency index according to the maximum eigenroot of the criterion layer and the maximum eigenroot of the criterion layer of the sub-criterion layer; when the consistency index is greater than the preset value, correcting the judgment matrix, and recalculating the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer and the maximum eigenroot of the criterion layer of the sub-criterion layer according to the modified judgment matrix.

[0082] Since the judgment matrix is ​​a numerical representation of subjective judgment, there is a certain difference in the importance of objective values, so it is necessary to perform consistency check on the judgment matrix.

[0083] The consistency index of the judgment matrix is ​​calculated by the following formula:

[0084]

[0085] Among them, CI represents the consistency index of the judgment matrix, λ max represents the maximum eigenvalue of the judgment matrix, and n represents the number of maximum eigenvalues ​​of the judgment matrix;

[0086] The consistency ratio of the judgment matrix is ​​calculated by the following formula:

[0087]

[0088] Among them, CR represents the consistency ratio of the judgment matrix, and RI represents the average random consistency index, and the values ​​are shown in the following table:

[0089]

[0090] If CR≤0.10, the established judgment matrix is ​​considered to be completely consistent, that is, the weight of each layer of failure factors can better reflect the importance of the factor relative to the LKAS failure scenario; otherwise, it is necessary to re-judge the relative importance of the failure factors and correct the judgment matrix until CR≤0.10 and pass the consistency check.

[0091] Recalculate the modified judgment matrix, recalculate and extract the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer, and the maximum eigenroot of the criterion layer of the sub-criterion layer, continuously correct the judgment matrix, and perform consistency verification; through this embodiment, the importance of subjective judgment values ​​and the error of objective values ​​can be reduced, thereby making the constructed judgment matrix more accurate.

[0092] S3. For each LKAS failure scenario, extract the selected failure factors of the LKAS failure scenario, and generate failure scenario samples according to the extracted selected failure factors;

[0093] Preferably, for each LKAS failure scenario, the selected failure factors of the LKAS failure scenario are extracted, and failure scenario samples are generated based on the extracted selected failure factors, including: for each LKAS failure scenario, the selected failure factors of the LKAS failure scenario are extracted; and parameter characteristics of the selected failure factors are assigned to generate failure scenario samples.

[0094] Assign values ​​to the parameter characteristics of the selected failure factors and convert the failure factors into nominal scale variables, which are variables that have no numerical relationship but have categories. When the variable values ​​are the same, the distance between the two is 0; when the variable values ​​are different, the distance between the two is 1.

[0095] For example: The following is a table of LKAS scene parameters and parameter characteristics:

[0096]

[0097]

[0098] Then, taking weather type as an example, the characteristic values ​​of the two parameters "sunny / cloudy" and "rain / fog / haze" are 1 and 3 respectively. Although the numerical difference is 2, the distance between the variables is 1.

[0099] For each LKAS failure scenario, the presence or absence of lane line obstruction, weather type, function failure time, lane form, lane line color, vehicle speed, function failure location, and whether the lane line is worn are extracted as the selected 8 failure factors. The parameter features of the selected 8 failure factors are assigned to generate failure scenario samples.

[0100] S4. Calculate the similarity between each failure scenario sample, iteratively cluster the failure scenario samples according to the similarity, and generate a curve graph representing the relationship between the number of categories and the aggregation coefficient after each iteration during the iterative clustering process.

[0101] Preferably, the similarity between each failure scenario sample is calculated, and the failure scenario samples are iteratively clustered according to the similarity, including: for each failure scenario sample, the failure scenario sample is regarded as a class to form several classes; the sum of squared deviations of each class is calculated to obtain the distance between classes, and the two classes with the closest distance are selected for merging, until all failure scenario samples are iteratively clustered into one class.

[0102] First, calculate the sum of squares of the deviations of samples within each class. The sum of squares of the deviations of samples within a class (i.e., the aggregation coefficient) is:

[0103]

[0104] Where n p For class G p The number of samples contained in ; For class G p The i-th sample in ; For class G p center of gravity.

[0105] Class G p With class G q The distance between them is:

[0106]

[0107] In the formula, S r For class G p With class G q The new class G after the merger r The sum of squared deviations of samples within the class, S q For class G q The sum of squared deviations of samples within the class.

[0108] Secondly, merge the two classes with the closest distance to obtain n-1 classes; and so on, until all samples are clustered into one class, and generate a curve graph to characterize the relationship between the number of classes and the aggregation coefficient after each iteration during the iterative clustering process.

[0109] For example: The clustering process (clustering plan) is as follows:

[0110]

[0111] Taking the above table as an example, the stage number indicates the number of aggregated samples, the combined cluster indicates the sample combination of clustering, cluster 1 and cluster 2 indicate the sample numbers, the stage when the cluster first appears indicates the clustering stage number when the samples included in the combined cluster are clustered for the first time, and the next stage indicates the clustering stage number when the samples included in the combined cluster are clustered for the second time. Then, according to the 200 samples (i.e. 200 categories) in the above table, the first clustering merges the two categories with the closest distance, and the sample clusters are 199 categories; and so on, until all samples are clustered into one category, and a curve chart is generated in the iterative clustering process to characterize the relationship between the number of categories and the aggregation coefficient after each iteration. Please refer to Figure 2 , which is a schematic diagram of the category number-aggregation coefficient curve.

[0112] S5, taking the number of categories corresponding to the elbow position of the curve in the curve graph as the selected number of clusters;

[0113] As the number of clusters decreases, the degree of aggregation gradually increases. Then the curve representing the relationship between the number of categories and the aggregation coefficient after each iteration will gradually become steeper. At this time, the curve will present an elbow shape. The number of categories corresponding to the elbow position is selected as the selected number of clusters. Figure 2 , Taking the schematic diagram of the number of categories-aggregation coefficient curve as an example, the elbow position of the curve graph approaches "9", that is, 9 categories corresponding to the elbow position are selected as the selected number of clusters.

[0114] S6. Extracting all failure scenario cluster samples corresponding to the number of clusters; wherein the failure scenario cluster samples are cluster results corresponding to each category after clustering;

[0115] According to the curve graph representing the relationship between the number of categories and the aggregation coefficient after each iteration, the number of categories corresponding to the elbow position of the curve graph is selected as the selected number of clusters, and each clustering result corresponding to the determined number of clusters in the clustering process is output.

[0116] For example: The following is the clustering result table corresponding to each category after the number of clusters is selected:

[0117]

[0118]

[0119]

[0120]

[0121]

[0122] Then, according to the 9 categories corresponding to the elbow position in the curve graph selected by S5 as the selected number of clusters, the clustering results corresponding to each category when the failure scenario samples are clustered to the 9th category are output, as shown in the above "clustering table corresponding to each category after the number of clusters is selected", that is, the clustering results corresponding to whether the lane line is blocked, the weather type, the time of function failure, the lane form, the lane line color, the vehicle speed, the location of function failure and whether the lane line is worn are output when clustered to the 9th category.

[0123] S7. For each selected failure factor in each type of clustering result, select the parameter value that appears most times in the clustering process as the selected parameter value of the selected failure factor;

[0124] Then, according to the clustering result table corresponding to each category after the number of clusters selected by S6, taking Category 1 as an example, for the selected failure factor of whether the lane line is blocked, when its parameter value is "yes", the number of occurrences is 8 times, and the parameter value is "no", the number of occurrences is 14 times, that is, the parameter value is selected as "no", as the selected parameter value of the selected failure factor; the parameter is the weather type, the parameter value is "sunny / cloudy", the number of occurrences is 17 times, the parameter value is "overcast", the number of occurrences is 5 times, and the parameter value is "rain / fog / haze", the number of occurrences is 0 times, that is, the parameter value is "sunny / cloudy", as the selected parameter value of the selected failure factor, and so on, the parameter value with the largest number of occurrences in the clustering results of each category is selected as the selected parameter value of the selected failure factor. Among them, the number of occurrences represents the total number of parameter values ​​corresponding to each selected failure factor included in the failure scene sample clustering process. For example, a total of 10 scene samples are clustered, and 8 of the 10 samples contain lane line obstruction. Then, the selected factor of lane line obstruction has a parameter value of "yes" and the corresponding value is "8", that is, the selected failure factor of lane line obstruction appears 8 times.

[0125] S8. Generate various types of LKAS test scenarios according to the selected parameter values ​​of each selected failure factor in the clustering results of each category.

[0126] For example: 9 types of LKAS test scenario table generated by parameter features:

[0127]

[0128]

[0129] According to the above selected number of categories and the corresponding clustering results, the parameter value with the largest number of occurrences is selected as the selected parameter value of the second failure factor, and a particularly representative LKAS failure scenario is extracted from a large number of samples, thereby helping LKAS R&D and testing personnel to conduct more targeted testing and improve efficiency.

[0130] Embodiment 2

[0131] Accordingly, an embodiment of the present invention provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for extracting a lane keeping assist system test scenario as described in the above-mentioned embodiment of the invention is implemented.

[0132] The server may be a computing device such as a cloud server, etc. The device may include, but is not limited to, a processor and a memory.

[0133] The memory can be used to store the computer program, and the processor realizes various functions of the device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0134] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the server, and various interfaces and lines are used to connect various parts of the entire server.

[0135] Embodiment 3

[0136] Accordingly, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method for extracting a lane keeping assist system test scenario described in the above embodiment of the invention.

[0137] The computer-readable storage medium stores a computer program in the computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. The computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0138] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for extracting a lane keeping assist system test scenario, characterized in that: include: Obtain several LKAS failure scenarios that have occurred, each of which contains several failure factors; The weight of each failure factor affecting the LKAS failure scenario is determined by the analytic hierarchy process; the failure factors with weights greater than the preset weight threshold are extracted as selected failure factors; For each LKAS failure scenario, extract selected failure factors of the LKAS failure scenario, and generate failure scenario samples based on the extracted selected failure factors; Calculate the similarity between each failure scenario sample, iteratively cluster the failure scenario samples according to the similarity, and generate a curve graph representing the relationship between the number of categories and the aggregation coefficient after each iteration during the iterative clustering process; The number of categories corresponding to the elbow position of the curve in the curve graph is taken as the number of selected clusters; Extracting all failure scenario cluster samples corresponding to the number of clusters; wherein the failure scenario cluster samples are the cluster results corresponding to each category after clustering; For each selected failure factor in each class of clustering results, the parameter value that appears most times during the clustering process is selected as the selected parameter value of the selected failure factor; According to the selected parameter values ​​of each selected failure factor in the clustering results of each category, various LKAS test scenarios are generated.

2. The method for extracting a lane keeping assist system test scene according to claim 1, characterized in that: The failure factors include: vehicle speed, weather type, lane keeping function failure time, lane keeping function failure location, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, whether there is a vehicle on the side of the vehicle, lane form, lane line color, first lane line type, second lane line type and whether the lane line is worn; wherein, the first lane line type is used to indicate whether the lane line is single-line or double-line, and the second lane line type is used to indicate whether the lane line is solid or dashed.

3. The method for extracting a lane keeping assist system test scenario according to claim 2, characterized in that: Through the hierarchical analysis method, the weight of each failure factor on the LKAS failure scenario is determined, and the failure factors with weights greater than the preset weight threshold are extracted as selected failure factors, including: The speed of the ego vehicle is classified as the ego vehicle state; The weather type, the time when the lane keeping function fails, the location where the lane keeping function fails, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, and whether there is a vehicle on the side of the vehicle are classified as the external environment; The lane form, lane line color, first lane line type, second lane line type, and whether the lane line is worn are classified as lane line status; A criterion layer is constructed based on the vehicle status, external environment, and lane line status, and a sub-criteria layer is constructed based on the vehicle speed, weather type, lane keeping function failure time, lane keeping function failure location, whether the lane line is blocked, whether there is a vehicle in front of the vehicle, whether there is a vehicle on the side of the vehicle, lane form, lane line color, first lane line type, second lane line type, and whether the lane line is worn; Classify and divide the failure factors contained in the failure scenario, classify the classified failure factors, and establish a criterion layer and a sub-criterion layer; Constructing a judgment matrix according to the established criterion layer and sub-criterion layer; Extracting the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer, and the maximum eigenroot of the criterion layer of the sub-criterion layer according to the judgment matrix; The weight value of each failure factor in the sub-criterion layer is calculated according to the regularized characteristic vector of the criterion layer, the maximum characteristic root of the criterion layer, the regularized characteristic vector of the sub-criterion layer and the maximum characteristic root of the criterion layer of the sub-criterion layer; Failure factors whose weights are greater than a preset weight threshold are extracted as selected failure factors.

4. A method for extracting a lane keeping assist system test scenario according to claim 3, characterized in that: After extracting the regularized eigenvector of the criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer and the maximum eigenroot of the criterion layer of the sub-criterion layer according to the judgment matrix, the method further includes: Repeat the judgment matrix correction operation until the consistency index corresponding to the judgment matrix is ​​less than or equal to the preset value; Wherein, the judgment matrix correction operation includes: Calculate the consistency index according to the maximum characteristic root of the criterion layer and the maximum characteristic root of the criterion layer of the sub-criterion layer; When the consistency index is greater than a preset value, the judgment matrix is ​​modified, and the regularized eigenvector of the extraction criterion layer, the maximum eigenroot of the criterion layer, the regularized eigenvector of the sub-criterion layer, and the maximum eigenroot of the criterion layer of the sub-criterion layer are recalculated according to the modified judgment matrix.

5. The method for extracting a lane keeping assist system test scene according to claim 1, characterized in that: For each LKAS failure scenario, the selected failure factors of the LKAS failure scenario are extracted, and based on the extracted selected failure factors, failure scenario samples are generated, including: For each LKAS failure scenario, extract the selected failure factors of the LKAS failure scenario; Assign values ​​to the parameter characteristics of the selected failure factors and generate failure scenario samples.

6. The method for extracting a lane keeping assist system test scenario according to claim 5, characterized in that: Calculate the similarity between each failure scenario sample, and iteratively cluster the failure scenario samples according to the similarity, including: For each failure scenario sample, the failure scenario sample is taken as a class to form several categories; The sum of squared deviations of each class is calculated to obtain the distance between classes, and the two classes with the closest distance are selected to merge until all failure scenario samples are iteratively clustered into one class.

7. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of a lane keeping assist system test scene extraction method as described in any one of claims 1 to 6 are implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a method for extracting a lane keeping assist system test scenario as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method and system for optimizing automatic driving failure scene library, server and medium

    CN110579359A

  • Test scene determination method and device, electronic equipment and readable storage medium

    CN113688042A

  • Intelligent vehicle road system scene generation method and system, storage medium and computing equipment

    CN114913492A

  • Method, device and equipment for determining priority of vehicle-road cooperation scene of road section and medium

    CN115689259A

  • Method for constructing test scenario library, electronic device and medium

    US20210078590A1