WO2021028269A1 - Conflict detector for a subscriber station of a serial bus system and method for communication in a serial bus system - Google Patents

Conflict detector for a subscriber station of a serial bus system and method for communication in a serial bus system Download PDF

Info

Publication number
WO2021028269A1
WO2021028269A1 PCT/EP2020/071919 EP2020071919W WO2021028269A1 WO 2021028269 A1 WO2021028269 A1 WO 2021028269A1 EP 2020071919 W EP2020071919 W EP 2020071919W WO 2021028269 A1 WO2021028269 A1 WO 2021028269A1
Authority
WO
WIPO (PCT)
Prior art keywords
bus
signal
subscriber station
conflict
txd
Prior art date
Application number
PCT/EP2020/071919
Other languages
German (de)
French (fr)
Inventor
Florian Hartwich
Steffen Walker
Arthur Mutter
Darius Vafi
Original Assignee
Robert Bosch Gmbh
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Robert Bosch Gmbh filed Critical Robert Bosch Gmbh
Priority to CN202080070882.2A priority Critical patent/CN114503520B/en
Publication of WO2021028269A1 publication Critical patent/WO2021028269A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Definitions

  • the present invention relates to a conflict detector for a subscriber station of a serial bus system and a method for recognizing a bus conflict in a serial bus system that operates at a high data rate and with great error resistance.
  • a bus system is often used for communication between sensors and control units, for example in vehicles, in which data is transmitted as messages in the ISO11898-l: 2015 standard as a CAN protocol specification with CAN FD.
  • the messages are transmitted between the bus participants in the bus system, such as sensors, control units, transmitters, etc.
  • CAN FD successor system which is called CAN XL in the following.
  • CAN XL In the data phase of a CAN-XL frame, both bus states (0, 1) should be driven in order to achieve higher data rates.
  • a conflict detector for a subscriber station of a serial bus system and a method for detecting a bus conflict in a serial bus system which solve the problems mentioned above.
  • a conflict detector for a subscriber station of a serial bus system and a method for recognizing a bus conflict in a serial bus system are to be provided, in which a high data rate and a flexible reaction to current operating states as well as a high level of error robustness of the communication can be realized.
  • the object is achieved by a conflict detector for a subscriber station of a serial bus system with the features of claim 1.
  • the conflict detector has at least one counter for counting the occurrence of a property of pulses of a digital received signal that is generated by the subscriber station from a signal received serially from a bus of the bus system, the signal received by the bus being formed from a transmission signal received by a communication control device of the subscriber station has been sent serially to the bus for a frame, and wherein the subscriber station generates bus states for the frame with a first operating mode in a first communication phase and generates bus states for the frame with a second operating mode in a second communication phase that differ from the first operating mode, and a comparison block for comparing the measurement result of the at least one counter with at least one threshold value and for displaying with a conflict display signal for the communication control device if the comparison block determines during the comparison, that the subscriber station does not have any exclusive, collision-free access to the bus in the second communication phase.
  • the recognition or detection of the bus conflict with the conflict detector is very cost-effective because a lot of information is digitally available in the communication control device and a precise clock is available. Therefore, the bus conflict can be detected very precisely.
  • the detection is easy to implement, namely for example by means of one or more counters. This simplifies and reduces the cost of a transmitting / receiving device (transceiver) for CAN XL, which favors the use of CAN XL.
  • the conflict detector is integrated into a transmitting / receiving device of the subscriber station.
  • bus conflict detection can be used with currently available CAN transceivers.
  • each subscriber station in the bus system is therefore able to disrupt or interrupt the transmission of any other subscriber station with an error frame.
  • the error frames used implement simple error handling, which in turn increases the robustness of the CAN XL protocol.
  • time can be saved in the event of an error by canceling a message currently being sent and then transferring other information on the bus. This is particularly useful for frames that are longer than a CAN FD frame with 64 bytes in the data phase, especially for frames that are to contain 2-4 KB or more.
  • the conflict detector can be used to ensure reception of the frames with great flexibility with regard to current events in the operation of the bus system and with a low error rate, even if the amount of user data per frame increases.
  • the serial bus system can be communicated with great error resistance if there is a high data rate and an increase in the amount of user data per frame.
  • the size of the user data can be up to 4096 bytes per frame. Of course, any other values are possible for the number of bytes per frame, in particular 2048 bytes or some other value.
  • the method carried out by the conflict detector can also be used if the bus system also has at least one CAN FD-tolerant CAN subscriber station, which is designed in accordance with the ISO 11898-1: 2015 standard, and / or at least one CAN FD subscriber station that send messages according to the Classical CAN protocol and / or CAN FD protocol.
  • the conflict detector can also be used with CAN FD to replace or supplement the Transmitter Delay Compensation function used there.
  • the at least one counter can be designed to count the frequency of occurrence of a first level of the digital received signal over time.
  • the at least one counter can be designed to increment its count value when a first level of the digital received signal occurs and to decrement its count value when the second level of the digital received signal occurs.
  • the frequency of occurrence of a predetermined level can be adjusted with a predetermined timing to get voted.
  • the resulting count can also be referred to as the accumulated duration.
  • the property of pulses in the digital received signal is the pulse length of the pulse.
  • the at least one counter (150; 152) and / or the comparison block can be designed to use a status signal of the communication control device to determine the property of pulses of the digital received signal that sets the clock for sampling bits of the digital received signal and / or comprises the clock of the communication control device.
  • the comparison block can be designed to compare the pulse length of a pulse of the digital received signal with a pulse length of a pulse of the transmitted signal in order to determine whether the subscriber station does not have exclusive, collision-free access to the bus in the second communication phase.
  • the property of pulses in the digital received signal is the difference between the level of the pulse and the corresponding level of a pulse in the transmitted signal.
  • the conflict detector also has at least one additional counter for counting the occurrence of a property of pulses in the digital transmission signal, the comparison block being designed to compare a measurement result determined from the count of the at least one additional counter with at least one threshold value in order to to determine whether the subscriber station has no exclusive, collision-free access to the bus in the second communication phase.
  • the comparison block is designed according to an option to compare a count value of the at least one counter, which is provided for counting the occurrence of a property of pulses of the digital received signal, with a count value of the at least one additional counter, which is used to count the occurrence of a property of Pulsing of the digital transmission signal is provided in order to determine on the basis of a changing difference in the compared counted values whether the subscriber station does not have exclusive, collision-free access to the bus in the second communication phase.
  • the conflict detector can be configured to use a delayed transmission signal as the transmission signal, which is delayed by a transit time that the transmission signal needs to get from a TxD connection of the communication control device via the bus to an RxD connection of the communication control device .
  • the conflict detector also optionally has at least one counter for counting rising and / or falling edges of the pulses of the digital received signal or the transmitted signal.
  • the conflict detector described above can be part of a subscriber station for a serial bus system, which also has a communication control device for controlling communication of the subscriber station with at least one other subscriber station of the bus system, and a transmitting / receiving device for sending one of the
  • Communication control device for a frame generated signal on a bus of the bus system and for receiving a signal from the bus, wherein the transmitting / receiving device generates bus states for the frame with a first operating mode in a first communication phase and bus states for the frame with in a second communication phase a second operating mode, which differ from the first operating mode.
  • the bus states of the signal received from the bus in the first communication phase can be longer, in particular have a longer bit time, than the bus states of the signal received in the second communication phase. Additionally or alternatively, the bus states of the signal received from the bus in the first communication phase were generated with a different physical layer than the bus states of the signal received in the second communication phase.
  • the communication control device can be configured to output a switch-on signal to the conflict detector in order to switch the conflict detector on only for the second communication phase and to switch it off for the first communication phase, or to switch the conflict detector from one communication phase to another. It is possible that in the first communication phase it is negotiated which of the subscriber stations of the bus system is at least temporarily given exclusive, collision-free access to the bus in the subsequent second communication phase.
  • the subscriber station described above can be part of a bus system which also comprises a bus and at least two subscriber stations which are connected to one another via the bus in such a way that they can communicate with one another serially.
  • at least one of the at least two subscriber stations is a previously described subscriber station.
  • the aforementioned object is also achieved by a method for communication in a serial bus system according to claim 15.
  • the method is carried out with a conflict detector for a subscriber station of the serial bus system, the conflict detector carrying out the steps of counting, with at least one counter, the occurrence of a property of pulses of a digital received signal that is serialized by the subscriber station from a bus of the bus system received signal is generated, wherein the signal received by the bus was formed from a transmission signal that was sent serially to the bus by a communication control device of the subscriber station in a frame, and wherein the subscriber station in a first communication phase bus states for the frame with a first operating mode generated and, in a second communication phase, generated bus states for the frame with a second operating mode that differs from the first operating mode,
  • the method offers the same advantages as mentioned above with regard to the conflict detector and / or the subscriber station. Further possible implementations of the invention also include combinations, not explicitly mentioned, of features or embodiments described above or below with regard to the exemplary embodiments. The person skilled in the art will also add individual aspects as improvements or additions to the respective basic form of the invention.
  • FIG. 1 shows a simplified block diagram of a bus system according to a first exemplary embodiment
  • FIG. 2 shows a diagram to illustrate the structure of messages that can be sent by a transmitting / receiving device for a subscriber station of the bus system according to the first exemplary embodiment
  • FIG. 3 shows a simplified schematic block diagram of a subscriber station of the bus system according to the first exemplary embodiment
  • FIGS. 4 to 7 show a time profile of signals that occur in normal operation in the bus system according to the first exemplary embodiment
  • FIG. 8 shows a time profile of a transmission signal TxD1 in a data phase of a message which is sent by a first subscriber station of the bus system according to the first exemplary embodiment
  • FIG. 9 shows a time profile of a transmission signal TxD2 which is sent by another subscriber station in order to abort the transmission signal TxD1 from FIG. 8;
  • FIG. FIGS. 10 to 12 show a time profile of signals which arise on the basis of the transmit signals TxD1, TxD2 from FIGS. 8 and 9 in the bus system according to the first exemplary embodiment;
  • FIG. 13 shows a diagram to illustrate the function of a conflict detector of a subscriber station of the bus system according to the first exemplary embodiment
  • FIG. 14 shows a simplified schematic block diagram of a subscriber station of the bus system according to a second exemplary embodiment
  • FIG. 15 shows a simplified schematic block diagram of a subscriber station of the bus system according to a third exemplary embodiment
  • 16 shows an example of signal curves to illustrate the mode of operation of a conflict detector of the subscriber station of the bus system according to the third exemplary embodiment
  • FIG. 17 shows a simplified schematic block diagram of a subscriber station of the bus system according to a fourth exemplary embodiment.
  • FIG. 18 shows an example of signal profiles to illustrate the mode of operation of a conflict detector of the subscriber station of the bus system according to the fourth exemplary embodiment.
  • FIG. 1 shows a bus system 1 which, in particular, is fundamentally designed for a Classical CAN bus system, a CAN FD bus system, a CAN XL bus system and / or modifications thereof, as described below.
  • the bus system 1 can be used in a vehicle, in particular a motor vehicle, an airplane, etc., or in a hospital, etc. use.
  • the bus system 1 has a multiplicity of subscriber stations 10, 20, 30, each of which is connected to a bus 40 with a first bus core 41 and a second bus core 42.
  • the bus wires 41, 42 can also be called CAN_H and CAN_L or CAN-XL_H and CAN-XL_L and are used for electrical signal transmission after coupling in the difference level or dominant level or generating recessive levels for a signal in the transmission state.
  • Messages 45, 46 in the form of signals between the individual subscriber stations 10, 20, 30 can be transmitted serially via bus 40. If an error occurs in communication on bus 40, as shown by the jagged black block arrow in FIG. 1, an error frame 47 (error flag) can be sent.
  • the subscriber stations 10, 20, 30 are, for example, control devices, sensors, display devices, etc. of a motor vehicle.
  • the subscriber station 10 has a
  • Communication control device 11 a transmitting / receiving device 12 and a conflict detector 15.
  • the subscriber station 20, has a communication control device 21, a transmitting / receiving device 22 and optionally a conflict detector 25.
  • Subscriber station 30 has a communication control device 31, a transmitting / receiving device 32 and a conflict detector 35.
  • the transmitting / receiving devices 12, 22, 32 of the subscriber stations 10, 20, 30 are each connected directly to the bus 40, even if this is not illustrated in FIG.
  • the communication control devices 11, 21, 31 each serve to control communication between the respective subscriber station 10, 20, 30 via the bus 40 with at least one other subscriber station of the subscriber stations 10, 20, 30 that are connected to the bus 40.
  • the communication control device 11 creates and reads first messages 45, which are modified CAN messages 45, for example.
  • the modified CAN messages 45 are structured on the basis of a CAN XL format, which is described in more detail with reference to FIG. 2.
  • the communication control device 21 can be designed like a conventional CAN controller according to ISO 11898-1: 2015 apart from the differences described in more detail below.
  • the communication control device 21 creates and reads second messages 46, for example Classical CAN messages 46.
  • the Classical CAN messages 46 are structured in accordance with the Classical basic format, in which the message 46 can contain up to 8 data bytes.
  • the CAN message 46 is structured as a CAN FD message, in which a number of up to 64 data bytes can be included, which are also transmitted at a significantly faster data rate than in the case of the Classical CAN message 46.
  • the communication control device 21 is designed like a conventional CAN FD controller.
  • the communication control device 31 can be designed to provide a CAN XL message 45 or a Classical CAN message 46 for the transmitting / receiving device 32 or to receive it from it, as required.
  • the communication control device 31 thus creates and reads a first message 45 or second message 46, the first and second messages 45, 46 differing in their data transmission standard, namely in this case CAN XL or CAN.
  • the Classical CAN message 46 is structured as a CAN FD message. In the latter case, the communication control device 31 is designed like a conventional CAN FD controller.
  • the transmitting / receiving device 12 can be designed as a CAN XL transceiver.
  • the transmitting / receiving device 22 can be designed like a conventional CAN transceiver or CAN FD transceiver.
  • the transmitting / receiving device 32 can be designed to provide messages 45 according to the CAN XL format or messages 46 according to the current CAN basic format for the communication control device 31 or to receive them from it, as required.
  • the transmitting / receiving devices 12, 32 can additionally or alternatively be designed like a conventional CAN FD transceiver. With the two subscriber stations 10, 30, the formation and then transmission of messages 45 with the CAN XL format and the receipt of such messages 45 can be implemented.
  • FIG. 2 shows a CAN XL frame 450 for the message 45, as it is sent by the transmitting / receiving device 12 or the transmitting / receiving device 32.
  • the CAN XL frame 450 is divided into different communication phases 451 to 453 for the CAN communication on the bus 40, namely an arbitration phase 451, a data phase 452 and a frame end phase 453.
  • an identifier is used to negotiate bit by bit between the subscriber stations 10, 20, 30 which subscriber station 10, 20, 30 would like to send the message 45, 46 with the highest priority and therefore for the next time to send in the subsequent data phase 452 gets exclusive access to bus 40 of bus system 1.
  • the useful data can have, for example, up to 4096 bytes or a larger value in accordance with the value range of a data length code.
  • the frame end phase 453 can contain a reintegration pattern that enables the receiving subscriber stations to find the start of the frame end phase 453 after an error.
  • at least one acknowledge bit can be contained in an end field in the frame end phase 453.
  • the at least one acknowledge bit can be used to indicate whether a recipient has discovered an error in the received CAN XL frame 450 or message 45 or not.
  • a physical layer is used as in Classical CAN and CAN-FD.
  • the physical layer corresponds to the physical layer or layer 1 of the known OSI model (Open Systems Interconnection Model).
  • phase 451, 453 the known CSMA / CR method is used, which allows subscriber stations 10, 20, 30 to access bus 40 at the same time without the higher-priority message 45, 46 being destroyed. As a result, further bus subscriber stations 10, 20, 30 can be added to bus system 1 relatively easily, which is very advantageous.
  • a sender of the message 45 does not begin sending bits of the data phase 452 on the bus 40 until the subscriber station 10 as the sender has won the arbitration and the subscriber station 10 as the sender thus has exclusive access to the bus 40 of the bus system 1 for sending .
  • the following different properties can be implemented in the bus system with CAN XL compared to Classical CAN or CAN FD: a) Adoption and, if necessary, adaptation of proven properties that are responsible for the robustness and user-friendliness of Classical CAN and CAN FD, in particular the frame structure with identifier and arbitration according to the CSMA / CR method, b) increase the net data transmission rate to about 10 megabits per second, c) increase the size of the useful data per frame to any length, for example up to about 4 kbytes.
  • FIG. 3 shows the basic structure of the subscriber station 10 with the communication control device 11, the transmitting / receiving device 12 and the conflict detector 15.
  • the subscriber station 30 is similar constructed as shown in FIG. 3, except that the conflict detector 35 is not integrated in the communication control device 31, but is provided separately from the communication control device 31 and the transceiver 32.
  • the optionally present conflict detector 25 is integrated into the transmitting / receiving device 22.
  • the subscriber stations 20, 30 and the devices 25, 35 are therefore not described separately.
  • the functions of the conflict detector 15 described below are identical in each of the conflict detectors 25, 35.
  • the subscriber station 10 has, in addition to the conflict detector 15 in the communication control device 11, a send / receive block 111.
  • the send / receive block 111 is a protocol controller that sends the send signal TxD according to the protocol for a frame 450, for example for a message 45 or for a frame for a message 46 and forwards the transmission signal TxD to the transmitting / receiving device 12 and taking it over from the transmitting / receiving device 12 to receive a received signal RxD.
  • the transmitting / receiving device 12 is connected to the bus 40, more precisely its first bus core 41 for CAN_H or CAN-XL_H and its second bus core 42 for CAN_L or CAN-XL_L.
  • the transmission signal TxD is converted by the transmitting / receiving device 12 into signals CAN-XL_H, CAN-XL_L for the bus 40, as described above.
  • the RxD signal is generated as also previously described.
  • the conflict detector 15 has a first counter 151, a second counter 152, a comparison block 153 and an optional compensation block 154.
  • the conflict detector 15 detects the signals RxD and TxD in order to detect a conflict on the bus 40.
  • the conflict detector 15 supplies a conflict indication signal S_K in order to signal whether or not there is a conflict on the bus 40. If the conflict indication signal S_K has the value 1, for example, if a conflict was detected, the send / receive block 111 will then send an error frame 47 to the bus 40 instead of continuing with the frame 450 sent up to then.
  • the send / receive block 111 optionally sends an enable signal or a switch-on signal S_E to the conflict detector 15 if the conflict detector 15 is only to work during a valid sending process.
  • the send / receive block 111 can optionally send a status signal S_l to the conflict detector 15.
  • the status signal S_l contains that information which the send / receive block 111 provides to the conflict detector 15, for example a transit time TLD for the compensation block 154, which is described in more detail with reference to FIG.
  • the conflict detector 15 of FIG. 3 works with the CAN clock, which corresponds to the clock of the communication control device 11, in particular the CAN XL protocol controller. Due to its relatively high frequency, the CAN clock enables precise detection of deviations in the signals RxD, TxD. Additionally or alternatively, a time quantum clock can be used which is used by the send / receive block 111. The time quantum cycle is a divided CAN cycle. A user can set the division ratio with the so-called bit rate prescaler parameter in the CAN XL controller.
  • conflict detector 15 The more precise function of the conflict detector 15 is described in more detail below after explaining the signals in the bus system 1 according to FIGS. 4 to 12.
  • the transmitting / receiving device 12 sets a transmit signal TXD or TxD of the communication control device 11 according to FIG. 4 into corresponding signals CAN-XL_H and CAN-XL_L for the bus wires 41, 42 and sends these signals CAN-XL_H and CAN-XL_L to the connections for CAN_H and CAN_L on the bus 40, as shown in FIG.
  • a differential voltage VDIFF CAN-XL_H - CAN-XL_L is formed on bus 40 over time t, the course of which is shown in FIG.
  • the transmitting / receiving device 12 With the exception of an idle or standby state (idle or standby), the transmitting / receiving device 12 always listens to one in normal operation 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.
  • the transmitting / receiving device 12 forms a received signal RXD or RxD from signals CAN-XL_H and CAN-XL_L received from bus 40 with reception thresholds T_u, T_d according to FIG. 6, as shown in FIG. 7 over time t.
  • reception threshold T_u For the phases 451, 453, at least one reception threshold T_u is used, which is in the hatched area in the left part of FIG. 6. As shown in FIG.
  • the transceiver 12 uses the first reception threshold T_u known from Classical CAN / CAN-FD with the typical position of 0.7 V according to ISO11898-2: 2016 to be able to reliably recognize the bus states 401, 402 in the first operating mode.
  • a switch is made to at least one reception threshold T_d, which is located in the hatched area in the right-hand part of FIG.
  • the transmitting / receiving device 12 forwards the received signal RXD or RxD to the communication control device 11, as shown in FIG. 3.
  • the signals CAN-XL_H and CAN-XL_L have the dominant and recessive bus levels 401, 402 in the aforementioned communication phases 451, 453 corresponding to the states H, L of the transmission signal TxD from FIG. 4 as known from CAN.
  • the signals CAN-XL_H and CAN-XL_L differ in the data phase 452 from the conventional signals CAN_H and CAN_L.
  • the bus levels U_D1, U_D0 are now actively driven in accordance with the data states H, L of the transmission signal TXD.
  • the difference signal VDIFF CAN-XL_H - CAN-XL_L is formed on bus 40, as shown in FIG. 6.
  • a switch is made from a first bit time T_btl in phases 451, 453 to a second bit time T_bt2 in phase 452.
  • the first bit time T_btl is greater than the second bit time T_bt2, even if this is not shown in FIGS. 4 to 7 for the sake of simplicity.
  • the bits of the signals are therefore transmitted more slowly in phases 451, 453 than in data phase 452.
  • the second bit time T bt2 has the value 100 ns.
  • the bit duration T_bt2 in the data phase 452 in the example shown in FIGS. 4 and 5 is significantly shorter than the bit duration T_btl that is used in the arbitration phase 451 and the frame end phase 453.
  • the transceiver 12 is switched from the state that is shown in the left part of FIG. 4 for the data phase 452 to the state that is shown in the right part of FIG.
  • the transmitting / receiving device 12 is thus switched from a first operating mode to a second operating mode.
  • the sequence of the data states H, L from FIG. 4 and thus the resulting bus states U_D0, U_D1 for the signals CAN-XL_H, CAN-XL_L in FIG. 5 and the resulting profile of the voltage VDIFF from FIG. 6 are only used for illustration the function of the transmitting / receiving device 12.
  • the sequence of the data states H, L from FIG. 4 and thus the resulting bus states U_D0, U_D1 in FIG. 5 can be selected as required.
  • the transmitting / receiving device 12 sends the transmission signal TxD1 for a frame 450, whereby, for example, the subscriber station 30, which is actually only the recipient of the frame 450 in the data phase 452, is aborted of the frame 450 wants to reach and therefore sends the transmit signal TxD2.
  • the subscriber station 30 as an RX subscriber station has to send a message 45, 46 with a higher priority, and / or
  • the subscriber station 30 would like to abort the frame 450 which the transmitting / receiving device 12 sends with the signal TxDl of FIG. 8, the subscriber station 30 sends the transmit signal TxD2 according to FIG. 9 to the bus 40.
  • phase 455 of the Sending the error frame 47 which begins with the falling edge of the transmission signal TxD2 at a point in time t2, therefore results in voltage states on the bus 40 according to FIGS. 10 and 11 which deviate from the voltage states on the bus 40 during normal operation of the data phase 452 .
  • the sending subscriber station that sends the send signal TxD1 switches to a send operating mode in the data phase 452 for driving the bus lines 41, 42.
  • the at least one reception threshold Td shown in FIG. 11 is switched on for all receiving subscriber stations, such as subscriber station 30.
  • the bus driver of the receiving subscriber station 30 remains in the passive receiving state (CAN recessive state) until the receiving subscriber station 30 possibly sends the error frame 47, as shown in FIG. 9 for the transmit signal TxD2 and mentioned above.
  • the error frame 47 according to the right-hand part of FIG. 7 will then be actively sent as "dominant".
  • an error frame 47 is represented by the stringing together of 6 or more (depending on the bit stuffing method) bits with positive VDIFF, as was the case with CAN / CAN-FD.
  • the conflict detector 15 in the subscriber station 10 has the counters 151, 152 and the comparison block 153 for the detection of a transmission conflict which causes the bus conflict according to FIG. 11.
  • the subscriber station 10 does not have an exclusive one in the data phase 452 , more collision-free access to bus 40.
  • the conflict detector 15 detects the signals RxD and TxD using the two counters 151, 152.
  • the counter 151 is used to evaluate the transmission signal TxD, the counter 151 its count value Ztx changed.
  • the counter 152 is used to evaluate the received signal RxD, the counter 152 changing its count value Zrx.
  • the counters 151, 152 each count not only the number of levels in the signals TxD, RxD under consideration. Instead, the counters 151, 152 each also count the accumulated duration of the occurrence over the time t with a clock, in particular the CAN clock.
  • the CAN clock is present in the communication control device 11 and is forwarded to the conflict detector 15 with the status signal S_l.
  • the send / receive block 111 sets the enable signal or switch-on signal S_E to 1 at the beginning of the data phase 452, that is to say at time t 1, in order to start the conflict detection with the conflict detector 15. Since the delayed TxDl signal TxDl_d is used in this exemplary embodiment, the enable signal S_E is also set to 1, delayed by the duration or transit time TLD, as illustrated in FIG. With the edge of the switch-on signal S_E, the count values Ztx, Zrx of the counters 151, 152 are reset to zero.
  • the conflict detector 15 compares the signals RxD, TxD with one another in order to detect a bus conflict. To do this, it continuously determines the duration of the occurrence of one of the bus levels (0 or 1) in the data phase 452 of a frame 450 on the RxD and on the TxD signal.
  • the counter Zrx is incremented by 40 during this time.
  • the duration of the occurrence of one of the bus levels (0 or 1) determined by the conflict detector 15 is thus the frequency of occurrence of a predetermined level.
  • the duration is thus counted with a predetermined cycle, in particular the CAN cycle, which is the cycle of the communication control device 11 is.
  • the count value Ztx, Zrx resulting from the count can also be referred to as the accumulated duration, as described above.
  • the bus conflict can be derived from the comparison of the measurements of the counters 151, 152 for the signals TxD and RxD with the comparison block 153.
  • the conflict detector 15 takes into account that the TxD signal is ideal, but the RxD signal is not ideal even in a conflict-free case, that is to say it is different from the TxD signal.
  • the comparison block 153 To detect a conflict, the comparison block 153 must regularly form and evaluate the difference D between the count values Ztx, Zrx of the counters 151, 152. Regularly means, for example, 1 time per bit time T_bt2 or 1 time per 5 bit times T_bt2. In simplified terms, if the difference D increases (or decreases) sharply, then there is a bus conflict.
  • the change between the currently formed difference D and the last difference D formed is referred to as DeltaD.
  • DeltaD can be measured during normal operation, especially in the first successfully transmitted frame.
  • the RxDl signal will be slightly asymmetrical in normal operation (without bus conflict), i.e. the 1 bits are slightly longer than the 0 bits, or vice versa. This has the consequence that the two counters Ztx and Zrx slowly diverge.
  • the RxDl signal is delayed due to the transit time TLD via the bus 40, more precisely from the TxD connection of the sending subscriber station to the RxD connection of the same sending subscriber station, by the transit time TLD compared to the TxD signal.
  • Each bit has the bit time T_bt2. In the time period T_K the conflict arises or exists on the bus 40, since the threshold Ts shown schematically is exceeded.
  • the conflict detector 15 compensates for the transit time TLD from the TxD signal via the transceiver to the RxD signal with the compensation block 154.
  • the compensation block 154 uses a clock, in particular the CAN clock and / or the clock for sampling bits of the digital received signal and / or another clock that can be provided by the communication control device 11 via the status signal S_l.
  • the TLD runtime can also be referred to as Transmitter Loop Delay (TLD). If the runtime TLD is not taken into account and compensated, the difference between the two counters Ztx and Zrx must be evaluated more tolerantly.
  • the threshold Ts for detection of a bus conflict must be greater than the value of the difference D by which one of the counters 151, 152 can change during the time TLD.
  • the send / receive block 111 measures the transit time TLD. This can be done, for example, on the first rising or falling edge in the Data phase 452 occur.
  • the TLD runtime is measured in the same way as it is necessary for the TDC function with CAN FD.
  • the send / receive block 111 provides the conflict detector 15 with the measured transit time TLD as information about the status signal S_l.
  • the conflict detector 15 with the compensation block 154 can delay the TxD signal sent by the send / receive block 111 instead of processing the TxD signal directly.
  • the conflict detector 15 thus considers the signal TxD_d, as shown in the upper part of FIG.
  • the switch-on signal S_E is generated after the start of the data phase 452 delayed by the runtime TLD.
  • the RxD signal is thus analyzed by the conflict detector 15 only from the point in time from which the RxD signal is valid.
  • FIG. 13 shows the received signal RxDl, which is generated by the subscriber station 10 in the aforementioned example, in which the subscriber station 10 sends the transmit signal TxD1 and the subscriber station 30 would like to abort the transmit signal TxD1 with a transmit signal TxD2.
  • the compensation block 154 can be designed as a shift register. Alternatively, and in a much more resource-saving manner, the compensation block 154 can be configured as a state machine. This is possible because the subscriber station acting as the transmitter knows how many CAN clock periods or time quanta (TimeQuanta) a transmitted bit consists of.
  • the communication control device 11 reacts in the data phase 452 to the signaled transmission conflict or bus conflict by aborting the data phase 452 and, if necessary, also by sending a bit pattern, for example an error frame 47, which signals the end of the data phase 452 to the other subscriber stations 20, 30.
  • the communication control device 11 switches back to the arbitration phase 451.
  • the conflict can be signaled in the data phase 452 by a signal from the respective transceiver 22, 32 to the associated
  • the signal can do that The reception signal RXD, which the corresponding transceiver 22 or the conflict detector 35 modifies with a predetermined bit pattern in order to signal the conflict.
  • the corresponding transmitting / receiving device 22, 32 or the conflict detector 25, 35 can generate a separate signal that is sent via a separate signal line to the associated communication control device 21, 31 and in particular at least one switching pulse or a predetermined bit pattern for signaling the Has conflict.
  • the bit error check conventional in classic CAN can be replaced by comparing the send signal TXD with the receive signal RXD by checking the conflict indication signal S_K.
  • the conflict indication signal S_K has, in particular, a predetermined bit pattern which signals or indicates the transmission conflict or bus conflict.
  • the conflict indication signal S_K can send a T as an "OK signal” and an 'O' as a "conflict message".
  • edges of at least one of the signals TxD, RxD can also be recognized and counted. There can be at least one additional counter for this. If more than one edge is counted per bit, this indicates an error.
  • the counters 151, 152 could count both bus levels instead of just counting one bus level.
  • the counter 151 could increment the count value Ztx at level 1 and decrement the count value Ztx at level 0.
  • the design of the transmitting / receiving device 12 is used both for homogeneous CAN-XL bus systems in which only CAN XL messages 45 and no CAN FD messages 46 are sent, and for mixed bus systems can be used in which either CAN XL messages 45 or CAN FD messages 46 are sent.
  • the transmitting / receiving device 12 can therefore be used universally.
  • the conflict detector 15A and the communication control device 11 according to the present exemplary embodiment are designed like the conflict detector 15 and the communication control device 11 according to the preceding exemplary embodiment, apart from the differences described below.
  • the conflict detector 15A performs an accumulated bit asymmetry measurement.
  • the conflict detector 15A has only one counter 150 which measures or counts the difference between the RxD signal and the TxD signal.
  • the counter 150 is incremented when the signal RxD and the TxD signal delayed by the transit time TLD are different.
  • the counter 150 of the detector 15A thus counts the difference, that is to say the bit asymmetry, between RxD and TxD.
  • the compensation block 154 takes over the delay of the TxD signal. This variant is similar to the variant carried out by the conflict detector 15 according to the preceding exemplary embodiment.
  • the counter 150 is reset to zero with the edge of the switch-on signal S_E and then uses the CAN clock and / or time quantum clock to count the differences between the RxD signal and the TxD signal delayed by the time TLD .
  • a count value Zasym of the counter 150 is evaluated at regular intervals, for example once per bit time, as described with reference to the preceding exemplary embodiment. If the change in the If the counter value Zasym exceeds a threshold value as the measurement result, then there is a large asymmetry and a bus conflict is recognized.
  • the conflict detector 15A signals the bus conflict with the signal S_K.
  • the count value Zasym can be reset with the frequency of the evaluation. If the count value Zasym is evaluated, for example, once per bit time T_bt2, the counter 150 can also be reset during the evaluation. This has the advantage that the change in the count value Zasym corresponds exactly to the value of the count value Zasym, because the count always starts again at 0. The disadvantage of such a reset is that the history is lost.
  • the conflict detector 15 illustrates a configuration of a conflict detector 15B according to a third embodiment.
  • the conflict detector 15B and the communication control device 11 according to the present exemplary embodiment are configured like the conflict detector 15 and FIG. 4, except for the differences described below
  • the conflict detector 15B measures pulse lengths in the RxD signal.
  • the conflict detector 15B has the counter 152 with which the conflict detector 15B continuously measures the pulse lengths in the RxD signal.
  • a conflict can be derived using a comparison block 153B from the comparison of the pulse lengths as the measurement result with threshold values Ts.
  • the 16 shows examples of different pulse lengths TI, T2, T3 in the RxDl signal of the subscriber station 10, which is shown in comparison to the delayed transmission signal TxDl_d over time t.
  • the pulse lengths TI, T2, T3 depend on the transmitted bit pattern in the transmission signal TxDl.
  • the conflict detector 15B assumes that in the event of a bus conflict, the bit asymmetry in the RxD1 signal increases sharply. The conflict detector 15B thus detects a bus conflict when the 1-pulse or 1-phase is significantly shortened in the RxDl signal. This is the case, for example, for the pulse lengths TI, T3 of the 1-pulse of the RxD1 signal from FIG.
  • the counter 152 counts the 1-pulses and 0-pulses of the RxDl signal.
  • a pulse corresponds to a constant signal value that is limited by 2 edges.
  • the RxDl signal has two 1-pulses, which have the different pulse lengths TI, T3, and a 0_pulse with the pulse length T2.
  • the conflict detector 15B receives the sampling point clock with which the individual bits of the RxD1 signal are sampled by the send / receive block 111 via the status signal S_l.
  • the conflict detector 15B in particular its comparison block 153B, is thus provided with the information about the number of bits scanned. As a result, the conflict detector 15B, in particular its comparison block 153B, knows how many bits the current pulse corresponds to, the pulse length of which TI, T2, T3 was measured by the counter 152.
  • the comparison block 153B compares the respectively measured pulse length TI, T2, T3 with at least one threshold value Ts.
  • the at least one threshold value Ts of FIG. 16 indicates how short a pulse may be from which a conflict is recognized. For example, half a bit time T_b2 is a possible value. Alternatively or additionally, a threshold value Ts that is longer than a bit time T_b2 can be used. In such a case, the threshold value Ts indicates how long a pulse may be after which a conflict is recognized.
  • an extension of the pulse lengths of the pulses in the RxDl signal is sought instead of a shortening of the pulse lengths of the pulses in the RxDl signal.
  • a threshold value Ts can be specified for each bit sequence with a constant value. If every S-th bit is a fixed stuff bit, then there are 2 * S bit sequences: 0, 00, 000, ..., S times 0; 1, 11, 111, ..., S times 1. That means 2 * S threshold values are required.
  • the threshold value Ts can be specified as the permitted shortening or lengthening of a pulse.
  • the permitted shortening or lengthening is half a bit time T_b2.
  • the threshold value Ts at the pulse length T3, which corresponds to two bits in the example of FIG. 16, is 1.5 bit times. Since the length of a bit time T_b2 is available as information in CAN clock periods, the threshold value Ts can be determined very easily dynamically for each bit sequence. This has the great advantage that only one threshold value Ts has to be set.
  • a simplified evaluation with the comparison block 153B consists in looking for pulses that are too short.
  • the comparison block 153B is set in such a way that a pulse is evaluated as a pulse that is too short if a pulse is shorter than half a bit time T_b2, for example.
  • This variant is very simple because only one comparison value or threshold value Ts is necessary. In the case of unfavorable bit sequences, however, it could be that this pulse length is not undershot despite the bus conflict.
  • the at least one threshold value Ts can be established in various ways.
  • the threshold value Ts can be configured in a fixed manner.
  • the threshold value Ts can be measured during normal operation, for example in the first successfully transmitted frame 450 or continuously with each successfully transmitted frame 450, or it can be a combination thereof.
  • the advantage of the function of the conflict detector 15B is that the variant is very easy to implement, since only the RxD signal is analyzed.
  • the method carried out by the conflict detector 15B is able to evaluate / analyze any arbitrary bit sequence that is received at the RxD connection of the communication control device 11.
  • the conflict detector 15B determines impermissibly long pulse lengths in the RxD signal in order to detect missing fixed stuff bits.
  • the communication control device 11 uses fixed stuff bits or other fixed, recurring bit patterns for the synchronization in the data phase 452.
  • the conflict detector 15B more precisely its comparison block 153, evaluates an impermissibly long pulse length as a bus conflict or another error. For example, if every S-th bit is a fixed stuff bit, then the maximum is allowed Pulse length TI, T2, T3 with a constant level has a value of S bits. The bit following this bit sequence is a fixed stuff bit with the inverse value of the S-th bit.
  • the counter 152 is thus also used in the modification of the conflict detector 15B in order to measure the pulse lengths between two edges. If a pulse length of, for example, S + 1 ideal bit lengths or bit times T_b2 or S + 0.8 ideal bit lengths or bit times T_b2 is measured, a fixed stuff bit is missing. In this case, the conflict detector 15B, more precisely its comparison block 153B, decides that there is a bus conflict. The conflict detector 15B, more precisely its comparison block 153B, reports the bus conflict to the communication control device 11 via the conflict indication signal S_K.
  • the advantage of the described first modification of the conflict detector 15B is that the parameter S is a CAN XL property. Therefore, no configuration is required for the modified conflict detector 15B to function. However, according to the first modification, the conflict detector 15B only detects missing bits in the data stream of the RXD signal. The modified conflict detector 15B cannot detect slight changes in the bit asymmetry.
  • the conflict detector 15B compares the pulse lengths of a 1 pulse and a 0 pulse in the RxD signal in order to carry out a bit asymmetry measurement between two rising or two falling edges on the RxD signal.
  • the bit asymmetry between two rising edges can be measured.
  • the first 1-phase or the first 1-pulse has a pulse length TI and the first 0-phase or the first 0-pulse has a pulse length T2.
  • an O phase or a 1 phase can be between 1 and S bits long.
  • S * S bit sequences made up of possible 0-phases and 1-phases.
  • the conflict detector 15B more precisely its comparison block 153B, in the present second modification thus determines the asymmetry, for example, from the duration or pulse length TI of the 1-phase and the duration or pulse length T2 of the 0-phase and the number of bits per phase. If the bit asymmetry exceeds a threshold value, the conflict detector 15B, more precisely its comparison block 153B, detects a bus conflict. The conflict detector 15B, more precisely its comparison block 153B, reports the bus conflict to the communication control device 11 via the conflict indication signal S_K.
  • the advantage of the second modification of the conflict detector 15B is, as before, that this variant has a low complexity, since the conflict detector 15B only measures the RxD signal.
  • FIG. 17 illustrates a configuration of a conflict detector 15C according to a fourth embodiment.
  • the conflict detector 15C and the communication control device 11 according to the present exemplary embodiment are designed like the conflict detector 15 and FIG. 4, except for the differences described below
  • the conflict detector 15C measures pulse lengths with constant bit-value phases in the TxD signal and RxD signal.
  • the delayed signal TxD_d can optionally be used, as shown by the block 154 shown in dashed lines. Then the comparison of associated pulse lengths takes place.
  • the pulse lengths in the TxD signal are identical to the pulse lengths in the RxD signal.
  • the conflict detector 15B has the first counter 151 with which the conflict detector 15C continuously measures the pulse lengths in the TxD signal.
  • the conflict detector 15C has the second counter 152 with which the conflict detector 15C continuously measures the pulse lengths in the RxD signal.
  • the comparison of the pulse lengths with threshold values Ts can be used to derive a conflict with the comparison block 153C.
  • FIG. 18 shows examples for different pulse lengths T4, T5, T6 in the delayed transmission signal TxDl_d over the time t.
  • the pulse lengths TI, T2, T3, T4, T5, T6 depend on the transmitted bit pattern in the transmission signal TxD1.
  • the conflict detector 15C thus measures with its counters 151, 152 the 0 phases and 1 phases that occur between two edges of the respective signals TxDl_d, RxDl.
  • the counter 151 can measure the 0-phases and 1-phases that occur between two edges of the signal TxDl.
  • the comparison block 153C compares the measured first 1-phase in the RxD signal, that is to say the pulse length TI in the example of FIG. 18, with the first 1-phase in the TxD signal, that is to say the pulse length T4 in the example of FIG. 18.
  • the O phase is compared.
  • Asym T5-T2.
  • the comparison result determined by the comparison block 153C corresponds to the amount of the bit asymmetry asymmetry. If the bit asymmetry Asym exceeds a certain threshold value, there is a bus conflict.
  • the comparison block 153C thus additionally carries out a comparison with a threshold value.
  • the conflict detector 15C more precisely its comparison block 153C, reports the bus conflict to the communication control device 11 via the conflict indication signal S_K.
  • the advantage of the previously described function of the conflict detector 15C is that the conflict detector 15C does not require any information about the number of bits in a phase, in particular the data phase 452.
  • the conflict detector 15C only needs to count and then compare.
  • the conflict detector 15C is implicitly able to also add additional edge changes which are only expected in the event of a bus conflict. Additional edges in the RxD signal generated by the bus conflict would result in the evaluation logic of the comparison block 153C getting mixed up and very large bit asymmetries being determined. If such very large bit asymmetries are determined, the threshold is safely exceeded and the bus conflict is thus detected.
  • any number of counters 150, 151 can be used for measuring the pulse lengths of the analyzed transmission signal TxD, TxDl, TxD_d in all the exemplary embodiments described above.
  • any number of counters 150, 152 can be used for measuring the pulse lengths of the analyzed received signal RxD, RxD1 in all the exemplary embodiments described above.
  • the invention can be used in any communication network and / or communication method in which two different communication phases are used, in which the bus states that are generated for the different communication phases differ.
  • the invention can be used in the development of other serial communication networks, such as in particular Ethernet, field bus systems, etc.
  • the bus system 1 can be a communication network in which data can be transmitted serially at two different bit rates. It is advantageous, but not a mandatory requirement, that in the bus system 1 at least for specific time periods an exclusive, collision-free access of a subscriber station 10, 20, 30 to a common channel is guaranteed.
  • the number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • the number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
  • Subscriber station 20 in bus system 1 is omitted. It is possible for one or more of the subscriber stations 10 or 30 to be present in the bus system 1. It is conceivable that all subscriber stations in the bus system 1 are configured identically, that is to say only subscriber station 10 or only subscriber station 30 are present.

