VEHICLE-SIDE TRANSFER DEVICE, ELECTRONIC CONTROL DEVICE AND VEHICLE-SIDE NETWORK SYSTEM

By segmenting and packing conflicting CAN frames into Ethernet frames, the vehicle-side transfer device reduces latency, enhancing communication efficiency between diverse vehicle networks.

DE112016005390B4Active Publication Date: 2024-09-26ASTEMO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
DE112016005390
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2016-10-21
Publication Date
2024-09-26
Estimated Expiration
2036-10-21

AI Technical Summary

Technical Problem

Existing vehicle-side transfer devices face high latency issues when forwarding communication frames between different communication protocols like CAN and Ethernet, particularly when transmission destinations are contradictory, affecting cooperative vehicle control systems.

Method used

The vehicle-side transfer device segments large communication frames into smaller frames with conflicting destinations, packing their ID and data sections into a single Ethernet frame to reduce latency.

Benefits of technology

This approach minimizes transmission latency by ensuring that frames with lower priority are not delayed, maintaining efficient communication across different protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Vehicle-side transition device (2) that facilitates communication between a first vehicle-side network, which transmits and receives a first communication frame with a first data section, and a second vehicle-side network, which transmits and receives a second communication frame with a second data section whose size is smaller than that of the first data section, wherein the vehicle-side transition device (2) comprises a generation unit (25) that generates the first communication frame using the second communication frame, the vehicle-side transition device (2) further comprises a transmission unit (27) that transmits the first communication frame generated by the generation unit (25) to the first vehicle-side network, and the generation unit (25) combines the second data sections of a plurality of second communication frames.to generate the first data section in the first communication frame, wherein the second communication frame further comprises a data ID representing a data type described by the second data section, and the generation unit (25) combines the data IDs of the plurality of second communication frames into the first data section in the first communication frame to generate the first communication frame, characterized in that the generation unit (25) extracts only the second data section and the data ID from the second communication frame and combines the second data section and the data ID into the first data section.
Need to check novelty before this filing date? Find Prior Art

Description

Technical area

[0001] The present invention relates to a vehicle-side network. State of the art

[0002] In recent years, a number of electronic control units (ECUs) have been installed in vehicles. ECUs are installed at various locations in a vehicle. The majority of ECUs work together to provide vehicle-side application. For this purpose, data communication between the ECUs is necessary, and each ECU is connected by a communication line to form a vehicle-side network.

[0003] Since ECUs are installed at different locations in the vehicle, a vehicle-side network is set up. Furthermore, a vehicle-side gateway is used to forward a Communication between each vehicle-side network is arranged, and the one with each vehicle-side network connected ECU can communicate via the vehicle-side gateway.

[0004] Currently, a control area network (CAN) is widely used as a communication protocol for vehicle-side Networks. In the meantime, a pioneering cooperative control system, such as an automatic driving control system. In such a system, the application a high-speed communication protocol, such as Ethernet (registered trademark), active examined.

[0005] On this basis, it is assumed that the newly added configuration of a vehicle-side Network to which the Ethernet is applied, for the vehicle-side network, which is connected via the conventional communication protocol, such as CAN, will be the standard. Therefore, in a vehicle-side gateway that enables communication between vehicle-side networks by means of different communication protocols, efficient forwarding processing is required.

[0006] The following patent literatures 1 and 2 describe the prior art for forwarding communication between networks using different communication protocols.

[0007] Furthermore, Patent Literature 3 describes a vehicle control system including: a plurality of functional ECUs which arranged separately in a variety of areas of a vehicle and divided into a variety of groups by functions of functional parts to be controlled; a variety of relay ECUs that are used in the respective areas are arranged; a first network connecting the plurality of relay ECUs; and second networks arranged in are arranged in the respective areas and connect the function ECU and the relay ECU in each area. Each Function ECU performs communication with the function ECU that is in the same group as the function ECU which is located in a different region than the region in which the function ECU is located, the Transmission and reception of data via the second network and the relay ECU in the region where the functional ECU is arranged, the first network and the relay ECU and the second network in the region where the functional ECU with which communication is to take place. Patent Literature 4 shows a relay device that is assigned to each CAN node that is to be a transmission source and each CAN node that is to be a reception destination and CAN data between the CAN nodes, via a wireless network connected to the other relay device, The relay device stores the CAN data to be transmitted wirelessly from received CAN data in a buffer and at a predetermined wireless transmission time of the relay device and transmits when the the buffer stored CAN data are individual data, the individual CAN data to the other relay device; and aggregated, if a plurality of CAN data are stored in the buffer, the plurality of CAN data for common Transmission to the other relay device. List of sources Patent literature Patent Literature 1: JP 2008-294935 A Patent Literature 2: JP 2013-013083 A Patent Literature 3: JP 2015-67187 A Patent Literature 4: JP 2014-27406 A Summary of the invention Technical problem

