Vehicle-mounted communication acquisition system and vehicle-mounted communication debugging system

By designing an on-board communication acquisition system that includes components such as Ethernet switches, universal serial interfaces, communication protocol converters, etc., the problem that existing systems cannot be debugged through on-board networks and Ethernet communications at the same time is solved, and multiple people have been realized The collaborative debugging function improves the flexibility and applicability of the system.

CN222531709UActive Publication Date: 2025-02-25SAIC MOTOR
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202420065017.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-02-25
Estimated Expiration
2034-01-10

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The utility model discloses a vehicle-mounted communication acquisition system and a vehicle-mounted communication debugging system, the vehicle-mounted communication acquisition system comprises a universal serial interface in communication connection with an upper computer, and vehicle-mounted communication data acquired by the upper computer is transmitted to a communication protocol converter through the universal serial interface; the communication protocol converter can convert the data into Ethernet communication data, so that the problem of adjusting and debugging the system through a vehicle-mounted network communication mode and an Ethernet communication mode at the same time can be solved; the vehicle-mounted communication acquisition system further comprises a physical layer interface transceiver, the physical layer interface transceiver comprises two types of physical layer interfaces which are connected with each other and are in communication connection with the upper computers or the debugged pieces, and the upper computers can perform data interaction through the Ethernet switch so that the upper computers can access and debug the debugged pieces. The problem that multiple persons cannot debug the same vehicle-mounted controller or sensor and other debugged parts together can be solved, the upper computer and the debugged parts are directly connected with the vehicle-mounted communication acquisition system through the reserved interfaces, and convenience, rapidness and high operability are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of vehicle-mounted communication acquisition, and in particular to a vehicle-mounted acquisition communication system and a vehicle-mounted communication debugging system comprising the same. Background Art

[0002] With the development of vehicle intelligence and networking, the mode of vehicle communication is also changing. Based on the current mainstream mode of vehicle network communication, a series of debugging systems for vehicle network communication have been derived to realize the monitoring and calibration of vehicle ECU or sensors. The existing mainstream of vehicle network debugging tools are divided into three categories: one is an independent debugging vehicle communication system that meets the monitoring of vehicle network communication; one is a single-channel 100M Ethernet debugging vehicle communication system that independently meets the vehicle Ethernet communication; the last is a Gigabit Ethernet debugging vehicle communication system that independently meets the vehicle Ethernet communication. Such a single design inevitably needs to adjust and debug the vehicle communication system according to the vehicle communication mode. It cannot meet the debugging of the vehicle communication system through vehicle network communication and Ethernet communication at the same time; and there are incompatibility issues in the network interface and it cannot meet the needs of multiple clients to jointly test the same vehicle controller or sensor through the host computer.

[0003] In the prior art, a Chinese patent with publication number CN219268888U discloses a distributed switching system and vehicle-mounted equipment for a vehicle network. Through a number of cascaded switches, the system solves the problem that it is difficult to achieve adaptive compatibility and configuration management of various network interfaces when there are multiple network interfaces in the vehicle network. However, there are still problems such as the inability to debug the vehicle communication system through the vehicle network communication and Ethernet communication at the same time and the inability to meet the needs of multiple people to jointly debug the same vehicle controller or sensor or other debugged components. Utility Model Content

[0004] The purpose of the utility model is to solve the problems that the vehicle-mounted communication debugging system in the prior art cannot meet the requirements of debugging the communication system through vehicle-mounted network communication and Ethernet communication at the same time and cannot meet the requirements of multiple people jointly debugging the same vehicle-mounted controller or sensor or other debugged components.

[0005] To solve the above technical problems, the implementation mode of the utility model discloses a vehicle-mounted communication acquisition system, comprising at least one Ethernet switch, a universal serial interface, a communication protocol converter, an Ethernet access interface, a local area network communication interface, a serial management interface, and a physical layer interface transceiver; wherein at least one Ethernet switch comprises multiple ports, and when at least one Ethernet switch is multiple Ethernet switches, the multiple Ethernet switches are cascaded; one end of the universal serial interface is communicatively connected to the communication protocol converter, and the other end is used for communication connection with a host computer; the communication protocol converter is also respectively communicatively connected to one end of the local area network communication interface and the Ethernet adapter interface, the other end of the Ethernet access interface is connected to a port of at least one Ethernet switch, and the other end of the local area network communication interface is used for communication connection with a vehicle-mounted communication bus.

[0006] In addition, the physical layer interface transceiver includes a communication interface and multiple physical layer interfaces connected to each other, one end of the serial management interface is connected to the local area network communication interface, and the other end is communicatively connected to the communication interface; one end of each of the multiple physical layer interfaces is communicatively connected to a port of at least one Ethernet switch, and the multiple physical layer interfaces include at least two types, the other end of each physical layer interface of the first type of at least two types is respectively used for communication connection with a host computer, and the other end of each physical layer interface of the second type of at least two types is respectively used for communication connection with a debugged component.

[0007] The vehicle-mounted communication acquisition system includes a universal serial interface connected to the host computer, the other end of the universal serial interface is connected to one end of the communication protocol converter, and the other end of the communication protocol converter is respectively connected to the local area network communication interface and the port of the Ethernet switch. The host computer data is transmitted to the communication protocol converter via the universal serial interface, which can convert the vehicle-mounted communication data into an Ethernet communication method consistent with the Ethernet switch communication method and send the data to the Ethernet access interface. The Ethernet access interface packages the data and sends the data to the physical layer interface transceiver in a specified frame format to complete data access. Through the above vehicle-mounted communication acquisition system, the problem of adjusting and debugging the system through both vehicle-mounted network communication and Ethernet communication methods can be solved.

