Device for a user station of a serial bus system, and method for communicating in a serial bus system
11868293 ยท 2024-01-09
Assignee
Inventors
Cpc classification
G06F13/4022
PHYSICS
G06F13/376
PHYSICS
International classification
Abstract
A device for a serial bus system. The device includes a reception block for receiving a signal from a bus of the bus system. The signal is based on a transmission signal via which a message is exchanged between user stations. The reception block receives, in a first communication phase, the signal using a first reception threshold, and in a second communication phase, receives the signal using a second reception threshold. The device includes an evaluation block for evaluating the signal from the bus using a switchover reception threshold that differs from the first and second reception thresholds, and a reception threshold switching block for the time-limited switchover of the reception threshold of the reception block from the first reception threshold to the second reception threshold when the evaluation block detects the bus level for data of the transmission signal, using the switchover reception threshold in the signal.
Claims
1. A device of a user station, which is one of a plurality of user stations of a serial bus system, comprising: circuitry coupled to lines of a bus of the bus system, by which a signal is receivable from the bus of the bus system, the signal being based on a transmission signal via which a message is exchanged between the user stations of the bus system; and a processor, wherein the processor is configured to: in a first communication phase in which in the signal different values are provided by a recessive bus state and a dominant bus state, interpret the received signal using a first reception threshold; and in a second communication phase in which in the signal different values are provided without the recessive bus state, interpret the received signal using a second reception threshold; and responsive to a connection of the user station to the bus system being initiated after others of the user stations have been communicating via the bus system without recognition by the user station of which of the first and second communication phases is currently active on the bus system: begin operation of the user station according to the second communication phase; and switch operation of the user station from the second communication phase, in which the second reception threshold is used, into the first communication phase, in which the first reception threshold is used, upon detection of a level of the signal being above a third reception threshold for a predefined amount of time, the third reception threshold being different than the first and second thresholds.
2. A device of a user station, which is one of a plurality of user stations of a serial bus system, the device comprising: circuitry coupled to lines of a bus of the bus system, by which a signal is receivable from the bus of the bus system, the signal being based on a transmission signal via which a message is exchanged between the user stations of the bus system; and a processor, wherein: the processor is configured to: in a first communication phase in which, in the signal, a recessive bus state is overwritable by a dominant bus state, interpret the received signal using a first reception threshold; in a second communication phase in which bus states other than the recessive and the dominant bus states are present in the signal, interpret the receives signal using a second reception threshold; evaluate the signal from the bus of the bus system using a switchover reception threshold that differs from the first reception threshold and the second reception threshold; and perform a time-limited switchover of the user station from a mode in which the first reception threshold is used to a mode in which the second reception threshold is used in response to detection of presence of a predefined bus level of the transmission signal using the switchover reception threshold; and for the time-limited switchover of the reception threshold from the first reception threshold to the second reception threshold, switch the user station into an operating mode that differs from three other operating modes of the device, and wherein the three other operating modes of the device include: a first operating mode for transmitting and/or receiving the signal in the first communication phase, a second operating mode only for receiving the signal in the second communication phase, and a third operating mode for transmitting and receiving the signal in the second communication phase.
3. The device as recited in claim 1, wherein the circuitry obtains respective line signals from different two of the lines of the bus, the signal being formed by a difference between the two line signals, and wherein the processor is configured to compare the signal to one or more of the reception thresholds.
4. The device as recited in claim 1, wherein the processor is configured to switch the user station into the second communication phase in response to the third reception threshold being undershot.
5. The device as recited in claim 4, wherein the third reception threshold has a negative numerical value.
6. The device as recited in claim 1, wherein bus states of the signal received from the bus in the first communication phase are generated with a different physical layer than bus states of the signal received from the bus in the second communication phase.
7. The device as recited in claim 1, wherein bus states of the signal received from the bus in the first communication phase have a longer bit time than bus states of the signal received in the second communication phase.
8. The device as recited in claim 1, wherein in the first communication phase, it is negotiated which of the user stations of the bus system in a subsequent second communication phase obtains, at least temporarily, exclusive, collision-free access to the bus.
9. The device as recited in claim 1, wherein the circuitry is configured to transmit messages onto the bus of the bus system, with the processor being configured to switch the user station, for the transmission, between a transmission operating mode for the first communication phase and a transmission operating mode for the second communication phase.
10. A user station for a serial bus system, the user station comprising: a device for control of communication of the user station with other user stations of the bus system, the device including: circuitry coupled to lines of a bus of the bus system, by which a signal is receivable from the bus of the bus system, the signal being based on a transmission signal via which a message is exchanged between the user stations of the bus system; and a processor, wherein the processor is configured to: in a first communication phase in which in the signal different values are provided by a recessive bus state and a dominant bus state, interpret the received signal using a first reception threshold; and in a second communication phase in which in the signal different values are provided without the recessive bus state, interpret the received signal using a second reception threshold; and responsive to a connection of the user station to the bus system being initiated after others of the user stations have been communicating via the bus system without recognition by the user station of which of the first and second communication phases is currently active on the bus system: begin operation of the user station according to the second communication phase; and switch operation of the user station from the second communication phase, in which the second reception threshold is used, into the first communication phase, in which the first reception threshold is used, upon detection of a level of the signal being above a third reception threshold for a predefined amount of time, the third reception threshold being different than the first and second thresholds.
11. The user station as recited in claim 10, wherein the processor is configured to switch the user station into the first communication phase when the processor detects an idle state on the bus.
12. A bus system, comprising: a bus; and a plurality of user stations that are connected to one another via the bus in such a way that they may communicate serially with one another, a first one of the user stations including: a device for control of communication of the first user station with other user stations of the bus system, the device including: circuitry coupled to lines of a bus of the bus system, by which a signal is receivable from the bus of the bus system, the signal being based on a transmission signal via which a message is exchanged between the user stations of the bus system; and a processor, wherein the processor is configured to: in a first communication phase in which in the signal different values are provided by a recessive bus state and a dominant bus state, interpret the received signal using a first reception threshold; and in a second communication phase in which in the signal different values are provided without the recessive bus state, interpret the received signal using a second reception threshold; and responsive to a connection of the first user station to the bus system being initiated after others of the user stations have been communicating via the bus system without recognition by the first user station of which of the first and second communication phases is currently active on the bus system: begin operation of the first user station according to the second communication phase; and switch operation of the first user station from the second communication phase, in which the second reception threshold is used, into the first communication phase, in which the first reception threshold is used, upon detection of a level of the signal being above a third reception threshold for a predefined amount of time, the third reception threshold being different than the first and second thresholds.
13. A method of a user station of a plurality of user stations that communicate in a serial bus system, wherein a signal is receivable by the user station from a bus of the bus system, the signal being based on a transmission signal via which a message is exchanged between user stations of the bus system, and wherein the user station is configured to (a) in a first communication phase in which, in the signal, different values are provided by a recessive bus state and a dominant bus state, interpret the receives signal using a first reception threshold, and (b) in a second communication phase in which, in the signal, different values are provided without the recessive bus state, interpret the received signal using a second reception threshold, the method comprising: responsive to a connection of the user station to the bus system being initiated after others of the user stations have been communicating via the bus system without recognition by the user station of which of the first and second communication phases is currently active on the bus system: beginning operation of the user station according to the second communication phase; and switching operation of the user station from the second communication phase, in which the second reception threshold is used, into the first communication phase, in which the first reception threshold is used, upon detection of a level of the signal being above a third reception threshold for a predefined amount of time, the third reception threshold being different than the first and second thresholds.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present invention is described in greater detail below with reference to the figures, and based on exemplary embodiments.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12) Unless stated otherwise, identical or functionally equivalent elements are provided with the same reference numerals in the figures.
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
(13)
(14) In
(15) Messages 45, 46 in the form of signals are serially transferable between individual user stations 10, 20, 30 via bus 40. User stations 10, 20, 30 are, for example, control units, sensors, display devices, etc., of a motor vehicle.
(16) If an error occurs during the communication on bus 40, as illustrated by the serrated dark block arrow in
(17) An error-free message 45, 46 is confirmed by the receivers via an acknowledge bit, which is a dominant bit that is driven in an acknowledge time slot that is transmitted recessively by the sender. Up to the acknowledge time slot, the sender of a message 45, 46 expects to always see on bus 40 the level that the sender itself transmits. Otherwise, the sender detects a bit error and regards message 45, 46 as invalid. Unsuccessful messages 45, 46 are repeated.
(18) As shown in
(19) Communication control devices 11, 21, 31 are each used for controlling a communication of particular user station 10, 20, 30 via bus 40 with at least one other user station of user stations 10, 20, 30 connected to bus 40.
(20) Communication control device 11 creates and reads first messages 45, which are modified CAN messages 45, for example. Modified CAN messages 45 are built up based on a CAN XL format, described in greater detail with reference to
(21) Communication control device 21 may be designed as a conventional CAN controller according to ISO 11898-1:2015. Communication control device 21 creates and reads second messages 46, for example conventional CAN messages 46. Conventional CAN messages 46 are built up according to the conventional base format, in which a number of up to 8 data bytes may be included in message 46. Alternatively, conventional CAN message 46 is built up as a CAN FD message, in which a number of up to 64 data bytes, which are also transferred at a much faster data rate than with conventional CAN message 46, may be included. In the latter case, communication control device 21 is designed as a conventional CAN FD controller.
(22) Communication control device 31 may be designed to provide a CAN XL message 45 or a conventional CAN message 46 for transceiver device 32 or receive it from same, as needed. Communication control device 31 thus creates and reads a first message 45 or second message 46, first and second messages 45, 46 differing by their data transmission standard, namely, CAN XL or CAN in this case. Alternatively, conventional CAN message 46 is built up as a CAN FD message. In the latter case, communication control device 31 is designed as a conventional CAN FD controller.
(23) Except for the differences described in greater detail below, transceiver device 12 may be designed as a CAN XL transceiver. Transceiver device 22 may be designed as a conventional CAN transceiver or as a CAN FD transceiver. Transceiver device 32 may be designed to provide messages 45 according to the CAN XL format or messages 46 according to the present CAN base format for communication control device 31 or receive the messages from same, as needed. Additionally or alternatively, transceivers 12, 32 may be designed as a conventional CAN FD transceiver.
(24) A formation and then transfer of messages 45 having the CAN XL format, in addition to the reception of such messages 45, is achievable by use of the two user stations 10, 30.
(25)
(26) In arbitration phase 451, with the aid of an identifier, bit-by-bit negotiation is carried out between user stations 10, 20, 30 concerning which user station 10, 20, 30 would like to transmit message 45, 46 having the highest priority, and therefore for the next time period for transmitting in subsequent data phase 452 obtains exclusive access to bus 40 of bus system 1.
(27) The useful data of the CAN XL frame or of message 45 are transmitted in data phase 452. The useful data may include up to 4096 bytes, for example, or a greater value, corresponding to the value range of a data length code. In data phase 452, during normal operation only one of user stations 10, 20, 30 is the sender of a frame 450, as described above. Thus, all other user stations 10, 20, 30 are receivers of frame 450 and are therefore switched into a reception operating mode.
(28) In frame end phase 453, a check sum of the data of data phase 452 may be contained in a check sum field, for example, including the stuff bits that are inserted as an inverse bit by the transmission block of message 45 in each case after a predetermined number of identical bits, in particular 10, or some other number of, identical bits. In addition, in frame end phase 453 at least one acknowledge bit may be contained in an end field. Furthermore, a sequence of 11 identical bits that indicate the end of CAN XL frame 450 may be present. By use of the at least one acknowledge bit, it may be communicated whether or not a reception block has found an error in received CAN XL frame 450 or message 45, as mentioned above.
(29) A physical layer, similarly as with CAN and CAN FD, is used in arbitration phase 451 and frame end phase 453. The physical layer corresponds to the bit transfer layer or layer one of the conventional Open Systems Interconnection (OSI) model.
(30) An important point during phases 451, 453 is that the conventional CSMA/CR method is used, which allows simultaneous access of user stations 10, 20, 30 to bus 40 without destroying higher-priority message 45, 46. It is thus possible to add further bus user stations 10, 20, 30 to bus system 1 in a relatively simple manner, which is very advantageous.
(31) Consequently, the CSMA/CR method must provide so-called recessive states on bus 40, which may be overwritten by other user stations 10, 20, 30 with dominant states on bus 40. In the recessive state, high-impedance conditions prevail at individual user station 10, 20, 30, which in combination with the parasites of the bus wiring result in longer time constants. This results in a limitation of the maximum bit rate of the present-day CAN FD physical layer to approximately 2 megabits per second at the present time during actual vehicle use.
(32) A transmission block of message 45 starts a transmission of bits of data phase 452 onto bus 40 only after user station 10, as the transmission block, has won the arbitration, and user station 10, as the transmission block, thus has exclusive access to bus 40 of bus system 1 for the transmission.
(33) In general, in the bus system with CAN XL, in comparison to CAN or CAN FD the following differing properties may be achieved: a) acquiring and optionally adapting proven properties that are responsible for the robustness and user-friendliness of CAN and CAN FD, in particular a frame structure including identifiers and arbitration according to the CSMA/CR method, b) increasing the net data transfer rate to approximately 10 megabits per second, c) increasing the quantity of the useful data per frame to approximately 4 kbytes.
(34)
(35) User station 30 has a design similar to that shown in
(36) According to
(37) Transceiver device 12 also includes a transmission block 121 and a reception block 122. Even though transceiver device 12 is consistently referred to below, it is alternatively possible to provide reception block 122 in a separate device externally from transmission block 121. Transmission block 121 and reception block 122 may be designed as a conventional transceiver device 22. Transmission block 121 may in particular include at least one operational amplifier and/or one transistor. Reception block 122 may in particular include at least one operational amplifier and/or one transistor.
(38) Transceiver device 12 is connected to bus 40, or more precisely, to its first bus wire 41 for CAN_H or CAN XL_H and its second bus wire 42 for CAN_L or CAN XL_L. The supplying of voltage for energy supply device 17 for supplying first and second bus wires 41, 42 with electrical energy, in particular with voltage CAN_Supply, takes place via at least one terminal 43. The connection to ground or CAN_GND is achieved via a terminal 44. First and second bus wires 41, 42 are terminated via a terminating resistor 49.
(39) In transceiver device 12, first and second bus wires 41, 42 are not just connected to transmission block 121, also referred to as a transmitter, and to reception block 122, also referred to as a receiver, even though the connection in
(40) During operation of bus system 1, transmission block 121 may convert during the transmission operation of transceiver device 12 a transmission signal TXD or TxD of communication control device 11 having digital states 0 and 1, as schematically illustrated in
(41) According to
(42) According to
(43) As is discernible from
(44)
(45) In general, according to
(46) If transceiver device 12, in particular its device 15, detects the end of arbitration phase 451, for user stations 10, 20, 30 of bus system 1, transceiver device 12, 22, 32 is switched over into the corresponding operating mode for data phase 452, as explained in greater detail below with reference to
(47) The right portion of
(48) According to the right portion of
(49) For this purpose, transmission block 121 once again drives the states of differential signals CAN XL_H, CAN XL_L differently, as in above-mentioned communication phases 451, 453. However, in data phase 452 the two bus states U_D0, U_D1 or differential voltages VDIFF_D0, VDIFF_D1 are driven symmetrically, corresponding to data states 0 and 1 of transmission signal TXD. In addition, the bus levels for data states data_0 in communication phases 451, 453 are different from data states data_0 in communication phase 452. Furthermore, the bus levels for data states data_1 in communication phases 451, 453 are different from data states data_1 in communication phase 452.
(50) In data phase 452, in addition to reception threshold T_a of phases 451, 453, reception block 122 uses a reception threshold T_d, which is nominally approximately 0.0 V and therefore between the maximum value of T_d_max=0.1 V and the minimum value of T_d_min=0.1 V. The value of reception threshold T_d depends on manufacturing tolerances as well as the effect of temperature and operating voltage.
(51) Nominal differential voltage VDIFF_401 for the recessive data state, at 0 V, is in the range between T_d_max and T_d_min, and therefore cannot be unequivocally detected when reception threshold T_d is used. However, nominal differential voltage VDIFF_401 for the recessive data state may be detected using reception threshold T_a. Minimum differential voltage VDIFF_D0 min for data state data_0 is below T_a_max, and therefore cannot be unequivocally detected when reception threshold T_a is used. However, minimum differential voltage VDIFF_D0 min for data state data_0 may be detected using reception threshold T_d.
(52) Furthermore, in data phase 452, reception block 122 may additionally use a reception threshold T_c, which is approximately 0.4 V. For this purpose, for reception block 122, operating mode adjustment device 15 sets reception threshold T_a, thus far used only in phases 451, 453, and reception threshold T_d, thus far used only in phase 452, to the three reception thresholds T_a, T_d, T_c, or connects one of reception thresholds T_a, T_d to reception threshold T_c as a function of an evaluation, as described in greater detail with reference to
(53) Even if the numerical value of reception threshold T_c is 0.4 V, for example, the numerical value may be optimized, depending on the CAN bus topology being presently used.
(54) Transmission block 121 is thus switched over from a first operating mode in phases 451, 453 into some other operating mode in data phase 452, as explained in greater detail with reference to
(55) In other words, in a first operating mode according to
(56) In addition, for the temporal profiles of signals CAN XL_H, CAN XL_L in an operating mode that includes data phase 452, transmission block 121 in each case drives first and second data states 0, 1 of transmission signal TxD at least in part, so that bus levels data_0, data_1 of the right portion of
(57) The difference between the physical layer of CAN in communication phases 453, 451 and the above-described physical layer in data phase 452 is that states data_1 having differential voltage VDIFF_D1 in data phase 452 are partially or completely driven by transmission block 121 or transceiver device 12. For a bit rate of 10 Mbit/s, for example, in data phase 452, a bit time t_bt2=100 ns.
(58) Thus, in the shown example from
(59)
(60) In configuration operating mode B_420 at least one setting may be made for the communication, for example setting the numerical values for reception thresholds T_a, T_d, T_c, setting the numerical values for time periods in which communication in bus system 1 is used, setting at least one identifier, or other settings. Switchback condition S21 from operating mode B_420 into operating mode B_451 may be that transmission signal TxD is constant for a predetermined time t of greater than 5 s, for example, as illustrated via a switchback condition S21 at the arrow between operating modes B_420, B_451. As the result of switchback condition S21, user station 10 may once again reliably take part in the communication in bus system 1 after predetermined time t.
(61) In communication phase 452, for transceiver device 12, more precisely its reception block 122, there are three different operating modes, namely, operating mode B_452_RX, operating mode B_452_TX, and operating mode B_452_RX_A. The operating mode is provided only for a user station 10, 20, 30 that does not know in which phase CAN bus 40 is presently being operated and that would like to integrate into the communication. This is described in greater detail below.
(62) Operating mode adjustment device 15, more precisely its evaluation block 151, may be used for detecting that a switch is to be made between operating modes 451, 452_RX, 452_TX, 452_RX_A, as illustrated in
(63) Reception threshold switching block 152 is designed to decide, as a function of the evaluation result of evaluation block 151, into which of operating modes 451, 452_RX, 452_TX, 452_RX_A reception block 122 is to be switched.
(64) Reception threshold switching block 152 switches from operating mode B_451 into operating mode B_452_RX when, during normal operation of user station 10, the end of arbitration phase 451 for a CAN XL frame 450 has been detected when user station 10 has not won the arbitration. In this case, transceiver device 12 is able to act only as a receiver in subsequent data phase 452. Alternatively, in subsequent data phase 452 in operating mode B_452_TX, transceiver device 12 acts both as a sender and a receiver of a frame 450 when user station 10 has won the arbitration.
(65) As a result, regardless of whether user station 10 has lost or won the arbitration, transceiver device 12, in particular reception block 122, is switched over from operating mode B_451, in which signals according to
(66) If user station 10 has won, not lost, the arbitration, transceiver device 12, in particular transmission block 121, is further switched over from operating mode B_452_RX for data phase 452 into operating mode B_452_TX. User station 10 thus changes from operating mode B_452_RX into operating mode B_452_TX, as illustrated by arrow S2 in
(67) Reception threshold switching block 152 switches from operating mode B_452_TX back into operating mode B_451 when one of the following three cases is present, as illustrated via switchback conditions S3_1, S3_2, S3_3 at the arrow between operating modes B_452_TX, B_451.
(68) Switchback condition S3_1 is present when user station 10, for example evaluation block 151, in operating mode B_452_TX detects that data phase 452 is ended.
(69) Switchback condition S3_2 is present when reception signal RxD contains an excessively long sequence of identical bits; for example, an error frame 47 has been received, or erroneously no stuff bit has been inserted into frame 450.
(70) Switchback condition S3_3 is present when transceiver device 12 detects that at least one other of user stations 20, 30 has transmitted something onto bus 40 during data phase 452, so that there is no longer exclusive, collision-free access to bus 40, and a collision occurs on bus 40.
(71) In addition, reception threshold switching block 152 switches from operating mode B_452_RX back into operating mode B_451 when one of the following two cases is present, as illustrated via switchback conditions S4_1, S4_2 at the arrow between operating modes B_452_RX, B_451.
(72) Switchback condition S4_1 is present when user station 10, for example evaluation block 151, in operating mode B_452_RX detects that data phase 452 is ended.
(73) Switchback condition S4_2 is present when transmission block 121, after data phase 452 has ended, once again transmits something onto bus 40 due to the fact that user station 10 wants to take part in the next arbitration in order for user station 10 itself to transmit a frame 450 onto bus 40.
(74) For the sake of security, reception threshold switching block 152 also switches from operating mode B_452_RX back into operating mode B_451 when transmission block 121 transmits something onto bus 40 during ongoing data phase 452. This is illustrated via a switchback condition S5 at the arrow between operating modes B_452_RX, B_451. In operating mode B_452_RX, transmission block 121 generally transmits something onto bus 40 only when an error has been detected, so that transmission block 121 transmits an error frame 47 onto bus 40. Switchback condition S5 represents a security measure so that the communication in bus system 1 may be securely restarted from first operating mode B_451.
(75) For the sake of security, reception threshold switching block 152 also switches from operating mode B_452_TX back into operating mode B_451 when transmission signal TxD is constant for a predetermined time t of greater than 5 s, for example, as illustrated via a switchback condition S6 at the arrow between operating modes B_452_TX, B_451. Switchback condition S6 represents a security measure for making the communication in bus system 1 robust against error states.
(76) In addition, reception threshold switching block 152 is designed to switch over from operating mode B_451 into operating mode B_452_RX_A, for example when one of the following three switch-on conditions S1_1, S1_2, S1_3 is present, as illustrated in
(77) Switch-on condition S1_1 is present when user station 10 is switched on and must integrate into an ongoing bus communication.
(78) Switch-on condition S1_2 is present when user station 10 is switched into the protocol exception state.
(79) Switch-on condition S1_3 is present when a user station 10, 30 has lost the synchronization with a transmitting user station 10, 30.
(80) In operating mode B_452_RX_A, reception threshold switching block 152 switches over between reception threshold T_a of slow operating mode B_451 and reception threshold T_d of fast RX operating mode B_452_RX, using reception threshold T_c, as described below.
(81) In operating mode B_452_RX_A, transceiver device 12 initially operates using reception threshold T_a of slow operating mode B_451 and reception threshold T_c. As soon as reception threshold T_c is undershot, transceiver device 12, more precisely its block 152, switches reception threshold T_a over to reception threshold T_d of fast RX operating mode B_452_RX for a predetermined time period t_A (tAuto_Mode). After predetermined time period t_A has elapsed, transceiver device 12, more precisely its block 152, switches over reception threshold T_d back to reception threshold T_a of slow operating mode B_451. Time period t_A in configuration operating mode B_420, for example, is set in such a way that transceiver device 12 in predetermined time period t_A, in which transceiver device 12 operates using reception threshold T_d of fast RX operating mode B_452_RX, passes on at least one stuff bit to communication control device 11. In this way, the situation is avoided that idle state 410 is erroneously detected during data phase 452 of a CAN XL frame 450. Transceiver device 12 may switch over multiple times during data phase 452 of a CAN XL frame 450, as described above.
(82) Reception threshold switching block 152 thus switches from operating mode B_452_RX_A back into operating mode B_451 when reception threshold T_c is not undershot for predetermined time period t_A, as illustrated via a switchback condition S4_3 at the arrow between operating modes B_452_RX_A, B_451. The switchback takes place when data phase 452 is ended and therefore data_1 levels are no longer being driven onto bus 40.
(83) The automatic switchback to reception threshold T_a of slow operating mode B_451 ensures that an idle state 410 is reliably detected after data phase 452.
(84) After idle state 410 is detected, communication control device 11 is integrated into the bus communication, and switches transceiver device 12 from auto fast RX mode or operating mode B_452_RX_A into the slow operating mode or operating mode B_451.
(85) Switchback condition S4_3 represents a measure for enabling user station 10 to integrate into the bus communication. In operating mode B_452_RX_A, user station 10 by use of reception threshold T_c may avoid erroneously detecting idle state 410 when user station 10, for example after the switch-on, cannot yet know in which operating mode B_451, B_452_RX, B_452_TX the other transceiver devices 22, 32 in bus system 1 are operating.
(86) This prevents user station 10, which for the integration switches its transceiver device 12 into the slow mode or operating mode B_451, from ending the integration too early, since user station 10 cannot reliably detect the data 0 bits of an ongoing CAN XL frame 450. If user station 10 ends the integration too early, user station 10 may disrupt the communication.
(87) In addition, user station 10, which for the integration switches its transceiver device 12 into the fast mode or operating mode B_452_RX, is prevented from ending the integration too late or not at all when user station 10 cannot detect all recessive bits 401 of an idle CAN bus 40. If user station 10 never ends the integration, user station 10 cannot take part in the communication.
(88)
(89) In contrast to the preceding exemplary embodiment, operating mode adjustment device 15 replaces the slow mode or operating mode B_451 by the auto fast RX mode or operating mode B_452_RX_A, as illustrated in
(90) In this case, in the present exemplary embodiment a second predetermined time t_A_10 ((tAuto_Off) is specified in operating mode adjustment device 15, in particular its reception threshold switching block 152, in which the automatic switchover of reception thresholds T_d, T_c is switched off. The automatic switchover is then switched off, for example for time t_A_10 (tAuto_Off), after communication control device 11, more precisely its protocol controller, has adjusted the operating mode or after the TxD input of transceiver device 12 has been set to 0 by communication control device 11.
(91) In this way, a user station 10, 30 that cannot detect the length of a received CAN XL frame 450, for example due to an error in the header check sum (header CRC error), may wait for the re-integration pattern at the end of a CAN XL frame 450 without erroneously detecting idle state 410 beforehand.
(92) User stations 10, 30 may thus re-integrate after errors without using conventional CAN error frames (error flags) 47. This is very advantageous, since an ongoing communication is not thereby disturbed and interrupted. As a result, the net data rates in bus system 1 may be further increased.
(93) All of the above-described embodiments of devices 15, 35, of user stations 10, 20, 30, of bus system 1, and of the method carried out therein may be used alone or in any possible combination. In particular, all features of the above-described exemplary embodiments and/or modifications thereof may be arbitrarily combined. Additionally or alternatively, in particular the following modifications are possible.
(94) Although the present invention is described above with the example of the CAN bus system, the present invention may be employed for any communications network and/or communication method in which two different communication phases are used in which the bus states, which are generated for the different communication phases, differ. In particular, the present invention is usable for developments of other serial communications networks, such as Ethernet and/or 100Base-T1 Ethernet, field bus systems, etc.
(95) In particular, bus system 1 according to the exemplary embodiments may be a communications network in which data are serially transferrable at two different bit rates. It is advantageous, but not a mandatory requirement, that in bus system 1, exclusive, collision-free access of a user station 10, 20, 30 to a shared channel is ensured, at least for certain time periods.
(96) The number and arrangement of user stations 10, 20, 30 in bus system 1 of the exemplary embodiments is arbitrary. In particular, user station 20 in bus system 1 may be dispensed with. It is possible for one or more of user stations 10 or 30 to be present in bus system 1. It is possible for all user stations in bus system 1 to have the same design, i.e., for only user station 10 or only user station 30 to be present.
(97) The number of reception thresholds T_c which are to be switched on in addition to reception threshold T_d or T_a may also be increased even further than described above. The plausibility check of the detection of the present operating mode of the ongoing communication may thus be even further improved. However, the complexity of evaluating the thresholds increases with the number of reception thresholds T_c that are connected.
(98) All variants described above for detecting the operating mode may be subjected to temporal filtering to increase the robustness with regard to electromagnetic compatibility (EMC) and electrostatic discharge (ESD), pulses, and other disturbances.