EP4154476A1 - Station abonnée pour un système de bus série et procédé de communication dans un système de bus série - Google Patents
Station abonnée pour un système de bus série et procédé de communication dans un système de bus sérieInfo
- Publication number
- EP4154476A1 EP4154476A1 EP21720741.4A EP21720741A EP4154476A1 EP 4154476 A1 EP4154476 A1 EP 4154476A1 EP 21720741 A EP21720741 A EP 21720741A EP 4154476 A1 EP4154476 A1 EP 4154476A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- frame
- bus
- subscriber station
- marking
- bus system
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40032—Details regarding a bus interface enhancer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Definitions
- Subscriber station for a serial bus system and method for communication in a serial bus system
- the present invention relates to a subscriber station for a serial bus system and a method for communication in a serial bus system, which operate at a high data rate as well as great flexibility and great error resistance, with unauthorized manipulation of the operation of a higher-level technical system being prevented.
- Bus systems for communication between sensors and control devices should enable the transmission of a large amount of data, depending on the number of functions of a technical system or a vehicle. It is often required that the data can be transmitted from the sender to the recipient faster than before and that large data packets can also be transmitted if necessary.
- a bus system In vehicles, a bus system is currently in the introductory phase 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. Most manufacturers use CAN FD in the first step with 2Mbit / s data bit rate and 500kbit / s arbitration bit rate in the vehicle.
- CAN XL In order to enable even higher data rates, a successor bus system for CAN FD is currently being developed, referred to below as CAN XL will. In addition to pure data transport via the CAN bus, CAN XL should also support other functions such as functional safety, data security and quality of service (QoS). These are elementary properties that are required, for example, in an autonomously driving vehicle.
- QoS quality of service
- OSI Open Systems Interconnection Model
- the OSI layer model is a reference model for network protocols that is based on a layer architecture. In layer 2, network access is regulated in terms of frames. Due to the lack of security with CAN FD and Classical CAN on Layer 2, it is possible that manipulated frames are smuggled into the bus system that change the normal operation of the system without authorization. This can lead to undesirable results and possibly to a security risk for the higher-level technical system.
- a subscriber station for a serial bus system and a method for communication in a serial bus system which solve the aforementioned problems.
- a subscriber station for a serial bus system and a method for communication in a serial bus system are to be provided, which offer security against manipulation on layer 2 of the OSI layer model, so that even with a high data rate and an increase in the amount of user data per frame high error resistance of the communication to realize a safe operation of the bus system.
- the object is achieved by a subscriber station for a serial bus system with the features of claim 1.
- the subscriber station has a communication control device for controlling communication between the subscriber station and at least one other subscriber station of the bus system and for generating a transmission signal in accordance with a frame, a transmitting / receiving device which is designed for serial transmission of a transmission signal generated by the communication control device on a bus of the bus system , and which is designed for the serial reception of signals from the bus of the bus system, and a marking module for evaluating whether a frame received from the bus is allowed to occur on the bus or not, and for marking a frame with a marking in such a way that the transmission / Receiving device sends the marking on the bus in order to notify the result of the evaluation to the at least one other subscriber station of the bus system.
- the design of the subscriber station (node) described can non-destructively mark a frame received from the bus as “strange”.
- the marking is carried out in such a way that all other subscriber stations (nodes) receive the marking from the bus. In this way, the subscriber station can inform the other subscriber stations that the frame that has just been sent via the bus and has been marked accordingly should not have been sent.
- the subscriber station can also be designed to use the marking for other things.
- the marking can be used for at least one of the following items of information, namely information on the temporal and / or functional use of the frame, information on receiving the frame from the bus, or the like.
- the method carried out by the subscriber station can also be used if the bus system also has at least one CAN subscriber station and / or at least one CAN FD subscriber station that send messages according to the CAN protocol and / or CAN FD protocol.
- the marking module is optionally designed to mark a frame that must not appear on the bus.
- the marking module is optionally designed to evaluate, by comparing it with a list, whether or not a frame received from the bus needs to be marked on the bus.
- the marking module is designed to insert the marking into the frame without the frame being destroyed.
- the marking module is designed to insert the marking into the frame after a data field in which the useful data of the frame are inserted.
- the marking module is designed to insert the marking as an inverse bit in the frame at a position that is provided for the subscriber station of the bus system, incorrect reception of the frame display, wherein the marking module is designed to insert a temporally longer marking in the frame than a temporal length is provided for the display of the incorrect reception of the frame in the frame.
- the marking module is designed to insert the marking as a marking with a time length of N bits in the frame, where N is a natural number greater than or equal to 1.
- the marking module can be designed to select the length of the marking depending on the meaning of the marking.
- the marking module is designed to insert the marking after the frame without the frame being destroyed.
- the marking module can be designed to insert the marking after the frame starting with the second bit of an interframe distance.
- the marking has a greater length than the maximum length of an overload identifier that can be sent in the interframe distance.
- the transmitting / receiving device for the serial transmission of a transmission signal generated by the communication control device on a bus of the bus system is configured in such a way that the bit time of the signal sent to the bus in a first communication phase can differ from a bit time of the one in a frame second communication phase sent signal.
- the frame prefferably be designed to be compatible with CAN FD, negotiating in a first communication phase which of the subscriber stations of the bus system will get an at least temporarily exclusive, collision-free access to the bus in a 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 are connected to one another in series to be able to communicate.
- 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 subscriber station of the bus system which has a communication control device, a transmitting / receiving device and a marking module, the method comprising the steps of controlling, with the communication control device, a communication of the subscriber station with at least one other subscriber station of the bus system, the Communication control device is designed for generating a transmission signal according to a frame, sending serially, with the transmission / reception device, a transmission signal generated by the communication control device on a bus of the bus system, serial reception, with the transmission / reception device, of signals from the bus of the bus system , Evaluate with the marking module whether a frame received from the bus is allowed to occur on the bus or not, and marking, with the marking module, a frame with a marking in such a way that the transmitting / receiving device sends the marking on the bus in order to avoid the E. to communicate the result of the evaluation of the at least one other subscriber station of
- the method offers the same advantages as mentioned above with regard to the subscriber station.
- 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 a message that can be sent by 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
- FIG. 5 shows a time profile of a differential voltage VDIFF of the bus signals CAN-XL_H and CAN-XL_L at the subscriber station according to the first exemplary embodiment
- FIG. 10 shows a time profile of a signal TxD4 at the TXD connection of a fourth subscriber station of the bus system according to a second exemplary embodiment, which currently acts as an RX subscriber station and receives the frame according to the signal from FIG. 6 from the bus of the bus system.
- FIG. 1 shows a bus system 1 which, in particular, is fundamentally designed for a CAN bus system, a CAN FD bus system, a CAN XL bus system, and / or modifications thereof, as described below.
- That 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 wire 41 and a second bus wire 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 dominant level or generating recessive levels or other 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 during communication on bus 40, as shown by the jagged black block arrow in FIG. 1, an error frame 47 (error flag) can optionally 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
- the subscriber station 20 has a
- Subscriber station 30 has a communication control device 31, a transmitting / receiving device 32 and a marking module 35. Transmitting / receiving devices 12, 22, 32 of subscriber stations 10, 20, 30 are each connected directly connected 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 devices 11, 31 create and read first messages 45, which are modified CAN messages 45, for example.
- the modified CAN messages 45 are based on a CAN XL- Format, which is described in more detail with reference to FIG. 2, and in which the respective marking module 15, 35 is used.
- the communication control devices 11, 31 can also be designed to provide or receive a CAN XL message 45 or a CAN FD message 46 for the transceiver 32 as required.
- the communication control devices 11, 31 thus create and read 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 FD.
- the communication control device 21 can be designed like a conventional CAN controller according to ISO 11898-1: 2015, i.e. like a CAN FD tolerant classical CAN controller or a CAN FD controller.
- the communication control device 21 creates and reads second messages 46, for example CAN FD messages 46.
- CAN FD messages 46 a number of 0 to 64 data bytes can be included, which also have a significantly faster data rate than with a Classical CAN Message to be transmitted.
- the communication control device 21 is designed like a conventional CAN FD controller.
- the transmitting / receiving device 22 can be designed like a conventional CAN transceiver according to ISO 11898-1: 2015 or CAN FD transceiver.
- the transmitting / receiving devices 12, 32 can be designed to provide or receive messages 45 according to the CAN XL format or messages 46 according to the current CAN FD format for the associated communication control device 11, 31, as required.
- FIG. 2 shows a CAN XL frame 450 for the message 45, as it is provided by the communication control device 11 for the transmitting / receiving device 12 for sending on the bus 40.
- the Communication control device 11 defines the frame 450 in the present exemplary embodiment as being compatible with CAN FD, as also illustrated in FIG. 2. The same applies analogously to the communication control device 31 and the transmitting / receiving device 32 of the subscriber station 30.
- the CAN XL frame 450 for CAN communication on the bus 40 is divided into different communication phases 451, 452, namely an arbitration phase 451 and a data phase 452.
- the frame 450 has an arbitration field 453, a control field 454 Data field 455, a checksum field 456 for a checksum FCRC and a switchover sequence ADS and a confirmation field 457.
- an identifier (ID) in the arbitration field 453 is used to negotiate bit by bit between the subscriber stations 10, 20, 30 which subscriber station 10, 20, 30 would like to send the message 45, 46 with the highest priority and therefore for the next Time for sending in the subsequent data phase 452 receives exclusive access to the bus 40 of the bus system 1.
- a physical layer is used as in CAN and CAN-FD. The physical layer corresponds to the bit transmission layer or layer 1 of the well-known OSI model (Open Systems Interconnection Model).
- phase 451 An important point during phase 451 is that 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.
- the user data of the CAN-XL frame or the message 45 from the data field 455 as well as the checksum field 456 for the checksum FCRC and also a field DAS, which is used to switch from the data phase 452 back to the arbitration phase 451.
- 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 CAN or CAN FD: a) Adoption and, if necessary, adaptation of proven properties that are responsible for the robustness and user-friendliness of CAN and CAN FD, in particular the frame structure with identifier and arbitration according to the CSMA / CR method, b) increasing the net data transmission rate, in particular to around 10 megabits per second, c) increasing the size of the useful data per frame, in particular to around 4kbytes or any other value.
- the subscriber station 10 uses as the first communication phase partially, in particular up to the FDF bit (inclusive), a format known from CAN / CAN-FD in accordance with ISO11898-1: 2015.
- the subscriber station 10 uses a CAN XL format in the first communication phase and in the second communication phase, the data phase 452, which is described below.
- CAN XL and CAN FD are compatible.
- the res bit known from CAN FD which is called the XLF bit below, is used for switching from the CAN FD format to the CAN XL format used. Therefore the frame formats of CAN FD and CAN XL are the same up to the res bit.
- a receiver only recognizes the format in which the frame is being sent from the res bit.
- a CAN XL subscriber station that is to say here the subscriber stations 10, 30, also supports CAN FD.
- CAN XL extended frame format is optionally possible, in which an identifier with 29 bits is used. Up to the FDF bit, this is identical to the known CAN FD extended frame format from ISO11898-l: 2015.
- the frame 450 from the SOF bit up to and including the FDF bit is identical to the CAN FD Base Frame Format according to ISO11898-1: 2015. The known structure is therefore not explained further here.
- Bits that have a fixed value, namely 0 or 1 are marked with a black line.
- Bits shown with a thick line on their lower line in FIG. 2 are sent in frame 450 as dominant or "0‘ ".
- Bits shown with a thick line on their top line in FIG. 2 are sent in frame 450 as recessive or, 1 ‘.
- symmetrical 1 and 0 levels are used instead of recessive and dominant levels.
- the dynamic bit stuffing rule of CAN FD applies up to the XLF bit in control field 454, so that an inverse stuff bit must be inserted after 5 identical bits in a row.
- Such stuff bits are also referred to as dynamic stuff bits.
- a fixed stuffing rule applies, so that a fixed stuff bit must be inserted after a fixed number of bits.
- a number of 2 or more bits can be inserted as fixed stuff bits.
- the XLF bit follows directly after the FDF bit, the position of which corresponds to the “res bit” in the CAN FD base frame format, as mentioned above. If the XLF bit is sent as 1, i.e. recessive, this is used to identify it the frame 450 as a CAN XL frame. For a CAN FD frame, the communication control device 11 sets the XLF bit as 0, that is to say dominant.
- the XLF bit is followed in frame 450 by a resXL bit, which is a dominant bit for future use.
- the resXL bit could be defined exactly the other way around, i.e. that it must be sent as 1, i.e. recessive. In this case the receiving subscriber station goes into the protocol exception state with a dominant resXL bit.
- the resXL bit is followed in frame 450 by an ADS (Arbitration Data Switch) sequence in which a predetermined bit sequence is coded.
- ADS Application Data Switch
- This bit sequence allows a simple and reliable switchover from the bit rate of the arbitration phase 451 (arbitration bit rate) to the bit rate of the data phase 452 (data bit rate).
- the bit sequence of the ADS sequence consists, among other things, of an AL1 bit that is sent dominantly, i.e. 0.
- the AL1 bit is the last bit of the arbitration phase 451. In other words, the AL1 bit is the last bit before switching to the data phase 452 with the short bits.
- the physical layer in the transmitting / receiving device 12, 22, 32 is switched within the AL1 bit.
- the ALI bit could alternatively have the value 1, depending on which value (0 or 1) is more suitable for switching the physical layer in the transmitting / receiving device 12, 32 (transceiver).
- the two following bits DH1 and DL1 are already sent with the data bit rate.
- the bits DH1 and DL1 are therefore temporally short bits of the data phase 452 in CAN XL. If the ALI bit has the value 1, it is followed first by the DL1 bit and then the DH1 bit.
- a PT field follows in frame 450, which identifies the content of data field 455.
- the content indicates what type of information is contained in the data field 455.
- the PT field indicates whether an “Internet Protocol” (IP) frame is located in the data field 455, or a tunneled Ethernet frame or something else.
- IP Internet Protocol
- a data field 455 of length 0 could be permitted, as is the case with CAN, for example.
- DLC 0, for example, would encode the data field length with the number of 0 bytes.
- the DLC field is followed in frame 450 by a header checksum HCRC.
- the header checksum HCRC is a checksum to secure the header of the frame 450, i.e. all relevant bits from the beginning of the frame 450 with the SOF bit to the start of the header checksum HCRC, including all dynamic and optionally the fixed stuff bits up to at the beginning of the header checksum HCRC.
- the relevant bits only include those bits of the frame header which have a changeable value. In other words, the relevant bits do not include bits that always have a fixed value in the frame 450. Such bits with a value that cannot be changed are therefore not protected because these bits have a fixed value.
- the length of the header checksum HCRC and thus the checksum polynomial according to the cyclical redundancy check (CRC) must be selected according to the desired Hamming distance.
- the data word to be protected by the header checksum HCRC is longer than 27 bits with a data length code (DLC) of 11 bits. Therefore, the polynomial of the head checksum HCRC must be at least 13 bits long in order to achieve a Hamming distance of 6.
- the header checksum HCRC is followed in the frame 450 by the data field 455 (data field).
- the data field 455 consists of 1 to n data bytes, where n for example, 2048 bytes or 4096 bytes, or any other value. Alternatively, a data field length of 0 is conceivable.
- the length of the data field 455 is encoded in the DLC field as previously described.
- the data field 455 is followed in the frame 450 by a frame checksum FCRC.
- the frame checksum FCRC consists of the bits of the frame checksum FCRC.
- the length of the frame checksum FCRC and thus the CRC polynomial must be selected according to the desired Hamming distance.
- the framework checksum FCRC protects the entire framework 450. Alternatively, only the data field 455 is optionally secured with the FCRC frame checksum.
- the frame checksum FCRC is followed in frame 450 by the sequence DAS (Data Arbitration Switch), in which a predetermined bit sequence is coded.
- DAS Data Arbitration Switch
- This bit sequence allows a simple and reliable switchover from the data bit rate of the data phase 452 to the arbitration bit rate of the arbitration phase 451.
- the bit sequence begins with the data bits DH2, DH3 which are sent as 1 and the data bits DL2, DL3 which are sent as 0 as shown in FIG. These are the last 4 bits of the data phase 452.
- the DL3 bit is therefore the last short bit, ie the last bit before switching to the arbitration phase 451 with the long bits.
- the bits are followed by an AHI bit with the value 1 of the arbitration phase 451.
- the physical layer in the transmitting / receiving device 12, 32 (transceiver) is switched within the AHI bit.
- the AHl bit could alternatively have the value 0, depending on which value (0 or 1) is more suitable for switching over the physical layer in the transmitting / receiving device 12, 32 (transceiver).
- An RX subscriber station 10, 30, which is only the recipient of the frame 450, ie has not sent the received frame 450, uses the bit sequence DH2, DH3, DL2, DL3 not only for synchronization, but also as a format check pattern. With this bit sequence, the RX subscriber station 10, 30 can recognize whether it is scanning the bit stream received from the bus 40 offset, for example by 1 bit or 2 bits, etc.
- the DAS field has three bits, that is the DH2 bit, the DL2 bit and an AHl bit. Of the bits, the first and last bit are sent as 1 and the middle bit is sent as 0. In the above examples, the last synchronization before switching from the data phase 452 to the arbitration phase 451 can be carried out on the edge between the DH3 bit and the DL2 bit or the DH2 bit and the DL2 bit in the receiving subscriber station.
- the sequence DAS is followed in the frame 450 by the confirmation field 457, which begins with an RP field.
- a synchronization pattern (sync pattern) is held in the RP field, which allows a receiving subscriber station 10, 30 to recognize the beginning of the arbitration phase 451 after the data phase 452.
- the synchronization pattern allows receiving subscriber stations 10, 30, which do not know the correct length of the data field 455, for example due to an incorrect header checksum HCRC, to synchronize. These subscriber stations can then send a “negative acknowledge” to report the incorrect reception. This is particularly important when CAN XL does not allow any error frames 47 (error flags) in data field 455.
- the RP field is followed by several bits in the ACK field 457 to confirm or not confirm correct receipt of the frame 450.
- an ACK bit, an ACK-dlm bit, a NACK- Bit and a NACK-dlm bit provided.
- the receiving subscriber stations 10, 30 send the ACK bit as dominant if they have received the frame 450 correctly.
- the sending subscriber station sends the ACK bit as recessive.
- the bit originally sent to the bus 40 in the frame 450 can therefore be overwritten by the receiving subscriber stations 10, 30.
- the ACK-dlm bit is sent as a recessive bit, which is used to separate it from other fields.
- the NACK bit and the NACK-dlm bit enable a receiving subscriber station to signal incorrect reception of the frame 450 on the bus 40.
- the function of the NACK-dlm bit is like that of the ACK-dlm bit.
- the NACK bit can be used to mark frame 450, as described below.
- the bit sequence of the end field (EOF) is used to mark the end of the frame 450.
- the end field (EOF) ensures that a number of 8 recessive bits are sent at the end of the frame 450. This is a bit sequence that cannot occur within frame 450. As a result, the end of the frame 450 can be reliably recognized by the subscriber stations 10, 20, 30.
- the end field (EOF) has a length that differs depending on whether a dominant bit or a recessive bit was seen in the NACK bit. If the sending subscriber station has received the NACK bit as dominant, then the end field (EOF) has a number of 7 recessive bits. Otherwise the end field (EOF) is only 5 recessive bits long.
- the end field (EOF) is followed in the frame 450 by an interframe distance 458 (INT - Intermission Field), which is not shown in FIG. 2 but is only shown in FIGS. 9 and 10.
- This interframe distance 458 (INT) is designed as with CAN FD in accordance with ISO11898-l: 2015.
- FIG. 3 shows the basic structure of the subscriber station 10 with the communication control device 11, the transmitting / receiving device 12 and the marking module 15, which is part of the communication control device 11.
- the subscriber station 30 is constructed in a similar manner to that shown in FIG. 3, but the marking module 35 according to FIG. 1 is arranged separately from the communication control device 31 and the transceiver 32. The subscriber station 30 is therefore not described separately.
- ASIC application-specific integrated circuit
- SBC system basis -Chip
- a power supply device 17 is installed in the system ASIC 16, which transmits the / Receiving device 12 is supplied with electrical energy.
- the energy supply device 17 usually supplies a voltage CAN_Supply of 5 V. However, depending on requirements, the energy supply device 17 can supply a different voltage with a different value. Additionally or alternatively, the energy supply device 17 can be configured as a power source.
- the marking module 15 has an evaluation block 151 and an insertion block 152, which are described in more detail below.
- the transmitter / receiver device 12 also has a transmitter module 121 and a receiver module 122. Even if the transmitter / receiver device 12 is always referred to below, it is alternatively possible to provide the receiver module 122 in a separate device external to the transmitter module 121.
- the transmission module 121 and the reception module 122 can be constructed in the same way as in a conventional transmission / reception device 22.
- the transmission module 121 can in particular have at least one operational amplifier and / or one transistor.
- the receiving module 122 can in particular have at least one operational amplifier and / or one transistor.
- 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 voltage supply for the energy supply device 17 for supplying the first and second bus wires 41, 42 with electrical energy, in particular with the CAN supply voltage, takes place via at least one connection 43.
- the connection to ground or CAN_GND is implemented via a connection 44.
- the first and second bus wires 41, 42 are terminated with a terminating resistor 49.
- the first and second bus wires 41, 42 are connected in the transmitting / receiving device 12 not only to the transmitting module 121, which is also referred to as a transmitter, but also to the receiving module 122, which is also referred to as a receiver, even if the connections in 3 are not shown for the sake of simplicity.
- the transmission module 121 converts a transmission signal TXD or TxD of the communication control device 11 into corresponding signals CAN-XL_H and CAN-XL_L for the bus wires 41, 42 and sends these signals to the connections for CAN_H and CAN_L on the bus 40.
- An example for the signals CAN-XL_H and CAN-XL_L is shown in FIG.
- a differential signal VDIFF CAN-XL_H - CAN-XL_L, which is shown in FIG. 5, is formed on bus 40.
- the receiving module 122 of FIG. 3 forms a received signal RXD or RxD from signals CAN-XL_H and CAN-XL_L received from the bus 40 according to FIG. 4 or the difference signal VDIFF according to FIG. 5. As shown in FIG. 3, the reception module 122 forwards the reception signal RXD or RxD to the communication control device 11.
- the transmitting / receiving device 12 with the receiving module 122 always listens to a transmission of data or messages 45, 46 on the bus 40 in normal operation, regardless of whether the transmission - / receiving device 12 is the sender of the message 45 or not.
- the signals CAN-XL_H and CAN-XL_L have the dominant and recessive bus levels 401, 402, as known from CAN, at least in the arbitration phase 451.
- the individual bits of the signal VDIFF with the bit time t_bt can be recognized by the receiving module 122 with a receiving threshold T_a of 0.7 V, for example, in the arbitration phase 451, as shown in FIG. 5.
- the bits of the signals CAN-XL_H and CAN-XL_L are sent faster, i.e. with a shorter bit time t_bt, than in the arbitration phase 451.
- the signals CAN-XL_H and CAN-XL_L therefore differ in the data phase 452 at least in their faster bit rate from the conventional signals CAN_H and CAN_L. If the signals CAN-XL_H and CAN-XL_L are also generated with a different physical layer in data phase 452, the reception threshold is also switched in reception module 122, for example to a reception threshold T_d of approximately 0.0 V in data phase 452.
- the sequence of the states 401, 402 for the signals CAN-XL_H, CAN-XL_L in FIG. 4 and the resultant curve of the voltage VDIFF from FIG. 5 only serves to illustrate the function of the subscriber station 10.
- the sequence of the data states for the bus states 401, 402 can be selected as required.
- the transmission module 121 of FIG. 3 generates a first data state as bus state 402 with different bus levels for two bus wires 41, 42 of the bus line and a second data state as bus state 401 with the same bus level for the two bus wires in a first operating mode according to FIG. 4 41, 42 of the bus line of the bus 40.
- the transmission module 121 of FIG Bus 40 the signals CAN-XL_H, CAN-XL_L in data phase 452 can also be generated with a different physical layer than with CAN FD. As a result, the bit rate in data phase 452 can be increased even further than with CAN FD.
- the marking module 15 of FIG. 3, in particular its evaluation block 151, is used to evaluate whether the currently received frame 450 is to be marked or not.
- the evaluation block 151 has a reception filter 1511, with which predetermined frames 450 can be filtered out.
- the reception filter 1511 has filter criteria 151 B with which it can be determined whether the frame 450 has properties that are not allowed to occur on the bus 40.
- the filter criteria 151B are created on the basis of features which represent a safety risk for the bus system 1.
- the filter criteria 151 B are stored as a list, so that the evaluation block 151 carries out a comparison with the list.
- Such a list can be referred to as a security feature black list.
- the list can in particular have identifier ID for which the sending of predetermined frames 450 with predetermined content is not permitted. For example, a sensor that has a special identifier must not send a frame 450, which is usually expected from a control device or another sensor or an encoder or a drive device.
- the black list of the subscriber station 10 contains all those identifiers ID that are only allowed to be sent exclusively by the subscriber station 10. This means that if the subscriber station 10 receives a message or frame 450 from the bus 40 and the receive filter 1511 with the filter criteria 151B finds such a property (hit) that must not appear on the bus 40, then it is an unauthorized transmission Message or frame 450 on bus 40.
- the reception filter 1511 has filter criteria 151W with which it can be determined whether the frame 450 is of interest to the subscriber station 10.
- the list thus corresponds to a so-called acceptance filter.
- the filter criteria 151W are stored as a list. Such a list can be referred to as a white list.
- the subscriber station 10 uses the receive filter 1511 in particular in a case in which the subscriber station 10 is not a sender of the frame 450 currently being sent on the bus 40, that is to say acts as an RX subscriber station.
- the evaluation block 15 If the subscriber station 10 as an RX subscriber station with the evaluation block 151, more precisely its reception filter 1511 using the filter criteria 151 B, recognizes that the frame 450, which has just been transmitted on the bus 40, should not occur there, the evaluation block 15 signals this the insertion block 152. In particular, the evaluation block 15 instructs the insertion block 152 to mark the frame 450 on the bus 40 with a marking 48. In other words, in the case mentioned, the RX subscriber station (receiving node) can instruct its communication control device 11, in particular the CAN XL protocol controller, to mark the frame 450 on the bus 40 with a marker 48.
- the communication control device sends N dominant bits in the NACK field in frame 450.
- the dominant bits overwrite the NACK bit.
- N is ideally 2 because the NACK bit is 1 bit long if it is sent.
- one of the subscriber stations 10, 30, in particular its communication control device 11, 31 can be designed to discard the marked frame 450 even though it was received without errors.
- one of the subscriber stations 10, 30, in particular its communication control device 11, 31 can be configured to go into a kind of emergency operation, since such an event, a frame 450 marked with the marker 48, should never occur. If such an event nevertheless occurs, namely a frame 450 marked with the marking 48, then there is most likely malware on one of the control devices of the subscriber stations 10, 30 on the bus 40.
- malware tries to manipulate the behavior of the higher-level technical system, in particular a vehicle in that the malware sends frames 450, which actually only other subscriber stations 10, 20, 30 on bus 40 are allowed to send.
- such an event can occur, namely a marked frame 450, if an incorrect configuration of a control device has occurred. In one in such a case this can lead to the same effect, namely a marked frame 450.
- the marking 48 of a received frame 450 with the insertion block 152 can also help to detect misconfiguration (s).
- FIGS. 6 to 9 show an example of transmit signals TxD that occur in four different subscriber stations 10 of bus system 1 during and after the transmission of a frame 450 at connection TXD of individual subscriber stations 10, 10, 30, 30. That is, it is assumed below that the bus system 1 has at least four identically structured subscriber stations 10. Of course, at least one of the subscriber stations 10 can alternatively be constructed like a subscriber station 30.
- FIG. 6 shows a time profile of a transmission signal TxD1 at the TXD connection of a first subscriber station 10 of the bus system 1, which is currently sending a frame 450 to the bus 40 and thus acts as a TX subscriber station;
- FIG. 7 shows a time profile of a transmission signal TxD2 at the TXD connection of a second subscriber station 10 of the bus system 1, which is currently acting as an RX subscriber station and receives the frame 450 according to the signal of FIG. 6 from the bus 40;
- FIG. 8 shows a time profile of a transmit signal TxD3 at the TXD connection of a third subscriber station 10 of the bus system 1, which is currently acting as an RX subscriber station and receives the frame 450 according to the signal of FIG. 6 from the bus 40;
- FIG. 9 shows a time profile of a signal TxD4 at the TXD connection of a fourth subscriber station 10 of the bus system 1, which currently acts as an RX subscriber station and receives the frame according to the signal of FIG. 6 from the bus of the bus system.
- the first subscriber station 10 sends a frame 450 to the bus 40 with the transmit signal TxDl according to FIG. 6.
- the frame 450 is from the other subscriber stations 10 received.
- the frame 450 is sent in the arbitration phase 451 with bits with a first bit duration t_bl.
- the frame 450 is sent with bits with a second bit duration t_b2.
- the second bit duration t_b2 is shorter than the first bit duration t_bl, as described above.
- the second subscriber station 10 has correctly received the frame 450 and confirms this with an ACK, as shown in FIG. 7 in the transmission signal TxD2.
- the third subscriber station 10 did not receive the frame 450 correctly.
- the third subscriber station 10 therefore confirms the receipt of the frame 450 with a NACK, as shown in FIG. 8 in the transmission signal TxD3.
- the NACK is included in frame 450 as an inverse bit. In other words, the NACK is inserted as an inverse value to the value of the bit that was sent in the send signal TxD1.
- the fourth subscriber station 10 has classified the frame 450 as a “strange” frame 450.
- the fourth subscriber station 10 therefore marks the frame 450 with its marking module 15 with a marking 48, as described above with reference to FIGS. 3 to 5.
- the subscriber station 10 sends a transmit signal TxD4 with a marker 48 in the bits NACK and NCK dlm, as shown in FIG. 9.
- the marking 48 is inserted into the frame 450 as inverse bits in the NACK and NCK dlm. In other words, the marker 48 is inserted as an inverse value to the value of the bits NACK and NCK dlm which was sent in the send signal TxDl.
- the marking 48 which all subscriber stations 10 receive and thus see in their received signal RxD, the three RX subscriber stations 10, i.e. the second to fourth subscriber stations 10, proceed according to one of the options described above in order to react to the frame 450 .
- the respectively selected option of reacting to the marking 48 more precisely the frame 450, can be permanently set at the factory or set beforehand when configuring the respective subscriber station 10.
- the marking module 15, in particular the insertion block 152 is designed to overwrite the NACK bit as marking 48 with N bits in order to carry out the marking 48 of the frame 450.
- N is a natural number greater than or equal to 1.
- the marking module 15, in particular the insertion block 152 is designed to also carry out a type of arbitration during the superimposition.
- the subscriber station 10 proceeds as follows.
- the subscriber station 10 which has sent a NACK, as shown in FIG. 8, checks whether its NACK has been overwritten. If the NACK has been overwritten, then the subscriber station 10 sends its NACK again following the marking 48.
- the bus system 1 in the bus system 1 according to the first exemplary embodiment and its variants and modifications described above, it can be reliably recognized and communicated to the other bus users when a “strange” frame 450 is sent in the bus system 1.
- the data security of the operation of the bus system 1 can be increased compared to the prior art.
- the safety of the operation of the higher-level technical system in particular a vehicle or an industrial system, or another technical system, can be increased in comparison with the prior art.
- the 10 shows a type of marking 480 of a “strange” frame 450 according to a second exemplary embodiment.
- At least one of the subscriber stations 10, 30 can be configured to carry out the marking 480 as an alternative or in addition to a marking 48 according to the preceding exemplary embodiment.
- the marking module 15, in particular the insertion module 152 is designed to insert a marking 480 after the frame 450.
- the marker 480 is not sent in the frame 450. Therefore, the NACK bit and the NACK-dlm bit can be optional bits. If the NACK bit and the NACK-dlm bit are present, the function of the bits NACK, NACK-dlm in the present exemplary embodiment is the same as the function of the ACK bit and the ACK-dlm bit.
- the marking 480 begins at the interframe distance 458 (INT).
- the interframe distance 458 (INT) has a minimum of 3 bits with CAN.
- the marking module 15 is thus designed to insert the marking 480 in particular immediately after the frame 450.
- the marker 480 is inserted from bit 2 of the interframe distance 458 (INT).
- each of the subscriber stations 10, 30, in particular their communication control device 11, 31, more precisely their protocol controller is designed in such a way that, even after receiving the end of the frame 450 in the interframe distance 458 (INT), a search is made to see whether a marker 480 is present is or not.
- the subscriber station 10, 20, 30, in particular its communication control device 11, 31, more precisely its protocol controller can determine whether the previously received frame 450 was classified as a “strange” frame 450 by any of the subscriber stations 10, 30.
- At least one of the subscriber stations 10, 30, in particular its communication control device 11, 31, more precisely its protocol controller, can only recognize one marking 48 or one marking 480 for a frame. In this way, a distinction can be made between the meanings of the markings 48, 480. In addition, it has at least one of the subscriber stations 10, 20, 30, in particular theirs
- Communication control device 11, 21, 31, more precisely its protocol controller can only distinguish part of the meanings of the markings 48, 480.
- this at least one of the subscriber stations 10, 20, 30, in particular its communication control device 11, 21, 31, more precisely its protocol controller has fewer differentiation options for a reaction to the markings 48, 480.
- the TX subscriber station which receives the frame 450 sent by it on the bus 40 from the bus 40, inserts a marker 48 or 480 in the frame 450 if the TX subscriber station is in the frame 450, which instead of the expected frame 450 (corresponds to the transmitted frame 450) is received, detects a strange frame. This can be the case in particular if defective software marks 48, 480 inserts, which the TX subscriber station classifies as "strange".
- Such defective software can, for example, even if the associated subscriber station 10, 30 is an RX subscriber station and is therefore only the recipient of the frame in the current data phase 452, not only in the NACK bit but at another point in the frame 450 itself on the bus 40 and thus falsify the frame 450 sent by the TX subscriber station on the bus 40.
- the TX subscriber station can recognize this and thus already provide the frame 450 with at least one corresponding marking 48, 480.
- the defective software can even be active on the TX subscriber station and send falsified messages.
- the marking module 15, which ideally cannot be manipulated by the defective software, inserts at least one of the markings 48, 480 if necessary or in such a case.
- 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 Ethernet and / or 10 Base-Tl S 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 an exclusive, collision-free access of a subscriber station 10, 20, 30 to a common channel is guaranteed at least for certain periods of time.
- the number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the exemplary embodiments is arbitrary.
- the subscriber station 20 in the bus system 1 can be 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 the same, so only subscriber station 10 or only subscriber station 30 are present.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Small-Scale Networks (AREA)
Abstract
L'invention concerne une station abonnée (10 ; 20 ; 30) pour un système de bus série (1) et un procédé de communication dans un système de bus série (1). La station abonnée (10 ; 20 ; 30) comprend un dispositif de commande de communication (11 ; 21 ; 31) pour commander une communication entre la station abonnée (10 ; 20 ; 30) et au moins une autre station abonnée (10 ; 20 ; 30) du système de bus (1) et pour générer un signal d'émission (TxD ; TxD1 ; TxD2 ; TxD3 ; TxD4) selon une trame (450), un dispositif d'émission/réception (12 ; 22 ; 32) qui est conçu pour l'émission série du signal d'émission (TxD ; TxD1 ; TxD2 ; TxD3 ; TxD4) généré par le dispositif de commande de communication (11 ; 21 ; 31) sur un bus (40) du système de bus (1), et qui est conçu pour la réception série de signaux en provenance du bus (40), ainsi qu'un module de marquage (15 ; 25 ; 35) servant à évaluer si une trame (450) reçue par le bus (40) doit survenir sur le bus (40) ou non, et pour marquer une trame (450) avec un marquage (48 ; 480) de telle sorte que le dispositif d'émission/réception (12 ; 22 ; 32) envoie le marquage (48 ; 480) au bus (40), afin de communiquer le résultat de l'évaluation de ladite au moins une autre station abonnée (10 ; 20 ; 30) du système de bus (1).
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102020206412.1A DE102020206412A1 (de) | 2020-05-22 | 2020-05-22 | Teilnehmerstation für ein serielles Bussystem und Verfahren zur Kommunikation in einem seriellen Bussystem |
PCT/EP2021/060372 WO2021233634A1 (fr) | 2020-05-22 | 2021-04-21 | Station abonnée pour un système de bus série et procédé de communication dans un système de bus série |
Publications (1)
Publication Number | Publication Date |
---|---|
EP4154476A1 true EP4154476A1 (fr) | 2023-03-29 |
Family
ID=75639904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP21720741.4A Pending EP4154476A1 (fr) | 2020-05-22 | 2021-04-21 | Station abonnée pour un système de bus série et procédé de communication dans un système de bus série |
Country Status (5)
Country | Link |
---|---|
US (1) | US20230148180A1 (fr) |
EP (1) | EP4154476A1 (fr) |
CN (1) | CN115552848A (fr) |
DE (1) | DE102020206412A1 (fr) |
WO (1) | WO2021233634A1 (fr) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015151418A1 (fr) * | 2014-04-03 | 2015-10-08 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Système de communication en réseau, unité de commande électronique de détection de fraude et procédé de gestion de fraude |
WO2015159520A1 (fr) * | 2014-04-17 | 2015-10-22 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Système de réseau monté sur un véhicule, unité de commande électronique de détection d'anomalie et procédé de détection d'anomalie |
-
2020
- 2020-05-22 DE DE102020206412.1A patent/DE102020206412A1/de active Pending
-
2021
- 2021-04-21 EP EP21720741.4A patent/EP4154476A1/fr active Pending
- 2021-04-21 WO PCT/EP2021/060372 patent/WO2021233634A1/fr unknown
- 2021-04-21 CN CN202180036636.XA patent/CN115552848A/zh active Pending
- 2021-04-21 US US17/912,198 patent/US20230148180A1/en active Pending
Also Published As
Publication number | Publication date |
---|---|
DE102020206412A1 (de) | 2021-11-25 |
CN115552848A (zh) | 2022-12-30 |
WO2021233634A1 (fr) | 2021-11-25 |
US20230148180A1 (en) | 2023-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3900272B1 (fr) | Station d'abonné pour un système de bus série et procédé de communication dans un système de bus série | |
WO2020157086A1 (fr) | Station d'abonné pour système de bus série et procédé de communication dans un système de bus série | |
DE102018221680A1 (de) | Einrichtung für eine Teilnehmerstation eines seriellen Bussystems und Verfahren zur Kommunikation in einem seriellen Bussystem | |
DE102018221957A1 (de) | Einrichtung für eine Teilnehmerstation eines seriellen Bussystems und Verfahren zur Kommunikation in einem seriellen Bussystem | |
EP3900273B1 (fr) | Station d'abonné pour un système de bus série et procédé de communication dans un système de bus série | |
WO2020193440A1 (fr) | Station d'abonné pour un système de bus série et procédé de communication dans un système de bus série | |
DE102018221681A1 (de) | Teilnehmerstation für ein serielles Bussystem und Verfahren zur Kommunikation in einem seriellen Bussystem | |
WO2020126754A1 (fr) | Dispositif pour une station participante d'un système de bus série et procédé de communication dans un système de bus série | |
WO2021047834A1 (fr) | Station d'abonné pour un système de bus série et procédé de communication dans un système de bus série | |
EP4070511B1 (fr) | Station d'abonné pour un système de bus série et procédé de communication dans un système de bus série | |
EP4154476A1 (fr) | Station abonnée pour un système de bus série et procédé de communication dans un système de bus série | |
EP4070512B1 (fr) | Station d'abonné pour un système de bus série et procédé de communication dans un système de bus série | |
DE102021200080A1 (de) | Kommunikationssteuereinrichtung für eine Teilnehmerstation für ein serielles Bussystem und Verfahren zur Kommunikation in einem seriellen Bussystem | |
DE102020214649A1 (de) | Teilnehmerstation für ein serielles Bussystem und Verfahren zur Kommunikation in einem seriellen Bussystem | |
DE102020209917A1 (de) | Teilnehmerstation für ein serielles Bussystem und Verfahren zur Kommunikation in einem seriellen Bussystem | |
WO2024027972A1 (fr) | Station d'abonné d'un système de bus série et procédé de communication dans un système de bus série | |
WO2021047894A1 (fr) | Dispositif pour une station d'abonné d'un système de bus série et procédé de communication dans un système de bus série | |
EP4094408A1 (fr) | Dispositif émetteur/récepteur et dispositif de commande de communication pour une station abonnée d'un système de bus série et procédé de communication dans un système de bus série | |
DE102020209918A1 (de) | Teilnehmerstation für ein serielles Bussystem und Verfahren zur Kommunikation in einem seriellen Bussystem | |
EP4248620A1 (fr) | Station d'abonné d'un système de bus série et procédé de communication dans un système de bus série |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: UNKNOWN |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
17P | Request for examination filed |
Effective date: 20221222 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
DAV | Request for validation of the european patent (deleted) | ||
DAX | Request for extension of the european patent (deleted) |