[0008] Furthermore, the vehicle-mounted communication acquisition system includes a physical layer interface transceiver, wherein the physical layer interface transceiver includes a communication interface and multiple physical layer interfaces that are interconnected and physically connected to an Ethernet switch port, and the multiple physical layer interfaces include at least two types, each physical layer interface of the first type is connected to a host computer for communication, and each physical layer interface of the second type is connected to a debugged device for communication. The physical layer interfaces are connected to each other, and each host computer that is connected to the other end of each physical layer interface of the first type can exchange data through the Ethernet switch so that the host computer can access and debug each debugged device that is connected to the other end of each physical layer interface of the second type, which can solve the problem that multiple people cannot jointly debug the same vehicle-mounted controller or sensor or other debugged device.

[0009] According to another specific embodiment of the present utility model, in the vehicle-mounted communication acquisition system disclosed in the embodiment of the present utility model, when at least one Ethernet switch is a plurality of Ethernet switches, the vehicle-mounted communication acquisition system includes a configuration module, and a plurality of master serial peripheral interfaces arranged in a one-to-one correspondence with the plurality of Ethernet switches; wherein one end of the configuration module is connected to the universal serial interface, and the other end is communicatively connected to one end of the plurality of master serial peripheral interfaces, each of the plurality of Ethernet switches includes a slave serial peripheral interface, and the slave serial peripheral interface of each Ethernet switch is communicatively connected to the other end of the corresponding master serial peripheral interface.

[0010] The above technical solution supports the host computer to flexibly configure the virtual LAN to establish a virtual point-to-point connection, realize the filtering and control of the collected data stream, and improve the security of data transmission and network communication.

[0011] According to another specific embodiment of the present utility model, in the vehicle-mounted communication collection system disclosed in the embodiment of the present utility model, at least one Ethernet switch is two Ethernet switches, and the two Ethernet switches each have one port for communication connection.

[0012] By adopting the above technical solution, the cascaded Ethernet switches can realize port expansion and improve the applicability of the vehicle-mounted communication acquisition system.

[0013] According to another specific embodiment of the utility model, the vehicle-mounted communication acquisition system disclosed in the embodiment of the utility model, the communication protocol converter includes a LAN communication buffer interface and an Ethernet buffer interface for communication connection; wherein

[0014] One end of the LAN communication buffer interface is connected to the universal serial interface for communication, and the other end is connected to the LAN communication interface for communication. The Ethernet buffer interface is connected to the Ethernet access interface for communication.

[0015] By adopting the above technical solution, the communication protocol converter includes a LAN communication buffer interface and an Ethernet buffer interface, and the collected data can be temporarily cached in different buffer interfaces. The delay caused by the storage conversion directly leads to a reduction in the real-time performance of the communication, so as to coordinate the communication speed difference between the LAN communication end and the Ethernet end and improve the reliability of the communication conversion.

[0016] According to another specific embodiment of the utility model, the vehicle-mounted communication acquisition system disclosed in the embodiment of the utility model has at least two types of multiple physical layer interfaces of two types, and each physical layer interface of the first type is configured to support a 100 / 1000base-TX standard wiring harness; each physical layer interface of the second type is configured to support a 100 / 1000base-T1 standard wiring harness.

[0017] By adopting the above technical solution, the physical layer interface includes a first type supporting a 100 / 1000base-TX standard wiring harness and a second type supporting a 100 / 1000base-T1, which can solve the compatibility problem of different network interfaces. In addition, the 100 / 1000base-TX standard wiring harness is used to transmit data, thereby improving the data transmission efficiency of the vehicle-mounted communication acquisition system.

[0018] According to another specific embodiment of the present utility model, the vehicle-mounted communication acquisition system disclosed in the embodiment of the present utility model also includes a microcontroller, and the universal serial interface, communication protocol converter, Ethernet access interface, local area network communication interface, and serial management interface are all integrated in the microcontroller; when the vehicle-mounted communication acquisition system includes a configuration module and multiple main serial peripheral interfaces, the configuration module and the multiple main serial peripheral interfaces are all integrated in the microcontroller.

[0019] By adopting the above technical solution, the universal serial interface, communication protocol converter, Ethernet access interface, LAN communication interface, serial management interface, configuration module and main serial peripheral interface are all integrated into the microcontroller, which can improve the integration of the vehicle-mounted communication acquisition system while saving the layout space of each interface.

[0020] According to another specific embodiment of the present utility model, the vehicle-mounted communication collection system disclosed in the embodiment of the present utility model further includes an indication unit, which is integrated in the microcontroller, and the indication unit is communicatively connected to the physical layer interface transceiver to indicate the connection status and data flow status of the physical layer interface transceiver.

[0021] By adopting the above technical solution, the indication unit is integrated into the microcontroller, which improves the integration of the vehicle-mounted communication acquisition system and indicates the connection status between the physical layer interfaces and the data flow status, making the connection and data interaction between the physical layer interfaces more intuitive.

[0022] According to another specific embodiment of the present utility model, the vehicle-mounted communication collection system disclosed in the embodiment of the present utility model also includes a master-slave mode selector, the master-slave mode selector is integrated in the microcontroller, and the master-slave mode selector is communicatively connected to the physical layer interface transceiver to select the master mode and slave mode of the physical layer interface transceiver.

[0023] By adopting the above technical solution, the master-slave mode selector is integrated into the microcontroller. While improving the integration of the vehicle communication acquisition system, the master-slave mode selector flexibly selects between the master mode and the slave mode of the physical layer interface, thereby improving the applicable scenarios of the vehicle communication acquisition system.

[0024] According to another specific embodiment of the present utility model, the vehicle-mounted communication collection system disclosed in the embodiment of the present utility model also includes a communication rate selector, the communication rate selector is integrated in the microcontroller, and the communication rate selector is communicatively connected to the physical layer interface transceiver to select the communication rate of at least one Ethernet switch.