Abstract

The invention relates to a conflict detector (15; 15A; 15B; 15C; 25; 35) for a serial bus system (1) and a method for detecting a bus conflict in a serial bus system (1). The conflict detector (15; 15A; 15B; 15C; 25; 35) has at least one counter (150; 152) for counting the occurrence of a property of pulses of a digital received signal (RxD; RxD1), which is generated by the subscriber station (10; 20; 30) from a signal (VDIFF) which is serially received from a bus (40) of the bus system (1), wherein the signal (VDIFF) received from the bus (40) was formed from a transmission signal (TxD; TxDI; TxD2) that was sent serially to the bus (40) from a communication control device (11) of the subscriber station (10; 20; 30) for a frame (450), and wherein, in a first communication phase (451; 453, 451), the subscriber station (10; 20; 30) generates bus states (401; 402) for the frame (450) by means of a first operating mode and, in a second communication phase (452), generates bus states (401; 402; U_D0; U_D1) for the frame (450) by means of a second operating mode, which differs from the first operating mode, and a comparison block (153; 153A; 153B; 153C), which is designed to compare a measurement result determined from a counted measurand (Zasym; Zrx) of the at least one counter (150; 152) to at least one threshold value (Ts) and, by means of a conflict indicator signal (S_K), to indicate for the communication control device (11) when the comparison block (153; 153A; 153B; 153C) determines in the comparison that the subscriber station (10; 20; 30) has no exclusive, collision-free access to the bus (40) in the second communication phase (452).

Description

