Subscriber station for a serial bus system and method for communicating in a serial bus system

By using two checksums to identify Type 3 and Type 4 errors in the user station of the serial bus system, the problem of dynamically stuffed bit error identification at high data rates is solved, and high error robustness and high data rates are achieved. transmission.

CN114731307BActive Publication Date: 2024-10-01ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080083429.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-02
Filing Date
2020-12-01
Publication Date
2024-10-01
Estimated Expiration
2040-12-01

AI Technical Summary

Technical Problem

It is difficult for existing serial bus systems to effectively identify and correct errors related to dynamic stuffing bits at high data rates, especially Type 3 and Type 4 errors, resulting in unstable data transmission and high error rates.

Method used

Design a subscriber station that eliminates the need to fill the bit counter field, increases the useful data rate, and increases the useful data rate by inserting two checksums in the frame, one reliable enough to identify Type 3 errors and the other Type 4 errors. Dynamic padding bits are inserted into the frame to enhance error recognition capabilities.

Benefits of technology

It realizes frame transmission at high data rate and high error robustness, reduces the probability of residual errors, improves the reliability and flexibility of transmission, and avoids the problems of frame length errors and data rate reduction caused by errors in traditional systems. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114731307B_ABST
    Figure CN114731307B_ABST
Patent Text Reader

Abstract

A user station (10; 30) for a serial bus system (1) and a method for communicating in the serial bus system (1) are provided. The user station (10; 30) comprises: a communication control device (11; 31) for controlling the communication of the user station (10; 30) with at least one other user station (10; 20; 30) of the bus system (1); and a transmitting / receiving device (12; 32) which is designed to transmit a transmit signal (TXD) generated by the communication control device (11; 31) serially to a bus (40) of the bus system (1), and the transmitting / receiving device is designed to receive a signal serially from the bus (40) of the bus system (1), wherein the communication control device (11; 31) is designed to generate the transmit signal (TXD) according to a frame (450; 450_1; 450_2) and to transmit the transmit signal (TXD) in the frame (450_2). ; 450_1; 450_2), wherein two checksums (HCRC, FCRC) are inserted into the frame (450; 450_1; 450_2), the two checksums taking into account different bits of the frame (450; 450_1; 450_2), wherein the communication control device (11; 31) is designed to insert dynamic filling bits in the frame (450; 450_1; 450_2), so that after 5 consecutive identical bits, the opposite filling bits are inserted into the bit stream of the frame (450; 450_1; 450_2), and wherein the communication control device (11; 31) is designed to calculate the two checksums (HCRC, FCRC) so that at most one of the two checksums (HCRC, FCRC) takes the dynamic filling bits into account.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a subscriber station for a serial bus system and a method for communication in a serial bus system which operates at a high data rate and with great flexibility and excellent error resistance. Background Art

[0002] Bus systems for communication between sensors and control units (e.g. in vehicles) should be able to transmit large amounts of data, depending on the technical installation or the number of functions in the vehicle. In this case, it is often necessary to transmit data from sender to receiver faster than before and, if necessary, also to transmit large data packets.

[0003] In the case of vehicles, bus systems are currently in the introduction phase, in which data are transmitted as messages in the ISO 11898-1:2015 standard as the CAN protocol specification with CAN FD. These messages are transmitted between bus users of the bus system, such as sensors, control devices, transmitters, etc. CAN FD was first used in vehicles by most manufacturers with a data bit rate of 2 Mbit / s (megabits per second, bit = "bit") and an arbitration bit rate of 500 kbit / s (kilobits per second).

[0004] In order to achieve higher data rates, a follow-up bus system for CAN FD is currently being developed, which is referred to as CAN XL in the following. In addition to pure data transmission via the CAN bus, CAN XL should also support other functions such as functional safety (Safety), data security (Security) and Quality of Service (QoS = Quality of Service). These are basic features required in autonomous vehicles.

[0005] It is very advantageous that CAN XL is compatible with CAN FD and Classic CAN. In this case, CAN FD frames are distinguished from CAN XL frames by means of the res bit in the CAN FD frame. Due to the compatibility, the rules for the dynamic filling bits of the CAN FD arbitration field can also be applied in the case of CAN XL up to this res bit.

[0006] For the functional safety of the system, it is very advantageous and important that the residual error probability is as low as possible. Type 1 errors, i.e. incorrectly opposite sampled bits (bit flips) and / or type 2 errors, i.e. locally accumulated bit errors (burst errors), can be identified with sufficient probability by means of a checksum (CRC=Cyclic Redundancy Check). It should be noted that the receiving user station also performs a format check on the frame. This is also helpful in identifying burst errors in particular. The quality of error identification can be expressed by the residual error probability. The residual error probability indicates how likely it is that a frame will be accepted as correct despite an error at a receiving user station (receiving node) of the bus system that is not the sender of the frame.

[0007] In the case of Classic CAN, the CRC calculation has the following disadvantages. In the case of Classic CAN, the dynamic stuffing bits are not used in the CRC calculation. For this reason, in the case of Classic CAN, there is a Class 3 error in which the checksum (CRC) cannot be reliably identified. This error (Class 3) is caused by the flipping of just two bits, which is also called a bit flip. In this case, one bit flip creates a dynamic stuffing condition, while the other bit flip cancels the dynamic stuffing condition. The order of the bit flips in the serially transmitted bits (bit stream) is irrelevant. Therefore, the CRC calculation is unlikely to identify this error, even though the CRC calculation can actually reliably identify five bit flips (Class 1 errors) in the case of Classic CAN. Therefore, Class 3 errors are particularly problematic cases or serious errors.

[0008] However, in the case of CAN FD, the CRC calculation has the following disadvantages. In order to be robust against type 3 errors in the case of CAN FD, dynamic stuffing bits were introduced into the CRC calculation in the case of CAN FD. However, it was later discovered that there are type 4 errors here that cannot be recognized by the CAN FD CRC. This type 4 error is a single bit loss (Bit Drop) or bit insertion (Bit Insertion) in the data stream of the receiving user station under dynamic stuffing conditions. This means that due to incorrect resynchronization, the receiving user station sees one more bit or one less bit than the sending user station (sending node) actually transmitted. However, this is not obvious because in the case of CAN, the dynamic stuffing bits are only inserted after 5 identical bits with the same value.

[0009] The introduction of dynamic stuffing bits in the CRC calculation in the CAN FD case makes a "stuffing bit counter" in the CRC field necessary. This "stuffing bit counter" reduces the probability that a type 4 error remains undetected, but does not completely solve the problem. However, this "stuffing bit counter" leads to complexity and excess data (overhead), which reduces the useful data rate that can be transmitted.

[0010] Furthermore, there is no header checksum (Header CRC) in the case of CAN FD. Therefore, errors in the code of the data length field (DLC = Data Length Code) cannot be detected.

[0011] A bit error in the code of the data length field can therefore lead to a receiving user station (receiving node) of the bus system that is not the sender of the CAN FD frame decoding an incorrect frame length in the CAN FD frame. As a result, the receiving user station (receiving node) checks the checksum (CRC) at the wrong position.