[0025] By adopting the above technical solution, the communication rate selector is integrated into the microcontroller. While improving the integration of the vehicle-mounted communication acquisition system, the communication rate selector can be used to select between Ethernet 100M rate and 1G rate, thereby better utilizing the vehicle-mounted network communication acquisition rate requirements.

[0026] The embodiment of the utility model also discloses a vehicle-mounted communication debugging system, including the vehicle-mounted communication acquisition system as described above, and the vehicle-mounted communication debugging system also includes multiple host computers and multiple debugged components; wherein

[0027] Multiple host computers are connected to the universal serial interface of the vehicle-mounted communication collection system to send and receive debugging data. Each physical layer interface of the first type in the physical layer interface transceiver of the vehicle-mounted communication collection system is connected to one of the multiple host computers, and each physical layer interface of the second type is connected to one of the multiple debugged components to collect debugging data.

[0028] By adopting the above technical scheme, the vehicle-mounted communication debugging system includes multiple host computers and multiple debugged components. By connecting the host computer to the universal serial interface and the first type of physical layer interface, and connecting multiple debugged components to the second type of physical layer interfaces, the user can realize the vehicle-mounted communication acquisition system to solve the problem that multiple people cannot jointly debug the same vehicle-mounted controller or sensor and other debugged components, and to adjust the debugging system through the vehicle network communication and Ethernet communication at the same time through the communication protocol converter in the vehicle-mounted communication acquisition system. The direct connection is convenient, fast and highly operable through the reserved interface, and different debugged components and host computers can be replaced through the interface, making the vehicle-mounted communication debugging system more adaptable.

[0029] The beneficial effects of the utility model are:

[0030] The vehicle-mounted communication acquisition system and the vehicle-mounted communication debugging system disclosed by the utility model include a universal serial interface connected to a host computer for communication. The vehicle-mounted communication data collected by the host computer is transmitted to a communication protocol converter via the universal serial interface. The communication protocol converter can convert the vehicle-mounted communication data into Ethernet communication data and send the data to a physical layer interface transceiver via an Ethernet access interface, thereby solving the problem of adjusting and debugging the system via vehicle-mounted network communication and Ethernet communication at the same time. The vehicle-mounted communication acquisition system also includes a physical layer interface transceiver, which includes two types of physical layer interfaces connected to each other for communication with the host computer or a debugged component. Each host computer can exchange data via an Ethernet switch so that the host computer can access and debug each debugged component, thereby solving the problem of multiple people being unable to jointly debug the same vehicle-mounted controller or sensor or other debugged components. The host computer and the debugged component are directly connected to the vehicle-mounted communication acquisition system via a reserved interface, thereby being convenient, fast and highly operable. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of the structure of the vehicle-mounted communication collection system provided in Example 1 of the utility model;

[0032] Figure 2 A schematic diagram of the structure of the vehicle communication debugging system provided by Embodiment 2 of the present utility model;

[0033] Figure 3 This is an interface view of the vehicle communication debugging system provided in Example 2 of the utility model when the host computer collects debugging data;

[0034] Figure 4 This is an interface view of the vehicle communication debugging system host computer when collecting debugging data and refreshing it provided in Example 2 of the utility model.

[0035] Description of reference numerals:

[0036] 10. Vehicle communication debugging system;

[0037] 100. Vehicle communication collection system;

[0038] 101. Universal serial interface; 102. LAN communication interface; 103. Serial management interface; 104. Communication protocol converter; 1041. LAN communication buffer interface; 1042. Ethernet buffer interface; 105. Physical layer interface transceiver; 1051. Communication interface; 1052. Physical layer interface; 106. Configuration module; 107. Master serial peripheral interface; 108. Slave serial peripheral interface; 109. Ethernet switch; 1091. Port; 110. Indicator unit; 111. Master-slave mode selector; 112. Communication rate selector; 113. Ethernet access interface; 114. Microcontroller;

[0039] 200, host computer;

[0040] 201, host computer interface;

[0041] 300, debugged component;

[0042] 20. Vehicle communication bus. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention more clear, the implementation mode of the present invention will be further described in detail below with reference to the accompanying drawings.

[0044] Example 1

[0045] The utility model discloses a vehicle-mounted communication collection system 100, please refer to Figure 1 The vehicle-mounted communication acquisition system 100 includes at least one Ethernet switch 109 (two in the figure), a universal serial interface 101, a communication protocol converter 104, an Ethernet access interface 113, a local area network communication interface 102, a serial management interface 103, and a physical layer interface transceiver 105; wherein at least one Ethernet switch 109 includes multiple ports 1091, and when at least one Ethernet switch 109 is multiple Ethernet switches 109, the multiple Ethernet switches 109 are cascaded; one end of the universal serial interface 101 is communicatively connected to the communication protocol converter 104, and the other end is used for communication connection with the host computer; the communication protocol converter 104 is also communicatively connected to one end of the local area network communication interface 102 and the Ethernet access interface 113 respectively, the other end of the Ethernet access interface 113 is connected to a port 1091 of at least one Ethernet switch 109, and the other end of the local area network communication interface 102 is used for communication connection with the vehicle-mounted communication bus.

[0046] The physical layer interface transceiver 105 includes a communication interface 1051 and multiple physical layer interfaces 1052 connected to each other. The serial management interface 103 is communicatively connected to the communication interface 1051; one end of each physical layer interface 1052 in the multiple physical layer interfaces 1052 is communicatively connected to a port 1091 of at least one Ethernet switch 109, and the multiple physical layer interfaces 1052 include at least two types. The other end of each physical layer interface 1052 of the first type in the at least two types is respectively used for communication connection with a host computer, and the other end of each physical layer interface 1052 of the second type in the at least two types is respectively used for communication connection with a debugged component.