Beschreibung description
Konfliktdetektor für eine Teilnehmerstation eines seriellen Bussystems undConflict detector for a subscriber station of a serial bus system and
Verfahren zur Kommunikation in einem seriellen Bussystem Method for communication in a serial bus system
Technisches Gebiet Technical area
Die vorliegende Erfindung betrifft einen Konfliktdetektor für eine Teilnehmerstation eines seriellen Bussystems und ein Verfahren zur Erkennung eines Buskonflikts in einem seriellen Bussystem, das mit hoher Datenrate und großer Fehlerrobustheit arbeitet. The present invention relates to a conflict detector for a subscriber station of a serial bus system and a method for recognizing a bus conflict in a serial bus system that operates at a high data rate and with great error resistance.
Stand der Technik State of the art
Für die Kommunikation zwischen Sensoren und Steuergeräten, beispielsweise in Fahrzeugen, wird häufig ein Bussystem eingesetzt, in welchem Daten als Nachrichten im Standard ISO11898-l:2015 als CAN Protokoll-Spezifikation mit CAN FD übertragen werden. Die Nachrichten werden zwischen den Busteilnehmern des Bussystems, wie Sensor, Steuergerät, Geber, usw., übertragen. A bus system is often used for communication between sensors and control units, for example in vehicles, in which data is transmitted as messages in the ISO11898-l: 2015 standard as a CAN protocol specification with CAN FD. The messages are transmitted between the bus participants in the bus system, such as sensors, control units, transmitters, etc.
Um zunehmenden Datenverkehr im Bussystem und/oder eine höhere Datenübertragungsgeschwindigkeit realisieren zu können als bei Classical CAN, wurde im CAN FD Nachrichten- Format eine Option zur Umschaltung auf eine höhere Bitrate innerhalb einer Nachricht geschaffen. Bei solchen Techniken wird die maximal mögliche Datenrate durch Einsatz einer höheren Taktung im Bereich der Datenfelder über einen Wert von 1 MBit/s hinaus gesteigert. Solche Nachrichten werden nachfolgend auch als CAN FD-Rahmen oder CAN FD- Nachrichten bezeichnet. Bei CAN FD ist die maximale Nutzdatenlänge von 8 Bytes bei Classical CAN auf bis zu 64 Bytes erweitert und die Datenübertragungsraten sind deutlich höher als bei Classical CAN. Im Automobilbereich übliche Bussysteme verwenden eine differentielle Zweidraht-Busleitung, die zwischen zwei logischen Bitpegeln unterscheidet. Bei Classical CAN (ISO 11898-2) oder CAN FD und LIN (ISOJ.7987-4) wird nur jeweils einer der beiden logischen Bus-Pegel getrieben, der andere wird über einen Abschlusswiderstand der Busleitung eingestellt. Dadurch kann der getriebene, dominante Bus-Pegel den nicht getriebenen, rezessiven Buspegel überschreiben. Dies wird genutzt, um mittels Arbitration für einen Sender für eine vorbestimmte Zeitdauer einen kollisionsfreien Zugriff auf die Busleitung zu gewährleisten. Gemäß einer anderen Nutzung kann im Fehlerfall ein Fehlerrahmen (Error-Flag) auf den Bus gesendet werden. Bei dem zeitgesteuerten FlexRay (ISO 17458-4) werden beide logischen Buspegel getrieben. Diese symmetrischen Buspegel erlauben eine höhere Bitrate, aber weder Arbitration noch Fehlerrahmen wie bei Classical CAN/CAN FD. In order to be able to realize increasing data traffic in the bus system and / or a higher data transmission speed than with Classical CAN, an option for switching to a higher bit rate within a message was created in the CAN FD message format. With such techniques, the maximum possible data rate is increased by using a higher clock rate in the area of the data fields beyond a value of 1 Mbit / s. Such messages are also referred to below as CAN FD frames or CAN FD messages. With CAN FD, the maximum useful data length of 8 bytes for Classical CAN is extended to up to 64 bytes and the data transfer rates are significantly higher than for Classical CAN. Bus systems customary in the automotive sector use a differential two-wire bus line that distinguishes between two logical bit levels. With Classical CAN (ISO 11898-2) or CAN FD and LIN (ISOJ.7987-4) only one of the two logical bus levels is driven, the other is set via a terminating resistor on the bus line. As a result, the driven, dominant bus level can overwrite the non-driven, recessive bus level. This is used to ensure collision-free access to the bus line for a transmitter for a predetermined period of time by means of arbitration. According to another use, an error frame (error flag) can be sent on the bus in the event of an error. With the time-controlled FlexRay (ISO 17458-4), both logical bus levels are driven. These symmetrical bus levels allow a higher bit rate, but neither arbitration nor error frames as with Classical CAN / CAN FD.
Auch wenn ein Classical CAN oder CAN FD basiertes Kommunikationsnetzwerk im Hinblick auf beispielsweise seine Robustheit sehr viele Vorteile bietet, hat es doch eine deutlich geringere Bitrate im Vergleich zu einer Datenübertragung bei zum Beispiel 100 Base-Tl Ethernet. Außerdem ist die bisher mit CAN FD erreichte Nutzdatenlänge von bis zu 64 Bytes für einige Anwendungen zu gering. Even if a Classical CAN or CAN FD based communication network offers many advantages with regard to, for example, its robustness, it still has a significantly lower bit rate compared to data transmission with, for example, 100 Base-Tl Ethernet. In addition, the user data length of up to 64 bytes previously achieved with CAN FD is too short for some applications.
Um diese Probleme zu lösen, wird derzeit ein CAN FD- Nachfolgesystem entwickelt, das nachfolgend CAN XL genannt wird. In der Daten-Phase eines CAN-XL-Rahmens sollen beide Buszustände (0, 1) getrieben werden, um höhere Datenraten zu erreichen. In order to solve these problems, a CAN FD successor system is currently being developed, which is called CAN XL in the following. In the data phase of a CAN-XL frame, both bus states (0, 1) should be driven in order to achieve higher data rates.
Wenn nun bei CAN-XL in der Datenphase beide Buszustände aktiv getrieben werden, so führt das Senden eines Fehlerrahmens (Error-Flag) zu einer Überlagerung von getriebenen Signalen, wodurch sich „analoge“ Pegel auf dem Bus einstellen. Damit ist das resultierende RxD Signal nicht mehr genau vorhersagbar und somit das Verfahren von Classical CAN/CAN FD in Bezug auf Fehlerrahmen nicht verwendbar. If both bus states are actively driven in the data phase with CAN-XL, the sending of an error frame (error flag) leads to a superimposition of driven signals, which results in "analog" levels on the bus. As a result, the resulting RxD signal can no longer be precisely predicted and the Classical CAN / CAN FD method cannot be used with regard to error frames.
Offenbarung der Erfindung Daher ist es Aufgabe der vorliegenden Erfindung, einen Konfliktdetektor für eine Teilnehmerstation eines seriellen Bussystems und ein Verfahren zur Erkennung eines Buskonflikts in einem seriellen Bussystem bereitzustellen, welche die zuvor genannten Probleme lösen. Insbesondere sollen ein Konfliktdetektor für eine Teilnehmerstation eines seriellen Bussystems und ein Verfahren zur Erkennung eines Buskonflikts in einem seriellen Bussystem bereitgestellt werden, bei welchen eine hohe Datenrate und eine flexible Reaktion auf aktuelle Betriebszustände sowie eine große Fehlerrobustheit der Kommunikation realisiert werden kann. Disclosure of the invention It is therefore the object of the present invention to provide a conflict detector for a subscriber station of a serial bus system and a method for detecting a bus conflict in a serial bus system which solve the problems mentioned above. In particular, a conflict detector for a subscriber station of a serial bus system and a method for recognizing a bus conflict in a serial bus system are to be provided, in which a high data rate and a flexible reaction to current operating states as well as a high level of error robustness of the communication can be realized.
Die Aufgabe wird durch einen Konfliktdetektor für eine Teilnehmerstation eines seriellen Bussystems mit den Merkmalen von Anspruch 1 gelöst. Der Konfliktdetektor hat mindestens einen Zähler zum Zählen des Auftretens einer Eigenschaft von Pulsen eines digitalen Empfangssignals, das von der Teilnehmerstation aus einem von einem Bus des Bussystems seriell empfangenen Signal erzeugt wird, wobei das von dem Bus empfangene Signal aus einem Sendesignal gebildet wurde, das von einer Kommunikationssteuereinrichtung der Teilnehmerstation für einen Rahmen seriell zu dem Bus gesendet wurde, und wobei die Teilnehmerstation in einer ersten Kommunikationsphase Buszustände für den Rahmen mit einer ersten Betriebsart erzeugt und in einer zweiten Kommunikationsphase Buszustände für den Rahmen mit einer zweiten Betriebsart erzeugt, die sich von der ersten Betriebsart unterscheidet, und einem Vergleichsblock zum Vergleich des Messergebnisses des mindestens einen Zählers mit mindestens einem Schwellwert und zum Anzeigen mit einem Konfliktanzeigesignal für die Kommunikationssteuereinrichtung, wenn der Vergleichsblock bei dem Vergleich ermittelt, dass die Teilnehmerstation in der zweiten Kommunikationsphase keinen exklusiven, kollisionsfreien Zugriff auf den Bus hat. The object is achieved by a conflict detector for a subscriber station of a serial bus system with the features of claim 1. The conflict detector has at least one counter for counting the occurrence of a property of pulses of a digital received signal that is generated by the subscriber station from a signal received serially from a bus of the bus system, the signal received by the bus being formed from a transmission signal received by a communication control device of the subscriber station has been sent serially to the bus for a frame, and wherein the subscriber station generates bus states for the frame with a first operating mode in a first communication phase and generates bus states for the frame with a second operating mode in a second communication phase that differ from the first operating mode, and a comparison block for comparing the measurement result of the at least one counter with at least one threshold value and for displaying with a conflict display signal for the communication control device if the comparison block determines during the comparison, that the subscriber station does not have any exclusive, collision-free access to the bus in the second communication phase.
Aufgrund der Ausgestaltung des Konfliktdetektors ist auch in dem Fall, dass in der Datenphase beide Buszustände in einem Rahmen aktiv getrieben werden, das Erkennen eines Sendekonflikts sehr kostengünstig möglich. Dies gilt auch, wenn es auf dem Bus zu einer Überlagerung von getriebenen Signalen kommt, wodurch sich „analoge“ Pegel auf dem Bus einstellen, so dass das resultierende Empfangssignal RXD nicht mehr genau vorhersagbar ist. Due to the configuration of the conflict detector, even in the event that both bus states are actively driven in a frame in the data phase, the detection of a transmission conflict is very cost-effective. This also applies if there is a superposition of driven signals on the bus, whereby “analog” levels are set on the bus, so that the resulting received signal RXD can no longer be precisely predicted.
Die Erkennung oder Detektion des Buskonfliktes mit dem Konfliktdetektor, insbesondere in der Kommunikationssteuereinrichtung (Protocol Controller), ist sehr kostengünstig, weil in der Kommunikationssteuereinrichtung viele Informationen digital vorliegen und ein genauer Takt zur Verfügung steht. Daher kann die Detektion des Buskonfliktes sehr genau erfolgen. Noch dazu ist die Detektion einfach zu implementieren, nämlich beispielsweise mittels eines oder mehrerer Zähler. Damit vereinfacht und verbilligt sich eine Sende- /Empfangseinrichtung (Transceiver) für CAN XL, was den Einsatz von CAN XL begünstigt. The recognition or detection of the bus conflict with the conflict detector, in particular in the communication control device (protocol controller), is very cost-effective because a lot of information is digitally available in the communication control device and a precise clock is available. Therefore, the bus conflict can be detected very precisely. In addition, the detection is easy to implement, namely for example by means of one or more counters. This simplifies and reduces the cost of a transmitting / receiving device (transceiver) for CAN XL, which favors the use of CAN XL.
Zusätzlich oder alternativ ist der Konfliktdetektor in eine Sende- /Empfangseinrichtung der Teilnehmerstation integriert. Additionally or alternatively, the conflict detector is integrated into a transmitting / receiving device of the subscriber station.
Noch dazu ist es möglich, dass die Buskonflikt- Erkennung mit aktuell verfügbaren CAN Transceivern nutzbar ist. In addition, it is possible that bus conflict detection can be used with currently available CAN transceivers.
Daher ist jede Teilnehmerstation des Bussystems aufgrund der Ausgestaltung des Konfliktdetektors in der Lage, die Sendung einer beliebigen anderen Teilnehmerstation mit einem Fehlerrahmen zu stören bzw. zu unterbrechen. Die verwendeten Fehlerrahmen realisieren eine einfache Fehlerbehandlung, was wiederrum die Robustheit des CAN XL Protokolls erhöht. Außerdem kann im Fehlerfall Zeit gespart werden, indem eine derzeit gesendete Nachricht abgebrochen wird und danach andere Information auf dem Bus übertragen werden kann. Das ist insbesondere bei Rahmen von großem Nutzen, die länger sind als ein CAN FD Rahmen mit 64 Byte in der Datenphase, insbesondere bei Rahmen die 2-4kbyte oder mehr enthalten sollen. Because of the configuration of the conflict detector, each subscriber station in the bus system is therefore able to disrupt or interrupt the transmission of any other subscriber station with an error frame. The error frames used implement simple error handling, which in turn increases the robustness of the CAN XL protocol. In addition, time can be saved in the event of an error by canceling a message currently being sent and then transferring other information on the bus. This is particularly useful for frames that are longer than a CAN FD frame with 64 bytes in the data phase, especially for frames that are to contain 2-4 KB or more.
Als Folge davon kann mit dem Konfliktdetektor auch bei Steigerung der Menge der Nutzdaten pro Rahmen ein Empfang der Rahmen mit großer Flexibilität im Hinblick auf aktuelle Ereignisse im Betrieb des Bussystems und mit geringer Fehlerquote gewährleistet werden. Somit kann in dem seriellen Bussystem auch mit großer Fehlerrobustheit kommuniziert werden, wenn eine hohe Datenrate und eine Steigerung der Menge der Nutzdaten pro Rahmen erfolgt. As a result, the conflict detector can be used to ensure reception of the frames with great flexibility with regard to current events in the operation of the bus system and with a low error rate, even if the amount of user data per frame increases. Thus, in the serial bus system, can be communicated with great error resistance if there is a high data rate and an increase in the amount of user data per frame.
Daher ist es mit dem Konfliktdetektor in dem Bussystem insbesondere möglich, in einer ersten Kommunikationsphase eine von CAN bekannte Arbitration beizubehalten und dennoch die Übertragungsrate gegenüber Classical CAN oder CAN FD nochmals beträchtlich zu steigern. Therefore, with the conflict detector in the bus system, it is possible in particular to maintain an arbitration known from CAN in a first communication phase and nevertheless to increase the transmission rate again considerably compared to Classical CAN or CAN FD.
Dies trägt mit dazu bei, eine Nettodatenrate von mindestens 5 Mbit/s bis etwa 8 Mbit/s oder 10 Mbit/s oder höher zu realisieren. In diesem Fall ist ein Bit weniger als 100 ns lang. Noch dazu kann die Größe der Nutzdaten bis zu 4096 Byte pro Rahmen betragen. Selbstverständlich sind beliebige andere Werte für die Anzahl von Byte pro Rahmen möglich, insbesondere 2048 Byte oder ein sonstiger Wert. This helps to achieve a net data rate of at least 5 Mbit / s to around 8 Mbit / s or 10 Mbit / s or higher. In this case one bit is less than 100 ns long. In addition, the size of the user data can be up to 4096 bytes per frame. Of course, any other values are possible for the number of bytes per frame, in particular 2048 bytes or some other value.
Das von dem Konfliktdetektor durchgeführte Verfahren kann auch zum Einsatz kommen, wenn in dem Bussystem auch mindestens eine CAN FD tolerante CAN-Teilnehmerstation, die gemäß dem Standard der ISO 11898-1:2015 ausgestaltet ist, und/oder mindestens eine CAN FD Teilnehmerstation vorhanden ist, die Nachrichten nach dem Classical CAN-Protokoll und/oder CAN FD Protokoll senden. Prinzipiell kann der Konfliktdetektor auch bei CAN FD eingesetzt werden, um die dort verwendete Transmitter Delay Compensation Funktion zu ersetzen bzw. zu ergänzen. The method carried out by the conflict detector can also be used if the bus system also has at least one CAN FD-tolerant CAN subscriber station, which is designed in accordance with the ISO 11898-1: 2015 standard, and / or at least one CAN FD subscriber station that send messages according to the Classical CAN protocol and / or CAN FD protocol. In principle, the conflict detector can also be used with CAN FD to replace or supplement the Transmitter Delay Compensation function used there.
Vorteilhafte weitere Ausgestaltungen des Konfliktdetektors sind in den abhängigen Ansprüchen angegeben. Advantageous further refinements of the conflict detector are given in the dependent claims.
Möglicherweise ist die Eigenschaft von Pulsen des digitalen Empfangssignals der Pegel des Pulses, wobei der mindestens eine Zähler zum Zählen der Häufigkeit des Auftretens eines ersten Pegels des digitalen Empfangssignals über der Zeit ausgestaltet sein kann. Alternativ kann der mindestens eine Zähler ausgestaltet sein, beim Auftreten eines ersten Pegels des digitalen Empfangssignals seinen Zählwert zu inkrementieren und beim Auftreten des zweiten Pegels des digitalen Empfangssignals seinen Zählwert zu dekrementieren. Die Häufigkeit des Auftretens eines vorbestimmten Pegels kann mit einem vorbestimmten Takt gewählt werden. Der daraus resultierende Zählwert kann auch als akkumulierte Dauer bezeichnet werden. Possibly the property of pulses of the digital received signal is the level of the pulse, wherein the at least one counter can be designed to count the frequency of occurrence of a first level of the digital received signal over time. Alternatively, the at least one counter can be designed to increment its count value when a first level of the digital received signal occurs and to decrement its count value when the second level of the digital received signal occurs. The frequency of occurrence of a predetermined level can be adjusted with a predetermined timing to get voted. The resulting count can also be referred to as the accumulated duration.
Denkbar ist, dass die Eigenschaft von Pulsen des digitalen Empfangssignals die Pulslänge des Pulses ist. Hierbei kann der mindestens eine Zähler (150; 152) und/oder der Vergleichsblock ausgestaltet sein, zur Ermittlung der Eigenschaft von Pulsen des digitalen Empfangssignals ein Status-Signal der Kommunikationssteuereinrichtung zu verwenden, das den Takt zum Abtasten von Bits des digitalen Empfangssignals und/oder den Takt der Kommunikationssteuereinrichtung umfasst. Alternativ kann der Vergleichsblock ausgestaltet sein, die Pulslänge eines Pulses des digitalen Empfangssignals mit einer Pulslänge eines Pulses des Sendesignals zu vergleichen, um zu ermitteln, ob die Teilnehmerstation in der zweiten Kommunikationsphase keinen exklusiven, kollisionsfreien Zugriff auf den Bus hat. It is conceivable that the property of pulses in the digital received signal is the pulse length of the pulse. In this case, the at least one counter (150; 152) and / or the comparison block can be designed to use a status signal of the communication control device to determine the property of pulses of the digital received signal that sets the clock for sampling bits of the digital received signal and / or comprises the clock of the communication control device. Alternatively, the comparison block can be designed to compare the pulse length of a pulse of the digital received signal with a pulse length of a pulse of the transmitted signal in order to determine whether the subscriber station does not have exclusive, collision-free access to the bus in the second communication phase.
Gemäß einer anderen Variante ist die Eigenschaft von Pulsen des digitalen Empfangssignals der Unterschied des Pegels des Pulses zu dem entsprechenden Pegel eines Pulses des Sendesignals. According to another variant, the property of pulses in the digital received signal is the difference between the level of the pulse and the corresponding level of a pulse in the transmitted signal.
Gemäß noch einer anderen Variante hat der Konfliktdetektor zudem mindestens einen zusätzlichen Zähler zum Zählen des Auftretens einer Eigenschaft von Pulsen des digitalen Sendesignals, wobei der Vergleichsblock ausgestaltet ist, ein aus dem Zählwert des mindestens einen zusätzlichen Zählers ermitteltes Messergebnis mit mindestens einem Schwellwert zu vergleichen, um zu ermitteln, ob die Teilnehmerstation in der zweiten Kommunikationsphase keinen exklusiven, kollisionsfreien Zugriff auf den Bus hat. Hierbei ist der Vergleichsblock gemäß einer Option ausgestaltet, einen Zählwert des mindestens einen Zählers, der zum Zählen des Auftretens einer Eigenschaft von Pulsen des digitalen Empfangssignals vorgesehen ist, zu vergleichen mit einem Zählwert des mindestens einen zusätzlichen Zählers, der zum Zählen des Auftretens einer Eigenschaft von Pulsen des digitalen Sendesignals vorgesehen ist, um anhand einer sich ändernden Differenz der verglichenen Zählwerte zu ermitteln, ob die Teilnehmerstation in der zweiten Kommunikationsphase keinen exklusiven, kollisionsfreien Zugriff auf den Bus hat. Bei den genannten Varianten kann der Konfliktdetektor ausgestaltet sein, als Sendesignal ein verzögertes Sendesignal zu verwenden, das um eine Laufzeit verzögert ist, die das Sendesignal benötigt, um von einem TxD-Anschluss der Kommunikationssteuereinrichtung über den Bus zu einem RxD- Anschluss der Kommunikationssteuereinrichtung zu gelangen. According to yet another variant, the conflict detector also has at least one additional counter for counting the occurrence of a property of pulses in the digital transmission signal, the comparison block being designed to compare a measurement result determined from the count of the at least one additional counter with at least one threshold value in order to to determine whether the subscriber station has no exclusive, collision-free access to the bus in the second communication phase. Here, the comparison block is designed according to an option to compare a count value of the at least one counter, which is provided for counting the occurrence of a property of pulses of the digital received signal, with a count value of the at least one additional counter, which is used to count the occurrence of a property of Pulsing of the digital transmission signal is provided in order to determine on the basis of a changing difference in the compared counted values whether the subscriber station does not have exclusive, collision-free access to the bus in the second communication phase. In the variants mentioned, the conflict detector can be configured to use a delayed transmission signal as the transmission signal, which is delayed by a transit time that the transmission signal needs to get from a TxD connection of the communication control device via the bus to an RxD connection of the communication control device .
Der Konfliktdetektor hat optional zudem mindestens einen Zähler zum Zählen von steigenden und/oder fallenden Flanken der Pulse des digitalen Empfangssignals oder des Sendesignals. The conflict detector also optionally has at least one counter for counting rising and / or falling edges of the pulses of the digital received signal or the transmitted signal.
Der zuvor beschriebene Konfliktdetektor kann Teil einer Teilnehmerstation für ein serielles Bussystem sein, die zudem eine Kommunikationssteuereinrichtung zum Steuern einer Kommunikation der Teilnehmerstation mit mindestens einer anderen Teilnehmerstation des Bussystems, und eine Sende- /Empfangseinrichtung zum Senden eines von derThe conflict detector described above can be part of a subscriber station for a serial bus system, which also has a communication control device for controlling communication of the subscriber station with at least one other subscriber station of the bus system, and a transmitting / receiving device for sending one of the
Kommunikationssteuereinrichtung für einen Rahmen erzeugten Signals auf einen Bus des Bussystems und zum Empfangen eines Signals von dem Bus aufweist, wobei die Sende-/Empfangseinrichtung in einer ersten Kommunikationsphase Buszustände für den Rahmen mit einer ersten Betriebsart erzeugt und in einer zweiten Kommunikationsphase Buszustände für den Rahmen mit einer zweiten Betriebsart erzeugt, die sich von der ersten Betriebsart unterscheiden. Communication control device for a frame generated signal on a bus of the bus system and for receiving a signal from the bus, wherein the transmitting / receiving device generates bus states for the frame with a first operating mode in a first communication phase and bus states for the frame with in a second communication phase a second operating mode, which differ from the first operating mode.
Bei der Teilnehmerstation können, aufgrund der unterschiedlichen Bitraten in den zwei Kommunikationsphasen, die Buszustände des in der ersten Kommunikationsphase von dem Bus empfangenen Signals länger sein, insbesondere eine längere Bitzeit haben, als die Buszustände des in der zweiten Kommunikationsphase empfangenen Signals. Zusätzlich oder alternativ wurden die Buszustände des in der ersten Kommunikationsphase von dem Bus empfangenen Signals mit einem anderen Physical Layer erzeugt als die Buszustände des in der zweiten Kommunikationsphase empfangenen Signals. Hierbei kann die Kommunikationssteuereinrichtung ausgestaltet sein, an den Konfliktdetektor ein Einschaltsignal auszugeben, um den Konfliktdetektor nur für die zweite Kommunikationsphase einzuschalten und für die erste Kommunikationsphase auszuschalten, oder den Konfliktdetektor umzuschalten von einer Kommunikationsphase auf eine andere. Möglicherweise wird in der ersten Kommunikationsphase ausgehandelt, welche der Teilnehmerstationen des Bussystems in der nachfolgenden zweiten Kommunikationsphase zumindest zeitweise einen exklusiven, kollisionsfreien Zugriff auf den Bus bekommt. At the subscriber station, due to the different bit rates in the two communication phases, the bus states of the signal received from the bus in the first communication phase can be longer, in particular have a longer bit time, than the bus states of the signal received in the second communication phase. Additionally or alternatively, the bus states of the signal received from the bus in the first communication phase were generated with a different physical layer than the bus states of the signal received in the second communication phase. Here, the communication control device can be configured to output a switch-on signal to the conflict detector in order to switch the conflict detector on only for the second communication phase and to switch it off for the first communication phase, or to switch the conflict detector from one communication phase to another. It is possible that in the first communication phase it is negotiated which of the subscriber stations of the bus system is at least temporarily given exclusive, collision-free access to the bus in the subsequent second communication phase.
Die zuvor beschriebene Teilnehmerstation kann Teil eines Bussystems sein, das zudem einen Bus und mindestens zwei Teilnehmerstationen umfasst, welche über den Bus derart miteinander verbunden sind, dass sie seriell miteinander kommunizieren können. Hierbei ist mindestens eine der mindestens zwei Teilnehmerstationen eine zuvor beschriebene Teilnehmerstation. The subscriber station described above can be part of a bus system which also comprises a bus and at least two subscriber stations which are connected to one another via the bus in such a way that they can communicate with one another serially. In this case, at least one of the at least two subscriber stations is a previously described subscriber station.
Die zuvor genannte Aufgabe wird zudem durch ein Verfahren zur Kommunikation in einem seriellen Bussystem nach Anspruch 15 gelöst. Das Verfahren wird mit einem Konfliktdetektor für eine Teilnehmerstation des serielles Bussystems ausgeführt, wobei der Konfliktdetektor die Schritte ausführt, Zählen, mit mindestens einem Zähler, des Auftretens einer Eigenschaft von Pulsen eines digitalen Empfangssignals, das von der Teilnehmerstation aus einem von einem Bus des Bussystems seriell empfangenen Signal erzeugt wird, wobei das von dem Bus empfangene Signal aus einem Sendesignal gebildet wurde, das von einer Kommunikationssteuereinrichtung der Teilnehmerstation in einem Rahmen seriell zu dem Bus gesendet wurde, und wobei die Teilnehmerstation in einer ersten Kommunikationsphase Buszustände für den Rahmen mit einer ersten Betriebsart erzeugt und in einer zweiten Kommunikationsphase Buszustände für den Rahmen mit einer zweiten Betriebsart erzeugt, die sich von der ersten Betriebsart unterscheidet, The aforementioned object is also achieved by a method for communication in a serial bus system according to claim 15. The method is carried out with a conflict detector for a subscriber station of the serial bus system, the conflict detector carrying out the steps of counting, with at least one counter, the occurrence of a property of pulses of a digital received signal that is serialized by the subscriber station from a bus of the bus system received signal is generated, wherein the signal received by the bus was formed from a transmission signal that was sent serially to the bus by a communication control device of the subscriber station in a frame, and wherein the subscriber station in a first communication phase bus states for the frame with a first operating mode generated and, in a second communication phase, generated bus states for the frame with a second operating mode that differs from the first operating mode,
Vergleichen, mit einem Vergleichsblock, eines aus einem Zählwert des mindestens einen Zählers ermittelten Messergebnisses mit mindestens einem Schwellwert, und Anzeigen mit einem Konfliktanzeigesignal für die Kommunikationssteuereinrichtung, wenn der Vergleichsblock bei dem Vergleich ermittelt, dass die Teilnehmerstation in der zweiten Kommunikationsphase keinen exklusiven, kollisionsfreien Zugriff auf den Bus hat. Compare, with a comparison block, a measurement result determined from a count of the at least one counter with at least one threshold value, and display with a conflict indication signal for the communication control device if the comparison block determines during the comparison that the subscriber station does not have exclusive, collision-free access in the second communication phase got on the bus.
Das Verfahren bietet dieselben Vorteile, wie sie zuvor in Bezug auf den Konfliktdetektor und/oder die Teilnehmerstation genannt sind. Weitere mögliche Implementierungen der Erfindung umfassen auch nicht explizit genannte Kombinationen von zuvor oder im Folgenden bezüglich der Ausführungsbeispiele beschriebenen Merkmale oder Ausführungsformen. Dabei wird der Fachmann auch Einzelaspekte als Verbesserungen oder Ergänzungen zu der jeweiligen Grundform der Erfindung hinzufügen. The method offers the same advantages as mentioned above with regard to the conflict detector and / or the subscriber station. Further possible implementations of the invention also include combinations, not explicitly mentioned, of features or embodiments described above or below with regard to the exemplary embodiments. The person skilled in the art will also add individual aspects as improvements or additions to the respective basic form of the invention.
Zeichnungen drawings
Nachfolgend ist die Erfindung unter Bezugnahme auf die beiliegende Zeichnung und anhand von Ausführungsbeispielen näher beschrieben. Es zeigen: The invention is described in more detail below with reference to the accompanying drawings and using exemplary embodiments. Show it:
Fig. 1 ein vereinfachtes Blockschaltbild eines Bussystems gemäß einem ersten Ausführungsbeispiel; 1 shows a simplified block diagram of a bus system according to a first exemplary embodiment;
Fig. 2 ein Schaubild zur Veranschaulichung des Aufbaus von Nachrichten, die von einer Sende-/Empfangseinrichtung für eine Teilnehmerstation des Bussystems gemäß dem ersten Ausführungsbeispiel gesendet werden können; 2 shows a diagram to illustrate the structure of messages that can be sent by a transmitting / receiving device for a subscriber station of the bus system according to the first exemplary embodiment;
Fig. 3 ein vereinfachtes schematisches Blockschaltbild einer Teilnehmerstation des Bussystems gemäß dem ersten Ausführungsbeispiel; 3 shows a simplified schematic block diagram of a subscriber station of the bus system according to the first exemplary embodiment;
Fig. 4 bis Fig. 7 einen zeitlichen Verlauf von Signalen, die im Normalbetrieb in dem Bussystem gemäß dem ersten Ausführungsbeispiel auftreten; FIGS. 4 to 7 show a time profile of signals that occur in normal operation in the bus system according to the first exemplary embodiment;
Fig. 8 einen zeitlichen Verlauf eines Sendesignals TxDl in einer Datenphase einer Nachricht, die von einer ersten Teilnehmerstation des Bussystems gemäß dem ersten Ausführungsbeispiel gesendet wird; 8 shows a time profile of a transmission signal TxD1 in a data phase of a message which is sent by a first subscriber station of the bus system according to the first exemplary embodiment;
Fig. 9 einen zeitlichen Verlauf eines Sendesignals TxD2, das von einer anderen Teilnehmerstation zum Abbruch des Sendesignals TxDl von Fig. 8 gesendet wird; Fig. 10 bis Fig. 12 einen zeitlichen Verlauf von Signalen, die sich aufgrund der Sendesignale TxDl, TxD2 von Fig. 8 und Fig. 9 in dem Bussystem gemäß dem ersten Ausführungsbeispiel einstellen; FIG. 9 shows a time profile of a transmission signal TxD2 which is sent by another subscriber station in order to abort the transmission signal TxD1 from FIG. 8; FIG. FIGS. 10 to 12 show a time profile of signals which arise on the basis of the transmit signals TxD1, TxD2 from FIGS. 8 and 9 in the bus system according to the first exemplary embodiment;
Fig. 13 ein Schaubild zur Veranschaulichung der Funktion eines Konfliktdetektors einer Teilnehmerstation des Bussystems gemäß dem ersten Ausführungsbeispiel; 13 shows a diagram to illustrate the function of a conflict detector of a subscriber station of the bus system according to the first exemplary embodiment;
Fig. 14 ein vereinfachtes schematisches Blockschaltbild einer Teilnehmerstation des Bussystems gemäß einem zweiten Ausführungsbeispiel; 14 shows a simplified schematic block diagram of a subscriber station of the bus system according to a second exemplary embodiment;
Fig. 15 ein vereinfachtes schematisches Blockschaltbild einer Teilnehmerstation des Bussystems gemäß einem dritten Ausführungsbeispiel; 15 shows a simplified schematic block diagram of a subscriber station of the bus system according to a third exemplary embodiment;
Fig. 16 ein Beispiel für Signalverläufe zur Veranschaulichung der Funktionsweise eines Konfliktdetektors der Teilnehmerstation des Bussystems gemäß dem dritten Ausführungsbeispiel; 16 shows an example of signal curves to illustrate the mode of operation of a conflict detector of the subscriber station of the bus system according to the third exemplary embodiment;
Fig. 17 ein vereinfachtes schematisches Blockschaltbild einer Teilnehmerstation des Bussystems gemäß einem vierten Ausführungsbeispiel; und 17 shows a simplified schematic block diagram of a subscriber station of the bus system according to a fourth exemplary embodiment; and
Fig. 18 ein Beispiel für Signalverläufe zur Veranschaulichung der Funktionsweise eines Konfliktdetektors der Teilnehmerstation des Bussystems gemäß dem vierten Ausführungsbeispiel. 18 shows an example of signal profiles to illustrate the mode of operation of a conflict detector of the subscriber station of the bus system according to the fourth exemplary embodiment.
In den Figuren sind gleiche oder funktionsgleiche Elemente, sofern nichts Anderes angegeben ist, mit denselben Bezugszeichen versehen. In the figures, identical or functionally identical elements are provided with the same reference symbols, unless otherwise specified.
Beschreibung der Ausführungsbeispiele Description of the exemplary embodiments
Fig. 1 zeigt als Beispiel ein Bussystem 1, das insbesondere grundlegend für ein Classical CAN-Bussystem, ein CAN FD-Bussystem, ein CAN XL-Bussystem, und/oder Abwandlungen davon, ausgestaltet ist, wie nachfolgend beschrieben. Das Bussystem 1 kann in einem Fahrzeug, insbesondere einem Kraftfahrzeug, einem Flugzeug, usw., oder im Krankenhaus usw. Verwendung finden. In Fig. 1 hat das Bussystem 1 eine Vielzahl von Teilnehmerstationen 10, 20, 30, die jeweils an einen Bus 40 mit einer ersten Busader 41 und einer zweiten Busader 42 angeschlossen sind. Die Busadern 41, 42 können auch CAN_H und CAN_L oder CAN-XL_H und CAN-XL_L genannt werden und dienen zur elektrischen Signalübertragung nach Einkopplung der Differenzpegel oder dominanten Pegel bzw. Erzeugung von rezessiven Pegeln für ein Signal im Sendezustand. Über den Bus 40 sind Nachrichten 45, 46 in der Form von Signalen zwischen den einzelnen Teilnehmerstationen 10, 20, 30 seriell übertragbar. Tritt bei der Kommunikation auf dem Bus 40 ein Fehler auf, wie durch den gezackten schwarzen Blockpfeil in Fig. 1 dargestellt, kann ein Fehlerrahmen 47 (Error Flag) gesendet werden. Die Teilnehmerstationen 10, 20, 30 sind beispielsweise Steuergeräte, Sensoren, Anzeigevorrichtungen, usw. eines Kraftfahrzeugs. As an example, FIG. 1 shows a bus system 1 which, in particular, is fundamentally designed for a Classical CAN bus system, a CAN FD bus system, a CAN XL bus system and / or modifications thereof, as described below. The bus system 1 can be used in a vehicle, in particular a motor vehicle, an airplane, etc., or in a hospital, etc. use. In FIG. 1, the bus system 1 has a multiplicity of subscriber stations 10, 20, 30, each of which is connected to a bus 40 with a first bus core 41 and a second bus core 42. The bus wires 41, 42 can also be called CAN_H and CAN_L or CAN-XL_H and CAN-XL_L and are used for electrical signal transmission after coupling in the difference level or dominant level or generating recessive levels for a signal in the transmission state. Messages 45, 46 in the form of signals between the individual subscriber stations 10, 20, 30 can be transmitted serially via bus 40. If an error occurs in communication on bus 40, as shown by the jagged black block arrow in FIG. 1, an error frame 47 (error flag) can be sent. The subscriber stations 10, 20, 30 are, for example, control devices, sensors, display devices, etc. of a motor vehicle.
Wie in Fig. 1 gezeigt, hat die Teilnehmerstation 10 eineAs shown in Fig. 1, the subscriber station 10 has a
Kommunikationssteuereinrichtung 11, eine Sende-/Empfangseinrichtung 12 und einen Konfliktdetektor 15. Die Teilnehmerstation 20 hat dagegen eine Kommunikationssteuereinrichtung 21, eine Sende-/Empfangseinrichtung 22 und optional einen Konfliktdetektor 25. Die Teilnehmerstation 30 hat eine Kommunikationssteuereinrichtung 31, eine Sende-/Empfangseinrichtung 32 und einen Konfliktdetektor 35. Die Sende-/Empfangseinrichtungen 12, 22, 32 der Teilnehmerstationen 10, 20, 30 sind jeweils direkt an den Bus 40 angeschlossen, auch wenn dies in Fig. 1 nicht veranschaulicht ist. Communication control device 11, a transmitting / receiving device 12 and a conflict detector 15. The subscriber station 20, on the other hand, has a communication control device 21, a transmitting / receiving device 22 and optionally a conflict detector 25. Subscriber station 30 has a communication control device 31, a transmitting / receiving device 32 and a conflict detector 35. The transmitting / receiving devices 12, 22, 32 of the subscriber stations 10, 20, 30 are each connected directly to the bus 40, even if this is not illustrated in FIG.
Die Kommunikationssteuereinrichtungen 11, 21, 31 dienen jeweils zur Steuerung einer Kommunikation der jeweiligen Teilnehmerstation 10, 20, 30 über den Bus 40 mit mindestens einer anderen Teilnehmerstation der Teilnehmerstationen 10, 20, 30, die an den Bus 40 angeschlossen sind. The communication control devices 11, 21, 31 each serve to control communication between the respective subscriber station 10, 20, 30 via the bus 40 with at least one other subscriber station of the subscriber stations 10, 20, 30 that are connected to the bus 40.
Die Kommunikationssteuereinrichtung 11 erstellt und liest erste Nachrichten 45, die beispielsweise modifizierte CAN Nachrichten 45 sind. Hierbei sind die modifizierten CAN Nachrichten 45 auf der Grundlage eines CAN XL-Formats aufgebaut, das in Bezug auf Fig. 2 detaillierter beschrieben ist. Die Kommunikationssteuereinrichtung 21 kann bis auf die nachfolgend noch genauer beschriebenen Unterschiede wie ein herkömmlicher CAN-Controller nach ISO 11898-1:2015 ausgeführt sein. Die Kommunikationssteuereinrichtung 21 erstellt und liest zweite Nachrichten 46, beispielsweise Classical CAN- Nachrichten 46. Die Classical CAN-Nachrichten 46 sind gemäß dem Classical Basisformat aufgebaut, bei welchem in der Nachricht 46 eine Anzahl von bis zu 8 Datenbytes umfasst sein können. Alternativ ist die CAN-Nachricht 46 als CAN FD Nachricht aufgebaut, bei welcher eine Anzahl von bis zu 64 Datenbytes umfasst sein können, die noch dazu mit einer deutlich schnelleren Datenrate als bei der Classical CAN-Nachricht 46 übertragen werden. Im letzteren Fall ist die Kommunikationssteuereinrichtung 21 wie ein herkömmlicher CAN FD-Controller ausgeführt. The communication control device 11 creates and reads first messages 45, which are modified CAN messages 45, for example. Here, the modified CAN messages 45 are structured on the basis of a CAN XL format, which is described in more detail with reference to FIG. 2. The communication control device 21 can be designed like a conventional CAN controller according to ISO 11898-1: 2015 apart from the differences described in more detail below. The communication control device 21 creates and reads second messages 46, for example Classical CAN messages 46. The Classical CAN messages 46 are structured in accordance with the Classical basic format, in which the message 46 can contain up to 8 data bytes. Alternatively, the CAN message 46 is structured as a CAN FD message, in which a number of up to 64 data bytes can be included, which are also transmitted at a significantly faster data rate than in the case of the Classical CAN message 46. In the latter case, the communication control device 21 is designed like a conventional CAN FD controller.
Die Kommunikationssteuereinrichtung 31 kann ausgeführt sein, um je nach Bedarf eine CAN XL-Nachricht 45 oder eine Classical CAN-Nachricht 46 für die Sende-/Empfangseinrichtung 32 bereitzustellen oder von dieser zu empfangen. Die Kommunikationssteuereinrichtung 31 erstellt und liest also eine erste Nachricht 45 oder zweite Nachricht 46, wobei sich die erste und zweite Nachricht 45, 46 durch ihren Datenübertragungsstandard unterscheiden, nämlich in diesem Fall CAN XL oder CAN. Alternativ ist die Classical CAN-Nachricht 46 als CAN FD Nachricht aufgebaut. Im letzteren Fall ist die Kommunikationssteuereinrichtung 31 wie ein herkömmlicher CAN FD-Controller ausgeführt. The communication control device 31 can be designed to provide a CAN XL message 45 or a Classical CAN message 46 for the transmitting / receiving device 32 or to receive it from it, as required. The communication control device 31 thus creates and reads a first message 45 or second message 46, the first and second messages 45, 46 differing in their data transmission standard, namely in this case CAN XL or CAN. Alternatively, the Classical CAN message 46 is structured as a CAN FD message. In the latter case, the communication control device 31 is designed like a conventional CAN FD controller.
Die Sende-/Empfangseinrichtung 12 kann als CAN XL-Transceiver ausgeführt sein. Die Sende-/Empfangseinrichtung 22 kann wie ein herkömmlicher CAN Transceiver oder CAN FD Transceiver ausgeführt sein. Die Sende- /Empfangseinrichtung 32 kann ausgeführt sein, um je nach Bedarf Nachrichten 45 gemäß dem CAN XL- Format oder Nachrichten 46 gemäß dem derzeitigen CAN-Basisformat für die Kommunikationssteuereinrichtung 31 bereitzustellen oder von dieser zu empfangen. Die Sende-/Empfangseinrichtungen 12, 32 sind zusätzlich oder alternativ wie ein herkömmlicher CAN FD Transceiver ausführbar. Mit den beiden Teilnehmerstationen 10, 30 ist eine Bildung und dann Übertragung von Nachrichten 45 mit dem CAN XL Format sowie der Empfang solcher Nachrichten 45 realisierbar. The transmitting / receiving device 12 can be designed as a CAN XL transceiver. The transmitting / receiving device 22 can be designed like a conventional CAN transceiver or CAN FD transceiver. The transmitting / receiving device 32 can be designed to provide messages 45 according to the CAN XL format or messages 46 according to the current CAN basic format for the communication control device 31 or to receive them from it, as required. The transmitting / receiving devices 12, 32 can additionally or alternatively be designed like a conventional CAN FD transceiver. With the two subscriber stations 10, 30, the formation and then transmission of messages 45 with the CAN XL format and the receipt of such messages 45 can be implemented.
Fig. 2 zeigt für die Nachricht 45 einen CAN XL Rahmen 450, wie er von der Sende-/Empfangseinrichtung 12 oder der Sende-/Empfangseinrichtung 32 gesendet wird. Der CAN XL-Rahmen 450 ist für die CAN-Kommunikation auf dem Bus 40 in unterschiedliche Kommunikationsphasen 451 bis 453 unterteilt, nämlich eine Arbitrationsphase 451, eine Datenphase 452 und eine Rahmenendphase 453. FIG. 2 shows a CAN XL frame 450 for the message 45, as it is sent by the transmitting / receiving device 12 or the transmitting / receiving device 32. The CAN XL frame 450 is divided into different communication phases 451 to 453 for the CAN communication on the bus 40, namely an arbitration phase 451, a data phase 452 and a frame end phase 453.
In der Arbitrationsphase 451 wird mit Hilfe eines Identifizierers bitweise zwischen den Teilnehmerstationen 10, 20, 30 ausgehandelt, welche Teilnehmerstation 10, 20, 30 die Nachricht 45, 46 mit der höchsten Priorität senden möchte und daher für die nächste Zeit zum Senden in der anschließenden Datenphase 452 einen exklusiven Zugriff auf den Bus 40 des Bussystems 1 bekommt. In the arbitration phase 451, an identifier is used to negotiate bit by bit between the subscriber stations 10, 20, 30 which subscriber station 10, 20, 30 would like to send the message 45, 46 with the highest priority and therefore for the next time to send in the subsequent data phase 452 gets exclusive access to bus 40 of bus system 1.
In der Datenphase 452 werden die Nutzdaten des CAN-XL-Rahmens bzw. der Nachricht 45 gesendet. Die Nutzdaten können entsprechend dem Wertebereich eines Datenlängecodes beispielsweise bis zu 4096 Bytes oder einen größeren Wert aufweisen. In the data phase 452 the user data of the CAN-XL frame or the message 45 are sent. The useful data can have, for example, up to 4096 bytes or a larger value in accordance with the value range of a data length code.
In der Rahmenendphase 453 kann ein Re-Integrations-Muster enthalten sein, das den empfangenden Teilnehmerstationen ermöglicht, nach einem Fehler den Beginn der Rahmenendphase 453 zu finden. Zudem kann in einem Endefeld in der Rahmenendphase 453 mindestens ein Acknowledge-Bit enthalten sein. Außerdem kann eine Folge von 11 gleichen Bits vorhanden sein, welche das Ende des CAN XL Rahmens 450 anzeigen. Mit dem mindestens einen Acknowledge-Bit kann mitgeteilt werden, ob ein Empfänger in dem empfangenen CAN XL Rahmen 450 bzw. der Nachricht 45 einen Fehler entdeckt hat oder nicht. The frame end phase 453 can contain a reintegration pattern that enables the receiving subscriber stations to find the start of the frame end phase 453 after an error. In addition, at least one acknowledge bit can be contained in an end field in the frame end phase 453. In addition, there can be a sequence of 11 identical bits, which indicate the end of the CAN XL frame 450. The at least one acknowledge bit can be used to indicate whether a recipient has discovered an error in the received CAN XL frame 450 or message 45 or not.
In der Arbitrationsphase 451 und der Rahmenendphase 453 wird ein Physical Layer wie bei Classical CAN und CAN-FD verwendet. Der Physical Layer entspricht der Bitübertragungsschicht oder Schicht 1 des bekannten OSI-Modells (Open Systems Interconnection Modell). In the arbitration phase 451 and the frame end phase 453, a physical layer is used as in Classical CAN and CAN-FD. The physical layer corresponds to the physical layer or layer 1 of the known OSI model (Open Systems Interconnection Model).
Während der Phasen 451, 453 findet das bekannte CSMA/CR-Verfahren Verwendung, welches gleichzeitigen Zugriff der Teilnehmerstationen 10, 20, 30 auf den Bus 40 erlaubt, ohne dass die höher priorisierte Nachricht 45, 46 zerstört wird. Dadurch können dem Bussystem 1 relativ einfach weitere Bus- Teilnehmerstationen 10, 20, 30 hinzugefügt werden, was sehr vorteilhaft ist. During phases 451, 453, the known CSMA / CR method is used, which allows subscriber stations 10, 20, 30 to access bus 40 at the same time without the higher-priority message 45, 46 being destroyed. As a result, further bus subscriber stations 10, 20, 30 can be added to bus system 1 relatively easily, which is very advantageous.
Das CSMA/CR-Verfahren hat zur Folge, dass es sogenannte rezessive Zustände auf dem Bus 40 geben muss, welche von anderen Teilnehmerstationen 10, 20,The consequence of the CSMA / CR method is that there must be so-called recessive states on the bus 40, which other subscriber stations 10, 20,
30 mit dominanten Zuständen auf dem Bus 40 überschrieben werden können. Im rezessiven Zustand herrschen an der einzelnen Teilnehmerstation 10, 20, 30 hochohmige Verhältnisse, was in Kombination mit den Parasiten der Busbeschaltung längere Zeitkonstanten zur Folge hat. Dies führt zu einer Begrenzung der maximalen Bitrate des heutigen CAN-FD-Physical-Layer auf derzeit etwa 2 Megabit pro Sekunde im realen Fahrzeug- Einsatz. 30 can be overwritten with dominant states on bus 40. In the recessive state, high-resistance conditions prevail at the individual subscriber stations 10, 20, 30, which in combination with the parasites of the bus circuit results in longer time constants. This leads to a limitation of the maximum bit rate of today's CAN FD physical layer to currently around 2 megabits per second in real vehicle use.
Ein Sender der Nachricht 45 beginnt ein Senden von Bits der Datenphase 452 auf den Bus 40 erst, wenn die Teilnehmerstation 10 als der Sender die Arbitration gewonnen hat und die Teilnehmerstation 10 als Sender damit zum Senden einen exklusiven Zugriff auf den Bus 40 des Bussystems 1 hat. A sender of the message 45 does not begin sending bits of the data phase 452 on the bus 40 until the subscriber station 10 as the sender has won the arbitration and the subscriber station 10 as the sender thus has exclusive access to the bus 40 of the bus system 1 for sending .
Ganz allgemein können in dem Bussystem mit CAN XL im Vergleich zu Classical CAN oder CAN FD folgende abweichenden Eigenschaften realisiert werden: a) Übernahme und ggf. Anpassung bewährter Eigenschaften, die für die Robustheit und Anwenderfreundlichkeit von Classical CAN und CAN FD verantwortlich sind, insbesondere Rahmenstruktur mit Identifier und Arbitrierung nach dem CSMA/CR- Verfahren, b) Steigerung der Netto-Datenübertragungsrate auf etwa 10 Megabit pro Sekunde, c) Anheben der Größe der Nutzdaten pro Rahmen auf eine beliebige Länge, beispielsweise bis etwa 4 kbyte. In general, the following different properties can be implemented in the bus system with CAN XL compared to Classical CAN or CAN FD: a) Adoption and, if necessary, adaptation of proven properties that are responsible for the robustness and user-friendliness of Classical CAN and CAN FD, in particular the frame structure with identifier and arbitration according to the CSMA / CR method, b) increase the net data transmission rate to about 10 megabits per second, c) increase the size of the useful data per frame to any length, for example up to about 4 kbytes.
Fig. 3 zeigt den grundlegenden Aufbau der Teilnehmerstation 10 mit der Kommunikationssteuereinrichtung 11, der Sende-/Empfangseinrichtung 12 und dem Konfliktdetektor 15. Die Teilnehmerstation 30 ist in ähnlicher Weise aufgebaut, wie in Fig. 3 gezeigt, außer dass der Konfliktdetektor 35 nicht in die Kommunikationssteuereinrichtung 31 integriert ist, sondern separat von der Kommunikationssteuereinrichtung 31 und der Sende-/Empfangseinrichtung 32 vorgesehen ist. Bei der Teilnehmerstation 20 ist der optional vorhandene Konfliktdetektor 25 in die Sende-/Empfangseinrichtung 22 integriert. Daher sind die Teilnehmerstationen 20, 30 und die Einrichtungen 25, 35 nicht separat beschrieben. Die nachfolgend beschriebenen Funktionen des Konfliktdetektors 15 sind bei jedem der Konfliktdetektoren 25, 35 identisch vorhanden. 3 shows the basic structure of the subscriber station 10 with the communication control device 11, the transmitting / receiving device 12 and the conflict detector 15. The subscriber station 30 is similar constructed as shown in FIG. 3, except that the conflict detector 35 is not integrated in the communication control device 31, but is provided separately from the communication control device 31 and the transceiver 32. In the subscriber station 20, the optionally present conflict detector 25 is integrated into the transmitting / receiving device 22. The subscriber stations 20, 30 and the devices 25, 35 are therefore not described separately. The functions of the conflict detector 15 described below are identical in each of the conflict detectors 25, 35.
Gemäß Fig. 3 hat die Teilnehmerstation 10 zusätzlich zu dem Konfliktdetektor 15 in der Kommunikationssteuereinrichtung 11 einen Senden/Empfangen-Block 111. Der Senden/Empfangen-Block 111 ist ein Protokoll-Controller, der das Sendesignal TxD gemäß dem Protokoll für beispielsweise einen Rahmen 450 für eine Nachricht 45 oder für einen Rahmen für eine Nachricht 46 erstellt und das Sendesignal TxD an die Sende-/Empfangseinrichtung 12 weitergibt und zum Empfangen eines Empfangssignals RxD von der Sende-/Empfangseinrichtung 12 übernimmt. Die Sende-/Empfangseinrichtung 12 ist an den Bus 40 angeschlossen, genauer gesagt dessen erste Busader 41 für CAN_H oder CAN- XL_H und dessen zweite Busader 42 für CAN_L oder CAN-XL_L. Für einen Rahmen 450 wird das Sendesignal TxD von der Sende-/Empfangseinrichtung 12 in Signale CAN-XL_H, CAN-XL_L für den Bus 40 umgesetzt, wie zuvor beschrieben. Das RxD-Signal wird erzeugt, wie ebenfalls zuvor beschrieben. According to FIG. 3, the subscriber station 10 has, in addition to the conflict detector 15 in the communication control device 11, a send / receive block 111. The send / receive block 111 is a protocol controller that sends the send signal TxD according to the protocol for a frame 450, for example for a message 45 or for a frame for a message 46 and forwards the transmission signal TxD to the transmitting / receiving device 12 and taking it over from the transmitting / receiving device 12 to receive a received signal RxD. The transmitting / receiving device 12 is connected to the bus 40, more precisely its first bus core 41 for CAN_H or CAN-XL_H and its second bus core 42 for CAN_L or CAN-XL_L. For a frame 450, the transmission signal TxD is converted by the transmitting / receiving device 12 into signals CAN-XL_H, CAN-XL_L for the bus 40, as described above. The RxD signal is generated as also previously described.
Der Konfliktdetektor 15 hat einen ersten Zähler 151, einen zweiten Zähler 152, einen Vergleichsblock 153 und einen optionalen Kompensationsblock 154. Der Konfliktdetektor 15 erfasst die Signale RxD und TxD, um einen Konflikt auf dem Bus 40 zu erkennen. Der Konfliktdetektor 15 liefert als Ergebnis ein Konfliktanzeigesignal S_K, um zu signalisieren, ob ein Konflikt auf den Bus 40 vorhanden ist oder nicht. Hat das Konfliktanzeigesignal S_K beispielsweise den Wert 1, wurde also beispielsweise ein Konflikt detektiert, so wird der Senden/Empfangen-Block 111 daraufhin beispielsweise einen Fehlerrahmen 47 auf den Bus 40 senden, anstatt mit dem bis dahin gesendeten Rahmen 450 fortzufahren. Zudem sendet der Senden/Empfangen-Block 111 an den Konfliktdetektor 15 optional ein Enable-Signal oder Einschaltsignal S_E, wenn der Konfliktdetektor 15 nur während eines gültigen Sendevorgangs arbeiten soll. The conflict detector 15 has a first counter 151, a second counter 152, a comparison block 153 and an optional compensation block 154. The conflict detector 15 detects the signals RxD and TxD in order to detect a conflict on the bus 40. As a result, the conflict detector 15 supplies a conflict indication signal S_K in order to signal whether or not there is a conflict on the bus 40. If the conflict indication signal S_K has the value 1, for example, if a conflict was detected, the send / receive block 111 will then send an error frame 47 to the bus 40 instead of continuing with the frame 450 sent up to then. In addition, the send / receive block 111 optionally sends an enable signal or a switch-on signal S_E to the conflict detector 15 if the conflict detector 15 is only to work during a valid sending process.
Optional kann der Senden/Empfangen-Block 111 ein Statussignal S_l an den Konfliktdetektor 15 senden. In dem Statussignal S_l sind diejenigen Informationen enthalten, die der Senden/Empfangen-Block 111 dem Konfliktdetektor 15 bereitstellt, beispielsweise eine Laufzeit TLD für den Kompensationsblock 154, was in Bezug auf Fig. 13 genauer beschrieben ist. The send / receive block 111 can optionally send a status signal S_l to the conflict detector 15. The status signal S_l contains that information which the send / receive block 111 provides to the conflict detector 15, for example a transit time TLD for the compensation block 154, which is described in more detail with reference to FIG.
Der Konfliktdetektor 15 von Fig. 3 arbeitet mit dem CAN Takt, der dem Takt der Kommunikationssteuereinrichtung 11, insbesondere des CAN XL Protocol Controllers, entspricht. Der CAN Takt ermöglicht durch seine relativ hohe Frequenz eine genaue Erfassung von Abweichungen in den Signalen RxD, TxD. Zusätzlich oder alternativ kann ein Zeitquantentakt (TimeQuanta Takt) verwendet werden, welcher vom Senden/Empfangen-Block 111 verwendet wird. Der Zeitquantentakt ist ein heruntergeteilter CAN Takt. Das Teilungsverhältnis kann ein Benutzer mit dem sogenannten Bit- Rate- Prescaler Parameter im CAN XL Controller einstellen. The conflict detector 15 of FIG. 3 works with the CAN clock, which corresponds to the clock of the communication control device 11, in particular the CAN XL protocol controller. Due to its relatively high frequency, the CAN clock enables precise detection of deviations in the signals RxD, TxD. Additionally or alternatively, a time quantum clock can be used which is used by the send / receive block 111. The time quantum cycle is a divided CAN cycle. A user can set the division ratio with the so-called bit rate prescaler parameter in the CAN XL controller.
Die genauere Funktion des Konfliktdetektors 15 ist nachfolgend nach Erläuterung der Signale im Bussystem 1 gemäß Fig. 4 bis Fig. 12 genauer beschrieben. The more precise function of the conflict detector 15 is described in more detail below after explaining the signals in the bus system 1 according to FIGS. 4 to 12.
Fig. 4 bis Fig. 7 veranschaulichen Signale im Normalbetrieb des Bussystems 1. Hierbei setzt die Sende-/Empfangseinrichtung 12 im Laufe der Zeit t ein Sendesignal TXD oder TxD der Kommunikationssteuereinrichtung 11 gemäß Fig. 4 in entsprechende Signale CAN-XL_H und CAN-XL_L für die Busadern 41, 42 um und sendet diese Signale CAN-XL_H und CAN-XL_L an den Anschlüssen für CAN_H und CAN_L auf den Bus 40, wie in Fig. 5 gezeigt. Aus den Signalen CAN-XL_H und CAN-XL_L von Fig. 5 bildet sich auf dem Bus 40 über der Zeit t eine Differenzspannung VDIFF = CAN-XL_H - CAN-XL_L aus, deren Verlauf in Fig. 6 gezeigt ist. 4 to 7 illustrate signals during normal operation of the bus system 1. In the course of time t, the transmitting / receiving device 12 sets a transmit signal TXD or TxD of the communication control device 11 according to FIG. 4 into corresponding signals CAN-XL_H and CAN-XL_L for the bus wires 41, 42 and sends these signals CAN-XL_H and CAN-XL_L to the connections for CAN_H and CAN_L on the bus 40, as shown in FIG. From the signals CAN-XL_H and CAN-XL_L from FIG. 5, a differential voltage VDIFF = CAN-XL_H - CAN-XL_L is formed on bus 40 over time t, the course of which is shown in FIG.
Mit Ausnahme eines Leerlauf- oder Bereitschaftszustands (Idle oder Standby), hört die Sende-/Empfangseinrichtung 12 im Normalbetrieb immer auf eine Übertragung von Daten bzw. Nachrichten 45, 46 auf dem Bus 40 und zwar unabhängig davon, ob die Sende-/Empfangseinrichtung 12 Sender der Nachricht 45 ist oder nicht. Dabei bildet die Sende-/Empfangseinrichtung 12 aus vom Bus 40 empfangenen Signalen CAN-XL_H und CAN-XL_L mit Empfangsschwellen T_u, T_d gemäß Fig. 6 ein Empfangssignal RXD oder RxD, wie in Fig. 7 über der Zeit t gezeigt. Für die Phasen 451, 453 wird mindestens eine Empfangsschwelle T_u verwendet, die in dem schraffierten Bereich in dem linken Teil von Fig. 6 liegt. Wie in Fig. 6 dargestellt, verwendet die Sende-/Empfangseinrichtung 12 in den Kommunikationsphasen 451, 453 die von Classical CAN/CAN-FD bekannte erste Empfangsschwelle T_u mit der typischen Lage von 0,7 V gemäß der ISO11898-2:2016, um die Buszustände 401, 402 in der ersten Betriebsart sicher erkennen zu können. Dagegen wird für die Datenphase 452 auf mindestens eine Empfangsschwelle T_d umgeschaltet, die in dem schraffierten Bereich in dem rechten Teil von Fig.6 liegt. Die Sende-/Empfangseinrichtung 12 gibt das Empfangssignal RXD oder RxD an die Kommunikationssteuereinrichtung 11 weiter, wie in Fig. 3 gezeigt. With the exception of an idle or standby state (idle or standby), the transmitting / receiving device 12 always listens to one in normal operation 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. The transmitting / receiving device 12 forms a received signal RXD or RxD from signals CAN-XL_H and CAN-XL_L received from bus 40 with reception thresholds T_u, T_d according to FIG. 6, as shown in FIG. 7 over time t. For the phases 451, 453, at least one reception threshold T_u is used, which is in the hatched area in the left part of FIG. 6. As shown in FIG. 6, in the communication phases 451, 453 the transceiver 12 uses the first reception threshold T_u known from Classical CAN / CAN-FD with the typical position of 0.7 V according to ISO11898-2: 2016 to be able to reliably recognize the bus states 401, 402 in the first operating mode. In contrast, for the data phase 452, a switch is made to at least one reception threshold T_d, which is located in the hatched area in the right-hand part of FIG. The transmitting / receiving device 12 forwards the received signal RXD or RxD to the communication control device 11, as shown in FIG. 3.
Gemäß dem Beispiel von Fig. 4 und Fig. 5 haben die Signale CAN-XL_H und CAN-XL_L in den zuvor genannten Kommunikationsphasen 451, 453 entsprechend den Zuständen H, L des Sendesignals TxD von Fig. 4 die dominanten und rezessiven Buspegel 401, 402, wie von CAN bekannt. Dagegen unterscheiden sich die Signale CAN-XL_H und CAN-XL_L in der Datenphase 452 von den herkömmlichen Signalen CAN_H und CAN_L. In der Datenphase 452 werden anstelle der Buspegel 401, 402 nun die Buspegel U_D1, U_D0 entsprechend den Datenzuständen H, L des Sendesignals TXD aktiv getrieben. Auf dem Bus 40 bildet sich das Differenzsignal VDIFF = CAN-XL_H - CAN-XL_L aus, wie in Fig. 6 gezeigt. According to the example of FIGS. 4 and 5, the signals CAN-XL_H and CAN-XL_L have the dominant and recessive bus levels 401, 402 in the aforementioned communication phases 451, 453 corresponding to the states H, L of the transmission signal TxD from FIG. 4 as known from CAN. In contrast, the signals CAN-XL_H and CAN-XL_L differ in the data phase 452 from the conventional signals CAN_H and CAN_L. In the data phase 452, instead of the bus levels 401, 402, the bus levels U_D1, U_D0 are now actively driven in accordance with the data states H, L of the transmission signal TXD. The difference signal VDIFF = CAN-XL_H - CAN-XL_L is formed on bus 40, as shown in FIG. 6.
Zudem wird von einer ersten Bitzeit T_btl in den Phasen 451, 453 auf eine zweite Bitzeit T_bt2 in der Phase 452 umgeschaltet. Die erste Bitzeit T_btl ist größer als die zweite Bitzeit T_bt2, auch wenn dies in Fig. 4 bis Fig. 7 zur Vereinfachung nicht dargestellt ist. Daher werden die Bits der Signale in den Phasen 451, 453 langsamer übertragen als in der Datenphase 452. Bei einer Bitrate von beispielsweise lOMbil/s in der Datenphase 452 hat die zweite Bitzeit T bt2 den Wert 100ns. Somit ist, die Bitzeitdauer T_bt2 in der Datenphase 452 bei dem gezeigten Beispiel von Fig. 4 und Fig. 5 deutlich kürzer als die Bitzeitdauer T_btl, die in der Arbitrationsphase 451 und der Rahmenendphase 453 verwendet wird. In addition, a switch is made from a first bit time T_btl in phases 451, 453 to a second bit time T_bt2 in phase 452. The first bit time T_btl is greater than the second bit time T_bt2, even if this is not shown in FIGS. 4 to 7 for the sake of simplicity. The bits of the signals are therefore transmitted more slowly in phases 451, 453 than in data phase 452. With a bit rate of, for example, 10Mbil / s in data phase 452, the second bit time T bt2 has the value 100 ns. Thus, the bit duration T_bt2 in the data phase 452 in the example shown in FIGS. 4 and 5 is significantly shorter than the bit duration T_btl that is used in the arbitration phase 451 and the frame end phase 453.
Somit wird die Sende-/Empfangseinrichtung 12 von dem Zustand, der in dem linken Teil von Fig. 4 gezeigt ist, für die Datenphase 452 in den Zustand umgeschaltet, der im rechten Teil von Fig. 4 gezeigt ist. Die Sende- /Empfangseinrichtung 12 wird somit von einer ersten Betriebsart in eine zweite Betriebsart umgeschaltet. Thus, the transceiver 12 is switched from the state that is shown in the left part of FIG. 4 for the data phase 452 to the state that is shown in the right part of FIG. The transmitting / receiving device 12 is thus switched from a first operating mode to a second operating mode.
Die Abfolge der Datenzustände H, L von Fig. 4 und somit der daraus resultierenden Buszustände U_D0, U_D1 für die Signale CAN-XL_H, CAN-XL_L in Fig. 5 und der daraus resultierende Verlauf der Spannung VDIFF von Fig. 6 dient nur der Veranschaulichung der Funktion der Sende-/Empfangseinrichtung 12. Die Abfolge der Datenzustände H, L von Fig. 4 und somit der daraus resultierenden Buszustände U_D0, U_D1 in Fig. 5 ist je nach Bedarf wählbar. The sequence of the data states H, L from FIG. 4 and thus the resulting bus states U_D0, U_D1 for the signals CAN-XL_H, CAN-XL_L in FIG. 5 and the resulting profile of the voltage VDIFF from FIG. 6 are only used for illustration the function of the transmitting / receiving device 12. The sequence of the data states H, L from FIG. 4 and thus the resulting bus states U_D0, U_D1 in FIG. 5 can be selected as required.
Fig. 8 bis Fig. 12 zeigen für die Datenphase 452 einen Signalverlauf der Signale TxDl, TxD2, CAN-XL_H und CAN-XL_L, deren Differenzspannung VDIFF = CAN-XL_H - CAN-XL_L und des resultierenden Empfangssignals RxD. Bei dem in Fig. 8 bis Fig. 12 gezeigten Fall, sendet beispielsweise die Sende- /Empfangseinrichtung 12 das Sendesignal TxDl für einen Rahmen 450, wobei beispielsweise die Teilnehmerstation 30, die in der Datenphase 452 eigentlich nur Empfänger des Rahmens 450 ist, einen Abbruch des Rahmens 450 erreichen möchte und daher das Sendesignal TxD2 sendet. For the data phase 452, FIGS. 8 to 12 show a signal profile of the signals TxDl, TxD2, CAN-XL_H and CAN-XL_L, their differential voltage VDIFF = CAN-XL_H-CAN-XL_L and the resulting received signal RxD. In the case shown in FIGS. 8 to 12, for example, the transmitting / receiving device 12 sends the transmission signal TxD1 for a frame 450, whereby, for example, the subscriber station 30, which is actually only the recipient of the frame 450 in the data phase 452, is aborted of the frame 450 wants to reach and therefore sends the transmit signal TxD2.
Es gibt verschiedene Gründe, warum ein Abbruch des Rahmens 450 erfolgen soll: There are various reasons why frame 450 should be aborted:
- die Teilnehmerstation 30 als RX-Teilnehmerstation hat einen Fehler in der Header Prüfsumme (CRC = Cyclic Redundancy Check) der CAN XL Nachricht 45 festgestellt, und möchte dies signalisieren, und/oder - The subscriber station 30 as an RX subscriber station has found an error in the header checksum (CRC = Cyclic Redundancy Check) of the CAN XL message 45, and would like to signal this, and / or
- die Teilnehmerstation 20, die eine CAN FD Teilnehmerstation ist, hat eventuell das Umschalten zu dem Format des Rahmens 450 aufgrund eines Bit Fehlers nicht erkannt und sendet einen Fehlerrahmen 47 während der Datenphase 452 des Rahmens 450, und/oder The subscriber station 20, which is a CAN FD subscriber station, may have to switch to the format of the frame 450 due to a bit error not recognized and sends an error frame 47 during the data phase 452 of the frame 450, and / or
- die Teilnehmerstation 30 als RX-Teilnehmerstation hat eine Nachricht 45, 46 mit höherer Priorität zu senden, und/oder the subscriber station 30 as an RX subscriber station has to send a message 45, 46 with a higher priority, and / or
- zwei CAN-XL-Teilnehmerstationen, beispielsweise die Teilnehmerstationen 10, 30 verwenden versehentlich den gleichen Identifizierer und senden somit beide in der Datenphase 452. - Two CAN-XL subscriber stations, for example the subscriber stations 10, 30 inadvertently use the same identifier and thus both send in the data phase 452.
Möchte beispielsweise die Teilnehmerstation 30 einen Abbruch des Rahmens 450 erreichen, welchen die Sende-/Empfangseinrichtung 12 mit dem Signal TxDl von Fig. 8 sendet, so sendet die Teilnehmerstation 30 das Sendesignal TxD2 gemäß Fig. 9 zum Bus 40. In der Phase 455 des Sendens des Fehlerrahmens 47, die mit der fallenden Flanke des Sendesignals TxD2 bei einem Zeitpunkt t2 beginnt, ergeben sich daher gemäß Fig. 10 und Fig. 11 Spannungszustände auf dem Bus 40, die von den Spannungszuständen auf dem Bus 40 im Normalbetrieb der Datenphase 452 abweichen. If, for example, the subscriber station 30 would like to abort the frame 450 which the transmitting / receiving device 12 sends with the signal TxDl of FIG. 8, the subscriber station 30 sends the transmit signal TxD2 according to FIG. 9 to the bus 40. In phase 455 of the Sending the error frame 47, which begins with the falling edge of the transmission signal TxD2 at a point in time t2, therefore results in voltage states on the bus 40 according to FIGS. 10 and 11 which deviate from the voltage states on the bus 40 during normal operation of the data phase 452 .
Ganz allgemein gilt, dass die sendende Teilnehmerstation, die das Sendesignal TxDl sendet, in der Datenphase 452 zum Treiben der Busleitungen 41, 42 auf einen Sende-Betriebsmodus umschaltet. Dagegen wird für alle empfangenden Teilnehmerstationen, wie die Teilnehmerstation 30, die in Fig. 11 gezeigte mindestens eine Empfangsschwelle Td eingeschaltet. Hierbei bleibt jedoch der Bustreiber der empfangenden Teilnehmerstation 30 im passiven Empfangszustand (CAN-recessive-state), bis die empfangende Teilnehmerstation 30 eventuell den Fehlerrahmen 47 sendet, wie in Fig. 9 für das Sendesignal TxD2 gezeigt und zuvor erwähnt. Der Fehlerrahmen 47 gemäß dem rechten Teil von Fig. 7 wird dann aktiv als "dominant" gesendet werden. Um die Interoperabilität von CAN-XL und CAN-FD zu ermöglichen, wird ein Fehlerrahmen 47 wie bereits bei CAN/CAN-FD durch die Aneinanderreihung von 6 oder mehr (je nach Bit- Stuffing- Methode) Bits mit positivem VDIFF repräsentiert. In general, the sending subscriber station that sends the send signal TxD1 switches to a send operating mode in the data phase 452 for driving the bus lines 41, 42. In contrast, the at least one reception threshold Td shown in FIG. 11 is switched on for all receiving subscriber stations, such as subscriber station 30. Here, however, the bus driver of the receiving subscriber station 30 remains in the passive receiving state (CAN recessive state) until the receiving subscriber station 30 possibly sends the error frame 47, as shown in FIG. 9 for the transmit signal TxD2 and mentioned above. The error frame 47 according to the right-hand part of FIG. 7 will then be actively sent as "dominant". In order to enable the interoperability of CAN-XL and CAN-FD, an error frame 47 is represented by the stringing together of 6 or more (depending on the bit stuffing method) bits with positive VDIFF, as was the case with CAN / CAN-FD.
Wird in dem zuvor beschriebenen Fall von Teilnehmerstation 30 ein Fehlerrahmen 47 gesendet, ändert sich in der Folge gemäß Fig. 11 der transiente Verlauf der Differenzspannung VDIFF sehr stark. Aus Sicht aller Teilnehmerstationen 10, 20, 30 wird ein Bit mit positiver Differenzspannung VDIFF, also der Buszustand U_D1, noch verstärkt bzw. die positive Differenzspannung VDIFF wird vergrößert. Dagegen wird ein Bit, das sich als der Buszustand U_D0 auf dem Bus 40 ausbildet, von der Differenzspannung VDIFF = -2 V auf eine Differenzspannung VDIFF von etwa 0V erhöht. Der entstehende Spannungswert für den Buszustand U_D0 hängt stark von den Parametern der treibenden Sende- /Empfangseinrichtungen 12, 22, 32 bzw. des Senders 121, sowie der Anordnung der Abschlusswiderstände ab. If, in the case described above, an error frame 47 is sent by subscriber station 30, the transient course of the differential voltage VDIFF changes very sharply in the sequence shown in FIG. 11. From everyone's point of view Subscriber stations 10, 20, 30, a bit with a positive differential voltage VDIFF, that is to say the bus state U_D1, is further amplified or the positive differential voltage VDIFF is increased. In contrast, a bit that is formed as the bus state U_D0 on the bus 40 is increased from the differential voltage VDIFF = -2 V to a differential voltage VDIFF of approximately 0V. The resulting voltage value for the bus state U_D0 depends heavily on the parameters of the driving transceiver devices 12, 22, 32 or of the transmitter 121, as well as the arrangement of the terminating resistors.
Wie in Fig. 12 schematisch mit einer Ellipse 60 dargestellt, kann dies im Ergebnis zu einem nicht erkannten 1-Puls im Empfangssignal RxD führen. Möglich ist auch, dass ein 1-Puls am RxD-Anschluss und somit im Empfangssignal RxD verkürzt ist, wie in Fig. 12 mit einer Ellipse 65 markiert. Über die Darstellung von Fig. 12 hinaus ist die Differenzspannung VDIFF im realen Fall noch von hochfrequenten Schwingungen überlagert, welche durch Bustopologie, Phasenlage und Impedanz der Teilnehmerstation bestimmt sind, die den Fehlerrahmen 47 sendet. Verkürzte oder verlängerte 1-Pluse (oder 0-Pulse) können auch von einem von CAN FD bekannten TDC-Verfahren (TDC = Transmitter Delay Compensation = Verzögerungskompensation der Sende- /Empfangseinrichtung) in den meisten Fällen nicht erkannt werden. As shown schematically in FIG. 12 with an ellipse 60, this can result in an unrecognized 1-pulse in the received signal RxD. It is also possible for a 1-pulse at the RxD connection and thus in the received signal RxD to be shortened, as marked with an ellipse 65 in FIG. 12. In addition to the illustration in FIG. 12, the differential voltage VDIFF is in the real case still superimposed by high-frequency oscillations which are determined by the bus topology, phase position and impedance of the subscriber station that sends the error frame 47. Shortened or lengthened 1-plus (or 0-pulses) cannot be recognized in most cases by a TDC method known from CAN FD (TDC = Transmitter Delay Compensation = delay compensation of the transmitting / receiving device).
Auch wenn die Fehlererkennung durch die Hinzunahme von weiteren Empfangsschwellen in der Sende-/Empfangseinrichtung 12 verbessert werden kann, so gibt es jedoch Signalverläufe, welche auch dadurch nicht mehr als Fehler erkannt werden können. Even if the error detection can be improved by adding further reception thresholds in the transmitting / receiving device 12, there are, however, signal profiles which can no longer be detected as errors even as a result.
Gemäß Fig. 3 hat der Konfliktdetektor 15 in der Teilnehmerstation 10 für die Erkennung eines Sendekonflikts, der den Buskonflikt gemäß Fig. 11 verursacht, die Zähler 151, 152 und den Vergleichsblock 153. Bei dem Sendekonflikt hat die Teilnehmerstation 10 in der Datenphase 452 keinen exklusiven, kollisionsfreien Zugriff mehr auf den Bus 40. According to FIG. 3, the conflict detector 15 in the subscriber station 10 has the counters 151, 152 and the comparison block 153 for the detection of a transmission conflict which causes the bus conflict according to FIG. 11. In the transmission conflict, the subscriber station 10 does not have an exclusive one in the data phase 452 , more collision-free access to bus 40.
Der Konfliktdetektor 15 erfasst die Signale RxD und TxD unter Verwendung der beiden Zähler 151, 152. Hierbei wird der Zähler 151 zur Auswertung des Sendesignals TxD verwendet, wobei der Zähler 151 seinen Zählwert Ztx verändert. Der Zähler 152 wird zur Auswertung des Empfangssignals RxD verwendet, wobei der Zähler 152 seinen Zählwert Zrx verändert. Die Zähler 151, 152 zählen jeweils nicht nur die Anzahl der Pegel in den betrachteten Signalen TxD, RxD. Sondern die Zähler 151, 152 zählen jeweils auch die akkumulierte Dauer des Auftretens über der Zeit t mit einem Takt, insbesondere dem CAN Takt. Der CAN-Takt ist in der Kommunikationssteuereinrichtung 11 vorhanden und wird an den Konfliktdetektor 15 mit dem Statussignal S_l weitergeleitet. The conflict detector 15 detects the signals RxD and TxD using the two counters 151, 152. Here, the counter 151 is used to evaluate the transmission signal TxD, the counter 151 its count value Ztx changed. The counter 152 is used to evaluate the received signal RxD, the counter 152 changing its count value Zrx. The counters 151, 152 each count not only the number of levels in the signals TxD, RxD under consideration. Instead, the counters 151, 152 each also count the accumulated duration of the occurrence over the time t with a clock, in particular the CAN clock. The CAN clock is present in the communication control device 11 and is forwarded to the conflict detector 15 with the status signal S_l.
Der Sende-Empfangen-Block 111 setzt zu Beginn der Datenphase 452, also bei dem Zeitpunkt tl das Enable-Signal oder Einschaltsignal S_E auf 1, um die Konflikterkennung mit dem Konfliktdetektor 15 zu starten. Da in diesem Ausführungsbeispiel das verzögerte TxDl Signal TxDl_d verwendet wird, wird auch das Enable-Signal S_E um die Zeitdauer bzw. Laufzeit TLD verzögert auf 1 gesetzt, wie in Fig. 13 veranschaulicht. Mit der Flanke des Einschaltsignals S_E werden die Zählwerte Ztx, Zrx der Zähler 151, 152 auf Null zurückgesetzt. The send / receive block 111 sets the enable signal or switch-on signal S_E to 1 at the beginning of the data phase 452, that is to say at time t 1, in order to start the conflict detection with the conflict detector 15. Since the delayed TxDl signal TxDl_d is used in this exemplary embodiment, the enable signal S_E is also set to 1, delayed by the duration or transit time TLD, as illustrated in FIG. With the edge of the switch-on signal S_E, the count values Ztx, Zrx of the counters 151, 152 are reset to zero.
Der Konfliktdetektor 15 vergleicht die Signale RxD, TxD miteinander, um einen Buskonflikt zu erkennen. Dazu ermittelt er die Dauer des Auftretens eines der Buspegel (0 oder 1) fortlaufend in der Datenphase 452 eines Rahmens 450 am RxD und am TxD-Signal. Der Zählwert Ztx des Zählers 151 wird einmal pro Taktperiode um 1 inkrementiert, wenn das Sendesignal TxD einen Wert H hat, beispielsweise wenn gilt TxD = 1, wie in Fig. 13 gezeigt. Der Zählwert Zrx des Zählers 152 wird um 1 inkrementiert, wenn das Empfangssignal RxD einen Wert H hat, beispielsweise wenn gilt RxD = 1, wie in Fig. 13 gezeigt. Ist beispielsweise der Pegel des RxD-Signals für die Dauer von 40 Taktperioden auf dem Wert H, so wird der Zähler Zrx in dieser Zeit um 40 inkrementiert. Alternativ können die Zähler 151, 152 ihren Zählwert Ztx, Zrx erhöhen, wenn die Zustände TxD = 0 und RxD = 0 der jeweils von den Zählern 151, 152 betrachteten Signale TxD, RxD erfasst werden. The conflict detector 15 compares the signals RxD, TxD with one another in order to detect a bus conflict. To do this, it continuously determines the duration of the occurrence of one of the bus levels (0 or 1) in the data phase 452 of a frame 450 on the RxD and on the TxD signal. The count value Ztx of the counter 151 is incremented by 1 once per clock period when the transmission signal TxD has a value H, for example when TxD = 1, as shown in FIG. The count value Zrx of the counter 152 is incremented by 1 when the received signal RxD has a value H, for example when RxD = 1, as shown in FIG. If, for example, the level of the RxD signal is at the value H for the duration of 40 clock periods, the counter Zrx is incremented by 40 during this time. Alternatively, the counters 151, 152 can increase their count value Ztx, Zrx if the states TxD = 0 and RxD = 0 of the signals TxD, RxD respectively observed by the counters 151, 152 are detected.
Die von dem Konfliktdetektor 15 ermittelte Dauer des Auftretens eines der Buspegel (0 oder 1) ist somit die Häufigkeit des Auftretens eines vorbestimmten Pegels. Die Dauer wird somit mit einem vorbestimmten Takt gezählt, insbesondere dem CAN-Takt, der der Takt der Kommunikationssteuereinrichtung 11 ist. Der aus der Zählung resultierende Zählwert Ztx, Zrx kann auch als akkumulierte Dauer bezeichnet werden, wie zuvor beschrieben. The duration of the occurrence of one of the bus levels (0 or 1) determined by the conflict detector 15 is thus the frequency of occurrence of a predetermined level. The duration is thus counted with a predetermined cycle, in particular the CAN cycle, which is the cycle of the communication control device 11 is. The count value Ztx, Zrx resulting from the count can also be referred to as the accumulated duration, as described above.
Aus dem Vergleich der Messungen der Zähler 151, 152 für die Signale TxD und RxD mit dem Vergleichsblock 153 lässt sich der Buskonflikt ableiten. Hierfür bildet der Vergleichsblock 153 eine Differenz D = Ztx - Zrx als Messergebnis, wie in Fig. 13 veranschaulicht. Hierbei berücksichtigt der Konfliktdetektor 15, dass das TxD-Signal ideal ist, aber das RxD-Signal auch im konfliktfreien Fall nicht ideal ist, also vom TxD Signal verschieden ist. The bus conflict can be derived from the comparison of the measurements of the counters 151, 152 for the signals TxD and RxD with the comparison block 153. For this purpose, the comparison block 153 forms a difference D = Ztx − Zrx as a measurement result, as illustrated in FIG. 13. Here, the conflict detector 15 takes into account that the TxD signal is ideal, but the RxD signal is not ideal even in a conflict-free case, that is to say it is different from the TxD signal.
Zur Erkennung eines Konfliktes muss der Vergleichsblock 153 die Differenz D der Zählwerte Ztx, Zrx der Zähler 151, 152 regelmäßig bilden und bewerten. Regelmäßig bedeutet beispielsweise 1 Mal pro Bitzeit T_bt2 oder 1-mal pro 5 Bitzeiten T_bt2. Vereinfacht gilt, wenn die Differenz D stark zunimmt (oder abnimmt), dann besteht ein Buskonflikt. Die Änderung der aktuell gebildeten Differenz D zu der letzten gebildeten Differenz D wird als DeltaD bezeichnet. To detect a conflict, the comparison block 153 must regularly form and evaluate the difference D between the count values Ztx, Zrx of the counters 151, 152. Regularly means, for example, 1 time per bit time T_bt2 or 1 time per 5 bit times T_bt2. In simplified terms, if the difference D increases (or decreases) sharply, then there is a bus conflict. The change between the currently formed difference D and the last difference D formed is referred to as DeltaD.
Wenn DeltaD eine Schwelle Ts, die auch als DeltaDiffRef bezeichnet werden kann, überschreitet bzw. deutlich überschreitet, dann ist die Asymmetrie größer als im Normalbetrieb und es liegt höchstwahrscheinlich ein Buskonflikt vor. Die Schwelle Ts kann auf verschiedene Arten festgelegt werden. Beispielsweise kann DeltaD im normalen Betrieb gemessen werden, insbesondere im ersten erfolgreich gesendeten Rahmen. Alternativ kann DeltaD laufend mit jedem erfolgreich gesendeten Rahmen gemessen werden. Wird zum Beispiel im fehlerfreien Fall ein DeltaD = +2 gemessen, so nimmt die Differenz D pro Bitzeit T_bt2 um 2 zu, wenn ein Bit mit dem Wert TxD=l gesendet wird. Die Schwelle Ts kann dann beispielsweise als „im fehlerfreien Fall gemessenes DeltaD“ + 2 definiert sein, also bei dem genannten Beispiel als Ts = 2 + 2 = 4. If DeltaD exceeds or significantly exceeds a threshold Ts, which can also be referred to as DeltaDiffRef, then the asymmetry is greater than in normal operation and there is most likely a bus conflict. The threshold Ts can be set in various ways. For example, DeltaD can be measured during normal operation, especially in the first successfully transmitted frame. Alternatively, DeltaD can be measured continuously with every successfully sent frame. For example, if a DeltaD = +2 is measured in the error-free case, the difference D per bit time T_bt2 increases by 2 if a bit with the value TxD = 1 is sent. The threshold Ts can then be defined, for example, as “DeltaD measured in the error-free case” + 2, that is to say, in the example mentioned, as Ts = 2 + 2 = 4.
Alternativ kann die Schwelle Ts initial vorgegeben werden. Wird beispielsweise die Differenzänderung DeltaD ein Mal pro Bitzeit T_bt2 ermittelt, dann ist beispielsweise ein möglicher Wert für die Schwelle Ts eine halbe Bitzeit T_bt2. Somit gilt, wenn ein gesendetes Bit 20 CAN Taktperioden lang ist, dann ist eine Schwelle Ts =10. Fig. 13 zeigt ein spezielles Beispiel für einen Verlauf der Zählerwerte Ztx, Zrx für den Verlauf des Signals TxD2, mit welchem der Fehlerrahmen 47 gesendet wird, des verzögerten Sendesignals TxDl_d und des resultierenden Signals RxDl. Bei dem gezeigten Beispiel ist angenommen, dass ohne Buskonflikt auch das Empfangssignal RxDl ideal ist, um das Bild zu vereinfachen. In Wirklichkeit wird das RxDl-Signal im Normalbetrieb (ohne Buskonflikt) leicht asymmetrisch sein, das heißt, dass die 1 Bits etwas länger sind als die 0 Bits, oder umgekehrt. Das hat zur Folge, dass die zwei Zähler Ztx und Zrx langsam auseinanderlaufen. Das RxDl-Signal ist aufgrund der Laufzeit TLD über den Bus 40, genauer gesagt vom TxD-Anschluss der sendenden Teilnehmerstation zu dem RxD-Anschluss der gleichen sendenden Teilnehmerstation, um die Laufzeit TLD gegenüber dem TxD-Signal verzögert. Jedes Bit hat die Bitzeit T_bt2. In der Zeitdauer T_K entsteht bzw. besteht der Konflikt auf dem Bus 40, da die schematisch eingezeichnete Schwelle Ts überschritten wird. Alternatively, the threshold Ts can be specified initially. If, for example, the difference change DeltaD is determined once per bit time T_bt2, then a possible value for the threshold Ts is, for example, half a bit time T_bt2. Thus, if a sent bit is 20 CAN clock periods long, then a threshold Ts = 10. 13 shows a specific example of a course of the counter values Ztx, Zrx for the course of the signal TxD2 with which the error frame 47 is sent, the delayed transmission signal TxDl_d and the resulting signal RxDl. In the example shown, it is assumed that, without a bus conflict, the received signal RxD1 is also ideal in order to simplify the picture. In reality, the RxDl signal will be slightly asymmetrical in normal operation (without bus conflict), i.e. the 1 bits are slightly longer than the 0 bits, or vice versa. This has the consequence that the two counters Ztx and Zrx slowly diverge. The RxDl signal is delayed due to the transit time TLD via the bus 40, more precisely from the TxD connection of the sending subscriber station to the RxD connection of the same sending subscriber station, by the transit time TLD compared to the TxD signal. Each bit has the bit time T_bt2. In the time period T_K the conflict arises or exists on the bus 40, since the threshold Ts shown schematically is exceeded.
Im Fall eines Buskonfliktes wird die Bitasymmetrie verstärkt. Dies führt in dem Beispiel von Fig. 13 dazu, dass die 1 Pegel am Bus 40 verkürzt werden. Somit nimmt der Zählwert Zrx des Zählers 152 in der Zeitdauer T_K langsamer zu als der Zählwert Ztx des Zählers 151. In the event of a bus conflict, the bit asymmetry is increased. In the example of FIG. 13, this leads to the 1 level on bus 40 being shortened. The count value Zrx of the counter 152 thus increases more slowly than the count value Ztx of the counter 151 in the period T_K.
Für eine schnellere und genauere Detektion eines Konfliktes, also optional, kompensiert der Konfliktdetektor 15 mit dem Kompensationsblock 154 die Laufzeit TLD vom TxD-Signal über den Transceiver zum RxD-Signal. Hierbei verwendet der Kompensationsblock 154 einen Takt, insbesondere den CAN-Takt und/oder den Takt zum Abtasten von Bits des digitalen Empfangssignals und/oder einen sonstigen Takt, der von der Kommunikationssteuereinrichtung 11 über das Status-Signal S_l bereitgestellt werden kann. Die Laufzeit TLD kann auch als Transmitter Loop Delay (TLD) bezeichnet werden. Wird die Laufzeit TLD nicht berücksichtigt und kompensiert, muss die Differenz der zwei Zähler Ztx und Zrx toleranter ausgewertet werden. Insbesondere muss die Schwelle Ts für eine Detektion eines Buskonflikts größer sein, als der Wert der Differenz D, um den sich einer der Zähler 151, 152 während der Zeit TLD ändern kann. For faster and more accurate detection of a conflict, that is to say optionally, the conflict detector 15 compensates for the transit time TLD from the TxD signal via the transceiver to the RxD signal with the compensation block 154. The compensation block 154 uses a clock, in particular the CAN clock and / or the clock for sampling bits of the digital received signal and / or another clock that can be provided by the communication control device 11 via the status signal S_l. The TLD runtime can also be referred to as Transmitter Loop Delay (TLD). If the runtime TLD is not taken into account and compensated, the difference between the two counters Ztx and Zrx must be evaluated more tolerantly. In particular, the threshold Ts for detection of a bus conflict must be greater than the value of the difference D by which one of the counters 151, 152 can change during the time TLD.
Für die Kompensation misst der Senden/Empfangen-Block 111 die Laufzeit TLD. Dies kann z.B. an der ersten steigenden oder fallenden Flanke in der Datenphase 452 erfolgen. Die Messung der Laufzeit TLD erfolgt prinzipiell genauso wie es bei CAN FD für die TDC Funktion notwendig ist. Der Senden/Empfangen-Block 111 stellt dem Konfliktdetektor 15 die gemessene Laufzeit TLD als Information über das Status-Signal S_l bereit. For the compensation, the send / receive block 111 measures the transit time TLD. This can be done, for example, on the first rising or falling edge in the Data phase 452 occur. The TLD runtime is measured in the same way as it is necessary for the TDC function with CAN FD. The send / receive block 111 provides the conflict detector 15 with the measured transit time TLD as information about the status signal S_l.
Infolge dessen kann der Konfliktdetektor 15 mit dem Kompensationsblock 154 das von dem Senden/Empfangen-Block 111 gesendete TxD-Signal verzögern, anstatt das TxD-Signal direkt zu verarbeiten. Somit betrachtet der Konfliktdetektor 15 das Signal TxD_d, wie im oberen Teil von Fig. 13 dargestellt. Zudem wird das Einschaltsignal S_E nach dem Beginn der Datenphase 452 um die Laufzeit TLD verzögert generiert. Damit wird das RxD-Signal von dem Konfliktdetektor 15 erst ab dem Zeitpunkt analysiert, ab dem das RxD-Signal gültig ist. Fig. 13 zeigt das Empfangssignal RxDl, das von der Teilnehmerstation 10 bei dem zuvor genannten Beispiel erzeugt wird, bei dem die Teilnehmerstation 10 das Sendesignal TxDl sendet und die Teilnehmerstation 30 das Sendesignal TxDl mit einem Sendesignal TxD2 abbrechen möchte. As a result, the conflict detector 15 with the compensation block 154 can delay the TxD signal sent by the send / receive block 111 instead of processing the TxD signal directly. The conflict detector 15 thus considers the signal TxD_d, as shown in the upper part of FIG. In addition, the switch-on signal S_E is generated after the start of the data phase 452 delayed by the runtime TLD. The RxD signal is thus analyzed by the conflict detector 15 only from the point in time from which the RxD signal is valid. 13 shows the received signal RxDl, which is generated by the subscriber station 10 in the aforementioned example, in which the subscriber station 10 sends the transmit signal TxD1 and the subscriber station 30 would like to abort the transmit signal TxD1 with a transmit signal TxD2.
Der Kompensationsblock 154 kann als Schieberegister ausgestaltet sein. Alternativ und viel ressourcensparender kann der Kompensationsblock 154 als Zustandsautomat ausgestaltet sein. Dies ist möglich, weil in der als Sender agierenden Teilnehmerstation bekannt ist, aus wie vielen CAN Taktperioden bzw. Zeitquanten (TimeQuanta) ein gesendetes Bit besteht. The compensation block 154 can be designed as a shift register. Alternatively, and in a much more resource-saving manner, the compensation block 154 can be configured as a state machine. This is possible because the subscriber station acting as the transmitter knows how many CAN clock periods or time quanta (TimeQuanta) a transmitted bit consists of.
Die Kommunikationssteuereinrichtung 11 reagiert in der Datenphase 452 auf den signalisierten Sendekonflikt bzw. Buskonflikt mit dem Abbruch der Datenphase 452 und gegebenenfalls zusätzlich mit dem Senden eines Bitmusters, beispielsweise eines Fehlerrahmens 47, das den anderen Teilnehmerstationen 20, 30 das Ende der Datenphase 452 signalisiert. Die Kommunikationssteuereinrichtung 11 schaltet in die Arbitrationsphase 451 zurück. The communication control device 11 reacts in the data phase 452 to the signaled transmission conflict or bus conflict by aborting the data phase 452 and, if necessary, also by sending a bit pattern, for example an error frame 47, which signals the end of the data phase 452 to the other subscriber stations 20, 30. The communication control device 11 switches back to the arbitration phase 451.
Bei den Teilnehmerstationen 20, 30 kann die Signalisierung des Konflikts in der Datenphase 452 durch ein Signal von der jeweiligen Sende- /Empfangseinrichtung 22, 32 an die zugehörigeAt the subscriber stations 20, 30, the conflict can be signaled in the data phase 452 by a signal from the respective transceiver 22, 32 to the associated
Kommunikationssteuereinrichtung 21, 32 erfolgen. Das Signal kann das Empfangssignal RXD sein, welches die entsprechende Sende- /Empfangseinrichtung 22 oder der Konfliktdetektor 35 mit einem vorbestimmen Bitmuster abändert, um den Konflikt zu signalisieren. Alternativ oder zusätzlich kann die entsprechende Sende-/Empfangseinrichtung 22, 32 oder der Konfliktdetektor 25, 35 ein separates Signal erzeugen, das über eine separate Signalleitung an die zugehörige Kommunikationssteuereinrichtung 21, 31 gesendet wird und insbesondere mindestens einen Schaltimpuls oder ein vorbestimmtes Bitmuster zur Signalisierung des Konflikts hat. Communication control device 21, 32 take place. The signal can do that The reception signal RXD, which the corresponding transceiver 22 or the conflict detector 35 modifies with a predetermined bit pattern in order to signal the conflict. Alternatively or additionally, the corresponding transmitting / receiving device 22, 32 or the conflict detector 25, 35 can generate a separate signal that is sent via a separate signal line to the associated communication control device 21, 31 and in particular at least one switching pulse or a predetermined bit pattern for signaling the Has conflict.
Weil in der Datenphase 452 der Sendekonflikt bzw. Buskonflikt an die zugehörige Kommunikationssteuereinrichtung 11, 21, 31 signalisiert wird, kann die im klassischen CAN herkömmliche Bitfehler-Prüfung durch den Vergleich von Sendesignal TXD mit Empfangssignal RXD ersetzt werden durch die Prüfung des Konfliktanzeigesignals S_K. Das Konfliktanzeigesignal S_K hat insbesondere ein vorbestimmtes Bitmuster, das den Sendekonflikt bzw. Buskonflikt signalisiert bzw. anzeigt. Insbesondere kann das Konfliktanzeigesignal S_K eine T als "OK-Signal" und eine 'O' als "Konflikt- Meldung" senden. Because the send conflict or bus conflict is signaled to the associated communication control device 11, 21, 31 in data phase 452, the bit error check conventional in classic CAN can be replaced by comparing the send signal TXD with the receive signal RXD by checking the conflict indication signal S_K. The conflict indication signal S_K has, in particular, a predetermined bit pattern which signals or indicates the transmission conflict or bus conflict. In particular, the conflict indication signal S_K can send a T as an "OK signal" and an 'O' as a "conflict message".
Optional bei den vorangehend beschriebenen Ausgestaltungen der Detektoren 15, 25, 35 ist, dass Flanken mindestens eines der Signale TxD, RxD mit erkannt und gezählt werden können. Hierfür kann mindestens ein zusätzlicher Zähler vorhanden sein. Wird pro Bit mehr als eine Flanke gezählt, so deutet dies auf einen Fehler hin. Der Konfliktdetektor 15, 25, 35 kann ein solches Ereignis beispielsweise sofort mit dem Signal S_K als Buskonflikt melden. Alternativ kann ein solches Ereignis erfasst werden, indem der Zählwert zusätzlich um einen vorbestimmten Wert inkrementiert wird, z.B. Zrx := Zrx + 1/2 Bitzeit T_b2. It is optional in the embodiments of the detectors 15, 25, 35 described above that edges of at least one of the signals TxD, RxD can also be recognized and counted. There can be at least one additional counter for this. If more than one edge is counted per bit, this indicates an error. The conflict detector 15, 25, 35 can, for example, immediately report such an event as a bus conflict with the signal S_K. Alternatively, such an event can be recorded by additionally incrementing the count value by a predetermined value, e.g. Zrx: = Zrx + 1/2 bit time T_b2.
Optional könnten bei den vorangehend beschriebenen Ausgestaltungen der Detektoren 15, 25, 35 die Zähler 151, 152 anstatt nur einen Buspegel zu zählen auch beide Buspegel zählen. In einem solchen Fall könnte beispielsweise der Zähler 151 bei dem Pegel 1 den Zählwert Ztx inkrementieren und bei dem Pegel 0 den Zählwert Ztx dekrementieren. Besonders vorteilhaft an den zuvor beschriebenen Varianten der Bewertung ist, dass die Ausgestaltung der Sende-/Empfangseinrichtung 12 sowohl für homogene CAN-XL-Bussysteme, bei welchen nur CAN XL Nachrichten 45 und keine CAN FD Nachrichten 46 versandt werden, als auch für gemischte Bussysteme einsetzbar ist, bei welchen entweder CAN XL Nachrichten 45 oder CAN FD Nachrichten 46 versandt werden. Daher ist die Sende- /Empfangseinrichtung 12 universell einsetzbar. Optionally, in the embodiments of the detectors 15, 25, 35 described above, the counters 151, 152 could count both bus levels instead of just counting one bus level. In such a case, for example, the counter 151 could increment the count value Ztx at level 1 and decrement the count value Ztx at level 0. What is particularly advantageous about the variants of the evaluation described above is that the design of the transmitting / receiving device 12 is used both for homogeneous CAN-XL bus systems in which only CAN XL messages 45 and no CAN FD messages 46 are sent, and for mixed bus systems can be used in which either CAN XL messages 45 or CAN FD messages 46 are sent. The transmitting / receiving device 12 can therefore be used universally.
Fig. 14 veranschaulicht eine Ausgestaltung eines Konfliktdetektors 15A gemäß einem zweiten Ausführungsbeispiel. Der Konfliktdetektor 15A und die Kommunikationssteuereinrichtung 11 gemäß dem vorliegenden Ausführungsbeispiel sind bis auf die nachfolgend beschriebenen Unterschiede ausgestaltet, wie der Konfliktdetektor 15 und die Kommunikationssteuereinrichtung 11 gemäß dem vorangehenden Ausführungsbeispiel. 14 illustrates a configuration of a conflict detector 15A according to a second embodiment. The conflict detector 15A and the communication control device 11 according to the present exemplary embodiment are designed like the conflict detector 15 and the communication control device 11 according to the preceding exemplary embodiment, apart from the differences described below.
Der Konfliktdetektor 15A führt eine akkumulierte Bitasymmetrie-Messung durch. Hierfür hat der Konfliktdetektor 15A nur ein Zähler 150, der den Unterschied zwischen dem RxD-Signal und dem TxD-Signal misst bzw. zählt. Der Zähler 150 wird dann inkrementiert, wenn das Signal RxD und das um die Laufzeit TLD verzögerte TxD-Signal verschieden sind. Damit zählt der Zähler 150 des Detektors 15A den Unterschied, also die Bit-Asymmetrie, zwischen RxD und TxD. Bei hohen Bitraten von beispielsweise 5 Mbit/s oder mehr ist es sehr vorteilhaft, wenn das RxD-Signal mit dem verzögerten, also kompensierten TxD Signal verglichen wird. Die Verzögerung des TxD-Signals übernimmt der Kompensationsblock 154. Diese Variante ist ähnlich zu der Variante, die der Konfliktdetektor 15 gemäß dem vorangehenden Ausführungsbeispiel ausführt. The conflict detector 15A performs an accumulated bit asymmetry measurement. For this purpose, the conflict detector 15A has only one counter 150 which measures or counts the difference between the RxD signal and the TxD signal. The counter 150 is incremented when the signal RxD and the TxD signal delayed by the transit time TLD are different. The counter 150 of the detector 15A thus counts the difference, that is to say the bit asymmetry, between RxD and TxD. At high bit rates of, for example, 5 Mbit / s or more, it is very advantageous if the RxD signal is compared with the delayed, i.e. compensated TxD signal. The compensation block 154 takes over the delay of the TxD signal. This variant is similar to the variant carried out by the conflict detector 15 according to the preceding exemplary embodiment.
Wie bei dem vorangehenden Ausführungsbeispiel wird der Zähler 150 mit der Flanke des Einschaltsignals S_E zurückgesetzt auf Null und zählt anschließend mit dem CAN Takt und/oder Zeitquantentakt (TimeQuanta Takt) die Unterschiede zwischen dem RxD-Signal und dem um die Laufzeit TLD verzögerten TxD- Signal. Außerdem wird ein Zählwert Zasym des Zählers 150 in regelmäßigen Abständen, beispielsweise einmal pro Bitzeit ausgewertet, wie in Bezug auf das vorangehende Ausführungsbeispiel beschrieben. Überschreitet die Änderung des Zählwerts Zasym als Messergebnis einen Schwellwert, so liegt eine große Asymmetrie vor und somit ist ein Buskonflikt erkannt. Der Konfliktdetektor 15A signalisiert den Buskonflikt mit dem Signal S_K. As in the previous embodiment, the counter 150 is reset to zero with the edge of the switch-on signal S_E and then uses the CAN clock and / or time quantum clock to count the differences between the RxD signal and the TxD signal delayed by the time TLD . In addition, a count value Zasym of the counter 150 is evaluated at regular intervals, for example once per bit time, as described with reference to the preceding exemplary embodiment. If the change in the If the counter value Zasym exceeds a threshold value as the measurement result, then there is a large asymmetry and a bus conflict is recognized. The conflict detector 15A signals the bus conflict with the signal S_K.
Um die Änderung des Zählwerts Zasym leichter bewerten zu können, kann der Zählwert Zasym mit der Frequenz der Auswertung zurückgesetzt werden. Wird der Zählwert Zasym beispielsweise 1-mal pro Bitzeit T_bt2 ausgewertet, kann der Zähler 150 bei der Auswertung auch zurückgesetzt werden. Dies hat den Vorteil, dass die Änderung des Zählwerts Zasym genau dem Wert des Zählwerts Zasym entspricht, weil die Zählung immer wieder bei 0 startet. Der Nachteil eines solchen des Zurücksetzens ist, dass damit die Historie verloren geht. In order to be able to evaluate the change in the count value Zasym more easily, the count value Zasym can be reset with the frequency of the evaluation. If the count value Zasym is evaluated, for example, once per bit time T_bt2, the counter 150 can also be reset during the evaluation. This has the advantage that the change in the count value Zasym corresponds exactly to the value of the count value Zasym, because the count always starts again at 0. The disadvantage of such a reset is that the history is lost.
Fig. 15 veranschaulicht eine Ausgestaltung eines Konfliktdetektors 15B gemäß einem dritten Ausführungsbeispiel. Der Konfliktdetektor 15B und die Kommunikationssteuereinrichtung 11 gemäß dem vorliegenden Ausführungsbeispiel sind bis auf die nachfolgend beschriebenen Unterschiede ausgestaltet, wie der Konfliktdetektor 15 und die15 illustrates a configuration of a conflict detector 15B according to a third embodiment. The conflict detector 15B and the communication control device 11 according to the present exemplary embodiment are configured like the conflict detector 15 and FIG. 4, except for the differences described below
Kommunikationssteuereinrichtung 11 gemäß dem ersten Ausführungsbeispiel. Communication control device 11 according to the first embodiment.
Der Konfliktdetektor 15B führt ein Messen von Pulslängen im RxD-Signal aus. Hierfür hat der Konfliktdetektor 15B den Zähler 152, mit dem der Konfliktdetektor 15 B fortlaufend die Pulslängen im RxD-Signal vermisst. Aus dem Vergleich der Pulslängen als Messergebnis mit Schwellwerten Ts lässt sich mit einem Vergleichsblock 153B ein Konflikt ableiten. The conflict detector 15B measures pulse lengths in the RxD signal. For this purpose, the conflict detector 15B has the counter 152 with which the conflict detector 15B continuously measures the pulse lengths in the RxD signal. A conflict can be derived using a comparison block 153B from the comparison of the pulse lengths as the measurement result with threshold values Ts.
In Fig. 16 sind Beispiele für unterschiedliche Pulslängen TI, T2, T3 im RxDl- Signal der Teilnehmerstation 10 gezeigt, das im Vergleich zu dem verzögerten Sendesignal TxDl_d über der Zeit t dargestellt ist. Die Pulslängen TI, T2, T3 hängen vom gesendeten Bitmuster in dem Sendesignal TxDl ab. Der Konfliktdetektor 15B geht davon aus, dass im Fall eines Buskonfliktes die Bitasymmetrie im RxDl-Signal stark zunimmt. Somit erkennt der Konfliktdetektor 15B einen Buskonflikt, wenn bei dem RxDl-Signal die 1-Pulse bzw. 1-Phasen deutlich verkürzt sind. Dies ist beispielsweise für die Pulslängen TI, T3 der 1- Pulse des RxDl-Signals von Fig. 16 der Fall. Für die Ermittlung der Pulslängen TI, T2, T3 im RxDl-Signal zählt der Zähler 152 die 1-Pulse und O-Pulse des RxDl-Signals. Ein Puls entspricht einem konstanten Signalwert, der von 2 Flanken begrenzt wird. In Fig. 16 hat das RxDl-Signal zwei 1-Pulse, die die unterschiedlichen Pulslängen TI, T3 haben, und einen 0_Puls mit der Pulslänge T2. 16 shows examples of different pulse lengths TI, T2, T3 in the RxDl signal of the subscriber station 10, which is shown in comparison to the delayed transmission signal TxDl_d over time t. The pulse lengths TI, T2, T3 depend on the transmitted bit pattern in the transmission signal TxDl. The conflict detector 15B assumes that in the event of a bus conflict, the bit asymmetry in the RxD1 signal increases sharply. The conflict detector 15B thus detects a bus conflict when the 1-pulse or 1-phase is significantly shortened in the RxDl signal. This is the case, for example, for the pulse lengths TI, T3 of the 1-pulse of the RxD1 signal from FIG. To determine the pulse lengths TI, T2, T3 in the RxDl signal, the counter 152 counts the 1-pulses and 0-pulses of the RxDl signal. A pulse corresponds to a constant signal value that is limited by 2 edges. In FIG. 16, the RxDl signal has two 1-pulses, which have the different pulse lengths TI, T3, and a 0_pulse with the pulse length T2.
Über das Status-Signal S_l erhält der Konfliktdetektor 15B, insbesondere sein Vergleichsblock 153B, den Abtastpunkttakt, mit dem die einzelnen Bits des RxDl-Signals von dem Senden-/Empfangen-Block 111 abgetastet werden.The conflict detector 15B, in particular its comparison block 153B, receives the sampling point clock with which the individual bits of the RxD1 signal are sampled by the send / receive block 111 via the status signal S_l.
Damit steht dem Konfliktdetektor 15B, insbesondere seinem Vergleichsblock 153B, die Information über die Anzahl von abgetasteten Bits zur Verfügung. Dadurch ist dem Konfliktdetektor 15B, insbesondere seinem Vergleichsblock 153B, bekannt, wie vielen Bits der aktuelle Puls entspricht, dessen Pulslänge TI, T2, T3 von dem Zähler 152 gemessen wurde. The conflict detector 15B, in particular its comparison block 153B, is thus provided with the information about the number of bits scanned. As a result, the conflict detector 15B, in particular its comparison block 153B, knows how many bits the current pulse corresponds to, the pulse length of which TI, T2, T3 was measured by the counter 152.
Zur Konflikterkennung vergleicht der Vergleichsblock 153B die jeweils gemessene Pulslänge TI, T2, T3 mit mindestens einem Schwellwert Ts. Der mindestens eine Schwellwert Ts von Fig. 16 gibt an, wie kurz ein Puls sein darf, ab dem ein Konflikt erkannt wird. Beispielsweise ist eine halbe Bitzeit T_b2 ein möglicher Wert. Alternativ oder zusätzlich kann ein Schwellwert Ts verwendet werden, der länger als eine Bitzeit T_b2 ist. In einem solchen Fall gibt der Schwellwert Ts an, wie lang ein Puls sein darf, ab dem ein Konflikt erkannt wird. Somit wird anstatt nach einer Verkürzung der Pulslängen der Pulse in dem RxDl-Signal nach einer Verlängerung der Pulslängen der Pulse in dem RxDl- Signal gesucht. To detect a conflict, the comparison block 153B compares the respectively measured pulse length TI, T2, T3 with at least one threshold value Ts. The at least one threshold value Ts of FIG. 16 indicates how short a pulse may be from which a conflict is recognized. For example, half a bit time T_b2 is a possible value. Alternatively or additionally, a threshold value Ts that is longer than a bit time T_b2 can be used. In such a case, the threshold value Ts indicates how long a pulse may be after which a conflict is recognized. Thus, instead of a shortening of the pulse lengths of the pulses in the RxDl signal, an extension of the pulse lengths of the pulses in the RxDl signal is sought.
Beispielweise kann für jede Bitfolge mit konstantem Wert ein Schwellwert Ts angegeben werden. Wenn jedes S-te Bit ein Fixed Stuff-Bit ist, dann gibt es 2*S Bitfolgen: 0, 00, 000, ..., S mal 0; 1, 11, 111, ..., S mal 1. Das heißt es werden 2*S Schwellwerte benötigt. For example, a threshold value Ts can be specified for each bit sequence with a constant value. If every S-th bit is a fixed stuff bit, then there are 2 * S bit sequences: 0, 00, 000, ..., S times 0; 1, 11, 111, ..., S times 1. That means 2 * S threshold values are required.
Alternativ kann der Schwellwert Ts als die erlaubte Verkürzung oder Verlängerung eines Pulses angegeben werden. Beispielsweise ist die erlaubte Verkürzung oder Verlängerung ein halbe Bitzeit T_b2. Somit ist der Schwellwert Ts bei der Pulslänge T3, die bei dem Beispiel von Fig. 16 zwei Bits entspricht, 1,5 Bitzeiten. Da die Länge einer Bitzeit T_b2 in CAN Takt Perioden als Information vorliegt, kann der Schwellwert Ts sehr leicht für jede Bitfolge dynamisch ermittelt werden. Das hat den großen Vorteil, dass nur ein Schwellwert Ts eingestellt werden muss. Alternatively, the threshold value Ts can be specified as the permitted shortening or lengthening of a pulse. For example, the permitted shortening or lengthening is half a bit time T_b2. Thus, the threshold value Ts at the pulse length T3, which corresponds to two bits in the example of FIG. 16, is 1.5 bit times. Since the length of a bit time T_b2 is available as information in CAN clock periods, the threshold value Ts can be determined very easily dynamically for each bit sequence. This has the great advantage that only one threshold value Ts has to be set.
Eine vereinfachte Auswertung mit dem Vergleichsblock 153B besteht darin, dass nach zu kurzen Pulsen gesucht wird. Beispielsweise ist der Vergleichsblock 153B derart eingestellt, dass ein Puls als ein zu kurzer Puls bewertet wird, wenn ein Puls beispielsweise kürzer ist als eine halbe Bitzeit T_b2. Diese Variante ist sehr einfach, weil nur ein Vergleichswert bzw. Schwellwert Ts notwendig ist. Bei ungünstigen Bitfolgen könnte es jedoch sein, dass diese Pulslänge trotz Buskonflikt nicht unterschritten wird. A simplified evaluation with the comparison block 153B consists in looking for pulses that are too short. For example, the comparison block 153B is set in such a way that a pulse is evaluated as a pulse that is too short if a pulse is shorter than half a bit time T_b2, for example. This variant is very simple because only one comparison value or threshold value Ts is necessary. In the case of unfavorable bit sequences, however, it could be that this pulse length is not undershot despite the bus conflict.
Der mindestens eine Schwellwert Ts kann auf verschiedene Arten festgelegt werden. Insbesondere kann der Schwellwert Ts fest konfiguriert sein. Alternativ oder zusätzlich kann der Schwellwert Ts im normalen Betrieb gemessen werden, beispielsweise im ersten erfolgreich gesendeten Rahmen 450 oder laufend mit jedem erfolgreich gesendeten Rahmen 450 oder es kann eine Kombination daraus sein. The at least one threshold value Ts can be established in various ways. In particular, the threshold value Ts can be configured in a fixed manner. Alternatively or additionally, the threshold value Ts can be measured during normal operation, for example in the first successfully transmitted frame 450 or continuously with each successfully transmitted frame 450, or it can be a combination thereof.
Der Vorteil der Funktion des Konfliktdetektors 15B liegt darin, dass die Variante sehr einfach umzusetzen ist, da nur das RxD-Signal analysiert wird. Außerdem, insbesondere gleichzeitig, ist das von dem Konfliktdetektors 15B durchgeführte Verfahren in der Lage, jede beliebige Bitfolge zu bewerten/analysieren, die an dem RxD-Anschluss der Kommunikationssteuereinrichtung 11 empfangen wird. The advantage of the function of the conflict detector 15B is that the variant is very easy to implement, since only the RxD signal is analyzed. In addition, in particular at the same time, the method carried out by the conflict detector 15B is able to evaluate / analyze any arbitrary bit sequence that is received at the RxD connection of the communication control device 11.
Gemäß einer ersten Modifikation des Konfliktdetektors 15B ermittelt der Konfliktdetektor 15B im RxD-Signal unerlaubt lange Pulslängen, um fehlende Fixed Stuff-Bits zu detektieren. Bei CAN XL verwendet die Kommunikationssteuereinrichtung 11 in der Datenphase 452 Fixed Stuff-Bits oder andere festgelegte, wiederkehrende Bitmuster für die Synchronisation. According to a first modification of the conflict detector 15B, the conflict detector 15B determines impermissibly long pulse lengths in the RxD signal in order to detect missing fixed stuff bits. In the case of CAN XL, the communication control device 11 uses fixed stuff bits or other fixed, recurring bit patterns for the synchronization in the data phase 452.
Eine unerlaubt lange Pulslänge wertet der Konfliktdetektor 15B, genauer gesagt sein Vergleichsblock 153, als Buskonflikt oder einen anderen Fehler. Ist beispielsweise jedes S-te Bit ein Fixed Stuff-Bit, dann hat die maximale erlaubte Pulslänge TI, T2, T3 mit einem konstanten Pegel einen Wert von S Bits. Das auf diese Bitfolge folgende Bit ist ein Fixed Stuff-Bit mit inversem Wert des S-ten Bits. The conflict detector 15B, more precisely its comparison block 153, evaluates an impermissibly long pulse length as a bus conflict or another error. For example, if every S-th bit is a fixed stuff bit, then the maximum is allowed Pulse length TI, T2, T3 with a constant level has a value of S bits. The bit following this bit sequence is a fixed stuff bit with the inverse value of the S-th bit.
Somit wird auch bei der Modifikation des Konfliktdetektors 15B der Zähler 152 verwendet, um die Pulslängen zwischen zwei Flanken zu messen. Wird eine Pulslänge von beispielsweise S+l idealen Bitlängen bzw. Bitzeiten T_b2 oder S+0,8 idealen Bitlängen bzw. Bitzeiten T_b2 gemessen, so fehlt ein Fixed Stuff- Bit. In diesem Fall entscheidet der Konfliktdetektor 15B, genauer gesagt sein Vergleichsblock 153 B, dass ein Buskonflikt vorliegt. Der Konfliktdetektor 15 B, genauer gesagt sein Vergleichsblock 153B, meldet den Buskonflikt über das Konfliktanzeigesignal S_K an die Kommunikationssteuereinrichtung 11. The counter 152 is thus also used in the modification of the conflict detector 15B in order to measure the pulse lengths between two edges. If a pulse length of, for example, S + 1 ideal bit lengths or bit times T_b2 or S + 0.8 ideal bit lengths or bit times T_b2 is measured, a fixed stuff bit is missing. In this case, the conflict detector 15B, more precisely its comparison block 153B, decides that there is a bus conflict. The conflict detector 15B, more precisely its comparison block 153B, reports the bus conflict to the communication control device 11 via the conflict indication signal S_K.
Zusätzlich zu dem zuvor genannten Vorteil des Konfliktdetektors 15B liegt der Vorteil der beschriebenen ersten Modifikation des Konfliktdetektors 15B darin, dass der Parameter S eine CAN XL Eigenschaft ist. Daher wird für die Funktion des modifizierten Konfliktdetektors 15B gar keine Konfiguration benötigt. Jedoch erkennt der Konfliktdetektor 15B gemäß der ersten Modifikation nur fehlende Bits im Datenstrom des RXD-Signals. Geringe Änderungen in der Bitasymmetrie kann der modifizierte Konfliktdetektor 15B nicht feststellen. In addition to the aforementioned advantage of the conflict detector 15B, the advantage of the described first modification of the conflict detector 15B is that the parameter S is a CAN XL property. Therefore, no configuration is required for the modified conflict detector 15B to function. However, according to the first modification, the conflict detector 15B only detects missing bits in the data stream of the RXD signal. The modified conflict detector 15B cannot detect slight changes in the bit asymmetry.
Verwendet jedoch ein Bussystem 1 nur Transceiver bzw. Sende/Empfangseinrichtungen 12, 22, 32 CAN XL ausschließlich im Arbitrationsmodus, also mit rezessiven und dominanten Buspegeln, so reicht diese Art der Konfliktdetektion aus. Grund dafür ist, dass der Fehlerrahmen 47 also dominant gesendet wird und somit das Sendesignal der sendenden Teilnehmerstation überschreiben kann. However, if a bus system 1 only uses transceivers or transmitting / receiving devices 12, 22, 32 CAN XL exclusively in the arbitration mode, that is to say with recessive and dominant bus levels, then this type of conflict detection is sufficient. The reason for this is that the error frame 47 is sent dominantly and can therefore overwrite the send signal of the sending subscriber station.
Gemäß einer zweiten Modifikation des Konfliktdetektors 15B vergleicht der Konfliktdetektor 15B im RxD-Signal die Pulslängen eines 1-Pulses und eines 0- Pulses, um eine Bit Asymmetriemessung zwischen zwei steigendenden oder zwei fallenden Flanken am RxD-Signal vorzunehmen. According to a second modification of the conflict detector 15B, the conflict detector 15B compares the pulse lengths of a 1 pulse and a 0 pulse in the RxD signal in order to carry out a bit asymmetry measurement between two rising or two falling edges on the RxD signal.
Beispielsweise kann bei der Bitfolge von Fig. 16 die Bitasymmetrie zwischen zwei steigenden Flanken gemessen werden. Wie bereits erwähnt, hat in dem RxDl-Signal die erste 1-Phase bzw. der erste 1-Puls eine Pulslänge TI und die erste O-Phase bzw. der erste O-Puls hat eine Pulslänge T2. Aufgrund der Fixed Stuff-Bits kann eine O-Phase bzw. eine 1-Phase zwischen 1 und S Bits lang werden. Insgesamt gibt es S*S Bitfolgen aus möglichen O-Phasen und 1-Phasen. For example, in the case of the bit sequence of FIG. 16, the bit asymmetry between two rising edges can be measured. As mentioned earlier, in that RxDl signal, the first 1-phase or the first 1-pulse has a pulse length TI and the first 0-phase or the first 0-pulse has a pulse length T2. Due to the fixed stuff bits, an O phase or a 1 phase can be between 1 and S bits long. Overall, there are S * S bit sequences made up of possible 0-phases and 1-phases.
Der Konfliktdetektor 15B, genauer gesagt sein Vergleichsblock 153B, ermittelt bei der vorliegenden zweiten Modifikation somit die Asymmetrie beispielsweise aus der Dauer bzw. Pulslänge TI der 1-Phase und der Dauer bzw. Pulslänge T2 der O-Phase sowie der Zahl der Bits pro Phase. Überschreitet die Bitasymmetrie einen Schwellwert, so erkennt der Konfliktdetektor 15B, genauer gesagt sein Vergleichsblock 153B, einen Buskonflikt. Der Konfliktdetektor 15B, genauer gesagt sein Vergleichsblock 153B, meldet den Buskonflikt über das Konfliktanzeigesignal S_K an die Kommunikationssteuereinrichtung 11. The conflict detector 15B, more precisely its comparison block 153B, in the present second modification thus determines the asymmetry, for example, from the duration or pulse length TI of the 1-phase and the duration or pulse length T2 of the 0-phase and the number of bits per phase. If the bit asymmetry exceeds a threshold value, the conflict detector 15B, more precisely its comparison block 153B, detects a bus conflict. The conflict detector 15B, more precisely its comparison block 153B, reports the bus conflict to the communication control device 11 via the conflict indication signal S_K.
Vorteilhaft an der zweiten Modifikation des Konfliktdetektors 15B ist wie zuvor, dass diese Variante eine geringe Komplexität hat, da der Konfliktdetektor 15B nur das RxD-Signal vermisst. The advantage of the second modification of the conflict detector 15B is, as before, that this variant has a low complexity, since the conflict detector 15B only measures the RxD signal.
Fig. 17 veranschaulicht eine Ausgestaltung eines Konfliktdetektors 15C gemäß einem vierten Ausführungsbeispiel. Der Konfliktdetektor 15C und die Kommunikationssteuereinrichtung 11 gemäß dem vorliegenden Ausführungsbeispiel sind bis auf die nachfolgend beschriebenen Unterschiede ausgestaltet, wie der Konfliktdetektor 15 und die17 illustrates a configuration of a conflict detector 15C according to a fourth embodiment. The conflict detector 15C and the communication control device 11 according to the present exemplary embodiment are designed like the conflict detector 15 and FIG. 4, except for the differences described below
Kommunikationssteuereinrichtung 11 gemäß dem ersten Ausführungsbeispiel. Communication control device 11 according to the first embodiment.
Der Konfliktdetektor 15C führt ein Messen von Pulslängen mit konstanten Bit- Wert-Phasen im TxD-Signal und RxD-Signal aus. Optional ist das verzögerte Signal TxD_d verwendbar, wie mit dem gestrichelt gezeichneten Block 154 dargestellt. Anschließend erfolgt der Vergleich zusammengehöriger Pulslängen. Im Idealfall sind die Pulslängen im TxD-Signal identisch mit den Pulslängen im RxD-Signal. Hierfür hat der Konfliktdetektor 15B den ersten Zähler 151, mit dem der Konfliktdetektor 15C fortlaufend die Pulslängen in dem TxD-Signal vermisst. Außerdem hat der Konfliktdetektor 15C den zweiten Zähler 152, mit dem der Konfliktdetektor 15C fortlaufend die Pulslängen in dem RxD-Signal vermisst. Aus dem Vergleich der Pulslängen mit Schwellwerten Ts lässt sich mit dem Vergleichsblock 153C ein Konflikt ableiten. The conflict detector 15C measures pulse lengths with constant bit-value phases in the TxD signal and RxD signal. The delayed signal TxD_d can optionally be used, as shown by the block 154 shown in dashed lines. Then the comparison of associated pulse lengths takes place. Ideally, the pulse lengths in the TxD signal are identical to the pulse lengths in the RxD signal. For this purpose, the conflict detector 15B has the first counter 151 with which the conflict detector 15C continuously measures the pulse lengths in the TxD signal. In addition, the conflict detector 15C has the second counter 152 with which the conflict detector 15C continuously measures the pulse lengths in the RxD signal. Out the comparison of the pulse lengths with threshold values Ts can be used to derive a conflict with the comparison block 153C.
In Fig. 18 sind zusätzlich zu den Beispielen für unterschiedliche Pulslängen TI, T2, T3 im RxDl-Signal der Teilnehmerstation 10 Beispiele für unterschiedliche Pulslängen T4, T5, T6 im verzögerten Sendesignal TxDl_d über der Zeit t dargestellt. Die Pulslängen TI, T2, T3, T4, T5, T6 hängen vom gesendeten Bitmuster in dem Sendesignal TxDl ab. In addition to the examples for different pulse lengths TI, T2, T3 in the RxDl signal of the subscriber station 10, FIG. 18 shows examples for different pulse lengths T4, T5, T6 in the delayed transmission signal TxDl_d over the time t. The pulse lengths TI, T2, T3, T4, T5, T6 depend on the transmitted bit pattern in the transmission signal TxD1.
Der Konfliktdetektor 15C misst somit mit seinen Zählern 151, 152 die O-Phasen und 1-Phasen, die zwischen zwei Flanken der jeweiligen Signale TxDl_d, RxDl auftreten. Alternativ zu dem Signal TxDl_d von Fig. 18 kann der Zähler 151 die O-Phasen und 1-Phasen vermessen, die zwischen zwei Flanken des Signals TxDl auftreten. The conflict detector 15C thus measures with its counters 151, 152 the 0 phases and 1 phases that occur between two edges of the respective signals TxDl_d, RxDl. As an alternative to the signal TxDl_d of FIG. 18, the counter 151 can measure the 0-phases and 1-phases that occur between two edges of the signal TxDl.
Der Vergleichsblock 153C vergleicht die gemessene erste 1-Phase im RxD- Signal, also die Pulslänge TI bei dem Beispiel von Fig. 18, mit der ersten 1- Phase im TxD-Signal, also der Pulslänge T4 bei dem Beispiel von Fig. 18. Der Vergleich erfolgt durch eine Differenzbildung, z.B. Asym=T4-Tl. Als nächstes wird die O-Phase verglichen. Das Ergebnis bei dem Beispiel von Fig. 18 ist Asym=T5-T2. The comparison block 153C compares the measured first 1-phase in the RxD signal, that is to say the pulse length TI in the example of FIG. 18, with the first 1-phase in the TxD signal, that is to say the pulse length T4 in the example of FIG. 18. The comparison is made by forming a difference, eg Asym = T4-Tl. Next, the O phase is compared. The result in the example of Figure 18 is Asym = T5-T2.
Das von dem Vergleichsblock 153C ermittelte Vergleichsergebnis entspricht dem Betrag der Bitasymmetrie Asym. Überschreitet die Bitasymmetrie Asym einen gewissen Schwellwert, so liegt ein Buskonflikt vor. Somit führt der Vergleichsblock 153C zusätzlich einen Vergleich mit einem Schwellwert durch. Der Konfliktdetektor 15C, genauer gesagt sein Vergleichsblock 153C, meldet den Buskonflikt über das Konfliktanzeigesignal S_K an die Kommunikationssteuereinrichtung 11. The comparison result determined by the comparison block 153C corresponds to the amount of the bit asymmetry asymmetry. If the bit asymmetry Asym exceeds a certain threshold value, there is a bus conflict. The comparison block 153C thus additionally carries out a comparison with a threshold value. The conflict detector 15C, more precisely its comparison block 153C, reports the bus conflict to the communication control device 11 via the conflict indication signal S_K.
Der Vorteil der zuvor beschriebenen Funktion des Konfliktdetektors 15C ist, dass der Konfliktdetektor 15C keine Information über die Anzahl der Bits in einer Phase, insbesondere der Datenphase 452, benötigt. Der Konfliktdetektor 15C muss lediglich zählen und anschließend vergleichen. Noch dazu ist der Konfliktdetektor 15C implizit in der Lage, auch zusätzliche Flankenwechsel zu detektieren, die nur im Falle eines Buskonflikts erwartet werden. Vom Buskonflikt erzeugte zusätzliche Flanken im RxD-Signal würden nämlich dazu führen, dass die Auswertelogik des Vergleichsblocks 153C durcheinander kommt und sehr große Bitasymmetrien ermittelt. Werden solche sehr große Bitasymmetrien ermittelt, wird der Schwellwert sicher überschritten und damit ist der Buskonflikt detektiert. The advantage of the previously described function of the conflict detector 15C is that the conflict detector 15C does not require any information about the number of bits in a phase, in particular the data phase 452. The conflict detector 15C only needs to count and then compare. In addition, the conflict detector 15C is implicitly able to also add additional edge changes which are only expected in the event of a bus conflict. Additional edges in the RxD signal generated by the bus conflict would result in the evaluation logic of the comparison block 153C getting mixed up and very large bit asymmetries being determined. If such very large bit asymmetries are determined, the threshold is safely exceeded and the bus conflict is thus detected.
Alle zuvor beschriebenen Ausgestaltungen der Konfliktdetektoren 15, 15A, 15B, 15C, 25, 35 und deren Modifikationen, der Teilnehmerstationen 10, 20, 30, des Bussystems 1 und des darin ausgeführten Verfahrens können einzeln oder in allen möglichen Kombinationen Verwendung finden. Insbesondere können alle Merkmale der zuvor beschriebenen Ausführungsbeispiele und/oder deren Modifikationen beliebig kombiniert werden. Zusätzlich oder alternativ sind insbesondere folgende Modifikationen denkbar. All of the above-described configurations of the conflict detectors 15, 15A, 15B, 15C, 25, 35 and their modifications, of the subscriber stations 10, 20, 30, of the bus system 1 and the method carried out therein can be used individually or in all possible combinations. In particular, all features of the exemplary embodiments described above and / or their modifications can be combined as desired. Additionally or alternatively, the following modifications in particular are conceivable.
Selbstverständlich sind bei allen zuvor beschriebenen Ausführungsbeispielen beliebig viele Zähler 150, 151 zum Messen der Pulslängen des analysierten Sendesignals TxD, TxDl, TxD_d einsetzbar. Selbstverständlich sind bei allen zuvor beschriebenen Ausführungsbeispielen beliebig viele Zähler 150, 152 zum Messen der Pulslängen des analysierten Empfangssignals RxD, RxDl einsetzbar. Of course, any number of counters 150, 151 can be used for measuring the pulse lengths of the analyzed transmission signal TxD, TxDl, TxD_d in all the exemplary embodiments described above. Of course, any number of counters 150, 152 can be used for measuring the pulse lengths of the analyzed received signal RxD, RxD1 in all the exemplary embodiments described above.
Auch wenn die Erfindung zuvor am Beispiel des CAN-Bussystems beschrieben ist, kann die Erfindung bei jedem Kommunikationsnetzwerk und/oder Kommunikationsverfahren eingesetzt werden, bei welchem zwei verschiedene Kommunikationsphasen verwendet werden, in denen sich die Buszustände unterscheiden, die für die unterschiedlichen Kommunikationsphasen erzeugt werden. Insbesondere ist die Erfindung bei Entwicklungen von sonstigen seriellen Kommunikationsnetzwerken, wie insbesondere Ethernet, Feldbussystemen, usw. einsetzbar. Even if the invention is described above using the example of the CAN bus system, the invention can be used in any communication network and / or communication method in which two different communication phases are used, in which the bus states that are generated for the different communication phases differ. In particular, the invention can be used in the development of other serial communication networks, such as in particular Ethernet, field bus systems, etc.
Insbesondere kann das Bussystem 1 gemäß den Ausführungsbeispielen ein Kommunikationsnetzwerk sein, bei welchem Daten seriell mit zwei verschiedenen Bitraten übertragbar sind. Es ist vorteilhaft, jedoch nicht zwangsläufige Voraussetzung, dass bei dem Bussystem 1 zumindest für bestimmte Zeitspannen ein exklusiver, kollisionsfreier Zugriff einer Teilnehmerstation 10, 20, 30 auf einen gemeinsamen Kanal gewährleistet ist. In particular, the bus system 1 according to the exemplary embodiments can be a communication network in which data can be transmitted serially at two different bit rates. It is advantageous, but not a mandatory requirement, that in the bus system 1 at least for specific time periods an exclusive, collision-free access of a subscriber station 10, 20, 30 to a common channel is guaranteed.
Die Anzahl und Anordnung der Teilnehmerstationen 10, 20, 30 in dem Bussystem 1 der Ausführungsbeispiele ist beliebig. Insbesondere kann dieThe number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary. In particular, the
Teilnehmerstation 20 in dem Bussystem 1 entfallen. Es ist möglich, dass eine oder mehrere der Teilnehmerstationen 10 oder 30 in dem Bussystem 1 vorhanden sind. Denkbar ist, dass alle Teilnehmerstationen in dem Bussystem 1 gleich ausgestaltet sind, also nur Teilnehmerstation 10 oder nur Teilnehmerstation 30 vorhanden sind. Subscriber station 20 in bus system 1 is omitted. It is possible for one or more of the subscriber stations 10 or 30 to be present in the bus system 1. It is conceivable that all subscriber stations in the bus system 1 are configured identically, that is to say only subscriber station 10 or only subscriber station 30 are present.
Alle zuvor beschriebenen Varianten für die Erkennung des Buskonflikts können zeitlicher Filterung unterliegen, um die Robustheit in Bezug auf elektromagnetische Verträglichkeit (EMV) und gegenüber elektrostatischer Aufladung (ESD), Pulsen und anderen Störungen zu erhöhen. All variants described above for the detection of the bus conflict can be subject to time filtering in order to increase the robustness with regard to electromagnetic compatibility (EMC) and against electrostatic charge (ESD), pulses and other interference.

