DATA NETWORK HAVING AT LEAST THREE LINE BRANCHES, WHICH ARE CONNECTED TO ONE ANOTHER VIA COMMON STAR NODE AS WELL AS A MOTOR VEHICLE AND OPERATING METHOD FOR THE DATA NETWORK
20230048283 · 2023-02-16
Inventors
Cpc classification
H04L12/40045
ELECTRICITY
H04K3/82
ELECTRICITY
H03K2005/00013
ELECTRICITY
International classification
Abstract
A data network has at least three line branches connected via a common star node to distribute message signals from one of the line branches onto the other line branches, wherein connected to at least one of the line branches is at least one bus-user device is configured to generate in a corresponding transmit mode by a corresponding transmit unit at least one of the message signals, wherein in the corresponding bus-user device, the transmit unit has a current source circuit which, in generating the message signal (16), is configured to inject an electric current into electrical lines of the line branch to which the bus-user device is connected, and via the current source circuit the lines are connected to an internal impedance value of the current source circuit that in transmit mode is constantly greater than 10 times the value of the characteristic impedance, for example greater than 500 Ohms.
Claims
1. A data network having at least three line branches connected to one another via a common star node in order to distribute message signals from one of the line branches onto other line branches, wherein connected to at least one of the line branches is at least one bus-user device each configured to generate in a corresponding transmit mode by a corresponding transmit unit at least one of the message signals, wherein the corresponding bus-user device, the transmit unit thereof has a current source circuit which, in generating the message signal, is configured to inject an electric current into electrical lines of the line branch to which the bus-user device is connected, wherein via the current source circuit the lines are connected to an internal impedance value that in transmit mode is constantly greater than 10 times the value of characteristic impedance of the line branch.
2. The data network as claimed in claim 1, wherein in at least one bus-user device which is connected to a line end of one of the line branches, its transmit unit has a termination circuit connected in parallel with the current source circuit, and the termination circuit connects the electrical lines at the line branch to which the bus-user device is connected, and has an impedance value equal to a characteristic impedance of the line branch.
3. The data network as claimed in claim 1, wherein in at least one bus-user device which is connected between a line end of one of the line branches and the star node, this bus-user device has an open-circuit, which, at least in an event that the current source circuit is inactive, or else continuously, electrically isolates the lines of the line branch.
4. The data network as claimed in claim 1, wherein each of the at least one bus-user devices has a receive circuit, which is configured to receive as a receive signal from the corresponding line branch to which the bus-user device is connected at least one message signal from another bus-user device, wherein the receiver circuit comprises a compensation filter, which is configured such that when the transmit unit of an associated bus-user device is in transmit mode, it superimposes with a time offset an associated message signal emitted by the transmit unit negatively on the receive signal and in a weighted manner, wherein a time offset of the negative superposition equals a signal travel time from the bus-user device to the star node and back to the bus-user device, which signal travel time arises in the line branch.
5. The data network as claimed in claim 4, wherein the compensation filter is implemented based on at least one analog delay line and at least one amplifier circuit.
6. The data network as claimed in claim 4, wherein each of the at least one bus-user devices is configured to emit by means of the transmit unit an interference signal during a receive mode of an associated receive circuit.
7. The data network as claimed in claim 1, wherein in the corresponding bus-user device, the transmit unit thereof has a four-quadrant controller comprising an H-bridge circuit, which is configured to switch the current source circuit with alternating polarity between the lines of the line branch.
8. The data network as claimed in claim 1, wherein in the at least one bus-user device, the corresponding transmit unit is configured to inject its corresponding message signal as a differential voltage level into the lines of the line branch.
9. A motor vehicle having a data network as claimed in claim 1.
10. A method for operating a data network having at least three line branches connected to one another via a common star node in order to distribute message signals from one of the line branches onto other line branches, wherein connected to at least one of the line branches is at least one bus-user device in each case, which is configured to generate in a corresponding transmit mode by means of a corresponding transmit unit at least one of the message signals, characterized in that in the corresponding bus-user device, the transmit unit thereof has a current source circuit which, for in generating the corresponding message signal, injects an electric current into electrical lines of the line branch to which the bus-user device is connected, wherein via the current source circuit the lines are connected to an internal impedance value of the current source circuit that in transmit mode is constantly greater than 10 times the value of the characteristic impedance of the line branch.
11. The method for operating a data network as claimed in claim 10, wherein the internal impedance value of the current source circuit in transmit mode is constantly greater than 500 Ohms.
12. The data network as claimed in claim 1, wherein the internal impedance value of the current source circuit in transmit mode is constantly greater than 500 Ohms.
13. The data network as claimed in claim 5, wherein each of the at least one bus-user devices is configured to emit by the transmit unit an interference signal during a receive mode of an associated receive circuit.
Description
[0028] Exemplary embodiments of the invention are described below, in which regard:
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036] The exemplary embodiment explained below is a preferred embodiment of the invention. In the exemplary embodiment, the described components of the embodiment each represent individual features of the invention that should be considered independently of one another and that each also develop the invention independently of one another and can therefore also be considered to be part of the invention individually or in a combination other than that shown. Furthermore, the embodiment described can also be supplemented by further features of the invention that have already been described.
[0037] In the figures, elements with the same function are each provided with the same reference signs.
[0038]
[0039] The network topology b allows a plurality of line branches 11, but these have to be interconnected via an active switch 13 in order to avoid reflections. Topology b is a star structure having a central, active network node and point-to-point connected network nodes.
[0040] The network topology c allows line branches 11 to be connected to one another via a passive star node 14. Proceeding on the assumption that a bus-user device 15 is a transmitting bus-user device that is emitting a message signal 16 into the data network, then from the viewpoint of the transmitting bus-user device 15, the arrangement comprising the three line branches 11 shown can be interpreted in the manner that on the other side of the star node 14, each line branch 11 can have a line impedance Z.sub.L, and hence this can result in a line impedance of 0.5 Z.sub.L from the viewpoint of the transmitting bus-user device 15. The message signal 16 is reflected at the star node 14 with a reflection coefficient rs=−⅓, resulting in a reflected part 17 of the message signal, which can arrive again at the transmitting bus-user device 15.
[0041]
[0042] The data network 18 can be provided in a motor vehicle KFZ, in which case the bus-user devices 10, 10′ may be control units, for example. A transmit unit 21 and a receive circuit 22 are shown for each of the bus-user devices 10. For the sake of clarity, only the bus-user device T1 is described below; the other bus-user devices 10, 10′ can have the same design, although a difference between the bus-user devices 10 and the bus-user devices 10′ will be described in greater detail in connection with
[0043] In the transmit unit 21, a current source circuit 23 can be connected to the lines 19 of the line branch 11 via a four-quadrant controller 24 comprising an H-bridge circuit 25. The current source circuit 23 can inject an electric current I0 into the lines 19 in order to emit a message signal 16. For this purpose, a control circuit 26 can switch switches S1, S2, S3, S4 of the bridge circuit 25 according to a temporal waveform of the transmitted message signal 16, such as can be defined as the transmit signal TX1 by a microcontroller of the bus-user device 10, for example. Since the bus-user device 10 is connected at the line end 20 of the line branch 11, a termination circuit 27 can additionally be provided, by means of which the lines 19 can be electrically connected or terminated by a termination impedance 28 of impedance value Z1, where the impedance value Z1 can equal the line impedance of the line branch 11. It can also be provided to set voltage levels on the lines 19 by means of a voltage source 29 and a ground potential 30 for the time interval outside the transmit mode of the bus-user device 10. This is known per se from the prior art and is therefore not explained in further detail.
[0044] The receive circuit 22 can be used to receive by means of a difference amplifier 33 (D) a receive signal 32 as a voltage signal that appears between the lines 19, so that the receive signal 32 can be provided as the signal RX. A compensation filter 34 (F1 for the bus-user device T1) can be used to subtract at a time offset the message signal 16 currently being emitted by the bus-user device, in which process weighting or scaling is also possible. This results in a compensated receive signal 35, which is also labeled here as Ry. The numbering of the signals corresponds to the numbering of the individual bus-user devices T1, T2, T3.
[0045]
[0046] In order to determine the estimated echo signal Rx′(t), a cascade of delay elements 41 can be provided, each of which can generate a time delay of length equal to the symbol time length T. By feeding the transmit signal Tx(t) into the cascade of the delay elements 41, delayed variants Tx(t−T), Tx(t−2T) . . . of the transmit signal Tx(t) can be generated, each of which can be scaled or weighted by an amplifier circuit 42 in order to obtain an attenuated variant or an attenuated version of the respectively delayed transmit signal. A total of M delay elements 41 are provided. The gain is represented here as b.sub.0 to b.sub.M respectively. Additional superposition circuits 43 can perform summation, resulting in the estimated echo signal Rx(t). The delay elements 41 and/or the amplifier circuits 42 and/or the superposition circuits 40, 43 can each be implemented as an analog circuit. For example, the superposition circuits 42, 40 can be implemented as analog adder circuits or generally on the basis of at least one operational amplifier and/or transistor, the amplifier circuits 42 on the basis of an operational amplifier, and the delay elements 41 on the basis of a delay line.
[0047]
[0048] The receive circuit 22 of the bus-user device T1 receives the message signal directly as Rx1, and also the echo in the receive signal 32 after a length of time equal to the travel time of the message signal from the bus-user device T1 to the star node 14 and back to the bus-user device T1. The compensated receive signal Ry1 no longer comprises any reflections because the compensation filter 34 has estimated the echo signal correctly and removed it from the receive signal Rx1.
[0049] Also shown is the message signal 16 incident at the star node S, which arrives at the star node S with a time offset t1.sub.1, which equals the travel time from the bus-user device T1 to the star node S.
[0050] At the star node S, the message signal 16 is split and transferred into the two line branches L.sub.2 and L.sub.3 (see
[0051]
[0052]
[0053]
[0054] Since the termination circuit 27 is not present and instead an open-circuit 51 is provided, only the electrical impedance of the current source circuit 23 and of the H-bridge circuit 25 are effective, which, because of the internal impedance values in the equivalent circuit 50, appears to the lines 19 of the line branch 11 as an open-circuit, which prevents reflections.
[0055] Known bus systems in the motor vehicle mostly use the described linear structure of an electrical two-wire line having a termination at both ends, in order that the propagating waves can be used for signal transmission with minimum possible reflection (see
[0056] The aim when creating a network in the vehicle is often a star structure, but the stipulation of short stubs means this is not easy to achieve. Especially at high bit rates, the reflecting signal components are often of such severity that it is hard to ensure interference-free operation (CAN, CAN-FD).
[0057] The object is generally to operate a star structure having simply and inexpensively coupled line segments for high-speed communication in the motor vehicle. The object is also to increase the security of systems in the vehicle and to tighten against attacks by hackers.
[0058] The communication in the vehicle can also be protected from malicious attacks in that it is possible to employ, according to the invention, full-duplex transmission with pseudo-random signals. The present idea of secure full-duplex transmission can also be used in a high-speed star network. Half-duplex operation is also possible, however.
[0059] The bus system uses for the signal transmission a line having termination impedances matched to the line characteristic impedance (Z.sub.L) in order to prevent reflections (e.g. CAN, CAN-FD, Flexray) as shown in
[0060] The present idea describes a possible way of operating at high symbol rates a passive star structure by way of example shown in
[0061] Thus preferably a passive star network having relatively long line segments is sought as the desired topology. The endpoints are transceivers which at each of the endpoints ensure excellent termination of the line by its characteristic impedance. This termination is equally good in every operating state, in particular also during transmitting. The use of such type 1 transceivers, which always have a matched termination, at the end nodes of the star is an advantageous feature of the idea described here and is in contrast with the low-impedance transceivers having a passive star node.
[0062]
[0063] High-impedance transceivers of type A for coupling via short stubs are also possible (TA, TB, TC); see
[0064] The abbreviations used for the following description of a preferred exemplary embodiment are defined again in summary: [0065] Txn transmitter voltage [0066] Rxn receiver differential voltage [0067] Ryn receiver voltage filtered according to the invention [0068] Z.sub.n termination impedance [0069] Z.sub.n=Z.sub.L (type 1 transceiver) or Z.sub.n=∞ (type A transceiver) [0070] D high-impedance difference amplifier [0071] Fn reflection-compensation filter according to the invention [0072] Ln line segments of characteristic impedance Z.sub.L and length invention [0073] I.sub.0 constant current for signal encoding, e.g.: I.sub.0=10−20 mA [0074] S passive star node
[0075] Half-duplex mode is described below by way of example:
[0076] The following parameters are used to consider the arrangement shown in
TABLE-US-00001 with N = 3 end nodes
[0077] The present idea is based on the finding that in a star network having a passive star S, i.e. a simple interconnection of long line segments without any additional circuitry, a well-defined reflection occurs, but which only propagates towards the transmitter. The present idea is based on transceivers that always have a correct termination, in particular during the transmit process, which is in contrast to many conventional networks.
[0078] In the preferred arrangement according to
[0079] A filter apparatus F1, F2, F3 . . . can be connected after each receiver difference amplifier D in order to compensate the reflections expected in transmit mode. A cascade of delay elements of uniform delay time T and having a number of weighting factors b is suitable as the filter structure, similar to a non-recursive FIR filter, in order to compensate at the output Ry the expected transmitter-based reflection at the input Rx:
[0080]
[0081] The expected receive signal can be determined theoretically for a star network as shown in
TABLE-US-00002 For T1, (t) = Tx.sub.1(t) + r.sub.S .Math. Tx.sub.1(t − 2T.sub.11) (2) expected receive signal: For m < M
(t) = Rx.sub.1(t) − b.sub.0 .Math. output: Tx.sub.1(t) − b.sub.m .Math. Tx.sub.1(t − mT) (3)
[0082] With the parameters used for the diagram in
[0083] The optimum setting for the filters can be fixed for each station or else made adaptively, for instance if a known bit sequence is provided in the protocol used, similar to the synchronization byte for Ethernet.
[0084] In principle, topologies having a plurality of passive star nodes are possible, although this complicates the filter structures for compensating a plurality of reflections.
[0085] This can be contrasted with the negative impact of a passive star having conventional, transmitter-based low-impedance transceivers (as per CAN, Flexray): Here, the reflections occur at the receivers, where they can no longer be compensated. Thus for good reason, star structures containing long line segments are not permitted in the majority of conventional networks, but only a linear structure (bus structure) having two line ends with the best possible termination.
[0086] Full-duplex mode is described below by way of example:
[0087] The arrangement shown in
[0088]
[0089] According to the method, immediately after receiving the first part of the message from station 1 (signal Ry3), station 3 starts to transmit the bit sequence 1100 via transceiver T3. As a consequence, a wave propagates from transceiver 3 towards the star node, and is partially reflected there (reflection coefficient r.sub.s) and again forms a wave traveling backwards towards station 3, where it can be compensated by compensation filter F3. Hence station 3 can receive the signal 1010 from station 1 without interference.
[0090] At the star node S and at the receiver 2 (Rx2), however, the superposition of the transmit signal Tx1 and the transmit signal Tx3 means that decoding into the underlying bit sequence is not possible.
[0091] Although reflections can also be observed immediately after the receiver 1 (Rx1), these are compensated by the filter F1 according to the invention, and therefore the bit sequence 1100 transmitted by station 3 is detected at the output Ry1. The same applies to station 3; because this station is transmitting, the compensation filter F3 can compensate the reflections and the associated transmit signal, with the result that the bit sequence 1010 transmitted by station 1 can be detected without error.
[0092] Thus the arrangement according to the invention shown in
[0093] With the arrangement shown in
[0094] The present idea basically describes a network at the physical layer (OSI layer 1), with other networks able to undertake the aspects of the data link layer (OSI layer 2) such as arbitration, error detection and error correction etc., so for instance it is conceivable that UART communication similar to RS-485 or Ethernet Frames as per IEEE 802.3 are used with the present network.
[0095] Advantageous aspects of the idea are summarized in the following list: [0096] 1. A method and an arrangement as shown in
[0103] Overall, the example shows how the invention can provide a high-speed and intercept-secure data network.
LIST OF REFERENCE SIGNS
[0104] 10 bus-user device [0105] 11 line branch [0106] 12 stub [0107] 13 switch [0108] 14 star node [0109] 15 bus-user device [0110] 16 message signal [0111] 17 part [0112] 18 data network [0113] 19 lines [0114] 20 line end [0115] 21 transmit unit [0116] 22 receive circuit [0117] 23 current source circuit [0118] 24 four-quadrant controller [0119] 25 bridge circuit [0120] 26 control circuit [0121] 27 termination circuit [0122] 28 termination circuit [0123] 29 voltage source [0124] 30 ground potential [0125] 32 receive signal [0126] 33 difference amplifier [0127] 34 compensation filter [0128] 35 receive signal [0129] 40 superposition circuit [0130] 41 delay elements [0131] 42 amplifier circuit [0132] 43 superposition circuit [0133] 44 interference signal [0134] 55 receive signal [0135] 50 equivalent circuit [0136] 51 open-circuit [0137] B1 operating phase [0138] B2 operating phase [0139] B3 operating phase [0140] I.sub.0 electric current [0141] T1, T2, T3 bus-user device [0142] Z internal impedance value