[0047] It should be noted that the universal serial interface 101 can be connected to the host computer for communication to realize data transmission and reception between the host computer and the vehicle-mounted communication acquisition system 100. After the universal serial interface 101 establishes a connection with the host computer, the user can operate the host computer interface to send down the configuration of the LAN message type and LAN message length, etc. to the LAN communication interface 102. After the configuration is sent down, the LAN communication interface 102 executes the corresponding configuration and replies to the host computer that the configuration is successful. Specifically, the host computer can configure the LAN message length type to support the transmission of single frame or multiple frames, the LAN message length can be adjusted between 8 bytes and 64 bytes (can be 8 bytes, 12 bytes, 16 bytes, 20 bytes, 24 bytes, 32 bytes, 48 ​​bytes and 64 bytes), the LAN message is sent once and the single or multiple LAN messages are sent periodically, wherein the sending period can be adjusted between 10 milliseconds and 5 seconds (the specific sending period can be set to 10 milliseconds, 20 milliseconds, 50 milliseconds, 100 milliseconds, 200 milliseconds, 500 milliseconds, 1 second, 5 seconds, etc.). After the configuration is completed, the host computer and the Ethernet switch 109 can send and receive LAN messages. Specifically, the sent and received data can be divided into event-type and periodic messages. The universal serial bus performs type and length checks on the sent and received data. If the check fails, an error message will be reported, thereby improving the accuracy of data sending and receiving.

[0048] It should be noted that at least one Ethernet switch 109 includes multiple ports 1091, and the Ethernet switch 109 provides the port 1091 for the network device; when there is one Ethernet switch 109, the number of ports 1091 of the Ethernet switch 109 is greater than the number of multiple physical layer interfaces 1052, and one of the multiple ports 1091 of the Ethernet switch 109 is connected to the communication protocol converter 104, and the remaining ports 1091 are respectively connected to the multiple physical layer interfaces 1052 for communication, and the multiple physical layer interfaces 1052 transmit the collected data to the Ethernet switch 109 for data exchange; when there are two or more Ethernet switches 109 When the number of Ethernet switches 109 is cascaded, each Ethernet switch 109 is communicatively connected, and the number of non-cascade ports is greater than the number of multiple physical layer interfaces 1052, and the non-cascade ports are communicatively connected to each physical layer interface 1052 respectively; when there are two or more Ethernet switches 109, the expansion of the port 1091 can also be achieved by stacking, that is, multiple Ethernet switches 109 are connected together by connecting stacking cables to stacking ports. When the Ethernet switch 109 is stacked to expand the port, the number of non-stacked ports is set to be consistent with the setting when the communication connection to each physical layer interface 1052 is in cascade with the above-mentioned Ethernet switch 109.

[0049] It should be noted that the LAN communication interface 102 is used for communication connection with the vehicle communication bus, which may be a CAN bus, a LIN bus, etc. The LAN communication interface 102 and the communication protocol converter 104 are set according to the type of the vehicle communication bus. For example, when the vehicle communication bus is a CAN bus, the communication protocol converter 104 is set to convert between CAN communication and Ethernet communication, and the LAN communication interface 102 may include two integrated interfaces and be connected to the vehicle communication bus through two CAN / CANFD communications; when the vehicle communication bus is a LIN bus, the communication protocol converter 104 is set to convert between LIN communication and Ethernet communication. The vehicle-mounted communication data collected by the host computer is transmitted to the communication protocol converter 104 via the universal serial interface 101. The communication protocol converter 104 can convert the vehicle-mounted communication data into Ethernet communication data consistent with the communication mode of the Ethernet switch 109, and send the data to the Ethernet access interface 113. The Ethernet access interface 113 packages the data and sends the data to the physical layer interface transceiver 105 in a specified frame format to complete the data access. Through the above vehicle-mounted communication collection system 100, the problem of debugging the communication system through both vehicle-mounted network communication and Ethernet communication can be solved.

[0050] Furthermore, in this embodiment, the debugged device is a vehicle-mounted controller or sensor, etc., and the physical layer interface transceiver 105 includes a communication interface 1051 and multiple physical layer interfaces 1052 that are interconnected and physically connected to the port 1091 of the Ethernet switch 109. The physical layer interface 1052 defines the electrical and optical signals, line status, clock reference, data encoding and circuits required for debugging data transmission and reception, and provides a standard interface to the Ethernet switch 109, the host computer and the debugged device. The multiple physical layer interfaces 1052 include at least two types, each physical layer interface 1052 of the first type is connected to a host computer for communication, and each physical layer interface 1052 of the second type is connected to a debugged device for communication. The physical layer interfaces 1052 are interconnected, and the host computers that are connected to the other end of the physical layer interfaces 1052 of the first type can exchange data through the Ethernet switch 109 so that the host computer can access and debug the debugged components that are connected to the other end of the physical layer interfaces 1052 of the second type, thereby solving the problem that multiple people cannot debug the same debugged component together.

[0051] Furthermore, the communication connection mode of each interface and component in the vehicle communication acquisition system 100 can be a wired connection, a wireless connection, or a combination of a wired connection and a wireless connection, as long as the transmission of data signals can be realized. In one specific implementation of this embodiment, when at least one Ethernet switch 109 is a plurality of Ethernet switches 109, the vehicle communication acquisition system 100 includes a configuration module 106, and a plurality of master serial peripheral interfaces 107 corresponding to the plurality of Ethernet switches 109; wherein one end of the configuration module 106 is communicatively connected to the universal serial interface 101, and the other end is communicatively connected to one end of the plurality of master serial peripheral interfaces 107, and each of the plurality of Ethernet switches 109 includes a slave serial peripheral interface 108, and the slave serial peripheral interface 108 of each Ethernet switch 109 is communicatively connected to the other end of the corresponding master serial peripheral interface 107.