[0012] If the CRC calculation is performed in the same way in the case of CAN XL as in the case of CAN FD, CAN XL would probably have the same disadvantages as CAN FD. Summary of the invention

[0013] The object of the present invention is therefore to provide a subscriber station for a serial bus system and a method for communicating in a serial bus system that solve the above-mentioned problems. In particular, a subscriber station for a serial bus system and a method for communicating in a serial bus system should be provided, in which errors associated with dynamic stuffing bits in the bit stream are detected with greater reliability, so that a high error robustness of the communication is achieved even at high data rates and increased useful data volumes per frame.

[0014] This object is achieved by a subscriber station for a serial bus system having the features of claim 1. The subscriber station has a communication control device for controlling the communication of the subscriber station with at least one other subscriber station of the bus system, and

[0015] a transmitting / receiving device, which is designed to transmit the transmission signal generated by the communication control device serially to a bus of the bus system and is designed to receive signals serially from the bus of the bus system, wherein the communication control device is designed to generate the transmission signal according to a frame and to insert two checksums in the frame, the two checksums taking into account different bits of the frame,

[0016] The communication control device is designed to insert dynamic fill bits in the frame so that after 5 consecutive identical bits, opposite fill bits are inserted into the bit stream of the frame, and the communication control device is designed to calculate two checksums so that at most one of the two checksums takes the dynamic fill bits into account.

[0017] The described user station can detect both type 3 errors and type 4 errors sufficiently reliably due to its design. The reason for this is that one of the two checksums (CRC) in the CAN XL frame can detect type 3 errors sufficiently reliably, while the other checksum (CRC) can detect type 4 errors sufficiently reliably. The "Stuff Bit Counter" field in the frame can therefore be omitted, which increases the useful data rate. Therefore, in the case of the above-described user station, for example, the "Stuff Bit Count" field is not absolutely necessary as in the case of CAN FD. In order to further reduce the residual error probability, the "Stuff Bit Count" field can still be additionally inserted in the CAN XL frame, which is referred to here as the SBC field.

[0018] Furthermore, the described subscriber station can avoid the two mentioned disadvantages of CAN FD with regard to stuffing bits due to its design. This means that the subscriber station can detect errors in the scanning of the data length code sufficiently reliably. The receiver of the frame thus knows the correct frame length and can therefore also check the checksum (CRC=cyclic redundancy check) at the end of the frame at the correct position.

[0019] With the subscriber station, it is thus possible to ensure that frames are sent and received with high functional reliability—with great flexibility with regard to current events in the operation of the bus system—and with low error rates, even if the amount of useful data per frame increases.

[0020] In this case, the use of the subscriber stations in the bus system makes it possible, in particular in the first communication phase, to maintain the arbitration known from CAN and nevertheless to significantly increase the transmission rate compared to CAN or CAN FD.

[0021] If at least one CAN subscriber station and / or at least one CAN FD subscriber station is also present in the bus system, which sends messages according to the CAN protocol and / or the CAN FD protocol, the method performed by these subscriber stations can also be used.

[0022] Advantageous further embodiments of the subscriber station are described in the dependent claims.

[0023] According to one option, the communication control device is designed to insert a first field into the frame, in which the number of dynamic filling bits is encoded, wherein the communication control device is designed to insert at least one first field before the data field, in which the useful data of the frame is inserted.

[0024] Possibly, the sending / receiving device is designed to send the sending signal generated by the communication control device serially to the bus of the bus system, so that for messages exchanged between user stations of the bus system, the bit time of the signal sent to the bus in a first communication phase can be different from the bit time of the signal sent in a second communication phase.

[0025] According to a specific design, the communication control device is designed to insert a second field into the frame, and the second field is designed to check whether the bit stream of the frame is offset by at least one bit compared to the expected frame in a user station of the bus system that receives the frame but has not yet sent the frame, wherein the communication control device is designed to insert at least one second field into the frame after the data field, and in particular to insert the at least one field into the frame after the frame checksum, and the frame checksum is formed with respect to all bits in the frame.

[0026] According to one embodiment, the communication control device is designed to insert a synchronization field having two bits into the frame after at least one second field, so that the two bits have different values, so that these bits form a synchronization edge, which is arranged after a bit pattern for switching the bit rate at which a transmit signal is sent to a bus and for switching the physical layer of a transmit / receive device.

[0027] It is possible to construct the frames formed for the messages in a manner compatible with CAN FD, wherein in a first communication phase it is negotiated which subscriber station in the bus system has at least temporarily exclusive, conflict-free access to the bus in a subsequent second communication phase.

[0028] The above-mentioned user station can be part of a bus system, which also includes a bus and at least two user stations, which are interconnected via the bus so that the at least two user stations can communicate serially with each other. In this case, at least one of the at least two user stations is a user station described previously.

[0029] The above object is also achieved by a method for communication in a serial bus system according to claim 13. The method is performed with a user station of the bus system, the user station having a communication control device and a transmitting / receiving device, wherein the method comprises the following steps: using the communication control device to control the communication of the user station with at least one other user station of the bus system; using the transmitting / receiving device to transmit a transmit signal generated by the communication control device to a bus of the bus system, wherein the transmitting / receiving device is also designed to receive signals serially from the bus of the bus system; using the communication control device to generate the transmit signal based on a frame, wherein the communication control device inserts two checksums into the frame, the two checksums taking into account different bits of the frame, wherein the communication control device inserts dynamic stuffing bits into the frame, so that after five consecutive identical bits, an opposite stuffing bit is inserted into the bit stream of the frame, and wherein the communication control device calculates the two checksums so that at most one of the two checksums takes into account the dynamic stuffing bits.

[0030] This method provides the same advantages as mentioned above with respect to the user station.

[0031] Other possible implementations of the present invention also include combinations not explicitly mentioned of the features or implementations described above or below with respect to the embodiments. Here, those skilled in the art will also add individual aspects as improvements or supplements to the corresponding basic forms of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The present invention will be described in more detail below based on embodiments with reference to the accompanying drawings.

[0033] Figure 1 shows a simplified block diagram of a bus system according to a first embodiment;

[0034] Figure 2 A schematic diagram is shown for illustrating the structure of a message that can be sent by a user station of a bus system according to a first embodiment;

[0035] Figure 3 shows a simplified schematic block diagram of a user station of a bus system according to a first embodiment;

[0036] Figure 4 The time course of the bus signals CAN-XL_H and CAN-XL_L in the subscriber station according to the first embodiment is shown;

[0037] Figure 5 1 shows the time variation of the differential voltage VDIFF of the bus signals CAN-XL_H and CAN-XL_L in the subscriber station according to the first embodiment;

[0038] Figure 6 A schematic diagram is shown for illustrating the structure of a message that can be sent by a user station of a bus system according to a second embodiment;

[0039] Figure 7 A schematic diagram is shown for illustrating the structure of a message that can be sent by a user station of a bus system according to a third embodiment;

