Subscriber station for serial bus system and method for communication in a serial bus system - Patents.com
The subscriber station design with a modified DAS field and pulse width modulation ensures synchronized reintegration and reliable error handling in CAN XL systems, addressing synchronization and error handling challenges at high data rates.
Patent Information
- Application Number
- JP2023507582
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-08-05
- Filing Date
- 2021-07-15
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-07-15
AI Technical Summary
Current serial bus systems, such as CAN XL, face challenges in achieving reliable synchronization and error handling during high data rate transmissions, particularly when errors occur, leading to inconsistent reintegration of receiving nodes and potential communication disruptions.
A subscriber station design with a modified DAS field that includes a predetermined length field after the second communication phase, ensuring all nodes synchronize correctly by adjusting the operating mode before a predetermined period, using pulse width modulation to signal mode changes.
Ensures reliable error handling and synchronized reintegration of receiving nodes, maintaining high error robustness and fairness in communication, even at high data rates, while supporting both CAN and CAN FD protocols.
Smart Images

Figure 0007539555000004 
Figure 0007539555000007 
Figure 0007539555000002
Abstract
Description
[Technical field]
[0001] The present invention relates to a subscriber station for and a method of communicating in a serial bus system that operates at high data rates, with high versatility, and with high error robustness. [Background technology]
[0002] Bus systems for communication between sensors and control devices in vehicles, for example, should allow the transmission of large amounts of data depending on the number of technical installations or vehicle functions, where it is often required that data can be transmitted from sender to receiver faster than ever before and, if necessary, that large data packets can also be transmitted.
[0003] Currently, bus systems are being introduced in vehicles, in which data is transmitted as messages in the standard ISO11898-1:2015 as the CAN protocol specification with CAN FD. The messages are transmitted between bus subscribers of the bus system, such as sensors, control devices and transmitters. For this, the messages are transmitted to the bus in frames that are switched between two communication phases. In the first communication phase (arbitration), it is negotiated which subscriber stations of the bus system are allowed to transmit frames to the bus in the subsequent second communication phase (data phase or transmission of usage data). CAN FD is initially used in vehicles by many manufacturers with an arbitration bit rate of 500 kbit / s and a data bit rate of 2 Mbit / s. Therefore, during the transmission on the bus, it is necessary to switch between a slow and a fast operating mode.
[0004] To allow even higher data rates in the second communication phase, a successor bus system for CAN FD is currently being developed, called CAN XL, which is currently being standardized in the organization CAN in Automation (CiA). In addition to the pure data transport over the CAN bus, CAN XL should also support other functions such as functional safety, data security and quality of service (QoS), which are fundamental properties required for autonomous vehicles.
[0005] In the transmission of data in frames via the channel (CAN bus), errors can occur. In particular, bits can be altered by external influences, especially irradiation. The CAN XL communication protocol must be able to recognize and react to errors.
[0006] In CAN XL, errors can be handled with or without error signaling. With error signaling, a subscriber station that detects an error transmits an error frame (error flag) on the bus to inform other subscriber stations that an error has been recognized. Without error signaling, a subscriber station that detects an error does not transmit an error frame (error flag) on the bus. Thus, a transmitting subscriber station (transmitting node) does not receive feedback from a receiving-only subscriber station (receiving node) that did not receive the frame correctly. This type of communication is also called "fire and forget", which can also be expressed as send and forget.
[0007] If no error frame is transmitted on the bus, no feedback on the error occurs, so the transmitting subscriber station (transmitting node) transmits a complete frame on the bus. The receiving subscriber station (receiving node) that fails to receive the frame correctly switches from the fast to the slow operating mode (FAST) if its transmitting / receiving device (transceiver) was not already in the slow operating mode beforehand, and then tries to reintegrate into the current communication on the bus. These subscriber stations then wait for a sequence of 11 consecutive recessive bits, the so-called bus idle sequence, which can only occur at the end of a frame. A subscriber station that is newly switched on or switched back to active after being switched inactive and will subsequently participate in the communication on the bus also waits for this sequence.
[0008] It is important that all subscriber stations participating in a communication complete their recognition of the 11 recessive bits at the end of the frame at approximately the same time. This synchronism is necessary because all subscriber stations must be prepared for transmission or reception of the frame at the same time with the following bits, i.e., the bits following the 11 recessive bits.
[0009] To achieve this synchronicity of the subscriber stations, the DAS field in the CAN XL frame has a synchronization edge to which all receiving nodes must synchronize. Reintegration can then be performed synchronously.
[0010] However, it is a problem when all receiving nodes acknowledge an error during the data phase. In this case, none of the receiving nodes transmits a dominant ACK bit as an acknowledgement on the correct reception of the frame. The synchronization edge in the DAS field is then the last possible edge for synchronization before the bus idle sequence. Now, it turns out that with the DAS field in the current CAN XL frame format, correct synchronization is not possible under all circumstances. Summary of the Invention [Problem to be solved by the invention]
[0011] It is therefore an object of the present invention to provide a subscriber station for a serial bus system and a method for communicating in a serial bus system which solves the above-mentioned problems, in particular in which reintegration of the receiving node after an error or after a switch-on always takes place correctly in the current bus communication, and which provides a high error robustness of the communication also at high data rates and when an increased amount of data used per frame is used. [Means for solving the problem]
[0012] This problem is solved by a subscriber station for a serial bus system with the features of claim 1. The subscriber station comprises a communication control device for controlling communication between the subscriber station and at least one other subscriber station of the bus system, where for messages exchanged between the subscriber stations of the bus system, a bit time of a signal transmitted to the bus in a first communication phase may differ from a bit time of a signal transmitted in a second communication phase, and a transmit / receive device for transmitting a transmit signal to the bus of the bus system, the communication control device being designed to generate a transmit signal according to a frame and to insert in the frame a field with an edge, the field having a predetermined length corresponding to a period longer than the period of the bit time of the first communication phase, the edge being provided for the communication control device of the at least one other subscriber station of the bus system to synchronize with the communication on the bus, the transmit / receive device being switched into an operating mode for transmitting and receiving frames in the first communication phase before the predetermined period.
[0013] Due to the design of the subscriber stations there is a modified DAS field, which ensures that all subscriber stations reintegrated into the communication on the bus can synchronize on the DAS field. This allows reliable error handling even in the case of errors due to irradiation. Furthermore, fairness is guaranteed, since all subscriber stations (nodes) are again ready to transmit and receive at the same time. Furthermore, subsequent errors in the communication on the bus system can be avoided thereby.
[0014] Thus, for the first time, robust communication using CAN XL is enabled by subscriber stations. It is therefore possible for subscriber stations in a bus system to retain the arbitration known from CAN in a first communication phase, but still significantly increase the transmission rate compared to CAN or CAN FD.
[0015] The method implemented by the subscriber station can also be used when at least one CAN subscriber station and / or at least one CAN FD subscriber station which transmits messages according to the CAN protocol and / or the CAN FD protocol are also present in the bus system.
[0016] Advantageous further configurations of the subscriber station are set out in the dependent claims. The predetermined length of the field may comprise at least three bits comprising a bit time of the first communication phase.
[0017] The edge may be a falling edge. The communication control device may be designed to insert a bit sequence with a logic value of 11 before the edge in the field.
[0018] The communication control device may be designed to insert the field as a bit sequence with a logical value of 1101. According to one exemplary embodiment, the communication control device is designed to signal the transmitting / receiving device by pulse width modulation on the transmitted signal that the transmitting / receiving device needs to switch its operating mode.
[0019] It is conceivable that the subscriber station further comprises a transmit / receive device for transmitting a transmission signal to the bus of the bus system, the transmit / receive device being designed to switch its operation mode from an operation mode of the second communication phase to a different operation mode of the first communication phase after a predefined period during which the transmit / receive device has not received an edge in the transmission signal.
[0020] According to one exemplary embodiment, the communication control device is designed to insert a PWM symbol with a logic value of 0 as the last symbol in the transmitted signal before the start of a predetermined period.
[0021] According to one exemplary embodiment, the communication control device is designed to insert a PWM symbol with a logic value of 1 as the last symbol in the transmitted signal before the start of a predetermined period.
[0022] According to one exemplary embodiment, the communication control device is designed to insert a PWM symbol with a logical value of 0 as the penultimate symbol in the transmitted signal before the start of a predetermined period, and to insert a PWM symbol having a logical value of 0 but no falling edge in the transmitted signal as the last symbol in the transmitted signal before the start of a predetermined period.
[0023] The communication control device may be designed to check a signal at a port through which the transmitting / receiving device transmits a received signal to the communication control device as to whether the transmitting / receiving device has switched its operation mode from an operation mode of the second communication phase to a different operation mode of the first communication phase.
[0024] According to another exemplary embodiment, a transmitting / receiving device is designed to transmit an entire frame to the bus in an operating mode for transmitting and receiving frames in a first communication phase.
[0025] The frames formed for the messages are configured to be CAN FD compatible, such that it is possible to negotiate in a first communication phase which of the subscriber stations of the bus system will gain at least temporarily exclusive and collision-free access to the bus in a subsequent second communication phase.
[0026] The above-mentioned subscriber station may be part of a bus system, the bus system including a bus and at least two subscriber stations connected to each other so as to be able to serially communicate with each other via the bus, where at least one of the at least two subscriber stations is the above-mentioned subscriber station.
[0027] The above-mentioned object is also achieved by a method for communicating in a serial bus system as claimed in claim 15. The method is implemented by a subscriber station of the bus system, the subscriber station having a communication control device and a transmit / receive device, the method comprising the steps of controlling by the communication control device a communication between the subscriber station of the bus system and at least one other subscriber station, where for messages exchanged between the subscriber stations of the bus system a bit time of a signal transmitted to the bus in a first communication phase may differ from a bit time of a signal transmitted in a second communication phase, and transmitting by the transmit / receive device a transmit signal to the bus of the bus system, the communication control device generating the transmit signal according to a frame and inserting in the frame a field with an edge after the second communication phase, the field having a predetermined length corresponding to a period longer than the period of the bit time of the first communication phase, the edge being provided for the communication control device of the at least one other subscriber station of the bus system to synchronize with the communication on the bus, the transmit / receive device being switched into an operating mode for transmitting and receiving frames in the first communication phase before the predetermined period.
[0028] The method provides the same advantages as those discussed above with respect to the subscriber station. Further possible implementations of the invention also include combinations not explicitly mentioned of the features or embodiments described above or below with respect to the exemplary embodiments, whereby the skilled person can also add individual aspects as improvements or complements to the respective basic form of the invention.
[0029] The invention will now be explained in more detail on the basis of exemplary embodiments with reference to the accompanying drawings, in which: [Brief description of the drawings]
[0030] [Figure 1] FIG. 1 is a simplified block diagram of a bus system according to a first exemplary embodiment; [Diagram 2]FIG. 2 is a diagram for explaining the structure of a message that can be transmitted by a subscriber station of the bus system according to a first exemplary embodiment; [Diagram 3] 1 is a simplified schematic block diagram of a subscriber station of a bus system according to a first exemplary embodiment; [Figure 4] FIG. 2 illustrates a time profile of bus signals CAN-XL_H and CAN-XL_L at a subscriber station according to a first exemplary embodiment. [Diagram 5] FIG. 2 illustrates a time profile of the differential voltage VDIFF of the bus signals CAN-XL_H and CAN-XL_L at the subscriber station according to the first exemplary embodiment. [Figure 6] 4A-4C show time profiles of signals occurring during transmission of a frame to a port of a subscriber station according to a first exemplary embodiment, when the subscriber station is the sender of a message; [Figure 7] 4A-4C show time profiles of signals occurring during transmission of a frame to a port of a subscriber station according to a first exemplary embodiment, when the subscriber station is the sender of a message; [Figure 8] 4A-4C show time profiles of signals occurring during transmission of a frame to a port of a subscriber station according to a first exemplary embodiment, when the subscriber station is the sender of a message; [Figure 9] 9 is a diagram showing a time profile of a differential voltage VDIFF between the bus signals CAN-XL_H and CAN-XL_L obtained from the signals in FIG. 6 to FIG. 8. [Figure 10] FIG. 10 shows the time profile of the state at the receiving port of the receiving node resulting from the differential voltage VDIFF from FIG. [Figure 11] FIG. 10 illustrates a time profile of signals resulting from the transmission of a frame to a port of a subscriber station according to a second exemplary embodiment, when the subscriber station is the sender of a message. [Figure 12] FIG. 10 illustrates a time profile of signals resulting from the transmission of a frame to a port of a subscriber station according to a second exemplary embodiment, when the subscriber station is the sender of a message. [Figure 13] FIG. 10 illustrates a time profile of signals resulting from the transmission of a frame to a port of a subscriber station according to a second exemplary embodiment, when the subscriber station is the sender of a message. [Figure 14] 14 is a diagram showing a time profile of a differential voltage VDIFF between the bus signals CAN-XL_H and CAN-XL_L obtained from the signals in FIG. 11 to FIG. 13. [Figure 15] FIG. 15 shows the time profile of the state at the receiving port of the receiving node resulting from the differential voltage VDIFF from FIG. [Figure 16] FIG. 13 illustrates a time profile of signals resulting from the transmission of a frame to a port of a subscriber station according to a third exemplary embodiment, when the subscriber station is the sender of a message. [Figure 17] FIG. 13 illustrates a time profile of signals resulting from the transmission of a frame to a port of a subscriber station according to a third exemplary embodiment, when the subscriber station is the sender of a message. [Figure 18] FIG. 13 illustrates a time profile of signals resulting from the transmission of a frame to a port of a subscriber station according to a third exemplary embodiment, when the subscriber station is the sender of a message. [Figure 19] 19 is a diagram showing a time profile of a differential voltage VDIFF between the bus signals CAN-XL_H and CAN-XL_L obtained from the signals in FIGS. 16 to 18. FIG. [Figure 20] FIG. 20 shows the time profile of the state at the receiving port of the receiving node resulting from the differential voltage VDIFF from FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0031] In the drawings, unless otherwise noted, identical or functionally identical elements are designated by the same reference numbers. 1 shows by way of example a bus system 1 which is in particular designed, as described below, for a CAN bus system, a CAN FD bus system, a CAN XL bus system and / or variants thereof, and which can be used in particular in vehicles, such as automobiles or aircraft, or in hospitals.
[0032] In Fig. 1, a bus system 1 has a number of subscriber stations 10, 20, 30, each of which is connected to a bus 40 with a first bus wire 41 and a second bus wire 42. The bus wires 41, 42 may be called CAN_H and CAN_L or CAN-XL_H and CAN-XL_L and are used for electrical signal transmission after coupling of dominant levels or after generation of recessive or other levels for signals in the transmit state. Via the bus 40, messages 45, 46 in the form of signals can be serially transmitted between the individual subscriber stations 10, 20, 30. If an error occurs during communication on the bus 40, an error frame 47 (error flag) may be transmitted optionally, as indicated by the jagged black block arrow in Fig. 1. The subscriber stations 10, 20, 30 are, for example, automobile controls, sensors, displays, etc.
[0033] As shown in Figure 1, subscriber station 10 has a communication control device 11, a transmit / receive device 12, and an error handling module 15. Subscriber station 20 has a communication control device 21, a transmit / receive device 22, and optionally an error handling module 25. Subscriber station 30 has a communication control device 31, a transmit / receive device 32, and an error handling module 35. The transmit / receive devices 12, 22, 32 of subscriber stations 10, 20, 30 are each directly connected to a bus 40, which is not shown in Figure 1.
[0034] The communication control devices 11 , 21 , 31 serve to control communications over the bus 40 between a respective subscriber station 10 , 20 , 30 and at least one other of the subscriber stations 10 , 20 , 30 connected to the bus 40 .
[0035] The communication control device 11, 31 creates and reads a first message 45, for example a modified CAN message 45, which is configured based on the CAN XL format, which will be described in more detail with reference to FIG. 2, in which a respective error handling module 15, 35 is used. Furthermore, the communication control device 11, 31 may be implemented to provide or receive a CAN XL message 45 or a CAN FD message 46 to or from the transmitting / receiving device 32, as required. In this case, too, the respective error handling module 15, 35 is used. The communication control device 11, 31 thus creates and reads a first message 45 or a second message 46, where the first and second messages 45, 46 differ in their data transmission standard, i.e. in this case CAN XL or CAN FD.
[0036] The communication control device 21 may be implemented like a conventional CAN controller according to ISO11898-1:2015, i.e. like a CAN FD-tolerant conventional CAN controller or like a CAN FD controller. Furthermore, there is an optional error handling module 25, which has the same functionality as the error handling modules 15, 35. The communication control device 21 creates and reads second messages 46, e.g. CAN FD messages 46. The CAN FD messages 46 may contain 0 to 64 data bytes, which are further transmitted at a significantly higher data rate than conventional CAN messages. In particular, the communication control device 21 is implemented like a conventional CAN FD controller.
[0037] The transmitting / receiving device 22 may be implemented as a conventional CAN transceiver according to ISO11898-1:2015 or as a CAN FD transceiver. The transmitting / receiving device 12, 32 may be implemented to provide messages 45 according to the CAN XL format to the associated communication control device 11, 31 or to provide messages 46 according to the current CAN FD format to the associated communication control device 11, 31, as appropriate, or to receive messages from the associated communication control device 11, 31.
[0038] Two subscriber stations 10, 30 are capable of creating and transmitting messages 45 in CAN XL format, as well as receiving such messages 45. 2 illustrates a CAN XL frame 450 for message 45, which is provided by the communication control device 11 for the transmit / receive device 12 for transmission onto the bus 40. In this case, the communication control device 11 creates the frame 450 as being compatible with CAN FD in this exemplary embodiment, as also illustrated in FIG 2. The same applies equally to the communication control device 31 and the transmit / receive device 32 of the subscriber station 30.
[0039] 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 comprises an arbitration field 453, a control field 454 with an ADS field for switching between the communication phases 451, 452, a data field 455, a checksum field 456, as well as an end of frame field 457 with a DAS field for switching between the communication phases 452, 451. This is followed by an end of frame field EOF.
[0040] In an arbitration phase 451, by means of an identifier (ID) with, for example, bits ID28 to ID18 in an arbitration field 453, it is negotiated bit by bit between the subscriber stations 10, 20, 30 which subscriber station 10, 20, 30 wants to transmit a message 45, 46 with the highest priority and thus obtains exclusive access to the bus 40 of the bus system 1 for transmission in a subsequent data phase 452 for a subsequent time. In the arbitration phase 451, the physical layer is used as in 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).
[0041] An important point during phase 451 is that the known CSMA / CR method is used, which allows subscriber stations 10, 20, 30 to simultaneously access the bus 40 without higher priority messages 45, 46 being corrupted. This allows further bus subscriber stations 10, 20, 30 to be added to the bus system 1 relatively easily, which is a great advantage.
[0042] The CSMA / CR method results in the existence of so-called recessive states on the bus 40, which can be overwritten by dominant states of other subscriber stations 10, 20, 30 on the bus 40. The recessive states result in high-resistance behavior of the individual subscriber stations 10, 20, 30, which, in combination with parasitics in the bus circuitry, results in longer time constants. This leads to a limit on the maximum bit rate of the CAN-FD physical layer today, currently around 2 Mbit / s in practical vehicle use.
[0043] In the data phase 452, part of the control field 454 is transmitted as well as the data or message 45 of the CAN-XL frame from the data field 455, as well as the checksum field 456. This is followed by the DAS field, which is used to switch from the data phase 452 back to the data phase 451.
[0044] Only when the subscriber station 10 wins the arbitration as the sender, and therefore the subscriber station 10 has exclusive access to the bus 40 of the bus system 1 for transmission as the sender, does the sender of the message 45 begin transmitting the bits of the data phase 452 onto the bus 40.
[0045] Very generally, in comparison with CAN or CAN FD, bus systems with CAN XL have the following advantages: a) The proven properties of CAN and CAN FD that contribute to their robustness and ease of use, in particular the adoption and possibly adaptation of the frame structure with identifiers and arbitration via the CSMA / CR method. b) An increase in net data transmission rates, especially to around 10 megabits per second. c) An increase in the size of the used data per frame, in particular to about 2 kilobytes or any other value. Different characteristics can be realized.
[0046] 2, the subscriber station 10 uses in part, in particular up to and including the FDF bit, the format known from CAN / CAN-FD according to ISO11898-1:2015 in the arbitration phase 451 as the first communication phase, whereas from the FDF bit onwards, the subscriber station 10 uses the CAN XL format described below in the first communication phase and in the data phase 452 as the second communication phase.
[0047] In this exemplary embodiment, CAN XL and CAN FD are compatible. Here, the res bit known from CAN FD, hereinafter referred to as the XLF bit, is used to switch from the CAN FD format to the CAN XL format. The frame formats of CAN FD and CAN XL are therefore identical up to the res or XLF bit. Only in the res bit does the receiver know in which format the frame 450 is transmitted. CAN XL subscriber stations, i.e. here the subscriber stations 10, 30, also support CAN FD.
[0048] As an alternative to the frame 450 shown in Fig. 2, in which 11-bit identifiers ID28 to ID18 are used, optionally a CAN XL extended frame format is also possible, in which a 29-bit identifier is used. The CAN XL extended frame format is identical to the known CAN FD extended frame format from ISO11898-1:2015 up to the FDF bit.
[0049] According to Fig. 2, frame 450 is identical to the CAN FD base frame format according to ISO11898-1:2015 from the SOF bit to the FDF bit (inclusive). The known structure is therefore not further described here. Bits indicated in Fig. 2 with a thick line segment at the bottom are transmitted as dominant or "0" in frame 450. Bits indicated in Fig. 2 with a thick line segment at the top are transmitted as recessive or "1" in frame 450. In the CAN XL data phase 452, symmetrical "1" and "0" levels are used instead of recessive and dominant levels.
[0050] Generally, two different stuffing rules are used to generate the frame 450. The CAN FD dynamic bit stuffing rule is applied up to the FDF bit in the arbitration field 453, so that an inverted stuff bit is inserted after five consecutive identical bits. In the data phase 452, the fixed stuffing rule is applied up to the FCP field, so that a fixed stuff bit is inserted after a fixed number of bits. Alternatively, instead of just one stuff bit, two or more bits may be inserted as fixed stuff bits.
[0051] In frame 450, the FDF bit is immediately followed by the XLF bit, which, because of its position, corresponds to the "res bit" in the CAN FD base frame format as described above. When the XLF bit is transmitted as 1, i.e. recessive, it thereby identifies frame 450 as a CAN XL frame. In the case of a CAN FD frame, the communication control device 11 sets the XLF bit to 0, i.e. dominant.
[0052] The XLF bit is followed in frame 450 by a resXL bit, which is a dominant bit for future use. resXL must be transmitted as 0, i.e., dominant, for frame 450. However, if the subscriber station 10 receives the resXL bit as 1, i.e., recessive, the receiving subscriber station 10 will, for example, enter a protocol exception state, as is done for res=1 in the CAN FD message 46. Alternatively, the resXL bit may be defined exactly the other way around, i.e., transmitted as 1, i.e., recessive. In this case, the receiving subscriber station will enter a protocol exception state with a dominant resXL bit.
[0053] The resXL bit is followed in the frame 450 by the sequence ADS (arbitration data switch) in which a predetermined bit sequence is coded. 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 of an AL1 bit transmitted as logic 1 at least in the last part. The AL1 bit is the last bit of the arbitration phase 451. In the AL1 bit, the physical layer in the transmitting / receiving device 12, 22, 32 is switched. Thus, the operating mode of the transmitting / receiving device 12, 32 is also switched during the ADS sequence. The following bits DH1, DH2 and DL1 are already transmitted at the data bit rate. Thus, the bits DH1, DH2 and DL1 in the CAN XL are short bits in time of the data phase 452. The ADS field is used to transition from the first communication phase 451 to the second communication phase 452.
[0054] The sequence ADS is followed in frame 450 by an SDT field that characterizes the contents of data field 455. The contents of the SDT field indicate the type of information contained in data field 455. For example, the SDT field indicates whether data field 455 contains an "Internet Protocol" (IP) frame, or a tunneled Ethernet frame or other frame.
[0055] The SDT field is followed by a SEC field, which indicates whether the frame 450 is protected by the CAN security protocol. The SEC field is one bit wide and, like the SDT field, serves to indicate the type of information contained in the data field 455.
[0056] The SEC field is followed by a DLC field, into which a Data Length Code (DLC) 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 1 to the maximum number of bytes or data field length of the data field 455. If the maximum data field length is in particular 2048 bits, then 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 may be allowed, as for example in the case of CAN. In this case DLC=0 encodes a data field length having, for example, 0 bytes. The maximum data field length that can be encoded is, for example, in 11 bits, (2 11 )-1=2047.
[0057] The DLC field is followed in frame 450 by the SBC bit count field (Stuff-Bit-Count), which indicates the number of dynamic stuff bits transmitted in the arbitration field 453. The receiving node uses the information in the SBC bit count field to check whether it has received the correct number of dynamic stuff bits.
[0058] The SBC bit counter field is followed by a preamble checksum PCRC, also called preface CRC, which is a checksum to protect the frame format of the frame 450, i.e. all variable bits from the start of the frame 450 with the SOF bit to the start of the preamble checksum PCRC, including all dynamic stuff bits and optionally fixed stuff bits up to the start of the preamble checksum PCRC. The length of the preamble checksum PCRC, and therefore the length of the checksum polynomial according to the cyclic redundancy check (CRC), can be selected corresponding to the desired Hamming distance.
[0059] The preamble checksum PCRC is followed in frame 450 by a field VCID (Virtual CAN Bus ID). The VCID field has a length of 1 byte. The VCID field contains the number of the virtual CAN bus.
[0060] The field VCID is followed in frame 450 by a field AF (Acceptance Field). The AF field has a length of 32 bits. The AF field contains an address or other value for acceptance filtering.
[0061] Field AF is followed in frame 450 by Data Field 455. Data Field 455 consists of P bytes B, where P is encoded in the DLC field as previously described. P is a natural number greater than or equal to 1.
[0062] The data field 455 is followed in the frame 450 by a checksum field 456 with a frame checksum FCRC and an FCP field. The frame checksum FCRC consists of the bits of the frame checksum FCRC. The length of the frame checksum FCRC, and therefore the CRC polynomial, can be selected corresponding to a 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.
[0063] The frame checksum FCRC is followed in frame 450 by the FCP field, where FCP = Frame Check Pattern. The FCP field consists of 4 bits with the bit sequence 1100 in particular. The receiving node uses the FCP field to check whether it is bit-synchronized with the transmitted data stream. Furthermore, the receiving node synchronizes to the falling edge of the FCP field.
[0064] The FCP field is followed by an end of frame field 457. The end of frame field 457 consists of two fields: a DAS field and an acknowledgement or ACK field with at least one bit ACK and a bit ACK-Dlm.
[0065] The DAS field includes a sequence DAS (Data Arbitration Switch), in which a predetermined bit sequence is coded. The predetermined bit sequence includes bits DAH, AH1, AL2 in FIG. 2. Optionally, a bit AH2 is further provided at the end of the DAS field, which acts as a space holder for an acknowledgement field (ACK). The DAS field includes at least three bits. The bit sequence DAH, AH1, AL2 allows a simple and safe switch from the data bit rate of the data phase 452 to the arbitration bit rate of the arbitration phase 451. Furthermore, during the DAS field, the operation mode of the transmitting / receiving device 12, 32 is optionally switched from the operation mode FAST to the operation mode SLOW. For example, the bit sequence of the sequence DAS includes an arbitration bit DAH and an arbitration bit AH1, each having a logical value of 1. Thus, within bit DAH or bit AH1, the physical layer switches the operating mode of the transmitting / receiving device 12, 32 from FAST_TX or FAST_RX to SLOW. Bit AH1 is followed by bit AL2 (logic 0) and bit AH2 (logic 1). The three bits DAH, AH1, AL2 have the function of ensuring the synchronization of the subscriber stations of the bus system at the end of the frame. This also ensures the synchronization of a receiving node that realizes an error during reception.
[0066] In the end of frame field 457, the sequence of DAS fields is followed by an acknowledgement field (ACK). In the acknowledgement field, bits are provided for positive or negative acknowledgement of the correct reception of the frame 450. In the example of FIG. 2, an ACK bit and an ACK-dlm bit are provided. Optionally, there may also be a NACK bit and a NACK-dlm bit. If the receiving subscriber station 10, 30 correctly receives the frame 450, it transmits the ACK bit as dominant. The transmitting subscriber station transmits the ACK bit as recessive. Thus, the bits originally transmitted on the bus 40 in the frame 450 may be overwritten by the receiving subscriber station 10, 30. The ACK-dlm bit is transmitted as a recessive bit used to separate it from the other fields. The NACK bit and the NACK-dlm bit are used to allow the receiving subscriber station to signal on the bus 40 an incorrect reception of the frame 450. The function of these bits is similar to that of the ACK bit and the ACK-dlm bit.
[0067] The end of frame field 457 is followed in the frame 450 by an end of frame (EOF) field. The end of frame (EOF) bit sequence is used to characterize the end of the frame 450. The end of frame (EOF) field ensures that eight recessive bits are transmitted at the end of the frame 450, which is a bit sequence that cannot occur within the frame 450. This ensures that the end of the frame 450 can be recognized by the subscriber stations 10, 20, 30.
[0068] The end field (EOF) has a different length depending on whether a dominant or recessive bit was seen in the ACK bit. When the transmitting subscriber station receives the ACK bit as dominant, the end field (EOF) has seven recessive bits. Otherwise, the end field (EOF) is only five recessive bits long.
[0069] After the end field (EOF), in frame 450, an interframe space (IFS-Inter Frame Space) follows, which is not shown in Fig. 2. This interframe space (IFS) is designed in the same way as in the case of CAN FD according to ISO11898-1:2015.
[0070] Figure 3 shows the basic structure of a subscriber station 10 with a communication control device 11, a transmit / receive device 12 and an error handling module 15 which is part of the communication control device 11. A subscriber station 30 is configured similarly to that shown in Figure 3, but the error handling module 35 according to Figure 1 is located independently of the communication control device 31 and the transmit / receive device 32. Therefore, the subscriber station 30 will not be described separately.
[0071] According to Fig. 3, the subscriber station 10 comprises, in addition to the communication control device 11 and the transmitting / receiving device 12, a microcontroller 13 to which the communication control device 11 is assigned, and a system ASIC 16 (ASIC = Application Specific Integrated Circuit). The system ASIC 16 may alternatively be a System Base Chip (SBC) in which several functions necessary for the electronic circuit assembly of the subscriber station 10 are combined. In addition to the transmitting / receiving device 12, an energy supply device 17 is installed in the system ASIC 16, which supplies electrical energy to the transmitting / receiving device 12. Typically, the energy supply device 17 delivers a voltage CAN_Supply of 5V. However, depending on the requirements, the energy supply device 17 can deliver different voltages having different values. Additionally or alternatively, the energy supply device 17 may be designed as a power supply.
[0072] The error handling module 15 comprises an insertion block 151 which inserts a predefined DAS field 1511 into the frame 450, and a signalling block 152. Blocks 151, 152 are described in more detail below.
[0073] The transmitting / receiving device 12 further comprises a transmitting module 121 and a receiving module 122. In the following, reference is always made to the transmitting / receiving device 12, but it is alternatively possible to provide the receiving module 122 in a separate device outside the transmitting module 121. The transmitting module 121 and the receiving module 122 may be configured similarly to a conventional transmitting / receiving device 22. The transmitting module 121 may in particular comprise at least one operational amplifier and / or at least one transistor. The receiving module 122 may in particular comprise at least one operational amplifier and / or at least one transistor.
[0074] The sending / receiving device 12 is connected to a bus 40, more precisely to a first bus wire 41 of the bus 40 for CAN_H or CAN-XL_H and to a second bus wire 42 of the bus 40 for CAN_L or CAN-XL_L. A voltage supply for an energy supply device 17 for supplying the first and second bus wires 41, 42 with electrical energy, in particular a voltage CAN-Supply, is provided via at least one port 43. A connection with ground or CAN_GND is realised via a port 44. The first and second bus wires 41, 42 are terminated with a terminating resistor 49.
[0075] The first and second bus wires 41, 42 are connected in the transmitting / receiving device 12 not only to a transmitting module 121, also called a transmitter, but also to a receiving module 122, also called a receiver, although this connection is not shown in FIG. 3 for clarity.
[0076] During operation of the bus system 1, the transmitting module 121 converts the transmitting signal TXD or TxD of the communication control device 11 into corresponding signals CAN-XL_H and CAN-XL_L on the bus wires 41, 42 and transmits these signals CAN-XL_H and CAN-XL_L to the ports for CAN_H and CAN_L on the bus 40.
[0077] The receiving module 122 generates a receiving signal RXD or RxD from the signals CAN-XL_H and CAN-XL_L received from the bus 40 according to Fig. 4 and forwards it to the communication control device 11 as shown in Fig. 3. Except for the idle or standby state (Idle or Standby), in normal operation the transmitting / receiving device 12 with the receiving module 122 always listens to the transmission of data or messages 45, 46 on the bus 40, regardless of whether the transmitting / receiving device 12 is the sender of the message 45 or not.
[0078] According to the example of FIG. 4, the signals CAN-XL_H and CAN-XL_L have dominant and recessive bus levels 401, 402 as known from CAN, at least in the arbitration phase 451. A differential signal VDIFF=CAN-XL_H-CAN-XL_L arises on the bus 40, which is illustrated in FIG. 5 for the arbitration phase 451. The individual bits of the signal VDIFF with the bit time t_bt1 can be recognized in the arbitration phase 451 at a reception threshold T_a of, for example, 0.7 V. In the data phase 452, the bits of the signals CAN-XL_H and CAN-XL_L are transmitted faster, i.e. with a shorter bit time t_bt2, than in the arbitration phase 451. This is explained in more detail on the basis of FIGS. 6 to 10. The signals CAN-XL_H and CAN-XL_L in the data phase 452 therefore differ from the conventional signals CAN_H and CAN_L at least in that their bit rate is faster.
[0079] The sequence of states 401, 402 for signals CAN-XL_H, CAN-XL_L in Figure 4, and the resulting profile of voltage VDIFF in Figure 5, are only for purposes of illustrating the functionality of the subscriber station 10. The sequence of data states for bus states 401, 402 can be selected as desired.
[0080] In other words, when the transmitting module 121 is switched to the first operating mode B_451 (SLOW), it generates a first data state as a bus state 402 with different bus levels for the two bus wires 41, 42 of the bus line of the bus 40 according to FIG. 4, and generates a second data state as a bus state 401 with the same bus levels for the two bus wires 41, 42 of the bus line of the bus 40.
[0081] Furthermore, the transmitting module 121 transmits bits at a higher bit rate to the bus 40 due to the time profile of the signals CAN-XL_H, CAN-XL_L in the second operating mode B_452_TX (FAST_TX) including the data phase 452. The CAN-XL_H and CAN-XL_L signals may furthermore be generated with a different physical layer in the data phase 452 than in the case of CAN FD. Thereby, the bit rate in the data phase 452 can be further increased than in the case of CAN FD. The subscriber station that is not the sender of the frame 450 in the data phase 452 sets a third operating mode B_452_RX (FAST_RX) in its transmitting / receiving device.
[0082] To signal a switch from the operating mode B_451 to the operating mode B_452_TX (FAST_TX) or to the operating mode B_452_RX (FAST_RX), the communication control device 11 performs a pulse width modulation (PWM) of the transmission signal TxD. For this purpose, the communication control device 11 uses one or more PWM symbols per logical bit of the CAN XL frame 450. Basically, a PWM symbol consists of two phases, namely a 0 phase and a 1 phase. Furthermore, a PWM symbol is delimited by two equal edges (e.g. two rising edges).
[0083] 3, and in particular its insertion block 151, is used to insert a DAS field 1511 into a frame 450 when the subscriber station 10 acts as a transmitter of the frame 450. Furthermore, the error handling module 15, and in particular its signaling block 152, can perform pulse width modulation (PWM), as will be described below with respect to switching between the operating modes B_452_TX (FAST_TX), B_451 (SLOW).
[0084] Fig. 6 shows the finally obtained digital transmission signal TxD in the last region of the data phase 452 of the frame 450 over the time t. In the frame 450, after the bits FCP3 to FCP0, a DAS field 1511 is inserted. The transmission signal TxD is serially transmitted to the transmitting / receiving device 12 by the communication control device 11 as the transmitter of the frame 450, as will be described in more detail below. Up to the bit DAH, the bits of the frame 450 have a bit duration t_bt2. From the bit DAH, the bits of the frame 450 have a bit duration t_bt1. In the example of Fig. 6, the bit duration t_bt2 is shorter than the bit duration t_bt1.
[0085] Fig. 7 shows the states obtained from the transmission signal TxD occurring serially at the port TXD between the communication control device 11 and the transmitting / receiving device 12 over the time t. For this purpose, the communication control device 11, for example the error processing module 15, in particular the signaling block 152, performs a pulse width modulation (PWM) of the transmission signal TxD of Fig. 6 in a data phase 452. In the example of Fig. 7, in the PWM symbol SB_D0, the 0 phase is longer than the 1 phase, which corresponds to a bit having a logic value 0 in the transmission signal TxD. On the other hand, in the PWM symbol SB_D1, the 1 phase is longer than the 0 phase, which corresponds to a bit having a logic value 1. Naturally, the PWM symbols SB_D0, SB_D1 can also be defined differently, in particular exactly opposite to what has been described above. After the data phase 452, the pulse width modulation (PWM) of the transmission signal TxD ends, as shown in Fig. 6. In the arbitration phase 451, no pulse width modulation (PWM) of the transmission signal TxD takes place. The switch from the operating mode B_452_TX (FAST_TX) or the operating mode B_452_RX (FAST_RX) FAST_RX to the operating mode B_451 (SLOW) is signaled by turning off the PWM coding and thus by the absence of a number of edges.
[0086] At the end of the arbitration phase 451, the transmitting / receiving device 12 knows that due to the high frequency of edges of the transmission signal TxD, it should switch from the operating mode B_451 of the arbitration phase to one of the fast operating modes B_452_TX (FAST_TX), B_452_RX (FAST_RX) or should stay there. At the value of the first PWM symbol or the first M symbols, the transmitting / receiving device 12 knows whether to switch to the operating mode B_452_TX (FAST_TX) or the operating mode B_452_RX (FAST_RX), where M is a natural number equal to or greater than 1.
[0087] Fig. 8 shows the time profile of the signal TxD_TC decoded by the transmitting / receiving device 12 from the state at the port TXD of Fig. 7. Furthermore, Fig. 8 shows the operating states of the transmitting / receiving device 12. The transmitting / receiving device 12 switches its operating mode B_452_TX, in which the frame 450 has bits of bit duration t_bt2, at the bit DAH, to an operating mode B_451, in which the frame 450 has bits of bit duration t_bt1. Furthermore, in the operating mode B_451, the bits of the frame 450 can be transmitted on the bus 40 with a different physical layer than the operating mode B_452_TX, as described above. After the lapse of a predefined period T_TO (TimeOut), the transmitting / receiving device 12 can recognize, in particular by means of an RC element, that no edge has arrived for the predefined period T_TO. If the transmitting / receiving device 12 recognizes the lapse of the predefined period T_TO (TimeOut), it switches to its operating mode B_451 (SLOW).
[0088] The transmitting / receiving device 12 thus decodes the state at the port TXD of Fig. 7 into a signal TxD_TC according to Fig. 8. Each of the PWM symbols SB_D0, SB_D1 at the port TXD can be decoded at the end of the PWM symbols SB_D0, SB_D1. The decoding in the transmitting / receiving device 12 thus inserts a delay period T_VZ into the signal TxD_TC that can be serially transmitted to the bus 40. The delay period T_VZ is equal to the duration of one symbol length of the PWM symbols SB_D0, SB_D1 as shown in Fig. 8.
[0089] The transmitting / receiving device 12 decodes the state at the port TXD in FIG. 7 into a signal TxD_TC according to FIG. 8 and then transmits the signal TxD_TC onto the bus 40 as a differential voltage VDIFF as shown in FIG.
[0090] Fig. 10 shows the profile of the signal at the RXD port of the transmitting / receiving device 12 over time t. The transmitting / receiving device 12 transmits the receiving signal RxD as 1 via the RXD port as long as the transmitting / receiving device 12 is in the operating mode B_452_TX. This period in which the transmitting / receiving device 12 is in the operating mode B_452_TX corresponds to the period T_S, the end of which is shown diagrammatically in Fig. 10. In the operating mode B_452_TX (FAST_TX) RXD=1 applies. In the operating mode B_452, the transmitting / receiving device 12 transmits via the port RXD a state that corresponds to the state of the digital receiving signal RxD that the transmitting / receiving device 12 generates from the differential voltage VDIFF received from the bus 40.
[0091] Therefore, as shown in Figures 6 to 10, the error handling module 15 of Figure 3 is designed in this exemplary embodiment such that the DAS field has two bits (DAH, AH1) of value 1 followed by one bit (AL2) of value 0 (dominant).
[0092] The DAH bit is a transition bit in the DAS field 1151. The DAH bit is transmitted at a recessive level, at least in its final portion, by the transmitting node or transmitting / receiving device 12. A transmitting node is a subscriber station that is the sender of a frame 450 in a current data phase 452 and thus transmits the frame 450 on the bus 40. In the following, it is assumed that subscriber station 10 is the transmitting node for frame 450 and that subscriber station 30 is the receiving node.
[0093] In the subscriber station 10 as a transmitting node for the frame 450, the communication control device 11 signals at the beginning of the DAH bit that the transmitting / receiving device 12 has to switch its operation mode from the operation mode B_452_TX (FAST_TX) to B_451 (SLOW). For example, the beginning of the DAH bit corresponds to a maximum of 50% of the DAH bit. Based on this signaling at the DAH bit, the transmitting / receiving device 12 performs a switch of its operation mode from the operation mode B_452_TX (FAST_TX) to B_451 (SLOW) after a predefined time T_TO, as shown in Figures 7 and 8. During the period T_TO, the bus level according to Figure 9, i.e. the value of VDIFF, is definitely not recessive.
[0094] According to figures 6 and 7, the subscriber station 10 as a transmitting node, more precisely the transmitting / receiving device 12, transmits the DAH bit at recessive level in the last part of the frame 450, which likewise corresponds for example to 50%. The subscriber station 10 then transmits the AH1 bit at fully recessive level. The subscriber station 10 then transmits the AL2 bit at fully dominant level. Thus, a recessive bus state occurs on the bus 40 for a given period T_RB, which in the examples of figures 6 to 9 corresponds to 1.5 bits of a bit having a bit duration t_bt1.
[0095] Thus, according to Fig. 6 to Fig. 10, the FCP0 bit is the last bit encoded with a PWM symbol and transmitted to the transmitting / receiving device 12. During the DAH bit, the communication control device 11, in particular the error processing module 15, transmits the TxD signal as 1. Since the FCP0 bit has a logic 0 as value, a logic 0 is driven by the device 12 onto the bus 40 as a differential voltage having a value of +1V. The transmitting / receiving device 12 recognizes that after a period T_TO (TimeOut), for example of 500 ns or another value, no edge occurs on the port TXD. The transmitting / receiving device 12 therefore switches its operating mode to the operating mode B_451 (SLOW), as shown in Fig. 8. Since a 1 is present on the TxD signal, the transmitting / receiving device 12 now drives a recessive level onto the bus 40. The following AH1 bit is likewise driven onto the bus 40 with a recessive level. Therefore, the transmitting node generates a recessive level immediately before the AL2 bit with a duration T_RB that is significantly longer than the arbitration bit time t_bt1.
[0096] As a result, the DAS field contains a bit sequence 110 that provides a reliable synchronization edge before the switch from the data phase 452 to the arbitration phase 451. This can ensure that each receiving node, i.e. a subscriber station that is not the sender of the frame 450 in the current data phase 452 and therefore only the receiver of the frame 450, has seen a recessive level for the duration t_bt1 of at least one arbitration bit immediately before the falling edge of the AL2 bit (dominant) in the DAS field. This also applies if the bits arrive at the receiver truncated. Bit truncation can occur due to the effect of bit asymmetry. Bit asymmetry is introduced by non-ideal components of the transmitting / receiving devices 12, 22, 32 (transceivers), termination resistors, stubs, etc. Thus, each receiving node sees at least one recessive bit before the edge between AH1 and AL1, which is a necessary prerequisite for synchronization.
[0097] This allows for error handling in which, rather than the receiving node transmitting an error frame 47, the receiving node responds as follows if it identifies an error: If an error is identified, the receiving node, e.g., subscriber station 30, switches its transmitting / receiving device 32 to the arbitration phase 451 operating mode (SLOW operating mode) if it is not already in that mode, and waits for the bus idle sequence of 11 recessive bits of the arbitration phase 451, as previously described. The DAS field with bit sequence 110 then provides the necessary solid synchronization edge before the start of the bus idle sequence.
[0098] According to a variant of this exemplary embodiment, the communication control device 11, e.g. the error handling module 15, in particular the signaling block 152, does not signal the transmitting / receiving device 12 that it should switch to the operating mode B_452_TX (FAST_TX). As an alternative, there may be a transmitting / receiving device in the subscriber station 10, in particular a transmitting / receiving device 22, which does not have the operating mode B_452_TX (FAST_TX) or B_452_RX (FAST_RX) with respect to the communication control device 11. In both of these alternatives, the transmitting node transmits the DAH bit as a recessive bit, since the DAH bit is a logical "1".
[0099] For this variant and its alternatives, it is also guaranteed that each receiving node has seen a recessive level in the DAS field for a duration t_bt1, which is at least the duration of the arbitration bit, immediately before the falling edge of the AL2 bit (dominant).
[0100] 11-15 are time profiles according to a second exemplary embodiment, which differ from the time profiles of FIGS. 6-10 in the following aspects. As shown in Fig. 12, at the beginning of the DAH bit, at least one PWM symbol corresponding to a logical value 1 is transmitted. In the example of Fig. 12, the PWM symbol SB_D1 is transmitted. For this purpose, the communication control device 11, for example the error processing module 15, in particular the signaling block 152, performs a corresponding pulse width modulation (PWM) of the DAH bit. Subsequently, the communication control device 11, for example the error processing module 15, in particular the signaling block 152, transmits the TxD signal as 1 during the DAH bit.
[0101] The signal TxD_TC in Fig. 13 is also already at logic 1 at the beginning of the DAH bit, since the PWM symbol for logic 1 was transmitted last. The differential voltage VDIFF therefore has a value of -1 V for the duration T_TO (TimeOut) (Fig. 12) of the DAH bit, as shown in Fig. 14.
[0102] The transmit / receive device 12 notices that no edge occurs on the port TXD after a period T_TO (TimeOut) (FIG. 12), for example 500 ns or another value. The transmit / receive device 12 therefore switches its operation mode to operation mode B_451 (SLOW), as shown in FIG. 13. Since a 1 is present on the TxD signal, the transmit / receive device 12 now drives a recessive level onto the bus 40. The next AH1 bit is likewise driven with a recessive level onto the bus 40.
[0103] Therefore, also in this exemplary embodiment, the transmitting node generates a recessive level immediately before the AL2 bit that is significantly longer than the arbitration bit time t_bt1. Otherwise, the functional operation of the bus system 1 of the two exemplary embodiments is the same.
[0104] 16-20 show a time profile according to a third exemplary embodiment, which differs from the time profiles of FIGS. 6-10 in the following aspects. As shown in Fig. 17, the communication control device 11, for example the error processing module 15, in particular the signaling block 152, transmits a PWM symbol corresponding to a logical value 0 but without a falling edge at the beginning of the DAH bit. Here, in the example of Fig. 17, the PWM symbol SB_D0 is transmitted without a falling edge. Then, the communication control device 11, for example the error processing module 15, in particular the signaling block 152, transmits the TxD signal as 0 during the DAH bit until the transmitting / receiving device 12 has switched or changed its operation mode to the operation mode B_451 (SLOW), as shown in Fig. 18.
[0105] The transmitting / receiving device 12 notices that no edge occurs at the port TXD after a period T_TO (TimeOut) (FIG. 17), for example 500 ns or another value. The transmitting / receiving device 12 therefore switches its operation mode to operation mode B_451 (SLOW), as shown in FIG. 18. Since the signal at the port TXD according to FIG. 17 still has the value 0 at this point, the transmitting / receiving device 12 drives a dominant level onto the bus 40. The differential voltage VDIFF therefore has a value of +2 V, as shown in FIG. 19.
[0106] As shown in Fig. 20, the communication control device 11, for example the error processing module 15, in particular the signaling block 152, recognizes the operation mode B_451 (SLOW) based on the value at the RXD port. In the operation mode B_452_TX (FAST_TX), RXD=1 applies, as indicated by the period T_S in Fig. 20. In the operation mode B_451 (SLOW), the value at the RXD port is the logical value of the differential voltage VDIFF of the bus 40, as shown in Figs. 19 and 20.
[0107] As soon as the communication control device 11, for example the error handling module 15, in particular the signaling block 152, recognises from the value of RXD (RXD=0) that the sending / receiving device 12 has switched to the operating mode B_451 (SLOW), it transmits at the port TXD according to Fig. 17 the TxD signal according to Fig. 16 with respect to the rest of the DAH bits as 1. The following AH1 bit is likewise driven at recessive level on the bus 40.
[0108] Therefore, also in this exemplary embodiment, the transmitting node generates a recessive level immediately before the AL2 bit that is significantly longer than the arbitration bit time t_bt1. Otherwise, the functional operation of the bus system 1 is the same as in the other exemplary embodiments.
[0109] The three exemplary embodiments differ, inter alia, with respect to the differential voltage VDIFF at which the transition to the differential voltage VDIFF=0 for the recessive level is made. Since now, in addition to the recessive level of the differential voltage VDIFF=0, there are three further levels, namely VDIFF=+2V for dominant, VDIFF=+1V for logic 0 in the data phase, and VDIFF=-1V for logic 1 in the data phase 452, there are three possibilities as to when the operating mode switching of the transmit / receive device is used.
[0110] All the above-mentioned configurations of the subscriber stations 10, 20, 30, the bus system 1 and the methods implemented therein can be used individually or in all possible combinations. In particular, all the features of the above-mentioned exemplary embodiments and / or their variants can be combined in any way. Additionally or alternatively, in particular the following variants are conceivable:
[0111] Although the invention has been described above with the example of a CAN bus system, the invention may also be used in any communication network and / or method in which two different communication phases are used, with different bus states being generated for the different communication phases. 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.
[0112] In particular, the bus system 1 according to the exemplary embodiment may be a communication network in which data can be serially transmitted at two different bit rates. It is an advantageous, but not essential, prerequisite that exclusive and collision-free access of the subscriber stations 10, 20, 30 to a common channel in the bus system 1 is guaranteed at least for a certain period of time.
[0113] Naturally, the DAS field can have more bits than the three bits mentioned in the three exemplary embodiments. Here, it is only required that the field before the edge (DAS) has a predefined length with a period T_RB that is longer than the period of the bit time t_bt1 of the arbitration phase 451 (first communication phase). Preferably, the period T_RB is equal to or greater than the period of 1.5 bits of the arbitration phase 451, as mentioned above.
[0114] The number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiment is arbitrary. In particular, the subscriber station 20 in the bus system 1 can be omitted. It is possible that one or more of the subscriber stations 10 or 30 are present in the bus system 1. It is also conceivable that all subscriber stations in the bus system 1 are designed identically, i.e. that only subscriber stations 10 or only subscriber stations 30 are present.
Claims
1. A subscriber station (10; 30) for a serial bus system (1), comprising: a communication control device (11; 31) for controlling communication between a subscriber station (10; 20; 30) of said bus system (1) and at least one other subscriber station (10; 20; 30) and for generating transmission signals (TxD, TXD), wherein for messages (45) exchanged between the subscriber stations (10, 20, 30) of said bus system (1), the bit time (t_bt1) of signals transmitted on the bus (40) in a first communication phase (451) may differ from the bit time (t_bt2) of signals transmitted in a second communication phase (452), said communication control device (11; 31) is designed to generate said transmission signal (TxD) according to a frame (450) and to insert in said frame (450) a field (DAS) with an edge after said second communication phase (452), said field (DAS) having a predetermined length, before said edge, corresponding to a period (T_RB) greater than the period of a bit time (t_bt1) of said first communication phase (451); said edge being provided for a communication control device (21; 31; 11) of said at least one other subscriber station (10; 20; 30) of said bus system (1) to synchronize said communication on said bus (40), said transmitting / receiving device (22; 32; 12) of said at least one other subscriber station (10; 20; 30) being switched into an operating mode (B_451) for transmitting and receiving said frames (450) in said first communication phase (451) before said predetermined period (T_RB), Subscriber station (10;30).
2. 2. The subscriber station (10; 30) of claim 1, wherein said predetermined length of said field (DAS) comprises at least three bits of the bits comprising said bit time (t_bt1) of said first communication phase (451).
3. The subscriber station (10; 30) of claim 1 or 2, wherein said edge is a falling edge.
4. 4. The subscriber station (10; 30) according to claim 1, wherein the communication control device (11) is designed to insert, in the field (DAS), a bit sequence with a logical value of 11 before the edge.
5. The subscriber station (10; 30) according to any one of claims 1 to 4, wherein the communication control device (11) is designed to insert the field (DAS) as a bit sequence with the logical value 1101.
6. 6. The subscriber station (10; 30) according to any one of claims 1 to 5, wherein the communication control device (11) is designed to signal to the transmitting / receiving device (12; 32) by pulse width modulation on the transmission signal (TXD) that the transmitting / receiving device (12; 32) needs to switch its operating mode.
7. a transmit / receive device (12; 32) for transmitting said transmit signal (TXD) to a bus (40) of said bus system (1), said transmitting / receiving device (12; 32) is designed to switch its operating mode from an operating mode (B_452_TX) of said second communication phase (452) to a different operating mode (B_451) of said first communication phase (451) after a predetermined time period (T_TO) during which said transmitting / receiving device (12; 32) has not received an edge in said transmission signal (TXD), A subscriber station (10; 30) according to any one of the preceding claims.
8. 8. The subscriber station (10; 30) according to claim 7, wherein the communication control device (11; 31) is designed to insert a PWM symbol (SB_D0) with a logic value of 0 as the last symbol in the transmission signal (TxD, TXD) before the start of the predetermined period (T_TO).
9. 8. The subscriber station (10; 30) according to claim 7, wherein the communication control device (11; 31) is designed to insert a PWM symbol (SB_D1) with a logic value of 1 as the last symbol in the transmission signal (TxD, TXD) before the start of the predetermined period (T_TO).
10. 8. The subscriber station (10; 30) according to claim 7, wherein the communication control device (11; 31) is designed to insert a PWM symbol (SB_D0) with a logic value 0 as the penultimate symbol in the transmission signal (TxD, TXD) before the start of the predetermined period (T_TO) and to insert a PWM symbol (SB_D0) having a logic value 0 but no rising edge in the transmission signal (TxD, TXD) as the last symbol in the transmission signal (TxD, TXD) before the start of the predetermined period (T_TO).
11. 11. The subscriber station (10; 30) according to claim 1, wherein the communication control device (11; 31) is designed to check the signal at a port (RXD) through which the transmitting / receiving device (12; 32) transmits a receiving signal (RxD) to the communication control device (11; 31) whether the transmitting / receiving device (12; 32) has switched its operation mode from the operation mode (B_452_TX) of the second communication phase (452) to the different operation mode (B_451) of the first communication phase (451).
12. said transmit / receive device (22) for transmitting said transmit signal (TXD) to a bus (40) of said bus system (1), said transmitting / receiving device (22) is designed to transmit said frame (450) in its entirety to said bus (40) in said operating mode (B_452_TX) for transmitting and receiving said frame (450) in said first communication phase (451); A subscriber station (10; 30) according to any one of claims 1 to 4.
13. the frame (450) formed for the message (45) is configured to be compatible with CAN FD; during said first communication phase (451), it is negotiated which of said subscriber stations (10, 20, 30) of said bus system (1) will gain at least temporarily exclusive and collision-free access to said bus (40) in a subsequent second communication phase (452); A subscriber station (10; 30) according to any one of the preceding claims.
14. Bus (40), at least two subscriber stations (10; 20; 30) connected to each other so as to be able to serially communicate with each other via said bus (40), at least one of the subscriber stations (10; 30) being a subscriber station (10; 30) according to any one of claims 1 to 13, Bus system (1).
15. A method for communication in a serial bus system (1), the method being implemented by a subscriber station (10; 30) of said bus system (1), said subscriber station (10; 30) having a communication control device (11; 31) for generating transmission signals (TxD, TXD) and a transmit / receive device (12; 22; 32), - controlling, by said communication control device (11; 31), communication between said subscriber station (10; 30) and at least one other subscriber station (10; 20; 30) of said bus system (1), in which for messages (45) exchanged between the subscriber stations (10, 20, 30) of said bus system (1), a bit time (t_bt1) of signals transmitted on said bus (40) in a first communication phase (451) may differ from a bit time (t_bt2) of signals transmitted in a second communication phase (452); transmitting, by said transmitting / receiving device (12; 32), said transmission signal (TXD) to a bus (40) of said bus system (1), said communication control device (11; 31) generating said transmission signal (TxD) according to a frame (450) and inserting in said frame (450) a field (DAS) with an edge after said second communication phase (452), said field (DAS) having a predetermined length, before said edge, corresponding to a period (T_RB) greater than the period of a bit time (t_bt1) of said first communication phase (451); said edge being provided for a communication control device (21; 31; 11) of said at least one other subscriber station (10; 20; 30) of said bus system (1) to synchronize said communication on said bus (40), said transmitting / receiving device (22; 32; 12) of said at least one other subscriber station (10; 20; 30) being switched into an operating mode (B_451) for transmitting and receiving said frames (450) in said first communication phase (451) before said predetermined period (T_RB), method.
Citation Information
Patent Citations
Method and apparatus for serial data transmission with switchable data rates
JP2013538025A