[0052] Specifically, in this embodiment, the Ethernet switch 109 has a virtual local area network (VLAN) function. The host computer dynamically configures VLAN to establish a virtual point-to-point connection. VLAN is used to divide the second-layer network address, limit the broadcast domain to a VLAN, and isolate the messages in different VLANs from each other during transmission. There is an area in the MAC layer Ethernet frame called VLAN Tag, where VLAN ID and VLAN priority can be added; in this embodiment, the host computer sends the VLAN configuration information to the configuration module 106 through the universal serial interface 101, and then sends the VLAN configuration information to the slave serial peripheral interface 108 in the Ethernet switch 109 through the master serial peripheral interface 107 to realize the configuration of the VLAN on the Ethernet switch 109. In this way, only the VLAN ID under the corresponding port 1091 can be passed through the port 1091 in the transmitted Ethernet data, otherwise it is discarded, thereby realizing the filtering and control of data, improving the security of data transmission and network communication. For example, the first port 1091 under the Ethernet switch 109 is configured with VLAN ID 2, the second port 1091 is configured with VLAN ID 2, and the third port 1091 is configured with VLAN ID 1. At the same time, the VLAN ID configured in the debugged device connected to the first physical layer interface 1052 is also 2, the Ethernet VLAN ID of the host computer connected to the second physical layer interface 1052 is 2, and the VLAN ID configured in the debugged device connected to the third physical layer interface 1052 is 1; then the host computer can access the debugged device under the second port 1091 through the first port 1091 but cannot access the debugged device under the third port 1091.

[0053] It should be noted that the number of ports 1091 of the Ethernet switch 109 and the expansion method of the ports 1091 can be set according to actual needs. In one specific implementation of this embodiment, the at least one Ethernet switch 109 is two Ethernet switches 109, each of the two Ethernet switches 109 includes five ports 1091, and the two Ethernet switches 109 are each connected to each other by one port 1091 for communication.

[0054] Specifically, Figure 1As shown, at least one Ethernet switch 109 is two, specifically, an Ethernet switch 109(0) and an Ethernet switch 109(1), and each Ethernet switch 109 has five ports 1091; one of the ports 1091 of the Ethernet switch 109(0) is connected to the communication protocol converter 104. The free ports 1091 of the Ethernet switch 109(0) and the Ethernet switch 109(1) are respectively connected to the physical layer interfaces 1052. The cascaded Ethernet switches 109 use common and low-cost Ethernet switches 109 with five ports 1091, which can reduce costs while realizing the cascade expansion of the ports 1091 of the Ethernet switches 109.

[0055] In one specific implementation of this embodiment, the communication protocol converter 104 includes a LAN communication buffer interface 1041 and an Ethernet buffer interface 1042 that are communicatively connected; wherein one end of the LAN communication buffer interface 1041 is connected to the universal serial interface 101, and the other end is connected to the LAN communication interface 102, and the Ethernet buffer interface 1042 is communicatively connected to the Ethernet access interface 113.

[0056] Specifically, Figure 1 As shown, the communication protocol converter 104 includes a LAN communication buffer interface 1041 and an Ethernet buffer interface 1042. The conversion principle is that the communication protocol converter 104 stores the message received from the LAN communication interface 102 into the LAN communication buffer interface 1041, and packages the received LAN message into the Ethernet message format for transmission. The communication protocol converter 104 converts the LAN message into the Ethernet message format, which is essentially a storage and forwarding mechanism. The delay caused by the storage message format conversion directly leads to a reduction in the real-time performance of the communication, so as to coordinate the communication speed difference between the LAN communication end and the Ethernet end and improve the reliability of the communication conversion.

[0057] Furthermore, in one specific implementation of this embodiment, at least two types of multiple physical layer interfaces 1052 are of two types, and each physical layer interface 1052 of the first type is configured to support a 100 / 1000base-TX standard wiring harness; and each physical layer interface 1052 of the second type is configured to support a 100 / 1000base-T1 standard wiring harness.

[0058] It should be noted that 100 / 1000base-TX uses an RJ45 connector to adapt to the host computer interface, and 100 / 1000base-TX sets an indication unit 110 on both sides of the RJ45 interface to indicate the wiring harness connection status and the debugging data flow status. For example, indicator lights can be set at both ends of the 100 / 1000base-TX wiring harness. The left light is always on to indicate that the wiring harness connection is normal, the light is always off to indicate a wiring harness connection failure, and the right light flashes to indicate that there is a data flow passing through and debugging data interaction is in progress. The above technical solution can solve the compatibility problem of different network interfaces, and use the 100 / 1000base-TX standard wiring harness to transmit data, thereby improving the debugging data transmission efficiency of the vehicle-mounted communication acquisition system 100.

[0059] In one specific implementation of this embodiment, Figure 1 As shown, the vehicle-mounted communication acquisition system 100 also includes a microcontroller 114, and the universal serial interface 101, the communication protocol converter 104, the Ethernet access interface 113, the local area network communication interface 102, and the serial management interface 103 are all integrated in the microcontroller 114; when the vehicle-mounted communication acquisition system 100 includes a configuration module 106 and multiple main serial peripheral interfaces 107, the configuration module 106 and the multiple main serial peripheral interfaces 107 are all integrated in the microcontroller 114.

[0060] Specifically, in this embodiment, the microcontroller 114 can adopt an STM32 microcontroller or other microcontrollers of the Infineon TC3 series, as long as it can realize CAN conversion and has the above-mentioned universal serial interface 101, communication protocol converter 104, Ethernet access interface 113, local area network communication interface 102, serial management interface 103 and other interfaces, it can provide an operating working environment for the vehicle-mounted communication acquisition system 100 to debug the debugged component through vehicle-mounted network communication and Ethernet communication. The specific model setting of the microcontroller 114 can be selected by technicians in this field as needed, and is not specifically limited here; and the universal serial interface 101, communication protocol converter 104, Ethernet access interface 113, local area network communication interface 102, serial management interface 103, configuration module 106 and main serial peripheral interface 107 are all integrated in the microcontroller 114, which can improve the integration of the vehicle-mounted communication acquisition system 100 while saving the layout space of each interface.