[0008] In a system in which a plurality of ECUs cooperate to control vehicles in a coordinated manner, it is It is necessary for each ECU to transmit synchronously as quickly as possible. Therefore, a low latency in Reference to a transmission time as a basic performance of a vehicle-side transfer device is required. However, if a transmission destination is contradictory, the vehicle-side gateway generally transmits first Communication frame with high priority, which however increases the latency of the transmission time for the communication frame with low priority and leads to a problem in the cooperative control between the ECUs. This basic performance and this problem is also present when forwarding a communication frame from CAN to Ethernet applicable.

[0009] The present invention has been made in view of the above problems, and an object of the present The invention is to provide a forwarding technology that is capable of reducing transmission latency in a vehicle-side network to a low level. Solution to the problem

[0010] A vehicle-side transfer device according to the present invention comprises in a first data section, which is contained in a large first communication frame, a plurality of second data sections together, which are each contained in a small second communication frame, whereby the first communication frame is generated and forwards the first communication frame that was generated. Advantageous effects of the invention

[0011] According to a vehicle-side gateway of the present invention, the latency of a Transmission time can be kept low even in the case where the transmission destinations are conflicting. Short description of the drawings Fig. 1 is a configuration diagram of a vehicle-side network system 1 according to a first embodiment. Fig. 2 is a functional block diagram showing a configuration of a vehicle-side transfer device 2. Fig. 3 is a flowchart showing the processing in which the vehicle-side gateway 2 sends a transmits CAN frames to an Ethernet network. Fig. 4 is a conceptual diagram to illustrate the processing of saving the CAN frame to a Ethernet frame in the flowchart of Fig. 3. Fig. 5 is a functional block diagram showing a configuration of an ECU 4. Fig. 6 is a flowchart showing the processing of extracting a CAN message from the Ethernet frame explained by the ECU 4. Fig. 7 is a timing diagram to explain the time required for the transmission of a plurality of CAN frames is necessary when transfer destinations are contradictory. Fig. 8 is a configuration example of the vehicle-side network system 1, in which a Monitoring device 5 simulating the ECU 4, connected to an Ethernet network instead of the ECU 4 is. Fig. 9 is an example of a routing table 22 of the vehicle-side gateway 2. Fig. 10 is a timing chart for explaining the processing in which the vehicle-side gateway 2 transmits a CAN frame. Fig. 11 is a view showing a result of monitoring an Ethernet frame illustrated in Fig. 10 by means of the monitoring device 5. Description of embodiments First embodiment

[0012] Fig. 1 is a block diagram of a vehicle-side network system 1 according to the first embodiment of the present invention. A vehicle-side network system 1 is a network system installed in a vehicle and has a vehicle-side network that transmits a communication frame using a CAN and receives, as well as a vehicle-side network that transmits a communication frame via Ethernet and A vehicle-side gateway 2 is a device that enables communication between these vehicle-side networks. The ECU 3 is an electronic control unit that is connected to a CAN network The ECU 4 is an electronic control unit that is part of an Ethernet network.

[0013] Fig. 2 is a functional block diagram showing a configuration of the vehicle-side interface device 2. The The vehicle-side gateway 2 has a physical CAN interface 20, a CAN reception buffer 21, a Routing table 22, a transmission conflict determination unit 23, a transmission data generation unit 24, a Ethernet frame generation unit 25, an Ethernet transmission buffer 26 and a physical Ethernet interface 27 on.

[0014] The physical CAN interface 20 is a physical interface with the CAN network. Receive buffer 21 is a data table that stores a CAN frame received from the physical CAN interface 20, and the Routing table 22 is a data table that defines the transmission destination of the received CAN frame. Transmission conflict determination unit 23 determines a transmission destination of the CAN reception buffer 21 CAN frame according to the routing table 22 and determines whether there is a CAN frame with respect to which a Transmission destination is contradictory. The transmission data generation unit 24 generates a data section (Payroll section) of the communication frame to be transmitted to the Ethernet network. Ethernet frame generation unit 25 generates an Ethernet frame using the data section which generated by the transmission data generation unit 24. The Ethernet transmission buffer 26 is a buffer for temporarily storing the Ethernet frame before sending it to the Ethernet network. The physical Ethernet interface 27 is a physical interface to the Ethernet network.

