CONTROL UNIT ARCHITECTURE FOR VEHICLES
20210392012 · 2021-12-16
Inventors
Cpc classification
H04L67/568
ELECTRICITY
G06F30/34
PHYSICS
H04L49/9057
ELECTRICITY
H04L47/32
ELECTRICITY
International classification
Abstract
A control unit architecture and a method in which a communication connection takes place between at least two control units, in particular in a vehicle. The method includes receiving the data packet by the first interface controller; determining, by a data analyzer, a transmission strategy for the data packet, the transmission strategy including at least one of the following actions: rejecting the data packet, and/or sending the data packet to at least one of the second interface controllers, and/or sending the data packet to at least one of the buffer stores, and/or fragmenting the data packet and sending it to at least one of the buffer stores, and/or sending the content of the at least one buffer store to at least one of the second interface controllers; implementing the transmission strategy for the data packet.
Claims
1. A method for transmitting a data packet from a first interface controller to at least one second interface controller, comprising: receiving the data packet by the first interface controller; determining, by a data analyzer, a transmission strategy for the data packet, the transmission strategy comprising at least one of the following actions: using a maximum load for the data packet, and/or rejecting the data packet, and/or sending the data packet to at least one of the second interface controllers, and/or sending the data packet to at least one of the buffer stores, and/or fragmenting the data packet and sending it to at least one of the buffer stores, and/or sending the content of the at least one buffer store to at least one of the second interface controllers; and implementing the transmission strategy for the data packet.
2. A method for transmitting a data packet from at least one second interface controller (301, 302, 303) to a first interface controller, comprising: receiving the data packet by the second interface controller; determining, by a data analyzer, a transmission strategy for the data packet, the transmission strategy comprising at least one of the following actions: using a maximum load for the data packet, and/or rejecting the data packet, and/or sending the data packet to the first interface controller, and/or sending the data packet (500) to at least one of the buffer stores, and/or fragmenting the data packet and sending it to at least one of the buffer stores, and/or sending the content of the at least one buffer store to the first interface controller; and implementing the transmission strategy for the data packet.
3. The method as claimed in claim 1, wherein the transmission strategy furthermore comprises at least one of the following actions: using a characterization for the data packet; using an assignment to one of the buffer stores and/or to one of the second interface controllers for the data packet; using a whitelist for the data packet; using a priority for the data packet and/or wherein the maximum load: is a load on a communication connection of the first interface controller and/or of the second interface controller; or is a maximum number of packets per unit time for a data type, all packets that exceed the maximum number being rejected; or is defined depending on a sender.
4. The method as claimed in claim 1, wherein at least part of the transmission strategy is presented in a table.
5. The method as claimed in claim 4, wherein the table is formed as an associative memory, the characterization being used as a key for the associative memory.
6. The method as claimed in claim 4, wherein the transmission strategy furthermore comprises the following action: reading in the table from a configuration module.
7. The method as claimed in claim 1, wherein the transmission strategy furthermore comprises the following action: sending at least part of the data packet to a logging module.
8. The method as claimed in claim 1, wherein the first interface controller supports an Ethernet protocol, and the second interface controller supports a parallel bus protocol, a serial bus protocol and/or an Ethernet protocol.
9. The method as claimed in claim 1, furthermore comprising a further first interface controller, wherein the further first interface controller supports the same protocol as the first interface controller.
10. The method as claimed in claim 8, wherein the further first interface controller is used as redundant first interface controller.
11. A control unit for transmitting a data packet from a first interface controller to at least one second interface controller and/or for transmitting a data packet from at least one second interface controller to a first interface controller, the control unit comprising: a first interface controller, a data analyzer, at least one buffer store, and at least one second interface controller, wherein the control unit is set up to carry out a method as claimed in claim 1.
12. The control unit as claimed in claim 11, wherein the control unit is implemented as an ASIC or as an FPGA.
13. A control system for transmitting a data packet from a first interface controller to at least one second interface controller and/or for transmitting a data packet from at least one second interface controller to a first interface controller, the control system having: a control unit as claimed in claim 11, a configuration module, wherein the control unit is set up to read in a table from the configuration module, and/or a logging module, wherein the control unit is set up to send at least part of the data packet to the logging module.
14. A method as claimed in claim 1 for transmitting a data packet between controller modules in a vehicle.
15. A vehicle having a control unit for transmitting a data packet from a first interface controller to at least one second interface controller and/or for transmitting a data packet from at least one second interface controller to a first interface controller, the control unit comprising: a first interface controller, a data analyzer, at least one buffer store, and at least one second interface controller, wherein the control unit is set up to carry out a method as claimed in claim 1.
16. The method as claimed in claim 2, wherein the transmission strategy furthermore comprises at least one of the following actions: using a characterization for the data packet; using an assignment to one of the buffer stores and/or to one of the second interface controllers for the data packet; using a whitelist for the data packet; using a priority for the data packet; and/or wherein the maximum load: is a load on a communication connection of the first interface controller and/or of the second interface controller; or is a maximum number of packets per unit time for a data type, all packets that exceed the maximum number being rejected; or is defined depending on a sender.
17. A control unit as claimed in claim 10, for transmitting a data packet between controller modules in a vehicle.
18. A control system as claimed in claim 13 for transmitting a data packet between controller modules in a vehicle.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0085] For further clarification, aspects of the invention will now be described on the basis of embodiments shown in the figures. These embodiments are intended to be understood merely as examples and not as limitations.
[0086] In the figures:
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0103]
[0104] Depending on parts of the data packet 500, the data packet 500 can be sent directly to a vehicle controller 330, for example. This is indicated by the buffer store 139 shown in dashed lines; this buffer store 139 can either be very small (for example contain only one entry) or can also be omitted, so that a direct and thus fast transmission to the second interface controller 303 can take place. Depending on parts of the data packet 500, the data packet 500 can be sent to the buffer store 131 and/or 132, for example. If the data packet 500 is sent to more than one buffer store, this can be the realization of a multicast or a broadcast. The buffer store(s) 131, 132 can be sent to one of the vehicle controllers 310, 320, 330 via one of the second interface controllers 301, 302, 303.
[0105]
[0106]
[0107]
[0108] The characterization 560 can comprise the determination of a data type. Examples of a data type can be: control information for the vehicle and/or an actuator, control information for a device such as a telephone, raw sensor data, infotainment data, audio data, video data. The characterization 560 can also be used, for example, as a key for an associative memory.
[0109] The assignment 561 can be an assignment to one of the buffer stores and/or to one of the second interface controllers. One, multiple instances or none of the buffer stores and/or one of the second interface controllers can be addressed. The entry “0” can be provided if, for example, a data packet 500 having a predefined data type 560 is supposed to be rejected in any case. The assignment 561 can, for example, be used advantageously when video data and telephone data, for example, are supposed to be quickly sorted and assigned to the applicable devices.
[0110] The whitelist 562 can have specific permissible addresses, for example MAC addresses or features of higher protocol layers. The whitelist 562 can be empty.
[0111] The priority 563 can be allocated, for example, on the basis of a characterization 560 or also, for example, stipulated by a definition in the configuration module 200 (see
[0112] The maximum load 564 can relate to the communication medium of the first interface controller 110, for example. For example, the maximum load from which a specific data packet 500 is refused or rejected can be defined.
[0113]
[0114]
[0115]
[0116]
[0117]
[0118] The use of Ethernet and IP in the vehicle can be improved by the methods and/or apparatuses described. The type of communication (client/server) that accompanies Ethernet may be novel for at least some vehicles. The Ethernet communication and/or specifications of newer vehicle controllers can already lead to high bus utilization. In some embodiments, so-called network cards can be used, for example. With such components, the controller and the transceiver are integrated on a separate system and thus decoupled from the main system.
[0119]
[0120] The vehicle controller 310, 320, 330, for example a microcontroller (μC) or microprocessor (μP) or a system on chip (SoC), has hardware having Ethernet interfaces transparently connected upstream of it. In this context, transparent means that no protocol conversion has to take place and that the hardware can also be presented almost invisibly to the application. The hardware can have two Ethernet interfaces, for example, which in one embodiment provide the same speed as that of the μC. In addition to this, the additional component provides a fast configuration interface 220 that is not routed via Ethernet. The hardware can be connected either to the circuit board (OnBoard) or via a cable to the μC (or the PHY). The HW does not necessarily have to be placed on the same circuit board. It can be useful to provide a separate configuration line 220. The additional hardware can be realized as an intelligent 2-port Ethernet switch module, for example. The additional hardware can also be realized as an ASIC, for example with memory and two Ethernet interfaces—in the ASIC or outside. The hardware can be designed, for example, as such an ASIC including registers and 2 Ethernet PHYs.
[0121]
[0122]
[0123]
[0124]
[0125]
[0126]
LIST OF REFERENCE SIGNS
[0127] 100 control unit [0128] 110 first interface controller [0129] 112 further first interface controller [0130] 115 arrow [0131] 116, 117 data streams [0132] 120 header analysis [0133] 120 data analyzer [0134] 131, 132 buffer store [0135] 139 intermediate buffer for data packets [0136] 190 control system [0137] 200 configuration module [0138] 250 logging module [0139] 301, 302, 303 second interface controller [0140] 310, 320, 330 vehicle controller [0141] 311, 321, 331 data connection [0142] 312, 322, 332 interrupt connection [0143] 400 Ethernet connection [0144] 420 Ethernet connection [0145] 500 data packet [0146] 550 table [0147] 551, 552, 553, 554 table rows [0148] 560 characterization [0149] 561 assignment [0150] 562 whitelist [0151] 563 priority [0152] 564 maximum load