[0040] Figure 8 A schematic diagram is shown for illustrating the structure of a message that can be sent by a user station of a bus system according to a fourth embodiment;

[0041] Fig. 9 shows a schematic diagram for explaining the structure of a message that can be sent by a user station of a bus system according to a fifth embodiment; and

[0042] Fig.10 A schematic diagram is shown for illustrating the structure of a message which can be sent by a subscriber station of a bus system according to a sixth exemplary embodiment.

[0043] In the figures, elements that are identical or have the same function are provided with the same reference symbols, unless otherwise indicated. DETAILED DESCRIPTION

[0044] As an example, Figure 1 A bus system 1 is shown, which is in particular designed essentially for a CAN bus system, a CAN FD bus system, a CAN XL bus system and / or their variants, as described below. The bus system 1 can be used in vehicles, in particular motor vehicles, aircraft, etc., or in hospitals, etc.

[0045] exist Figure 1 In the embodiment, the bus system 1 has a plurality of user stations 10, 20, 30, which are respectively connected to a bus 40 having a first bus core 41 and a second bus core 42. The bus cores 41, 42 can also be referred to as CAN_H and CAN_L or CAN-XL_H and CAN-XL_L and are used for electrical signal transmission after coupling in a dominant level or generating a recessive level or other level for a signal in a transmission state. Messages 45, 46 in the form of signals can be transmitted serially between the individual user stations 10, 20, 30 via the bus 40. If an error occurs during communication on the bus 40, such as by Figure 1 As shown by the jagged black block arrow in the figure, an error frame 47 (Error Flag) may be optionally sent. The user stations 10, 20, 30 are, for example, control devices, sensors, display devices, etc. of motor vehicles.

[0046] like Figure 1As shown in FIG. 1 , the user station 10 has a communication control device 11, a transmission / reception device 12, and a frame check module 15. The user station 20 has a communication control device 21 and a transmission / reception device 22. The user station 30 has a communication control device 31, a transmission / reception device 32, and a frame check module 35. The transmission / reception devices 12, 22, and 32 of the user stations 10, 20, and 30 are directly connected to the bus 40, even if this is Figure 1 Not shown in .

[0047] The communication control devices 11 , 21 , 31 are respectively used to control the communication of the corresponding user station 10 , 20 , 30 with at least one other user station of the user stations 10 , 20 , 30 connected to the bus 40 via the bus 40 .

[0048] The communication control device 11, 31 creates and reads a first message 45, which is, for example, a modified CAN message 45. In this case, the modified CAN message 45 is constructed based on the CAN XL format, see Figure 2 This is described in more detail and corresponding frame check modules 15, 35 are used therein. The communication control device 11, 31 can also be designed to provide a CAN XL message 45 or a CAN FD message 46 to the transmitting / receiving device 32 or to receive a CAN XL message 45 or a CAN FD message 46 from the transmitting / receiving device 32 as required. Here, too, corresponding frame check modules 15, 35 are used. The communication control device 11, 31 thus creates and reads a first message 45 or a second message 46, wherein the first and second messages 45, 46 differ from one another by their data transmission standard, namely in this case CAN XL or CAN FD.

[0049] The communication control device 21 can be implemented like a conventional CAN controller according to ISO 11898-1:2015, that is, like a CAN FD-tolerant classic CAN controller or a CAN FD controller. The communication control device 21 creates and reads a second message 46, for example a CAN FD message 46. A number of 0 to 64 data bytes can be included in the CAN FD message 46, which are also transmitted at a significantly faster data rate than in the case of classic CAN message transmission. In particular, the communication control device 21 is implemented like a conventional CAN FD controller.

[0050] The transmitting / receiving device 22 can be implemented as a conventional CAN transceiver or a CAN FD transceiver according to ISO 11898-1:2015. The transmitting / receiving device 12, 32 can be implemented to provide messages 45 according to the CAN XL format or messages 46 according to the current CAN FD format to the associated communication control device 11, 31 as required or to receive these messages from the associated communication control device 11, 31.

[0051] With the two subscriber stations 10 , 30 , it is possible to form and then transmit a message 45 in the CAN XL format, as well as to receive such a message 45 .

[0052] Figure 2 For message 45, a CAN XL frame 450 is shown, which is provided by the communication control device 11 for the transmitting / receiving device 12 to be sent to the bus 40. In this case, the communication control device 11 creates the frame 450 in the present exemplary embodiment to be compatible with CAN FD, as well as Figure 2 The same applies to the communication control device 31 and the transmission / reception device 32 of the user station 30.

[0053] according to Figure 2 , a CAN XL frame 450 for CAN communication on the bus 40 is divided into different communication phases 451, 452, namely an arbitration phase 451 and a data phase 452. The frame 450 has an arbitration field 453, a control field 454, a data field 455, a checksum field 456 for checking the FCRC and the switching sequence ADS, and an acknowledgement field 457.

[0054] In the arbitration phase 451, the identifier (ID) in the arbitration field 453 is used to negotiate bit by bit between the subscriber stations 10, 20, 30: which subscriber station 10, 20, 30 wants to send the message 45, 46 with the highest priority and thus obtain exclusive access to the bus 40 of the bus system 1 during the next time for sending in the subsequent data phase 452. In the arbitration phase 451, the physical layer is used, as in the case of CAN and CAN-FD. The physical layer corresponds to the bit transmission layer or layer 1 of the known OSI model (Open Systems Interconnection model).

[0055] An important point during phase 451 is the use of the known CSMA / CR method, which allows user stations 10, 20, 30 to access the bus 40 simultaneously without destroying higher priority messages 45, 46. This makes it relatively easy to add further bus user stations 10, 20, 30 to the bus system 1, which is very advantageous.

[0056] The result of the CSMA / CR method is that a so-called recessive state must be present on the bus 40, which can be overwritten by other subscriber stations 10, 20, 30 with a dominant state on the bus 40. In the recessive state, high-ohmic relationships prevail at the individual subscriber stations 10, 20, 30, which, combined with the parasitics of the bus circuit, lead to longer time constants. This has the result that the maximum bit rate of the current CAN-FD physical layer is limited to approximately 2 megabits per second in real vehicle use.

[0057] In the data phase 452 , in addition to part of the control field 454 , the useful data of the CAN-XL frame or the useful data of the message 45 from the data field 455 are also sent, as well as the checksum field 456 for the checksum FCRC and also the field DAS which is used to switch from the data phase 452 back to the arbitration phase 451 .

[0058] The sender of message 45 only starts sending the bits of data phase 452 onto bus 40 when subscriber station 10 as sender wins the arbitration and thus has exclusive access to bus 40 of bus system 1 for sending.

[0059] In general, the following different characteristics can be achieved in a bus system using CAN XL compared to CAN or CAN FD:

[0060] a) adopt and, if necessary, adapt the proven features that are responsible for the robustness and user-friendliness of CAN and CAN FD, in particular the frame structure with identifiers and arbitration according to the CSMA / CR method,

