Vehicle-mounted Ethernet testing device and vehicle-mounted Ethernet testing method
By designing an on-board Ethernet test device, using control modules and multiple test modules to conduct interoperability testing on-board Ethernet, the problem of on-board Ethernet interoperability testing is solved, and link establishment time, signal quality and fault detection is achieved Comprehensive testing of capabilities ensures the reliability and data transmission quality of on-board Ethernet.
Patent Information
- Application Number
- CN202410706438.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2025-02-25
AI Technical Summary
How to test the in-vehicle Ethernet interoperability to ensure its reliability and data transmission quality.
An on-board Ethernet testing device is designed, including a control module, a first test module, a second test module, a third test module and a on-board Ethernet transceiver. Through these modules, the power supply, communication signal quality and fault simulation between the measured part and the on-board Ethernet transceiver can be controlled, and the full support for on-board Ethernet interoperability testing can be achieved.
The test of the link establishment time, communication signal quality and fault detection capabilities of the on-board Ethernet is realized, ensuring the interoperability and reliability of the on-board Ethernet, simplifying the testing process and improving the testing efficiency.
Smart Images

Figure CN119520303A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Ethernet testing, and in particular to a vehicle-mounted Ethernet testing device and a vehicle-mounted Ethernet testing method. Background Art
[0002] With the development of the automobile industry, automotive electrical systems have become increasingly complex. In order to meet the communication and data transmission requirements of infotainment systems, assisted driving systems, and vehicle networks, the requirements for automotive bus technology are becoming increasingly higher. The automotive bus is developing towards high bandwidth. Therefore, automotive Ethernet technology is gradually emerging.
[0003] In order to verify the reliability of automotive Ethernet, it is necessary to perform interoperability (IOP) testing on automotive Ethernet. Therefore, how to perform interoperability testing on automotive Ethernet is a problem that needs to be solved at present. Summary of the invention
[0004] Based on this, it is necessary to provide a vehicle Ethernet test device and a vehicle Ethernet test method that can perform interoperability testing on vehicle Ethernet in response to the above technical problems.
[0005] In a first aspect, the present application provides a vehicle Ethernet test device, comprising: a control module, a first test module, a second test module, a third test module and a vehicle Ethernet transceiver;
[0006] The control module is used for:
[0007] Controlling the power supply of the device under test and the vehicle Ethernet transceiver by the first test module, so that at least one link establishment time between the device under test and the vehicle Ethernet transceiver can be tested;
[0008] Changing the quality of the communication signal between the device under test and the vehicle-mounted Ethernet transceiver by means of a second test module, so that the detection capability of the device under test for the quality of the communication signal can be tested;
[0009] The fault between the device under test and the vehicle-mounted Ethernet transceiver is simulated by the third test module, so that the detection capability of the device under test for the fault can be tested.
[0010] In one of the embodiments, the starting time of one or more of the at least one link establishment time is: the time when the power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle-mounted Ethernet transceiver; the power supply current includes a first power supply current and / or a second power supply current, the first power supply current is the power supply current used by the first test module to power the device under test, and the second power supply current is the power supply current used by the first test module to power the vehicle-mounted Ethernet transceiver.
[0011] In one embodiment, the control module is further used to: obtain starting current demand information, the starting current demand information is used to determine the value or value range of the preset starting current; select a target current detector from multiple current detectors based on the starting current demand information of the device under test; the multiple current detectors can all be used to detect the first power supply current to obtain corresponding current detection results, and the ranges and / or detection accuracy of different current detectors among the multiple current detectors are different; based on the first power supply current detected by the target current detector, determine the starting time of the corresponding link establishment time.
[0012] In one of the embodiments, the at least one link establishment time includes at least one of the following: a first link establishment time, a second link establishment time, and a third link establishment time; if the at least one link establishment time includes the first link establishment time, then: the control module is used to: after the device under test is stably powered, control the first test module to start powering the vehicle Ethernet transceiver, so that a link is established between the device under test and the vehicle Ethernet transceiver, and the first link establishment time is tested; if the at least one link establishment time includes the second link establishment time, then: the control module is used to: during the test of the vehicle Ethernet transceiver After the transceiver is stably powered, the first test module is controlled to start powering the device under test so that the device under test starts to establish a link with the vehicle-mounted Ethernet transceiver, and the second link establishment time is tested; if the at least one link establishment time includes the third link establishment time, then: the control module is used to: after the device under test and the vehicle-mounted Ethernet transceiver are both stably powered, control the first test module to wake up the device under test so that the device under test starts to establish a link with the vehicle-mounted Ethernet transceiver, and the third link establishment time is tested, wherein the control module wakes up the device under test through a message transceiver chip or an ignition switch interface.
[0013] In one embodiment, the control module is used to: couple a target noise signal into a data signal interacting between the vehicle-mounted Ethernet transceiver and the device under test through the second test module, and change the size of the target noise signal; and: selectively determine the first noise signal provided by the external noise source or the second noise signal provided by the internal noise source as the target noise signal.
[0014] In one of the embodiments, selectively determining the first noise signal provided by the external noise source or the second noise signal provided by the internal noise source as the target noise signal includes: if the in-vehicle Ethernet test device is connected to the external noise source and the first noise signal provided by the external noise source is normal, then: controlling the second test module to use the first noise signal as the target noise signal; if the in-vehicle Ethernet test device is not connected to the external noise source, or the first noise signal is abnormal, then: controlling the second test module to use the second noise signal provided by the internal noise source as the target noise signal.
[0015] In one embodiment, the third test module includes a connection switching module, a cable, and a fault simulation module. The connection switching module is respectively connected to the vehicle Ethernet transceiver, the two ends of the cable, the fault simulation module, and the vehicle Ethernet interface for connecting the device under test. The control module is respectively connected to the connection switching module and the fault simulation module, wherein the control module is used to: control the connection switching module to switch the connection relationship between the vehicle Ethernet transceiver, the cable, the fault simulation module, and the vehicle Ethernet interface; wherein the connection relationship includes a non-fault simulation connection relationship and a fault simulation connection relationship, Different fault simulation connection relationships are used to simulate different occurrence locations of the fault; the fault simulation module is controlled to switch the fault type of the fault; wherein the fault simulation connection relationship includes at least a first connection relationship and a second connection relationship, the first connection relationship is that the vehicle-mounted Ethernet transceiver, the cable, the fault simulation module, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the second connection relationship is that the vehicle-mounted Ethernet transceiver, the fault simulation module, the cable, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the fault type includes at least two of the following: a short circuit fault to ground, an open circuit fault to ground, a short circuit fault to the power supply end, and an open circuit fault to the power supply end.
[0016] In a second aspect, the present application provides a vehicle-mounted Ethernet testing method, comprising:
[0017] Controlling the power supply of the device under test and an in-vehicle Ethernet transceiver by a first test module, so that at least one link establishment time between the device under test and the in-vehicle Ethernet transceiver is tested;
[0018] Changing the quality of the communication signal between the device under test and the vehicle-mounted Ethernet transceiver by means of a second test module, so that the detection capability of the device under test for the quality of the communication signal is tested;
[0019] A cable fault between the device under test and the vehicle-mounted Ethernet transceiver is simulated by a third test module, so that the detection capability of the device under test for the cable fault is tested.
[0020] In one of the embodiments, the vehicle Ethernet testing method further includes: for one or more link establishment times among the at least one link establishment time, the moment when the power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle Ethernet transceiver is used as the starting moment of the corresponding link establishment time, wherein the power supply current includes a first power supply current and / or a second power supply current; the first power supply current is the power supply current used by the first test module to power the device under test, and the second power supply current is the power supply current used by the first test module to power the vehicle Ethernet transceiver.
[0021] In one of the embodiments, the in-vehicle Ethernet testing method also includes: obtaining starting current demand information, wherein the starting current demand information is used to determine the value or value range of the preset starting current; selecting a target current detector from a plurality of current detectors according to the starting current demand information of the device under test; wherein the plurality of current detectors can all be used to detect the first power supply current to obtain corresponding current detection results, and different current detectors among the plurality of current detectors have different ranges and / or detection accuracy; and determining a starting moment of a corresponding link establishment time based on the first power supply current detected by the target current detector.
[0022] In one of the embodiments, the at least one link establishment time includes at least one of the following: a first link establishment time, a second link establishment time and a third link establishment time; if the at least one link establishment time includes the first link establishment time, then: controlling the power supply of the device under test and the vehicle Ethernet transceiver through the first test module includes: after the device under test is stably powered, controlling the first test module to start powering the vehicle Ethernet transceiver so that a link is established between the device under test and the vehicle Ethernet transceiver, and the first link establishment time is tested; if the at least one link establishment time includes the second link establishment time, then: controlling the device under test through the first test module The power supply of the test device and the vehicle Ethernet transceiver includes: after the vehicle Ethernet transceiver is stably powered, controlling the first test module to start powering the test device so that the test device and the vehicle Ethernet transceiver start to establish a link, and the second link establishment time is tested; if the at least one link establishment time includes the third link establishment time, controlling the power supply of the test device and the vehicle Ethernet transceiver through the first test module includes: then: after the test device and the vehicle Ethernet transceiver are both stably powered, controlling the first test module to wake up the test device so that the test device and the vehicle Ethernet transceiver start to establish a link, and the third link establishment time is tested.
[0023] In one embodiment, changing the communication signal quality between the device under test and the vehicle Ethernet transceiver through the second test module includes: coupling a target noise signal into a data signal interacting between the vehicle Ethernet transceiver and the device under test through the second test module, and changing the size of the target noise signal; and: selectively determining the first noise signal provided by the external noise source or the second noise signal provided by the internal noise source as the target noise signal.
[0024] In one of the embodiments, selectively determining the first noise signal provided by the external noise source or the second noise signal provided by the internal noise source as the target noise signal includes: if the in-vehicle Ethernet test device is connected to the external noise source and the first noise signal provided by the external noise source is normal, then: controlling the second test module to use the first noise signal as the target noise signal; if the in-vehicle Ethernet test device is not connected to the external noise source, or the first noise signal is abnormal, then: controlling the second test module to use the second noise signal provided by the internal noise source as the target noise signal.
[0025] In one embodiment, the third test module includes a connection switching module, a cable, and a fault simulation module. The connection switching module is respectively connected to the vehicle-mounted Ethernet transceiver, both ends of the cable, the fault simulation module, and the vehicle-mounted Ethernet interface for connecting the device under test. The cable fault between the device under test and the vehicle-mounted Ethernet transceiver is simulated by the third test module, including: controlling the connection switching module to switch the connection relationship between the vehicle-mounted Ethernet transceiver, the cable, the fault simulation module, and the vehicle-mounted Ethernet interface; wherein the connection relationship includes a non-fault simulation connection relationship and a fault simulation connection relationship, and different The fault simulation connection relationship is used to simulate different occurrence locations of the fault; the fault simulation module is controlled to switch the fault type of the fault; wherein the fault simulation connection relationship includes at least a first connection relationship and a second connection relationship, the first connection relationship is that the vehicle-mounted Ethernet transceiver, the cable, the fault simulation module, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the second connection relationship is that the vehicle-mounted Ethernet transceiver, the fault simulation module, the cable, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the fault type includes at least two of the following: a short circuit fault to ground, an open circuit fault to ground, a short circuit fault to the power supply end, and an open circuit fault to the power supply end.
[0026] The above-mentioned vehicle Ethernet test device and vehicle Ethernet test method. The device realizes data interaction between the control module and the device under test by setting the vehicle Ethernet transceiver. By setting the first test module, the power supply of the device under test and the vehicle Ethernet transceiver can be controlled so that at least one link establishment time between the device under test and the vehicle Ethernet transceiver can be tested. By setting the second test module, the communication signal quality between the device under test and the vehicle Ethernet transceiver can be changed so that the detection ability of the device under test for the communication signal quality can be tested. By setting the third test module, the fault between the device under test and the vehicle Ethernet transceiver can be simulated so that the detection ability of the device under test for the fault can be tested. Thereby, the test of three items of the vehicle Ethernet IOP test is realized. The vehicle Ethernet test device of this embodiment can perform the operations required for the IOP test of each item on the device under test, which is more convenient and simple. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are 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 creative work.
[0028] Figure 1A schematic diagram of the structure of a vehicle Ethernet test device in one embodiment;
[0029] Figure 2 This is a second structural diagram of a vehicle-mounted Ethernet testing device in an embodiment;
[0030] Figure 3 This is a third structural diagram of a vehicle Ethernet test device in an embodiment;
[0031] Figure 4 This is a fourth structural diagram of a vehicle-mounted Ethernet test device in an embodiment;
[0032] Figure 5 A schematic diagram of a partial structure of an in-vehicle Ethernet test device in one embodiment;
[0033] Figure 6 This is a fifth structural diagram of an in-vehicle Ethernet test device in one embodiment;
[0034] Figure 7 A flowchart of a vehicle Ethernet testing method in one embodiment;
[0035] Figure 8 This is a second flowchart of a vehicle Ethernet testing method in an embodiment;
[0036] Fig. 9 This is a third flowchart of a vehicle Ethernet testing method in an embodiment;
[0037] Fig.10 This is a fourth flowchart of a vehicle Ethernet testing method in one embodiment;
[0038] Fig.11 This is the fifth flowchart of the vehicle Ethernet testing method in one embodiment.
[0039] Description of reference numerals:
[0040] 10-control module, 20-first test module, 30-second test module, 40-third test module, 50-vehicle Ethernet transceiver, 60-test device, 21-power supply, 22-current monitoring component, 31-internal noise source, 32-coupler, 33-switching module, 34-external noise source, 41-connection switching module, 42-cable, 43-fault simulation module, 44-vehicle Ethernet interface, 51-first switch unit, 52-second switch unit, 100-vehicle Ethernet test device. DETAILED DESCRIPTION
[0041] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0043] It can be understood that the terms "first", "second", etc. used in the present application can be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.
[0044] It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element, or connected to the other element through an intermediate element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc. if there is transmission of electrical signals or data between the connected objects.
[0045] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" etc. specify the presence of stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof.
[0046] In one embodiment, Figure 1 As shown, a vehicle Ethernet test device is provided, which includes: a control module 10, a first test module 20, a second test module 30, a third test module 40 and a vehicle Ethernet transceiver 50. Wherein:
[0047] The control module 10 is used for:
[0048] The first test module 20 controls the power supply of the device under test 60 and the vehicle Ethernet transceiver 50 , so that at least one link establishment time between the device under test 60 and the vehicle Ethernet transceiver 50 can be tested.
[0049] The device under test 60 may be any device having an in-vehicle Ethernet transceiver chip, for example, any one of the following or a combination of at least two of the following: an in-vehicle controller, a sensor, a communication device (such as a switch), the in-vehicle Ethernet transceiver chip itself, etc.
[0050] The vehicle Ethernet transceiver 50 includes a physical layer chip of the vehicle Ethernet. The vehicle Ethernet transceiver 50 can be directly or indirectly connected to the device under test through the vehicle Ethernet interface to achieve data interaction. In one example, the vehicle Ethernet transceiver 50 itself can determine whether the link between the vehicle Ethernet transceiver 50 and the vehicle controller is successfully established, and the control module 10 can directly obtain the end time of the link establishment time from the vehicle Ethernet transceiver 50. Of course, in other examples, the control module can also learn whether the link is successfully established from the device under test 60, and the control module 10 can directly obtain the end time of the link establishment time from the device under test 60.
[0051] The vehicle Ethernet connection time test is one of the IOP (Interoperability) tests, which is used to verify the reliability of the interaction between the vehicle controller and the vehicle Ethernet transceiver 50, and to verify whether a stable link can be established between the vehicle Ethernet transceiver 50 and the vehicle controller within a limited time. It is a test that must be performed for the vehicle Ethernet verification of the vehicle controller to ensure that the vehicle controller with Ethernet function can work normally.
[0052] The control module 10 may include at least one of the following: FPGA (Field Programmable Gate Array), MCU, ARM processor, etc. The control module 10 can be connected to the vehicle-mounted Ethernet transceiver 50 through a switch, or can be connected to the vehicle-mounted Ethernet transceiver 50 through a network cable, PCIe, RS230, RS545 or other data transmission media.
[0053] The link establishment time may be understood as the length of time from the start of link establishment to the completion of link establishment between the vehicle-mounted Ethernet transceiver 50 and the device under test 60 .
[0054] The link establishment time that needs to be tested can usually include at least three types of time, such as:
[0055] When the vehicle-mounted Ethernet transceiver 50 is stably powered and the device under test 60 is not powered, the time required for the device under test 60 to establish a link with the vehicle-mounted Ethernet transceiver 50 after the device under test 60 is powered on;
[0056] When the device under test 60 is stably powered and the vehicle Ethernet transceiver 50 is not powered, the time required for the device under test 60 to establish a link with the vehicle Ethernet transceiver 50 after the vehicle Ethernet transceiver 50 is powered on;
[0057] When both the vehicle-mounted Ethernet transceiver 50 and the device under test 60 are powered stably, the time required for the device under test 60 to establish a link with the vehicle-mounted Ethernet transceiver 50 after the device under test 60 is awakened.
[0058] For the device under test 60, stable power supply, power-on, and wake-up of the device under test 60 at least include stable power supply, power-on, and wake-up of the on-board Ethernet transceiver chip in the device under test 60. In some examples, stable power supply, power-on, and wake-up of the device under test 60 are limited to the power supply, power-on, and wake-up of the on-board Ethernet transceiver chip of the device under test, and the power supply, power-on, and wake-up of other circuit parts of the device under test 60 may not be implemented by the test device of this specification. In other examples, the power supply, power-on, and wake-up of other circuit parts of the device under test 60 may be implemented by the test device of this specification, that is, stable power supply, power-on, and wake-up of the device under test 60 are stable power supply, power-on, and wake-up of the entire device under test.
[0059] Stable power supply can be understood as: power supply and the power supply voltage and / or power supply duration meet the preset basic requirements. For example, after the power supply is turned on, the power supply supplies power to the power-consuming object (such as part or all of the device under test, and another example is the vehicle Ethernet transceiver). If the voltage supplied by the power supply reaches the voltage required by the power-consuming object (such as part or all of the circuit of the device under test, and another example is the vehicle Ethernet transceiver), it is considered that the power supply provides stable power to the power-consuming object. Alternatively, it can be considered that after the power supply is turned on for a period of time, because the power supply time is long enough, the power supply to the power-consuming object (such as part or all of the circuit of the device under test, and another example is the vehicle Ethernet transceiver) must be stable and must reach the voltage required by the power-consuming object.
[0060] Therefore, the control module 10 needs to control the power supply strategy of the vehicle Ethernet transceiver 50 and the device under test 60 through the first test module 20 (for example, the above-mentioned stable power supply, power-on control, etc., are all part of the power supply strategy. In addition, since wake-up will change the power supply situation, it can also be understood as part of the power supply strategy) to achieve the above three connection time tests. The first test module 20 in the device can be used to fully implement the operations required for the vehicle Ethernet connection time test of the device under test 60 without the need for additional external modules, and the integration is higher and more convenient. The control module 10 in the vehicle Ethernet test device controls the first test module 20 to complete the operations required for the link establishment time test, and then, the calculation process of each link establishment time can be completed by the control module 10 in one example. In other examples, the control module 10 can directly or indirectly feedback the start time and end time of the link establishment time to the outside, and then it is calculated by a person or other device. In addition, the start time and / or end time can also be directly fed back to the outside without passing through the control module 10.
[0061] The quality of the communication signal between the device under test 60 and the vehicle-mounted Ethernet transceiver 50 is changed by the second test module 30 , so that the detection capability of the device under test 60 for the quality of the communication signal can be tested.
[0062] Among them, the purpose of the Signal Quality test is, for example, to verify whether the signal quality SQI value fed back by the device under test 60 is consistent with the actual signal quality SQI value. At this time, the communication signal quality detection result mentioned in this specification can be characterized by the SQI value. The communication signal quality detection capability refers to the accuracy of the SQI value detection result of the device under test. In other examples, the signal quality detection result can also be characterized by at least one of the following: signal-to-noise ratio, delay information, signal strength, etc.
[0063] For SQI, the Signal Quality test includes an SQI test with decreasing signal quality and an SQI test with increasing signal quality. By increasing / decreasing the amplitude of the noise signal, the signal quality is actively reduced / improved, and the signal quality SQI value reported by the device under test 60 can be read at the same time. The control module 10 couples the noise signal into the data signal interacting between the vehicle Ethernet transceiver 50 and the device under test 60 through the second test module 30, and then the control module 10 controls the second test module 30 to adjust the parameters of the noise signal, so that the communication signal quality between the device under test 60 and the vehicle Ethernet transceiver 50 can be flexibly adjusted to meet the test requirements of the detection capability of the communication signal quality. Furthermore, the second test module 30 is mainly used to form changes in signal communication quality. For the process of determining the detection capability of the communication signal quality of the device under test 60, in one example, it can be completed by the control module 10. In other examples, the control module 10 can directly or indirectly feed back information on the detection results of the communication signal quality measured by the device under test 60 (such as the SQI value) to the outside, which can then be calculated by a person or other device. In addition, the information can also be directly fed back by the device under test 60 to a person or other device without passing through the control module 10.
[0064] The third test module 40 simulates a fault between the device under test 60 and the vehicle-mounted Ethernet transceiver 50 , so that the fault detection capability of the device under test 60 can be tested.
[0065] The third test module 40 can simulate various fault conditions between the device under test 60 and the vehicle-mounted Ethernet transceiver 50 , so as to facilitate comprehensive testing of the fault detection capability of the device under test 60 .
[0066] In this embodiment, the device realizes data interaction between the control module 10 and the device under test 60 by setting the vehicle Ethernet transceiver 50. By setting the first test module 20, the power supply of the device under test 60 and the vehicle Ethernet transceiver 50 can be controlled, so that at least one link establishment time between the device under test 60 and the vehicle Ethernet transceiver 50 can be tested. By setting the second test module 30, the communication signal quality between the device under test 60 and the vehicle Ethernet transceiver 50 can be changed, so that the detection ability of the device under test 60 for the communication signal quality can be tested. By setting the third test module 40, the fault between the device under test 60 and the vehicle Ethernet transceiver 50 can be simulated, so that the detection ability of the device under test 60 for the fault can be tested. Thereby, the test of three items of the vehicle Ethernet IOP test is realized. The vehicle Ethernet test device of this embodiment can perform the operations required for the IOP test of each item on the device under test 60, which is more convenient and simple.
[0067] In one embodiment, the starting point of one or more link establishment times is: the moment when the power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle-mounted Ethernet transceiver, and the power supply current includes the first power supply current and / or the second power supply current.
[0068] Among them, the first power supply current is the power supply current used by the first test module to power the device under test, which may include: the power supply current used to power the vehicle Ethernet transceiver chip of the device under test, and the second power supply current is the power supply current used by the first test module to power the vehicle Ethernet transceiver.
[0069] In conventional technologies related to the function of the first test module, the starting time of the link establishment time is usually determined as the power-on time or the wake-up time, such as the time when the device under test is triggered to power on, and the time when the vehicle-mounted Ethernet transceiver is triggered to power on. However, taking the triggered power-on as an example, after being triggered to power on, the vehicle-mounted Ethernet transceiver chip of the device under test or the vehicle-mounted Ethernet transceiver of the test device of this specification may not always start to establish a link immediately, so the calculated link establishment time may be inaccurate. Therefore, in the above embodiment, the power supply current size and the preset starting current are selected as the judgment basis to more accurately determine the starting time when the link has been established between the device under test and the vehicle-mounted Ethernet transceiver.
[0070] The preset starting current can be understood as indicating that: when the first power supply current reaches the corresponding preset starting current, the device under test or the vehicle-mounted Ethernet transceiver chip of the device under test is identified as starting to establish a link, and when the second power supply current reaches the corresponding preset starting current, the vehicle-mounted Ethernet transceiver is identified as starting to establish a link.
[0071] The value of the preset starting current can be pre-configured or measured through a limited number of experiments. In one example, the vehicle-mounted Ethernet physical layer chip (such as the vehicle-mounted Ethernet transceiver of the test device, the vehicle-mounted Ethernet transceiver chip of the device under test, etc.) will be pre-calibrated with the starting current when leaving the factory, and the test device and method of this manual can be called up for use.
[0072] The end time of the link establishment time is the time when the device under test successfully establishes a link with the vehicle Ethernet transceiver.
[0073] Among them, the vehicle-mounted Ethernet transceiver itself can determine whether the connection between the vehicle-mounted Ethernet transceiver and the vehicle-mounted controller is successfully established. The control module can directly obtain the end time of the link establishment time from the vehicle-mounted Ethernet transceiver. In other examples, the end time can also be obtained from the device under test.
[0074] It can be seen that the starting time of the link establishment time is determined by monitoring the power supply current through the first test module, and the end time of the link establishment time is obtained through the vehicle-mounted Ethernet transceiver, thereby realizing the test of the link establishment time.
[0075] In one embodiment, the control module is further used to: obtain starting current demand information, and the starting current demand information is used to determine a value or a value range of a preset starting current.
[0076] Among them, since the first test module determines the starting time of the link establishment time by measuring whether the power supply current reaches the starting current, but the starting current values or value ranges corresponding to different vehicle-mounted Ethernet transceivers and the device under test are different, it is necessary to obtain the starting current demand information in order to accurately obtain the starting current value or value range corresponding to the vehicle-mounted Ethernet transceiver and the device under test, so as to accurately determine the starting time of the link establishment time. In an example, since the vehicle-mounted Ethernet transceiver in the test device of this specification is known and fixed, it is not necessary to switch different current detectors according to different requirements, so the preset starting current corresponding to the starting current demand information can refer to the starting current demand information of the device under test.
[0077] The starting current demand information may be the value or value range corresponding to the preset starting current, or other information used to determine the value or value range, such as starting current level information, or parameter information of the on-board Ethernet transceiver chip in the device under test (such as model information). Furthermore, the preset starting current value corresponding to the device under test may be determined based on the mapping relationship between different pre-stored parameter information and different preset starting current values.
[0078] The starting current demand information can be sent by the device under test to the test device of this specification, and then obtained by the control module. In one example, the control module can obtain the starting current demand information from the device under test through a message transceiver module. For example, a CAN transceiver can be used as a message transceiver module to obtain the starting current demand information from the device under test based on the CAN bus.
[0079] The control module is also used to select a target current detector from a plurality of current detectors according to the startup current requirement information of the device under test. The plurality of current detectors can be used to detect the first power supply current to obtain a corresponding current detection result, and the range and / or detection accuracy of different current detectors in the plurality of current detectors are different.
[0080] Among them, the first test module may include multiple current detectors. The current measurement ranges of the multiple current detectors are different. For example, they may be 0-2A, 2-10A, 0-5A, 0-20A, etc. Due to different DUTs, the corresponding starting currents will be different. Therefore, it is necessary to select a suitable current detector to more accurately measure the second power supply current, and the current detector can be selected according to actual needs.
[0081] Among them, since the first test module determines whether the DUT is working by measuring whether the second power supply current of the DUT reaches the starting current, and since the current of the DUT needs to reach the starting current before it starts working, it is necessary to measure the power supply current to determine the starting moment of the Ethernet connection time. For different DUTs, the corresponding starting current will be different. Therefore, it is necessary to select a suitable current detector to more accurately measure the second power supply current, and the current detector can be selected according to actual needs.
[0082] Among them, the current of the power-consuming object (such as part or all of the circuit of the device under test, and another example is the vehicle Ethernet transceiver) will change with the power consumption and power consumption. When the power consumption is large, the voltage is fixed, P / U=I, and the current is naturally large, that is: when the power supply voltage is fixed, the working state of the power-consuming object will affect the current change, so it can be considered that when the current of the power-consuming device reaches the starting current, the power-consuming object is closer to starting to work and start to establish a link. Therefore, it is meaningful to use the moment when the current of the power-consuming object (such as part or all of the circuit of the device under test, and another example is the vehicle Ethernet transceiver) reaches the starting current as the starting moment of the link establishment time, which can more accurately reflect the moment when the actual working state is put into operation and the link is established.
[0083] Among them, the second power supply current is used to determine whether the power supply of the vehicle Ethernet transceiver reaches the starting current. At this time, because it is a built-in vehicle Ethernet transceiver in the device, its starting current is known and fixed, and a current detector with a suitable range can be selected in advance to detect the second power supply current without switching.
[0084] The control module is also used to determine the starting moment of the corresponding link establishment time based on the first power supply current detected by the target current detector.
[0085] Specifically, the principle of switching different current detectors in this embodiment to match starting currents of different sizes and improve the detection accuracy of the second power supply current is described as follows:
[0086] First, each current detector has its own preset range. For example, the range of one current detector is 0-5A, and the range of another current detector is 0-20A. It can be seen that the ranges are all from 0 to the maximum value.
[0087] On this basis, the starting current range for each current detector can be pre-assigned; for example, if the starting current is in the range of 0-2A, current detector A is used to detect the power supply current, and if the starting current is in the range of 2-5A, current detector B is used to detect the power supply current. Therefore, the current detector needs to be selected according to the range in which the starting current falls. First, it is necessary to ensure that the starting current falls within the range of the current detector.
[0088] Therefore, as long as a current detector with a large enough range is selected, it can naturally meet the measurement requirements. Why do we need to switch different current detectors in this embodiment? This involves the problem of measurement accuracy (sensitivity). When the starting current falls within the range of two current detectors at the same time, a current detector with higher sensitivity should be selected to measure the starting current. Sensitivity refers to the ability to respond to small currents. Generally speaking, the sensitivity of current detectors with larger ranges is lower, while the sensitivity of current detectors with smaller ranges is higher. Sensitivity can be understood as follows: a large-range current detector may not be able to measure a change of 0.01A, while a small-range current detector is more sensitive to a change of 0.01A and can detect it. This will result in: for example, when the starting current is 1A, when the current changes from 0.9A to 0.98A, the large-range current detector cannot distinguish between 0.98A and 1A. For the large-range current detector, it may be considered that it has risen to 1A, while the small-range current detector will think that it has not reached 1A. Such a difference between the two results in the starting current value measured by the small-range current detector being more accurate, and the starting time of the link establishment time being more accurate. In addition, generally, the greater the accuracy of the current detector, the greater the sensitivity, so the corresponding measurement range can be allocated according to the range and accuracy of different current detectors. For example, taking two current detectors as an example, the minimum value of the interval allocated by the large-range current detector is greater than the maximum value of the interval allocated by the small-range current detector. When the starting current is relatively large, a large-range current detector has to be used, which is equivalent to sacrificing sensitivity, but it ensures that the starting current can be measured. When the starting current is relatively small, a small-range current detector can be used to ensure measurement accuracy.
[0089] Furthermore, different current detectors may correspond to different current ranges. In two adjacent current ranges, the minimum value of the larger current range is greater than or equal to the maximum value of the smaller current range. In this corresponding relationship, in one example, the larger the maximum value of the current detector's range, the larger the corresponding current range, that is, the maximum value of the current detector's range is positively correlated with the value of the corresponding current range. When the control module selects a target current detector from multiple current detectors based on the starting current demand information of the device under test, it is specifically used to: according to the corresponding relationship between different current detectors and different current ranges, find the current detector corresponding to the current range to which the preset starting current of the device under test belongs as the target current detector.
[0090] In this embodiment, the first test module includes multiple current detectors, which can select and switch different current detectors according to the actual starting current of the device under test, so as to match starting currents of different sizes, improve the monitoring accuracy of the second power supply current, and further help improve the test accuracy of the Ethernet connection time.
[0091] In one embodiment, Figure 2 As shown, the first test module 20 may include a power source 21 and a current monitoring component 22 .
[0092] in,
[0093] The power supply 21 is controlled by the control module to supply power to the vehicle-mounted Ethernet transceiver and the device under test.
[0094] Among them, the vehicle-mounted Ethernet connection time test device of this embodiment has a built-in power supply 21, and no external power supply 21 board is required, so the integration is higher.
[0095] The current monitoring component 22 is used to monitor the first power supply current and the second power supply current.
[0096] The first power supply current is the current that the power supply 21 supplies to the vehicle-mounted Ethernet transceiver, and the second power supply current is the current that the power supply 21 supplies to the device under test.
[0097] The current monitoring component 22 may include a plurality of current detectors to monitor the first power supply current and the second power supply current.
[0098] In this embodiment, by setting the first test module 20 to include a power supply 21 and a current monitoring component 22, the power supply to the device under test and the vehicle Ethernet transceiver and the monitoring of the power supply current are achieved, which facilitates the vehicle Ethernet connection time test.
[0099] In one embodiment, the at least one link establishment time includes at least one of the following: a first link establishment time, a second link establishment time, and a third link establishment time.
[0100] If at least one link establishment time includes a first link establishment time, then: the control module is used to: after the device under test is stably powered, control the first test module to start powering the vehicle Ethernet transceiver so that a link is established between the device under test and the vehicle Ethernet transceiver, and the first link establishment time is tested.
[0101] The starting time of the first link establishment time may be: the time when the second power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle Ethernet transceiver.
[0102] The control module controls the first test module to supply power to the device under test, and when the device under test is stably powered (for example, when the power supply voltage reaches the preset basic requirements), controls the first test module to supply power to the vehicle-mounted Ethernet transceiver, and obtains the second power supply current on the vehicle-mounted Ethernet transceiver; when the magnitude of the second power supply current reaches the first starting current value, determines the first moment; when it is determined that the link establishment between the Ethernet transceiver and the device under test is completed, determines the second moment; according to the time difference between the first moment and the second moment, determines the first link establishment time, the first starting current value is the value of the preset starting current corresponding to the second power supply current, and the starting moment of the first link establishment time is: the moment when the second power supply current rises to the first starting current value when the device under test establishes a link with the vehicle-mounted Ethernet transceiver, the first moment is the starting moment of the link establishment time, and the second moment is the end moment of the link establishment time.
[0103] If at least one link establishment time includes a second link establishment time, then: the control module is used to: after the vehicle-mounted Ethernet transceiver is stably powered, control the first test module to start powering the device under test so that the device under test and the vehicle-mounted Ethernet transceiver start to establish a link, and the second link establishment time is tested.
[0104] The starting time of the second link establishment time may be: the time when the first power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle Ethernet transceiver.
[0105] The control module is used to control the first test module to supply power to the vehicle-mounted Ethernet transceiver; when the vehicle-mounted Ethernet transceiver is stably powered, the first test module is controlled to supply power to the device under test, and when the magnitude of the first power supply current reaches the second starting current value, the third moment is determined; when it is determined that the link establishment between the Ethernet transceiver and the device under test is completed, the fourth moment is determined; according to the time difference between the third moment and the fourth moment, the second link establishment time is determined, the second starting current value is the value of the preset starting current corresponding to the first power supply current, and the starting moment of the second link establishment time is: the moment when the first power supply current rises to the second starting current value when the device under test establishes a link with the vehicle-mounted Ethernet transceiver, the third moment is the starting moment of the link establishment time, and the fourth moment is the end moment of the link establishment time.
[0106] Of course, in other examples, the moment when the first test module is controlled to supply power to the device under test (for example, the moment when the control module sends a corresponding power supply start instruction to the first test module) may also be determined as the third moment.
[0107] If at least one link establishment time includes a third link establishment time, then: the control module is used to: after the device under test and the vehicle-mounted Ethernet transceiver are both powered stably, control the first test module to wake up the device under test so that the device under test and the vehicle-mounted Ethernet transceiver start to establish a link, and the third link establishment time is tested.
[0108] The starting time of the third link establishment time may be: the time when the first power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle Ethernet transceiver. Further, the test process may be, for example:
[0109] Among them, the control module wakes up the device under test through the message transceiver chip or the ignition switch interface. The electrical appliances on the car usually have two power supply circuits, namely the KL30 pin and the KL15 pin. It is generally believed that the KL15 pin is connected to the key ignition signal, and the KL30 pin is connected to the battery power supply. The message transceiver chip can be connected to the device under test through the CAN bus (or at least one of the LIN bus, the vehicle Ethernet bus, the ordinary Ethernet bus, the Flexray bus, etc.). The control module can send a wake-up signal to the device under test through the message transceiver chip through the corresponding bus to wake up the device under test. The ignition switch interface (KL15 pin) of the device under test can be connected to the first test module. The control module can simulate the key ignition signal by controlling the first test module to power the ignition switch interface of the device under test. At this time, the ignition switch interface of the device under test receives the key ignition signal and the device under test is awakened.
[0110] Among them, when the control module wakes up the device under test through the message transceiver chip. The control module is used to control the first test module to power the device under test and the Ethernet transceiver respectively, and when the device under test is in a non-awakened state (such as a sleep state, a low power consumption state, etc., which can be understood as the device under test as a whole is in a non-awakened state, or: the vehicle-mounted Ethernet transceiver chip of the device under test is in a non-awakened state), a wake-up signal is sent to the device under test through the message transceiver chip, and the wake-up signal can be understood as a signal that can at least wake up the vehicle-mounted Ethernet transceiver chip of the device under test. In one example, it can be a signal that wakes up the entire device under test; obtain a first power supply current on the device under test; in the first When the power supply current reaches the second starting current value, the fifth moment is determined; when it is determined that the link between the Ethernet transceiver and the device under test is completed, the sixth moment is determined; according to the time difference between the fifth moment and the sixth moment, the third link establishment time is determined, the second starting current value is the value of the preset starting current corresponding to the first power supply current, and the starting moment of the third link establishment time is: the moment when the first power supply current rises to the second starting current value when the device under test establishes a link with the vehicle-mounted Ethernet transceiver, the fifth moment is the starting moment of the link establishment time, and the sixth moment is the end moment of the link establishment time.
[0111] Of course, in other examples, the moment when the first test module is controlled to wake up the device under test (for example, the moment when the control module sends a corresponding wake-up instruction to the first test module, or the moment when the first test module sends a wake-up signal) can also be determined as the fifth moment.
[0112] Wherein, when the control module wakes up the device under test through the ignition switch interface. The control module is used to control the first test module to supply power to the device under test and the Ethernet transceiver respectively, and when the device under test is in a dormant state, control the first test module to supply power to the ignition switch interface of the device under test to wake up the device under test; obtain the first power supply current on the device under test; when the magnitude of the first power supply current reaches the second starting current value, determine the seventh moment; when it is determined that the link establishment between the Ethernet transceiver and the device under test is completed, determine the eighth moment; according to the time difference between the seventh moment and the eighth moment, determine the third link establishment time, the second starting current value is the value of the preset starting current corresponding to the first power supply current, and the starting moment of the third link establishment time is: when the first power supply current rises to the second starting current value when the device under test establishes a link with the vehicle-mounted Ethernet transceiver, the seventh moment is the starting moment of the link establishment time, and the eighth moment is the end moment of the link establishment time.
[0113] Of course, in other examples, the moment when the first test module is controlled to wake up the device under test (for example, the moment when the control module sends a corresponding wake-up instruction to the first test module, or the moment when the first test module executes the wake-up through the ignition switch interface) can also be determined as the seventh moment.
[0114] In this embodiment, three specific test methods for link establishment time are provided. By using the vehicle Ethernet test device provided in this embodiment, the control module can implement the operations required for testing the three link establishment time through the first test module.
[0115] In one embodiment, the control module is used to: couple a target noise signal into a data signal interacting between the vehicle Ethernet transceiver and the device under test through the second test module, and change the size of the target noise signal, and: selectively determine a first noise signal provided by an external noise source or a second noise signal provided by an internal noise source as the target noise signal.
[0116] In one example, if the vehicle Ethernet test device is connected to an external noise source, then: the second test module is controlled to use the first noise signal as the target noise signal; if the vehicle Ethernet test device is not connected to the external noise source, then: the second test module is controlled to use the second noise signal as the target noise signal;
[0117] In another example, the process of selectively determining whether the first noise signal or the second noise signal is used as the target noise signal may be, for example:
[0118] If the in-vehicle Ethernet test device is connected to an external noise source, and the first noise signal provided by the external noise source is normal, then: the second test module is controlled to use the first noise signal as the target noise signal.
[0119] The second test module can couple the first noise signal provided by the external noise source with the data signal, and can also couple the second noise signal provided by the internal noise source with the data signal. When there is an external noise source and the first noise signal provided by the external noise source is normal, the external noise source is used to provide the noise signal.
[0120] If the in-vehicle Ethernet test device is not connected to an external noise source, or the first noise signal is abnormal, then: the second test module is controlled to use the second noise signal provided by the internal noise source as the target noise signal.
[0121] Among them, when the in-vehicle Ethernet test equipment is not connected to an external noise source, or the first noise signal is abnormal, the second test module can be used to use the second noise signal provided by the internal noise source as the target noise signal. Therefore, even if there is no external noise source, the noise signal simulation can still be achieved through this device, and the communication signal quality detection capability of the device under test can still be tested.
[0122] Among them, the abnormality of the first noise signal, in one way: since the size change of the target noise signal is controlled by the control module, when the size change of the first noise signal is inconsistent with the size change that the control module wants to achieve or the difference between the two is evaluated to be greater than the basic requirement, and is determined to be too different and no longer controlled, the first noise signal is determined to be abnormal. For example, the frequency, phase, amplitude or signal itself of the noise signal to be controlled by the control module can be compared with the frequency, phase, amplitude or signal itself of the actual first noise signal, and then the first noise signal is determined to be abnormal when the gap is too large (it can also be understood as when the similarity is small). In another simpler way, the noise signal itself usually has the characteristics of random amplitude, random phase and extremely wide spectrum. Then, if it is detected that the first noise signal does not have at least one of these characteristics, it can also be determined that an abnormality has occurred.
[0123] In another example, the process of selectively determining whether the first noise signal or the second noise signal is used as the target noise signal may be, for example:
[0124] If the in-vehicle Ethernet test device is connected to an external noise source, the internal noise source and the external noise source are controlled to generate the same noise signal, that is, the control module controls the internal noise source and the external noise source with the goal of making the first noise signal and the second noise signal the same;
[0125] Determine a reference noise signal, which can be understood as a standardized noise signal to be integrated simulated by a control module according to control requirements;
[0126] Compare the first noise signal with the reference noise signal to obtain a first difference evaluation parameter, and compare the second noise signal with the reference noise signal to obtain a second difference evaluation parameter; the first difference evaluation parameter is used to represent the difference or similarity between the first noise signal and the reference noise signal, and the second difference evaluation parameter is used to represent the difference or similarity between the second noise signal and the reference noise signal;
[0127] According to the magnitude relationship between the first difference evaluation parameter and the second difference evaluation parameter, it is determined whether the first noise signal or the second noise signal is used as the target noise signal.
[0128] The difference evaluation parameter may be, for example, the similarity of the two groups of signals. Further, when the similarity between the first noise signal and the reference noise signal is higher than the similarity between the second noise signal and the reference noise signal, the first noise signal is determined as the target noise signal. When the similarity between the first noise signal and the reference noise signal is lower than the similarity between the second noise signal and the reference noise signal, the second noise signal is determined as the target noise signal. When the similarities are the same, either one may be selected as the target noise signal, or the selection at the previous moment may be continued without switching the selection of the noise signal.
[0129] In addition, in order to avoid frequent switching, it can also be designed as follows: when the similarity between the first noise signal and the reference noise signal is higher than the similarity between the second noise signal and the reference noise signal, and is higher than the first specified amplitude, the first noise signal is determined as the target noise signal; when the similarity between the first noise signal and the reference noise signal is lower than the similarity between the second noise signal and the reference noise signal, and is lower than the second specified amplitude (which can be the same as the first specified amplitude or different), the second noise signal is determined as the target noise signal. In other cases, the selection at the previous moment can be continued without switching the selection of the noise signal.
[0130] In terms of hardware, in order to meet the comparison requirement, the control module may detect the first noise signal and the second noise signal, for example, by directly or indirectly (eg, through an ADC circuit) connecting to the output terminals of the corresponding noise sources.
[0131] Since the internal noise source and the power supply are arranged on the same circuit board, the internal noise source itself may be interfered, causing the second noise signal to be far away from the reference noise signal. Similarly, the external noise source may also cause the first noise signal to be far away from the reference noise signal due to the instability of the interface or the external environment. In the face of such uncertainties, in the above example, a signal that is closer to the reference standard signal can be selected as the target noise signal.
[0132] The purpose of the Signal Quality test is to verify whether the signal quality SQI value fed back by the DUT is consistent with the actual signal quality SQI value. The Signal Quality test includes the SQI test with decreasing signal quality and the SQI test with increasing signal quality. The control module can actively reduce / improve the signal quality by increasing / decreasing the amplitude of the noise signal, and can also read the signal quality SQI value reported by the DUT.
[0133] In this embodiment, the second test module can be used to test the detection capability of the vehicle Ethernet communication signal quality of the device under test, that is, the signal quality test in the interoperability (IOP) test. The operations required for the signal quality test can be implemented with the help of an external noise source, or the operations required for the signal quality test can be implemented without the help of an external noise source, which enriches the possibilities of noise sources and takes into account more diverse demand possibilities.
[0134] In one embodiment, Figure 3 As shown, the second test module includes an internal noise source 31, a coupler 32, and a switching module 33, wherein:
[0135] A first end of the coupler 32 is connected to the vehicle Ethernet transceiver 50 , and a second end of the coupler 32 is connected to a vehicle Ethernet interface for connecting to a device under test 60 .
[0136] Among them, the coupler 32 can be a directional coupler 32, the directional coupler 32 includes a first end, a second end, and a third end. The first end of the directional coupler 32 is connected to the vehicle Ethernet transceiver 50, the second end of the directional coupler 32 is connected to the device under test 60, and the third end of the directional coupler 32 is connected to the switching module 33.
[0137] The first input end of the switching module 33 is connected to the internal noise source 31, and the second input end of the switching module 33 is connected to the interface for connecting the external noise source 34. The output end of the switching module 33 is used to send the first noise signal provided by the internal noise source 31 or the second noise signal provided by the external noise source 34 as the target noise signal to the third end of the coupler 32.
[0138] Wherein, the switching module 33 may include a switching switch, which can select the first input end of the switching module 33 to be connected to the output end of the switching module 33 or the second input end of the switching module 33 to be connected to the output end of the switching module 33, thereby changing the source of the target noise signal. If the first noise signal provided by the internal noise source 31 is used as the target noise signal, the control module 10 can control the internal noise source 31 to output the required noise signal under the control of the host computer or according to the pre-designed noise change. If the second noise signal provided by the external noise source 34 is used as the target noise signal, the control module 10 can communicate with the external noise source 34 through a certain communication method (such as ordinary Ethernet, controller area network bus (Controller Area Network, CAN)), etc.), and then, the control module 10 can control the external noise source 34 under the control of the host computer or according to the pre-designed noise change, and output the required noise signal.
[0139] The coupler 32 is used to couple a target noise signal into a data signal exchanged between the vehicle-mounted Ethernet transceiver 50 and the device under test 60 .
[0140] In this embodiment, the second test module 30 includes an internal noise source 31, which can directly provide a noise signal. The source of the noise signal can be switched through the switching module 33, and the first noise signal provided by the internal noise source 31 or the second noise signal provided by the external noise source 34 can be flexibly selected as the target noise signal. The second test module 30 can be used to test the detection capability of the vehicle Ethernet communication signal quality of the device under test 60, that is, the signal quality test in the interoperability (IOP) test. The external noise source 34 can be used to implement the operations required for the signal quality test, and the internal noise source 31 can be used to provide a noise signal to implement the operations required for the signal quality test, which enriches the possibilities of the noise source and takes into account more diverse demand possibilities.
[0141] In one embodiment, Figure 4 As shown, the third test module includes a connection switching module 41, a cable 42, and a fault simulation module 43. The connection switching module 41 is respectively connected to the vehicle Ethernet transceiver 50, both ends of the cable 42, the fault simulation module 43, and the vehicle Ethernet interface 44 for connecting the device under test 60. The control module is respectively connected to the connection switching module 41 and the fault simulation module 43, wherein:
[0142] The connection switching module 41 is used to switch the connection relationship among the vehicle Ethernet transceiver 50 , the cable 42 , the fault simulation module 43 , and the vehicle Ethernet interface 44 .
[0143] The connection relationship includes a non-fault simulation connection relationship and a fault simulation connection relationship, and different fault simulation connection relationships are used to simulate different fault occurrence locations. By switching the cable 42, the fault occurrence location can be switched to be the near end or the far end.
[0144] The non-fault simulation connection relationship is that the vehicle Ethernet transceiver 50 is directly connected to the vehicle Ethernet interface 44 through the connection switching module 41 , so that the vehicle Ethernet transceiver 50 and the device under test 60 perform data exchange without passing through the cable 42 and the fault simulation module 43 .
[0145] Exemplarily, the cable 42 may be a 15 m long cable 42, which is used to simulate the physical distance between the near end and the far end. If the cable 42 is connected between the location where the fault occurs and the port (e.g., the vehicle Ethernet interface of the device under test or the port of the vehicle Ethernet transceiver chip), it means that the fault is a far-end fault for the port. If the cable 42 is not connected between the location where the fault occurs and the port (e.g., the vehicle Ethernet interface of the device under test or the port of the vehicle Ethernet transceiver chip), it means that the fault is a near-end fault for the port.
[0146] Among them, the fault simulation connection relationship includes at least a first connection relationship and a second connection relationship. The first connection relationship is that the vehicle Ethernet transceiver 50, the cable 42, the fault simulation module 43, and the vehicle Ethernet interface 44 are connected in series in sequence. In this case, the fault simulation module 43 is remote relative to the vehicle Ethernet transceiver 50, and the fault simulation module 43 is proximal relative to the vehicle Ethernet interface 44. The second connection relationship is that the vehicle Ethernet transceiver 50, the fault simulation module 43, the cable 42, and the vehicle Ethernet interface 44 are connected in series in sequence. In this case, the fault simulation module 43 is proximal relative to the vehicle Ethernet transceiver 50, and the fault simulation module 43 is remote relative to the vehicle Ethernet interface 44. Therefore, the connection switching module 41 can adjust the relative distance between the fault simulation module 43 and the vehicle Ethernet transceiver 50 and the vehicle Ethernet interface 44 to achieve different occurrence locations of simulated faults.
[0147] Among them, a connection switching module 41 is used to switch the first connection relationship and the second connection relationship. Only one fault simulation module 43 can be designed to realize near-end and far-end testing. Only by switching the connection relationship, the relative position between the fault simulation module 43 and the vehicle Ethernet transceiver 50 and the vehicle Ethernet interface 44 can be adjusted, thereby realizing the reuse of the fault simulation module 43 and saving costs.
[0148] The device under test 60 may be a vehicle-mounted controller. The vehicle-mounted Ethernet transceiver 50 may be a physical layer chip of the vehicle-mounted Ethernet, and may be connected to the vehicle-mounted controller to realize data interaction.
[0149] The fault simulation module 43 is used to simulate the fault type of the link between the vehicle Ethernet transceiver 50 and the vehicle Ethernet interface 44 .
[0150] The fault types include at least two of the following: a short circuit fault to ground, an open circuit fault to ground, a short circuit fault to the power supply end, and an open circuit fault to the power supply end.
[0151] The control module 10 is used for:
[0152] The control connection switching module 41 switches the connection relationship between the vehicle Ethernet transceiver 50, the cable 42, the fault simulation module 43, and the vehicle Ethernet interface 44. The connection relationship includes a non-fault simulation connection relationship and a fault simulation connection relationship, and different fault simulation connection relationships are used to simulate different occurrence locations of faults.
[0153] The fault simulation module 43 is controlled to switch the fault type.
[0154] In this embodiment, by setting the connection switching module 41, the connection relationship between the vehicle Ethernet transceiver 50, the cable 42, the fault simulation module 43, and the vehicle Ethernet interface 44 can be switched, thereby realizing the simulation of multiple fault simulation connection relationships, facilitating the verification of the fault diagnosis performance of the device under test 60 under different fault simulation connection relationships, and the test is more comprehensive and reliable. By setting the fault simulation module 43, the fault type of the link between the vehicle Ethernet transceiver 50 and the vehicle Ethernet interface 44 can be simulated, thereby simulating various possible fault types for the device under test 60, so as to verify the diagnostic performance of the device under test 60 for various fault types. In summary, the test device of this embodiment can simulate various fault simulation connection relationships and various fault types for the device under test 60 at the physical level, and can simulate various environments for the diagnosis of the device under test 60, so as to facilitate the implementation of the operations required for the comprehensive fault diagnosis performance test of the device under test 60, and the connection relationship can be switched through the connection switching module 41, and the fault type can be switched through the fault simulation module 43, thereby improving the test efficiency and being more convenient.
[0155] In one embodiment, Figure 5 As shown, the connection switching module includes a first switch unit 51 and a second switch unit 52, wherein:
[0156] The first switch unit 51 is connected to the vehicle-mounted Ethernet transceiver 50 , the cable 42 , and the fault simulation module 43 respectively.
[0157] The second switch unit 52 is connected to the first switch unit 51 , the cable 42 , the fault simulation module 43 , and the vehicle Ethernet interface 44 respectively.
[0158] The first switch unit 51 is used to selectively conduct a path between any two of the vehicle-mounted Ethernet transceiver 50 , the cable 42 , the fault simulation module 43 , and the second switch unit 52 .
[0159] The second switch unit 52 is used to selectively conduct a path between any two of the first switch unit 51 , the cable 42 , the fault simulation module 43 , and the vehicle Ethernet interface 44 .
[0160] In this embodiment, by setting the connection switching module 30 to include a first switch unit 51 and a second switch unit 52, selective conduction of the path between any two of the vehicle Ethernet transceiver 50, the cable 42, the fault simulation module 43, and the vehicle Ethernet interface 44 can be achieved. Thus, the first connection relationship and the second connection relationship can be flexibly switched.
[0161] In one embodiment, Figure 6 As shown, it is a structural diagram of a vehicle Ethernet test device 100, the first test module may include a power supply 21 and a current monitoring component 22. The second test module includes an internal noise source 31, a coupler 32, and a switching module 33. The third test module includes a connection switching module 41, a cable 42, and a fault simulation module 43.
[0162] Among them, the functions and beneficial effects of each part included in the first test module, the second test module, and the third test module have been explained in the above embodiments and will not be repeated here.
[0163] In this embodiment, the vehicle Ethernet test device 100 provided in this embodiment can realize the test of three items of the vehicle Ethernet IOP test, and can perform the operations required for the IOP test of each item on the device under test, which is more convenient and simple.
[0164] In one embodiment, Figure 7 As shown, a vehicle-mounted Ethernet testing method is provided, the method comprising: steps S100-120.
[0165] Step S100: Controlling the power supply of the device under test and the vehicle-mounted Ethernet transceiver through a first test module, so that at least one link establishment time between the device under test and the vehicle-mounted Ethernet transceiver is tested.
[0166] Step S110: changing the quality of the communication signal between the device under test and the vehicle-mounted Ethernet transceiver through the second test module, so that the detection capability of the device under test for the quality of the communication signal is tested.
[0167] Step S120: simulating a cable fault between the device under test and the vehicle-mounted Ethernet transceiver by means of a third test module, so that the detection capability of the device under test for the cable fault is tested.
[0168] In this embodiment, the power supply of the device under test and the vehicle Ethernet transceiver can be controlled by the first test module, so that at least one link establishment time between the device under test and the vehicle Ethernet transceiver can be tested. The communication signal quality between the device under test and the vehicle Ethernet transceiver can be changed by the second test module, so that the detection capability of the device under test for the communication signal quality can be tested. The third test module can simulate the fault between the device under test and the vehicle Ethernet transceiver, so that the detection capability of the device under test for the fault can be tested. Thus, the test of the three items of the vehicle Ethernet IOP test is realized. The vehicle Ethernet test device of this embodiment can perform the operations required for the complete IOP test on the device under test, which is more convenient and simple.
[0169] In one embodiment, Figure 8 As shown, the vehicle Ethernet testing method further includes: steps S200-210.
[0170] Step S200: for one or more link establishment times among the at least one link establishment time, the time when the power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle Ethernet transceiver is used as the starting time of the link establishment time.
[0171] The power supply current includes a first power supply current and / or a second power supply current, the first power supply current is the power supply current used by the first test module to power the device under test, and the second power supply current is the power supply current used by the first test module to power the vehicle-mounted Ethernet transceiver.
[0172] In step S210, the time when the device under test and the vehicle-mounted Ethernet transceiver successfully establish a link is used as the end time of the link establishment time.
[0173] In this embodiment, the starting time of the link establishment time is determined by monitoring the power supply current, and the time when the device under test and the vehicle-mounted Ethernet transceiver successfully establish a link is used as the end time of the link establishment time, so that the operations required for testing the link establishment time can be implemented based on the starting time and the end time.
[0174] In one embodiment, Fig. 9 As shown, the vehicle Ethernet testing method further includes: steps S300-320. Among them:
[0175] Step S300, obtaining starting current demand information, where the starting current demand information is used to determine a value or value range of a preset starting current.
[0176] Step S310 , selecting a target current detector from a plurality of current detectors according to the startup current requirement information of the device under test.
[0177] Among them, since the first test module determines the starting time of the link establishment time by measuring whether the power supply current reaches the starting current, but the starting current values or value ranges corresponding to different on-board Ethernet transceivers and devices under test are different, it is necessary to obtain the starting current demand information in order to accurately obtain the starting current value or value range corresponding to the on-board Ethernet transceiver and the device under test, so as to accurately determine the starting time of the link establishment time.
[0178] Among them, multiple current detectors can all be used to detect the first power supply current to obtain corresponding current detection results, and different current detectors among the multiple current detectors have different ranges and / or detection accuracy.
[0179] Step S320: determining a start time of a corresponding link establishment time based on a first power supply current detected by a target current detector.
[0180] In this embodiment, the corresponding target current detector is selected according to the actual starting current of the device under test, so as to match starting currents of different sizes, improve the monitoring accuracy of the second power supply current, and further improve the test accuracy of the Ethernet link time.
[0181] In one embodiment, the at least one link establishment time includes at least one of the following: a first link establishment time, a second link establishment time, and a third link establishment time.
[0182] If at least one link establishment time includes a first link establishment time, then: controlling the power supply of the device under test and the vehicle-mounted Ethernet transceiver through the first test module includes: after the device under test is stably powered, controlling the first test module to start powering the vehicle-mounted Ethernet transceiver so that a link is started to be established between the device under test and the vehicle-mounted Ethernet transceiver, and the first link establishment time is tested.
[0183] If at least one link establishment time includes a second link establishment time, then: controlling the power supply of the device under test and the vehicle-mounted Ethernet transceiver through the first test module includes: after the vehicle-mounted Ethernet transceiver is stably powered, controlling the first test module to start powering the device under test so that the device under test and the vehicle-mounted Ethernet transceiver start to establish a link, and the second link establishment time is tested.
[0184] If at least one link establishment time includes a third link establishment time, then: controlling the power supply of the device under test and the on-board Ethernet transceiver through the first test module, including: after the device under test and the on-board Ethernet transceiver are both stably powered, controlling the first test module to wake up the device under test so that the device under test and the on-board Ethernet transceiver start to establish a link, and the third link establishment time is tested.
[0185] In this embodiment, three specific testing methods for link establishment time are provided, which can implement the operations required for testing the three link establishment time.
[0186] In one embodiment, step S110, changing the communication signal quality between the device under test and the vehicle Ethernet transceiver through the second test module, includes: coupling a target noise signal into the data signal interacting between the vehicle Ethernet transceiver and the device under test through the second test module, and changing the size of the target noise signal. And: selectively determining a first noise signal provided by an external noise source or a second noise signal provided by an internal noise source as the target noise signal.
[0187] In this embodiment, the second test module can flexibly select and determine the first noise signal provided by the external noise source or the second noise signal provided by the internal noise source as the target noise signal according to the requirements, so as to meet the test requirements.
[0188] In one embodiment, Fig.10 As shown, step S110, changing the communication signal quality between the device under test and the vehicle-mounted Ethernet transceiver through the second test module, includes: steps S400-420.
[0189] Step S400: coupling a target noise signal into a data signal interacting between the vehicle-mounted Ethernet transceiver and the device under test through a second test module, and varying the size of the target noise signal.
[0190] Step S410: if the in-vehicle Ethernet test device is connected to an external noise source, and the first noise signal provided by the external noise source is normal, then: control the second test module to use the first noise signal as a target noise signal.
[0191] Step S420: If the in-vehicle Ethernet test device is not connected to an external noise source, or the first noise signal is abnormal, then: control the second test module to use the second noise signal provided by the internal noise source as the target noise signal.
[0192] In this embodiment, the second test module can be used to test the detection capability of the vehicle Ethernet communication signal quality of the device under test, that is, the signal quality test in the interoperability (IOP) test. The operations required for the signal quality test can be implemented with the help of an external noise source. In the absence of an external noise source, the operations required for the signal quality test can be implemented without the help of other external modules, which is more convenient and simple.
[0193] In one embodiment, Fig.11 As shown, please refer to Figure 4 The in-vehicle Ethernet test device shown, step S120, simulates a cable fault between the device under test and the in-vehicle Ethernet transceiver through a third test module to test the detection capability of the device under test for the cable fault, including: steps S500-510.
[0194] Step S500: Control the connection switching module to switch the connection relationship between the vehicle Ethernet transceiver, the cable, the fault simulation module, and the vehicle Ethernet interface.
[0195] The connection relationship includes a non-fault simulation connection relationship and a fault simulation connection relationship, and different fault simulation connection relationships are used to simulate different occurrence locations of faults.
[0196] Step S510, controlling the fault simulation module to switch the fault type.
[0197] Among them, the fault simulation connection relationship includes at least a first connection relationship and a second connection relationship. The first connection relationship is that the vehicle-mounted Ethernet transceiver, cable, fault simulation module, and vehicle-mounted Ethernet interface are connected in series in sequence. The second connection relationship is that the vehicle-mounted Ethernet transceiver, fault simulation module, cable, and vehicle-mounted Ethernet interface are connected in series in sequence. The fault types include at least two of the following: short circuit fault to ground, open circuit fault to ground, short circuit fault to the power supply end, and open circuit fault to the power supply end.
[0198] In this embodiment, by controlling the connection switching module, the connection relationship between the vehicle Ethernet transceiver, the cable, the fault simulation module, and the vehicle Ethernet interface can be switched, thereby realizing the simulation of multiple fault simulation connection relationships, facilitating the verification of the fault diagnosis performance of the device under test under different fault simulation connection relationships, and the test is more comprehensive and reliable. By setting the fault simulation module, the fault type of the link between the vehicle Ethernet transceiver and the vehicle Ethernet interface can be simulated, thereby simulating various possible fault types for the device under test, so as to facilitate the verification of the diagnostic performance of the device under test for various fault types, simulating various fault simulation connection relationships and various fault types for the device under test at the physical level, simulating various environments for the diagnosis of the device under test, facilitating the implementation of the operations required for the comprehensive fault diagnosis performance test of the device under test, and the connection relationship can be switched through the connection switching module, and the fault type can be switched through the fault simulation module, thereby improving the test efficiency and being more convenient.
[0199] It should be understood that although Figure 7-11 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 7-11 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0200] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0201] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", "ideal embodiments", 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 invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
[0202] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0203] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A vehicle Ethernet test device, characterized in that: include: A control module, a first test module, a second test module, a third test module and an in-vehicle Ethernet transceiver; The control module is used for: Controlling the power supply of the device under test and the vehicle Ethernet transceiver by the first test module, so that at least one link establishment time between the device under test and the vehicle Ethernet transceiver can be tested; Changing the quality of the communication signal between the device under test and the vehicle-mounted Ethernet transceiver by means of a second test module, so that the detection capability of the device under test for the quality of the communication signal can be tested; The fault between the device under test and the vehicle-mounted Ethernet transceiver is simulated by the third test module, so that the detection capability of the device under test for the fault can be tested.
2. The vehicle-mounted Ethernet test device according to claim 1, characterized in that: The starting time of one or more link establishment times among the at least one link establishment time is: the time when the power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle-mounted Ethernet transceiver; the power supply current includes a first power supply current and / or a second power supply current, the first power supply current is the power supply current that the first test module uses to power the device under test, and the second power supply current is the power supply current that the first test module uses to power the vehicle-mounted Ethernet transceiver.
3. The vehicle-mounted Ethernet test device according to claim 2, characterized in that: The control module is also used for: Acquiring starting current demand information, wherein the starting current demand information is used to determine a value or a value range of the preset starting current; Selecting a target current detector from a plurality of current detectors according to the starting current requirement information of the device under test; The multiple current detectors can all be used to detect the first power supply current to obtain corresponding current detection results, and different current detectors among the multiple current detectors have different ranges and / or detection accuracy; Based on the first power supply current detected by the target current detector, a start time of the corresponding link establishment time is determined.
4. The vehicle-mounted Ethernet test device according to claim 1, characterized in that: The at least one link establishment time includes at least one of the following: a first link establishment time, a second link establishment time, and a third link establishment time; If the at least one link establishment time includes the first link establishment time, then: the control module is used to: after the device under test is stably powered, control the first test module to start powering the vehicle Ethernet transceiver, so that a link is established between the device under test and the vehicle Ethernet transceiver, and the first link establishment time is tested; If the at least one link establishment time includes the second link establishment time, then: the control module is used to: after the vehicle-mounted Ethernet transceiver is stably powered, control the first test module to start powering the device under test so that the device under test and the vehicle-mounted Ethernet transceiver start to establish a link, and the second link establishment time is tested; If the at least one link establishment time includes the third link establishment time, then: the control module is used to: after the device under test and the vehicle-mounted Ethernet transceiver are both stably powered, control the first test module to wake up the device under test so that the device under test and the vehicle-mounted Ethernet transceiver start to establish a link, and the third link establishment time is tested, wherein the control module wakes up the device under test through a message transceiver chip or an ignition switch interface.
5. The vehicle-mounted Ethernet test device according to claim 1, characterized in that: The control module is used for: coupling a target noise signal into a data signal interacting between the vehicle-mounted Ethernet transceiver and the device under test through the second test module, and changing the size of the target noise signal; And: selectively determining a first noise signal provided by an external noise source or a second noise signal provided by an internal noise source as the target noise signal.
6. The vehicle-mounted Ethernet test device according to claim 5, characterized in that: Selectively determining a first noise signal provided by the external noise source or a second noise signal provided by the internal noise source as the target noise signal, comprising: If the in-vehicle Ethernet test device is connected to an external noise source, and the first noise signal provided by the external noise source is normal, then: controlling the second test module to use the first noise signal as the target noise signal; If the in-vehicle Ethernet test device is not connected to an external noise source, or the first noise signal is abnormal, then: controlling the second test module to use the second noise signal provided by the internal noise source as the target noise signal.
7. The vehicle-mounted Ethernet test device according to claim 1, characterized in that: The third test module includes a connection switching module, a cable, and a fault simulation module, wherein the connection switching module is respectively connected to the vehicle Ethernet transceiver, two ends of the cable, the fault simulation module, and the vehicle Ethernet interface for connecting the device under test. The control module is connected to the connection switching module and the fault simulation module respectively, wherein: The control module is used for: Control the connection switching module to switch the connection relationship among the vehicle Ethernet transceiver, the cable, the fault simulation module, and the vehicle Ethernet interface; wherein the connection relationship includes a non-fault simulation connection relationship and a fault simulation connection relationship, and different fault simulation connection relationships are used to simulate different occurrence locations of the fault; Controlling the fault simulation module to switch the fault type of the fault; Among them, the fault simulation connection relationship includes at least a first connection relationship and a second connection relationship, the first connection relationship is that the vehicle-mounted Ethernet transceiver, the cable, the fault simulation module, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the second connection relationship is that the vehicle-mounted Ethernet transceiver, the fault simulation module, the cable, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the fault type includes at least two of the following: a short circuit fault to ground, an open circuit fault to ground, a short circuit fault to the power supply end, and an open circuit fault to the power supply end.
8. A vehicle Ethernet testing method, characterized in that: include: Controlling the power supply of the device under test and the vehicle Ethernet transceiver by the first test module, so that at least one link establishment time between the device under test and the vehicle Ethernet transceiver is tested; Changing the quality of the communication signal between the device under test and the vehicle-mounted Ethernet transceiver by means of a second test module, so that the detection capability of the device under test for the quality of the communication signal is tested; A cable fault between the device under test and the vehicle-mounted Ethernet transceiver is simulated by a third test module, so that the detection capability of the device under test for the cable fault is tested.
9. The vehicle-mounted Ethernet testing method according to claim 8, characterized in that: The method further comprises: For one or more of the at least one link establishment time, the moment when the power supply current rises to the corresponding preset starting current when the device under test establishes a link with the vehicle Ethernet transceiver is used as the starting moment of the corresponding link establishment time, wherein the power supply current includes a first power supply current and / or a second power supply current, the first power supply current is the power supply current used by the first test module to power the device under test, and the second power supply current is the power supply current used by the first test module to power the vehicle Ethernet transceiver.
10. The vehicle-mounted Ethernet testing method according to claim 9, characterized in that: The method further comprises: Acquiring starting current demand information, wherein the starting current demand information is used to determine a value or a value range of the preset starting current; According to the starting current requirement information of the device under test, a target current detector is selected from a plurality of current detectors; wherein the plurality of current detectors can all be used to detect the first power supply current to obtain a corresponding current detection result, and different current detectors among the plurality of current detectors have different ranges and / or detection accuracies; Based on the first power supply current detected by the target current detector, a start time of the corresponding link establishment time is determined.
11. The vehicle-mounted Ethernet testing method according to claim 10, characterized in that: The at least one link establishment time includes at least one of the following: a first link establishment time, a second link establishment time, and a third link establishment time; If the at least one link establishment time includes the first link establishment time, then: controlling the power supply of the device under test and the vehicle Ethernet transceiver by the first test module includes: after the device under test is stably powered, controlling the first test module to start powering the vehicle Ethernet transceiver so that a link is established between the device under test and the vehicle Ethernet transceiver, and the first link establishment time is tested; If the at least one link establishment time includes the second link establishment time, then: controlling the power supply of the device under test and the vehicle Ethernet transceiver by the first test module includes: after the vehicle Ethernet transceiver is stably powered, controlling the first test module to start powering the device under test so that the device under test and the vehicle Ethernet transceiver start to establish a link, and the second link establishment time is tested; If the at least one link establishment time includes the third link establishment time, then: controlling the power supply of the device under test and the vehicle Ethernet transceiver through the first test module, including: after the device under test and the vehicle Ethernet transceiver are both stably powered, controlling the first test module to wake up the device under test so that the device under test and the vehicle Ethernet transceiver start to establish a link, and the third link establishment time is tested.
12. The vehicle-mounted Ethernet testing method according to claim 8, characterized in that: Changing the communication signal quality between the device under test and the vehicle-mounted Ethernet transceiver by using a second test module includes: The target noise signal is coupled into the data signal interacting between the vehicle-mounted Ethernet transceiver and the device under test through the second test module, and the size of the target noise signal is changed; and: a first noise signal provided by an external noise source or a second noise signal provided by an internal noise source is selectively determined as the target noise signal.
13. The vehicle-mounted Ethernet testing method according to claim 12, characterized in that: Selectively determining a first noise signal provided by the external noise source or a second noise signal provided by the internal noise source as the target noise signal, comprising: If the in-vehicle Ethernet test device is connected to an external noise source, and the first noise signal provided by the external noise source is normal, then: controlling the second test module to use the first noise signal as the target noise signal; If the in-vehicle Ethernet test device is not connected to an external noise source, or the first noise signal is abnormal, then: controlling the second test module to use the second noise signal provided by the internal noise source as the target noise signal.
14. The vehicle-mounted Ethernet testing method according to claim 8, characterized in that: The third test module includes a connection switching module, a cable, and a fault simulation module, wherein the connection switching module is respectively connected to the vehicle Ethernet transceiver, two ends of the cable, the fault simulation module, and a vehicle Ethernet interface for connecting the device under test. The method of simulating a cable fault between the device under test and the vehicle-mounted Ethernet transceiver by a third test module includes: Control the connection switching module to switch the connection relationship among the vehicle Ethernet transceiver, the cable, the fault simulation module, and the vehicle Ethernet interface; wherein the connection relationship includes a non-fault simulation connection relationship and a fault simulation connection relationship, and different fault simulation connection relationships are used to simulate different occurrence locations of the fault; Controlling the fault simulation module to switch the fault type of the fault; Among them, the fault simulation connection relationship includes at least a first connection relationship and a second connection relationship, the first connection relationship is that the vehicle-mounted Ethernet transceiver, the cable, the fault simulation module, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the second connection relationship is that the vehicle-mounted Ethernet transceiver, the fault simulation module, the cable, and the vehicle-mounted Ethernet interface are connected in series in sequence, and the fault type includes at least two of the following: a short circuit fault to ground, an open circuit fault to ground, a short circuit fault to the power supply end, and an open circuit fault to the power supply end.
Citation Information
Cited By
Method and system for automatically testing consistency of vehicle-mounted Ethernet protocol
CN121283910A