Claims

Ansprüche Expectations
1) Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) für eine Teilnehmerstation (10; 20; 30) für ein serielles Bussystem (1), mit mindestens einem Zähler (150; 152) zum Zählen des Auftretens einer Eigenschaft von Pulsen eines digitalen Empfangssignals (RxD; RxDl), das von der Teilnehmerstation (10; 20; 30) aus einem von einem Bus (40) des Bussystems (1) seriell empfangenen Signal (VDIFF) erzeugt wird, wobei das von dem Bus (40) empfangene Signal (VDIFF) aus einem Sendesignal (TxD; TxDl; TxD2) gebildet wurde, das von einer Kommunikationssteuereinrichtung (11) der Teilnehmerstation (10; 20; 30) für einen Rahmen (450) seriell zu dem Bus (40) gesendet wurde, und wobei die Teilnehmerstation (10; 20; 30) in einer ersten Kommunikationsphase (451; 453, 451) Buszustände (401; 402) für den Rahmen (450) mit einer ersten Betriebsart erzeugt und in einer zweiten Kommunikationsphase (452) Buszustände (401; 402; U_D0; U_D1) für den Rahmen (450) mit einer zweiten Betriebsart erzeugt, die sich von der ersten Betriebsart unterscheidet, und einem Vergleichsblock (153; 153A; 153B; 153C), der ausgestaltet ist, ein aus einem Zählwert (Zasym; Zrx) des mindestens einen Zählers (150; 152) ermitteltes Messergebnis mit mindestens einem Schwellwert (Ts) zu vergleichen und mit einem Konfliktanzeigesignal (S_K) für die Kommunikationssteuereinrichtung (11) anzuzeigen, wenn der Vergleichsblock (153; 153A; 153B; 153C) bei dem Vergleich ermittelt, dass die Teilnehmerstation (10; 20; 30) in der zweiten Kommunikationsphase (452) keinen exklusiven, kollisionsfreien Zugriff auf den Bus (40) hat. 1) Conflict detector (15; 15A; 15B; 15C; 25; 35) for a subscriber station (10; 20; 30) for a serial bus system (1), with at least one counter (150; 152) for counting the occurrence of a property of Pulsing of a digital received signal (RxD; RxDl) which is generated by the subscriber station (10; 20; 30) from a signal (VDIFF) received serially from a bus (40) of the bus system (1), the signal (VDIFF) received from the bus (40 ) the received signal (VDIFF) was formed from a transmission signal (TxD; TxDl; TxD2) which was sent serially to the bus (40) by a communication control device (11) of the subscriber station (10; 20; 30) for a frame (450) , and wherein the subscriber station (10; 20; 30) in a first communication phase (451; 453, 451) generates bus states (401; 402) for the frame (450) with a first operating mode and in a second communication phase (452) bus states ( 401; 402; U_D0; U_D1) for the frame (450) with a second operating mode that differs from the first n operating mode differentiates, and a comparison block (153; 153A; 153B; 153C), which is designed to compare a measurement result determined from a count value (Zasym; Zrx) of the at least one counter (150; 152) with at least one threshold value (Ts) and to display it with a conflict display signal (S_K) for the communication control device (11) when the comparison block (153; 153A; 153B; 153C) determines in the comparison that the subscriber station (10; 20; 30) does not have exclusive, collision-free access to the bus (40) in the second communication phase (452).
2) Konfliktdetektor (15; 15B; 15C; 25; 35) nach Anspruch 1, wobei die Eigenschaft von Pulsen des digitalen Empfangssignals (RxD; RxDl) der Pegel des Pulses ist, und wobei der mindestens eine Zähler (150; 152) zum Zählen der Häufigkeit des Auftretens eines ersten Pegels des digitalen Empfangssignals (RxD; RxDl) über der Zeit ausgestaltet ist oder der mindestens eine Zähler (150) ausgestaltet ist, beim Auftreten eines ersten Pegels des digitalen Empfangssignals (RxD; RxDl) seinen Zählwert (Zrx) zu inkrementieren und beim Auftretens des zweiten Pegels des digitalen Empfangssignals (RxD; RxDl) seinen Zählwert (Zrx) zu dekrementieren. 2) conflict detector (15; 15B; 15C; 25; 35) according to claim 1, wherein the property of pulses of the digital received signal (RxD; RxDl) is the level of the pulse, and wherein the at least one counter (150; 152) is designed to count the frequency of occurrence of a first level of the digital received signal (RxD; RxDl) over time or the at least one counter (150) is designed when a first level of the digital signal occurs Received signal (RxD; RxDl) to increment its count value (Zrx) and to decrement its count value (Zrx) when the second level of the digital received signal (RxD; RxDl) occurs.
3) Konfliktdetektor (15; 15B; 15C; 25; 35) nach Anspruch 1 oder 2, wobei die Eigenschaft von Pulsen des digitalen Empfangssignals (RxD; RxDl) die Pulslänge (TI; T2; T3) des Pulses ist. 3) Conflict detector (15; 15B; 15C; 25; 35) according to Claim 1 or 2, the property of pulses in the digital received signal (RxD; RxDl) being the pulse length (TI; T2; T3) of the pulse.
4) Konfliktdetektor (15B; 25; 35) nach einem der vorangehenden Ansprüche, wobei der mindestens eine Zähler (150; 152) und/oder der Vergleichsblock (153B) ausgestaltet sind/ist, zur Ermittlung der Eigenschaft von Pulsen des digitalen Empfangssignals (RxD; RxDl) ein Status-Signal (S_l) der Kommunikationssteuereinrichtung (11) zu verwenden, das den Takt zum Abtasten von Bits des digitalen Empfangssignals (RxD; RxDl) über der Zeit und/oder den Takt der Kommunikationssteuereinrichtung (11) umfasst. 4) Conflict detector (15B; 25; 35) according to one of the preceding claims, wherein the at least one counter (150; 152) and / or the comparison block (153B) are / is designed to determine the property of pulses of the digital received signal (RxD ; RxDl) to use a status signal (S_l) of the communication control device (11), which comprises the clock for sampling bits of the digital received signal (RxD; RxDl) over the time and / or the clock of the communication control device (11).
5) Konfliktdetektor (15C; 25; 35) nach Anspruch 3, wobei der Vergleichsblock (153C) ausgestaltet ist, die Pulslänge (TI; T2, T3) eines Pulses des digitalen Empfangssignals (RxD; RxDl) mit einer Pulslänge (T4; T5, T6) eines Pulses des Sendesignals (TxD; TxDl; TxD2; TxD_d) zu vergleichen, um zu ermitteln, ob die Teilnehmerstation (10; 20; 30) in der zweiten Kommunikationsphase (452) keinen exklusiven, kollisionsfreien Zugriff auf den Bus (40) hat. 5) conflict detector (15C; 25; 35) according to claim 3, wherein the comparison block (153C) is designed, the pulse length (TI; T2, T3) of a pulse of the digital received signal (RxD; RxDl) with a pulse length (T4; T5, T6) of a pulse of the transmission signal (TxD; TxDl; TxD2; TxD_d) to determine whether the subscriber station (10; 20; 30) does not have exclusive, collision-free access to the bus (40) in the second communication phase (452) Has.
6) Konfliktdetektor (15A; 25; 35) nach Anspruch 1, wobei die Eigenschaft von Pulsen des digitalen Empfangssignals (RxD; RxDl) der Unterschied des Pegels des Pulses zu dem entsprechenden Pegel eines Pulses des Sendesignals (TxD; TxDl; TxD2; TxD_d) ist. 7) Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) nach einem der vorangehenden Ansprüche, zudem mit mindestens einem zusätzlichen Zähler (151) zum Zählen des Auftretens einer Eigenschaft von Pulsen des digitalen Sendesignals (TxD; TxDl; TxD2; TxD_d), wobei der Vergleichsblock (153; 153A; 153B; 153C) ausgestaltet ist, ein aus dem Zählwert (Ztx) des mindestens einen zusätzlichen Zählers (151) ermitteltes Messergebnis mit mindestens einem Schwellwert (Ts) zu vergleichen, um zu ermitteln, ob die Teilnehmerstation (10; 20; 30) in der zweiten Kommunikationsphase (452) keinen exklusiven, kollisionsfreien Zugriff auf den Bus (40) hat. 6) Conflict detector (15A; 25; 35) according to claim 1, wherein the property of pulses of the digital received signal (RxD; RxDl) is the difference between the level of the pulse and the corresponding level of a pulse of the transmitted signal (TxD; TxDl; TxD2; TxD_d) is. 7) Conflict detector (15; 15A; 15B; 15C; 25; 35) according to one of the preceding claims, additionally with at least one additional counter (151) for counting the occurrence of a property of pulses of the digital transmission signal (TxD; TxDl; TxD2; TxD_d ), the comparison block (153; 153A; 153B; 153C) being designed to compare a measurement result determined from the count value (Ztx) of the at least one additional counter (151) with at least one threshold value (Ts) in order to determine whether the Subscriber station (10; 20; 30) in the second communication phase (452) does not have exclusive, collision-free access to the bus (40).
8) Konfliktdetektor (15; 25; 35) nach Anspruch 7, wobei der Vergleichsblock (153) ausgestaltet ist, einen Zählwert (Zrx) des mindestens einen Zählers (152), der zum Zählen des Auftretens einer Eigenschaft von Pulsen des digitalen Empfangssignals (RxD; RxDl) vorgesehen ist, zu vergleichen mit einem Zählwert (Ztx) des mindestens einen zusätzlichen Zählers (151), der zum Zählen des Auftretens einer Eigenschaft von Pulsen des digitalen Sendesignals (TxD; TxDl; TxD2; TxD_d) vorgesehen ist, um anhand einer sich ändernden Differenz der verglichenen Zählwerte (Zrx, Ztx) zu ermitteln, ob die Teilnehmerstation (10; 20; 30) in der zweiten Kommunikationsphase (452) keinen exklusiven, kollisionsfreien Zugriff auf den Bus (40) hat. 8) Conflict detector (15; 25; 35) according to claim 7, wherein the comparison block (153) is designed to include a count value (Zrx) of the at least one counter (152) which is used to count the occurrence of a property of pulses of the digital received signal (RxD ; RxDl) is provided to be compared with a count (Ztx) of the at least one additional counter (151), which is provided for counting the occurrence of a property of pulses of the digital transmission signal (TxD; TxDl; TxD2; TxD_d) in order to use a the changing difference of the compared count values (Zrx, Ztx) to determine whether the subscriber station (10; 20; 30) does not have exclusive, collision-free access to the bus (40) in the second communication phase (452).
9) Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) nach Anspruch 7 oder 8, wobei der Konfliktdetektor (15A; 25; 35) ausgestaltet ist, als Sendesignal ein verzögertes Sendesignal (TxD_d) zu verwenden, das um eine Laufzeit (TLD) verzögert ist, die das Sendesignal (TxD; TxDl; TxD2) benötigt, um von einem TxD-Anschluss der9) conflict detector (15; 15A; 15B; 15C; 25; 35) according to claim 7 or 8, wherein the conflict detector (15A; 25; 35) is designed to use a delayed transmission signal (TxD_d) as the transmission signal, which is delayed by a transit time (TLD) is the delay that the transmit signal (TxD; TxDl; TxD2) needs to be sent from a TxD connection of the
Kommunikationssteuereinrichtung (11) über den Bus (40) zu einem RxD- Anschluss der Kommunikationssteuereinrichtung (11) zu gelangen. Communication control device (11) to reach an RxD connection of the communication control device (11) via the bus (40).
10) Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) nach einem der vorangehenden Ansprüche, zudem mit mindestens einem Zähler zum Zählen von steigenden und/oder fallenden Flanken der Pulse des digitalen Empfangssignals (RxD; RxDl) oder des Sendesignals (TxD; TxDl; TxD2; TxD_d). 10) conflict detector (15; 15A; 15B; 15C; 25; 35) according to one of the preceding claims, also with at least one counter for counting rising and / or falling edges of the pulses digital reception signal (RxD; RxDl) or the transmission signal (TxD; TxDl; TxD2; TxD_d).
11) Teilnehmerstation (10; 20; 30) für ein serielles Bussystem (1), mit einer Kommunikationssteuereinrichtung (11; 21; 31) zum Steuern einer Kommunikation der Teilnehmerstation (10; 20; 30) mit mindestens einer anderen Teilnehmerstation (10; 20; 30) des Bussystems (1), einer Sende-/Empfangseinrichtung (12; 22; 32) zum Senden eines von der Kommunikationssteuereinrichtung (11; 21; 31) für einen Rahmen (450) erzeugten Signals (TxD; TxDl; TxD2) auf einen Bus (40) des Bussystems (1) und zum Empfangen eines Signals (VDIFF) von dem Bus (40), und einem Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) nach einem der vorangehenden Ansprüche, wobei die Sende-/Empfangseinrichtung (12; 22; 32) in einer ersten Kommunikationsphase (451; 453, 451) Buszustände (401; 402) für den Rahmen (450) mit einer ersten Betriebsart erzeugt und in einer zweiten Kommunikationsphase (452) Buszustände (401; 402; U_D0; U_D1) für den Rahmen (450) mit einer zweiten Betriebsart erzeugt, die sich von der ersten Betriebsart unterscheiden. 11) subscriber station (10; 20; 30) for a serial bus system (1), with a communication control device (11; 21; 31) for controlling communication of the subscriber station (10; 20; 30) with at least one other subscriber station (10; 20 ; 30) of the bus system (1), a transmitting / receiving device (12; 22; 32) for transmitting a signal (TxD; TxDl; TxD2) generated by the communication control device (11; 21; 31) for a frame (450) a bus (40) of the bus system (1) and for receiving a signal (VDIFF) from the bus (40), and a conflict detector (15; 15A; 15B; 15C; 25; 35) according to one of the preceding claims, wherein the transmission - / receiving device (12; 22; 32) generated in a first communication phase (451; 453, 451) bus states (401; 402) for the frame (450) with a first operating mode and in a second communication phase (452) bus states (401; 402; U_D0; U_D1) for the frame (450) with a second operating mode that differs from the first operating mode to die.
12) Teilnehmerstation (10; 20; 30) nach Anspruch 11, wobei die Buszustände (401, 402) des in der ersten Kommunikationsphase (451; 453, 451) von dem Bus (40) empfangenen Signals (VDIFF) eine längere Bitzeit (T_bl) haben als die Buszustände (U_D0, U_D1) des in der zweiten Kommunikationsphase (452) empfangenen Signals und/oder die Buszustände (401, 402) des in der ersten Kommunikationsphase (451; 453, 451) von dem Bus (40) empfangenen Signals mit einem anderen Physical Layer erzeugt wurden als die Buszustände (U_D0, U_D1) des in der zweiten Kommunikationsphase (452) empfangenen Signals, und wobei die Kommunikationssteuereinrichtung (11; 21; 31) ausgestaltet ist, an den Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) ein Einschaltsignal (S_E) auszugeben, um den Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) nur für die zweite Kommunikationsphase (452) einzuschalten und für die erste Kommunikationsphase (451; 453, 451) auszuschalten oder den Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) umzuschalten von einer Kommunikationsphase auf eine andere. 12) subscriber station (10; 20; 30) according to claim 11, wherein the bus states (401, 402) of the signal (VDIFF) received from the bus (40) in the first communication phase (451; 453, 451) have a longer bit time (T_bl ) have as the bus states (U_D0, U_D1) of the signal received in the second communication phase (452) and / or the bus states (401, 402) of the signal received from the bus (40) in the first communication phase (451; 453, 451) were generated with a different physical layer than the bus states (U_D0, U_D1) of the signal received in the second communication phase (452), and wherein the communication control device (11; 21; 31) is designed to be sent to the conflict detector (15; 15A; 15B; 15C; 25; 35) to output a switch-on signal (S_E) to activate the conflict detector (15; 15A; 15B; 15C; 25; 35) only for the second communication phase (452) to be switched on and switched off for the first communication phase (451; 453, 451) or to switch the conflict detector (15; 15A; 15B; 15C; 25; 35) from one communication phase to another.
13) Teilnehmerstation (10; 20; 30) nach Anspruch 11 oder 12, wobei in der ersten Kommunikationsphase (451; 453, 451) ausgehandelt wird, welche der Teilnehmerstationen (10, 20, 30) des Bussystems (1) in der nachfolgenden zweiten Kommunikationsphase (452) zumindest zeitweise einen exklusiven, kollisionsfreien Zugriff auf den Bus (40) bekommt. 13) subscriber station (10; 20; 30) according to claim 11 or 12, wherein in the first communication phase (451; 453, 451) is negotiated which of the subscriber stations (10, 20, 30) of the bus system (1) in the subsequent second Communication phase (452) at least temporarily receives exclusive, collision-free access to the bus (40).
14) Bussystem (1), mit einem Bus (40), und mindestens zwei Teilnehmerstationen (10; 20; 30), welche über den Bus (40) derart miteinander verbunden sind, dass sie seriell miteinander kommunizieren können und von denen mindestens eine Teilnehmerstation (10; 30) eine Teilnehmerstation (10; 30) nach einem der Ansprüche 11 bis 13 ist. 14) Bus system (1), with a bus (40), and at least two subscriber stations (10; 20; 30) which are connected to one another via the bus (40) in such a way that they can communicate with one another serially and of which at least one subscriber station (10; 30) is a subscriber station (10; 30) according to one of Claims 11 to 13.
15) Verfahren zur Erkennung eines Buskonflikts in einem seriellen Bussystem (1), wobei das Verfahren mit einem Konfliktdetektor (15;15) A method for detecting a bus conflict in a serial bus system (1), the method using a conflict detector (15;
15A; 15B; 15C; 25; 35) für eine Teilnehmerstation (10; 20; 30) des seriellen Bussystems (1), ausgeführt wird, und wobei der Konfliktdetektor (15; 15A; 15B; 15C; 25; 35) die Schritte ausführt,15A; 15B; 15C; 25; 35) for a subscriber station (10; 20; 30) of the serial bus system (1), and wherein the conflict detector (15; 15A; 15B; 15C; 25; 35) carries out the steps
Zählen, mit mindestens einem Zähler (150; 152), des Auftretens einer Eigenschaft von Pulsen eines digitalen Empfangssignals (RxD; RxDl), das von der Teilnehmerstation (10; 20; 30) aus einem von einem Bus (40) des Bussystems (1) seriell empfangenen Signal (VDIFF) erzeugt wird, wobei das von dem Bus (40) empfangene Signal (VDIFF) aus einem Sendesignal (TxD; TxDl; TxD2) gebildet wurde, das von einer Kommunikationssteuereinrichtung (11) der Teilnehmerstation (10; 20; 30) in einem Rahmen (450) seriell zu dem Bus (40) gesendet wurde, und wobei die Teilnehmerstation (10; 20; 30) in einer ersten Kommunikationsphase (451; 453, 451) Buszustände (401; 402) für den Rahmen (450) mit einer ersten Betriebsart erzeugt und in einer zweiten Kommunikationsphase (452) Buszustände (401; 402; U_D0; U_D1) für den Rahmen (450) mit einer zweiten Betriebsart erzeugt, die sich von der ersten Betriebsart unterscheidet, Counting, with at least one counter (150; 152), of the occurrence of a property of pulses of a digital received signal (RxD; RxDl) which is transmitted by the subscriber station (10; 20; 30) from one of a bus (40) of the bus system (1 ) serially received signal (VDIFF) is generated, the signal (VDIFF) received from the bus (40) being formed from a transmission signal (TxD; TxDl; TxD2) which is generated by a communication control device (11) of the subscriber station (10; 20; 30) was sent serially to the bus (40) in a frame (450), and the subscriber station (10; 20; 30) in a first communication phase (451; 453, 451) bus states (401; 402) for the frame ( 450) with a first operating mode and in a second Communication phase (452) bus states (401; 402; U_D0; U_D1) generated for the frame (450) with a second operating mode that differs from the first operating mode,
Vergleichen, mit einem Vergleichsblock (153; 153A; 153B; 153C), eines aus einem Zählwert (Zasym; Zrx) des mindestens einenCompare, with a comparison block (153; 153A; 153B; 153C), one of a count (Zasym; Zrx) of the at least one
Zählers (150; 152) ermittelten Messergebnisses mit mindestens einem Schwellwert (Ts), und Counter (150; 152) determined measurement result with at least one threshold value (Ts), and
Anzeigen mit einem Konfliktanzeigesignal (S_K) für die Kommunikationssteuereinrichtung (11), wenn der Vergleichsblock (153; 153A; 153B; 153C) bei dem Vergleich ermittelt, dass dieDisplay with a conflict indication signal (S_K) for the communication control device (11) if the comparison block (153; 153A; 153B; 153C) determines during the comparison that the
Teilnehmerstation (10; 20; 30) in der zweiten Kommunikationsphase (452) keinen exklusiven, kollisionsfreien Zugriff auf den Bus (40) hat. Subscriber station (10; 20; 30) has no exclusive, collision-free access to the bus (40) in the second communication phase (452).
PCT/EP2020/071919 2019-08-09 2020-08-04 Conflict detector for a subscriber station of a serial bus system and method for communication in a serial bus system WO2021028269A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202080070882.2A CN114503520B (en) 2019-08-09 2020-08-04 Conflict detector for subscriber stations of a serial bus system and method for communication in a serial bus system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102019211980.8 2019-08-09
DE102019211980.8A DE102019211980A1 (en) 2019-08-09 2019-08-09 Conflict detector for a subscriber station of a serial bus system and method for communication in a serial bus system