[0061] b) increase the net data transmission rate, in particular to approximately 10 megabits per second,

[0062] c) Increase the size of the useful data per frame, in particular to about 4 kilobytes or some other arbitrary value.

[0063] like Figure 2 As shown in FIG, the user station 10 partially uses the format according to ISO 11898-1:2015 known from CAN / CAN-FD in the arbitration phase 451 as the first communication phase, in particular up to (including) the FDF bit. In contrast, starting from the FDF bit, the user station 10 uses the CAN XL format described below in the first communication phase and the second communication phase, namely the data phase 452.

[0064] In the present embodiment, CAN XL and CAN FD are compatible. Here, the res bit known from CAN FD (hereinafter referred to as XLF bit) is used to switch from the CAN FD format to the CAN XL format. Therefore, the frame formats of CAN FD and CAN XL are the same until the res bit. The receiver recognizes in which format the frame is sent when the res bit is set. CAN FX user stations, that is, user stations 10, 30 here, also support CAN FD.

[0065] As an identifier with 11 bits, Figure 2 As an alternative to the frame 450 shown in FIG. 4 , a CAN XL extended frame format can optionally be used, wherein an identifier with 29 bits is used. Up to the FDF bit, this is identical to the known CAN FD extended frame format from ISO 11898-1:2015.

[0066] according to Figure 2 , frame 450 from the SOF bit to the FDF bit (including the FDF bit) is identical to the CAN FD basic frame format according to ISO11898-1:2015. Therefore, the known structure will not be further explained here. Figure 2 The bits shown in bold on the line below them are sent as dominant or '0' in frame 450. Figure 2 The bits shown in bold on the line above them in the frame 450 are sent as recessive or '1'. In the CAN XL data phase 452, symmetrical '1' and '0' levels are used instead of recessive and dominant levels.

[0067] Typically, two different stuffing rules are used when generating the frame 450. The dynamic bit stuffing rule of CAN FD applies until the XLF bit in the control field 454, whereby an opposite stuffing bit is inserted after five consecutive identical bits. Such stuffing bits are also referred to as dynamic stuffing bits. After the resXL bit in the control field 454, the fixed stuffing rule applies, whereby a fixed stuffing bit is inserted after a fixed number of bits. Alternatively, instead of only one stuffing bit, two or more bits may be inserted as fixed stuffing bits, which will also be described in detail below.

[0068] In frame 450, the XLF bit follows the FDF bit, and the XLF bit corresponds to the "res bit" in the CAN FD basic frame format from this position, as described above. Therefore, if the XLF bit is sent as 1, that is, recessive, the frame 450 is identified as a CAN XL frame. For a CAN FD frame, the communication control device 11 sets the XLF bit to 0, that is, dominant.

[0069] In frame 450, the XLF bit is followed by the resXL bit, which is an explicit bit for future use. For frame 450, resXL must be sent as 0, i.e. explicit. However, if the user station 10 receives a resXL bit of 1, i.e. recessive, the receiving user station 10 enters, for example, a protocol exception state, as is done for res=1 in the case of a CAN FD message 46. Alternatively, the resXL bit can also be defined exactly the opposite, i.e. the resXL bit must be sent as 1, i.e. recessive. In this case, the receiving user station enters a protocol exception state in the case of an explicit resXL bit.

[0070] In frame 450, the resXL bit is followed by a sequence ADS (Arbitration Data Switch), in which a predetermined bit sequence is encoded. This bit sequence allows a simple and reliable switch from the bit rate of the arbitration phase 451 (arbitration bit rate) to the bit rate of the data phase 452 (data bit rate). For example, the bit sequence of the ADS sequence consists in particular of an AL1 bit, which is sent dominantly, i.e. as 0. The AL1 bit is the last bit of the arbitration phase 451. In other words, the AL1 bit is the last bit before the switch to the data phase 452 with short bits. The physical layer in the transmitting / receiving device 12, 22, 32 is switched within the AL1 bit. The AL1 bit can also have the value 1, depending on which value (0 or 1) is more suitable for switching the physical layer in the transmitting / receiving device 12, 32 (transceiver). The two subsequent bits DH1 and DL1 are already sent at the data bit rate. Therefore, in the case of CAN XL, the bits DH1 and DL1 are the shortest bits in time in the data phase 452.

[0071] In the frame 450, the sequence ADS is followed by a PT field, which indicates the content of the data field 455. The content indicates what type of information is contained in the data field 455. For example, the PT field indicates whether the data field 455 contains an "Internet Protocol" (IP) frame or a tunnel Ethernet frame or other.

[0072] The PT field is followed by a DLC field, in which a data length code (DLC=Data Length Code) is inserted, which indicates the number of bytes in the data field 455 of the frame 450. The data length code (DLC) can take any value from 0 to the maximum length of the data field 455 or the data field length. If the maximum data field length is in particular 2048 bits, the data length code (DLC) requires 11 bits, assuming that DLC=0 means a data field length of 1 byte and DLC=2047 means a data field length of 2048 bytes. Alternatively, a data field 455 of length 0 can be allowed, for example in the case of CAN. In this case, DLC=0 means, for example, that the data field length is encoded using 0 bytes. The maximum encodable data field length is, for example, 11 bits, so (2^11)-1=2047.

[0073] exist Figure 2 In the example of FIG. 4 , in frame 450, the DLC field is followed by the SBC field. The abbreviation SBC stands for "Stuff Bit Count". The SBC field encodes the number of dynamic stuffing bits in the header of frame 450. In principle, the SBC field can be placed anywhere in the header of frame 450 between the ADS field and the end of the header of frame 450. It is advantageous to place the SBC field before the header checksum HCRC, whereby the SBC field can be protected by the header checksum HCRC.

[0074] exist Figure 2 In the frame 450 of FIG. 450, the SBC field is followed by the header checksum HCRC. The header checksum HCRC is a checksum for protecting the header (Header) of the frame 450, that is, all relevant bits from the beginning of the frame 450 with the SOF bit to the beginning of the header checksum HCRC, including all dynamic and optionally fixed padding bits to the beginning of the header checksum HCRC. The relevant bits only include bits with variable values ​​in the frame header. In other words, the relevant bits do not include bits that always have fixed values ​​in the frame 450. Therefore, such bits with unchangeable values ​​are not protected because these bits have fixed values. The length of the header checksum HCRC and therefore the length of the checksum polynomial according to the cyclic redundancy check (CRC) should be selected according to the desired Hamming distance. The data word to be protected by the header checksum HCRC is longer than 27 bits when the data length code (DLC) is 11 bits. Therefore, the polynomial of the header checksum HCRC must be at least 13 bits long to achieve a Hamming distance of 6.

[0075] In frame 450, the header checksum HCRC is followed by a data field 455. The data field 455 consists of 1 to n data bytes, where n is, for example, 2048 bytes or 4096 bytes or any other value. Alternatively, it is conceivable that the data field length is 0. As previously described, the length of the data field 455 is encoded in the DLC field.

