Method, system and terminal for testing electrical performance of in-vehicle infotainment system

Through the automated electrical performance testing method, the problem of low manual operation efficiency in the electrical performance testing of the vehicle system is solved, fast and accurate test result acquisition is achieved, and diversified testing options and a transparent testing process are provided.

CN118625124APending Publication Date: 2024-09-10CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410795302.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

During the electrical performance test of the vehicle system, pins need to be manually disconnected or short-circuited, resulting in low efficiency, inaccurate test results, and lack of automated test methods, making it impossible to quickly obtain product-side test results.

Method used

Provides an electrical performance testing method for vehicle-machine systems. By obtaining test instructions and downloading corresponding scripts, the electrical performance test of the connector to be tested is automatically controlled to achieve automated testing, including a variety of test types such as single-line open circuit testing and multi-line open circuit testing. Test and short-circuit protection test, record test time and generate running log for subsequent analysis.

Benefits of technology

It improves testing efficiency, realizes automated testing, can quickly obtain product-side testing results, provides diverse testing options, ensures testing accuracy and transparency, and simplifies the problem-solving process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625124A
    Figure CN118625124A
Patent Text Reader

Abstract

The invention discloses an electrical performance test method and system for a vehicle-mounted infotainment system, a vehicle and a storage medium, and the method comprises the steps: obtaining a test instruction which comprises a test type and a to-be-tested connector; corresponding scripts are downloaded according to the test types, the scripts are connected with the connectors to be tested in series, pins of the connectors to be tested are detected through the scripts, detection results are obtained, and the detection results comprise in-vehicle machine system function recovery and in-vehicle machine system function non-recovery; if the detection result is that the functions of the vehicle-mounted information entertainment system are recovered, the electrical performance of the vehicle-mounted information entertainment system is normal, and if the detection result is that the functions of the vehicle-mounted information entertainment system are not recovered, the electrical performance of the vehicle-mounted information entertainment system is abnormal. According to the method, the electrical performance test of the in-vehicle infotainment system is carried out through automatic disconnection of the script or short circuit of the pin, connection and disconnection are not executed midway, and the final target is placed on the product end, so that the test efficiency is improved, and the detection result of the product end can be quickly obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electrical performance testing, and in particular to an electrical performance testing method, system, vehicle and computer-readable storage medium for a vehicle system. Background Art

[0002] Open / short test (also known as OPEN / SHORT test, O / S test) is mainly used to test the connection status of electronic devices. O / S test can quickly detect whether there are electrical and physical defects in the integrated circuit (IC), such as pin short circuit, bond wire missing, electrostatic damage to the pin, and manufacturing defects.

[0003] The electrical performance test of the vehicle system usually includes open-short circuit test, i.e. open circuit test and short circuit protection test; open circuit test: the tester manually disconnects one or more pins that need to be tested according to the standard requirements, and then manually restores the disconnected pins; short circuit protection test: according to the standard requirements, the pins that need to be short-circuited are manually short-circuited and then restored. The electrical performance test of the vehicle system is an important part of ensuring the quality of the intelligent cockpit vehicle system.

[0004] However, the conventional test methods for open circuit test and short circuit protection test in the electrical performance test of vehicle system are manual test, which requires manual disconnection or short circuit of pins. There is a lack of test methods for assembly products. The test process is time-consuming and cumbersome, resulting in a long test cycle and low efficiency. There is no mature and standardized automated test system in the industry.

[0005] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0006] The main purpose of the present application is to provide a method, system, vehicle and computer-readable storage medium for testing the electrical performance of a vehicle system, aiming to solve the problem in the prior art that the electrical performance test of the vehicle system requires manual disconnection or short-circuiting of pins, which is inefficient, has inaccurate test results, lacks a method for directly testing the assembled product, and cannot quickly obtain product-side test results.

[0007] A first aspect of the present application provides an electrical performance test method for a vehicle system, comprising the following steps: obtaining a test instruction, the test instruction including a test type and a connector to be tested; downloading a corresponding script according to the test type, and connecting them in series with the connector to be tested, respectively, and detecting the pins of the connector to be tested through the script to obtain a test result, the test result including whether the vehicle system function has been restored or not; if the test result is that the vehicle system function has been restored, it indicates that the electrical performance of the vehicle system is normal, and if the test result is that the vehicle system function has not been restored, it indicates that the electrical performance of the vehicle system is abnormal.

[0008] According to the above-mentioned technical means, the present application obtains the test instructions, obtains the test type and the connector to be tested according to the test instructions, downloads the corresponding script based on the test type, and automatically controls the electrical performance test of the connector to be tested through the script. During the test, no on-off operation is performed, and the ultimate goal is to see whether the function can be restored on the product side. This improves the test efficiency, can quickly obtain the product side test results, and realizes automated testing in the entire test process.