[0061] In one specific implementation of this embodiment, Figure 1 As shown, the vehicle communication collection system 100 also includes an indication unit 110 , which is integrated in the microcontroller 114 , and the indication unit 110 is communicatively connected to the physical layer interface transceiver 105 to indicate the connection status and data flow status of the physical layer interface transceiver 105 .

[0062] It should be noted that the indication unit 110 can be set as a component connected to the physical layer interface transceiver 105 with indication significance, such as a buzzer or an indicator light. Specifically, when the indication unit 110 is a buzzer, different buzzer frequencies and buzzer amplitudes can be set to indicate the connection status and data flow status between the physical layer interfaces 1052. For example, a low-frequency, low-amplitude buzzer (i.e., an intermittent and low-sounding buzzer) indicates that the connection between the physical layer interfaces 1052 is correct, a high-frequency, high-amplitude buzzer (i.e., a continuous and loud buzzer) indicates that the connection between the physical layer interfaces 1052 is wrong, and a high-frequency, low-amplitude buzzer (i.e., a continuous and low-sounding buzzer) indicates that the connection between the physical layer interfaces 1052 is wrong, and a high-frequency, low-amplitude buzzer (i.e., a continuous and low-sounding buzzer) indicates that the data exchange is performed. If the indication unit 110 is set as an indicator light, the indicator light can be set to be always on, always off, and flashing to indicate that the connection between the physical layer interfaces 1052 is correct, the connection between the physical layer interfaces 1052 is wrong, and the data exchange between the physical layer interfaces 1052 is performed.

[0063] By adopting the above technical solution, the indication unit 110 is integrated into the microcontroller 114, which improves the integration of the vehicle-mounted communication acquisition system 100 and indicates the connection status between the physical layer interfaces 1052 and the data flow status, making the connection and data interaction between the physical layer interfaces 1052 more intuitive.

[0064] In one specific implementation of this embodiment, Figure 1 As shown, the vehicle-mounted communication acquisition system 100 also includes a master-slave mode selector 111, which is integrated in the microcontroller 114, and the master-slave mode selector 111 is communicatively connected to the physical layer interface transceiver 105 to select the master mode and the slave mode of the physical layer interface transceiver 105.

[0065] It should be noted that the master mode is that the physical layer interface transceiver 105 actively initiates a communication request, and data is exchanged after a communication connection is established with the debugged device. The slave mode is that the downstream end (the debugged device end) of the physical layer interface transceiver 105 actively initiates a request, and the physical layer interface transceiver 105 receives and responds to the communication request and exchanges data after a communication connection is established. Data exchange can only be performed after the two successfully establish a communication request. The above-mentioned data exchange includes but is not limited to data acquisition. Further, the indication unit 110 can also indicate whether communication is established, for example, if the light is on, communication is established, otherwise it is not established. Specifically, the master-slave mode selector 111 can be in the form of a hardware switch, and its different positions are selected to control the physical layer interface transceiver 105 to be in the master mode or the slave mode. For example, when the switch is closed, the physical layer interface transceiver 105 is in the master mode, and when the switch is disconnected, the physical layer interface transceiver 105 is in the slave mode, and vice versa. The master-slave mode selector 111 may also be configured as two buttons representing the master mode and the slave mode of the physical layer interface transceiver 105 , and pressing a button indicates selecting the corresponding mode.

[0066] By adopting the above technical solution, the master-slave mode selector 111 is integrated into the microcontroller 114. While improving the integration of the vehicle-mounted communication acquisition system 100, the master-slave mode selector 111 flexibly selects between the master mode and the slave mode of the physical layer interface 1052, thereby improving the applicable scenarios of the vehicle-mounted communication acquisition system 100.

[0067] In one specific implementation of this embodiment, Figure 1 As shown, the vehicle-mounted communication collection system 100 also includes a communication rate selector 112, which is integrated in a microcontroller 114, and the communication rate selector 112 is communicatively connected to the physical layer interface transceiver 105 to select the communication rate of at least one Ethernet switch 109.

[0068] It should be noted that the communication rate selector 112 is connected to the physical layer interface 1052. Since the physical layer interface 1052 supports two types, 100 / 1000base-TX and 100 / 1000base-T1, and both support 100M communication rate and 1G communication rate, the Ethernet communication rate can be selected through the rate selector. Specifically, the communication rate selector 112 can be set in the form of a hardware switch or button, and its selection setting is the same as the above-mentioned master-slave mode selector 111, and no redundant description is given here.

[0069] The communication rate selector 112 is integrated into the microcontroller 114. While improving the integration of the vehicle-mounted communication acquisition system 100, the communication rate selector 112 can be used to select between the Ethernet communication rate of 100M and the rate of 1G, thereby better meeting the vehicle-mounted network communication acquisition rate requirements.

[0070] In summary, the vehicle communication acquisition system 100 provided in this embodiment includes a universal serial interface 101 connected to the host computer for communication. The host computer data is transmitted to the communication protocol converter 104 via the universal serial interface 101. The communication protocol converter 104 can convert the vehicle communication data into Ethernet communication data consistent with the communication mode of the Ethernet switch 109, and send it to the physical layer interface transceiver through the Ethernet access interface 113. Through the above vehicle communication acquisition system 100, the problem of adjusting and debugging the system through the vehicle network communication and Ethernet communication mode at the same time can be solved. Further, the vehicle communication acquisition system 100 includes a physical layer interface transceiver 105, and the physical layer interface transceiver 105 includes a communication interface 1051 and two types of physical layer interfaces 1052 connected to each other for communication with the host computer or the debugged device. Each host computer can exchange data through the Ethernet switch 109 so that the host computer can access and debug each debugged device, which can solve the problem that multiple people cannot jointly debug the same vehicle controller or sensor or other debugged device. Furthermore, each interface of the vehicle-mounted communication collection system 100 (except the physical layer interface transceiver 105) and the selector and configuration module 106 are integrated into the microcontroller 114, which can improve the integration of the vehicle-mounted communication collection system 100 while saving the layout space of each interface, and can flexibly select the master-slave mode and communication rate, so that the vehicle-mounted communication collection system 100 meets different collection requirements and improves its applicable scenarios.