[0076] In frame 450, the data field 455 is followed by a frame checksum FCRC. The frame checksum FCRC consists of the bits of the frame checksum FCRC. The length of the frame checksum FCRC and therefore the length of the CRC polynomial should be selected according to the desired Hamming distance. The frame checksum FCRC protects the entire frame 450. Alternatively, optionally only the data field 455 is protected by the frame checksum FCRC.

[0077] In frame 450, the frame checksum FCRC is followed by a sequence DAS (Data Arbitration Switch) in which a predetermined bit sequence is encoded. This bit sequence allows a simple and reliable switch from the data bit rate of the data phase 452 to the arbitration bit rate of the arbitration phase 451. For example, the bit sequence starts with data bits DH2, DH3 sent as 1 and data bits DL2, DL3 sent as 0, such as Figure 2 As shown. These are the last 4 bits of the data phase 452. The DL3 bit is therefore the last short bit, i.e. the last bit before switching to the arbitration phase 451 with long bits. These bits are followed by the AH1 bit with the value 1 for the arbitration phase 451. The physical layer in the transmitting / receiving device 12, 32 (transceiver) is switched within the AH1 bit. Alternatively, the AH1 bit can have the value 0, depending on which value (0 or 1) is more suitable for switching the physical layer in the transmitting / receiving device 12, 32 (transceiver). Only the receiver of the frame 450, i.e. the RX user station 10, 30 that did not send the received frame 450, uses the bit sequence DH2, DH3, DL2, DL3 not only for synchronization, but also as a format check pattern (Format Check Pattern). With this bit sequence, the RX user station 10, 30 can recognize whether it is sampled offset from the bit stream received from the bus 40, for example offset by 1 bit or 2 bits, etc. According to yet another example, the DAS field has 3 bits, namely, a DH2 bit, a DL2 bit, and an AH1 bit. Among these bits, the first bit and the last bit are transmitted as 1, and the middle bit is transmitted as 0.

[0078] In the above example, the last synchronization before switching from the data phase 452 to the arbitration phase 451 may be performed at the edge between the DH3 bit and the DL2 bit or between the DH2 bit and the DL2 bit in the receiving user station.

[0079] Therefore, in the present embodiment, a format check pattern (FCP=Format Check Pattern) is included in the sequence DAS, and the user stations 10, 30, in particular their frame check modules 15, 35, can use this format check pattern to detect the offset of the bit stream in the received frame 450, even if the associated user station 10, 30 is not the sender of the frame 450 but only the receiver of the frame 450. In this case, the longer the bit pattern of the FCP field, the greater or stronger the shift that can be detected in the receiving user station 10, 30. The most advantageous bit pattern for shift detection contains an even number M of bits, of which the first M / 2 bits contain 1 and the following M / 2 bits contain 0. Figure 2 In the example where the FCP field has 4 bits, the first two bits are sent as recessive, i.e., 1. The last two bits of the FCP field are sent as dominant, i.e., 0. Therefore, due to the additional bits DH3 and DL3, according to Figure 2 The FCP field has four bits, which is different from the two bits that usually start the FCP field. Figure 2 The recessive to dominant edge in the FCP field of can satisfy the same function as in the DAS field without bits DH3, DL3.

[0080] Generally speaking, the first M / 2 bits in the FCP field may contain 0s, and the following M / 2 bits may contain 1s. Using the FCP field, it is possible to identify an offset of M-1. This is referred to below. Figure 3 Describe in more detail.

[0081] The sequence DAS is followed in the frame 450 by an acknowledgement field 457 which begins with the RP field. In the RP field a synchronization pattern is maintained which allows the receiving user stations 10, 30 to recognize the start of the arbitration phase 451 after the data phase 452. The synchronization pattern allows receiving user stations 10, 30 which do not know the correct length of the data field 455, for example due to an incorrect header checksum HCRC, to synchronize with each other. These user stations can then send a "negative acknowledgement" to report an erroneous reception. This is particularly important since CAN XL no longer permits error frames 47 (Error Flags) in the data field 455.

[0082] After the RP field, the ACK field 457 contains a plurality of bits for confirming or denying the correct reception of the frame 450. Figure 2 In the example of , the ACK bit, ACK-dlm bit, NACK bit and NACK-dlm bit are set. The NACK bit and NACK-dlm bit are optional bits. If the receiving user station 10, 30 correctly receives the frame 450, the receiving user station 10, 30 sends the ACK bit as explicit. The transmitting user station sends the ACK bit as implicit. Therefore, the bits originally sent to the bus 40 in the frame 450 can be overwritten by the receiving user station 10, 30. The ACK-dlm bit is sent as a recessive bit, which is used to separate it from other fields. The NACK bit and the NACK-dlm bit are used to enable the receiving user station to signal the incorrect reception of the frame 450 on the bus 40. The function of this bit is the same as that of the ACK bit and the ACK-dlm bit.

[0083] The acknowledgement field (ACK field) 457 in the frame 450 is followed by the end field (EOF = End of Frame). The bit sequence of the end field (EOF) is used to characterize the end of the frame 450. The end field (EOF) ensures that 8 recessive bits are sent at the end of the frame 450. This is a bit sequence that cannot appear in the frame 450. As a result, the end of the frame 450 can be reliably recognized by the user station 10, 20, 30.

[0084] The length of the end field (EOF) varies depending on whether a dominant or recessive bit is seen in the NACK bit. If the transmitting user station has received the NACK bit as dominant, the end field (EOF) has 7 recessive bits. Otherwise, the end field (EOF) is only 5 recessive bits long.

[0085] In frame 450, the end field (EOF) is followed by an inter-frame space (IFS). The inter-frame space (IFS) is not Figure 2 The interframe space (IFS) is designed according to ISO 11898-1:2015, as in the case of CAN FD.

[0086] Figure 3 The basic structure of the user station 10 is shown, which has a communication control device 11, a transmission / reception device 12 and a frame check module 15. The frame check module 15 is a part of the communication control device 11. The user station 30 is similar to Figure 3 , but according to Figure 1 The frame check module 35 is arranged separately from the communication control device 31 and the transmission / reception device 32. Therefore, the user station 30 is not described separately.

[0087] according to Figure 3, the user station 10 has, in addition to the communication control device 11 and the transmission / reception device 12, a microcontroller 13 and a system ASIC 16 (ASIC=application-specific integrated circuit), which is assigned to the communication control device 11, and the system ASIC 16 can alternatively be a system basis chip (SBC), on which a plurality of functions required by the electronic modules of the user station 10 are combined. In the system ASIC 16, in addition to the transmission / reception device 12, an energy supply device 17 is installed, which supplies electrical energy to the transmission / reception device 12. The energy supply device 17 usually provides a voltage CAN_Supply of 5 volts. However, as required, the energy supply device 17 can provide other voltages with other values. Additionally or alternatively, the energy supply device 17 can be designed as a current source.

[0088] The frame check module 15 has an insertion block 151 and an evaluation block 152, which are described in more detail below.

