Vehicle-mounted Ethernet connection time parameter measuring instrument
By designing an in-vehicle Ethernet connection time parameter measuring instrument, which automatically collects the power-on and communication connection time of the in-vehicle controller using high-side drive and microcontroller unit, the problem of cumbersome measurement in the existing technology is solved, and convenient and efficient in-vehicle Ethernet connection time measurement is realized.
Patent Information
- Application Number
- CN202520795700.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2026-03-06
- Estimated Expiration
- 2035-04-24
AI Technical Summary
Existing methods for measuring the connection time of in-vehicle Ethernet are cumbersome, requiring manual operation and calculation by testers, and the oscilloscopes are too large to be used in vehicles.
An in-vehicle Ethernet connection time parameter measuring instrument was designed, including a high-side driver, a microcontroller unit, and an in-vehicle Ethernet PHY chip. The microcontroller unit automatically controls the power supply and communication connection of the high-side driver and the in-vehicle Ethernet PHY chip, and collects and calculates the connection time point, avoiding manual operation and the use of an oscilloscope.
It enables convenient in-vehicle Ethernet connection for time measurement. The instrument is small in size and can be used directly in the vehicle. The automated measurement process requires no manual intervention, thus improving measurement efficiency.
Smart Images

Figure CN223977515U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive electronic circuit technology, and in particular to an in-vehicle Ethernet connection time parameter measuring instrument. Background Technology
[0002] The automotive industry's performance improvements in intelligent driving and smart cockpits require fast and stable in-vehicle data transmission. Automotive Ethernet, with its advantages of high bandwidth and low latency, is a core technology for meeting these data transmission needs. To ensure the performance of automotive Ethernet, its link-up time needs to be tested.
[0003] Currently, testing the connection time of automotive Ethernet primarily involves testers manually and repeatedly turning the regulated power supply of the automotive controller on and off, thus repeatedly powering on or waking it up. After powering on or waking up, the automotive controller establishes a communication connection with the Ethernet PHY chip. Therefore, by measuring the signals using an oscilloscope, testers can determine the power-on or wake-up time of the automotive controller, as well as the time when the controller successfully establishes a connection with the Ethernet PHY chip. Finally, the difference between these two time points is calculated to obtain the connection time of the automotive Ethernet.
[0004] However, this method requires testers to repeatedly turn the device on and off, and also requires them to determine time points from the oscilloscope's acquired signals and perform calculations. Therefore, the entire process is cumbersome and inefficient. Furthermore, oscilloscopes are relatively large, making it inconvenient to connect and acquire data directly in the vehicle. Tests can only be conducted using onboard controllers or other similar devices to create test scenarios, making testing with an oscilloscope very inconvenient. Utility Model Content
[0005] In view of the shortcomings of the prior art, this application provides an in-vehicle Ethernet connection time parameter measuring instrument to solve the problem that the measurement method of the prior art is not convenient enough.
[0006] To achieve the above objectives, this application provides the following technical solution:
[0007] The first aspect of this application provides an in-vehicle Ethernet connection time parameter measuring instrument, comprising:
[0008] High-side driver, microcontroller unit, automotive Ethernet PHY chip;
[0009] The two ends of the high-side drive are connected to an external power supply and an on-board controller;
[0010] The power port of the microcontroller is connected to the external power source, and the microcontroller is powered by the external power source.
[0011] The microcontroller unit is connected to the high-side drive, and outputs a signal to activate the high-side drive during measurement, thereby powering on or waking up the vehicle controller.
[0012] The microcontroller unit is connected to the connection line between the high-side drive and the vehicle controller, and collects the time point when the high-side drive outputs;
[0013] The power port of the vehicle-mounted Ethernet PHY chip is connected to the external power source, and the external power source supplies power to the vehicle-mounted Ethernet PHY chip.
[0014] The communication port of the vehicle-mounted Ethernet PHY chip is communicatively connected to the vehicle-mounted controller.
[0015] The microcontroller unit connects the vehicle Ethernet PHY chip to the vehicle controller via communication. It collects the time point at which the vehicle Ethernet PHY chip and the vehicle controller successfully connect and communicate, and compares the time point of the high-side drive output with the time point at which the vehicle Ethernet PHY chip and the vehicle controller successfully connect and communicate to obtain the Ethernet connection time.
[0016] Optionally, the above-mentioned vehicle Ethernet connection time parameter measuring instrument also includes:
[0017] Power connectors and driver output ports;
[0018] One end of the high-side drive is connected to the external power supply through the power connector, and the other end is connected to the vehicle controller through the drive output port;
[0019] The power port of the microcontroller unit is connected to the external power source via the power connector.
[0020] The microcontroller unit connects the high-side driver to the driver output port via a connection line, and collects the time point when the high-side driver outputs;
[0021] The power port of the vehicle-mounted Ethernet PHY chip is connected to the external power source via the power connector.
[0022] Optionally, in the above-mentioned vehicle Ethernet connection time parameter measuring instrument, the high-side drive includes a first high-side drive and a second high-side drive;
[0023] The drive output port includes a power output terminal and a wake-up output terminal;
[0024] The input terminals of both the first high-side driver and the second high-side driver are connected to the external power supply via the power connector.
[0025] The first high-side driver is connected to the power output terminal and powers on the vehicle controller when it is turned on;
[0026] The second high-side driver is connected to the wake-up output terminal and wakes up the vehicle controller when it is turned on.
[0027] Optionally, the above-mentioned vehicle Ethernet connection time parameter measuring instrument also includes:
[0028] Power chip;
[0029] The power ports of the microcontroller and the vehicle Ethernet PHY chip are respectively connected to the power connector via the power chip, and the power chip converts the input voltage of the external power supply into the rated voltage of the microcontroller and the vehicle Ethernet PHY chip.
[0030] Optionally, the above-mentioned vehicle Ethernet connection time parameter measuring instrument also includes:
[0031] Keyboard and display screen;
[0032] The power port of the display screen is connected to the power connector via the power chip, and the power chip outputs the rated voltage to the display screen.
[0033] The keyboard and the display screen are respectively connected to the microcontroller unit. Measurement data can be queried from the microcontroller unit via the keyboard and displayed on the display screen. The keyboard can also be used to control the microcontroller unit to perform measurement operations.
[0034] Optionally, the above-mentioned vehicle Ethernet connection time parameter measuring instrument also includes:
[0035] USB connectors and USB-to-UART chips;
[0036] One end of the USB connector is connected to an external electronic device;
[0037] The power port at the other end of the USB connector is connected to the power chip, and is connected to the microcontroller, the vehicle Ethernet PHY chip, and the display screen respectively. The electronic device connected to the USB connector supplies power to the microcontroller, the vehicle Ethernet PHY chip, and the display screen.
[0038] The communication port at the other end of the USB connector is connected to the microcontroller via the USB-to-UART chip. The USB-to-UART chip converts the debugging and configuration signals sent by the electronic device connected to the USB connector to the microcontroller.
[0039] Optionally, in the above-mentioned vehicle Ethernet connection time parameter measuring instrument, the power chip includes:
[0040] First power chip and second power chip;
[0041] The input terminal of the first power chip is connected to the power connector, and the voltage input through the power connector is converted into a set medium voltage;
[0042] The input terminal of the second power chip is connected to the power port of the USB connector and the input terminal of the first power chip, respectively, and the output terminal of the second power chip is connected to the microcontroller, the vehicle Ethernet PHY chip and the display screen, respectively, to convert the voltage of the USB connector or the input terminal of the first power chip into the rated voltage of the microcontroller, the vehicle Ethernet PHY chip and the display screen.
[0043] Optionally, in the above-mentioned vehicle Ethernet connection time parameter measuring instrument, the power chip includes:
[0044] First power chip and second power chip;
[0045] The input terminal of the first power chip is connected to the power connector, and its output terminal is connected to the microcontroller unit, the automotive Ethernet PHY chip, and the display screen, converting the voltage input through the power connector into the rated voltage of the microcontroller unit, the automotive Ethernet PHY chip, and the display screen.
[0046] The input terminal of the second power chip is connected to the power port of the USB connector, and its output terminal is connected to the microcontroller unit, the automotive Ethernet PHY chip, and the display screen, converting the voltage input through the USB connector into the rated voltage of the microcontroller unit, the automotive Ethernet PHY chip, and the display screen.
[0047] Optionally, the above-mentioned vehicle Ethernet connection time parameter measuring instrument also includes:
[0048] The microcontroller unit connects to the vehicle Ethernet PHY chip via its MDC interface or MDIO interface to configure the vehicle Ethernet PHY chip.
[0049] Optionally, the above-mentioned vehicle Ethernet connection time parameter measuring instrument also includes:
[0050] Automotive Ethernet connector;
[0051] The vehicle-mounted Ethernet PHY chip communicates with the vehicle-mounted controller via the vehicle-mounted Ethernet connector.
[0052] The microcontroller unit connects the vehicle Ethernet PHY chip to the vehicle Ethernet connector.
[0053] This application provides an in-vehicle Ethernet connection time parameter measuring instrument, including: a high-side driver, a microcontroller unit, and an in-vehicle Ethernet PHY chip. The high-side driver is connected to an external power supply and an in-vehicle controller at both ends. The power port of the microcontroller unit is connected to the external power supply, which powers the microcontroller unit. The microcontroller unit is connected to the high-side driver and outputs a signal to activate the high-side driver during measurement, thus powering on or waking up the in-vehicle controller. The microcontroller unit connects to the connection line between the high-side driver and the in-vehicle controller, and collects the time point when the high-side driver outputs, thereby obtaining the time point when the in-vehicle controller powers on or wakes up. The power port of the in-vehicle Ethernet PHY chip is connected to the external power supply, which powers the in-vehicle Ethernet PHY chip. The communication port of the in-vehicle Ethernet PHY chip is connected to the in-vehicle controller. Furthermore, the microcontroller unit connects to the communication connection between the in-vehicle Ethernet PHY chip and the in-vehicle controller, collects the time point when the in-vehicle Ethernet PHY chip and the in-vehicle controller successfully connect and communicate, and compares the time point when the high-side driver outputs with the time point when the in-vehicle Ethernet PHY chip and the in-vehicle controller successfully connect and communicate to obtain the Ethernet connection time. Because it lacks bulky components like oscilloscopes, the measuring instrument is small in size and can be directly connected to the vehicle's power supply and controller for testing. Furthermore, the microcontroller automatically and continuously measures connection time, eliminating the need for repeated on / off switching and manual calculations, thus making the entire measurement process more convenient. Attached Figure Description
[0054] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0055] Figure 1 A schematic diagram of the structure of the first type of vehicle-mounted Ethernet connection time parameter measuring instrument provided in the embodiments of this application;
[0056] Figure 2 This is a schematic diagram of the structure of the second type of vehicle-mounted Ethernet connection time parameter measuring instrument provided in the embodiments of this application;
[0057] Figure 3 A schematic diagram of data collected by the vehicle-mounted Ethernet connection time parameter measuring instrument provided in the embodiments of this application;
[0058] Figure 4 A schematic diagram of the structure of the third type of vehicle-mounted Ethernet connection time parameter measuring instrument provided in the embodiments of this application;
[0059] Figure 5 A schematic diagram of the structure of the fourth type of vehicle-mounted Ethernet connection time parameter measuring instrument provided in the embodiments of this application;
[0060] Figure 6 A schematic diagram of the structure of the fifth type of vehicle-mounted Ethernet connection time parameter measuring instrument provided in the embodiments of this application;
[0061] Figure 7 A schematic diagram of the structure of the sixth type of vehicle Ethernet connection time parameter measuring instrument provided in the embodiments of this application;
[0062] Figure 8 A schematic diagram of the structure of the seventh type of vehicle-mounted Ethernet connection time parameter measuring instrument provided in the embodiments of this application. Detailed Implementation
[0063] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0064] In this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0065] This application provides an in-vehicle Ethernet connection time parameter measuring instrument, such as... Figure 1 As shown, it includes:
[0066] High-side driver 101, microcontroller unit 102, vehicle Ethernet PHY chip 103.
[0067] like Figure 1 As shown, the two ends of the high-side driver 101 are connected to an external power supply and an on-board controller.
[0068] Here, "external power source" refers to a power source outside the measuring instrument. In this embodiment, the external power source mainly refers to the vehicle's original onboard battery or an external regulated power supply. Therefore, the external power source can supply power to the vehicle controller through the high-side driver 101.
[0069] like Figure 1 As shown, the power port (POWER) of the microcontroller 102 is connected to an external power source, which powers the microcontroller 102.
[0070] Therefore, it is evident that the vehicle-mounted Ethernet connection time parameter measuring instrument provided in this embodiment does not include large components such as oscilloscopes and power supplies, resulting in a small overall size. Furthermore, it is directly connected to an external power supply and the vehicle controller to measure Ethernet connection time. This allows for more convenient and direct measurement of Ethernet connection time within the vehicle.
[0071] And, as Figure 1 As shown, the microcontroller unit 102 is connected to the high-side driver 101. During measurement, it outputs a signal to turn on the high-side driver 101, which powers on or wakes up the vehicle controller.
[0072] Optionally, such as Figure 1 As shown, the microcontroller 102 can be connected to the high-side driver 101 via its general-purpose input / output (GPIO) port. When measurement begins, the microcontroller 102 sends control information to the high-side driver 101 to activate it. Once activated, the high-side driver 101 connects the external power supply to the vehicle controller, thus powering on or waking up the vehicle controller.
[0073] Optionally, when measurements can be started, the measurement will automatically begin after the vehicle Ethernet connection time parameter measuring instrument is connected to an external power supply and the vehicle controller. Of course, measurements can also be turned on and off manually.
[0074] Optionally, since multiple measurements are typically required during measurement, and in order to automatically perform multiple measurements, the microcontroller unit 102 sends a signal to disable the high-side distinguisher after one measurement, i.e., after obtaining an Ethernet connection time, and sends control information to the high-side driver 101 to disable the high-side driver 101. Then, it sends a control signal again to enable the high-side driver 101, thereby allowing the next measurement to begin.
[0075] like Figure 1 As shown, the microcontroller unit 102 is connected to the high-side driver 101 and the vehicle controller via a connection line, and collects the time point when the high-side driver 101 outputs.
[0076] Since the high-side driver 101 powers on or wakes up the vehicle controller when it outputs, the time when the vehicle controller starts outputting is the time when the vehicle controller powers on or wakes up. Therefore, by connecting the high-side driver 101 and the vehicle controller via the microcontroller unit 102, the output of the high-side driver 101 can be monitored, and the time of its output can be obtained, which is the time when the vehicle controller powers on or wakes up.
[0077] Optionally, the connection between the high-side driver 101 and the vehicle controller can be made via an ADC port of the microcontroller 102.
[0078] like Figure 1 As shown, the power port of the vehicle Ethernet PHY chip 103 is connected to an external power source to power the vehicle Ethernet PHY chip 103.
[0079] Furthermore, the communication port of the vehicle Ethernet PHY chip 103 is connected to the vehicle controller.
[0080] Therefore, when the vehicle Ethernet connection time parameter measuring instrument is connected to the vehicle controller, it is necessary not only to connect the high-side driver 101 to the power port of the vehicle controller, but also to connect the communication port of the vehicle controller to the vehicle Ethernet PHY chip 103, so that after the vehicle controller is powered on or woken up, a communication connection with the vehicle Ethernet PHY chip 103 can be established through this connection.
[0081] like Figure 1 As shown, the microcontroller unit 102 connects the vehicle Ethernet PHY chip 103 to the vehicle controller for communication. It collects the time point when the vehicle Ethernet PHY chip 103 and the vehicle controller successfully connect and communicate, and compares the time point when the high-side driver 101 outputs with the time point when the vehicle Ethernet PHY chip 103 and the vehicle controller successfully connect and communicate to obtain the Ethernet connection time.
[0082] It should be noted that after the vehicle-mounted Ethernet PHY chip 103 successfully connects and communicates with the vehicle controller, Ethernet communication signals can be detected during their communication. Therefore, by monitoring the presence of Ethernet communication signals, the time point at which the connection was successfully established can be obtained. Thus, by connecting the vehicle-mounted Ethernet PHY chip 103 and the vehicle controller through the microcontroller unit 102, the time point at which the vehicle-mounted Ethernet PHY chip 103 successfully connects and communicates with the vehicle controller can be collected.
[0083] Optionally, such as Figure 1 As shown, the communication connection between the vehicle-mounted Ethernet PHY chip 103 and the vehicle controller can be established by connecting the ADC port of the control unit. Furthermore, envelope detection can be performed on the high-frequency waveform of the network communication, leaving only the low-frequency waveform, which can then be acquired by the ADC port of the microcontroller unit 102 to determine the Ethernet connection status and obtain the time point of successful connection. Specifically, as follows... Figure 2 As shown, after the vehicle-mounted Ethernet PHY chip 103 is successfully connected, its MDI waveform will vibrate, and the corresponding envelope detector will become a rising edge waveform, which can be acquired by the ADC port of the microcontroller unit 102. The time point when it becomes a rising edge is the time point of successful connection.
[0084] After acquiring the time point when the high-side driver 101 outputs and the time point when the vehicle Ethernet PHY chip 103 successfully connects and communicates with the vehicle controller, the microcontroller 102 can automatically compare and calculate the two time points according to the set logic to obtain the Ethernet connection time.
[0085] Optionally, in order to better connect the various power-required devices in the instrument to an external power source, and to better connect the high-side drive 101 to the vehicle controller, therefore, as Figure 3 As shown in the embodiment of this application, the vehicle-mounted Ethernet connection time parameter measuring instrument further includes:
[0086] Power connector 104 and drive output port 105.
[0087] Among them, such as Figure 3 As shown, one end of the high-side driver 101 is connected to an external power supply via a power connector 104, and the other end is connected to the vehicle controller via a driver output port 105.
[0088] In other words, the power connector 104 is connected to an external power source, while the drive output port 105 is connected to an external vehicle controller. The two ends of the high-side drive 101 are connected to the power connector 104 and the drive output port 105, respectively. The power connector 104 and the drive output port 105 serve as ports for connecting the instrument to the external power source and the vehicle controller.
[0089] Correspondingly, the power port of the microcontroller unit 102 is connected to an external power source via the power connector 104.
[0090] The power port of the vehicle-mounted Ethernet PHY chip 103 is connected to an external power source via a power connector 104.
[0091] Therefore, the microcontroller unit 102 and the vehicle Ethernet PHY chip 103, which require power, are connected to an external power source via a power connector 104, so that an external power source can provide them with power.
[0092] Correspondingly, such as Figure 3 As shown, the microcontroller unit 102 connects the high-side driver 101 and the driver output port 105 to acquire the time point when the high-side driver 101 outputs.
[0093] Optionally, such as Figure 3 As shown, specifically, it can be a connection line between the high-side driver 101 and the driver output port 105 via the ADC port of the microcontroller unit 102.
[0094] Optionally, in order to better achieve both waking up and powering on the vehicle controller, therefore, as Figure 4 As shown, in another embodiment of this application, the high-side driver 101101 includes a first high-side driver 1011 and a second high-side driver 1012. The driver output port 105 includes a power output terminal 1051 (KL30) and a wake-up output terminal 1052 (KL15).
[0095] The first high-side driver 1011 and the second high-side driver 1012 can be exactly the same, but are used to control different input ports.
[0096] like Figure 4 As shown, the input terminals of the first high-side driver 1011 and the second high-side driver 1012 are both connected to an external power supply via a power connector 104.
[0097] The first high-side driver 1011 is connected to the power output terminal 1051 and powers on the vehicle controller when it is turned on.
[0098] The second high-side driver 1012 is connected to the wake-up output terminal 1052 and wakes up the vehicle controller when it is turned on.
[0099] Correspondingly, such as Figure 4As shown, the microcontroller unit 102 is connected to the first high-side driver 1011 and the second high-side driver 1012 through corresponding ports, enabling control of the two high-side drivers 101 respectively. Specifically, each high-side driver 101 can be connected to the two high-side drivers 101 through a GPIO port. Furthermore, the microcontroller unit 102 is connected to the power output terminal 1051 of the first high-side driver 1011 and the wake-up output terminal 1052 through corresponding ports, allowing timely acquisition of their output signals when the first high-side driver 1011 and the second high-side driver 1012 are turned on and output, thus obtaining the timing of their output signals. Optionally, the connection can be made through an ADC port.
[0100] Therefore, during a specific test, one of the high-side drivers 101 can be activated to either wake up the vehicle controller or power it on. Optionally, the selection of which high-side driver 101 to activate can be achieved by sending a corresponding instruction to the microcontroller 102, or by using pre-set logic within the microcontroller 102, such as cyclic selection or random selection, or other methods.
[0101] Optionally, considering the possibility that the output of the external power supply may not be compatible with the rated voltage of the components in the vehicle Ethernet connection time parameter measuring instrument, in another embodiment of this application, such as Figure 5 As shown, the vehicle-mounted Ethernet connection time parameter measuring instrument may further include:
[0102] Power chip 106.
[0103] Among them, such as Figure 5 As shown, the power ports of the microcontroller 102 and the vehicle Ethernet PHY chip 103 are connected to the power connector 104 via the power chip 106. The power chip 106 converts the input voltage of the external power supply into the rated voltage of the microcontroller 102 and the vehicle Ethernet PHY chip 103.
[0104] Optionally, to facilitate querying measurement data and performing other measurement operations, in another embodiment of this application, the same applies. Figure 5 As shown, it further includes:
[0105] Keyboard 107 and display screen 108.
[0106] The power port of the display screen 108 is connected to the power connector 104 via the power chip 106, and the power chip 106 outputs the rated voltage to the display screen 108.
[0107] The keyboard 107 and the display screen 108 are respectively connected to the microcontroller unit 102. The keyboard 107 is used to query the measurement data from the microcontroller unit 102 and display it on the display screen 108. The keyboard 107 is also used to control the microcontroller unit 102 to perform measurement operations, such as starting the measurement, stopping the measurement, and selecting the high-side driver 101.
[0108] Optionally, such as Figure 5 As shown, the keyboard 107 can be connected to the microcontroller unit 102 via a GPIO port, while the display screen 108 can be connected to the microcontroller unit 102 via a Display port.
[0109] Optionally, to facilitate the configuration of the vehicle Ethernet connection time parameter measuring instrument so that it can perform data measurement according to the required corresponding logic, such as configuring the logic for cyclic measurement in the microcontroller 102, and to facilitate the debugging of the vehicle Ethernet connection time parameter measuring instrument, in another embodiment of this application, the same applies. Figure 5 As shown, the vehicle-mounted Ethernet connection time parameter measuring instrument further includes:
[0110] USB connector 109 and USB to UART chip 110.
[0111] One end of the USB connector 109 is connected to an external electronic device.
[0112] Optionally, the external electronic device can be a computer or tablet, etc., so that the measuring instrument can be configured and debugged through the external electronic device.
[0113] The power port at the other end of the USB connector 109 is connected to the power chip 106.
[0114] Since the instrument was not connected to an external power source during the initial configuration and debugging process, this process was necessary to power the components and ensure their proper functioning. Figure 5 As shown, the power port at the other end of the USB connector 109 is connected to the microcontroller 102, the vehicle Ethernet PHY chip 103, and the display screen 108 via the power chip 106. Thus, the electronic device connected to the USB connector 109 supplies power to the microcontroller 102, the vehicle Ethernet PHY chip 103, and the display screen 108. That is, the input voltage of the electronic device connected to the USB connector 109 is converted by the power chip 106 and then output to the microcontroller 102, the vehicle Ethernet PHY chip 103, and the display screen 108 to supply power.
[0115] Since the USB connector 109 transmits data in USB format, while the microcontroller unit 102 uses UART format, in order for the electronic device to interact with the microcontroller unit, therefore... Figure 5 As shown, the communication port at the other end of the USB connector 109 is connected to the microcontroller unit 102 via a USB-to-UART chip 110. The USB-to-UART chip 110 converts the debugging and configuration signals sent from the electronic device connected to the USB connector 109 to the microcontroller unit 102.
[0116] Optionally, since the rated voltages of the microcontroller unit 102, the vehicle Ethernet PHY chip 103, and the display screen 108 are fixed, but considering that the rated voltages of external electronic devices may differ from those of the measuring instrument's components, and that the input voltage of the external power supply and the input voltage of the external electronic devices may also differ, in order to ensure that both the external power supply and the electronic devices can normally power the measuring instrument, therefore, optionally, as... Figure 6 As shown, the power chip 106 in this embodiment of the external electronic device includes:
[0117] The first power chip 1061 and the second power chip 1062.
[0118] The input terminal of the first power chip 1061 is connected to the power connector 104, which converts the voltage input through the power connector 104 into a set intermediate voltage.
[0119] The intermediate voltage is usually the voltage of external electronic devices, so that the output of the first power chip 1061 and electronic devices can be uniformly converted into the rated voltage of the microcontroller unit 102, the vehicle Ethernet PHY chip 103, and the display screen 108 through the second power chip 1062.
[0120] Therefore, as Figure 6 As shown, the input terminal of the second power chip 1062 is connected to the power port of the USB connector 109 and the input terminal of the first power chip 1061, respectively, and the output terminal of the second power chip 1062 is connected to the microcontroller unit 102, the vehicle Ethernet PHY chip 103 and the display screen 108, respectively, to convert the voltage of the input terminal of the USB connector 109 or the first power chip 1061 into the rated voltage of the microcontroller unit 102, the vehicle Ethernet PHY chip 103 and the display screen 108.
[0121] In another embodiment of this application, another solution is provided, such as Figure 7 As shown, the power chip 106 of the vehicle-mounted Ethernet connection time parameter measuring instrument includes:
[0122] The first power chip 1061 and the second power chip 1062.
[0123] The first power chip 1061 has its input terminal connected to the power connector 104 and its output terminal connected to the microcontroller unit 102, the vehicle Ethernet PHY chip 103, and the display screen 108. It converts the voltage input through the power connector 104 into the rated voltage of the microcontroller unit 102, the vehicle Ethernet PHY chip 103, and the display screen 108.
[0124] The input terminal of the second power chip 1062 is connected to the power port of the USB connector 109, and its output terminal is connected to the microcontroller 102, the vehicle Ethernet PHY chip 103, and the display screen 108, converting the voltage input through the USB connector 109 into the rated voltage of the microcontroller 102, the vehicle Ethernet PHY chip 103, and the display screen 108.
[0125] Thus, the external power supply and the input voltage of the electronic device are converted through the first power chip 1061 and the second power chip 1062 respectively.
[0126] Alternatively, in another embodiment of this application, in order to configure the vehicle Ethernet PHY chip 103 via the control unit, therefore, as Figure 8 As shown, it further includes:
[0127] The microcontroller unit 102 connects to the vehicle Ethernet PHY chip 103 via its MDC interface or MDIO interface to configure the vehicle Ethernet PHY chip 103.
[0128] Optionally, in another embodiment of this application, to facilitate the connection of the vehicle-mounted Ethernet PHY chip 103 in the measuring instrument to the vehicle-mounted controller, therefore, as Figure 8 As shown, it is further equipped with:
[0129] Vehicle Ethernet connector 111.
[0130] Among them, such as Figure 8 As shown, the vehicle Ethernet PHY chip 103 is connected to the vehicle controller via the vehicle Ethernet connector 111.
[0131] The microcontroller unit 102 connects the vehicle Ethernet PHY chip 103 to the vehicle Ethernet connector 111, thereby detecting the successful connection between the vehicle Ethernet PHY chip 103 and the vehicle controller by performing envelope detection on the signal on the connection.
[0132] This application provides an in-vehicle Ethernet connection time parameter measuring instrument, including: a high-side driver, a microcontroller unit, and an in-vehicle Ethernet PHY chip. The high-side driver is connected to an external power supply and an in-vehicle controller at both ends. The power port of the microcontroller unit is connected to the external power supply, which powers the microcontroller unit. The microcontroller unit is connected to the high-side driver and outputs a signal to activate the high-side driver during measurement, thus powering on or waking up the in-vehicle controller. The microcontroller unit connects to the connection line between the high-side driver and the in-vehicle controller, and collects the time point when the high-side driver outputs, thereby obtaining the time point when the in-vehicle controller is powered on or woken up. The power port of the in-vehicle Ethernet PHY chip is connected to the external power supply, which powers the in-vehicle Ethernet PHY chip. The communication port of the in-vehicle Ethernet PHY chip is connected to the in-vehicle controller. Furthermore, the microcontroller unit connects to the communication connection between the in-vehicle Ethernet PHY chip and the in-vehicle controller, collects the time point when the in-vehicle Ethernet PHY chip and the in-vehicle controller successfully connect and communicate, and compares the time point when the high-side driver outputs with the time point when the in-vehicle Ethernet PHY chip and the in-vehicle controller successfully connect and communicate to obtain the Ethernet connection time. Because it lacks bulky components like oscilloscopes, the measuring instrument is small in size and can be directly connected to the vehicle's power supply and controller for testing. Furthermore, the microcontroller automatically and continuously measures connection time, eliminating the need for repeated on / off switching and manual calculations, thus making the entire measurement process more convenient.
[0133] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0134] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle-mounted Ethernet connection time parameter measuring instrument, characterized in that, The application relates to a high-side drive, a micro control unit and a vehicle-mounted Ethernet PHY chip. The high-side drive is connected with an external power supply and a vehicle-mounted controller at two ends. The power supply port of the micro control unit is connected with the external power supply, and the micro control unit is powered by the external power supply. The micro control unit is connected with the high-side drive, and the output signal of the micro control unit opens the high-side drive to power on or wake up the vehicle-mounted controller. The micro control unit is connected with the connection line between the high-side drive and the vehicle-mounted controller, and the time point when the high-side drive outputs is collected. The power supply port of the vehicle-mounted Ethernet PHY chip is connected with the external power supply, and the vehicle-mounted Ethernet PHY chip is powered by the external power supply. The communication port of the vehicle-mounted Ethernet PHY chip is connected with the vehicle-mounted controller. The micro control unit is connected with the communication connection between the vehicle-mounted Ethernet PHY chip and the vehicle-mounted controller, and the time point when the vehicle-mounted Ethernet PHY chip and the vehicle-mounted controller successfully connect and communicate is collected. The micro control unit compares the time point when the high-side drive outputs and the time point when the vehicle-mounted Ethernet PHY chip and the vehicle-mounted controller successfully connect and communicate, and obtains the connection time of the Ethernet.
2. The on-board Ethernet connection time parameter measurer according to claim 1, characterized in that, The application further relates to a power supply connector and a drive output port. One end of the high-side drive is connected with the external power supply through the power supply connector, and the other end is connected with the vehicle-mounted controller through the drive output port. The power supply port of the micro control unit is connected with the external power supply through the power supply connector. The micro control unit is connected with the connection line between the high-side drive and the drive output port, and the time point when the high-side drive outputs is collected. The power supply port of the vehicle-mounted Ethernet PHY chip is connected with the external power supply through the power supply connector. The high-side drive comprises a first high-side drive and a second high-side drive.
3. The on-board Ethernet connection time parameter measurer according to claim 2, characterized in that, The drive output port comprises a power output end and a wake-up output end. The input ends of the first high-side drive and the second high-side drive are connected with the external power supply through the power supply connector. The first high-side drive is connected with the power output end, and powers on the vehicle-mounted controller when the first high-side drive is opened. The second high-side drive is connected with the wake-up output end, and wakes up the vehicle-mounted controller when the second high-side drive is opened. The application further relates to a power supply chip.
4. The on-board Ethernet connection time parameter measurer according to claim 2, characterized in that, The power supply ports of the micro control unit and the vehicle-mounted Ethernet PHY chip are connected with the power supply connector through the power supply chip, and the input voltage of the external power supply is converted into the rated voltage of the micro control unit and the vehicle-mounted Ethernet PHY chip by the power supply chip. The application further relates to a keyboard and a display screen. The power supply port of the display screen is connected with the power supply connector through the power supply chip, and the rated voltage output by the power supply chip is output to the display screen.
5. The on-board Ethernet connection time parameter measurer according to claim 4, characterized in that, The keyboard and the display screen are connected with the micro control unit respectively, the measurement data is inquired from the micro control unit through the keyboard and displayed on the display screen, and the measurement operation of the micro control unit is controlled through the keyboard. The application further relates to 6. The on-board Ethernet connection time parameter measurer according to claim 5, characterized in that, USB connector and USB to UART chip; One end of the USB connector is connected to an external electronic device; The power port at the other end of the USB connector is connected to the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen through the connection of the power chip, and the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen are powered by the electronic device connected to the USB connector; The communication port at the other end of the USB connector is connected to the micro control unit through the connection of the USB to UART chip, and the debugging and configuration signals sent by the electronic device connected to the USB connector to the micro control unit are converted through the USB to UART chip.
7. The on-board Ethernet connection time parameter measurer according to claim 6, characterized in that, The power chip comprises: First power chip and second power chip; The input end of the first power chip is connected to the power connector, and the voltage input through the power connector is converted into a set intermediate voltage; The input end of the second power chip is connected to the power port of the USB connector and the input end of the first power chip, and the output end of the second power chip is connected to the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen, and the voltage of the USB connector or the input end of the first power chip is converted into the rated voltage of the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen.
8. The on-board Ethernet connection time parameter measurer according to claim 6, characterized in that, The power chip comprises: First power chip and second power chip; The input end of the first power chip is connected to the power connector, and the output end of the first power chip is connected to the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen, and the voltage input through the power connector is converted into the rated voltage of the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen; The input end of the second power chip is connected to the power port of the USB connector, and the output end of the second power chip is connected to the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen, and the voltage input through the USB connector is converted into the rated voltage of the micro control unit, the vehicle-mounted Ethernet PHY chip and the display screen.
9. The on-board Ethernet connection time parameter measurer of claim 1, wherein, Further comprising: The micro control unit is connected to the vehicle-mounted Ethernet PHY chip through the MDC interface or the MDIO interface, and the vehicle-mounted Ethernet PHY chip is configured.
10. The on-board Ethernet connection time parameter measurer of claim 1, wherein, Further comprising: Vehicle-mounted Ethernet connector; The vehicle-mounted Ethernet PHY chip is connected to the vehicle-mounted controller through the connection of the vehicle-mounted Ethernet connector; The micro control unit is connected to the connection of the vehicle-mounted Ethernet PHY chip and the vehicle-mounted Ethernet connector.