[0015] Fig. 3 is a flowchart for explaining the processing in which the vehicle-side gateway 2 transmits the CAN frame to the Ethernet network. Each step in Figure 3 is described below. Figure 3: Steps S200 to S201

[0016] The vehicle-side transfer device 2 starts the present flow chart regularly or, for example, as Response to the interrupt processing or the like (S200). The transmission conflict determination unit 23 reads one or more CAN frames from the CAN receive buffer 21 (S201). Figure 3: Step S202

[0017] The transmission conflict determination unit 23 determines the transmission destination of the data read out in step S201 CAN frame according to the routing table 22. The transmission conflict determination unit 23 determines whether there is a CAN There is a framework in relation to which a transfer objective is contradictory. 'Transfer objective is contradictory' means that there are a plurality of communication frames to be transmitted to the same vehicle-side network. Network configuration of Fig. 1, this corresponds to the case where there are a plurality of devices connected to the Ethernet network. CAN frame to be transmitted. If there is a CAN frame with respect to which a transmission destination is contradictory is, processing proceeds to step S203 and, if not, processing proceeds to step S204. Figure 3: Step S203

[0018] The transmission data generation unit 24 extracts and combines an ID portion and the data portion each CAN frame with respect to which a transmission destination is contradictory, to the data section of the Ethernet network to be transmitted. The frame structure of the CAN frame and the The frame structure of the Ethernet frame is illustrated in Fig. 4, which is described below. Figure 3: Step S204

[0019] The transmission data generation unit 24 extracts the ID section and the data section of a CAN frame and generates the data section of the communication frame for transmission over the Ethernet network. Figure 3: Steps S205 to S206

[0020] The Ethernet frame generation unit 25 determines a data length of the Ethernet frame that is sent to the Ethernet network, based on the length of the data section (transmission data) transmitted in step S203 or S205 is generated (S205). The Ethernet frame generation unit 25 stores the transmission data in the data section of the Ethernet frame (S206). Figure 3: Step S207

[0021] The Ethernet frame generation unit 25 generates a frame to be transmitted to the Ethernet network Ethernet frame, stores it in the Ethernet transmission buffer 26 and sets it to be transmitted. physical Ethernet interface 27 transmits the Ethernet frame, which is stored in the Ethernet transmission buffer 26 becomes. Figure 3: Step S208

[0022] The vehicle-side gateway 2 determines whether the transmission of the entire CAN frames received from the CAN Receive buffer 21 has been completed. When it has been completed, this flow chart terminated, and if there are still frames to be transmitted, the flow returns to step S202 and a similar processing is performed on the remaining CAN frames.

[0023] Fig. 4 is a conceptual diagram for explaining the processing for storing the CAN frame in the Ethernet frame in the flowchart of Fig. 3 . The upper part of Fig. 4 shows a frame format of the CAN frame. The lower part of Fig. 4 shows a frame format of the Ethernet frame. The middle part of Fig. 4 shows a processing process.

[0024] The CAN frame has a SOF section, an ID section, a control section, a data section, a CRC section, an ACK section and an EOF section. The SOF section is a field that specifies the start of the frame The ID section is a field that represents an identifier that identifies a type of communication message. The control section is a field that contains a reserved bit and the data length of the The data section is a field that represents a communication message. The CRC section This is a field that represents a transmission error of the frame. The ACK section is a field that represents a Confirmation signal of normal reception. The EOF section is a field that indicates the end of the frame.

[0025] The Ethernet frame has a frame header section, a data section and an FCS section. Frame header section is a field that specifies additional information that is not the communication message, such as the destination and the data length. The data section is a field that contains the communication message. The FCS section is a field that indicates the frame's transmission error.

[0026] Considering the configuration of the CAN frame, the information sent from the CAN network to the Ethernet network, at least the ID section and the data section in accordance with the communication message. Accordingly, the transmission data generation unit 24 generates Transmission data using the ID section and the data section of the CAN frame in steps S203 to S204 Fig. 3. If the transmission destination is contradictory (ie if the transmission destinations of a majority CAN frames are the same Ethernet network), the ID section and the data section of the conflicting CAN frames are packed as one transmission data material.

[0027] The Ethernet frame generation unit 25 determines the data length of the Ethernet frame according to the length of the transmission data. Therefore, the Ethernet frame has a variable length according to the number of CAN frames that are Ethernet network.

[0028] Fig. 5 is a functional block diagram showing the configuration of the ECU 4. The ECU 4 has a physical Interface 40, a receive buffer 41, a receive frame analysis unit 42, a CAN message extraction unit 43 and an application processing unit 44.