[0089] The transmitting / receiving device 12 also has a transmitting module 121 and a receiving module 122. Even if the transmitting / receiving device 12 is always mentioned below, the receiving module 122 can also be arranged in a separate device outside the transmitting module 121. The transmitting module 121 and the receiving module 122 can be constructed as in a conventional transmitting / receiving device 22. In particular, the transmitting module 121 can have at least one operational amplifier and / or a transistor. The receiving module 122 can in particular have at least one operational amplifier and / or a transistor.

[0090] The transmitting / receiving device 12 is connected to a bus 40, more precisely to a first bus core 41 for CAN_H or CAN-XL_H of the bus 40 and to a second bus core 42 for CAN_L or CAN-XL_L of the bus 40. An energy supply device 17 for supplying electrical energy, in particular a voltage CAN_Supply, to the first and second bus cores 41, 42 is supplied with power via at least one connection 43. The connection to ground or CAN_GND is effected via a connection 44. The first and second bus cores 41, 42 are terminated with a terminating resistor 49.

[0091] The first and second bus cores 41, 42 are connected in the transmitting / receiving device 12 both to a transmitting module 121, also referred to as a transmitter, and to a receiving module 122, also referred to as a receiver, even though for the sake of simplicity this connection is not shown. Figure 3 Shown in.

[0092] When bus system 1 is in operation, transmission module 121 converts transmission signal TXD or TxD of communication control device 11 into corresponding signals CAN-XL_H and CAN-XL_L for bus wires 41 , 42 and transmits the signals CAN-XL_H and CAN-XL_L to bus 40 at the connections for CAN_H and CAN_L.

[0093] The receiving module 122 receives Figure 4 The received signals CAN-XL_H and CAN-XL_L from the bus 40 are used to form a received signal RXD or RxD, and the received signal is forwarded to the communication control device 11, such as Figure 3 Except in the idle state or standby state (Idle or Standby), the transmitting / receiving device 12 always listens to the transmission of data or messages 45, 46 on the bus 40 using the receiving module 122 during normal operation, and it is irrelevant whether the transmitting / receiving device 12 is the sender of the message 45.

[0094] according to Figure 4 In the example of FIG. 4 , the signals CAN-XL_H and CAN-XL_L have dominant and recessive bus levels 401, 402 at least in the arbitration phase 451, as is known from CAN. A differential signal VDIFF=CAN-XL_H-CAN-XL_L is formed on the bus 40, as Figure 5 As shown. Individual bits of the signal VDIFF with a bit time t_bt can be identified with a reception threshold of 0.7 V. In the data phase 452, the bits of the signals CAN-XL_H and CAN-XL_L are sent faster than in the arbitration phase 451, i.e. with a shorter bit time t_bt. Therefore, the signals CAN-XL_H and CAN-XL_L differ from the conventional signals CAN_H and CAN_L in the data phase 452 at least in terms of their higher bit rate.

[0095] Figure 4 The sequence of states 401 and 402 of the signals CAN-XL_H and CAN-XL_L in FIG. 4 and the result obtained therefrom Figure 5 The variation of the voltage VDIFF is only used to indicate the function of the subscriber station 10. The data state sequence of the bus states 401, 402 can be selected as required.

[0096] In other words, the sending module 121 Figure 4 In the first operating mode, a first data state is generated as bus state 402, which has different bus levels for the two bus cores 41, 42 of the bus line, and a second data state is generated as bus state 401, which has the same bus level for the two bus cores 41, 42 of the bus line of bus 40.

[0097] Furthermore, for the time course of the signals CAN-XL_H, CAN-XL_L in the second operating mode including the data phase 452, the transmission module 121 transmits bits at a higher bit rate to the bus 40. A different physical layer than in the case of CAN FD can also be used to generate the CAN-XL_H and CAN-XL_L signals in the data phase 452. As a result, the bit rate in the data phase 452 can be further increased compared to the case of CAN FD.

[0098] When the user station 10 acts as the sender of the frame 450, Figure 3 The frame check module 15, in particular the insertion block 151 thereof, is used to insert the SBC field into the frame 450. In this embodiment, Figure 3 The frame check module 15 is designed so that the SBC field has three bits, namely bit 0, bit 1 and bit 2. As a result, the SBC field generates as little redundant data (data overhead) as possible. In the SBC field, the frame check module 15 enters the number of dynamic padding bits in bit 0 and bit 1, and enters the parity of the first two bits in bit 2.

[0099] In this embodiment, the insertion block 151 inserts the SBC field before the header checksum HCRC in the frame 450. The frame check module 15, in particular the evaluation block 152, also uses the SBC field and all dynamic padding bits of the frame header when forming the header checksum HCRC. As a result, type 3 errors and type 4 errors can be detected.

[0100] Figure 3 The frame check module 15, in particular the evaluation block 152 thereof, is used to form and check the header checksum and the frame checksum, and to check the number of dynamic stuffing bits.

[0101] An evaluation block 152 in the receiving user station can compare the number of dynamic filling bits received in the frame header with the value in the SBC field and thus identify deviations, ie errors, compared to the actual number in the frame header.

[0102] In contrast, the evaluation block 152 omits the dynamic stuffing bits when forming the frame checksum FCRC. However, the evaluation block 152 takes into account other bits of the frame header in the frame checksum FCRC, such as the ID bit, the RRS bit, etc. Therefore, these bits are doubly protected. Thus, the frame check module 15, in particular its evaluation block 152, can be used to detect type 3 errors and type 4 errors associated with the dynamic stuffing bits with a very high probability.

[0103] Thus, the receiving user station (receiving node) 10, in particular its frame check module 15 and more precisely its evaluation block 152, can recognize critical errors that may occur with dynamic filling bits in the received bit stream. The evaluation block 152 outputs a corresponding message to the communication control device 11. Thus, the received frame 450 can be discarded in the event of an error. As a result, the communication control device 11 can optionally send an error frame 47 to the bus 40.

[0104] However, if a "Stuff Count" field is used, such as the SBC field, the residual error probability is further reduced. As a result, it is less likely that an erroneous frame 450 will be accepted as valid.

[0105] Therefore, the use of the SBC field "Stuff Count" field to encode the number of dynamic stuffing bits in the transmitted frame is optional.

[0106] If compatibility with CAN FD is not required, then so-called fixed stuffing bits (stuffing bits that are always present) can be used in the frame instead of dynamic stuffing bits, for example. Without dynamic stuffing bits, errors of type 3 and type 4 are not possible. Furthermore, the "Stuff Count" field, such as the SBS field, can be omitted. This results in fewer bits to be transmitted and even lower complexity.

[0107] According to a first modification of the first embodiment, the frame check module 15, in particular the evaluation block 152, is designed to omit dynamic padding bits when forming the header checksum HCRC. In contrast, the frame check module 15, in particular the evaluation block 152, uses dynamic padding bits when forming the frame checksum FCRC. In this case, the frame check module 15, in particular the evaluation block 152, takes other bits of the frame header (e.g., ID bits, RRS bits, etc.) into account again in the frame checksum FCRC. In this way, special errors of the third and fourth categories can also be detected sufficiently reliably. When using the error frame 47, the error frame 47 can be used to report the detection.

