Intelligent cabin automatic test method based on function safety

By using database screening and evaluating safety functions in smart cockpit automation testing, combined with the testing method of safety mechanisms, the problem of inability to effectively judge and verify safety functions in the existing technology is solved, and efficient automation testing and functional reliability verification are achieved .

CN119396726APending Publication Date: 2025-02-07CHINA AUTOMOTIVE ENGINEERING RESEARCH INSTITUTE (TIANJIN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411450560.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The existing intelligent cockpit automation testing methods are only aimed at the functions on the screen, and cannot distinguish whether the functions are related to safety, resulting in the safety mechanism of the safety function being unable to be effectively judged and verified, and the testing efficiency is low.

Method used

By building a smart cockpit testing environment, the embedded database is used to filter and evaluate the security of the central screen control function, and combine the testing methods of the security mechanism to automatically test and verify the effectiveness of the security function.

Benefits of technology

The reliability verification of the smart cockpit function is realized, the efficiency of automated testing is improved, the testing cost is saved, and the testing time is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396726A_ABST
    Figure CN119396726A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent cockpit automatic test method based on functional safety, which comprises the following steps of: by optimizing the logic of current cockpit automatic test software, manually controlling a manipulator to click a screen, naming operation steps, and recording a control command to generate a preliminary test case; besides, the software is embedded into a database, the database comprises hazard analysis and risk assessment for general functions of the central control screen, when the test case is automatically generated, functions related to safety are labeled, and meanwhile the database should comprise a safety mechanism of the functions related to the safety; according to the method, automatic testing and function safety of the intelligent cockpit are combined, a safety mechanism is given to a safety-related function according to an experience database, and a testing method of the safety mechanism is matched; the reliability of the function of the intelligent cabin can be ensured, and meanwhile, the automatic test method of the intelligent cabin is optimized, so that the test cost can be effectively saved, and the time required by the test can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of automated testing of smart cockpits, and specifically relates to an automated testing method for smart cockpits based on functional safety. Background Art

[0002] With the rapid development of vehicle intelligence today, more and more functional integration is realized through vehicle touch screens, and the methods of smart cockpit automated testing are gradually maturing. However, smart cockpit automated testing currently only targets the functions on the screen. Process-based automated testing of all functions cannot distinguish whether these functions are safety-related. As a result, it is impossible to determine whether safety-related functions have safety mechanisms, and the effectiveness of the safety mechanisms cannot be guaranteed. Moreover, the current automated testing process has a long cycle, involves a lot of repetitive work, and is inefficient. Summary of the invention

[0003] The purpose of the present invention is to provide an automated testing method for a smart cockpit based on functional safety, aiming to combine the automated testing and functional safety of the smart cockpit while improving the testing efficiency.

[0004] To achieve the purpose of the present invention, the technical solution provided by the present invention is as follows:

[0005] An automated testing method for a smart cockpit based on functional safety comprises the following steps:

[0006] Step S1: Build a cockpit test environment, calibrate the robot parameters, and calibrate the position of the central control screen;

[0007] Step S2: According to the functional specifications of the central control screen of the vehicle model, the manipulator is controlled to execute the functions included in the functional specifications;

[0008] Step S3: when controlling the execution function, the execution step is named and associated with the function in the embedded database to determine whether the function is security-related;

[0009] Step S4: If it is not a function related to functional safety, directly select to export the initial version test case and jump to step S5; if it is a function related to functional safety, jump to step S7;

[0010] Step S5: Check and improve the exported test cases and test steps, and perform automated testing based on the generated test cases and test steps;

[0011] Step S6: After the test, if the test passes, the process ends; if the test fails, the process needs to be recorded and reported to modify the controller hardware or the functional specifications, and then jump to step S2;

[0012] Step S7: Correlate functional safety-related safety mechanisms according to the test cases, including the corresponding test methods;

[0013] Step S8: after association, export together with the security mechanism to the initial version test case;

[0014] Step S9: Check and improve the exported test cases and test steps, and perform automated testing based on the generated test cases and test steps;

[0015] Step S10: If the test fails, enter the safety mechanism and jump to step S11; if the test passes, jump to step S12;

[0016] Step S11: According to the description and test method of the associated security mechanism, it is necessary to continue to determine whether the security mechanism is activated and whether the security mechanism is effective; if so, then end; if not, it is necessary to determine whether the security mechanism has been implemented; if not, it is necessary to add it, and after adding it, it is necessary to re-determine whether the security mechanism is activated and whether the security mechanism is effective; if it has been implemented, it is necessary to modify the security mechanism and continue to determine whether the security mechanism is effective until the security mechanism is effective;

[0017] S12: The effectiveness of the security mechanism is judged by fault injection and other methods. If the security mechanism is effective, it passes. If it is not effective, the security mechanism needs to be modified. Continue to judge whether the security mechanism is effective until the security mechanism is effective.

[0018] Wherein, in step S1, the voltage of the programmable power supply is also calibrated.

[0019] In step S3, the name can be selected from the database.

[0020] Compared with the prior art, the present invention has the following technical effects:

[0021] The present invention proposes an automated testing method for the functional safety of a smart cockpit, which aims to combine the automated testing of the smart cockpit with functional safety as the cockpit becomes increasingly intelligent. Safety mechanisms are assigned to safety-related functions based on an empirical database, and testing methods are matched with the safety mechanisms. The reliability of the smart cockpit functions can be ensured. At the same time, the optimization of the automated testing method for the smart cockpit can effectively save testing costs and reduce the time required for testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the principle of an embodiment of the present invention;

[0023] Figure 2 The figure is a schematic diagram of a method flow of an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following is a clear and complete description of the technical solutions in the embodiments of the present invention 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 are within the scope of protection of the present invention.

[0025] It should be noted that the embodiment of the present invention is different from the current testing method in at least the following two innovations:

[0026] First: embed a database in the existing automated cockpit test system. The database has the following two functions: (1) Screening function: perform hazard analysis and risk assessment on the functions involved in the central control screen to screen out safety-related functions; (2) Safety mechanism: the database must include safety mechanisms for safety-related functions.

[0027] Second: The existing automated cockpit testing method is based on test cases. The test steps are loaded into the software to form a test script, which controls the robot to verify the function. The efficiency is low. The optimized test strategy is: the engineer directly controls the robot to perform the initial function execution. After the execution of the central control screen function is completed, the test script can be automatically generated in combination with the database. Then, the function can be verified for the second round based on this test script. For safety-related functions, the implementation of its safety mechanism can be verified.

[0028] like Figure 1 , Figure 2 As shown, an embodiment of the present invention provides an automatic testing method for a smart cockpit based on functional safety, comprising the following steps:

[0029] Step S1: Build a cockpit test environment, calibrate the robot parameters, and calibrate the position of the central control screen;

[0030] Step S2: According to the functional specifications of the central control screen of the vehicle model, the manipulator is controlled to execute the functions included in the functional specifications;

[0031] It should be noted that by identifying basic icons, such as the music icon, it can be determined that the function being operated is music, and then matched with a security-related function library to determine whether the music function is security-related.

[0032] It should be noted that, taking the low beam on and off function as an example, the low beam switch is embedded in the smart cockpit central control screen in the form of a soft switch, and the low beam is controlled by the driver by clicking the low beam soft switch on the screen. According to the previous analysis of the safety of the low beam function in the database, it is concluded that the low beam control of the smart cockpit is ASIL B level, which should be a safety-related function.

[0033] Step S3: when controlling the execution function, the execution step is named and associated with the function in the embedded database to determine whether the function is security-related;

[0034] Step S4: If it is not a function related to functional safety, directly select to export the initial version test case and jump to step S5; if it is a function related to functional safety, jump to step S7;

[0035] Step S5: Check and improve the exported test cases and test steps, and perform automated testing based on the generated test cases and test steps;

[0036] Step S6: After the test, if the test passes, the process ends; if the test fails, the process needs to be recorded and reported to modify the controller hardware or the functional specifications, and then jump to step S2;

[0037] Step S7: Correlate functional safety-related safety mechanisms according to the test cases, including the corresponding test methods;

[0038] It should be noted that if it is a security-related function, it should match the corresponding security mechanism in the database, and when the preliminary test cases are subsequently exported, the security mechanism in the database and its corresponding test method can be exported; the database source here is the experience value in the actual project.

[0039] It should be noted that when exporting the test case of the low beam function, its safety mechanism is associated in the database. Taking the safety mechanism of the low beam function as an example, when the low beam cannot be turned on by clicking the low beam switch, an alarm should be given through the instrument or central control screen. At the same time, the light should enter limp mode and turn on the low beam with the lowest power consumption. The corresponding test method is to inject a fault through CANoe, cut off the communication between the low beam switch and the domain controller, and observe the response of the low beam. This is the corresponding safety mechanism when the low beam fails.

[0040] Step S8: after association, export together with the security mechanism to the initial version test case;

[0041] Step S9: Check and improve the exported test cases and test steps, and perform automated testing based on the generated test cases and test steps;

[0042] Step S10: If the test fails, enter the safety mechanism and jump to step S11; if the test passes, jump to step S12;

[0043] Step S11: According to the description and test method of the associated security mechanism, it is necessary to continue to determine whether the security mechanism is activated and whether the security mechanism is effective; if so, then end; if not, it is necessary to determine whether the security mechanism has been implemented; if not, it is necessary to add it, and after adding, it is necessary to re-determine whether the security mechanism is activated and whether the security mechanism is effective; if it has been implemented, it is necessary to modify the security mechanism and continue to determine whether the security mechanism is effective until the security mechanism is effective;

[0044] S12: The effectiveness of the security mechanism is judged by fault injection and other methods. If the security mechanism is effective, it passes. If it is not effective, the security mechanism needs to be modified. Continue to judge whether the security mechanism is effective until the security mechanism is effective.

[0045] Finally, it should be noted that the above embodiments are only used to illustrate and explain the present invention, and are not intended to limit the present invention to the scope of the described embodiments. In addition, those skilled in the art can understand that the present invention is not limited to the above embodiments, and more variations and modifications can be made according to the teachings of the present invention, and these variations and modifications all fall within the scope of the protection claimed by the present invention.

Claims

1. A functional safety-based intelligent cockpit automated testing method, characterized in that: The steps include: Step S1: Build a cockpit test environment, calibrate the robot parameters, and calibrate the position of the central control screen; Step S2: According to the functional specifications of the central control screen of the vehicle model, the manipulator is controlled to execute the functions included in the functional specifications; Step S3: when controlling the execution function, the execution step is named and associated with the function in the embedded database to determine whether the function is security-related; Step S4: If it is not a function related to functional safety, directly select to export the initial version test case and jump to step S5; if it is a function related to functional safety, jump to step S7; Step S5: Check and improve the exported test cases and test steps, and perform automated testing based on the generated test cases and test steps; Step S6: After the test, if the test passes, the process ends; If the test fails, it is necessary to record and report to modify the controller hardware or modify the functional specifications, and jump to step S2; Step S7: Correlate functional safety-related safety mechanisms according to the test cases, including the corresponding test methods; Step S8: after association, export together with the security mechanism to the initial version test case; Step S9: Check and improve the exported test cases and test steps, and perform automated testing based on the generated test cases and test steps; Step S10: If the test fails, enter the safety mechanism and jump to step S11; If the test passes, jump to step S12; Step S11: According to the description and test method of the associated security mechanism, it is necessary to continue to determine whether the security mechanism is activated and whether the security mechanism is effective; if so, then end; if not, it is necessary to determine whether the security mechanism has been implemented; if not, it is necessary to add it, and after adding it, it is necessary to re-determine whether the security mechanism is activated and whether the security mechanism is effective; if it has been implemented, it is necessary to modify the security mechanism and continue to determine whether the security mechanism is effective until the security mechanism is effective; S12: The effectiveness of the security mechanism is judged by fault injection and other methods. If the security mechanism is effective, it passes. If it is not effective, the security mechanism needs to be modified. Continue to judge whether the security mechanism is effective until the security mechanism is effective.

2. The method for automated testing of a smart cockpit based on functional safety according to claim 1 is characterized in that: In step S1, the programmable power supply voltage is also calibrated.

3. The method for automated testing of a smart cockpit based on functional safety according to claim 1 is characterized in that: In step S3, a name may be selected from a database.