[0029] The physical interface 40 is a physical interface with the Ethernet network. Receive buffer 41 stores the received Ethernet frame. The receive frame analysis unit 42 analyzes the received Ethernet frame. The CAN message extraction unit 43 extracts a CAN message that is Data section of the received Ethernet frame is stored. The application processing unit 44 performs a corresponding application using the extracted CAN message.

[0030] Fig. 6 is a flowchart for explaining the processing, wherein the ECU 4 receives a CAN message from the Ethernet frames are extracted. Each step in Figure 6 is described below. Figure 6: Steps S400 to S401

[0031] The ECU 4 starts the present flowchart, for example, periodically or, for example, in response to interrupt processing or the like (S400). The reception frame analysis unit 42 reads the Ethernet frame from receive buffer 41 (S401). Figure 6: Step S402

[0032] The receive frame analysis unit 42 determines whether the received Ethernet frame is for its own device (ECU 4) is necessary. For example, if the electronic control unit, which is not the ECU 4, is connected to the Ethernet network, does not plan to receive the communication frame from the CAN network, can be set that these ECUs do not receive the Ethernet frame transmitted by the vehicle-side gateway 2 If the received Ethernet frame is necessary, processing proceeds to step S403, and if it is is not necessary, processing proceeds to step S404. Figure 6: Step S403

[0033] The CAN message extraction unit 43 extracts a CAN message (the ID section and the data section of the CAN frame) from the data section of the receive frame. If the data section contains a plurality of CAN Messages, the CAN message extraction unit 43 extracts each CAN message. Figure 6: Step S404

[0034] The reception frame analysis unit 42 discards the reception frame and terminates the present Flowchart. Figure 6: Step S405

[0035] The CAN message extraction unit 43 delivers the extracted CAN message to the Application processing unit 44. The application processing unit 44 performs the predetermined processing by means of the CAN message.

[0036] Fig. 7 is a timing diagram for explaining the time required for the transmission of a plurality of CAN frames is required whose transmission destinations are contradictory. Here is an example of transmitting a CAN frame with a CAN ID of 1 and a CAN frame with a CAN ID of 2. It is assumed that the CAN ID = 1 has a higher priority.

[0037] In the conventional vehicle-side gateway, if the transmission destination of the CAN frame contradictory, the CAN frame with higher priority is transmitted first and then the CAN frame with lower priority. Therefore, a CAN frame with high priority is sent to the transmission destination with a delay time required for transmission processing and a CAN frame with a lower priority is sent with an even greater delay.

[0038] In contrast, the vehicle-side transfer device 2 according to the present first embodiment in the data section of an Ethernet frame the CAN frame with respect to which a transmission destination is contradictory, and transmits the Ethernet frame, so that it is possible to suppress the delay that occurs at the time of transmission even if the CAN frame has a low priority. First embodiment: Summary

[0039] In the vehicle-side transfer device 2 according to the present first embodiment, when the Transmission destination of the communication frame forwarded from the CAN network to the Ethernet network, is contradictory, the ID section and the data section of the contradictory CAN frame are merged into the data section of the Ethernet frame to be transmitted. This eliminates the need for the CAN frame with lower Priority to wait for the transfer processing, and it is possible to reduce the latency in the transfer processing to largely suppress. Second embodiment

[0040] Fig. 8 is a configuration example of a vehicle-side network system 1 in which a Monitoring device 5, which simulates an ECU 4, is connected to an Ethernet network instead of the ECU 4. The Configurations of each device are similar to those of the first, with the exception of monitoring device 5 However, in order to distinguish between two CAN networks, the following refers to the two CAN Networks are referred to as CAN 1 and CAN 2.

[0041] Fig. 9 is an example of a routing table 22 provided in a vehicle-side gateway 2. The vehicle-side gateway 2 transmits a CAN frame to the CAN network or the Ethernet network according to a route definition specified by the routing table. In an example shown in Fig. 9, For example, if the vehicle-side gateway 2 receives a CAN frame with a CAN ID = 100 or 200 receives, the CAN frame is transmitted to the Ethernet network.

[0042] Fig. 10 is a timing chart explaining the processing in which the vehicle-side gateway 2 CAN frames. Here is an example of transmitting CAN frames with CAN IDs = 100 and 200 According to the routing table described in Fig. 9, since all these CAN frames are routed to the Ethernet network transmitted, a transmission destination is contradictory. Therefore, the vehicle-side gateway 2 packs an ID Section and a data section of these CAN frames into the data section of an Ethernet frame and transmits the Ethernet frame to the Ethernet network.