Publications (1)

Publication Number Publication Date
WO2021028269A1 true WO2021028269A1 (en) 2021-02-18

Family

ID=71950631

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2020/071919 WO2021028269A1 (en) 2019-08-09 2020-08-04 Conflict detector for a subscriber station of a serial bus system and method for communication in a serial bus system

Country Status (3)

Country Link
CN (1) CN114503520B (en)
DE (1) DE102019211980A1 (en)
WO (1) WO2021028269A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116866108B (en) * 2023-07-31 2024-03-12 苏州纳芯微电子股份有限公司 Bus communication method, communication system control method, and communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100124298A1 (en) * 2008-11-14 2010-05-20 Dae Joong Jang Data transmitting system
DE102011106687A1 (en) * 2011-07-06 2013-01-10 Festo Ag & Co. Kg Signal processing system and method for processing signals in a bus node
DE102015209196A1 (en) * 2014-09-08 2016-03-10 Robert Bosch Gmbh Method for the serial transmission of a frame via a bus system from a transmitter to at least one receiver and subscribers of a bus system
WO2019030080A1 (en) * 2017-08-08 2019-02-14 Robert Bosch Gmbh Transceiver for a bus system, and method for reducing an oscillation inclination upon transitioning between different bit states

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1316387C (en) * 2002-02-20 2007-05-16 贵州以太科技信息产业有限责任公司 Series interface bus communications controller
JP2012080360A (en) * 2010-10-01 2012-04-19 Denso Corp Communication system, master node and solve node
DE102014204048A1 (en) * 2014-03-05 2015-09-10 Robert Bosch Gmbh Subscriber station for a bus system and method for reducing conducted emissions in a bus system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100124298A1 (en) * 2008-11-14 2010-05-20 Dae Joong Jang Data transmitting system
DE102011106687A1 (en) * 2011-07-06 2013-01-10 Festo Ag & Co. Kg Signal processing system and method for processing signals in a bus node
DE102015209196A1 (en) * 2014-09-08 2016-03-10 Robert Bosch Gmbh Method for the serial transmission of a frame via a bus system from a transmitter to at least one receiver and subscribers of a bus system
WO2019030080A1 (en) * 2017-08-08 2019-02-14 Robert Bosch Gmbh Transceiver for a bus system, and method for reducing an oscillation inclination upon transitioning between different bit states