[0071] Example 2

[0072] The implementation of this embodiment discloses a vehicle communication debugging system 10, such as Figure 2 As shown, the vehicle-mounted communication acquisition system 100 as above is included, and the vehicle-mounted communication debugging system 10 also includes multiple host computers 200 and multiple debugged components 300; wherein the multiple host computers 200 are connected to the universal serial interface 101 of the vehicle-mounted communication acquisition system 100 to send and receive debugging data, and each physical layer interface 1052 of the first type in the physical layer interface transceiver 105 of the vehicle-mounted communication acquisition system 100 is respectively connected to one of the multiple host computers 200, and each physical layer interface 1052 of the second type is respectively connected to one of the multiple debugged components 300 to collect debugging data.

[0073] It should be noted that the number of debugged components 300 and host computers 200 in this embodiment can be set according to the number of ports 1091 of the Ethernet switch 109, and different debugged components 300 can be connected through the physical layer interface 1052 according to the debugging requirements. In addition, the local area network communication accesses the CAN communication of the debugged component 300 in the form of CAN ID, and the Ethernet accesses the Ethernet communication of the debugged component 300 in the form of DOIP address. The CAN communication is connected to the vehicle communication bus 20 through the local area network communication interface 102, and the host computer 200 can be connected to the universal serial interface 101 of the vehicle communication acquisition system 100 to receive the vehicle CAN network data. Further, the host computer 200 includes a host computer interface 201, and multiple host computers 200 can be displayed in the same host computer interface 201. The user can operate multiple host computers 200 through the host computer interface 201, and can also issue configuration instructions to realize the dynamic configuration of the two Ethernet switches 109 and the wake-up function of the local area network.

[0074] like Figure 3 The figure shows the interface view when the host computer of the vehicle communication debugging system collects debugging data. In the figure, the vehicle communication bus takes the CAN bus as an example, and its sending message form is the CAN message. The CAN message frame type, BRS switch (i.e., CANFD and CAN frame format switching switch, message length, sending cycle and VLAN ID) can be configured through the host computer interface 201 to collect debugging data, and the CAN channel can also be selected as the first channel or the second channel. Among them, the BRS switch is used when the host computer downloads data to the vehicle CAN network as a simulation node in the CAN network. The BRS switch is used in conjunction with the CAN message frame type, which is equivalent to the CANFD and CAN frame format switching switch. When the CAN message frame type is CANFD, the BRS switch is set to the ON state; when the CAN message frame format is CAN, the BRS switch is set to the OFF state; as shown in FIG. Figure 4 The interface view shown is when the host computer 200 of the vehicle communication debugging system 10 collects debugging data and performs data interaction (data collection and transmission, etc.) with the debugged device 300 and refreshes the interface view, wherein: Figure 4In the DoIP communication, it refers to the communication method based on the vehicle Ethernet diagnostic protocol; the IP address refers to the IP address of the debugged device; the physical address switch and the functional address switch are configured to realize the diagnostic service session for a single debugged device and multiple debugged devices; the network connection status indicator is used to indicate whether the underlying network connection is disconnected (red light) or normally connected (green light), and the network connection status between the host computer and the debugged device can be realized by clicking the connection or disconnection on the host computer; the service number based on the vehicle Ethernet diagnostic protocol is filled in the diagnostic service and sub-function to realize the diagnostic service session between the host computer and the debugged device, supporting 3E service, supporting single diagnostic sending and multiple 3E diagnostic service sending; after writing the DID value and setting value based on the vehicle Ethernet diagnostic protocol, fill in the refresh file of the debugged device, and then click Start to realize the purpose of updating the debugged device locally through this vehicle communication debugging system; the data flow of data interaction between the host computer and the debugged device through this vehicle communication debugging system can be displayed in real time on the right side of the host computer. .

[0075] The vehicle communication debugging system 10 provided in this embodiment includes multiple host computers 200 and multiple debugged components 300. By connecting the host computer 200 with the universal serial interface 101 and the first type of physical layer interface 1052, and connecting multiple debugged components 300 with each physical layer interface 1052 of the second type, the vehicle communication acquisition system 100 can solve the problem that multiple people cannot jointly debug the same vehicle controller or sensor and other debugged components 300, and can adjust the debugging system through the vehicle network communication and Ethernet communication through the communication protocol converter 104 in the vehicle communication acquisition system 100. The vehicle communication acquisition system 100 can be directly connected through the reserved interface, which is convenient, fast and highly operable, and different debugged components 300 and the host computer 200 can be replaced through the interface, so that the vehicle communication debugging system 10 is more adaptable.

[0076] It should be noted that, in addition to the implementation methods of the utility model described in the above-mentioned specific specific embodiments, those skilled in the art can easily understand other advantages and functions of the utility model from the contents disclosed in this specification. Although the description of the utility model will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this utility model are limited to this implementation method. On the contrary, the purpose of introducing the utility model in conjunction with the implementation method is to cover other options or modifications that may be extended based on the claims of the utility model. In order to provide an in-depth understanding of the utility model, the above description contains many specific details, and the utility model can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the utility model, some specific details will be omitted in the description. It should be noted that, in the absence of conflict, the embodiments in the utility model and the features in the embodiments can be combined with each other.