[0043] Fig. 11 is a diagram showing a result related to monitoring the Ethernet frame shown in Fig. 10 by means of the monitoring device 5. The data section of the Ethernet frame stores the ID section and the Data section of the CAN frame with CAN ID = 100 and also stores the ID section and the data section of the CAN frame with CAN ID = 200. Modification of the present invention

[0044] The present invention is not limited to the above embodiments, but encompasses various Modifications. For example, the above-described embodiments are described in detail to present invention in an easily understandable manner and are not necessarily limited to such where all configurations are described.

[0045] In the above embodiments, the ID section and the data section of the CAN frame are extracted and However, depending on requirements, other sections can be used as the data section of the Ethernet frame extracted and summarized.

[0046] In the above embodiments, when the vehicle-side gateway 2 transmits the communication frame in the case where the transmission destination network is a bus-type network (for example, the CAN network), the transmission can be transmitted without specifying the destination. On the other hand, if the Transmission destination network is a network (e.g. the Ethernet network) that communicates 1:1, the communication frame be transmitted to all connections by means of a broadcast or distribution communication, and alternatively, For example, a transmission destination port can be defined for each CAN ID on the routing table and transmitted separately. Alternatively, the transmission destination can be determined by other suitable methods.

[0047] In the above embodiments, two CAN networks and one Ethernet network are connected via the vehicle-side Interface 2, but the configuration of the interface connected via the vehicle-side interface 2 Network is not limited to this. The number of vehicle-side networks can be two or more, and the Communication protocol used with respect to each vehicle-side network may be different from CAN and Ethernet. List of reference symbols 1 vehicle-side network system 2 vehicle-side transfer device 20 physical CAN interfaces 21 CAN receive buffer 22 Routing table 23 Transmission conflict determination unit 24 Transmission data generation unit 25 Ethernet frame generation unit 26 Ethernet transmission buffers 27 physical Ethernet interfaces 3 electronic control device 4 electronic control device 40 physical interface 41 receive buffer 42 Reception frame analysis unit 43 CAN message extraction unit 44 Application processing unit 5 Monitoring device

Claims

1. Vehicle-side gateway (2) which enables communication between a first vehicle-side network, the transmits and receives a first communication frame with a first data section, and a second vehicle-side network that transmits a second communication frame with a second data section and receives a data packet whose size is smaller than that of the first data section, wherein the vehicle-side transfer device (2) has a generation unit (25) which generates the first communication frame generated using the second communication frame, the vehicle-side transfer device (2) further comprises a transmission unit (27) which transmits the first Communication frame generated by the generation unit (25) to the first vehicle-side network transmitted, and the generation unit (25) generates the second data sections of a plurality of second communication frames to generate the first data section in the first communication frame, where the second communication frame further comprises a data ID representing a data type determined by the second data section is described, and the generation unit (25) converts the data IDs of the plurality of second communication frames into the first data section in the first communication frame to generate the first communication frame, marked in that the generation unit (25) only receives the second data section and the data ID from the second communication frame and insert the second data section and the data ID into the first data section summarizes.

2. Vehicle-side transfer device (2) according to claim 1, wherein the generation unit (25) generates the second data sections of the plurality of second communication frames whose transmission destinations are the same to form the first data section in the first communication frame to generate, and for the second communication frame, with respect to which a transmission destination is not the same, the generation unit (25) generates the first data section in the first communication frame without the second data section is summarized.

3. Vehicle-side transfer device (2) according to claim 1, wherein the generation unit (25) determines the size of the first data section in accordance with the number of second communication frames transmitted in the first communication framework.

4. Vehicle-side network system, comprising: a vehicle-side transfer device (2) according to claim 1; and an electronic control unit that communicates via the first vehicle-side network.

5. Vehicle-side network system according to claim 4, wherein the electronic control unit has a receiving unit which, in a format of the first communication frame via the vehicle-side gateway (2) the second communication frame with the second data section receives, with respect to which the size is smaller than that of the first data section of the first communication frame, which is transmitted and received by the first vehicle-side network, the electronic control device further comprises an analysis unit which generates a communication frame in the format of first communication frame received by the receiving unit, and the analysis unit extracts the plurality of second data sections from the first data section of the communication frame in Retrieves the format of the first communication frame received by the receiving unit.

Citation Information

Patent Citations

  • Repeating device, network system, program, and hardware description code

    JP2008294935A

  • Method of communication of gateway device supporting intercommunication between can and modbus, and gateway device using the same

    JP2013013083A

  • Relay device, relay system, and relay method of can data

    JP2014027406A

  • Vehicle control system

    JP2015067187A

  • JP002014027406A