Subscriber station for a bus system and method for broadband can communication
09900248 ยท 2018-02-20
Assignee
Inventors
Cpc classification
H04L12/413
ELECTRICITY
International classification
H04J3/24
ELECTRICITY
H04L12/413
ELECTRICITY
Abstract
A user station for a bus system implementing broadband CAN communication includes: a communication control device for creating or reading at least one message for/from at least one further user station of the bus system, in which exclusive, collision-free access of a user station to a bus of the bus system is ensured at least intermittently; and a data interleaving device for interleaving data packets of at least two messages into a single message, so that the data packets are situated in one data segment of the single message. The single message has a shared outer frame header for the data packets in front of the data segment and a shared outer frame end for the data packets after the data segment.
Claims
1. A user station for a bus system, comprising: a communication control device for one of (i) creating at least one message for at least one further user station of the bus system, or (ii) reading at least one message from at least one further user station of the bus system, wherein exclusive, collision-free access of the user station to the bus of the bus system is ensured at least intermittently; and a data interleaving device for interleaving selected data packets of at least two separate messages into one composite message, so that the selected data packets are situated in one selected data segment of the composite message, and the composite message has a shared outer frame header for the selected data packets in front of the selected data segment and a shared outer frame end for the selected data packets after the selected data segment, wherein at least one of the selected data packets interleaved in the selected data segment includes a training sequence containing information for determining a channel characteristic between the user station and the at least one further user station of the bus system to which the selected data packets in the selected data segment is to be transmitted; and a correction device for correcting a message received from the at least one further user station in the form of a signal based on the training sequence.
2. The user station as recited in claim 1, wherein at least a portion of the selected data packets situated in the selected data segment of the composite message are created by the user station.
3. The user station as recited in claim 1, wherein the frame header and the frame end are formed according to the CAN protocol with respect to the data interleaving.
4. The user station as recited in claim 1, wherein the data interleaving device forms the composite message in such a way that at least one of (i) the frame header additionally includes at least one signaling bit for signaling a data interleaving in the selected data segment, and (ii) the frame end includes a checksum of the data in the selected data segment.
5. The user station as recited in claim 1, wherein the data interleaving device forms the composite message in such a way that the selected data packets to be interleaved are divided into groups, wherein at least one of: (i) each group has a fixed message length and is transmitted in the CAN format and with the at least one signaling bit; (ii) the fixed message length of each group is different; (iii) each group has an established cycle time to wait for output of the at least one other user station having a message of the same group; (iv) each group includes messages having the same priority, same message length and same cycle time; and (v) the respective group size is indicated in a control field of the frame header.
6. The user station as recited in claim 1, wherein the data interleaving device forms the composite message in such a way that, in the frame header, the complete CAN identifier of the composite message is transmitted, which initiates the transmission of the composite message and thus transmits the outer frame header and the outer frame end of the composite message.
7. A bus system, comprising: a bus line; and at least two user stations connected to each other via the bus line and configured to communicate with each other; wherein at least one of the user stations includes: a communication control device for one of (i) creating at least one message for at least one further user station of the bus system, or (ii) reading at least one message from at least one further user station of the bus system, wherein exclusive, collision-free access of the user station to the bus of the bus system is ensured at least intermittently; and a data interleaving device for interleaving selected data packets of at least two separate messages into one composite message, so that the selected data packets are situated in one selected data segment of the composite message, and the composite message has a shared outer frame header for the selected data packets in front of the selected data segment and a shared outer frame end for the selected data packets after the selected data segment wherein at least one of the selected data packets interleaved in the selected data segment includes a training sequence containing information for determining a channel characteristic between the user station and the at least one further user station of the bus system to which the selected data packets in the selected data segment is to be transmitted; and a correction device for correcting a message received from the at least one further user station in the form of a signal based on the training sequence.
8. A method for broadband CAN communication, comprising: one of (i) creating, with a communication control device, at least one message for at least one further user station of the bus system, or (ii) reading, with a communication control device, at least one message from at least one further user station of the bus system, wherein exclusive, collision-free access of the user station to the bus of the bus system is ensured at least intermittently; and interleaving, with a data interleaving device, selected data packets of at least two separate messages into one composite message, so that the selected data packets are situated in one selected data segment of the composite message, and the composite message has a shared outer frame header for the selected data packets in front of the selected data segment and a shared outer frame end for the selected data packets after the selected data segment, wherein at least one of the selected data packets interleaved in the selected data segment includes a training sequence containing information for determining a channel characteristic between the user station and the at least one further user station of the bus system to which the selected data packets in the selected data segment is to be transmitted; and correcting, via a correcting device, a message received from the at least one further user station in the form of a signal based on the training sequence.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE INVENTION
(6) In the figures, identical or functionally equivalent elements are denoted by the same reference numerals, unless indicated otherwise.
(7)
(8) In
(9) As shown in
(10) As shown in
(11) Communication control device 11 is used to control a communication of the particular user station 10, 20, 30 via bus line 40 with another user station of user stations 10, 20, 30 connected to bus line 40. Data interleaving device 12 and correction device 13 are used to transmit messages 3, 4, 5 at a high data rate on bus line 40 having a CAN bus topology, as is described in greater detail hereafter. Communication control device 11 may be designed as a conventional CAN controller. Transceiver 14 may be designed as a conventional CAN transceiver with respect to its transmission functionality.
(12) The two user stations 20, 30 may be used to form and then transmit messages 3, 4 even at higher data rates than CAN-FD, a good or better net data rate than with a transmission according to the CAN protocol also being achieved for payload data having a length of 1 to 8 bytes. User station 10, in contrast, corresponds to a conventional CAN user station, both with respect to its transmission functionality and its reception functionality, and transmits messages 5 according to the CAN protocol if it does not include data interleaving device 12 and correction device 13.
(13)
(14) In middle data segment 32, data interleaving device 12 may consecutively situate or interleave multiple data packets of different CAN messages, if necessary. No additional protocol or an additional data channel is required for this purpose, but data interleaving device 12 merely adapts the signal format when creating a message 3, 4. The form of the signal format is designed in such a way that it allows secure communication even with typical signal interferences, e.g., due to irradiation and the like, and hardware tolerances impacting synchronization requirements, and at the same time adheres to the spectral masks with respect to radiation or electromagnetic compatibility (EMC).
(15) According to
(16) For the extension of the CAN communication toward high data rates, the temporal extent of a standard CAN frame is adhered to and existing CAN structures, such as the header and end of a CAN frame, are maintained in the present exemplary embodiment for compatibility reasons. For each message 3, 4, this results in a maximal temporal length on the one hand and, due to the overhead for frame header 31 and frame end 33, in a minimal temporal length on the other hand.
(17)
(18) As shown in
(19) With this partitioning, CAN frame 30 is designed in such a way that multiple short data packets 32-1 through 32-N may be transmitted in an interleaved manner. In this way, a higher net data rate R may also be achieved for short data packets 32-1 through 32-N than previously.
(20) Net data rate R of a message 3 results for the assumption of gross data rate R.sub.O for the overhead, i.e., in frame header 31 and frame end 33, and gross data rate R.sub.D for data segment 32 and the number of transmission bits N.sub.O in the overhead, i.e., frame header 31 and frame end 33, and the number of transmission bits N.sub.D for data segment from the averaging
R=N.sub.D/(N.sub.O/R.sub.O+N.sub.D/R.sub.D).
(21) For a first gross data rate R.sub.D1100 Mbit/s as gross data rate R.sub.D, a first example N.sub.O70 bit, R.sub.O1 Mbit, N.sub.D18 bit results in a first net data rate R.sub.1=114 kbit/s as net data rate R. In contrast, according to a second example, net data rate R.sub.2=103 kbit/s results as net data rate R for a second gross data rate R.sub.D2=R.sub.01 Mbit/s as gross data rate R.sub.D.
(22) It is apparent that only a small increase of approximately 11% is achieved for such a short data segment 32 of 1 byte (=8 bits), even when using a very high gross data rate R.sub.D in data segment 32, also if gross data rate R.sub.D in the first example is higher by a factor of 100 than in the second example.
(23) Contrary to this, a considerable increase in net data rate R results for a larger number of bits in data segment 32. For example, according to a third example where N.sub.O70 bit, R.sub.O1 Mbit/s, N.sub.D364 byte=512 bit, which corresponds to the maximum number of CAN-FD frames, the third net data rate R.sub.32.59 Mbit/s already results for a third gross data rate R.sub.D3=4 Mbit/s. In contrast, the fourth net data rate R.sub.4=0.48 Mbit/s results for a fourth example where N.sub.O70 bit, R.sub.D4=R.sub.O1 Mbit/s, N.sub.D48 byte=64 bit (standard CAN). As a result, an increase to 5.4 times the net data rate R is achievable for the third example compared to the fourth example.
(24) In the present exemplary embodiment, the individual CAN messages or their data packets 32-1, 32-2 through 32-N of only one of the user stations, for example only of user station 30, are created and transmitted. Certain planning and an adapted access control are necessary, which are introduced hereafter based on
(25) First, the simplest design case is considered, which is also further optimizable for different cases by parameter variations. To prioritize and group CAN messages or data packets 32-1, 32-2 through 32-N, similar messages having the same priority, length L and cycle time T.sub.Z are combined in groups having the same priority.
(26) As shown in
(27)
(28) For each group G1, G2, . . . GN, a fixed message length L is agreed on, which is transmitted in the customary CAN format or with the corresponding extension in the message header or frame header 31. Fixed message length L of groups G1, G2, . . . GN may be different for the individual groups. For example, a reserved bit, which was previously preassigned the value 0, is used for signaling the new format. The position of the reserved bit in the message frame of message 3 must be defined, as illustrated in
(29)
(30) When signaling bit 3121 is activated, which corresponds to the value 1, data segment 32 is divided into 2 parts, and thus for the transmission of 2 packets. Otherwise, i.e., when signaling bit 3121 has the value 0, a transmission is carried out in the existing form. In this way, first signaling bit 3121 indicates whether the frame or message 3 has been divided into at least two parts (signaling bit 3121 has the value 1) or not (signaling bit 3121 has the value 0). For the case that signaling bit 3121 has the value 1, this is hierarchically continued, so that it is indicated with the second bit, signaling bit 3122 whether the frame or message 3 has been divided into at least four parts (signaling bit 3122 has the value 1) or not (signaling bit 3122 has the value 0). If first signaling bit 3121 has the value 1 and second signaling bit 3122 has the value 0, the frame or message 3 is then divided only into two parts. In this case, third signaling bit 3123 then has no further influence on the division. However, if both first signaling bit 3121 and second signaling bit 3122 have the value 1, it is indicated with third bit to signaling bit 3123 whether the frame has been divided into eight parts (signaling bit 3123 has the value 1) or is composed of only four parts (signaling bit 3123 has the value 0).
(31) With the selected bit combination, the establishment of the grouping used (number of elements N.sub.G) is also implicitly transmitted, which usually represents a power of 2. Since each element of a group G1, G2, . . . GN should be assigned a position in the packet partitioning for collision-free transmission, a partitioning into an appropriate number is selected, as is illustrated in the following Table 2.
(32) TABLE-US-00001 TABLE 2 Values of the sequence of the signaling bits Group Packets in the data 3121, 3122, 3123 elements N.sub.G part 0xx 1 (no grouping) 1 (standard format if necessary) 10x 2 2 110 4 4 111 8 8
(33) In Table 2, x instead of 0 or 1 denotes an arbitrarily selectable bit state.
(34) Alternatively, each bit combination made up of second and third signaling bits 3122, 3123 may be assigned a division which becomes active when first signaling bit 3121 has the value 1. In this way, four possible partitionings are then available. It is thus possible, e.g., to implement a partitioning into up to 16 possible group elements, as illustrated in the following Table 3.
(35) TABLE-US-00002 TABLE 3 Values of the sequence of the signaling bits Packets in the data 3121, 3122, 3123 Group elements N.sub.G part 0xx 1 (no grouping) 1 (standard format if necessary) 10x 2 2 101 4 4 110 8 8 111 16 16
(36) In Table 3 as well, x instead of 0 or 1 denotes an arbitrarily selectable bit state.
(37) The assignment of individual elements of a group G1, G2, . . . GN to a position of the corresponding data packet 32-1, 32-2, . . . 32-N in data segment 32 is carried out via identifier 311. The last log 2(NG) bits of identifier 311 [ID<log 2(NG)1> . . . ID0] are interpreted as a decimal number of the set {0 . . . (NG1)}, and a direct assignment to the possible packet positions {1 . . . NG} is carried out, which are illustrated in
(38) Each group has an established cycle time T.sub.Z during which a communication takes place. For example, user station 30 waits for the established cycle time T.sub.Z to elapse to wait for the emission of a data packet (32-1, 32-2 through 32-N of the same group (G1, G2, . . . GN).
(39) Securing of the transmission is achieved with the aid of a cyclic redundancy check (CRC), which is captured in the checksum 3321, or also via an additional channel coding.
(40) Errors and error handling (error signaling) may be indicated either via superimposed signals during the particular packet emission or via separate time slots.
(41) By interleaving the short data packets 32-1, 32-2, . . . 32-N in data segment 32, the increase in net data rate R may also be achieved for short messages 32-1, 32-2, . . . 32-N, as described above.
(42) According to one modification of the present exemplary embodiment, only one of training sequences 3211, 3212, . . . 321N, for example training sequence 3211, is transmitted for all data packets 32-1, 32-2 through 32-N together in data segment 32. This is sufficient in the present exemplary embodiment since data packets 32-1, 32-2 through 32-N are created and transmitted by only one of the user stations, for example only by user station 30. By eliminating the other training sequences 3212, . . . 321N, the net data rate may thus be even further increased.
(43)
(44) In this way, data interleaving device 12 may arrange only two different messages or their data packets 32-1, 32-2 of message 3 into data segment 32. Otherwise, the bus system according to the present exemplary embodiment is designed identically to bus system 1 according to the preceding exemplary embodiment.
(45) According to a third exemplary embodiment, it is possible to transmit messages or their data packets 32-1, 32-2 through 32-N from at least two different user stations 10, 20, 30 in at least one of messages 3, 4. In this case as well, optional training sequences 3211, 3212 through 321N and guard interval 34 allow the individual messages or data packets 32-1, 32-2 through 32-N according to
(46) In this case of an interleaved transmission of multiple short CAN messages or data packets 32-1, 32-2 through 32-N as well, certain planning and an adapted access control are necessary, which are introduced hereafter.
(47) In the present exemplary embodiment, prioritizing and grouping of the CAN messages or their data packets 32-1, 32-2 through 32-N are also carried out as previously described with respect to the first exemplary embodiment in conjunction with Tables 1 through 3.
(48) In the present exemplary embodiment, it is additionally important for the transmission that all user stations 10, 20, 30 preferably have no coordination complexity and, corresponding to the CAN principles, safety from collisions implicitly results. The following method is introduced for this purpose.
(49) Each group has an established cycle time T.sub.Z during which a communication takes place. For example, if user station 30 wants to transmit a data packet 32-1 as part of a (group) packet, user station 30 waits after a send request for time T.sub.Z to elapse to wait for the emission of another user station, for example of user station 20, having a data packet 32-2 of the same group. If user station 30 detects the emission of another user, i.e., user station 20, for example, user station 30 transmits its packet 32-1 in the same frame at the intended position. If within time T.sub.Z no corresponding emission of another user of bus system 1 (
(50) All messages 32-1, 32-2 through 32-N of a group G1, G2, . . . GN have the same prefix of CAN identifier 311 ([ID<N.sub.ID1> . . . ID<log.sub.2(N.sub.G)>]). Moreover, the group size in each control field 312 (
(51) The emission of data packets 32-1, 32-2 through 32-N at the intended packet positions is carried out independently by user stations 10, 20, 30, so that degrees of freedom exist for the physical layer to securely transmit data packets 32-1, 32-2, through 32-N from various user stations 10, 20, 30. For this purpose, e.g., a synchronization of the user station of user stations 10, 20, 30 acting as the transmitter and of the user station acting as the receiver should be made possible for each individual packet of a divided message 3, 4 since arbitrary combinations of transmitting and receiving points are possible and the propagation times may vary by up to 1 microsecond. An optional guard interval 34 (
(52) Once again, the transmission is secured with the aid of a cyclic redundancy check (CRC), which is captured in checksum 3321, or also via an additional channel coding.
(53) Moreover, once again error and error handling (error signaling) may be carried out either via superimposed signals during the particular packet emission or via separate time slots.
(54) All above-described embodiments of bus system 1, user stations 10, 20, 30 and of the method may be used individually or in any possible combinations. In particular, all features of the above-described exemplary embodiments may be arbitrarily combined. In addition, in particular the following modifications are conceivable.
(55) The above-described bus system 1 according to the exemplary embodiments is described based on a bus system which is based on the CAN protocol. Bus system 1 according to the exemplary embodiments, however, may also be a different type of communication network. It is advantageous, but not a necessary prerequisite, to ensure an exclusive, collision-free access of a user station 10, 20, 30 to a shared channel in bus system 1, 2, at least for certain time periods.
(56) A partitioning in control field 312 deviating from the described partitioning is possible to indicate the interleaved transmission operating modes. It is also possible to define used and reserved bits.
(57) In addition to the design of the exemplary embodiments for non-synchronous systems, variants for time-triggered (TT) systems, e.g., TTCAN, and the like, are also conceivable, which are possible without additional fields in control field 312.
(58) Bus system 1, 2 according to the exemplary embodiments is in particular a CAN network or a TTCAN network or a CAN-FD network.
(59) The specific embodiment of grouped messages or packets 32-1, 32-2 through 32-N may also be extended to packets having different lengths within a group G1, G2, . . . GN.
(60) A group G1, G2, . . . GN may also be defined with packets 32-1, 32-2 through 32-N of different communication cycles or cycle time T.sub.Z, so that the emissions are then primarily initiated by messages 3 or packets 32-1, 32-2 through 32-N having a short cycle time T.sub.Z.
(61) Priority classes may be used within interleaved packets 32-1, 32-2 through 32-N to avoid having to have a dedicated position available for each message or packet 32-1, 32-2 through 32-N, but to assign multiple packets to the same position in a message 3. For this purpose, an additional arbitration for the individual packet positions becomes necessary, which may be carried out in accordance with the CAN arbitration principle, for example. For the implementation, a corresponding sequence, which is composed of a portion of the last log 2(NG) bits of identifier 311 [ID<log 2(NG)1> . . . ID0], is provided in the preamble situated in a packet header in front of training sequence 3211.
(62) As was already mentioned, packets 32-1, 32-2 through 32-N may be created and transmitted in an interleaved data frame or a message 3 with and without training sequence 3211, 3212 through 321N.
(63) Packets 32-1, 32-2 through 32-N may be created and transmitted in an interleaved data frame or a message 3 with and without guard interval 34 between packets 32-1, 32-2 through 32-N.
(64) The method which may be carried out by user stations 10, 20, 30 may be implemented for different systems, such as CAN, CAN-FD, and the like, and also for high-rate modulation, if necessary based on the new physical layer with a corresponding design of the packet structure.
(65) Depending on the group formation, it is possible to support different (also dynamic) partitionings of messages 3, 4.
(66) A necessary clock synchronization in user station 10, 20, 30 acting as the receiver may be favored by the design of the packet structures, and may also be supported by additional synchronization packets between data packets 32-1, 32-2 through 32-N.
(67) In addition to a pulse amplitude modulation (PAM), orthogonal frequency division multiplexing (OFDM) may be used as a possible design of the physical layer of future data frames. For this purpose, the data to be transmitted are mapped on symbols of multiple carriers and assigned to the individual frequencies of an OFDM symbol. To separate different users, an arrangement across different frequency groups (adjoining frequencies) may be carried out, instead of the chronological arrangement of all packets or messages 32-1, 32-2 through 32-N, in particular consecutively.
(68) The transmission mode using interleaved packets 32-1, 32-2 through 32-N as an additional operating variant of user stations 10, 20, 30 is preferably implemented in such a form that the corresponding communication device is able to handle all existing CAN modes, among other things CAN-FD, partial networking, and the like. In this way, user stations 10, 20, 30 are also usable in the same system as user stations which do not have the above-described function of data interleaving.
(69) In user stations 10, 20, 30, the transmission mode using interleaved packets 32-1, 32,-2 through 32-N is implemented in such a way that this mode may be operated in coexistence with existing CAN modes (among other things, CAN-FD, partial networking, and the like).
(70) The number and arrangement of user stations 10, 20, 30 in bus system 1 of the exemplary embodiments are arbitrary. In particular, it is also possible that only user stations 10 or user stations 20 or user stations 30 are present in bus system 1 of the exemplary embodiments. User stations 10, 20, 30 also need not include a data interleaving device 12 or a correction device 13. User stations 10, 20, 30 may also include only one data interleaving device 12 or one correction device 13.
(71) In the case of a channel having little distortion, resulting from the line properties, it is possible to use an incoherent transmission which, however, has a considerably worse performance efficiency, instead of a coherent transmission, which necessitates a frequency and phase synchronization and a channel estimation.
(72) The partitioning of the above-described functionality of data interleaving device 12 and of correction device 13 in one communication device 11 may also be implemented in such a way that the above-described functionality is distributed among multiple components. In this way, a preferably similar implementation corresponding to existing CAN controllers and CAN transceivers may be sought. Both analog and digital interfaces may be used for connecting multiple components.
(73) User stations 20, 30 represent an option, in particular for CAN-FD and systems having higher data rates, for increasing the reception quality of CAN-FD and of these systems into the range of customary CAN transmissions using a considerably higher data rate.
(74) The method carried out in user stations 20, 30 may be implemented, for example, in a transceiver 14, 34, in a communication control device 21, and the like. In addition or as an alternative, it may be integrated into existing products, as is illustrated with user station 10.