Also Published As

Publication number Publication date
DE102019211980A1 (en) 2021-02-11
CN114503520A (en) 2022-05-13
CN114503520B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
EP3114801B1 (en) Subscriber station for a bus system and method for reducing line-conducted emissions in a bus system
EP3114800B1 (en) Subscriber station for a bus system and method for improving the quality of transmission in a bus system
EP2751956B1 (en) Method and apparatus for the verification of the correct function of a serial data transmission
EP3977682B1 (en) Error detection test device for a subscriber station of a serial bus system, and method for testing mechanisms for detecting errors in a communication in a serial bus system
EP3900271B1 (en) Device for a subscriber station of a serial bus system and method for communication in a serial bus system
EP3977683B1 (en) Device for a subscriber station of a serial bus system and method for communication in a serial bus system
EP3900272B1 (en) Subscriber station for a serial bus system and method for communication in a serial bus system
WO2021058432A1 (en) Conflict detector for a subscriber station of a serial bus system and method for communication in a serial bus system
EP3881499A1 (en) Error frame screening unit for a subscriber station of a serial bus system and method for communication in a serial bus system
WO2020126754A1 (en) Device for a subscriber station of a serial bus system and method for communication in a serial bus system
EP3756311B1 (en) Apparatus and method for a transmitting/receiving device of a bus system
WO2020120555A1 (en) Subscriber station for a serial bus system and method for communicating in a serial bus system
EP3895384A1 (en) Overlap detection unit for a subscriber station of a serial bus system, and method for communicating in a serial bus system
WO2021028269A1 (en) Conflict detector for a subscriber station of a serial bus system and method for communication in a serial bus system
WO2020234465A1 (en) Subscriber station for a serial bus system, and method for communicating in a serial bus system
WO2020048742A1 (en) Subscriber station for a serial bus system, and method for transmitting data in a serial bus system
WO2020035392A1 (en) Frame screening unit, subscriber station for a serial bus system and method for communication in a serial bus system
WO2021028271A1 (en) Subscriber station for a serial bus system and method for communication in a serial bus system
WO2020244986A1 (en) Subscriber station for a serial bus system and method for communication in a serial bus system
DE102022207919A1 (en) Subscriber station for a serial bus system and method for communication in a serial bus system
EP4029201A1 (en) Device for a subscriber station of a serial bus system and method for communication in a serial bus system
DE102018220498A1 (en) Subscriber stations for a serial bus system and method for transmitting a message in a serial bus system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20751528

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20751528

Country of ref document: EP

Kind code of ref document: A1