[0009] Optionally, in one embodiment of the present application, the test types include: open circuit test and short circuit protection test; wherein, the open circuit test includes: single-line open circuit test, multi-line open circuit test, switch line open circuit test and ground line open circuit test; the short circuit protection test includes: load circuit short circuit protection test and signal circuit short circuit protection test.

[0010] According to the above-mentioned technical means, the embodiments of the present application provide a variety of test types, including single-line open circuit test, multi-line open circuit test, switch line open circuit test, ground line open circuit test, load circuit short circuit protection test and signal circuit short circuit protection test. The various test types all have specific buttons corresponding to the control interface of the PC host computer, which provides a variety of test options for the electrical performance test of the vehicle system, making the product electrical performance test more comprehensive.

[0011] Optionally, in one embodiment of the present application, the downloading of the corresponding script according to the test type also includes: pre-writing the corresponding test script according to the requirements of the test type and storing it in the PC host computer.

[0012] According to the above technical means, the host computer of the embodiment of the present application writes the corresponding test script according to the test item requirements and the test type. When there is a test requirement, the test script needs to be downloaded to the lower computer controller first, and the automated test is performed according to the preset script, without manual participation, saving manpower and time, greatly improving the efficiency of the test, and realizing automation.

[0013] Optionally, in one embodiment of the present application, when the test type is an open circuit test, the script is used to detect the pins of the connector to be tested to obtain a detection result, specifically including: if the script is a single-line open circuit test script, the single-line open circuit test script is used to perform disconnect and restore operations on each pin on the connector to be tested respectively to obtain a single-line open circuit test result; if the script is a multi-line open circuit test script, the multi-line open circuit test script is used to simultaneously perform a disconnect and restore operation on all pins on the connector to be tested to obtain a multi-line open circuit test result; if the script is a switch line open circuit test script, the switch line open circuit test script is used to perform disconnect and restore operations on the IGN pin or the ACC pin of the connector to be tested to obtain a switch line open circuit test result; if the script is a ground line open circuit test script, the ground line open circuit test script is used to perform disconnect and restore operations on the GND pin of the connector to be tested to obtain a ground line open circuit test result.

[0014] According to the above-mentioned technical means, the embodiments of the present application use different test schemes to test the pins according to different test types. For the four tests under the open circuit test, the present application provides a specific execution method in combination with the script, which can safely and correctly complete the test of all pins of the connector to be tested while ensuring the test speed. The test result is whether the product function can automatically return to normal after the line is restored to normal connection. Even if there is a problem with the pin, the test will not be interrupted.

[0015] Optionally, in one embodiment of the present application, when the test type is a short-circuit protection test, the script is used to detect the pins of the connector to be tested to obtain a detection result, specifically including: if the script is a load circuit short-circuit protection test script, the load circuit short-circuit protection test script is used to perform short-circuit to ground and recovery operations on each load circuit pin of the connector to be tested to obtain a load circuit short-circuit protection test result; if the script is a signal circuit short-circuit protection test script, the signal circuit short-circuit protection test script is used to short-circuit each signal circuit pin of the connector to be tested to the power supply Usmax in turn, and restore it to obtain a signal circuit short-circuit protection test result.

[0016] According to the above technical means, the embodiment of the present application provides two tests for short-circuit protection testing, one of which is a load circuit short-circuit protection test, and the other is a signal circuit short-circuit protection test. Both tests perform short-circuit and recovery operations on the pins of the connector to be tested one by one, thereby obtaining test results. The test results are whether the product function can automatically return to normal after the line is restored to normal connection. The embodiment of the present application does not focus on the problems caused after the pins are actively short-circuited, but focuses on whether the product function can automatically return to normal after the pins are short-circuited.

[0017] Optionally, in an embodiment of the present application, the pins of the connector to be tested are detected by the script, and then the test time after each pin test is completed is recorded, and a running log is generated according to the test time.

[0018] According to the above-mentioned technical means, the embodiment of the present application, while completing the detection of the test connector, will also record the test time after the completion of each pin test, and generate an operation log based on the test time. According to the operation log, the embodiment of the present application can obtain the test time of each pin in the entire test process, thereby realizing the transparency of the entire test and providing convenience for subsequent problem troubleshooting.

[0019] Optionally, in one embodiment of the present application, the detection result is that the vehicle system function has not been restored, and then further includes: obtaining the operation log and the internal log of the vehicle system; analyzing the vehicle system according to the operation log and the internal log to obtain the cause of the abnormality of the vehicle system.

[0020] According to the above-mentioned technical means, when the vehicle system function has not been restored, the embodiment of the present application can provide the operation log and obtain the internal log of the vehicle system. According to the test time of each pin recorded in the operation log, the corresponding functional circuit is found in the internal log for analysis, and the cause of the abnormality of the vehicle system is obtained, thereby improving the speed of solving the problem.