[0077] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0078] In the description of this embodiment, it should be noted that the terms "upper", "lower", "inner", "bottom", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the utility model product is usually placed when in use. They are only for the convenience of describing the utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the utility model.

[0079] The terms “first”, “second”, etc. are only used for distinguishing descriptions and should not be understood as indicating or implying relative importance.

[0080] In the description of this embodiment, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this embodiment can be understood according to specific circumstances.

[0081] Although the present invention has been illustrated and described with reference to certain preferred embodiments of the present invention, it should be understood by those skilled in the art that the above contents are further detailed descriptions of the present invention in combination with specific embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. Those skilled in the art may make various changes in form and details, including making several simple deductions or substitutions, without departing from the spirit and scope of the present invention.

Claims

1. A vehicle-mounted communication collection system, characterized in that: Includes at least one Ethernet switch, a universal serial interface, a communication protocol converter, an Ethernet access interface, a local area network communication interface, a serial management interface, and a physical layer interface transceiver; in The at least one Ethernet switch comprises a plurality of ports, and when the at least one Ethernet switch is a plurality of Ethernet switches, the plurality of Ethernet switches are cascaded; One end of the universal serial interface is connected to the communication protocol converter for communication, and the other end is used for communication connection with the host computer; The communication protocol converter is also respectively connected to one end of the LAN communication interface and the Ethernet access interface, the other end of the Ethernet access interface is connected to one of the ports of the at least one Ethernet switch, and the other end of the LAN communication interface is used for communication connection with the vehicle communication bus; The physical layer interface transceiver includes a communication interface and a plurality of physical layer interfaces connected to each other, one end of the serial management interface is connected to the local area network communication interface, and the other end is communicatively connected to the communication interface; One end of each of the multiple physical layer interfaces is communicatively connected to one of the ports of the at least one Ethernet switch, and the multiple physical layer interfaces include at least two types, the other end of each physical layer interface of the first type of the at least two types is respectively used for communication connection with one of the host computers, and the other end of each physical layer interface of the second type of the at least two types is respectively used for communication connection with one of the debugged components.

2. The vehicle-mounted communication collection system according to claim 1, characterized in that: When the at least one Ethernet switch is a plurality of Ethernet switches, the vehicle-mounted communication acquisition system comprises a configuration module, and a plurality of main serial peripheral interfaces arranged in a one-to-one correspondence with the plurality of Ethernet switches; in One end of the configuration module is communicatively connected to the universal serial interface, and the other end is communicatively connected to one end of the multiple master serial peripheral interfaces. Each of the multiple Ethernet switches includes a slave serial peripheral interface, and the slave serial peripheral interface of each of the Ethernet switches is communicatively connected to the other end of the corresponding master serial peripheral interface.

3. The vehicle-mounted communication collection system according to claim 2, characterized in that: The at least one Ethernet switch is two Ethernet switches, and the two Ethernet switches are communicatively connected via one of the ports respectively.

4. The vehicle-mounted communication collection system according to claim 1, characterized in that: The communication protocol converter includes a LAN communication buffer interface and an Ethernet buffer interface for communication connection; in One end of the LAN communication buffer interface is communicatively connected to the universal serial interface, and the other end is communicatively connected to the LAN communication interface. The Ethernet buffer interface is communicatively connected to the Ethernet access interface.

5. The vehicle-mounted communication collection system according to any one of claims 1 to 4, characterized in that: The at least two types of multiple physical layer interfaces are of two types, each of the first type of physical layer interfaces is configured to support a 100 / 1000base-TX standard wiring harness; each of the second type of physical layer interfaces is configured to support a 100 / 1000base-T1 standard wiring harness.

6. The vehicle-mounted communication collection system according to any one of claims 1 to 4, characterized in that: The vehicle-mounted communication acquisition system also includes a microcontroller, and the universal serial interface, the communication protocol converter, the Ethernet access interface, the local area network communication interface, and the serial management interface are all integrated in the microcontroller.

7. The vehicle-mounted communication collection system according to claim 2, characterized in that: The vehicle-mounted communication acquisition system also includes a microcontroller, and the configuration module and the multiple main serial peripheral interfaces are integrated in the microcontroller.

8. The vehicle-mounted communication collection system according to claim 6, characterized in that: The vehicle-mounted communication collection system also includes an indication unit, which is integrated in the microcontroller and is communicatively connected to the physical layer interface transceiver to indicate a connection state and a data flow state of the physical layer interface transceiver.

9. The vehicle-mounted communication collection system according to claim 6, characterized in that: The vehicle-mounted communication acquisition system also includes a master-slave mode selector, which is integrated in the microcontroller and is communicatively connected to the physical layer interface transceiver to select the master mode and the slave mode of the physical layer interface transceiver.

10. The vehicle-mounted communication collection system according to claim 6, characterized in that: The vehicle-mounted communication acquisition system also includes a communication rate selector, which is integrated in the microcontroller and is communicatively connected to the physical layer interface transceiver to select the communication rate of the at least one Ethernet switch.

11. A vehicle communication debugging system, characterized in that: The vehicle-mounted communication acquisition system comprises the vehicle-mounted communication debugging system according to any one of claims 1 to 10, wherein the vehicle-mounted communication debugging system further comprises a plurality of host computers and a plurality of debugged components; in The multiple host computers are communicatively connected to the universal serial interface of the vehicle-mounted communication acquisition system to receive and send debugging data; each physical layer interface of the first type in the physical layer interface transceiver of the vehicle-mounted communication acquisition system is communicatively connected to one of the multiple host computers, and each physical layer interface of the second type is communicatively connected to one of the multiple debugged components to collect the debugging data.

Citation Information

Patent Citations

  • Vehicle-mounted network distributed switching system and vehicle-mounted equipment

    CN219268888U