Vehicle-mounted Ethernet link establishment time testing device and IOP testing device
By designing an in-vehicle Ethernet link establishment time test device that includes built-in power and current monitoring components, the problem of traditional equipment requiring an external power supply is solved, and more convenient and efficient test operations are achieved.
Patent Information
- Application Number
- CN202421243502.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2034-05-31
AI Technical Summary
Traditional Ethernet testing equipment requires an external power supply to test the Ethernet link establishment time of the on-board controller, which is inconvenient to operate.
A vehicle Ethernet link establishment time test device is designed, which includes a control module, a vehicle Ethernet transceiver, a built-in power supply and a current monitoring component. It can independently supply power and monitor the power supply current, simplifying the test process.
This device does not require an external power supply, is more convenient to operate, has higher integration, and can effectively monitor and test the Ethernet link establishment time of the vehicle controller.
Smart Images

Figure CN222381663U_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 link establishment time testing device and an IOP testing device. Background Art
[0002] With the development of the automobile industry, the automotive electrical system has become increasingly complex. In order to meet the communication and data transmission requirements of the infotainment system, assisted driving system, and vehicle networking, the requirements for automotive bus technology are getting higher and higher. The automotive bus is developing in the direction of high bandwidth. Therefore, automotive Ethernet technology is gradually emerging. The link establishment time test of automotive Ethernet is a must-do test for the vehicle controller to ensure that the vehicle controller with Ethernet function can operate normally.
[0003] In traditional technology, Ethernet test equipment is used in combination with an external power supply to test the Ethernet link establishment time of the vehicle controller.
[0004] However, conventional Ethernet test equipment requires an external power supply to test the Ethernet link establishment time of the vehicle controller, which is inconvenient to operate.
[0005] Therefore, how to test the Ethernet link establishment time of the vehicle-mounted controller is a problem that needs to be solved at present. Utility Model Content
[0006] Based on this, it is necessary to provide an in-vehicle Ethernet link establishment time test device and an IOP test device that can more conveniently test the Ethernet link establishment time of a device under test in order to solve the above technical problems.
[0007] A vehicle Ethernet link establishment time test device includes: a control module, a vehicle Ethernet transceiver, a power supply, and a current monitoring component, wherein:
[0008] The vehicle-mounted Ethernet transceiver is used to connect to the device under test.
[0009] The power supply is used to supply power to the vehicle-mounted Ethernet transceiver and to supply power to the device under test through a corresponding power supply interface;
[0010] The current monitoring component is used to monitor a first power supply current and / or a second power supply current, wherein the first power supply current is a current that the power supply supplies to the vehicle Ethernet transceiver, and the second power supply current is a current that the power supply supplies to the device under test;
[0011] The control module can control whether the power supply supplies power to the vehicle-mounted Ethernet transceiver and the device under test;
[0012] The control module can also obtain the monitoring result of the current monitoring component.
[0013] In one embodiment, the current monitoring component includes:
[0014] A first current monitoring unit, the first current monitoring unit is arranged between the power supply and the vehicle Ethernet transceiver, and the first current monitoring unit is used to monitor the first power supply current;
[0015] and / or:
[0016] A second current monitoring unit is provided between the power supply and the power supply interface, and is used for monitoring the second power supply current.
[0017] In one embodiment, the second current monitoring unit includes:
[0018] A plurality of current detectors, each of which is used to monitor the second supply current, and the current measurement ranges of the plurality of current detectors are different;
[0019] The current sampling analog-to-digital converter is used to convert the analog current signal representing the second power supply current collected by the current detector into a digital current signal and transmit it to the control module.
[0020] In one of the embodiments, the vehicle-mounted Ethernet link establishment time testing device further includes:
[0021] A first switch is provided between the power supply and the plurality of current detectors;
[0022] The control module is used to control the first switch to open or close the path between the power source and the plurality of current detectors.
[0023] In one of the embodiments, the vehicle-mounted Ethernet link establishment time testing device further includes:
[0024] A second switch, the second switch is arranged between the plurality of current detectors and the power supply interface;
[0025] The control module is used to control the second switch to open or close the path between the multiple current detectors and the power supply interface.
[0026] In one of the embodiments, the vehicle-mounted Ethernet link establishment time testing device further includes:
[0027] A third switch is provided between the power supply and the device under test;
[0028] The control module is used to control the third switch to open or close the path between the power supply and the device under test.
[0029] In one of the embodiments, the device under test includes an ignition switch interface, and the vehicle Ethernet link establishment time test device further includes a fourth switch;
[0030] The fourth switch is provided between the power supply and the ignition switch interface;
[0031] The control module is used to control the fourth switch to open and close the path between the power supply and the ignition switch interface.
[0032] In one of the embodiments, the vehicle-mounted Ethernet link establishment time test device further includes a message transceiver, and the message transceiver is used to send and receive communication signals between the control module and the device under test.
[0033] In one of the embodiments, the message transceiver is any one of the following: a CAN transceiver, a LIN transceiver, a Flexray transceiver, an Ethernet transceiver, an RS232 module, or an RS485 module.
[0034] An IOP testing device comprises the above-mentioned vehicle-mounted Ethernet link establishment time testing device.
[0035] The above-mentioned vehicle-mounted Ethernet link establishment time test device and IOP test device. By setting the power supply, the vehicle-mounted Ethernet transceiver and the device under test can be powered, so as to facilitate the subsequent testing of the Ethernet link establishment time. By setting the current monitoring component, the first power supply current and / or the second power supply current can be monitored, the first power supply current is the current that the power supply uses to power the vehicle-mounted Ethernet transceiver, and the second power supply current is the current that the power supply uses to power the device under test, so as to monitor the magnitude of the current, thereby providing a basis for determining the starting moment of the Ethernet connection time, and facilitating the testing of the Ethernet link establishment time. By setting the vehicle-mounted Ethernet transceiver to be connected to the device under test, a basic environment for the vehicle-mounted Ethernet link establishment time test is provided, which is convenient for determining the establishment time of the Ethernet connection by whether the vehicle-mounted Ethernet transceiver and the device under test establish a link. By setting the control module, it is possible to control whether the power supply powers the vehicle-mounted Ethernet transceiver and the device under test, and obtain the monitoring result of the current monitoring component, so as to facilitate the control of the vehicle-mounted Ethernet link establishment time test. In summary, by using the device provided in this application, the operations required for the vehicle Ethernet link establishment time test of the device under test can be implemented. Since a power supply is set up, compared with the solution of controlling the power supply with an external programmable power supply, this application is more convenient and simple, and has a higher degree of integration. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] 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.
[0037] FIG1 is a schematic diagram of the structure of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0038] FIG2 is a second structural schematic diagram of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0039] FIG2a is a second structural schematic diagram of a vehicle-mounted Ethernet link establishment time test device according to another embodiment;
[0040] Figure 2b This is a second structural schematic diagram of a vehicle-mounted Ethernet link establishment time test device in yet another embodiment;
[0041] FIG3 is a third structural schematic diagram of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0042] FIG4 is a fourth structural schematic diagram of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0043] FIG5 is a fifth structural diagram of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0044] FIG6 is a sixth structural diagram of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0045] FIG7 is a seventh structural diagram of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0046] FIG8 is a schematic diagram of the eighth structure of a vehicle-mounted Ethernet link establishment time test device according to an embodiment;
[0047] FIG. 9 is a ninth structural diagram of a vehicle-mounted Ethernet link establishment time testing device according to an embodiment.
[0048] Description of reference numerals:
[0049] 10-control module, 20-vehicle Ethernet transceiver, 30-power supply, 40-current monitoring component, 50-test device, 41-first current monitoring unit, 42-second current monitoring unit, 421-current detector, 422-current sampling analog-to-digital converter, 60-first switch, 61-second switch, 62-third switch, 63-fourth switch, 71-message transceiver. DETAILED DESCRIPTION
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] In one embodiment, as shown in FIG1 , a vehicle Ethernet link establishment time test device is provided, the device comprising: a control module 10, a vehicle Ethernet transceiver 20, a power supply 30, and a current monitoring component 40, wherein:
[0056] The vehicle-mounted Ethernet transceiver 20 is used to connect to the device under test 50 .
[0057] The device under test 50 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 them: an in-vehicle controller, a sensor, a communication device (such as a switch), an in-vehicle Ethernet transceiver chip itself, etc. The in-vehicle Ethernet transceiver 20 includes a physical layer chip of the in-vehicle Ethernet. The in-vehicle Ethernet transceiver 20 may be directly or indirectly connected to the device under test through an in-vehicle Ethernet interface to achieve data interaction. In one example, the in-vehicle Ethernet transceiver 20 itself may determine whether the link between the in-vehicle Ethernet transceiver 20 and the in-vehicle controller is successfully established, and the control module 10 may directly obtain the end time of the link establishment time from the in-vehicle Ethernet transceiver 20. Of course, in other examples, the control module 10 can also learn from the device under test 50 whether the link is successfully established. The control module 10 can directly obtain the end time of the link establishment time from the device under test 50. The vehicle Ethernet link establishment time test is a type of IOP (Interoperability) test, which is used to verify the reliability of the interaction between the vehicle controller and the vehicle Ethernet transceiver 20, and to verify whether a stable link can be established between the vehicle Ethernet transceiver 20 and the vehicle controller within a limited time. It is a test that must be done for the vehicle Ethernet verification of the vehicle controller to ensure that the vehicle controller with Ethernet function can work normally.
[0058] 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 may be connected to the vehicle-mounted Ethernet transceiver 20 through a switch, or may be connected to the vehicle-mounted Ethernet transceiver 20 through a network cable, PCIe, RS230, RS545 or other data transmission media.
[0059] The power supply 30 is used to supply power to the vehicle-mounted Ethernet transceiver 20 and to supply power to the device under test 50 through a corresponding power supply interface.
[0060] Among them, the in-vehicle Ethernet link establishment time test device of this embodiment has a built-in power supply 30, and no external program-controlled power supply is required, and further no external program-controlled power supply needs to be controlled, so the integration is higher.
[0061] The current monitoring component 40 is used to monitor the first power supply current and / or the second power supply current.
[0062] The first power supply current is the current that the power supply 30 supplies to the vehicle Ethernet transceiver 20 , and the second power supply current is the current that the power supply 30 supplies to the device under test 50 .
[0063] The control module 10 can control whether the power supply 30 supplies power to the vehicle-mounted Ethernet transceiver 20 and the device under test 50 .
[0064] 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 20 and the device under test 50 .
[0065] Among them, the in-vehicle Ethernet link establishment time can usually include at least three types of time, such as:
[0066] When the vehicle Ethernet transceiver 20 is stably powered and the device under test 50 is not powered, the time required for the device under test 50 to establish a link with the vehicle Ethernet transceiver 20 after the device under test 50 is powered on;
[0067] When the device under test 50 is stably powered and the vehicle Ethernet transceiver 20 is not powered, the time required for the device under test 50 to establish a link with the vehicle Ethernet transceiver 20 after the vehicle Ethernet transceiver 20 is powered on;
[0068] When both the vehicle-mounted Ethernet transceiver 20 and the device under test 50 are powered stably, the time required for the device under test 50 to establish a link with the vehicle-mounted Ethernet transceiver 20 after the device under test 50 is awakened.
[0069] For the device under test 50, stable power supply, power-on, and wake-up of the device under test 50 at least include stable power supply, power-on, and wake-up of the on-board Ethernet transceiver chip in the device under test 50. In some examples, stable power supply, power-on, and wake-up of the device under test 50 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 50 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 50 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 50 are stable power supply, power-on, and wake-up of the entire device under test.
[0070] The 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 of the power supply reaches the voltage required by the power-consuming object, it is considered that the power supply to the power-consuming object is stable. Or it can be considered that after the power supply is turned on for a period of time, the power supply to the power-consuming object must be stable. The current size is related to the working state of the circuit. The current of the power-consuming object 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. Therefore, it is considered that when the current of the power-consuming object reaches the starting current, the power-consuming object is closer to starting to work and thus starting 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 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 starts to establish a link.
[0071] Therefore, the control module 10 needs to control the power supply strategy of the vehicle Ethernet transceiver 20 and the device under test 50 through the power supply 30 (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 link establishment time tests. The control module 10 completes the operations required for the link establishment time test by controlling the power supply 30 and the current monitoring component 40. 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 feed back 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.
[0072] The control module 10 can also obtain the monitoring result of the current monitoring component 40 .
[0073] The control module 10 is also connected to the current monitoring component 40 to obtain the monitoring result of the current monitoring component 40 .
[0074] Among them, the starting moment of the link establishment time needs to be determined based on whether the first power supply current or the second power supply current reaches the corresponding starting current, so the control module 10 also needs to obtain the monitoring result of the first power supply current or the second power supply current to calculate the link establishment time.
[0075] In the related conventional technology, 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 50 is triggered to power on, and the time when the vehicle-mounted Ethernet transceiver 20 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 50 or the vehicle-mounted Ethernet transceiver 20 may not always start to establish a link immediately, so the calculated link establishment time may be inaccurate. Therefore, in this 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 50 and the vehicle-mounted Ethernet transceiver 20.
[0076] 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 50 or the vehicle-mounted Ethernet transceiver chip of the device under test 50 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 20 is identified as starting to establish a link.
[0077] 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 device in this manual can be called up for use.
[0078] In this embodiment, by setting the power supply 30, the vehicle Ethernet transceiver 20 and the device under test 50 can be powered, so as to facilitate the subsequent test of the Ethernet link establishment time. By setting the current monitoring component 40, the first power supply current and / or the second power supply current can be monitored, the first power supply current is the current that the power supply 30 supplies to the vehicle Ethernet transceiver 20, and the second power supply current is the current that the power supply 30 supplies to the device under test 50, so as to monitor the magnitude of the current, thereby determining the starting time of the Ethernet link establishment time, and facilitating the test of the Ethernet link establishment time. By setting the vehicle Ethernet transceiver 20 to be connected to the device under test 50, a basic environment for the vehicle Ethernet link establishment time test is provided, which is convenient for determining the establishment time of the Ethernet connection by whether the vehicle Ethernet transceiver 20 and the device under test 50 establish a link. By setting the control module 10, it is possible to control whether the power supply 30 supplies power to the vehicle Ethernet transceiver 20 and the device under test 50, and obtain the monitoring results of the first power supply current and / or the second power supply current, so as to facilitate the control and data analysis of the vehicle Ethernet link establishment time test. In summary, by using the device provided in this embodiment, the operations required for the vehicle Ethernet link establishment time test of the device under test 50 can be implemented, which is more convenient and simple.
[0079] In one embodiment, as shown in FIG. 2, FIG. 2a, Figure 2b As shown, the current monitoring component 40 includes: a first current monitoring unit 41 and / or a second current monitoring unit 42, wherein:
[0080] The first current monitoring unit 41 can be arranged between the power supply 30 and the vehicle Ethernet transceiver 20. For example, the first end of the first current monitoring unit 41 is connected to the power supply 30, and the second end of the first current monitoring unit 41 is connected to the vehicle Ethernet transceiver 20. The first current monitoring unit 41 is used to monitor the first power supply current.
[0081] The second current monitoring unit 42 can be arranged between the power supply 30 and the power supply interface. For example, the first end of the second current monitoring unit 42 is connected to the power supply 30, and the second end of the second current monitoring unit 42 is connected to the device under test 50 through the corresponding power supply interface. The second current monitoring unit 42 is used to monitor the second power supply current.
[0082] The current monitoring component 40 in Fig. 2 includes: a first current monitoring unit 41 and a second current monitoring unit 42. The current monitoring component 40 in Fig. 2a includes: a first current monitoring unit 41. Figure 2b The medium current monitoring component 40 includes a second current monitoring unit 42 .
[0083] In this embodiment, the effect of monitoring the first power supply current is achieved by setting the first current monitoring unit 41. The effect of monitoring the second power supply current is achieved by setting the second current monitoring unit 42. This allows the control module 10 to obtain the monitoring results of the first power supply current and the second power supply current.
[0084] In one embodiment, as shown in FIG3 , the second current monitoring unit 42 includes: a plurality of current detectors 421 and a current sampling analog-to-digital converter 422 , wherein:
[0085] Each current detector 421 is used to monitor the second power supply current. For example, a first end of the current detector 421 is connected to the power supply 30 , and a second end of the current detector 421 is connected to the device under test 50 via a corresponding power supply interface.
[0086] Among them, the current measuring ranges of the multiple current detectors 421 are different. For example, they can be 0-2A, 2-10A, 0-5A, 0-20A, etc. Due to different DUTs 50, the corresponding starting currents will be different. Therefore, it is necessary to select a suitable current detector 421 to more accurately measure the second power supply current, and the current detector 421 can be selected according to actual needs.
[0087] 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 explained:
[0088] 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.
[0089] 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.
[0090] 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 issue 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, current detectors with larger ranges have lower sensitivity, while current detectors with smaller ranges have higher sensitivity. 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 yet 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.
[0091] Among them, since the second current monitoring unit 42 is used to measure whether the second power supply current of the device under test 50 reaches the starting current, so as to realize the judgment of whether the device under test 50 is working. Since the current of the device under test 50 needs to reach the starting current before it starts to work, it is necessary to measure the power supply current to determine the starting moment of the Ethernet link establishment time.
[0092] Among them, since the first current monitoring unit 41 monitors the first power supply current, and the first power supply current is used to determine whether the power supply of the vehicle Ethernet transceiver 20 reaches the starting current, at this time, because it is the vehicle Ethernet transceiver 20 built into the device, its starting current is known and fixed, so the first current monitoring unit 41 can pre-select the current detector 421 of the appropriate range without switching.
[0093] In one example, since the vehicle-mounted Ethernet transceiver 20 in the device of this specification is known and fixed, there is no need to switch different current detectors 421 according to different requirements. Therefore, the preset starting current corresponding to the starting current requirement information can refer to the starting current requirement information of the device under test.
[0094] The starting current demand information may be the value or value range of the corresponding 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.
[0095] 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.
[0096] The current sampling analog-to-digital converter 422 can be connected to multiple current detectors 421 and the control module 10 respectively, and is used to convert the analog current signal representing the second power supply current collected by the current detector 421 into a digital current signal and transmit it to the control module 10.
[0097] In this embodiment, by setting up multiple current detectors 421 and current sampling analog-to-digital converters 422, different current detectors 421 can be selected and switched according to the actual starting current of the device under test 50, 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 establishment time.
[0098] In one embodiment, as shown in FIG4 , the vehicle Ethernet link establishment time test device further includes: a first switch 60. The first switch 60 is disposed between the power source 30 and the plurality of current detectors 421. For example, a first end of the first switch 60 is connected to the power source 30, a second end of the first switch 60 is respectively connected to the plurality of current detectors 421, and a control end of the first switch 60 is connected to the control module 10.
[0099] The control module 10 is used to control the first switch 60 to open or close the path between the power source 30 and the plurality of current detectors 421 .
[0100] In this embodiment, by setting the first switch 60, the control module 10 can control the first switch 60 to turn on or off the path between the power supply 30 and the current detector 421, so as to select which current detector 421 to turn on the path between the power supply 30 and the current detector 421, thereby achieving the effect of switching the current detector 421.
[0101] In one embodiment, as shown in FIG5 , the vehicle Ethernet link establishment time test device further includes: a second switch 61. The second switch 61 is provided between the multiple current detectors and the power supply interface, for example, the first end of the second switch 61 is respectively connected to the multiple current detectors 421, the second end of the second switch 61 is connected to the device under test 50 through the corresponding power supply interface, and the control end of the second switch 61 is connected to the control module 10.
[0102] The control module 10 is used to control the second switch 61 to open or close the path between the plurality of current detectors 421 and the device under test 50 .
[0103] The second switch 61 is connected to a power supply pin of the device under test 50, for example, the second switch 61 is connected to the KL30 power supply pin of the device under test 50. The electrical appliances in 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.
[0104] In this embodiment, by setting the second switch 61, the control module 10 can control the second switch 61 to turn on or off the path between the current detector 421 and the device under test 50, so as to select which current detector 421 to turn on the path between the device under test 50 and achieve the effect of switching the current detector 421.
[0105] In one embodiment, as shown in Fig. 6, the vehicle Ethernet link establishment time test device further includes: a third switch 62. The third switch 62 is disposed between the power supply 30 and the device under test 50, and the control end of the third switch 62 is connected to the control module 10 (not shown in the figure).
[0106] The control module 10 is used to control the third switch 62 to open or close the path between the power source 30 and the device under test 50 .
[0107] In this embodiment, by providing the third switch 62 , the control module 10 can control whether the power supply 30 supplies power to the device under test 50 by controlling the third switch 62 to turn on or off the path between the power supply 30 and the device under test 50 .
[0108] In one embodiment, as shown in FIG. 7 , the device under test 50 includes an ignition switch interface, and the vehicle-mounted Ethernet link establishment time test device further includes a fourth switch 63 .
[0109] The fourth switch 63 is disposed between the power source 30 and the ignition switch interface. For example, a second end of the fourth switch 63 is connected to the ignition switch interface, and a control end of the fourth switch 63 is connected to the control module 10 (not shown in the figure).
[0110] As shown in Figure 8, the vehicle-mounted Ethernet link establishment time test device includes a third switch 62 and a fourth switch 63. For example, the first end of the third switch 62 is connected to the power supply 30, and the second end of the third switch 62 is respectively connected to the first end of the fourth switch 63 and the first end of the second current monitoring unit 42.
[0111] The second end of the fourth switch 63 is connected to the ignition switch interface, and the control end of the fourth switch 63 is connected to the control module 10 (not shown in the figure).
[0112] The fourth switch 63 is connected to an ignition switch interface of the device under test 50. The electrical appliances in the car usually have two power supply circuits, namely KL30 pin and KL15 pin. It is generally believed that the KL15 pin is connected to the key ignition signal, the KL30 pin is connected to the battery power supply, and the ignition switch interface is the KL15 pin.
[0113] The control module 10 is used to control the fourth switch 63 to open and close the path between the power source 30 and the ignition switch interface.
[0114] In this embodiment, by setting the fourth switch 63, the control module 10 can control whether the power supply 30 supplies power to the ignition switch interface of the device under test 50 by controlling the fourth switch 63 to be turned on or off, thereby triggering the ignition signal.
[0115] In addition, a fifth switch may be provided between the power supply 30 and the vehicle Ethernet transceiver 20 , and the control module is used to control the fifth switch to turn on or off the path between the power supply and the vehicle Ethernet transceiver 20 , thereby controlling whether the vehicle Ethernet transceiver 20 is powered.
[0116] The control module can be connected to the power supply 30 to control whether it supplies power to the device under test 50 and / or the vehicle-mounted Ethernet transceiver 20, or it can control whether the power supply 30 supplies power by controlling corresponding switches (for example, at least one of the third switch, the first switch, the second switch, the fifth switch, etc.).
[0117] In one embodiment, as shown in FIG9 , the vehicle-mounted Ethernet link establishment time test device further includes a message transceiver 71. The message transceiver 71 is used to send and receive communication signals between the control module 10 and the device under test 50. For example, a first end of the message transceiver 71 is connected to the control module 10, and a second end of the message transceiver 71 is connected to the device under test 50.
[0118] The control module 10 directly sends a wake-up signal to the device under test 50 through the message transceiver 71 to wake up the device under test 50, thereby facilitating the test of the link establishment time.
[0119] The message transceiver 71 may be a transceiver of a controller area network (CAN) bus, which can realize the transmission and reception of CAN signals. In other examples, the message transceiver 71 may also be any one of the following: a Flexray transceiver, a LIN transceiver, an RS232 module, an RS485 module, another Ethernet transceiver dedicated to communication (which may be a common Ethernet transceiver or another vehicle-mounted Ethernet transceiver other than the vehicle-mounted Ethernet transceiver 20), etc.
[0120] Among them, the control module 10 wakes up the DUT through the ignition switch interface or the message transceiver 71. The electrical appliances in 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. Taking the message transceiver 71 as an example, the message transceiver 71 is connected to the DUT through the CAN bus. The control module 10 can send a wake-up signal to the DUT through the CAN bus through the message transceiver 71 to wake up the DUT. The control module 10 outputs the wake-up signal by controlling the ignition switch interface to simulate the key ignition signal. At this time, the ignition switch interface of the DUT receives the key ignition signal, and the DUT is awakened.
[0121] In this embodiment, the control module 10 is directly connected to the device under test 50 through the message transceiver 71 , so that the device under test 50 can be directly awakened by sending a wake-up signal to the device under test 50 , or can be awakened through an ignition switch interface.
[0122] Based on the same inventive concept, an embodiment of the present invention further provides an IOP test device. The IOP test device includes any one of the vehicle Ethernet link establishment time test devices provided in the above embodiments. Therefore, the IOP test device also has the beneficial effects of the vehicle Ethernet link establishment time test device in the above embodiments. The similarities can be understood by referring to the above explanation of the vehicle Ethernet link establishment time test device, which will not be repeated below.
[0123] In the description of this specification, the descriptions with reference to the terms "some embodiments", "other embodiments", "ideal embodiments", etc., mean that the specific features, structures, materials, or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the utility model. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
[0124] 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.
[0125] 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 utility model 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-mounted Ethernet link establishment time test device, characterized in that: include: Control module, vehicle Ethernet transceiver, power supply, current monitoring components, including: The vehicle-mounted Ethernet transceiver is used to connect to the device under test. The power supply is used to supply power to the vehicle-mounted Ethernet transceiver and to supply power to the device under test through a corresponding power supply interface; The current monitoring component is used to monitor a first power supply current and / or a second power supply current, wherein the first power supply current is a current that the power supply supplies to the vehicle Ethernet transceiver, and the second power supply current is a current that the power supply supplies to the device under test; The control module can control whether the power supply supplies power to the vehicle-mounted Ethernet transceiver and the device under test; The control module can also obtain the monitoring result of the current monitoring component.
2. The vehicle-mounted Ethernet link establishment time test device according to claim 1, characterized in that: The current monitoring component comprises: A first current monitoring unit, the first current monitoring unit is arranged between the power supply and the vehicle Ethernet transceiver, and the first current monitoring unit is used to monitor the first power supply current; and / or: A second current monitoring unit is provided between the power supply and the power supply interface, and is used for monitoring the second power supply current.
3. The vehicle-mounted Ethernet link establishment time test device according to claim 2, characterized in that: The second current monitoring unit comprises: A plurality of current detectors, each of which is used to monitor the second supply current, and the current measurement ranges of the plurality of current detectors are different; The current sampling analog-to-digital converter is used to convert the analog current signal representing the second power supply current collected by the current detector into a digital current signal and transmit it to the control module.
4. The vehicle-mounted Ethernet link establishment time test device according to claim 3, characterized in that: The vehicle-mounted Ethernet link establishment time test device also includes: A first switch is provided between the power supply and the plurality of current detectors; The control module is used to control the first switch to open or close the path between the power source and the plurality of current detectors.
5. The vehicle-mounted Ethernet link establishment time test device according to claim 3, characterized in that: The vehicle-mounted Ethernet connection time testing device also includes: A second switch, the second switch is arranged between the plurality of current detectors and the power supply interface; The control module is used to control the second switch to open or close the path between the multiple current detectors and the power supply interface.
6. The vehicle-mounted Ethernet link establishment time test device according to claim 1, characterized in that: The vehicle-mounted Ethernet link establishment time test device also includes: A third switch is provided between the power supply and the device under test; The control module is used to control the third switch to open or close the path between the power supply and the device under test.
7. The vehicle-mounted Ethernet link establishment time test device according to claim 1, characterized in that: The device under test includes an ignition switch interface, and the vehicle-mounted Ethernet link establishment time test device also includes a fourth switch; The fourth switch is provided between the power supply and the ignition switch interface; The control module is used to control the fourth switch to open or close the path between the power source and the ignition switch interface.
8. The vehicle-mounted Ethernet link establishment time test device according to claim 1, characterized in that: The vehicle-mounted Ethernet link establishment time test device further includes a message transceiver, and the message transceiver is used to send and receive communication signals between the control module and the device under test.
9. The vehicle-mounted Ethernet link establishment time test device according to claim 8, characterized in that: The message transceiver is any one of the following: CAN transceiver, LIN transceiver, Flexray transceiver, Ethernet transceiver, RS232 module, RS485 module.
10. An IOP testing device, characterized in that: It comprises the vehicle-mounted Ethernet link establishment time testing device as described in any one of claims 1-9.