Rack length stability test system and device for intelligent driving
Through the intelligent driving bench long-stabilization test system, the upper computer regularly pulls and analyzes the data of the measured controller, the stability test problem of the intelligent driving software under long-term operation is solved, and the long-term unattended time is achieved Stability testing improves testing efficiency and safety.
Patent Information
- Application Number
- CN202410959704.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-08
AI Technical Summary
The existing intelligent driving software testing system cannot independently conduct stability and performance indicator tests under long-term continuous operation, resulting in the inability to continuously monitor the long-term stability and performance of the vehicle.
A long and stable test system for intelligent driving is designed. The upper computer regularly pulls the file data and response data of the controller under test, generates a test report, and realizes the long-term stability test of the vehicle without being on duty. . The system includes a file pull module, an interactive recording module, a use case scenario playback module, a use case operation implementation module, a report generation module, etc., which can simulate a variety of driving scenarios and generate test reports.
The long-term stability test of the vehicle under test is realized without being on duty, and the problem of unauthorized testing of the vehicle's long-term running stability and performance in the prior art is solved, which improves the testing efficiency and safety.
Smart Images

Figure CN118915691A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle control testing, and in particular to a long-term stability testing system and equipment for a test bench for intelligent driving. Background Art
[0002] Automobile intelligent driving software is a software system that integrates advanced computer vision, artificial intelligence, sensor fusion, control theory, network communication, decision-making planning and other technologies. It aims to improve the car's autonomous driving capabilities, enabling the vehicle to drive safely and efficiently in complex and changing road environments with little or no human intervention. If the software is not stable enough, it will directly threaten the driver's personal safety and increase the cost of equipment loss. Therefore, special testing methods are needed to cover the stability of automobile intelligent driving software.
[0003] In the current testing of intelligent driving software, software stability issues are usually exposed by real vehicle testing, but using real vehicle testing to cover stability testing completely will consume a lot of testing time and measurement equipment, and will also increase the risk of accidents for on-board testers, so more and more people choose to transfer the test to the test bench to save real vehicle testing resources and reduce costs. However, the common testing method is to test the specified functions or performance of the vehicle in a specified scenario. Since manual participation and monitoring are occasionally required during the entire testing process, the entire testing process does not last too long. Based on this, it is impossible to autonomously test the stability and performance indicators of the driving equipment or system under long-term continuous operation through the test system. Summary of the invention
[0004] The present application provides a long-term stability test system and equipment for an intelligent driving bench to solve the technical problem that the stability and performance indicators of a driving device or system during long-term continuous operation cannot be autonomously tested through a test system.
[0005] In the first aspect, the present application provides a long-term stability test system for an intelligent driving test bench, comprising a host computer and at least one controller under test, wherein the host computer is used to pull the latest file data generated in the controller under test every first preset time period, and send an operation signal corresponding to the current test scenario to the controller under test, wherein the current test scenario is any one of a plurality of driving scenarios; the controller under test is used to generate response data corresponding to the operation signal according to its own control logic; the host computer is used to obtain the response data, and generate a test report of the controller under test in the current test scenario according to the response data and the file data every second preset time period.
[0006] Optionally, the host computer includes a file pulling module, which is used to detect whether there is a target file in each file under the target path every first preset time period, and if the target file exists, pull the target file as file data to the host computer for storage, wherein the target path is the path where the data to be pulled in the controller under test is located, and the target file is a file in the controller under test that is generated after the last pull and does not exist in the host computer.
[0007] Optionally, the host computer includes an interaction recording module, which is used to send a read instruction to the controller under test every second preset time period and obtain text data returned by the controller under test in response to the read instruction.
[0008] Optionally, the interaction record module is also used to extract numerical values and reading times from text data. If the numerical values meet preset conditions, the numerical values and reading times are saved as interaction records to the host computer. If the numerical values do not meet the preset conditions, the text data and reading times are saved as exception records to the host computer, wherein the response data includes interaction records and exception records.
[0009] Optionally, the test system includes a display device and a vehicle-mounted camera device, the display device is connected to the host computer and the vehicle-mounted camera device respectively, the vehicle-mounted camera device is connected to the controller under test, the display device is used to receive and play video data transmitted by the host computer, the vehicle-mounted camera device is used to shoot the video data played by the display device, and synchronously transmit the shot picture to the controller under test, so as to simulate the visual environment for the controller under test.
[0010] Optionally, the host computer includes a use case scenario playback module, which is used to obtain the timestamp of the video frame currently played by the display device when the display device plays video data, and synchronously send the first CAN signal value corresponding to the timestamp to the controller under test.
[0011] Optionally, the host computer includes a use case operation implementation module, which is used to obtain a second CAN signal value corresponding to a first operation and send the second CAN signal value to the controller under test when the test scenario is a scenario of switching between driving and parking, wherein the first operation includes changing gear and changing vehicle speed.
[0012] Optionally, the test system includes a switch and a relay, and the host computer includes a use case operation implementation module, the use case operation implementation module is connected to the switch, and the switch is connected to the relay. The use case operation implementation module is used to send a control signal corresponding to the second operation to the switch when the test scenario is a power-on and ignition scenario, and the switch is used to forward the control signal to the relay so that the relay is opened and closed according to the control signal, wherein the second operation is ignition and power-on.
[0013] Optionally, the host computer includes a report generation module, which is used to obtain response data and file data stored in the host computer every second preset time period, perform long-term stability analysis on the controller under test based on the response data and file data, and generate a test report based on the analysis results.
[0014] Optionally, the host computer includes a parameter configuration module, which is used to pull the configuration file of the controller under test before starting the test, and modify the configuration file of the controller under test according to the configuration information of the vehicle under test.
[0015] Optionally, the host computer obtains response data transmitted by the controller under test through the bus through the interface hardware; or the host computer establishes a communication connection with the controller under test, and the host computer and the controller under test obtain response data through the communication connection.
[0016] In a second aspect, the present application provides a long-term stability test device for an intelligent driving test bench, including the above-mentioned long-term stability test system for an intelligent driving test bench.
[0017] Beneficial effects of this application:
[0018] The present application provides a long-term stability test system for a test bench of intelligent driving, including a host computer and at least one controller under test, wherein the host computer is used to pull the latest file data generated in the controller under test every first preset time length, and send the operation signal corresponding to the current test scene to the controller under test, wherein the current test scene is any one of multiple driving scenes; the controller under test is used to generate response data corresponding to the operation signal according to its own control logic; the host computer is used to obtain the response data, and generate a test report of the controller under test in the current test scene according to the response data and the file data every second preset time length. The host computer regularly pulls the latest file data generated by the controller under test during operation, and regularly performs long-term stability analysis on the response data and file data generated by the controller under test for the operation signal in each test scene. Since the host computer can regularly pull data for stability analysis, it can realize long-term stability testing of the vehicle under test in an unattended situation, solving the technical problem that the stability and performance indicators of the driving device or system during long-term continuous operation cannot be tested autonomously by the test system. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a structural block diagram of a long-term stability test system for an intelligent driving test bench provided according to an embodiment of the present application;
[0020] Figure 2 A schematic diagram of a long-term stability test system for an intelligent driving test bench provided according to an embodiment of the present application;
[0021] Figure 3A schematic diagram of a host computer provided according to an embodiment of the present application;
[0022] Figure 4 The present invention is a flowchart of a method for pulling files from a target path according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0024] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0025] For ease of description, spatial relative terms may be used in the text to describe the relative position or movement of an element or feature as shown in the figure relative to another element or feature, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", "front", "back", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure. For example, if the device in the figure undergoes a position flip or a change in posture or a change in motion state, then these directional indications will also change accordingly, for example: an element described as "below other elements or features" or "below other elements or features" will subsequently be oriented as "above other elements or features" or "above other elements or features". Therefore, the example term "below..." can include both upper and lower orientations. The device can be oriented otherwise (rotated 90 degrees or in other directions) and the spatial relative descriptors used in the text are interpreted accordingly.
[0026] In order to solve the technical problem in the prior art that it is impossible to autonomously test the stability and performance indicators of driving equipment or systems during long-term continuous operation through a test system, the present application provides a long-term stability test system for an intelligent driving bench, which can realize long-term stability testing of the vehicle under test without human supervision.
[0027] Figure 1 The structural block diagram of a long-term stability test system for an intelligent driving test bench provided in an embodiment of the present application includes: a host computer 102 and at least one controller under test 104, wherein:
[0028] The host computer 102 is used to pull the latest file data generated in the controller under test every first preset time period, and send an operation signal corresponding to the current test scenario to the controller under test, wherein the current test scenario is any one of the multiple driving scenarios;
[0029] The controller under test 104 is used to generate response data corresponding to the operation signal according to its own control logic;
[0030] The host computer 102 is used to obtain the response data, and generate a test report of the controller under test in the current test scenario according to the response data and the file data at a second preset time interval.
[0031] In the test system provided in the present application, one host computer can undertake the test tasks of multiple controllers under test, and the host computer can be physically connected to the controllers under test through a CAN interface device.
[0032] Figure 2 The schematic diagram of the bench long-stable test system for intelligent driving provided for this application, as shown in the figure, the test system includes a host computer, a switch, a display device, a controller under test, a vehicle-mounted camera, a CAN converter (KvaserCAN converter is used in the figure), a vehicle-mounted Ethernet converter, a relay and a power supply device. The host computer performs CAN communication with the controller under test through Kvaser CAN to send an operation signal, simulates a visual environment by playing a road or garage video on a display device, controls the voltage of the signal line separately through a relay, and calls the command or test program in the controller under test through an Ethernet converter and a switch. The controller under test responds to the operation signal according to its own software logic and the visual environment in which it is located.
[0033] Next, this application Figure 2 On this basis, each component of the long stability test system of the intelligent driving bench is explained respectively.
[0034] The host computer provided in the present application includes multiple groups of modules, each group of modules establishes a communication connection with a controller under test, and the same group of modules can send data to the corresponding controller under test in a directed manner.
[0035] Figure 3The schematic diagram of the host computer provided for this application, each group of modules in the host computer includes a file pulling module, an interactive recording module, a use case scenario playback module, a use case operation implementation module, a report generation module and a parameter configuration module, wherein the file pulling module, the interactive recording module and the report generation module are all provided with a timer for executing the module function once every period of time, and the specific interval duration is set according to the module function, and the use case scenario playback module and the use case operation implementation module are both provided with a circulator, and the circulator is used for the module to repeatedly execute the module function, and the circulator can also be pre-set after executing a complete cycle and starting to execute the next cycle again. Each module runs simultaneously, receives the response data returned by the controller under test after each operation, and then stores the response data in the host computer.
[0036] As an optional embodiment, the host computer includes a file pulling module, which is used to detect whether there is a target file in each file under the target path every first preset time period, and if the target file exists, pull the target file as file data to the host computer for storage, wherein the target path is the path where the data to be pulled in the controller under test is located, and the target file is a file in the controller under test that is generated after the last pull and does not exist in the host computer.
[0037] When a defect occurs, the files recorded on the controller under test (such as log files, debugging information, event tracking or error reports) can help with debugging and analysis. The storage space of the controller under test is limited, and the files have the function of rolling deletion. Only in the test with someone on duty can the occurrence of defects be discovered in real time and the files can be downloaded to the host computer in time. Once unattended, key log or data files may be lost, which increases the difficulty of problem diagnosis and defect debugging and analysis.
[0038] In order to achieve the goal of downloading files to the host computer even when no one is on duty, the present application adopts a method of pulling files from multiple paths at fixed first preset time intervals.
[0039] In order to reduce the impact of the pull behavior on the computing resources of the controller under test, the file pull method provided in this application is only used to download the latest file. Figure 4 A method for pulling files from a target path provided in this application, as shown in the figure, includes:
[0040] Step 401, when the pull time point is reached, determine the target path where the file to be downloaded in the controller under test is located, and execute step 402;
[0041] Step 402, determine whether each file object X under the target path is a file or a folder. If the file object X is a folder, execute step 403; if the file object X is a file, execute step 404;
[0042] Step 403, taking the file object X as the new target path of the file, and re-execute step 402;
[0043] Step 404, determine whether there is an original file corresponding to the file object X in the host computer, if not, execute step 405, if yes, execute step 406;
[0044] Step 405, pull the file object X to the host computer and execute step 408;
[0045] Step 406, determine whether the generation time of the file object X of the controller under test is later than the generation time of the original file in the same directory of the host computer, if so, execute 407, if not, execute 408;
[0046] Step 407, the file object X in the tested controller is pulled to the host computer to overwrite the original file, indicating that the file object X in the tested controller may still be recorded in real time;
[0047] Step 408, end the pulling operation.
[0048] In the embodiment provided by the present application, the operating status of the controller can be monitored in real time by regularly pulling the log file of the tested controller. If any abnormality or failure occurs in the tested controller, the log file will usually contain relevant error information or exception stack, thereby helping developers and operation and maintenance personnel to quickly locate the problem and repair it.
[0049] As an optional embodiment, the host computer includes an interaction recording module, which is used to send a read instruction to the controller under test every second preset time period and obtain text data returned by the controller under test in response to the read instruction.
[0050] When the test scope includes those parts that are not directly output from the controller under test, additional means are required to obtain and record data. The present application provides an interactive recording module to interact with the controller under test. The interactive recording module and the controller under test establish a secure connection through the SSH (Secure Shell) protocol or the ADB (Android Debug Bridge) connection, which can prevent the data from being stolen or tampered with during transmission.
[0051] For example, first determine which data are not directly output from the controller under test, and then generate corresponding read instructions for these data and send them to the controller under test.
[0052] The interactive recording module sends the read instruction to the controller under test through the Ethernet converter. After receiving the read instruction, the controller under test executes the read operation and outputs the read text data as a response.
[0053] Read instructions are generally used to instruct the controller under test to read its own characteristic parameters. Specific parameters include but are not limited to performance data, configuration parameters, measurement data (such as data measured by connected sensors, including temperature, humidity, pressure, current and voltage, etc., or result data of operations or tasks performed by the controller under test), version information, etc.
[0054] As an optional embodiment, the interaction record module is also used to extract numerical values and reading times from text data. If the numerical values meet preset conditions, the numerical values and reading times are saved as interaction records to the host computer. If the numerical values do not meet the preset conditions, the text data and reading times are saved as exception records to the host computer, wherein the response data includes interaction records and exception records.
[0055] After receiving the text data, the text data is parsed and processed according to a predetermined format, thereby extracting the numerical value in the text data, and then judging whether the numerical value meets the preset conditions, and finally storing it according to the judgment result.
[0056] The preset condition is a pre-set threshold range. If the value is within the threshold range, it means that the value meets the preset condition. If the value is not within the threshold range, it means that the value does not meet the preset condition. This can be used to monitor various parameters of the measured data.
[0057] If the value does not meet the preset conditions, the host computer can use the text data and reading time to generate a log or report, which is saved to the host computer as an abnormal record for subsequent analysis and debugging.
[0058] If the value meets the preset conditions, the value meeting the preset conditions and the reading time can be directly saved to the host computer as an interaction record.
[0059] By automatically sending read instructions and checking responses, the controller under test can be continuously monitored, and unexpected values can be discovered in a timely manner, which helps to quickly locate problems and take corresponding measures.
[0060] As an optional embodiment, the test system includes a display device and a vehicle-mounted camera device, the display device is connected to a host computer and the vehicle-mounted camera device respectively, the vehicle-mounted camera device is connected to the controller under test, the display device is used to receive and play video data transmitted by the host computer, the vehicle-mounted camera device is used to shoot the video data played by the display device, and synchronously transmit the shot picture to the controller under test, so as to simulate a visual environment for the controller under test.
[0061] The present application equips each controller under test with a set of display devices and a vehicle-mounted camera device. The display device is used to play the received video data, and then the display screen of the display device is photographed by the vehicle-mounted camera device to simulate the external visual environment for the controller under test.
[0062] The vehicle-mounted camera device converts the captured images into digital signals and sends them to the controller under test. The controller under test receives the image data from the vehicle-mounted camera device and performs corresponding processing or response, such as recognition, decision-making, and control, based on the received visual input.
[0063] Preferably, various visual environments can be simulated by adjusting parameters such as video content, playback speed, and shooting angle, so as to comprehensively evaluate the performance and adaptability of the controller under test.
[0064] By combining display devices, host computers, and on-board cameras to simulate the visual environment for the controller under test, it is possible to simulate the visual environment in the real world, allowing the controller under test to be tested under controlled conditions, which helps to discover potential problems in the early stages of development and reduce the risk of failure in actual applications. Moreover, testing by simulating the real environment can reduce the cost required for testing in the actual environment. For example, testing in complex or dangerous environments can be avoided, thereby reducing the risk of equipment damage, personal injury, etc.
[0065] As an optional embodiment, the host computer includes a use case scenario playback module, which is used to obtain the timestamp of the video frame currently played by the display device when the display device plays video data, and synchronously send the first CAN signal value corresponding to the timestamp to the controller under test.
[0066] The host computer pre-stores video data (such as video recording) and a table corresponding to the video data. The video data contains video frames captured simultaneously with the CAN (Controller Area Network) signal value. Each image file has a corresponding timestamp, indicating the time position of the frame in the video. The table records the data captured from the actual vehicle CAN bus, and each row of data contains a timestamp and the corresponding CAN signal value.
[0067] The display device plays the video data, and then the on-board camera device captures the display screen of the display device and synchronizes it to the controller under test in real time, so as to simulate a visual scene for the controller under test. While the display device plays the video data, the host computer reads the first CAN signal value of each timestamp according to the table, and then plays the video data and sends the first CAN signal value synchronously according to the timestamp, so that the controller under test can receive the first CAN signal value corresponding to the current display screen while receiving the display screen.
[0068] While showing the video to the controller under test through the display device, the corresponding CAN (Controller Area Network) signal value is sent synchronously to provide more comprehensive and accurate input when simulating real vehicle or system behavior. The synchronous sending of CAN signal values can verify whether the controller under test responds correctly based on the received visual input and CAN signal values.
[0069] As an optional embodiment, the host computer includes a use case operation implementation module, which is used to obtain a second CAN signal value corresponding to a first operation and send the second CAN signal value to the controller under test when the test scenario is a scenario of switching between driving and parking, wherein the first operation includes changing a gear and changing a vehicle speed.
[0070] It should be noted that the host computer sends the CAN signal value to the controller under test through a communication link. Therefore, when the test scenario is a scenario of switching between driving and parking, the use case operation implementation module takes over the task of sending the CAN signal value to the controller under test. At this time, the use case scenario playback module does not need to send the first CAN signal value to the controller under test.
[0071] Modify the CAN signal value (including gear position and vehicle speed) according to the requirements of the test scenario. For example, in order to simulate the driver's gear shifting operation, the test system will change the gear position signal from "D" (driving gear) to "R" (reverse gear). Similarly, in order to simulate different driving or parking speeds, the test system will also adjust the value of the vehicle speed signal accordingly.
[0072] Once the CAN signal value is modified, the modified second CAN signal value can be sent in real time to the controller under test via the Kvaser CAN link. The controller under test will receive and process these signals to provide simulated input data for the driving and parking test scenario.
[0073] If the test scenario needs to simulate continuous operations or changes (such as acceleration followed by deceleration), the test system needs to continuously modify and send the corresponding CAN signal value. If the test scenario needs to simulate a single operation, such as simulating a gear shift, then the modified gear shift signal value only needs to be sent once through the Kvaser CAN link.
[0074] After receiving the second CAN signal value, the controller under test will execute corresponding operations or control logic according to the second CAN signal value. The host computer needs to verify whether these operations or control logics meet expectations, so as to evaluate the performance and reliability of the controller under test.
[0075] As an optional embodiment, the test system includes a switch and a relay, and the host computer includes a use case operation implementation module, the use case operation implementation module is connected to the switch, and the switch is connected to the relay. The use case operation implementation module is used to send a control signal corresponding to the second operation to the switch when the test scenario is a power-on and ignition scenario, and the switch is used to forward the control signal to the relay so that the relay is opened and closed according to the control signal, wherein the second operation is ignition and power-on.
[0076] When the test scenario is a power-on ignition scenario, the use case operation implementation module will generate a control signal corresponding to the ignition power-on operation, and the control signal can be an electrical signal or a digital signal.
[0077] The switch in this solution serves as a medium for signal transmission and is responsible for forwarding the control signal from the host computer to the relay. The relay then opens or closes according to the received control signal, thereby controlling the current on and off in the actual circuit.
[0078] After receiving the control signal from the switch, the relay will perform corresponding operations according to the content of the signal (open or closed). If the control signal is a closed signal, the relay will close its contacts to allow current to pass; if the control signal is an open signal, the relay will open its contacts to prevent current from passing.
[0079] The present application directly controls the on-off of the current in the actual circuit by controlling the action of the relay, thereby simulating the effect of an ignition power-on. It can simulate and control test scenarios such as ignition power-on through the host computer and software without directly operating the actual circuit, thereby improving the flexibility and safety of the test.
[0080] As an optional embodiment, the host computer includes a report generation module, which is used to obtain response data and file data stored in the host computer every second preset time period, perform long-term stability analysis on the controller under test based on the response data and file data, and generate a test report based on the analysis results.
[0081] The report generation module periodically retrieves and obtains two types of key data from the host computer according to the set second preset time: response data and file data. The second preset time is a configurable time interval that determines the frequency of data collection and can be adjusted according to the specific needs of the test. Response data refers to the response or output data made by the controller under test after receiving various inputs (such as CAN signals, visual inputs, etc.). File data includes but is not limited to log files, debugging information, and event tracking or error reports. The report generation module performs a long-term stability (long-term stability) analysis on the controller under test based on the collected response data and file data, and automatically generates a detailed test report based on the results of the long-term stability analysis. The report covers the test purpose, test environment, test steps, test data, analysis results, and conclusions and recommendations. The test report generated by the report generation module provides clear test results and evaluations to testers, developers or other stakeholders so that they can understand the performance and potential problems of the controller.
[0082] As an optional embodiment, the host computer includes a parameter configuration module, which is used to pull the configuration file of the controller under test before starting the test, and modify the configuration file of the controller under test according to the configuration information of the vehicle under test.
[0083] Before starting the test, the parameter configuration module actively pulls the current configuration file from the controller under test. The configuration file contains various parameter settings of the controller, such as working mode, input and output channel configuration, safety limits, etc. The parameter configuration module also obtains the configuration information of the vehicle under test, which includes but is not limited to the specific specifications, models, optional configurations, etc. of the vehicle. The parameter configuration module modifies the configuration file of the controller under test based on the obtained configuration information of the vehicle under test to ensure that the configuration of the controller matches the actual needs of the vehicle. For example, if the vehicle is configured as a four-wheel drive system, the controller's configuration file may need to adjust the drive mode and torque distribution strategy accordingly. After the modification is completed, the parameter configuration module makes a one-time setting for the software under test to achieve testability.
[0084] As an optional embodiment, the host computer obtains response data transmitted by the tested controller through the bus through the interface hardware; or the host computer establishes a communication connection with the tested controller, and the host computer and the tested controller obtain response data through the communication connection.
[0085] In this application, the host computer can obtain response data through interface hardware. Interface hardware includes but is not limited to data acquisition card, bus interface card, communication converter, etc. The controller under test transmits its response data through a bus (such as CAN bus, LIN bus, Ethernet, etc.). The interface hardware monitors and captures the data on the bus, and then converts these raw data into a format that the host computer can recognize. The host computer can then read these data from the interface hardware and perform further processing and analysis.
[0086] In this application, the host computer can also establish a communication connection to obtain response data. A communication connection can be directly established between the host computer and the controller under test, such as a physical connection (such as through a serial port line, USB line, etc.) or a wireless connection (such as through Wi-Fi, Bluetooth, etc.).
[0087] In actual testing, testers can select a suitable implementation scheme based on factors such as the type of the controller under test, the type of bus, and the characteristics of the test environment.
[0088] The present application also provides a long-term stability test device for an intelligent driving bench, which includes the above-mentioned long-term stability test system for the intelligent driving bench.
[0089] The long-term stability test bench equipment for intelligent driving is mainly aimed at the research and development, verification and optimization stages of intelligent driving technology. It is designed to conduct long-term and high-intensity tests on the performance, stability, reliability, etc. of intelligent driving controllers by simulating real or specific driving scenarios. Through bench testing, the capabilities of the intelligent driving system can be fully evaluated without interfering with actual road traffic, and potential problems can be discovered and resolved.
[0090] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0091] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0092] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments, and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0093] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A long-term stability test system for an intelligent driving test bench, characterized in that: It includes a host computer and at least one controller under test, wherein: The host computer is used to play the test scenario and call the intelligent driving program in the controller under test, the intelligent driving program is used to generate an operation signal corresponding to the test scenario according to the intelligent driving logic, and send the operation signal to the controller under test through the host computer, wherein the test scenario is any one of a plurality of driving scenarios; The controller under test is used to receive the visual information of the test scene and the operation signal, simulate the vehicle driving in the test scene according to the operation signal, and generate response data corresponding to the operation signal in the test scene; the host computer is also used to obtain the response data and generate a test report of the controller under test in the test scene based on the response data.
2. The test system according to claim 1, characterized in that: The host computer includes a file pulling module, which is used to detect whether there is a target file in each file under the target path every first preset time period, and if the target file exists, pull the target file as file data to the host computer for storage, wherein the target path is the path where the data to be pulled in the controller under test is located, and the target file is a file in the controller under test that is generated after the last pulling and does not exist in the host computer.
3. The test system according to claim 1, characterized in that: The host computer includes an interaction recording module, which is used to send a read instruction to the controller under test every second preset time period and obtain text data returned by the controller under test in response to the read instruction.
4. The test system according to claim 3, characterized in that: The interaction record module is also used to extract a numerical value and a reading time from the text data. If the numerical value meets a preset condition, the numerical value and the reading time are saved as an interaction record to the host computer. If the numerical value does not meet the preset condition, the text data and the reading time are saved as an exception record to the host computer, wherein the response data includes the interaction record and the exception record.
5. The test system according to claim 1, characterized in that: The test system includes a display device and a vehicle-mounted camera device, wherein the display device is connected to the host computer and the vehicle-mounted camera device respectively, and the vehicle-mounted camera device is connected to the controller under test. The display device is used to receive and play video data transmitted by the host computer, and the vehicle-mounted camera device is used to shoot the video data played by the display device and synchronously transmit the shot picture to the controller under test to simulate the visual environment of the controller under test.
6. The test system according to claim 5, characterized in that: The host computer includes a use case scenario playback module, which is used to obtain the timestamp of the video frame currently played by the display device when the display device plays the video data, and synchronously send the first CAN signal value corresponding to the timestamp to the controller under test.
7. The test system according to claim 1, characterized in that: The host computer includes a use case operation implementation module, which is used to obtain a second CAN signal value corresponding to a first operation and send the second CAN signal value to the controller under test when the test scenario is a scenario of switching between driving and parking, wherein the first operation includes changing a gear and changing a vehicle speed.
8. The test system according to claim 1, characterized in that: The test system includes a switch and a relay, the host computer includes a use case operation implementation module, the use case operation implementation module is connected to the switch, and the switch is connected to the relay. The use case operation implementation module is used to send a control signal corresponding to a second operation to the switch when the test scenario is a power-on ignition scenario, and the switch is used to forward the control signal to the relay so that the relay is opened and closed according to the control signal, wherein the second operation is ignition and power-on.
9. The test system according to claim 2, characterized in that: The host computer includes a report generation module, which is used to obtain the response data and the file data stored in the host computer every second preset time period, perform long-term stability analysis on the controller under test based on the response data and the file data, and generate the test report based on the analysis results.
10. The test system according to claim 1, characterized in that: The host computer includes a parameter configuration module, which is used to pull the configuration file of the controller under test before starting the test, and modify the configuration file of the controller under test according to the configuration information of the vehicle under test.
11. The test system according to claim 1, characterized in that: The host computer obtains the response data transmitted by the controller under test through the bus through the interface hardware; or The host computer establishes a communication connection with the controller under test, and the host computer and the controller under test obtain the response data through the communication connection.
12. A long-term stability test equipment for intelligent driving, characterized in that: A bench long stability test system for intelligent driving comprising the system described in any one of claims 1 to 11.
