System and method for testing rising edge time of vehicle-mounted network signal
By using communication between the upper computer, test board and programmable oscilloscope in the on-board network signal testing system, the automatic testing of the rising edge time of the on-board network signal is realized, solving the problems of low automation and poor versatility in the existing technology, and improving the testing efficiency and accuracy.
Patent Information
- Application Number
- CN202411929229.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-03-28
AI Technical Summary
The prior art has low automation degree, large errors, cumbersome operation, and long time when testing the rising edge time of the on-board network signal. It is unable to automatically adjust the triggering method and range parameters of the program-controlled oscilloscope, and has poor versatility and cannot adapt to a variety of different DUTs.
Through communication between the upper computer, test board and program-controlled oscilloscope, the test program is automatically executed to configure the test parameters, and automatic testing of the rising edge time of the network signal is realized. The test board matches the resistor according to the configuration parameters and executes the test program to automatically configure the test parameters of the program-controlled oscilloscope.
It improves the efficiency and versatility of the test, reduces manual operation steps, improves the accuracy and flexibility of the test, and can automatically adapt to the resistance changes of different DUTs to ensure the accuracy of the test results.
Smart Images

Figure CN119728510A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of network signal testing, and in particular relates to a vehicle-mounted network signal rising edge time testing system and method. Background Art
[0002] In the field of CAN in-vehicle network communication, the quality of the signal waveform in the physical layer is particularly important, which can directly affect the stability of the vehicle communication bus. The rising edge time of the signal is one of the important indicators to measure the quality of the signal waveform, so how to test it accurately and quickly is also particularly important.
[0003] At present, the main method for testing the rising edge time is to manually match different resistors according to different DUT resistance values, and then use an oscilloscope to capture the message waveform and then analyze it. This method has the disadvantages of low automation, high error, cumbersome operation, and long time consumption. As for other methods that use program automatic testing, there is a problem that the correct waveform may not be captured, resulting in invalid test results. Before automatically capturing the waveform, the trigger mode and range of the program-controlled oscilloscope need to be set in the program script in advance. It is impossible to automatically adjust the trigger mode and range parameters, and the versatility is poor, and it cannot adapt to a variety of different DUTs at the same time. Summary of the invention
[0004] To solve the above problems, the present invention provides a vehicle-mounted network signal rising edge time testing system and method, which automatically executes the test program to configure the test parameters through the communication between the host computer, the test board and the programmable oscilloscope, realizes the automatic test of the network signal rising edge time, and improves the test efficiency and versatility.
[0005] In a first aspect, the technical solution of the present invention provides a vehicle network signal rising edge time test system, comprising: The host computer is used to send configuration parameters to the test board, receive the test results fed back by the test board, and generate a test report based on the test results; The test board is connected to the high-bit and low-bit signal channels of the sample under test, and is used to match the resistor according to the configuration parameters, execute the test program to configure the test parameters of the program-controlled oscilloscope according to the test data, receive the network signal rising edge time test data fed back by the program-controlled oscilloscope, and generate the test results according to the network signal rising edge time test data and feed them back to the host computer; The program-controlled oscilloscope is connected to the test board and the high-order and low-order signal channels of the sample under test respectively, and is used to execute the network signal rising edge time test process according to the test parameters and feed back the network signal rising edge time test data to the test board.
[0006] In an optional embodiment, the system further includes: The program-controlled power supply is respectively connected to the test board and the sample under test to supply power to the test board and the sample under test.
[0007] In a second aspect, the technical solution of the present invention provides a method for testing the rising edge time of an in-vehicle network signal, which is implemented based on the test system described in any one of the above items, and the method comprises the following steps: The test board matches the resistance according to the configuration parameters sent by the host computer; The test board executes the test program and configures the test parameters of the programmable oscilloscope according to the test data; The program-controlled oscilloscope executes the network signal rising edge time test process according to the test parameters, and feeds back the network signal rising edge time test data to the test board; The test board generates test results based on the network signal rising edge time test data and feeds them back to the host computer; The host computer generates a test report based on the test results.
[0008] In an optional implementation, the test board executes the test program to configure the test parameters of the programmable oscilloscope according to the test data, specifically including: Check whether the program-controlled oscilloscope has received feedback that the correct waveform has not been collected; If not, execute the configuration of the first test parameters; If so, detect the number of times N that the correct waveform feedback has been received; Determine whether the number N of times that feedback of incorrect waveforms have been received has reached a preset number; If not, execute the configuration of the test parameters for the N+1th time; If so, feedback is given to the host computer: "The correct waveform was not collected, and the test failed."
[0009] In an optional implementation, the preset number of times for receiving feedback that the correct waveform was not collected is 5 times.
[0010] In an optional implementation, the configuration of the first test parameters is performed, specifically including: setting the trigger mode of the program-controlled oscilloscope to rising edge trigger; setting the waveform horizontal range of the program-controlled oscilloscope to T microseconds, and the waveform time displacement to 0; setting the waveform mathematical operator to high-order signal source minus low-order signal source; Execute the configuration of the second test parameters, including: changing the waveform horizontal range of the programmable oscilloscope to 10*T microseconds; Execute the configuration of the third test parameters, including: changing the waveform horizontal range of the programmable oscilloscope to T / 10 microseconds; Execute the configuration of the fourth test parameters, specifically including: changing the trigger mode to CANID trigger; filling in the trigger ID; setting the acquisition baud rate to the baud rate of the device under test; setting the sampling points to the sampling points of the device under test; setting the CAN signal type to differential level; setting the trigger level voltage; setting the horizontal range of the waveform of the programmed oscilloscope to T microseconds, and setting the waveform time displacement to 0; Execute the configuration of the fifth test parameters, specifically including: changing the horizontal range of the waveform of the programmed oscilloscope to 10*T microseconds; Execute the configuration of the sixth test parameters, specifically including: changing the horizontal range of the waveform of the programmed oscilloscope to T / 10 microseconds.
[0011] In an optional embodiment, T microseconds is 0.2 microseconds.
[0012] In an optional embodiment, the programmed oscilloscope executes the network signal rising edge time test process according to the test parameters and feeds back the network signal rising edge time test data to the test board, specifically including: Collect the message waveform; Measure the rising edge time t of the waveform; Judge whether the rising edge time t of the waveform is greater than the preset time; If so, feed back to the test board that the correct waveform has not been collected; If not, feed back the waveform picture and the rising edge time t of the waveform to the test board.
[0013] In an optional embodiment, the test board generates a test result according to the network signal rising edge time test data and feeds it back to the host computer, specifically including: Obtain the qualified range tmin and tmax of the network signal rising edge time from the configuration parameters sent by the host computer; Compare the rising edge time t of the waveform with tmin and tmax; If t < tmin, feed back the waveform picture, the rising edge time t of the waveform and "the rising edge time is too small, the test fails" to the host computer; If t > tmax, feed back the waveform picture, the rising edge time t of the waveform and "the rising edge time is too large, the test fails" to the host computer; If tmin < t < tmax, feed back the waveform picture, the rising edge time t of the waveform and "the rising edge time meets the requirements, the test passes" to the host computer.
[0014] In an optional embodiment, before the test board executes the test program to configure the test parameters of the programmed oscilloscope according to the test data, the following steps are further included: The test board obtains the message sent by the device under test; Judge whether the correct message is received according to the message table of the device under test; If yes, wait for a certain time until the communication is stable, and then the test board will execute the test program and configure the test parameters of the program-controlled oscilloscope according to the test data; If not, feedback “the tested sample does not communicate normally” will be sent to the upper computer.
[0015] The present invention provides a vehicle network signal rising edge time test system and method, which has the following beneficial effects compared with the prior art: a host computer, a test board and a program-controlled oscilloscope are set, the host computer sends configuration parameters to the test board, the test board matches the resistance based on the configuration parameters, and executes the test program to automatically configure the test parameters of the program-controlled oscilloscope, and then the program-controlled oscilloscope executes the test process according to the test parameters to obtain the network signal rising edge time, thereby generating a test report according to the network signal rising edge time obtained by the test. The present invention realizes the automated test of the vehicle network signal rising edge time through the collaborative work of the host computer and the test board, reduces the steps of manual operation, and improves the accuracy and efficiency of the test; at the same time, the test parameters of the program-controlled oscilloscope, including the trigger mode and the range parameters, can be automatically adjusted to adapt to the resistance changes of different DUTs (test samples), and can test a variety of different DUTs, thereby improving the versatility and flexibility of the test. In addition, the waveform of the network signal is accurately captured and analyzed by the program-controlled oscilloscope, avoiding the problem of test result failure caused by improper manual operation or improper oscilloscope setting, and providing a reliable basis for subsequent data analysis and troubleshooting. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 The present invention provides a schematic block diagram of a vehicle network signal rise time test system.
[0017] Figure 2 The present invention is a flow chart of a method for testing the rising edge time of an in-vehicle network signal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0020] The key terms appearing in the present invention are explained below.
[0021] DUT: Device Under Test, the device under test.
[0022] CAN: Controller Area Network.
[0023] CAN_H: Controller Area Network line with relatively high voltage in dominant state.
[0024] CAN_L: Controller Area Network line with relatively low voltage in dominant state.
[0025] Figure 1 FIG. 1 is a schematic block diagram of a vehicle network signal rise time test system provided by an embodiment of the present invention. Figure 1 As shown, the system includes a host computer, a test board, a programmable oscilloscope and a programmable power supply.
[0026] The host computer is used to send configuration parameters to the test board, receive the test results fed back by the test board, and generate a test report based on the test results.
[0027] The test board is connected to the high and low signal channels of the sample under test, and is used to match the resistance according to the configuration parameters, execute the test program to configure the test parameters of the programmable oscilloscope according to the test data, receive the network signal rising edge time test data fed back by the programmable oscilloscope, and generate the test results based on the network signal rising edge time test data and feed them back to the host computer.
[0028] The program-controlled oscilloscope is connected to the test board and the high-order and low-order signal channels of the sample under test respectively, and is used to execute the network signal rising edge time test process according to the test parameters and feed back the network signal rising edge time test data to the test board.
[0029] The program-controlled power supply is respectively connected to the test board and the sample under test to supply power to the test board and the sample under test.
[0030] This embodiment realizes the automated test of the rising edge time of the vehicle network signal through the collaborative work of the host computer and the test board, reduces the steps of manual operation, and improves the accuracy and efficiency of the test. In the specific implementation, the tester inputs the relevant configuration parameters through the host computer interface, and the host computer sends the configuration parameters to the test board to start the test process, without the need for tedious manual adjustment and waveform analysis, thereby improving the test efficiency. At the same time, the test board executes the test program to configure the test parameters of the programmable oscilloscope according to the test data. In the specific implementation, the test parameters of the programmable oscilloscope are automatically adjusted, including the trigger mode and the range parameters, to adapt to the resistance changes of different DUTs (test samples), and can test a variety of different DUTs, thereby improving the versatility and flexibility of the test. In this embodiment, the functions of each component will be described in detail in subsequent embodiments.
[0031] An embodiment of a vehicle network signal rising edge time test system is described in detail above. Based on the vehicle network signal rising edge time test system described in the above embodiment, an embodiment of the present invention also provides a vehicle network signal rising edge time test method corresponding to the system.
[0032] Figure 2 This is a flow chart of a method for testing the rising edge time of an in-vehicle network signal provided by an embodiment of the present invention. Figure 2 The execution subject may be a vehicle network signal rising edge time test system described in the above embodiment. According to different requirements, the order of the steps in the flow chart may be changed, and some may be omitted.
[0033] like Figure 2 As shown, the method includes the following steps.
[0034] SS1, the test board matches the resistance according to the configuration parameters sent by the host computer.
[0035] In this step, the test board receives configuration parameters sent by the host computer, and the configuration parameters include parameters for matching resistance and parameters for determining the time range of the rising edge of the network signal obtained by the test.
[0036] During specific implementation, the configuration parameters are manually input through the host computer interface, and the host computer sends the configuration parameters to the test board, triggering the test board to execute the test program. The test program is automatically executed, and no manual intervention is required afterwards, thereby improving the test efficiency.
[0037] SS2, the test board executes the test program to configure the test parameters of the programmable oscilloscope according to the test data.
[0038] In this step, the test board starts the test program after receiving the configuration parameters sent by the host computer, and implements the test data to configure the test parameters of the program-controlled oscilloscope. It should be noted that the test data refers to the network signal rising edge time test data obtained by the program-controlled oscilloscope executing the network signal rising edge time test process. Specifically, the following steps are included.
[0039] SS2.1, detects whether the programmable oscilloscope feedback is received that the correct waveform is not collected.
[0040] SS2.2, if not, execute the configuration of the first test parameters.
[0041] SS2.3: If yes, check the number of times N that the correct waveform feedback has been received.
[0042] SS2.4, determine whether the number N of times that the feedback of the incorrect waveform has been received has reached a preset number.
[0043] SS2.5: If not, execute the configuration of the test parameters for the N+1th time.
[0044] SS2.6, if yes, feedback “the correct waveform was not collected, the test failed” to the upper computer.
[0045] In an optional implementation, the preset number of times of receiving feedback that the correct waveform was not collected is 5 times, and six test parameter configurations can be performed. The test parameters include a trigger mode and a horizontal range.
[0046] Execute the configuration of the first test parameters, including: setting the trigger mode of the programmable oscilloscope to rising edge trigger; setting the waveform horizontal range of the programmable oscilloscope to T microseconds, and the waveform time displacement to 0; setting the waveform mathematical operator to high signal source minus low signal source.
[0047] Execute the configuration of the second test parameters, including: changing the waveform horizontal range of the programmable oscilloscope to 10*T microseconds.
[0048] Execute the configuration of the third test parameters, including: changing the waveform horizontal range of the programmable oscilloscope to T / 10 microseconds.
[0049] Execute the configuration of the fourth test parameters, including: changing the trigger mode to CANID trigger; filling in the trigger ID; setting the acquisition baud rate to the baud rate of the sample under test; setting the sampling point to the sampling point of the sample under test; setting the CAN signal type to differential level; setting the trigger level voltage; setting the waveform horizontal range of the programmable oscilloscope to T microseconds, and setting the waveform time displacement to 0.
[0050] The configuration of the fifth test parameters is performed, including: changing the waveform horizontal range of the programmable oscilloscope to 10*T microseconds.
[0051] Execute the configuration of the sixth test parameters, specifically including: changing the waveform horizontal range of the programmable oscilloscope to T / 10 microseconds.
[0052] In an optional implementation, T microseconds is 0.2 microseconds.
[0053] It is understandable that the second and third test parameter configurations are based on the changes of the first test parameter configuration, and the fifth and sixth test parameter configurations are based on the changes of the fourth test parameter configuration. This embodiment can automatically adjust the trigger mode according to the results, avoiding the situation where a single trigger mode cannot correctly capture the message waveform, and can automatically adjust the horizontal range of the oscilloscope according to the results, avoiding the situation where the range does not match due to the different performance of different DUTs, thereby causing the inability to correctly capture the message waveform or inaccurate measurement.
[0054] In an optional embodiment, before the test board executes the test program to configure the test parameters of the programmable oscilloscope according to the test data, it is detected whether the communication between the test board and the test sample is normal to ensure that the test is normal, including the test board obtaining the message sent by the test sample, and judging whether the correct message is received according to the message table of the test sample. If so, delaying for a certain period of time to wait for the communication to stabilize, and then the test board executes the test program to configure the test parameters of the programmable oscilloscope according to the test data. If not, feedback is given to the host computer that "the test sample is not communicating normally".
[0055] SS3, the programmable oscilloscope executes the network signal rising edge time test process according to the test parameters, and feeds back the network signal rising edge time test data to the test board.
[0056] SS3.1, collect message waveform.
[0057] SS3.2, calculate the waveform rising edge time t.
[0058] SS3.3, determine whether the waveform rising edge time t is greater than the preset time.
[0059] SS3.4, if yes, then feedback is given to the test board that the correct waveform was not collected.
[0060] SS3.5, if not, then the waveform image and waveform rising edge time t are fed back to the test board.
[0061] After the program-controlled oscilloscope is configured for test parameters in this step, it automatically executes the network signal rising edge time test process and feeds back the test data to the test board. When the waveform rising edge time t is greater than the preset time, the test data is that the correct waveform is not collected. When the waveform rising edge time t is less than the preset time, the test data is the waveform image and the waveform rising edge time t.
[0062] SS4. The test board generates a test result based on the test data of the rising edge time of the network signal and feeds it back to the host computer.
[0063] SS4.1. Obtain the qualified interval tmin and tmax of the rising edge time of the network signal from the configuration parameters sent by the host computer.
[0064] SS4.2. Compare the rising edge time t of the waveform with tmin and tmax.
[0065] SS4.3. If t < tmin, feed back the waveform picture, the rising edge time t of the waveform, and "The rising edge time is too small, the test fails" to the host computer.
[0066] SS4.4. If t > tmax, feed back the waveform picture, the rising edge time t of the waveform, and "The rising edge time is too large, the test fails" to the host computer.
[0067] SS4.5. If tmin < t < tmax, feed back the waveform picture, the rising edge time t of the waveform, and "The rising edge time meets the requirements, the test passes" to the host computer.
[0068] In this embodiment, the configuration parameters sent by the host computer to the test board include the qualified interval tmin and tmax of the rising edge time of the network signal. The test board compares the rising edge time t of the waveform with tmin and tmax, determines whether the test passes according to the comparison result, and feeds back the relevant results to the host computer.
[0069] SS5. The host computer generates a test report based on the test results.
[0070] In this step, the host computer generates a test report containing the test results, and saves the corresponding test message waveform diagram in the test report to visually display the phenomena during the test.
[0071] To further understand the present invention, the following provides a specific embodiment to further elaborate on the present invention in detail, which specifically includes the following steps.
[0072] Step S1: Enter the initialization test system sub - process.
[0073] Step S101: Initialize the test board.
[0074] Step S102: Obtain DUT information, including the message ID and the DUT source address.
[0075] Step S103: Transmit the host computer configuration parameters.
[0076] Step S104: Match the resistor according to the host computer configuration parameters.
[0077] Step S105: Initialize the programmable power supply.
[0078] Step S106: Initialize the programmable oscilloscope.
[0079] Step S107: Delay and wait until all initializations are completed.
[0080] Step S2: Enter the sub-process of determining whether the DUT is communicating normally.
[0081] Step S201: Obtain the message sent by the DUT.
[0082] Step S202: Determine whether a correct message is received according to the DUT message table. If a correct message is received, jump to S203, otherwise end and return to "DUT is not communicating normally".
[0083] Step S203: Delay for 3 seconds and wait for the communication to become stable.
[0084] Step S3: Enter the rising edge time test sub-process.
[0085] Step S301: Setting the trigger mode of the programmable oscilloscope to rising edge trigger.
[0086] Step S302: The horizontal range is set to 0.2 microseconds, and the waveform time displacement is set to 0.
[0087] Step S303: Setting the waveform mathematical operator to source1-source2.
[0088] Step S304: Match source1 to the channel corresponding to CAN_H input, and match source2 to the channel corresponding to CAN_L input.
[0089] Step S305: Collect message waveform.
[0090] Step S306: Calculate the waveform rising edge time t1.
[0091] Step S307: Determine whether t1 is greater than 1000ms. If so, it means that the correct waveform has not been collected and the process goes to S309; otherwise, the process goes to S308.
[0092] Step S308: Save the waveform image and t1, and the sub-process ends.
[0093] Step S309: Change the horizontal range to 2 microseconds and the waveform time displacement to 0.
[0094] Step S310: Collect message waveform.
[0095] Step S311: Calculate the waveform rising edge time t2.
[0096] Step S312: Determine whether t2 is greater than 1000ms. If so, it means that the correct waveform has not been collected and go to S313; otherwise, go to S314.
[0097] Step S313: Save the waveform image and t2, and the sub-process ends.
[0098] Step S314: Change the horizontal range to 0.02 microseconds and the waveform time displacement to 0.
[0099] Step S315: Collect message waveform.
[0100] Step S316: Calculate the waveform rising edge time t3.
[0101] Step S317: Determine whether t3 is greater than 1000ms. If so, it means that the correct waveform has not been collected and go to S318; otherwise, go to S319.
[0102] Step S318: Save the waveform image and t3, and the sub-process ends.
[0103] Step S319: Change the trigger mode to CANID trigger.
[0104] Step S320: Fill in the trigger ID.
[0105] Step S321: Set the acquisition baud rate to the DUT baud rate.
[0106] Step S322: Set the sampling point to the DUT sampling point.
[0107] Step S323: Set the CAN signal type to differential level.
[0108] Step S324: setting the trigger level voltage.
[0109] Step S325: The horizontal range is set to 0.2 microseconds, and the waveform time displacement is set to 0.
[0110] Step S326: Collect message waveform.
[0111] Step S327: Calculate the waveform rising edge time t4.
[0112] Step S328: Determine whether t4 is greater than 1000ms. If so, it means that the correct waveform has not been collected and go to S329; otherwise, go to S330.
[0113] Step S329: Save the waveform image and t4, and the sub-process ends.
[0114] Step S330: Change the horizontal range to 2 microseconds and the waveform time displacement to 0.
[0115] Step S331: Collect the waveform of the message.
[0116] Step S332: Measure the rising edge time t5 of the waveform.
[0117] Step S333: Determine whether t5 is greater than 1000 ms. If it is greater, it means that the correct waveform has not been collected and go to S334; otherwise, go to S335.
[0118] Step S334: Save the waveform picture and t5, and the sub - process ends.
[0119] Step S335: Change the horizontal range to 0.02 microseconds and the waveform time displacement to 0.
[0120] Step S336: Collect the waveform of the message.
[0121] Step S337: Measure the rising edge time t6 of the waveform.
[0122] Step S338: Determine whether t6 is greater than 1000 ms. If it is greater, it means that the correct waveform has not been collected and go to S339; otherwise, go to S340.
[0123] Step S339: Save the waveform picture and t6, and the sub - process ends.
[0124] Step S340: Return "The waveform has not been correctly captured, the test fails", and the test ends.
[0125] Step S4: Enter the sub - process of judging the test result.
[0126] Step S401: Obtain the qualified range tmin and tmax of the rising edge time in the parameters of the host computer.
[0127] Step S402: Compare the time t obtained in Step S3 with tmin and tmax. If t < tmin, jump to S403. If t > tmax, jump to S404. If tmin < t < tmax, jump to S405.
[0128] Step S403: Return the waveform picture, t, and "The rising edge time is too small, the test fails" to the test report.
[0129] Step S404: Return the waveform picture, t, and "The rising edge time is too large, the test fails" to the test report.
[0130] Step S405: Return the waveform picture, t, and "The rising edge time meets the requirements, the test passes" to the test report.
[0131] Step S5: Stop data recording and end the communication.
[0132] Step S6: Output the test report.
[0133] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.
Claims
1. A vehicle network signal rising edge time test system, characterized in that: include: The host computer is used to send configuration parameters to the test board, receive the test results fed back by the test board, and generate a test report based on the test results; The test board is connected to the high-bit and low-bit signal channels of the sample under test, and is used to match the resistor according to the configuration parameters, execute the test program to configure the test parameters of the program-controlled oscilloscope according to the test data, receive the network signal rising edge time test data fed back by the program-controlled oscilloscope, and generate the test results according to the network signal rising edge time test data and feed them back to the host computer; The program-controlled oscilloscope is connected to the test board and the high-order and low-order signal channels of the sample under test respectively, and is used to execute the network signal rising edge time test process according to the test parameters and feed back the network signal rising edge time test data to the test board.
2. The vehicle network signal rising edge time test system according to claim 1, characterized in that: The system also includes, The program-controlled power supply is respectively connected to the test board and the sample under test to supply power to the test board and the sample under test.
3. A method for testing the rising edge time of an in-vehicle network signal, characterized in that: Based on the test system according to claim 1 or 2, the method comprises the following steps: The test board matches the resistance according to the configuration parameters sent by the host computer; The test board executes the test program and configures the test parameters of the programmable oscilloscope according to the test data; The program-controlled oscilloscope executes the network signal rising edge time test process according to the test parameters, and feeds back the network signal rising edge time test data to the test board; The test board generates test results based on the network signal rising edge time test data and feeds them back to the host computer; The host computer generates a test report based on the test results.
4. The vehicle network signal rising edge time testing method according to claim 3, characterized in that: The test board executes the test program and configures the test parameters of the programmable oscilloscope according to the test data, including: Check whether the program-controlled oscilloscope has received feedback that the correct waveform has not been collected; If not, execute the configuration of the first test parameters; If so, detect the number of times N that the correct waveform feedback has been received; Determine whether the number N of times that feedback of incorrect waveforms have been received has reached a preset number; If not, execute the configuration of the test parameters for the N+1th time; If so, feedback "the correct waveform was not collected, the test failed" is given to the upper computer.
5. The vehicle network signal rising edge time testing method according to claim 4, characterized in that: The preset number of times for receiving feedback that the correct waveform was not collected is 5 times.
6. The vehicle network signal rising edge time testing method according to claim 5, characterized in that: Execute the configuration of the first test parameters, including: setting the trigger mode of the program-controlled oscilloscope to rising edge trigger; setting the waveform horizontal range of the program-controlled oscilloscope to T microseconds, and the waveform time displacement to 0; setting the waveform mathematical operator to high-order signal source minus low-order signal source; Execute the configuration of the second test parameters, including: changing the waveform horizontal range of the programmable oscilloscope to 10*T microseconds; Execute the configuration of the third test parameters, including: changing the waveform horizontal range of the programmable oscilloscope to T / 10 microseconds; Execute the configuration of the fourth test parameters, including: changing the trigger mode to CANID trigger; filling in the trigger ID; setting the acquisition baud rate to the baud rate of the tested sample; setting the sampling point to the sampling point of the tested sample; setting the CAN signal type to differential level; setting the trigger level voltage; setting the waveform horizontal range of the programmable oscilloscope to T microseconds, and the waveform time displacement to 0; Execute the configuration of the fifth test parameters, including: changing the waveform horizontal range of the programmable oscilloscope to 10*T microseconds; Configure the parameters for the sixth test, specifically including: changing the horizontal range of the waveform of the programmable oscilloscope to T / 10 microseconds.
7. The vehicle network signal rising edge time testing method according to claim 6, characterized in that: T microseconds is 0.2 microseconds.
8. The vehicle network signal rising edge time testing method according to claim 7, characterized in that: The programmable oscilloscope executes the test process for the rising edge time of the network signal according to the test parameters and feeds back the test data of the rising edge time of the network signal to the test board, specifically including: Collect the message waveform; Measure the rising edge time t of the waveform; Judge whether the rising edge time t of the waveform is greater than the preset time; If so, feed back to the test board that the correct waveform has not been collected; If not, feed back the waveform picture and the rising edge time t of the waveform to the test board.
9. The vehicle network signal rising edge time testing method according to claim 8, characterized in that: The test board generates a test result based on the test data of the rising edge time of the network signal and feeds it back to the host computer, specifically including: Obtain the qualified range tmin and tmax of the rising edge time of the network signal from the configuration parameters sent by the host computer; Compare the rising edge time t of the waveform with tmin and tmax; If t < tmin, feed back the waveform picture, the rising edge time t of the waveform, and "The rising edge time is too small, the test fails" to the host computer; If t > tmax, feed back the waveform picture, the rising edge time t of the waveform, and "The rising edge time is too large, the test fails" to the host computer; If tmin < t < tmax, feed back the waveform picture, the rising edge time t of the waveform, and "The rising edge time meets the requirements, the test passes" to the host computer.
10. The vehicle network signal rising edge time testing method according to any one of claims 3 to 9, characterized in that: Before the test board executes the test program to configure the test parameters of the programmable oscilloscope according to the test data, the following steps are also included: The test board obtains the message sent by the DUT; Judge whether the correct message is received according to the DUT message table; If so, after delaying for a certain period of time to wait for communication stability, the test board executes the test program to configure the test parameters of the programmable oscilloscope according to the test data; If not, feed back "The DUT fails to communicate normally" to the host computer.