[0108] According to the second modification of the first embodiment, the frame check module 15, in particular the evaluation block 152, is designed to not take into account the dynamic filling bit in any of the checksum HCRC and FCRC. In this way, the third and fourth class errors can also be fully and reliably detected. The reason is that the dynamic filling bit can only appear before the SOF position to the FDF position. In this small area, up to three dynamic filling bits can be included. Therefore, the burst error that may be generated by the third class error as a block-by-block interference of the bit stream is limited in length. Therefore, the probability that the header CRC can detect the burst error is very high. When using the error frame 47, the error frame 47 can be used to report the detection.

[0109] Figure 6 A frame 450_1 according to a second embodiment is shown, wherein CAN XL and CAN FD are compatible. In this embodiment, an error frame (Error Flags) 47 is used to signal errors.

[0110] In this embodiment, the frame 450_1 and therefore the CAN XL frame format is different from Figure 2 In this case, only the following description is made of the frame 450 of Figure 2 The frames 450 and 450_1 of the two embodiments are the same in other respects.

[0111] In frame 450_1, there is a SYN field with a constant length of 2 bits instead of an RP field. The SYN field contains a first bit (AL2) with a digital value of 0. Together with the preceding bit (AH1) with a digital value of 1, the bit sequence of bits AL2, AH1 provides a synchronization edge after switching the bit rate and physical layer (i.e., the mode of the CAN XL transceiver).

[0112] Therefore, there are two synchronization edges required for the robust function of CAN XL, namely the synchronization edge directly before the bit rate switch (DH3=>DL2) and the synchronization edge directly after the bit rate switch (AH1=>AL2). As a result, a reliable switch to the arbitration phase 451 before the data phase 452 is possible.

[0113] The second bit in the SYN field, the SYNdlm bit, has a value of 1. This bit is used to delimit the ACK bit. In the absence of errors, the receiving node sends the ACK bit as 0 (dominant) and thus generates an additional synchronization edge.

[0114] Due to the use of Error Flag 47, the use of the NACK field is completely optional, as errors can already be signaled with Error Flag 47.

[0115] Figure 7 A frame 450_2 according to a third embodiment is shown, wherein CAN XL and CAN FD are compatible. In this embodiment, an error frame (Error Flag) 47 is used to signal an error.

[0116] In this embodiment, frame 450_2 and therefore the CAN XL frame format is the same as Figure 6 In this case, only the following description is made of the frame 450_1 of Figure 6The frames 450_1 and 450_2 of the two embodiments are the same in other respects.

[0117] There is neither RP field nor SYN field in frame 450_2. Therefore, the synchronization required after the bit rate switch is performed at the edge AH1(1)=>ACK(0). This solution has two advantages.

[0118] The first advantage is that Figure 7 The phase error in frame 450_2 before briefly synchronizing to edge AH1(1)=>ACK(0) is less than or equal to Figure 6 The phase error that dominates before the edge SYNdlm(1)=>ACK(0) is briefly synchronized in the frame 450_1. The reason is that Figure 7 In frame 450_2, only two short bits (DL2, DL3) and one long bit (AH1) have passed since the last synchronization. Figure 6 Two long bits (AL2, SYNdlm) are passed in frame 450_1.

[0119] The second advantage is that Figure 6 Compared with frame 450_1, Figure 7 The overhead of frame 450_2 is lower. Figure 7 The frame 450_2 is Figure 6 The frame 450_1 is two bits shorter. Therefore, the overhead is smaller, and the net data rate is higher.

[0120] Since the error frame (Error Flag) 47 is also used in this embodiment, the use of the NACK field is completely optional, because the error frame (Error Flag) 47 can already be used to signal an error.

[0121] Figure 8 4500 according to a fourth embodiment is shown, in which the frame formats of CAN XL and CAN FD are incompatible. In this embodiment, the frame 4500 and thus the CAN XL frame format are different from Figure 2 Frame 450 is described below. In this case, only Figure 2 The frames 450 and 4500 of the two embodiments are the same in other respects.

[0122] In general, when generating frame 4500 according to the present embodiment, only a fixed filling rule is used, so that a fixed filling bit is inserted after a fixed number of bits. Alternatively, two or more bits can be inserted instead of just one filling bit as fixed filling bits. In the case where the data length code (DLC) has a known value, this results in a constant frame length or a constant length of frame 4500. This prevents various problems caused by dynamic filling bits. Therefore, the SBC field is also not required in the header of the 4500 frame.

[0123] In the frame 4500 according to the present embodiment, the identifier (ID) is no longer limited to a quantity of 11 bits or 29 bits as in CAN FD. The number of bits k of the identifier (ID) can be freely selected. However, the number k can alternatively be set to a fixed value. An ID of k=8 bits makes sense for a high net data rate. This net data rate is sufficient to give each user station 10, 20, 30 of the bus system 1 enough bus access priority. However, of course, different k values ​​can also be selected according to the needs and the number of different priorities in the bus system 1.

[0124] Figure 2 The bits RRS, IDE, FDF, XLF of frame 450 are no longer needed and are omitted in frame 4500. This saves 4 bits, thereby reducing the frame overhead. As a result, the net data rate in bus system 1 is increased.

[0125] When the NACK bit is dominant, the end field (EOF) in the frame 4500 has only five bits. If, on the other hand, the NACK bit is recessive, the end field (EOF) has three bits. This ensures that six recessive bits are sent at the end of the frame 4500. If a fixed padding bit is inserted after five consecutive identical bits in the arbitration phase 451, the number of recessive bits cannot appear at any other position in the valid frame 4500. Alternatively, there can be more than six bits. In particular, the number of EOF bits must be adapted to the number of bits after which a fixed padding bit is inserted.

[0126] In the frame 4500, the interframe space (IFS) does not require a minimum length. In particular, the interframe space (IFS) can have a length of 0. In this case, two frames 4500 are sent seamlessly one after the other. However, in order to increase the robustness of the bus system 1 compared to the previously mentioned case, it also makes sense to have an interframe space (IFS) of, for example, 1 bit. Since there are now seven recessive bits between two frames 4500, new user stations on the bus 40 can be synchronized more reliably.

[0127] Fig. 94500_1 according to a fifth embodiment is shown, in which the frame formats of CAN XL and CAN FD are incompatible. In this embodiment, the frame 4500_1 and thus the CAN XL frame format are different from Figure 8 Frame 4500, as described with respect to the second embodiment.

[0128] Therefore, there is a 2-bit constant length SYN field instead of an RP field in frame 4500_1. Thus, synchronization is performed after the data phase 452, as described with respect to the second embodiment.

[0129] The frames 4500, 4500_1 of the two embodiments are otherwise identical.