[0021] A second aspect of the present application provides an electrical performance testing system for a vehicle system, including: a test instruction acquisition module, used to acquire a test instruction, the test instruction including a test type and a connector to be tested; a script detection module, used to download a corresponding script according to the test type, and connect the scripts in series with the connectors to be tested, and detect the pins of the connectors to be tested through the scripts to obtain a detection result, wherein the detection result includes whether the vehicle system function has been restored or not; an electrical performance judgment module, used to indicate that the electrical performance of the vehicle system is normal if the detection result is that the vehicle system function has been restored, and indicate that the electrical performance of the vehicle system is abnormal if the detection result is that the vehicle system function has not been restored.

[0022] Optionally, in one embodiment of the present application, the script detection module includes: an open circuit test script detection unit, which is used to, if the script is a single-line open circuit test script, respectively perform disconnection and recovery operations on each pin on the connector to be tested through the single-line open circuit test script to obtain a single-line open circuit test result; if the script is a multi-line open circuit test script, then the multi-line open circuit test script simultaneously performs a disconnection and recovery operation on all pins on the connector to be tested to obtain a multi-line open circuit test result; if the script is a switch line open circuit test script, then the switch line open circuit test script performs a disconnection and recovery operation on the IGN pin or the ACC pin of the connector to be tested to obtain a switch line open circuit test result; If the script is an open ground test script, the open ground test script is used to perform disconnection and recovery operations on the GND pin of the connector to be tested to obtain an open ground test result; a short-circuit protection test script detection unit is used to, if the script is a load circuit short-circuit protection test script, perform short-circuit to ground and recovery operations on each load circuit pin of the connector to be tested to obtain a load circuit short-circuit protection test result through the load circuit short-circuit protection test script; if the script is a signal circuit short-circuit protection test script, each signal circuit pin of the connector to be tested is short-connected to the power supply Usmax in turn through the signal circuit short-circuit protection test script, and restored to obtain a signal circuit short-circuit protection test result.

[0023] Optionally, in one embodiment of the present application, the electrical performance judgment module includes a first judgment unit, which is used to indicate that the electrical performance of the vehicle system is normal if the detection result is that the vehicle system function is restored; a second judgment unit, which is used to indicate that the electrical performance of the vehicle system is abnormal if the detection result is that the vehicle system function has not been restored; a log generation unit, which is used to record the test time after each pin test is completed, and generate an operation log according to the test time; an abnormality analysis unit, which is used to obtain the operation log and the internal log of the vehicle system; analyze the vehicle system according to the operation log and the internal log to obtain the cause of the abnormality of the vehicle system.

[0024] A third aspect embodiment of the present application provides a terminal, which includes: a memory, a processor, and an electrical performance test program for a vehicle system stored in the memory and executable on the processor. When the electrical performance test program for the vehicle system is executed by the processor, the steps of the electrical performance test method for the vehicle system described in the first aspect embodiment are implemented.

[0025] The fourth aspect of the present application provides a computer-readable storage medium, which stores an electrical performance test program for a vehicle system. When the electrical performance test program for the vehicle system is executed by a processor, the steps of the electrical performance test method for the vehicle system as described in the above embodiment are implemented.

[0026] Beneficial effects of this application:

[0027] (1) The embodiment of the present application can obtain a test instruction, obtain the test type and the connector to be tested according to the test instruction, download the corresponding script based on the test type, and automatically control the electrical performance test of the connector to be tested through the script. During the test, no on-off operation is performed, and the ultimate goal is to determine whether the product side can restore the function, thereby improving the test efficiency, being able to quickly obtain the product side test results, and realizing automated testing in the entire test process.

[0028] (2) The embodiments of the present application can provide a variety of test types, including single-line open circuit test, multi-line open circuit test, switch line open circuit test, ground line open circuit test, load circuit short circuit protection test and signal circuit short circuit protection test. The various test types are all corresponding to specific buttons on the control interface of the PC host computer, providing a variety of test options for the electrical performance test of the vehicle system, making the product electrical performance test more comprehensive.

[0029] (3) The host computer of the embodiment of the present application writes the corresponding test script according to the test item requirements and the test type. When there is a test requirement, the test script needs to be downloaded to the lower computer controller first, and the automated test is performed according to the preset script, without manual participation, saving manpower and time, greatly improving the efficiency of the test, and realizing automation.

[0030] (4) The embodiments of the present application use different test schemes to test pins according to different test types. For the four tests under the open circuit test, the present application provides a specific execution method in combination with the script, which can safely and correctly complete the test of all pins of the connector to be tested while ensuring the test speed. The test result is whether the product function can automatically return to normal after the line is restored to normal connection. Even if there is a problem with the pin, the test will not be interrupted.

