Sensor configuration parameter determination method and device, equipment and storage medium
Through virtual vehicle testing and actual vehicle data optimization, the safety and cost efficiency issues in sensor configuration are solved, the flexibility and adaptability of the configuration are improved, and efficient sensor configuration in different scenarios is achieved.
Patent Information
- Application Number
- CN202410663864.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-03
AI Technical Summary
Due to safety and cost-efficiency limitations in sensor configuration in existing technologies, vehicle sensor configuration has low security, long configuration time, high cost and low flexibility, and cannot effectively evaluate the performance of sensors in all potential driving scenarios.
By obtaining the initial test scenario and initial sensor configuration parameters of the virtual vehicle, conduct perception testing, determine the sensor configuration parameters to be optimized, and conduct actual tests on the target vehicle. Adjust and optimize the sensor configuration parameters based on actual data to improve flexibility and adaptability. .
It realizes sensor configuration that can quickly respond to the needs of different scenarios while ensuring safety and low cost, improves the efficiency and flexibility of sensor configuration, and ensures the efficient performance of sensors in various scenarios.
Smart Images

Figure CN118586272A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of vehicle technology, and in particular, to a method, device, equipment and storage medium for determining sensor configuration parameters. Background Art
[0002] In the rapid development of autonomous driving technology, the configuration of sensors is crucial to the perception ability of vehicles. At present, autonomous vehicles rely on a set of multifunctional sensors such as cameras, radars, and laser radars (LiDAR) to perceive the surrounding environment. The layout and configuration of sensors directly affect the quality of data and the decision-making ability of the autonomous driving system.
[0003] Existing sensor configuration methods are mainly divided into two types: vehicle-based physical testing and computer-based simulation testing. Vehicle testing can provide real feedback data, but it is difficult to cover all possible driving conditions, especially dangerous or extreme scenarios, due to safety and cost constraints. Computer simulation can simulate a wide range of scenarios, but lacks the authenticity and accuracy of vehicle testing.
[0004] Existing technologies have limitations in dealing with the combination of the above two methods. On the one hand, although simulation can simulate dangerous scenarios, it often cannot fully reproduce the complex interaction effects in the actual physical environment. On the other hand, the limitations of vehicle testing in terms of safety and cost efficiency make it impossible to fully evaluate the performance of sensors in all potential driving scenarios. In addition, the current sensor configuration process is usually static and lacks flexibility, making it difficult to quickly adjust and optimize under actual road conditions. Therefore, how to flexibly configure vehicle sensors while ensuring safety, high efficiency and low cost has become an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present invention provide a method, device, equipment and storage medium for determining sensor configuration parameters, which solve the problems of low vehicle sensor configuration safety, long configuration time, high cost and low flexibility due to limitations in safety and cost efficiency when configuring vehicle sensors.
[0006] According to one aspect of the present invention, a method for determining a sensor configuration parameter is provided, comprising:
[0007] Obtaining an initial test scenario, an initial sensor configuration parameter set, and a target test scenario set corresponding to the virtual vehicle;
[0008] Performing a perception test on the virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set to obtain initial test data corresponding to each set of initial sensor configuration parameters in the initial sensor configuration parameter set;
[0009] Determine the sensor configuration parameters to be optimized according to the initial test data and the target test scene set corresponding to each set of initial sensor configuration parameters;
[0010] After configuring the sensor configuration parameters to be optimized to the target vehicle, controlling the target vehicle to execute a preset path plan, and receiving actual test data sent by the target vehicle;
[0011] The target sensor configuration parameters are determined according to the actual test data and the sensor configuration parameters to be optimized.
[0012] According to another aspect of the present invention, a sensor configuration parameter determination device is provided, the sensor configuration parameter determination device comprising:
[0013] An acquisition module, used to acquire an initial test scenario, an initial sensor configuration parameter set, and a target test scenario set corresponding to a virtual vehicle;
[0014] An obtaining module is used to perform a perception test on a virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set, and obtain initial test data corresponding to each set of initial sensor configuration parameters in the initial sensor configuration parameter set;
[0015] A determination module, configured to determine the sensor configuration parameters to be optimized according to the initial test data and the target test scenario set corresponding to each set of initial sensor configuration parameters;
[0016] A receiving module, used for controlling the target vehicle to execute a preset path plan after configuring the sensor configuration parameters to be optimized to the target vehicle, and receiving actual test data sent by the target vehicle;
[0017] A configuration module is used to determine target sensor configuration parameters according to the actual test data and the sensor configuration parameters to be optimized.
[0018] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0019] at least one processor; and
[0020] a memory communicatively connected to the at least one processor; wherein,
[0021] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the sensor configuration parameter determination method described in any embodiment of the present invention.
[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the sensor configuration parameter determination method described in any embodiment of the present invention when executed.
[0023] The embodiment of the present invention obtains an initial test scenario, an initial sensor configuration parameter set and a target test scenario set corresponding to a virtual vehicle; performs a perception test on the virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set to obtain initial test data corresponding to each group of initial sensor configuration parameters in the initial sensor configuration parameter set; determines the sensor configuration parameters to be optimized according to the initial test data corresponding to each group of initial sensor configuration parameters and the target test scenario set; after configuring the sensor configuration parameters to be optimized to a target vehicle, controls the target vehicle to execute a preset path plan, and receives actual test data sent by the target vehicle; determines the target sensor configuration parameters according to the actual test data and the sensor configuration parameters to be optimized, thereby solving the problem that the sensor configuration of the vehicle is low in safety, long in configuration time, high in cost and low in flexibility due to limitations in safety and cost efficiency when configuring vehicle sensors at present, and can evaluate the performance of the sensor configuration parameters by simulating various scenarios, and after determining the sensor configuration parameters to be optimized, configure them on the vehicle, adjust and optimize the sensor configuration parameters to be optimized according to the actual test data of the vehicle, improve the flexibility and adaptability in the sensor configuration process, so as to quickly respond to the needs of different scenarios, and can determine the sensor configuration parameters more safely, efficiently and flexibly while saving costs.
[0024] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 is a flow chart of a method for determining sensor configuration parameters in Embodiment 1 of the present invention;
[0027] Figure 2 is a schematic diagram of a sensor configuration process of a vehicle in Embodiment 1 of the present invention;
[0028] Figure 3 is a structural schematic diagram of a sensor configuration parameter determination device in Embodiment 2 of the present invention;
[0029] Figure 4 It is a structural schematic diagram of an electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. 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 data 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. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0033] Embodiment 1
[0034] Figure 1 It is a flow chart of a method for determining sensor configuration parameters in embodiment 1 of the present invention. This embodiment is applicable to the case of configuring sensors of a vehicle. The method can be executed by a sensor configuration parameter determination device in an embodiment of the present invention, and the device can be implemented in software and / or hardware.
[0035] like Figure 1 As shown, the method specifically comprises the following steps:
[0036] S110, obtaining an initial test scene, an initial sensor configuration parameter set, and a target test scene set corresponding to the virtual vehicle.
[0037] Among them, the virtual vehicle is a vehicle model corresponding to the real vehicle built in the simulation platform, which can be used to perform simulation tests of the real vehicle in the simulation platform. The initial test scene is a test scene simulated in the simulation platform, wherein the initial test scene can be a vehicle danger scene, an accident scene, an extreme weather scene, or other scenes that are difficult to collect manual data. The initial sensor configuration parameter set includes at least one set of initial sensor configuration parameters, which are manually preset and stored in the simulation platform. Optionally, the sensor configuration parameters include: at least one of the sensor type, the number of sensors, and the sensor installation position. The sensor type may include cameras, radars, laser radars, GPS or other types. The number of sensors can be set according to the sensor type, such as installing two cameras and one laser radar. The sensor installation position is relative to the installation position of the virtual vehicle, so as to adapt to different types of real vehicles.
[0038] Among them, the target test scenario set is a test scenario set under the target test environment determined in the test scenario library of the simulation platform, wherein the test scenario library includes various test scenarios under different external environments, for example, the external environment includes: port environment, mining environment, closed park environment, urban road environment, etc.
[0039] Specifically, the method for obtaining the initial test scene, initial sensor configuration parameter set and target test scene set corresponding to the virtual vehicle can be: building a virtual vehicle in a simulation platform, setting the initial test scene according to actual functional requirements and test requirements and inputting it into the simulation platform, or selecting a test scene that meets the actual functional requirements and test requirements in the test scene library of the simulation platform as the initial test scene corresponding to the virtual vehicle. Similarly, the initial sensor configuration parameter set can be set according to the actual functional requirements and test requirements, or a selection can be made directly from the stored sensor configuration parameters. The simulated external environment corresponding to the virtual vehicle is determined according to the actual functional requirements and test requirements, and various test scenarios corresponding to the stored external environment are selected as the target test scene set.
[0040] S120, performing a perception test on the virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set, and obtaining initial test data corresponding to each group of initial sensor configuration parameters in the initial sensor configuration parameter set.
[0041] Specifically, the perception test of the virtual vehicle is performed based on the initial test scenario and the initial sensor configuration parameter set, and the initial test data corresponding to each group of initial sensor configuration parameters in the initial sensor configuration parameter set can be obtained by: in the simulation platform, each group of initial sensor configuration parameters in the initial sensor configuration parameter set is sequentially configured to the virtual vehicle, which can also be understood as building a sensor model on the virtual vehicle. Hardware-in-the-loop simulation or vehicle-in-the-loop simulation can be selected. At the same time, the vehicle driver model can also be deployed on the virtual vehicle. When determining the initial test scenario, it can be understood that the initial test scenario contains various input signals for simulating the surrounding environment and target objects of the initial test scenario. The target objects can be virtual pedestrians, other virtual vehicles, virtual signs, virtual buildings, and virtual roads, etc., which can be set according to actual needs. When the initial test scenario is started to perform a perception test on the virtual vehicle, the driving of the virtual vehicle is simulated by the vehicle driver model, and various input signals simulated in the initial test scenario received by the sensor model on the virtual vehicle are collected. The situation of the sensor model on the virtual vehicle receiving these input signals can be obtained, that is, the initial test data corresponding to each group of initial sensor configuration parameters are obtained. By performing perception tests on virtual vehicles based on initial test scenarios and an initial set of sensor configuration parameters, it is possible to test sensor configurations through simulation technology without any physical risks, thereby improving safety.
[0042] S130, determining sensor configuration parameters to be optimized according to the initial test data corresponding to each group of initial sensor configuration parameters and the target test scenario set.
[0043] The sensor configuration parameters to be optimized are the best sensor configuration parameters during the simulation process.
[0044] Specifically, the method of determining the sensor configuration parameters to be optimized according to the initial test data and the target test scene set corresponding to each group of initial sensor configuration parameters can be: judging whether the initial test data meets the preset test conditions, if the initial test data meets the preset test conditions, determining a group of initial sensor configuration parameters corresponding to the initial test data as the first sensor configuration parameters, and then screening the initial sensor configuration parameter set to obtain the first sensor configuration parameter set, sequentially configuring each group of first sensor configuration parameters in the first sensor configuration parameter set to the virtual vehicle, controlling the virtual vehicle to perform perception testing in each target test scene in the target test scene set, obtaining the test data of each target test scene, generating a sensor data set corresponding to each group of first sensor configuration parameters from the test data of each target test scene, and then evaluating the data in the sensor data set corresponding to each group of first sensor configuration parameters to obtain the test score corresponding to each group of first sensor configuration parameters, and determining the first sensor configuration parameters with the highest test score as the sensor configuration parameters to be optimized. Among them, the preset test conditions can be set according to actual functional requirements and test requirements.
[0045] S140, after configuring the sensor configuration parameters to be optimized to the target vehicle, controlling the target vehicle to execute a preset path plan, and receiving actual test data sent by the target vehicle.
[0046] The preset path plan is a preset path plan for testing a real vehicle. The target vehicle is a real vehicle used to test the sensor configuration parameters to be optimized, and the actual test data is the actual data collected when the real vehicle is tested after the sensor configuration parameters to be optimized are configured.
[0047] Specifically, after the sensor configuration parameters to be optimized are configured to the target vehicle, the target vehicle is controlled to execute a preset path plan, and the actual test data sent by the target vehicle is received as follows: after the sensor is configured to the target vehicle according to the sensor configuration parameters to be optimized, the target vehicle is controlled to execute a preset path plan, and during the driving process of the target vehicle, the actual test data perceived by the sensor of the target vehicle is received.
[0048] S150: Determine target sensor configuration parameters according to actual test data and sensor configuration parameters to be optimized.
[0049] The target sensor configuration parameters are the sensor configuration parameters that are finally determined.
[0050] Specifically, the method for determining the target sensor configuration parameters based on the actual test data and the sensor configuration parameters to be optimized can be: evaluating the actual test data, and if the evaluation result meets the evaluation requirements, determining the sensor configuration parameters to be optimized as the target sensor configuration parameters, and the sensor configuration process ends; if the evaluation result does not meet the evaluation requirements, returning to the simulation platform, adjusting the sensor configuration parameters to be optimized, re-simulating, obtaining the adjusted sensor configuration parameters to be optimized, configuring the adjusted sensor configuration parameters to be optimized to the target vehicle, re-acquiring the actual test data, and evaluating the actual test data to obtain the evaluation result. This iterative process continues until the evaluation result meets the evaluation requirements, and the adjusted sensor configuration parameters to be optimized are determined as the target sensor configuration parameters.
[0051] Optionally, determining the sensor configuration parameters to be optimized according to the initial test data and the target test scenario set corresponding to each set of initial sensor configuration parameters includes:
[0052] If the initial test data meets the preset test condition, the initial sensor configuration parameter set is screened according to the initial test data meeting the preset test condition to obtain a first sensor configuration parameter set;
[0053] Performing a perception test on a virtual vehicle based on the target test scenario set and the first sensor configuration parameter set to obtain a sensor data set corresponding to each set of first sensor configuration parameters;
[0054] The sensor configuration parameters to be optimized are determined according to the sensor data set corresponding to each group of first sensor configuration parameters.
[0055] Specifically, if the initial test data meets the preset test conditions, the initial sensor configuration parameter set is screened according to the initial test data that meets the preset test conditions, and the method for obtaining the first sensor configuration parameter set can be: if the initial test data meets the preset test conditions, the initial sensor configuration parameters corresponding to the initial test data are determined as the first sensor configuration parameters, so that the initial sensor configuration parameter set is screened, and the first sensor configuration parameter set is generated according to the initial sensor configuration parameters that meet the preset test conditions.
[0056] Specifically, a perception test is performed on a virtual vehicle based on the target test scene set and the first sensor configuration parameter set to obtain a sensor data set corresponding to each set of first sensor configuration parameters by configuring each set of first sensor configuration parameters in the first sensor configuration parameter set to a virtual vehicle, controlling the virtual vehicle to perform a perception test in each target test scene in the target test scene set, obtaining test data for each target test scene, and generating a sensor data set corresponding to each set of first sensor configuration parameters based on the test data for each target test scene. It should be noted that when performing a perception test in each target test scene, weather generalization, road surface water generalization, lane wear generalization, lighting generalization, etc. in each target test scene can be set to obtain more sensor data with greater adaptability.
[0057] Specifically, the method for determining the sensor configuration parameters to be optimized based on the sensor data set corresponding to each group of first sensor configuration parameters can be: evaluating the data in the sensor data set corresponding to each group of first sensor configuration parameters, obtaining a test score corresponding to each group of first sensor configuration parameters, and determining the first sensor configuration parameter with the highest test score as the sensor configuration parameter to be optimized.
[0058] If the initial test data meets the preset test conditions, the initial sensor configuration parameter set is screened according to the initial test data that meets the preset test conditions to obtain a first sensor configuration parameter set; a perception test is performed on the virtual vehicle based on the target test scenario set and the first sensor configuration parameter set to obtain a sensor data set corresponding to each group of first sensor configuration parameters; the sensor configuration parameters to be optimized are determined according to the sensor data set corresponding to each group of first sensor configuration parameters, the initial sensor configuration parameter set can be screened according to the preset test conditions to obtain a first sensor configuration parameter set that meets the preset test conditions, the cost of sensor configuration testing can be saved, and the efficiency of sensor configuration can be improved. At the same time, different first sensor configuration parameters can be tested in different target test scenarios to ensure the comprehensiveness of the test scenarios so as to quickly respond to different scenario requirements.
[0059] Optionally, the preset test conditions include:
[0060] The number of perceived targets in the initial test data is consistent with the number of preset targets in the initial test scene;
[0061] The maximum distance between the perceived target object and the virtual vehicle in the initial test data is greater than or equal to the preset test distance of the initial test scene;
[0062] If the sensor configuration parameters include a radar sensor, the radar reflectivity in the initial test data is greater than a preset reflectivity of the initial test scene;
[0063] If the sensor configuration parameters include a positioning sensor, the positioning accuracy of the virtual vehicle in the initial test data is greater than a preset accuracy threshold of the initial test scenario.
[0064] Among them, the preset number of targets is the number of targets set when the initial test scene is set up. The targets may be virtual pedestrians, other virtual vehicles, virtual signs, virtual buildings, virtual roads, etc.
[0065] For example, if the number of preset target objects in the initial test scene is five, and the number of perceived target objects in the initial test data is also five, then it is determined that the initial sensor configuration parameters corresponding to the initial test data meet the preset test conditions. It should be noted that a perception target object threshold may also be set. If the probability of the perceived target object in the initial test data is greater than the perception target object threshold corresponding to the initial test scene, then it is determined that the initial sensor configuration parameters corresponding to the initial test data meet the preset test conditions.
[0066] For example, if the preset test distance is 100 meters, but the farthest distance between the perceptible target object and the virtual vehicle in the initial test data is 80 meters, or the farthest distance between the point cloud data corresponding to the perceptible target object and the virtual vehicle is 80 meters, then it means that the initial sensor configuration parameters corresponding to the current initial test data cannot meet the requirements for perceiving the preset test distance, and it is determined that the initial sensor configuration parameters corresponding to the initial test data do not meet the preset test conditions; if the preset test distance is 100 meters, and the farthest distance between the perceptible target object and the virtual vehicle in the initial test data is 100 meters, then it is determined that the initial sensor configuration parameters corresponding to the initial test data meet the preset test conditions.
[0067] For example, if the sensor configuration parameters include a radar sensor, then when the initial test data is obtained, the initial test data includes radar reflectivity. If the radar reflectivity in the initial test data is greater than the preset reflectivity of the initial test scene, it is determined that the initial sensor configuration parameters corresponding to the initial test data meet the preset test conditions.
[0068] For example, if the sensor configuration parameters include a positioning sensor, then when the initial test data is obtained, the initial test data includes virtual vehicle positioning information, and the positioning accuracy is determined based on the virtual vehicle positioning information and the real positioning information. If the positioning accuracy of the virtual vehicle in the initial test data is greater than the preset accuracy threshold of the initial test scenario, it is determined that the initial sensor configuration parameters corresponding to the initial test data meet the preset test conditions.
[0069] Optionally, determining the sensor configuration parameters to be optimized according to the sensor data set corresponding to each group of first sensor configuration parameters includes:
[0070] Inputting the sensor data set corresponding to each group of first sensor configuration parameters into the target scoring model to obtain a test score corresponding to each group of first sensor configuration parameters;
[0071] The first sensor configuration parameter with the highest test score is determined as the sensor configuration parameter to be optimized.
[0072] The target scoring model can perform machine learning on the initial network model in advance, and the training sample set includes at least one sample, each sample includes: a historical perception sensor data set and a historical real sensor data set, and the initial network model is iteratively trained according to a preset loss function and the training sample set until the target scoring model is obtained. The input of the target scoring model is the sensor data set, and the output is the scoring score.
[0073] Specifically, the sensor data set corresponding to each group of first sensor configuration parameters is input into the target scoring model in turn to obtain the test score corresponding to each group of first sensor configuration parameters. It should be noted that before the sensor data set corresponding to each group of first sensor configuration parameters is input into the target scoring model, the data in the sensor data set may be preprocessed to ensure the data accuracy.
[0074] Specifically, the first sensor configuration parameter with the highest test score is determined as the sensor configuration parameter to be optimized.
[0075] By inputting the sensor data set corresponding to each group of first sensor configuration parameters into the target scoring model, a test score corresponding to each group of first sensor configuration parameters is obtained; the first sensor configuration parameter with the highest test score is determined as the sensor configuration parameter to be optimized, so that the sensor data set corresponding to each group of first sensor configuration parameters can be evaluated, and the sensor configuration parameter to be optimized can be determined more quickly and accurately.
[0076] Optionally, determining target sensor configuration parameters according to the actual test data and the sensor configuration parameters to be optimized includes:
[0077] Inputting the actual test data into the target neural network model to obtain an actual evaluation result corresponding to the actual test data;
[0078] If the actual evaluation result satisfies the preset evaluation result, the sensor configuration parameter to be optimized is determined as the target sensor configuration parameter;
[0079] If the actual evaluation result does not meet the preset evaluation result, the adjustment operation is performed cyclically until the evaluation result meets the preset evaluation result, wherein the adjustment operation includes:
[0080] Returning the adjusted sensor configuration parameters to be optimized, controlling the virtual vehicle configured with the adjusted sensor configuration parameters to be optimized to perform a perception test in the initial test scene, and obtaining initial test data corresponding to the adjusted sensor configuration parameters to be optimized;
[0081] If the initial test data corresponding to the adjusted sensor configuration parameters to be optimized meet the preset test conditions, the virtual vehicle configured with the adjusted sensor configuration parameters to be optimized is controlled to be tested in each target test scene in the target test scene set to obtain a sensor data set corresponding to the adjusted sensor configuration parameters to be optimized;
[0082] The sensor data set corresponding to the adjusted sensor configuration parameters to be optimized is evaluated to obtain a test score corresponding to the adjusted sensor configuration parameters to be optimized. If the test score exceeds a preset score threshold, the adjusted sensor configuration parameters to be optimized are configured to a target vehicle, the target vehicle is controlled to execute a preset path plan, and actual test data sent by the target vehicle is received;
[0083] The actual test data is input into the target neural network model to obtain the actual evaluation results corresponding to the actual test data.
[0084] The target neural network model is a trained network model, the input is the actual test data, and the output is the actual evaluation result corresponding to the actual test data. The evaluation result can be a good or bad, or an evaluation score, or the actual evaluation result can be determined according to the sensor type. Each type of sensor corresponds to an actual evaluation result. If there is at least one type of sensor whose actual evaluation result does not meet the preset evaluation result, the adjustment operation is performed cyclically. The preset scoring threshold can be set according to actual needs.
[0085] For example, actual test data may be input into the target neural network model to obtain actual evaluation results corresponding to the actual test data, and it may be found that the actual evaluation result of at least one type of sensor is poor, the preset evaluation result is excellent, and the actual evaluation result of at least one type of sensor does not meet the preset evaluation result, then the adjustment operation is performed in a loop: according to the actual evaluation result of the sensor, the adjustment configuration parameters of the sensor to be optimized are returned. For example, if the sensor with a poor actual evaluation result is a radar sensor, the number of radar sensors or the installation position of the radar sensor may be adjusted to obtain the adjusted sensor configuration parameters to be optimized, and the adjusted sensor configuration parameters to be optimized are configured on the virtual vehicle, and the virtual vehicle is controlled to perform a perception test in the initial test scenario to obtain initial test data corresponding to the adjusted sensor configuration parameters to be optimized. If the adjusted sensor configuration parameters to be optimized correspond to If the initial test data meets the preset test conditions, the virtual vehicle with the adjusted sensor configuration parameters to be optimized is controlled to be tested in each target test scenario in the target test scenario set, and the sensor data set corresponding to the adjusted sensor configuration parameters to be optimized is obtained. The sensor data set is input into the target scoring model to obtain the test score corresponding to the adjusted sensor configuration parameters to be optimized. When the test score exceeds the preset scoring threshold, the adjusted sensor configuration parameters to be optimized are configured to the target vehicle, the target vehicle is controlled to execute the preset path plan, and the actual test data sent by the target vehicle is re-received, and the corresponding actual evaluation results are obtained according to the re-received actual test data, until the actual evaluation results of each type of sensor are excellent, the loop is terminated, and the adjusted sensor configuration parameters to be optimized at the end of the loop are determined as the target sensor configuration parameters.
[0086] Optionally, before inputting the actual test data into the target neural network model, the method further includes:
[0087] Acquire a training sample set and a model to be trained, wherein the training sample set includes at least one training sample, and the training sample includes: historical perception test data, historical perception standard data, and real evaluation results;
[0088] The training samples in the training sample set are input into the model to be trained, and the model to be trained is iteratively trained according to the loss function until the iteration end condition is met, so as to obtain the target neural network model, wherein the loss function is constructed by the actual evaluation results and the predicted evaluation results during training.
[0089] Among them, the training samples can be constructed based on historical data during sensor configuration testing, the historical perception test data is the historical test data when the vehicle undergoes sensor configuration testing, the historical perception standard data is the real data when the vehicle undergoes sensor configuration testing, and the real evaluation results can be manually labeled evaluation results.
[0090] Specifically, after obtaining the training sample set and the model to be trained, the training samples in the training sample set are input into the model to be trained, a loss function is constructed according to the actual evaluation results and the predicted evaluation results during training, and the model to be trained is iteratively trained based on the loss function until the iteration end condition is met to obtain the target neural network model, wherein the iteration end condition can be set according to the actual situation.
[0091] In a specific example, Figure 2 is a schematic diagram of a sensor configuration process of a vehicle in Embodiment 1 of the present invention, such as Figure 2As shown, based on the test requirements and actual functional requirements, an initial test scenario under an external environment is obtained from a test scenario library of a simulation platform. For example, the external environment is an urban road environment, wherein the initial test scenario may be an accident scenario in an urban road environment. A virtual vehicle is built in the simulation platform, and an initial sensor configuration parameter set is obtained. Each group of initial sensor configuration parameters in the initial sensor configuration parameter set is configured to the virtual vehicle, and a perception test is performed to obtain initial test data corresponding to each group of initial sensor configuration parameters. The initial test data corresponding to each group of initial sensor configuration parameters is compared with preset test conditions corresponding to the initial test scenario. If the initial test data meets the preset test conditions, the initial sensor configuration parameter set is screened to obtain a first sensor configuration parameter set. Then, the driver model is configured, and hardware-in-the-loop simulation or vehicle-in-the-loop simulation can be selected. A target test scenario set is obtained from the test scenario library, and a perception test is performed based on the target test scenario set and the first sensor configuration parameter set. Each group of first sensor configuration parameters in the first sensor configuration parameter set is configured to the virtual vehicle in turn, and the virtual vehicle is controlled to perform a perception test in each target test scenario in the target test scenario set to obtain test data for each target test scenario. The test data for each target test scenario generates a sensor data set corresponding to each group of first sensor configuration parameters, wherein, when the test is executed, each target test scenario can be generalized, such as weather generalization, road surface water generalization, lane line wear generalization, and illumination generalization; then, a score is performed according to the sensor data set corresponding to each group of first sensor configuration parameters to obtain a test score corresponding to each group of first sensor configuration parameters, and the first sensor configuration parameter with the highest test score is determined as the sensor configuration parameter to be optimized. The sensor configuration parameters to be optimized are configured to the target vehicle, and the target vehicle performs actual perception test based on a preset path plan to obtain actual test data. Before obtaining the actual test data, the data perceived by the sensors configured on the target vehicle can be preprocessed, such as data cleaning after manual labeling or automatic labeling. Then, an evaluation is performed based on the actual test data to obtain an actual evaluation result. If the actual evaluation result meets the evaluation requirements, the sensor configuration parameters to be optimized are directly determined as the target sensor configuration parameters. If the actual evaluation result does not meet the evaluation requirements, the sensor configuration parameters to be optimized need to be adjusted according to the actual evaluation result, and the above operation of obtaining the actual evaluation result is executed repeatedly until the actual evaluation result meets the evaluation requirements.
[0092] The technical solution of this embodiment is to obtain an initial test scenario, an initial sensor configuration parameter set, and a target test scenario set corresponding to a virtual vehicle; perform a perception test on the virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set to obtain initial test data corresponding to each group of initial sensor configuration parameters in the initial sensor configuration parameter set; determine sensor configuration parameters to be optimized based on the initial test data corresponding to each group of initial sensor configuration parameters and the target test scenario set; after configuring the sensor configuration parameters to be optimized to a target vehicle, control the target vehicle to execute a preset path plan, and receive actual test data sent by the target vehicle; and determine the sensor configuration parameters to be optimized based on the actual test data and the target test scenario set. The sensor configuration parameters to be optimized determine the target sensor configuration parameters, which solves the current problems of low vehicle sensor configuration safety, long configuration time, high cost and low flexibility due to limitations in safety and cost efficiency when configuring vehicle sensors. The performance of the sensor configuration parameters can be evaluated by simulating various scenarios, and after determining the sensor configuration parameters to be optimized, they are configured on the vehicle. The sensor configuration parameters to be optimized are adjusted and optimized through actual test data of the vehicle, thereby improving the flexibility and adaptability of the sensor configuration process, so as to quickly respond to the needs of different scenarios, and can determine the sensor configuration parameters more safely, efficiently and flexibly while saving costs.
[0093] Embodiment 2
[0094] Figure 3 is a schematic diagram of the structure of a sensor configuration parameter determination device in the second embodiment of the present invention. This embodiment is applicable to the case of configuring the sensors of a vehicle. The device can be implemented in software and / or hardware. The device can be integrated in any device that provides the function of determining the sensor configuration parameters, such as Figure 3 As shown, the sensor configuration parameter determination device specifically includes: an acquisition module 210 , an obtaining module 220 , a determination module 230 , a receiving module 240 and a configuration module 250 .
[0095] The acquisition module 210 is used to acquire an initial test scene, an initial sensor configuration parameter set, and a target test scene set corresponding to the virtual vehicle;
[0096] An obtaining module 220 is used to perform a perception test on the virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set, and obtain initial test data corresponding to each set of initial sensor configuration parameters in the initial sensor configuration parameter set;
[0097] A determination module 230, configured to determine the sensor configuration parameters to be optimized according to the initial test data and the target test scenario set corresponding to each set of initial sensor configuration parameters;
[0098] The receiving module 240 is used to control the target vehicle to execute a preset path plan after the sensor configuration parameters to be optimized are configured to the target vehicle, and receive actual test data sent by the target vehicle;
[0099] The configuration module 250 is used to determine the target sensor configuration parameters according to the actual test data and the sensor configuration parameters to be optimized.
[0100] Optionally, the determining module is specifically used to:
[0101] If the initial test data meets the preset test condition, the initial sensor configuration parameter set is screened according to the initial test data meeting the preset test condition to obtain a first sensor configuration parameter set;
[0102] Performing a perception test on a virtual vehicle based on the target test scenario set and the first sensor configuration parameter set to obtain a sensor data set corresponding to each set of first sensor configuration parameters;
[0103] The sensor configuration parameters to be optimized are determined according to the sensor data set corresponding to each group of first sensor configuration parameters.
[0104] Optionally, the sensor configuration parameters include: at least one of: sensor type, sensor quantity and sensor installation position.
[0105] Optionally, the number of preset targets in the scene is consistent;
[0106] The maximum distance between the perceived target object and the virtual vehicle in the initial test data is greater than or equal to the preset test distance of the initial test scene;
[0107] If the sensor configuration parameters include a radar sensor, the radar reflectivity in the initial test data is greater than a preset reflectivity of the initial test scene;
[0108] If the sensor configuration parameters include a positioning sensor, the positioning accuracy of the virtual vehicle in the initial test data is greater than a preset accuracy threshold of the initial test scenario.
[0109] Optionally, the determining module is specifically used to:
[0110] Inputting the sensor data set corresponding to each group of first sensor configuration parameters into the target scoring model to obtain a test score corresponding to each group of first sensor configuration parameters;
[0111] The first sensor configuration parameter with the highest test score is determined as the sensor configuration parameter to be optimized.
[0112] Optionally, the configuration module is specifically used for:
[0113] Inputting the actual test data into the target neural network model to obtain an actual evaluation result corresponding to the actual test data;
[0114] If the actual evaluation result satisfies the preset evaluation result, the sensor configuration parameter to be optimized is determined as the target sensor configuration parameter;
[0115] If the actual evaluation result does not meet the preset evaluation result, the adjustment operation is performed cyclically until the evaluation result meets the preset evaluation result, wherein the adjustment operation includes:
[0116] Returning the adjusted sensor configuration parameters to be optimized, controlling the virtual vehicle configured with the adjusted sensor configuration parameters to be optimized to perform a perception test in the initial test scene, and obtaining initial test data corresponding to the adjusted sensor configuration parameters to be optimized;
[0117] If the initial test data corresponding to the adjusted sensor configuration parameters to be optimized meet the preset test conditions, the virtual vehicle configured with the adjusted sensor configuration parameters to be optimized is controlled to be tested in each target test scene in the target test scene set to obtain a sensor data set corresponding to the adjusted sensor configuration parameters to be optimized;
[0118] Inputting the sensor data set corresponding to the adjusted sensor configuration parameters to be optimized into the target scoring model to obtain the test score corresponding to the adjusted sensor configuration parameters to be optimized; if the test score exceeds a preset scoring threshold, configuring the adjusted sensor configuration parameters to be optimized to a target vehicle, controlling the target vehicle to execute a preset path plan, and receiving actual test data sent by the target vehicle;
[0119] The actual test data is input into the target neural network model to obtain the actual evaluation results corresponding to the actual test data.
[0120] Optionally, the configuration module is further used to:
[0121] Acquire a training sample set and a model to be trained, wherein the training sample set includes at least one training sample, and the training sample includes: historical perception test data, historical perception standard data, and real evaluation results;
[0122] The training samples in the training sample set are input into the model to be trained, and the model to be trained is iteratively trained according to the loss function until the iteration end condition is met, so as to obtain the target neural network model, wherein the loss function is constructed by the actual evaluation results and the predicted evaluation results during training.
[0123] The above-mentioned product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0124] Embodiment 3
[0125] Figure 4 : is a structural diagram of an electronic device in Embodiment 3 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0126] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0127] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0128] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a sensor configuration parameter determination method.
[0129] In some embodiments, the sensor configuration parameter determination method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the sensor configuration parameter determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the sensor configuration parameter determination method in any other appropriate manner (e.g., by means of firmware).
[0130] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0131] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0132] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0133] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0134] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0135] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0136] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0137] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining sensor configuration parameters, characterized in that: include: Obtaining an initial test scenario, an initial sensor configuration parameter set, and a target test scenario set corresponding to the virtual vehicle; Performing a perception test on the virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set to obtain initial test data corresponding to each set of initial sensor configuration parameters in the initial sensor configuration parameter set; Determine the sensor configuration parameters to be optimized according to the initial test data and the target test scene set corresponding to each set of initial sensor configuration parameters; After configuring the sensor configuration parameters to be optimized to the target vehicle, controlling the target vehicle to execute a preset path plan, and receiving actual test data sent by the target vehicle; The target sensor configuration parameters are determined according to the actual test data and the sensor configuration parameters to be optimized.
2. The method according to claim 1, characterized in that Determining the sensor configuration parameters to be optimized according to the initial test data and the target test scene set corresponding to each set of initial sensor configuration parameters includes: If the initial test data meets the preset test condition, the initial sensor configuration parameter set is screened according to the initial test data meeting the preset test condition to obtain a first sensor configuration parameter set; Performing a perception test on a virtual vehicle based on the target test scenario set and the first sensor configuration parameter set to obtain a sensor data set corresponding to each set of first sensor configuration parameters; The sensor configuration parameters to be optimized are determined according to the sensor data set corresponding to each group of first sensor configuration parameters.
3. The method according to claim 1, characterized in that The sensor configuration parameters include: at least one of sensor type, sensor quantity and sensor installation position.
4. The method according to claim 2, characterized in that: The preset test conditions include: The number of perceived targets in the initial test data is consistent with the number of preset targets in the initial test scene; The maximum distance between the perceived target object and the virtual vehicle in the initial test data is greater than or equal to the preset test distance of the initial test scene; If the sensor configuration parameters include a radar sensor, the radar reflectivity in the initial test data is greater than a preset reflectivity of the initial test scene; If the sensor configuration parameters include a positioning sensor, the positioning accuracy of the virtual vehicle in the initial test data is greater than a preset accuracy threshold of the initial test scenario.
5. The method according to claim 2, characterized in that: Determining the sensor configuration parameters to be optimized according to the sensor data set corresponding to each group of first sensor configuration parameters includes: Inputting the sensor data set corresponding to each group of first sensor configuration parameters into the target scoring model to obtain a test score corresponding to each group of first sensor configuration parameters; The first sensor configuration parameter with the highest test score is determined as the sensor configuration parameter to be optimized.
6. The method according to claim 1, characterized in that Determining target sensor configuration parameters according to the actual test data and the sensor configuration parameters to be optimized includes: Inputting the actual test data into the target neural network model to obtain an actual evaluation result corresponding to the actual test data; If the actual evaluation result satisfies the preset evaluation result, the sensor configuration parameter to be optimized is determined as the target sensor configuration parameter; If the actual evaluation result does not meet the preset evaluation result, the adjustment operation is performed cyclically until the evaluation result meets the preset evaluation result, wherein the adjustment operation includes: Returning the adjusted sensor configuration parameters to be optimized, controlling the virtual vehicle configured with the adjusted sensor configuration parameters to be optimized to perform a perception test in the initial test scene, and obtaining initial test data corresponding to the adjusted sensor configuration parameters to be optimized; If the initial test data corresponding to the adjusted sensor configuration parameters to be optimized meet the preset test conditions, the virtual vehicle configured with the adjusted sensor configuration parameters to be optimized is controlled to be tested in each target test scene in the target test scene set to obtain a sensor data set corresponding to the adjusted sensor configuration parameters to be optimized; Inputting the sensor data set corresponding to the adjusted sensor configuration parameters to be optimized into the target scoring model to obtain the test score corresponding to the adjusted sensor configuration parameters to be optimized; if the test score exceeds a preset scoring threshold, configuring the adjusted sensor configuration parameters to be optimized to a target vehicle, controlling the target vehicle to execute a preset path plan, and receiving actual test data sent by the target vehicle; The actual test data is input into the target neural network model to obtain the actual evaluation results corresponding to the actual test data.
7. The method according to claim 6, characterized in that Before inputting the actual test data into the target neural network model, the method further includes: Acquire a training sample set and a model to be trained, wherein the training sample set includes at least one training sample, and the training sample includes: historical perception test data, historical perception standard data, and real evaluation results; The training samples in the training sample set are input into the model to be trained, and the model to be trained is iteratively trained according to the loss function until the iteration end condition is met, so as to obtain the target neural network model, wherein the loss function is constructed by the actual evaluation results and the predicted evaluation results during training.
8. A sensor configuration parameter determination device, characterized in that: include: An acquisition module, used to acquire an initial test scenario, an initial sensor configuration parameter set, and a target test scenario set corresponding to a virtual vehicle; An obtaining module is used to perform a perception test on a virtual vehicle based on the initial test scenario and the initial sensor configuration parameter set, and obtain initial test data corresponding to each set of initial sensor configuration parameters in the initial sensor configuration parameter set; A determination module, configured to determine the sensor configuration parameters to be optimized according to the initial test data and the target test scenario set corresponding to each set of initial sensor configuration parameters; A receiving module, used for controlling the target vehicle to execute a preset path plan after configuring the sensor configuration parameters to be optimized to the target vehicle, and receiving actual test data sent by the target vehicle; A configuration module is used to determine target sensor configuration parameters according to the actual test data and the sensor configuration parameters to be optimized.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the sensor configuration parameter determination method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the sensor configuration parameter determination method according to any one of claims 1 to 7 when executed.