[0130] Fig.10 4500_2 according to a sixth embodiment is shown, in which the frame formats of CAN XL and CAN FD are incompatible. In this embodiment, frame 4500_2 and therefore the CAN XL frame format are different from Figure 8 Frame 4500, as described with respect to the third embodiment.

[0131] Therefore, there is neither an RP field nor a SYN field in frame 4500_2. Thus, synchronization is performed after the data phase 452, as described with respect to the third embodiment.

[0132] Frames 4500, 4500_2 of the two embodiments are otherwise identical.

[0133] All previously described designs of the user stations 10, 20, 30 of the bus system 1 and the methods executed therein can be used individually or in all possible combinations. In particular, all features of the above-described embodiments and / or their modifications can be combined as desired. Additionally or alternatively, in particular, the following modifications are conceivable.

[0134] Even though the invention has been described above using a CAN bus system as an example, the invention can also be used in any communication network and / or communication method in which two different communication phases are used, in which the bus states generated for the different communication phases differ from one another. In particular, the invention can be used in the development of other serial communication networks, such as Ethernet and / or 100Base-T1 Ethernet, fieldbus systems, etc.

[0135] In particular, the bus system 1 according to the embodiment can be a communication network in which data can be transmitted serially at two different bit rates. An advantageous, but not mandatory, prerequisite is that exclusive, conflict-free access to a common channel for a user station 10, 20, 30 is guaranteed in the bus system 1 at least in a certain period of time.

[0136] The number and arrangement of the user stations 10, 20, 30 in the bus system 1 of these exemplary embodiments are arbitrary. In particular, the user station 20 in the bus system 1 can be omitted. One or more of the user stations 10 or 30 can be present in the bus system 1. It is conceivable that all the user stations in the bus system 1 are designed identically, that is, only the user station 10 or only the user station 30 is present.

Claims

1. A user station (10; 30) for a serial bus system (1), the user station having A communication control device (11; 31) for controlling the communication between the user station (10; 30) and at least one other user station (10; 20; 30) of the bus system (1), and a transmitting / receiving device (12; 32) which is designed to transmit a transmit signal TXD generated by the communication control device (11; 31) serially to a bus (40) of the bus system (1), and which is designed to receive a signal serially from the bus (40) of the bus system (1), The communication control device (11; 31) is designed to generate the transmission signal TXD based on the frame (450; 450_1; 450_2) and to insert two checksums HCRC and FCRC in the frame (450; 450_1; 450_2), the two checksums taking into account different bits of the frame (450; 450_1; 450_2), The communication control device (11; 31) is designed to insert dynamic stuffing bits in the frame (450; 450_1; 450_2) so that after five consecutive identical bits, opposite stuffing bits are inserted into the bit stream of the frame (450; 450_1; 450_2), and The communication control device (11; 31) is designed to calculate the two checksums HCRC and FCRC, so that at most one of the two checksums HCRC and FCRC takes dynamic filling bits into account.

2. The user station (10; 30) according to claim 1, wherein The communication control device (11; 31) is designed to insert a first field SBC into the frame (450; 450_1; 450_2), in which the number of dynamic filling bits is encoded, and The communication control device (11; 31) is designed to insert at least one first field SBC before a data field (455), in which the useful data of the frame (450; 450_1; 450_2) are inserted.

3. The user station (10; 30) according to claim 1 or 2, wherein: The transmitting / receiving device (12; 32) is designed to transmit a transmission signal TXD generated by the communication control device (11; 31) serially to a bus (40) of the bus system (1), so that for messages (45) exchanged between user stations of the bus system (1), a bit time t_bt of the signal transmitted to the bus (40) in a first communication phase (451) is different from a bit time t_bt of the signal transmitted in a second communication phase (452).

4. The user station (10; 30) according to claim 1 or 2, wherein: The communication control device (11; 31) is designed to insert a second field FCP into the frame (450; 450_1; 450_2; 4500; 4500_1; 4500_2), the second field being designed to check whether the bit stream of the frame (450; 450_1; 450_2; 4500; 4500_1; 4500_2) is offset by at least one bit compared to an expected frame (450; 450_1; 450_2; 4500; 4500_1; 4500_2) in a user station (10; 20; 30) of the bus system (1) which receives the frame (450; 450_1; 450_2; 4500; 4500_1; 4500_2) but has not yet sent the frame, and The communication control device (11; 31) is designed to insert at least one second field FCP in the frame (450; 450_1; 450_2; 4500; 4500_1; 4500_2) after the data field (455).

5. The user station (10; 30) according to claim 4, wherein: The communication control device (11; 31) is designed to insert the at least one field FCP in the frame (450; 450_1; 450_2; 4500; 4500_1; 4500_2) after a frame checksum FCRC, the frame checksum being formed with respect to all bits in the frame (450; 450_1; 450_2; 4500; 4500_1; 4500_2).

6. The user station (10; 30) according to claim 4, wherein: The communication control device (11; 31) is designed to insert a synchronization field SYN having two bits into the frame after at least one second field FCP, so that the two bits have different values, so that these bits form a synchronization edge, which is arranged after the following bit pattern, which is used to switch the bit rate of sending the transmission signal to the bus (40) and to switch the physical layer of the transmission / reception device (12; 32).

7. The user station (10; 30) according to claim 3, wherein the frame (450; 450_1) formed for the message (45) is constructed in a manner compatible with CAN FD, and In a first communication phase (451), it is negotiated which of the subscriber stations of the bus system (1) has, in a subsequent second communication phase (452), at least temporarily exclusive, conflict-free access to the bus (40).

8. Bus system (1) having bus (40), and At least two user stations (10; 20; 30), the at least two user stations being connected to one another via the bus (40) in a manner capable of serial communication with one another, and at least one of the at least two user stations (10; 30) being a user station (10; 30) according to any one of the preceding claims.

9. A method for communicating in a serial bus system (1), wherein the method is performed with a user station (10; 30) of the bus system (1), the user station having a communication control device (11; 31) and a transmitting / receiving device (12; 32), wherein the method comprises the steps of: Controlling the communication of the user station (10; 30) with at least one other user station (10; 20; 30) of the bus system (1) using a communication control device (11; 31), and using the transmitting / receiving device (12; 32) to transmit a transmit signal TXD generated by the communication control device (11; 31) to a bus (40) of the bus system (1), wherein the transmitting / receiving device is also designed to receive signals serially from the bus (40) of the bus system (1), Using the communication control device (11; 31) to generate the transmission signal TXD according to the frame (450; 450_1; 450_2), wherein the communication control device (11; 31) inserts two checksums HCRC and FCRC in the frame (450; 450_1; 450_2), the two checksums taking into account different bits of the frame (450; 450_1; 450_2), wherein the communication control device (11; 31) inserts dynamic stuffing bits into the frame (450; 450_1; 450_2) so that after five consecutive identical bits, opposite stuffing bits are inserted into the bit stream of the frame (450; 450_1; 450_2), and The communication control device (11; 31) calculates two checksums HCRC and FCRC, so that at most one of the two checksums HCRC and FCRC takes dynamic filling bits into account.