[0031] (5) After completing the inspection of the test connector, the embodiment of the present application will also record the test time after each pin test is completed, and generate an operation log based on the test time. Based on the operation log, the embodiment of the present application can obtain the test time of each pin in the entire test process, thereby achieving transparency of the entire test and facilitating subsequent problem troubleshooting.

[0032] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0034] Figure 1 It is a flow chart of a first preferred embodiment of the electrical performance testing method of the vehicle system of the present application;

[0035] Figure 2 is another flow chart of the first preferred embodiment of the electric performance testing method of the vehicle system of the present application;

[0036] Figure 3 It is a principle structure diagram of the electrical performance test method of the vehicle system of the present application;

[0037] Figure 4 It is a schematic diagram of the upper computer layout of the electrical performance test method of the vehicle system of the present application;

[0038] Figure 5 It is a flow chart of a single-line open circuit test in the electrical performance test method of the vehicle system of the present application;

[0039] Figure 6 It is a structural schematic diagram of a first preferred embodiment of the electrical performance test system of the vehicle system of the present application;

[0040] Figure 7 It is a structural diagram of a preferred embodiment of the terminal of the present application.

[0041] Among them, 10 is an electrical performance test system of the vehicle system; 100 is a test instruction acquisition module, 200 is a script detection module and 300 is an electrical performance judgment module; 501 is a memory, 502 is a processor and 503 is a communication interface. DETAILED DESCRIPTION

[0042] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0043] The following describes the electrical performance test method, system, vehicle and computer-readable storage medium of the vehicle system of the embodiment of the present application with reference to the accompanying drawings. Aiming at the problem that the electrical performance test of the vehicle system in the related art mentioned in the above background technology needs to manually disconnect or short-circuit the pins, which is inefficient, the test results are inaccurate, and there is a lack of a method for directly testing the assembly product, and the product-side test results cannot be quickly obtained, the present application provides an electrical performance test method for the vehicle system, in which a test instruction is obtained, the test instruction includes a test type and a connector to be tested; according to the test type, the corresponding script is downloaded, and the connector to be tested is connected in series respectively, and the pins of the connector to be tested are detected by the script to obtain a test result, and the test result includes the vehicle system function recovery and the vehicle system function not being restored; if the test result is that the vehicle system function is restored, it means that the electrical performance of the vehicle system is normal, and if the test result is that the vehicle system function is not restored, it means that the electrical performance of the vehicle system is abnormal. The present application automatically disconnects or short-circuits the pins to test the vehicle system through the script, and does not perform on-off in the middle, so that the final goal is placed on the product side, which improves the test efficiency and can quickly obtain the product-side test results. This solves the problem in related technologies that the electrical performance test of the vehicle system requires manual disconnection or short-circuiting of pins, which is inefficient, has inaccurate test results, and lacks a direct test method for the assembly product, making it impossible to quickly obtain product-side test results.

[0044] Specifically, Figure 1 A flowchart of an electrical performance testing method for a vehicle system provided in an embodiment of the present application.

[0045] like Figure 1 and Figure 2 As shown, the electrical performance test method of the vehicle system includes the following steps:

[0046] In step S101, a test instruction is obtained, wherein the test instruction includes a test type and a connector to be tested.

[0047] It can be understood that, in this embodiment, before obtaining the test instruction, it also includes: establishing a connection between the vehicle system and the electrical performance test terminal. Specifically, first build the test environment of the vehicle system, and then check whether the connections of the various plug-ins of the vehicle system are complete. This is a prerequisite and a necessary condition for conducting the electrical performance test. When the check is correct, establish the connection between the vehicle system and the electrical performance test terminal.

[0048] It should be noted that if Figure 3As shown, the execution subject of the present invention is a terminal including a PC-side host system and a PLC switch controller slave system, wherein the PC-side host system is designed with multiple buttons such as single-line open circuit, multi-line open circuit, switch line open circuit, and ground line open circuit test according to the test requirements, and the test instructions are sent to the PLC switch controller slave system through the buttons of the PC-side host system, and the PLC switch controller slave system is responsible for executing the instructions and periodically feeding back the execution results to the main control system. Among them, the PLC switch controller can be a 16- or 32-way PLC switch controller, which can be set according to actual conditions and is not limited here; the PC-side host computer and the PLC switch controller communicate with each other in serial port mode.

[0049] After the PLC switch controller lower computer system establishes a connection with the vehicle system, it performs an electrical performance test on the connectors in the vehicle system. At the same time, the vehicle system is also connected to a power supply, which is used to power the vehicle system. The vehicle system includes but is not limited to the vehicle host, speakers, external amplifiers, panoramic lenses, DVRs and other peripheral devices.

[0050] Furthermore, a test instruction is obtained from the PLC switch controller, the test instruction includes a test type and a connector to be tested; the test type includes: open circuit test and short circuit protection test; wherein the open circuit test includes: single-line open circuit test, multi-line open circuit test, switch line open circuit test and ground line open circuit test; the short circuit protection test includes: load circuit short circuit protection test and signal circuit short circuit protection test. The connector to be tested refers to the part to be tested on the vehicle system, such as USB interface, GPS interface, power amplifier interface, speaker interface, etc.

