Rack test method for hand tracking function of automobile intelligent indoor lamp
Through automated testing methods, using card robots and infrared cameras to simulate human hands, simplifying the testing process of smart indoor light hand tracking functions, solving the problems of complex and inefficient existing testing methods, and improving testing efficiency and product stability.
Patent Information
- Application Number
- CN202411015101.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-12
AI Technical Summary
The existing test method of the hand tracking function of intelligent indoor lights in automobiles is complex and inefficient, and cannot be tested for a long time. It also requires multiple testers to cooperate with each other, affecting the testing efficiency.
Using automated testing methods, CANoe is run through PC to write test case scripts, use card robots and infrared cameras to simulate human hands, automate test cases, measure brightness values and analyze, generate test reports, simplify operation steps and improve test efficiency.
It improves the testing efficiency of the hand tracking function of smart indoor lights, reduces the testing and verification cost, improves product stability and competitiveness, and reduces manual operation time.
Smart Images

Figure CN118936849A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of indoor lamp function testing, and in particular to a bench testing method for a hand tracking function of an intelligent indoor lamp of an automobile. Background Art
[0002] The hand tracking function of the car's intelligent interior light is a smart lighting technology. The intelligent matrix interior light obtains the coordinate information of the rear passenger's hand position through SUB-CAN, parses the LED number responsible for illuminating the area where the coordinate is located, and then turns on the LED while the other LEDs remain off. The lighting and extinguishing effect of the LED is gradually brighter and darker. The intelligent matrix interior light is particularly important in the direction of intelligent driving. Its stability, safety and reliability require long-term verification under various working conditions. To this end, we need to provide a bench test method for the hand tracking function of the car's intelligent interior light.
[0003] At present, the test method for the hand tracking function of interior lights is manual testing, that is, the tester needs to constantly change the position of his hand for testing. However, during the test, the tester's hand cannot be accurately positioned at a certain point. At the same time, manual testing cannot be performed for a long time, and multiple testers need to cooperate with each other to complete the test. Such operation will affect the test efficiency of the hand tracking function of the car intelligent interior light. Summary of the invention
[0004] The technical problem to be solved by the present invention is: in order to solve the technical problems of complex operation and low efficiency of the existing manual test method of the hand tracking function of the interior light, the present invention provides a bench test method for the hand tracking function of the automobile intelligent interior light, and by improving the test method of the hand tracking function of the interior light, the test operation steps can be simplified and the test efficiency can be improved.
[0005] The technical solution adopted by the present invention to solve the technical problem is: a bench test method for the hand tracking function of an intelligent interior lamp of an automobile, comprising the following steps:
[0006] S1. Run CANoe on PC to write test case scripts;
[0007] S2, obtain the test script in step S1, and run the automated test;
[0008] S3, execute test cases;
[0009] S4, the node card robot moves to the corresponding position;
[0010] S5, the brightness meter measures the brightness value of the smart indoor lamp and transmits the brightness value to the PC;
[0011] S6, obtaining the brightness value in step S5, and analyzing the brightness value through a CAPL script to obtain a test result;
[0012] S7, determine whether the test case has been completed, if not, return to step S3, if it is completed, execute step S8;
[0013] S8. Output the test report.
[0014] Therefore, the operating environment required for hand tracking of smart indoor lights is built, and the test and verification of hand tracking of smart indoor lights is completed in a laboratory environment. Compared with the manual test method, this method can improve the hand tracking verification capability of smart indoor lights, simplify the operating steps of hand tracking test of smart indoor lights and improve test efficiency. At the same time, it can also reduce the test and verification cost, improve product stability and enhance product competitiveness.
[0015] Furthermore, the step S1 includes the following steps:
[0016] S1-1. Write the power-on command for the intelligent indoor lights;
[0017] S1-2, write the command for the node card robot to move to the specified position;
[0018] S1-3, judging whether the simulated human hand of the node card robot is in place, if not, executing step S1-4, if in place, executing step S1-6;
[0019] S1-4, re-write the command for the node card robot to move to the specified position;
[0020] S1-5, determine again whether the simulated human hand of the node card robot is in place, if not, return to step S1-4, if in place, execute step S1-6;
[0021] S1-6, the brightness meter detects the brightness value of the current smart indoor light;
[0022] S1-7. Write a script to obtain the current brightness value.
[0023] Furthermore, in step S1 - 3 and step S1 - 5 , judging whether the segment card robot simulates the human hand in place means judging whether the position reached by the segment card robot is consistent with the set position of the segment card robot in the test case script.
[0024] Further, in step S2, running the automatic test script includes in sequence: starting the test environment, turning on the smart indoor light, and starting the hand tracking function.
[0025] Furthermore, the step S4 comprises the following steps:
[0026] S4-1, the Jieka robot obtains the coordinate instructions transmitted by the PC through Ethernet;
[0027] S4-2, the node card robot moves to the corresponding position according to the coordinate instruction;
[0028] S4-3, after the robot moves to the corresponding position, it sends the arrival signal to the PC.
[0029] Furthermore, the step S7 comprises the following steps:
[0030] S7-1, the infrared camera obtains the position of the node card robot and whether it is consistent with the set position of the node card robot in the test case script, if it is consistent, execute step S, if it is inconsistent, execute step S7-4;
[0031] S7-2, the brightness meter records the brightness value of the smart indoor lamp and compares it with the brightness value set in the test case script. If they are consistent, step S7-3 is executed; if they are inconsistent, step S7-4 is executed;
[0032] S7-3, the test passed and the test results were recorded;
[0033] S7-4, the test fails and the test results are recorded;
[0034] S7-5. Data analysis is completed.
[0035] Furthermore, the PC is used to write test cases and to analyze the brightness value data measured by the brightness meter; the Jieka robot is used to simulate human hands and appear in different positions to realize the hand tracking function of the smart indoor light.
[0036] Furthermore, the infrared camera is used to capture the position of the Jieka robot and obtain coordinate information, and then transmit the coordinate information to the intelligent traffic light through CAN communication; the brightness meter is used to measure the brightness value of the light at the Jieka robot position and transmit the brightness value to the PC.
[0037] Furthermore, the Jieka robot is connected to the device router via a network cable, the device router is connected to the PC via a network cable; the brightness meter is connected to the PC via a USB.
[0038] Furthermore, the infrared camera is connected to the smart interior light via CAN communication, the smart interior light is connected to the CAN hardware device via CAN communication, and the CAN hardware device is connected to the PC via USB; the infrared camera and the smart interior light are connected to the DUT power supply, and the DUT power supply supplies power for the smart interior light and the infrared camera.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] Build the operating environment required for hand tracking of smart indoor lights, and complete the test and verification of hand tracking of smart indoor lights in a laboratory environment. Compared with the manual test method, this method can improve the hand tracking verification capability of smart indoor lights, simplify the operating steps of hand tracking test of smart indoor lights and improve test efficiency. At the same time, it can also reduce the test and verification cost, improve product stability and enhance product competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0042] Figure 1 A flow chart of a bench test method for the hand tracking function of an automobile intelligent interior light of the present invention;
[0043] Figure 2 is a flow chart of step S1 of the present invention;
[0044] Figure 3 is a flow chart of step S4 of the present invention;
[0045] Figure 4 is a flow chart of step S7 of the present invention;
[0046] Figure 5 The schematic diagram of the bench test of the hand tracking function of the automobile intelligent interior light of the present invention. DETAILED DESCRIPTION
[0047] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0048] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0049] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0050] like Figures 1 to 5 As shown in FIG. 1 , it is the best embodiment of the present invention. The bench test method of the hand tracking function of the automobile intelligent interior light of this embodiment comprises the following steps:
[0051] S1. Run CANoe on PC to write test case scripts;
[0052] S2, obtain the test script in step S1, and run the automated test;
[0053] S3, execute test cases;
[0054] S4, the node card robot moves to the corresponding position;
[0055] S5, the brightness meter measures the brightness value of the smart indoor lamp and transmits the brightness value to the PC;
[0056] S6, obtaining the brightness value in step S5, and analyzing the brightness value through a CAPL script to obtain a test result;
[0057] S7, determine whether the test case has been completed, if not, return to step S3, if it is completed, execute step S8;
[0058] S8. Output the test report. Thus, the operating environment required for the hand tracking of the smart indoor lamp is built, and the test and verification of the hand tracking of the smart indoor lamp is completed in the laboratory environment. Compared with the manual test method, this method can improve the hand tracking verification capability of the smart indoor lamp, simplify the operation steps of the hand tracking test of the smart indoor lamp and improve the test efficiency. At the same time, it can also reduce the test and verification cost, improve product stability, and enhance product competitiveness.
[0059] In other words, by replacing human hands with a card-jointing robot, manual operations can be reduced, thus shortening the test time of manual operations and improving test efficiency.
[0060] Specifically, before step S5, the infrared camera obtains the position of the Jieka robot and transmits it to the smart indoor light, and the smart indoor light changes its lighting area according to the obtained position of the Jieka robot.
[0061] Specifically, in step S4, the corresponding position refers to: the position where the hand tracking function of the smart indoor lamp needs to be tested.
[0062] In this embodiment, step S1 includes the following steps:
[0063] S1-1. Write the power-on command for the intelligent indoor lights;
[0064] S1-2, write the command for the node card robot to move to the specified position;
[0065] S1-3, judging whether the simulated human hand of the node card robot is in place, if not, executing step S1-4, if in place, executing step S1-6;
[0066] S1-4, re-write the command for the node card robot to move to the specified position;
[0067] S1-5, again judging whether the simulated human hand of the node card robot is in place, if not, returning to step S1-4, if in place, executing step S1-6;
[0068] S1-6, the brightness meter detects the brightness value of the current smart indoor light;
[0069] S1-7. Write a script to obtain the current brightness value.
[0070] In this embodiment, in step S1-3 and step S1-5, judging whether the segment card robot simulates the human hand in place means judging whether the position reached by the segment card robot is consistent with the set position of the segment card robot in the test case script.
[0071] In this embodiment, in step S2, running the automatic test script sequentially includes: starting the test environment, turning on the smart indoor light, and starting the hand tracking function.
[0072] In this embodiment, step S4 includes the following steps:
[0073] S4-1, the Jieka robot obtains the coordinate instructions transmitted by the PC through Ethernet;
[0074] S4-2, the node card robot moves to the corresponding position according to the coordinate instruction;
[0075] S4-3, after the robot moves to the corresponding position, it sends the arrival signal to the PC.
[0076] In this embodiment, step S7 includes the following steps:
[0077] S7-1, the infrared camera obtains the position of the node card robot and whether it is consistent with the set position of the node card robot in the test case script, if it is consistent, execute step S, if it is inconsistent, execute step S7-4;
[0078] S7-2, the brightness meter records the brightness value of the smart indoor lamp and compares it with the brightness value set in the test case script. If they are consistent, step S7-3 is executed; if they are inconsistent, step S7-4 is executed;
[0079] S7-3, the test passed and the test results were recorded;
[0080] S7-4, the test fails and the test results are recorded;
[0081] S7-5. Data analysis is completed.
[0082] In this embodiment, the PC is used to write test cases and to analyze the brightness value data measured by the brightness meter; the Jieka robot is used to simulate human hands and appear in different positions to realize the hand tracking function of the intelligent indoor light; the infrared camera is used to capture the position of the Jieka robot and obtain coordinate information, and then transmit the coordinate information to the intelligent signal light through CAN communication; the brightness meter is used to measure the brightness value of the light at the Jieka robot position and transmit the brightness value to the PC; the Jieka robot is connected to the device router through a network cable, and the device router is connected to the PC through a network cable; the brightness meter is connected to the PC through USB; the infrared camera is connected to the intelligent indoor light through CAN communication, and the intelligent indoor light is connected to the CAN hardware device through CAN communication, and the CAN hardware device is connected to the PC through USB; the infrared camera and the intelligent indoor light are connected to the DUT power supply, and the DUT power supply supplies power to the intelligent indoor light and the infrared camera. For example, the model of the Jieka robot is UR5e, and the model of the CAN hardware device is VN1640.
[0083] To summarize, the present invention builds the operating environment required for hand tracking of smart indoor lights, and completes the test and verification of hand tracking of smart indoor lights in a laboratory environment. Compared with the manual test method, this method can improve the hand tracking and verification capability of smart indoor lights, simplify the operating steps of hand tracking test of smart indoor lights and improve test efficiency. At the same time, it can also reduce the test and verification cost, improve product stability and enhance product competitiveness.
[0084] The above description is based on the ideal embodiment of the present invention. Through the above description, relevant personnel can make various changes and modifications without departing from the technical concept of the present invention. The technical scope of the present invention is not limited to the content in the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A bench test method for the hand tracking function of an intelligent interior lamp of an automobile, characterized in that: The following steps are involved: S1. Run CANoe on PC to write test case scripts; S2, obtain the test script in step S1, and run the automated test; S3, execute test cases; S4, the node card robot moves to the corresponding position; S5, the brightness meter measures the brightness value of the smart indoor lamp and transmits the brightness value to the PC; S6, obtaining the brightness value in step S5, and analyzing the brightness value through a CAPL script to obtain a test result; S7, determine whether the test case has been completed, if not, return to step S3, if it is completed, execute step S8; S8. Output the test report.
2. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1 is characterized in that: The step S1 comprises the following steps: S1-1. Write the power-on command for the intelligent indoor lights; S1-2, write the command for the node card robot to move to the specified position; S1-3, judging whether the simulated human hand of the node card robot is in place, if not, executing step S1-4, if in place, executing step S1-6; S1-4, re-write the command for the node card robot to move to the specified position; S1-5, determine again whether the simulated human hand of the node card robot is in place, if not, return to step S1-4, if in place, execute step S1-6; S1-6, the brightness meter detects the brightness value of the current smart indoor light; S1-7. Write a script to obtain the current brightness value.
3. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 2 is characterized in that: In step S1 - 3 and step S1 - 5 , judging whether the segment card robot simulates the human hand in place means judging whether the position reached by the segment card robot is consistent with the set position of the segment card robot in the test case script.
4. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1 is characterized in that: In step S2, running the automatic test script includes: Start the test environment, turn on the smart interior lights, and enable the hand tracking function.
5. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1 is characterized in that: The step S4 comprises the following steps: S4-1, the Jieka robot obtains the coordinate instructions transmitted by the PC through Ethernet; S4-2, the node card robot moves to the corresponding position according to the coordinate instruction; S4-3, after the robot moves to the corresponding position, it sends the arrival signal to the PC.
6. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1 is characterized in that: The step S7 comprises the following steps: S7-1, the infrared camera obtains the position of the node card robot and whether it is consistent with the set position of the node card robot in the test case script, if it is consistent, execute step S, if it is inconsistent, execute step S7-4; S7-2, the brightness meter records the brightness value of the smart indoor lamp and compares it with the brightness value set in the test case script. If they are consistent, step S7-3 is executed; if they are inconsistent, step S7-4 is executed; S7-3, the test passed and the test results were recorded; S7-4, the test fails and the test results are recorded; S7-5. Data analysis is completed.
7. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1, characterized in that: The PC is used to write test cases and analyze the brightness value data measured by the brightness meter; The JIKA robot is used to simulate human hands and appear in different positions to realize the hand tracking function of smart interior lights.
8. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1 is characterized in that: The infrared camera is used to capture the position of the Jieka robot and obtain the coordinate information, and then transmit the coordinate information to the intelligent signal light through CAN communication; The brightness meter is used to measure the brightness value of the light at the location of the Jieka robot and transmit the brightness value to the PC.
9. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1, characterized in that: The Jieka robot is connected to the device router via a network cable, and the device router is connected to the PC via a network cable; The luminance meter is connected to the PC via USB.
10. The bench test method for the hand tracking function of the automobile intelligent interior light according to claim 1, characterized in that: The infrared camera is connected to the smart indoor light via CAN communication, the smart indoor light is connected to the CAN hardware device via CAN communication, and the CAN hardware device is connected to the PC via USB; The infrared camera and the intelligent indoor light are connected to the DUT power supply, and the DUT power supply supplies power to the intelligent indoor light and the infrared camera.