[0051] It can be seen that in this embodiment, multiple test types are provided, including single-line open circuit test, multi-line open circuit test, switch line open circuit test, ground line open circuit test, load circuit short circuit protection test and signal circuit short circuit protection test. The multiple test types all have corresponding specific buttons on the control interface of the PC host computer, which provides a variety of test options for the electrical performance test of the vehicle system, making the product electrical performance test more comprehensive.

[0052] In step S102, the corresponding script is downloaded according to the test type, and is connected in series with the connector to be tested. The pins of the connector to be tested are detected by the script to obtain the detection result, which includes whether the vehicle system function is restored or not.

[0053] It can be understood that, in this embodiment, the downloading of the corresponding script according to the test type also includes: pre-writing the corresponding test script according to the requirements of the test type and storing it in the PC host computer.

[0054] like Figure 4 As shown, Figure 4 It is a layout diagram of the PC-side host system. On the PC-side host system, you can click the edit model to enter the script writing interface to write the script for the corresponding test. After writing, keep the script on the PC-side host system. The host computer of the embodiment of the present application writes the corresponding test script according to the test item requirements and the type of test. When there is a test requirement, it is necessary to first download the test script to the lower computer controller, and perform automated testing according to the preset script, without manual participation, saving manpower and time, greatly improving the efficiency of the test, and realizing automation.

[0055] When the PLC switch controller lower computer system obtains the test instruction, it finds the corresponding test script in the PC-side upper computer system for downloading according to the test type in the test instruction. When the PLC switch controller lower computer system completes the download, the PC-side upper computer system receives feedback information that the download is complete. At this time, the PC-side upper computer system can choose to start the test and wait for the test to be completed.

[0056] Furthermore, the PLC switch controller slave computer system is connected in series with the connectors to be tested respectively, and the pins of the connectors to be tested are tested by using the downloaded script to obtain the test results.

[0057] Specifically, when the test type is an open circuit test, the pins of the connector to be tested are tested by the script to obtain a test result, including:

[0058] If the script is a single-line open circuit test script, the single-line open circuit test script is used to perform disconnection and recovery operations on each pin on the connector to be tested to obtain a single-line open circuit test result.

[0059] It is understandable that if Figure 5 As shown, a communication connection between the upper and lower computers is first established, and then when the single-line open circuit test button is selected and pressed on the PC-side upper computer system, the PC-side upper computer system sends a test instruction to the PLC switch controller lower computer system. After receiving the test instruction, the PLC switch controller lower computer system downloads the single-line open circuit test script from the PC-side upper computer system and executes the open circuit test script. Through the single-line open circuit test script, each pin on the connector to be tested is disconnected and restored.

[0060] As an example, according to the definition of electrical pins, a pin line is disconnected (pins that can be single-line open-circuited such as: GND, FL+, FL-, FR+, FR-, B+, etc.), and the connection is restored after 10S. The tester observes the sound output status (FL+ is the front left speaker input pin) during the 10S of disconnection, and whether the sound output returns to normal after FL+ is restored to normal connection, and obtains the single-line open-circuit test result (if the sound output status and the sound output return to normal after FL+ is restored to normal connection, the open-circuit test result is that the electrical performance of the vehicle system is normal). Finally, the PLC switch controller lower computer system feeds back the open-circuit test result to the PC-side upper computer system.

[0061] If the script is a multi-line open circuit test script, the multi-line open circuit test script is used to simultaneously perform a disconnection and recovery operation on all pins on the connector to be tested to obtain a multi-line open circuit test result.

[0062] In this embodiment, the PLC switch controller is connected in series to each connector connection line of the vehicle system, the PC host computer selects a multi-line open circuit test, and chooses to download the corresponding test script to the controller. After the download is completed, click to start the test. The controller executes "disconnect-restore" a group of connector pins in sequence until the pin test is completed; then replace the untested connectors to complete the remaining test items.

[0063] That is to say, during the multi-line open circuit test, there is no need to disconnect and restore each pin one by one, but directly disconnect and restore all pins on the connector to be tested to obtain the multi-line open circuit test result, wherein the connector to be tested includes a USB interface, a GPS interface, a power amplifier interface, a speaker interface, etc.

[0064] If the script is a switch circuit open circuit test script, the switch circuit open circuit test script is used to perform disconnection and recovery operations on the IGN pin or the ACC pin of the connector to be tested to obtain a switch circuit open circuit test result.

[0065] In this embodiment, the PLC switch controller is connected in series to the switch line of the vehicle system, the PC host computer selects the switch line open circuit test, and chooses to download the corresponding test script to the controller end. After the download is completed, click to start the test. The controller executes the "disconnect-restore" IGN and ACC connections in sequence to obtain the switch line open circuit test results.

[0066] If the script is a ground open circuit test script, the ground open circuit test script is used to perform disconnection and recovery operations on the GND pin of the connector to be tested to obtain a ground open circuit test result.

[0067] It is understandable that in the product electrical pin definition table, all pins containing GND need to undergo this test. Connect the PLC switch controller in series to the GND line of the vehicle system. Select the open ground test on the PC host computer and download the corresponding test script to the controller. After the download is complete, click Start Test. The controller executes the "disconnect-restore" GND connection in sequence to complete the test.

[0068] This embodiment uses different test schemes to test pins according to different test types. For the four tests under the open circuit test, this application provides a specific execution method in combination with the script, which can safely and correctly complete the test of all pins of the connector to be tested while ensuring the test speed. The test result is whether the product function can automatically return to normal after the line is restored to normal connection. Even if there is a problem with the pin, the test will not be interrupted.

[0069] Furthermore, when the test type is a short circuit protection test, the pins of the connector to be tested are tested by the script to obtain a test result, including:

[0070] If the script is a load circuit short-circuit protection test script, the load circuit short-circuit protection test script is used to perform short-to-ground and recovery operations on each load circuit pin of the connector to be tested to obtain a load circuit short-circuit protection test result.

[0071] Specifically, the PLC switch controller (such as a 32-channel PLC switch controller) is connected in series to the connector connection lines of the vehicle system. The PC host computer selects the load circuit short-circuit protection test and chooses to download the corresponding test script to the controller. After the download is completed, click to start the test. The controller executes "short ground wire-recovery" in sequence until the 32-channel pin test is completed; then replace the untested load circuit, complete the remaining test items, and obtain the load circuit short-circuit protection test result.

[0072] If the script is a signal circuit short-circuit protection test script, each signal circuit pin of the connector to be tested is short-connected to the power supply Usmax in turn through the signal circuit short-circuit protection test script, and then restored to obtain the signal circuit short-circuit protection test result.

[0073] Specifically, the PLC switch controller (such as a 32-channel PLC switch controller) is connected in series to the connector lines of the vehicle system. The PC host computer selects the signal circuit short-circuit protection test and chooses to download the corresponding test script to the controller. After the download is completed, click to start the test. The controller executes "short ground wire-recovery" in sequence until the 32-channel pin test is completed; then the untested signal circuit is replaced, the remaining test items are completed, and the signal circuit short-circuit protection test results are obtained.

[0074] It can be seen that this embodiment provides two tests for short-circuit protection testing, one of which is a load circuit short-circuit protection test, and the other is a signal circuit short-circuit protection test. Both tests disconnect and restore the pins of the connector to be tested one by one, thereby obtaining the test results. The test results are whether the product function can automatically return to normal after the line is restored to normal connection. The embodiment of the present application does not care about the pins with problems themselves, but whether the product function can automatically return to normal.

[0075] In step S103 , if the detection result shows that the vehicle system function is restored, it means that the electrical performance of the vehicle system is normal; if the detection result shows that the vehicle system function is not restored, it means that the electrical performance of the vehicle system is abnormal.

[0076] In this embodiment, the purpose of all tests is to determine whether the function of the vehicle system can be restored under the corresponding test conditions. If the function of the vehicle system (corresponding connector) is restored within a preset time after the pin is disconnected and restored, it means that the electrical performance of the vehicle system is normal. If the function of the vehicle system (corresponding connector) is not restored, it means that the electrical performance of the vehicle system is abnormal.

[0077] Furthermore, the pins of the connector to be tested are detected by the script, and then the test time after each pin test is completed is recorded, and a running log is generated according to the test time.

[0078] It is understandable that a connector has multiple pins. When a problem occurs in the test of one of the pins, the lower computer system will continue to perform the disconnect-restore pin test. At the same time, the PC host computer will print an operation log. The printed operation log will display the test time of each pin. If the line is restored but the function is not restored, the internal log of the test product can be analyzed according to the pin time.

[0079] Furthermore, the detection result is that the vehicle system function has not been restored, and it also includes: obtaining the operation log and the internal log of the vehicle system; analyzing the vehicle system according to the operation log and the internal log to obtain the abnormal cause of the vehicle system.

[0080] The embodiment of the present application, while completing the inspection of the test connector, also records the test time after each pin test is completed, and generates an operation log based on the test time. Based on the operation log, the embodiment of the present application can obtain the test time of each pin in the entire test process, thereby achieving transparency of the entire test and facilitating subsequent troubleshooting. When the vehicle system function is not restored, the operation log can be provided, and the internal log of the vehicle system can be obtained. Based on the test time of each pin recorded in the operation log, the corresponding functional circuit is found in the internal log for analysis, and the abnormal cause of the vehicle system is obtained, thereby improving the speed of problem solving.

[0081] Next, the electrical performance testing system of the vehicle system proposed in accordance with the embodiment of the present application will be described with reference to the accompanying drawings.

[0082] Figure 6 It is a block diagram of an electrical performance testing system of a vehicle system according to an embodiment of the present application.

[0083] like Figure 6 As shown, the electrical performance test system 10 of the vehicle system includes: a test instruction acquisition module 100 , a script detection module 200 and an electrical performance judgment module 300 .

[0084] Specifically, the test instruction acquisition module 100 is used to acquire a test instruction, wherein the test instruction includes a test type and a connector to be tested;

[0085] A script detection module 200 is used to download a corresponding script according to the test type, connect the scripts in series with the connectors to be tested, detect the pins of the connectors to be tested through the scripts, and obtain a detection result, wherein the detection result includes whether the vehicle system function is restored or not;

[0086] The electrical performance judgment module 300 is used to indicate that the electrical performance of the vehicle computer system is normal if the detection result shows that the vehicle computer system function is restored, and to indicate that the electrical performance of the vehicle computer system is abnormal if the detection result shows that the vehicle computer system function is not restored.

[0087] Optionally, in one embodiment of the present application, the script detection module 200 includes: an open circuit test script detection unit and a short circuit protection test script detection unit.

[0088] Wherein, the open circuit test script detection unit is used for, if the script is a single-line open circuit test script, then the single-line open circuit test script is used to perform disconnection and recovery operations on each pin on the connector to be tested respectively to obtain a single-line open circuit test result; if the script is a multi-line open circuit test script, then the multi-line open circuit test script is used to simultaneously perform a disconnection and recovery operation on all pins on the connector to be tested to obtain a multi-line open circuit test result; if the script is a switch line open circuit test script, then the switch line open circuit test script is used to perform disconnection and recovery operations on the IGN pin or ACC pin of the connector to be tested to obtain a switch line open circuit test result; if the script is a ground line open circuit test script, then the ground line open circuit test script is used to perform disconnection and recovery operations on the GND pin of the connector to be tested to obtain a ground line open circuit test result;

[0089] A short-circuit protection test script detection unit is used to, if the script is a load circuit short-circuit protection test script, perform short-circuit to ground and recovery operations on each load circuit pin of the connector to be tested through the load circuit short-circuit protection test script to obtain a load circuit short-circuit protection test result; if the script is a signal circuit short-circuit protection test script, then each signal circuit pin of the connector to be tested is short-circuited to the power supply Usmax in turn through the signal circuit short-circuit protection test script, and restore it to obtain a signal circuit short-circuit protection test result.

[0090] Optionally, in one embodiment of the present application, the electrical performance judgment module 300 includes: a first judgment unit, a second judgment unit, a log generation unit and an abnormality analysis unit.

[0091] Wherein, the first judgment unit is used to indicate that the electrical performance of the vehicle computer system is normal if the detection result is that the vehicle computer system function is restored;

[0092] A second judgment unit is used to indicate that the electrical performance of the vehicle computer system is abnormal if the detection result shows that the vehicle computer system function has not been restored;

[0093] A log generation unit, used to record the test time after each pin test is completed, and generate a running log according to the test time;

[0094] The abnormality analysis unit is used to obtain the operation log and the internal log of the vehicle system; analyze the vehicle system according to the operation log and the internal log of the product to obtain the abnormal cause of the vehicle system.

[0095] It should be noted that the above explanation of the embodiment of the electrical performance testing method of the vehicle system is also applicable to the electrical performance testing system of the vehicle system of this embodiment, and will not be repeated here.

[0096] According to the electrical performance testing system of the vehicle-mounted system proposed in the embodiment of the present application, the test type and the connector to be tested are obtained according to the test instructions, and the corresponding script is downloaded based on the test type. The electrical performance test of the connector to be tested is automatically controlled by the script. No on-off is performed during the test, and the ultimate goal is to see whether the function can be restored on the product side. The test efficiency is improved, the product-side detection results can be obtained quickly, and the entire test process is automated.

[0097] This solves the problem in related technologies that the electrical performance test of the vehicle system requires manual disconnection or short-circuiting of pins, which is inefficient, has inaccurate test results, and lacks a direct test method for the assembly product, making it impossible to quickly obtain product-side test results.

[0098] Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0099] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .

[0100] When the processor 502 executes the program, the electrical performance testing method of the vehicle system provided in the above embodiment is implemented.

[0101] Furthermore, the vehicle also includes:

[0102] The communication interface 503 is used for communication between the memory 501 and the processor 502 .

[0103] The memory 501 is used to store computer programs that can be executed on the processor 502 .

[0104] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0105] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EIS) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0106] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.

[0107] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0108] This embodiment also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the above-mentioned method for testing the electrical performance of the vehicle system is implemented.

[0109] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0110] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0111] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0112] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable storage medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer-readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable storage media include the following: an electrical connection with one or N wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable storage medium may even be paper or other suitable medium on which the program is printed, since the program can be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary, and then storing it in a computer memory.

[0113] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0114] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0115] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0116] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

[0117] It should be understood that the application of the present application is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to this application.

Claims

1. A method for testing the electrical performance of a vehicle system, characterized in that: The electrical performance test method of the vehicle system includes: Obtaining a test instruction, wherein the test instruction includes a test type and a connector to be tested; Download the corresponding script according to the test type, connect them in series with the connectors to be tested respectively, and detect the pins of the connectors to be tested by the script to obtain the detection result, which includes whether the vehicle system function is restored or not; If the test result shows that the vehicle system function has been restored, it means that the electrical performance of the vehicle system is normal. If the test result shows that the vehicle system function has not been restored, it means that the electrical performance of the vehicle system is abnormal.

2. The electrical performance testing method of the vehicle system according to claim 1, characterized in that: The test types include: open circuit test and short circuit protection test; Among them, the open circuit test includes: single-line open circuit test, multi-line open circuit test, switch line open circuit test and ground line open circuit test; the short circuit protection test includes: load circuit short circuit protection test and signal circuit short circuit protection test.

3. The electrical performance testing method of the vehicle system according to claim 1, characterized in that: The downloading of the corresponding script according to the test type also includes: According to the requirements of the test type, the corresponding test script is pre-written and stored in the PC host computer.

4. The electrical performance testing method of the vehicle system according to claim 2, characterized in that: When the test type is an open circuit test, the script is used to detect the pins of the connector to be tested to obtain a detection result, which specifically includes: If the script is a single-line open circuit test script, the single-line open circuit test script is used to perform disconnection and recovery operations on each pin on the connector to be tested to obtain a single-line open circuit test result; If the script is a multi-line open circuit test script, the multi-line open circuit test script is used to simultaneously perform a disconnection and recovery operation on all pins on the connector to be tested to obtain a multi-line open circuit test result; If the script is a switch circuit open circuit test script, the switch circuit open circuit test script is used to perform disconnection and restoration operations on the IGN pin or the ACC pin of the connector to be tested to obtain a switch circuit open circuit test result; If the script is an open ground test script, the open ground test script is used to perform disconnection and restoration operations on the GND pin of the connector to be tested to obtain an open ground test result.

5. The electrical performance testing method of the vehicle system according to claim 2, characterized in that: When the test type is a short circuit protection test, the script is used to detect the pins of the connector to be tested to obtain the detection result, which specifically includes: If the script is a load circuit short-circuit protection test script, the load circuit short-circuit protection test script is used to perform short-circuit grounding and recovery operations on each load circuit pin of the connector to be tested, so as to obtain a load circuit short-circuit protection test result; If the script is a signal circuit short-circuit protection test script, each signal circuit pin of the connector to be tested is short-connected to the power supply Usmax in turn through the signal circuit short-circuit protection test script, and then restored to obtain the signal circuit short-circuit protection test result.

6. The electrical performance testing method of the vehicle system according to claim 1, characterized in that: The pins of the connector to be tested are detected by the script, and then the following steps are further included: The test time after each pin test is completed is recorded, and a running log is generated based on the test time.

7. The electrical performance testing method of the vehicle system according to claim 6, characterized in that: The test result is that the vehicle system function has not been restored, and then it also includes: Obtaining the operation log and the internal log of the vehicle system; The vehicle system is analyzed according to the operation log and the internal log to obtain the abnormal cause of the vehicle system.

8. An electrical performance test system for a vehicle system, characterized in that: The electrical performance test system of the vehicle system includes: A test instruction acquisition module, used to acquire a test instruction, wherein the test instruction includes a test type and a connector to be tested; A script detection module, used for downloading corresponding scripts according to the test type, connecting the scripts in series with the connectors to be tested, detecting the pins of the connectors to be tested through the scripts, and obtaining detection results, wherein the detection results include whether the vehicle system function is restored or not; The electrical performance judgment module is used to determine if the electrical performance of the vehicle system is normal if the test result shows that the vehicle system function has been restored, and if the test result shows that the vehicle system function has not been restored, it indicates that the electrical performance of the vehicle system is abnormal.

9. A terminal, characterized in that: The terminal includes: a memory, a processor, and an electrical performance test program for the vehicle system stored in the memory and executable on the processor. When the electrical performance test program for the vehicle system is executed by the processor, the steps of the electrical performance test method for the vehicle system as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an electrical performance test program for a vehicle system, and when the electrical performance test program for the vehicle system is executed by a processor, the steps of the electrical performance test method for the vehicle system as described in any one of claims 1 to 7 are implemented.