The present application claims the benefit under 35 U.S.C. § 119 of German Patent Application No. DE 10 2023 208 817.7 filed on Sep. 12, 2023, which is expressly incorporated herein by reference in its entirety.
The present invention relates to a commander subscriber station for a serial bus system, a responder subscriber station for a serial bus system, and a method for communication in a serial bus system.
Bus systems are used in many areas of technology for communication between technical devices, such as sensors and control devices.
The use of Classical CAN and/or CAN FD, which are both standardized in the international standard ISO 11898-1:2015, for communication between devices in vehicles and/or other technical equipment is well-known.
The subscriber stations of such a bus system are also referred to as nodes. Such subscriber stations comprise a microcontroller that supports all functions of the abovementioned standard for Classical CAN and/or CAN FD.
Such bus systems can include at least one subscriber station that is required to carry out only very simple function(s), for example an indicator light, in particular a light-emitting diode (LED), to be switched on or off under the control of the microcontroller of another subscriber station and/or required to change color as needed. A sensor can furthermore be present and controlled, that has to periodically provide its acquisition data to the microcontroller of another subscriber station. Such subscriber stations for carrying out the simple functions can also be referred to as responders. A subscriber station comprising the microcontroller controlling a responder is also referred to as a commander.
The specification of the CAN protocol variant “CAN FD Light” is currently being fine-tuned for a more cost-effective connection of responders to CAN bus systems. “CAN FD Light” is also abbreviated to FDL and specifies communication between a commander and at least one responder. The intent is to use frames without bit rate switching in FDL communication. FDL is currently specified in CiA 604-1 and is also to be included in the next revised version of ISO 11898-1.
FDL is intended for CAN bus systems in which a commander CAN subscriber station controls the function(s) of multiple responder CAN subscriber stations. FDL does not support arbitration. The commander therefore uses the “polling” principle to communicate with the responders. The commander is a control device comprising a microcontroller on which the application software runs. The microcontroller includes a CAN controller that can transmit and receive CAN FD frames in accordance with ISO 11898-1:2015. The polling is also carried out by sending a CAN FD frame.
The responders are application-specific integrated circuits, also referred to as ASICs, that comprise an FDL controller. The responders have little or no local computing power and can control simple functions, e.g. light diode (LED) on/off, light diode (LED) color, as described above. A responder only sends a CAN FD frame if it has been requested to do so by the commander via polling.
To enable cost-effective integration of a responder on a single ASIC in a mixed semiconductor process, such as bipolar transistor(s) and CMOS transistor(s) and DMOS transistor(s) (BCD technology), an FDL controller is integrated in a responder. The FDL controller is much simpler than a CAN FD controller.
The responder CAN subscriber stations (responders) send their function information, e.g. a sensor value, to the commander CAN subscriber station (commander) via a normal CAN FD message after polling by the commander. The problem, however, is that the commander also has to be informed about the operating status of the responder. To do this, the FDL controller of the responder either uses a frame with a longer data field in which function information and status information are combined. or the information is sent via the bus in a separate, additional CAN FD message after renewed polling by the commander.
A major disadvantage is that the mentioned options for sending the information to the commander cost additional time for transmission on the bus, which slows down communication in the bus system between the FDL commander and other CAN FD subscriber stations. This reduces the transmittable net data rate of the bus system.
It is an object of the present invention to provide a commander subscriber station for a serial bus system, a responder subscriber station for a serial bus system and a method for communication in a serial bus system that solve the aforementioned problems. The intent is in particular to provide a commander subscriber station for a serial bus system, a responder subscriber station for a serial bus system and a method for communication in a serial bus system in which responder status information can be transmitted between responder CAN subscriber stations and their higher-level commander CAN subscriber station with both high error robustness and a high net data transmission rate of the communication in the bus system.
The object may be achieved by a commander subscriber station for a serial bus system having certain features of the present invention. According to an example embodiment of the present invention, the commander subscriber station comprises a communication control device for controlling communication between the subscriber station and at least one other subscriber station of the bus system and for evaluating at least one signal received from a bus of the bus system using a predetermined first frame, in which the bit time in a first communication phase can differ from a bit time in a second communication phase, and a status information module for evaluating the at least one signal received from the bus with respect to a predetermined control bit, wherein the communication control device is configured to use the predetermined second frame to request a responder subscriber station subordinate to the commander subscriber station to send at least one first signal according to the predetermined second frame which differs from the predetermined first frame via the Bus, and wherein the status information module is configured to instruct the communication control device based on the evaluation of the value of the predetermined control bit to use the second predetermined frame to request the responder subscriber station to send at least one second signal according to the second predetermined frame via the bus in order to receive status information from the responder subscriber station.
The described commander subscriber station according to the present invention is configured by the status information module to not send any information related to the fault containment function of the CAN protocol when communicating with the responder subscriber stations, in particular in the control field, or to expect any information from a responder. Thus, when a responder subscriber station is communicating with its commander subscriber station, an already existing control bit, in particular the ESI bit, can be used in the CAN FD frame to transmit information from the responder subscriber station to the higher-level commander subscriber station. The commander subscriber station can nonetheless continue to use the original fault confinement function, according to which the commander subscriber station uses its error counter, and go into the error passive state or the bus off state as described in ISO 11898-1:2015. When communicating with other non-responder subscriber stations, however, the described commander subscriber station can send and receive information related to the fault containment function of the CAN protocol in the control field of a frame as usual.
The commander subscriber station is thus still compatible with CAN FD and very advantageously receives additional information without transmitting additional frames/messages, in particular CAN FD frames, via the bus or without using a longer data field in a frame/message.
According to an example embodiment of the present invention, if the ESI bit is not being used for other purposes, the responder subscriber station always sends the ESI bit in the FD, more precisely FDL, frames, it sends as ‘0’. Conversely, the commander subscriber station is configured by the status information module with respect to a responder subscriber station to use the ESI bit to identify the status of the connected responder subscriber station.
The responder subscriber station according to an example embodiment of the present invention moreover does not have an error counter, because the fault containment function of the CAN protocol is omitted. The responder can therefore neither switch to the error passive state nor switch itself off from the bus (go bus off).
Overall, the subscriber stations according to the present invention contribute to making the bus system more cost-efficient while still enabling robust and reliable CAN communication.
Advantageous further embodiments of the subscriber station of the present invention are disclosed herein.
According to an example embodiment of the present invention, the predetermined control bit according to the predetermined second frame can be provided for information about the presence or absence of an error passive state of the subscriber station that sent the received signal to the bus, wherein the status information module is configured, evaluate the predetermined control bit according to the predetermined second frame as a change in status information of a responder subscriber station that is controlled with the commander subscriber station via the bus and cannot go into the error passive state.
It is possible that the status information module is configured to instruct the communication control device to use the predetermined second frame to request the responder subscriber station to send a second signal according to the predetermined second frame via the bus if the evaluation of the signal received from the bus shows that the value of the predetermined control bit according to the predetermined second frame corresponds to the information about the presence of an error passive state of the subscriber station that sent the received signal to the bus.
According to an example embodiment of the present invention, the commander subscriber station can be a CAN FD subscriber station, wherein the predetermined first frame is a CAN FD frame in FEFF format, and wherein the predetermined second frame is a CAN FD frame in FBFF format.
According to an example embodiment of the present invention, the status information module can comprise an evaluation block for evaluating the predetermined control bit.
According to an example embodiment of the present invention, the communication control device can be configured to negotiate with the other subscriber stations in the first communication phase of the predetermined first frame which of the subscriber stations of the bus system will receive at least temporarily exclusive, collision-free access to the bus in the following second communication phase.
The aforementioned object may also be achieved by a responder subscriber station for a serial bus system having certain features of the present invention. According to an example embodiment of the present invention, the responder subscriber station comprises a communication control device for controlling communication between the subscriber station and a higher-level commander subscriber station of the bus system and for evaluating at least one signal received from a bus of the bus system using a frame in which the bit time in a first communication phase can differ from a bit time in a second communication phase, and a status information module configured to detect a change in the status information of the responder subscriber station, wherein the status information module is configured to indicate, after detecting a change in the status information of the responder subscriber station in a predetermined control bit of a frame to be sent by the responder subscriber station to the commander subscriber station for the first message following the change, that a change in the status of the responder subscriber station has occurred, wherein the communication control device is configured, upon request from the commander subscriber station, to send a signal according to the first frame for the first message following the change to the bus to the commander subscriber station, wherein the status information module is configured to insert the changed status information into a data field of a second frame for the second message following the change to the commander subscriber station, and wherein the communication control device is configured, upon request from the commander subscriber station, to send a signal according to the second frame for the second message following the change to the bus to the commander subscriber station.
According to an example embodiment of the present invention, the responder subscriber station can be configured to evaluate the status information acquired by the status information module with respect to at least one parameter, but not go into an error passive state, even if the evaluation shows that there is an error in the responder subscriber station.
According to an example embodiment of the present invention, the status information can include at least one item of information relating to the communication between the responder subscriber station and the higher-level commander subscriber station.
Additionally or alternatively, the status information includes at least one item of information relating to a status of a technical application of the responder subscriber station.
Additionally or alternatively, the status information is defined individually for the responder subscriber station depending on the technical application of the responder subscriber station.
It is possible that the status information includes at least one item of information relating to a health status of the responder subscriber station, wherein the health status is a failure to receive a frame from the commander subscriber station past a predetermined waiting period or a malfunction of a technical application of the responder subscriber station.
It is possible that the status information module comprises an acquisition block for acquiring the status information, an evaluation block for evaluating an acquisition result of the acquisition block based on at least one parameter, and an insertion block for inserting the status information into a frame to be created by the responder subscriber station based on the evaluation carried out by the evaluation block.
According to an example embodiment of the present invention, at least two subscriber stations can be part of a bus system which also includes a bus, wherein the at least two subscriber stations are connected to one another via the bus such that they communicate in series with one another and at least one of the subscriber stations is an above-described commander subscriber station and at least one of the subscriber stations is an above-described responder subscriber station, wherein each of the at least two subscriber stations also comprises a transmitting/receiving device for transmitting a transmission signal to the bus of the bus system and/or for receiving a signal from the bus of the bus system.
The bus system optionally also comprises at least one third subscriber station which is configured to negotiate with the other subscriber stations (10; 20; 30) in the first communication phase (451) of the predetermined first frame (450), which of the subscriber stations (10, 20, 30) of the bus system (1) will receive at least temporarily exclusive, collision-free access to the bus (40) in the following second communication phase (452).
The aforementioned object may also be achieved by a method for communication in a serial bus system including certain features of the present invention. The method is carried out with an above-described commander subscriber station and an above-described responder subscriber station.
The method of the present invention provides the same advantages as those mentioned above with reference to the subscriber station of the present invention.
Other possible implementations of the present invention also include not explicitly mentioned combinations of features or embodiments of the present invention described above or in the following with respect to the embodiment examples. The person skilled in the art will also add individual aspects as improvements or additions to the respective basic form of the present invention.
The present invention is described more detail in the following with reference to the figures and on the basis of embodiment examples.
In the figures, the same or functionally similar elements are provided with the same reference signs unless stated otherwise.
As an example,
The bus system 1 in
As shown in
The communication control devices 11, 21, 31 are all used to control communication of 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. For this purpose, the communication control devices 11, 31 create and/or read first messages 45 which are modified CAN FD messages 45, for example. The modified CAN FD messages 45 are structured on the basis of a CAN FD format, which is described in more detail with reference to
The communication control device 11, 31 can be designed, at least in part, 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 CAN FD messages 45 can include a number of 0 to 64 data bytes, which are moreover also transmitted at a significantly faster data rate than in a Classical CAN message. The communication control device 31 is in particular embodied like a conventional CAN FD controller.
The communication control device 11 is also designed to provide a CAN FD message 45 for at least one of the subscriber stations 20, 30 or receive an FDL message 46 from the subscriber station 20 as needed. The respective status information modules 15, 25 are used to transmit and receive the FDL message 46. The FDL message 46 is structured on the basis of an FBFF format from ISO 11898-1:2015, which is described in more detail with reference to
The communication control device 11 thus creates and reads a first message 45 or creates and reads a second message 46, wherein the first and second message 45, 46 differ in terms of their data transmission standard, in this case specifically CAN FD and FDL. As already mentioned above respect to the related art, only frames without bit rate switching are used in FDL communication and FDL does not support arbitration.
The communication control device 21 is embodied as an FDL controller. There is also the status information module 25 which has functions that are compatible with the functions of the status information module 15. The communication control device 21 creates and reads second messages 46, for example FDL messages 46, and reads first messages 45.
To communicate with the subscriber station 20, the subscriber station 10 sends a polling to the subscriber station 20 via the bus 40. The polling is accomplished by sending a message 46 based on a CAN FD frame, which is shown in
The subscriber station 10 thus has the function of a command transmitter/retriever and the subscriber station 20 has the function of an FDL responder. The subscriber station 10 is therefore also referred to hereinafter as the FDL commander and the subscriber station 20 as the FDL responder.
The frame 450 is divided into two communication phases that are referred to as the arbitration phase 451 (first communication phase) and the data phase 452 (second communication phase). The frame 450 begins and ends in the arbitration phase 451. The frame 450 begins with an SOF bit and comprises an arbitration field 453, a control field 454, a data field 455, a checksum field 456 (CRC field), an acknowledgement field 457 (ACK=acknowledge) and an end of frame field EOF (EOF=End of Frame).
Bits in the arbitration phase 451 of the frame 450 can have a longer bit time than bits of the data phase 452, as illustrated in
Bits that are shown in
The arbitration field 453 includes an identifier of the frame 450 in the base ID field and the id-ext field. The identifier has 29 bits. An SRR bit and an IDE bit are provided between the base ID field and the id-ext field. A RRS bit is disposed at the end of the arbitration field 453.
The control field 454 begins with an FDF bit, followed by a res bit. This is followed by the BRS bit and an ESI bit. The ESI bit is therefore the first bit in the frame 450 with the bit time of the data phase 452.
The control field 454 ends with a DLC field in which the length of the following data field 455 is encoded. The res bit for the frame 450 has to be sent with a logical value 0, in other words as (logical) 0, i.e. dominant. However, if the subscriber station 20 receives a res bit with a logical value 1, in other words as (logical) 1, i.e. recessive, the receiving subscriber station 20 sees a protocol exception event PAE and goes into the state or operating mode of reintegration.
If the DLC field of the control field 453 has the value 0, there is no data field 455. The data field 455 has a length that corresponds to the value encoded in the DLC field. The value can be up to 64 bytes as mentioned above.
In an SBC field, the checksum field 456 contains the number of stuff bits modulo 8 that were inserted into the frame 450 in accordance with the bit stuffing rule; specifically one inverse bit has to be inserted after every five identical bits. In a CRC field, the checksum field 456 also contains a CRC checksum, which can also be referred to as a CRC checksum, and ends with a subsequent CRC delimiter CRC del.
The switchover from the bits with the bit time of the data phase 452 to the bits with the bit time of the arbitration phase 451 takes place in the CRC del bit as labeled SP in
The acknowledgement field 457 contains an ACK slot bit, in which subscriber stations that are currently only receivers of the frame 450 but not transmitters of the frame can acknowledge or not acknowledge the correct reception of the frame 450 from the bus 40. The acknowledgement field 457 ends with an ACK del bit, which is also referred to as an ACK delimiter.
A bit sequence which marks the end of the frame 450 is provided in the end of frame field EOF. The bit sequence of the end field (EOF) thus serves to mark the end of the frame 450. Together with the ACK delimiter, 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 the frame 450. This enables the subscriber stations 10, 30 to reliably identify the end of the frame 450.
After the end field (EOF), which has 7 bits, there is an interframe space (IFS) in frame 450 that is not shown in
The mentioned fields and bits are otherwise from ISO 11898-1:2015 and are therefore not described in more detail here.
In the arbitration phase 451 of CAN FD in the present example of
Collisions between FDL responders (e.g. subscriber stations 20) and the commander or any other CAN FD nodes (e.g. subscriber stations 30) that contain the arbitration function can also be avoided by assigning identifiers with a higher arbitration priority to the responders for transmission. The other nodes will therefore lose their arbitration if they start a message at the same time as a responder and become the receiver.
The subscriber station 10 as the sender of a message 45, 46 does not start transmitting bits of the data phase 452 to 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 transmission. The same applies to the subscriber station 30 if it wants to send a message 45 to the bus 40.
For the message 46,
According to
The FDL format corresponds to the FBFF format from ISO 11898-1:2015. In this format, the sender can decide whether to set the BRS bit to 1 or 0, wherein BRS=bit rate switching. If the BRS bit is set to 1, the bit rate in the data phase 452 is increased or the bit time is reduced. If the BRS bit is set to 0, the bit rate or bit time is the same in the two communication phases 451, 452. In FDL, it is currently provided that the bit rate is not switched within the frame 460. Therefore, BRS=0 is sent. The commander then has to set the BRS bit to 0 in a message 46 to the responder so that the responder can understand.
In FDL communication with a frame 460, however, no arbitration is carried out in the arbitration phase 451 by the responder as described above with reference to
When changing to the data phase 452, there is no bit rate switching in the frame 460. In other words, the bit time of bits of the arbitration phase 451 and the data phase 452 is the same. However, it is possible that the bit time in the first communication phase (arbitration phase) 451 can differ from the bit time in the second communication phase (data phase) 452.
In the data phase 452, the useful data of the FDL frame 460 or the message 46 are sent from the data field 465 and the checksum field 466 in addition to a part of the control field 464 of the frame 460. At the end of the checksum field 466 or before the acknowledgement field 467, the data phase 452 transitions back into the arbitration phase 451 as shown in
As is shown in
In general, two different stuffing rules are used when generating the frame 460. Up to the FDF bit in the arbitration field 453, the dynamic bit stuffing rule of CAN FD or for a frame 450 of
In the present embodiment example, the ESI bit from CAN FD is used to communicate at least one status information to the FDL commander. In the example of
The DLC field and the data field 465 are configured as described above for
The data field 465 is followed in the frame 460 by the checksum field 466, which is structured as in CAN FD as shown in
This is followed by the acknowledgement field 467, which is structured as in CAN FD as also shown in
The acknowledgement field 467 is followed in the frame 460 by the end field (EOF=end of the frame), as in CAN FD according to
The end field (EOF) is 7 recessive bits long.
The end field (EOF) is followed in the frame 460 by an interframe space (IFS) as discussed above with reference to the frame 450 of
According to
In addition to the transmitting/receiving device 12, the system ASIC 16 also includes an energy supply device 17 which supplies electrical power to the transmitting/receiving device 12. The energy supply device 17 typically supplies a CAN_Supply voltage of 5 V. Depending on requirements, however, 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 current source.
If the communication control device 11 creates a frame 460 in which no bit rate switching/bit rate change occurs and/or evaluates a frame 460, the communication control device 21 acts as an FDL commander.
The status information module 15 comprises an evaluation block 151 and an output block 152. The evaluation block 151 comprises an evaluation unit 1511 and a memory unit 1512 in which responder status information RSI can be stored. The status information module 15 can be embodied at least partly as software.
The evaluation block 151, in particular its evaluation unit 1511, is configured to evaluate the ESI bit in the reception signal RxD of the message 46 using a frame 460. For the frame 460, a responder, for example the subscriber station 20, has created a transmission signal TxD at the request of the subscriber station 10 that the subscriber station has sent to the bus 40. The evaluation block 151 stores the value of the ESI bit or the responder status information RSI read from the frame 460 in the memory unit 1512. The responder status information RSI can be disposed in the data field 465 of the frame 460 of the message 46.
The output block 152 is configured to access the responder status information RSI in the memory unit 1512 and output the information RSI to the in particular one application 161 and/or the microcontroller 13. The function of the status information module 15 and the ESI bit, and the connection to the responder status information RSI is also described in more detail with reference to
The transmitting/receiving device 12 further comprises a transmitter module 121 and a receiver module 122. Even if the following always refers to the transmitting/receiving device 12, it is alternatively possible to provide reference the receiver module 122 in a separate device external to the transmitter module 121. The transmitter module 121 and the receiver module 122 can be structured as in a conventional transmitting/receiving device 22. The transmitter module 121 can in particular comprise at least one operational amplifier and/or a transistor. The receiver module 122 can in particular comprise at least one operational amplifier and/or a transistor.
The transmitting/receiving device 12 is connected to the bus 40; more specifically to its first bus wire 41 for CAN_H and its second bus wire 42 for CAN_L. The voltage supply for the energy supply device 17 for supplying the first and second bus wire 41, 42 with electrical energy, in particular with the CAN supply voltage, is provided via at least one connection 43. The connection to ground or CAN_GND is realized via a connection 44. The first and second bus wire 41, 42 are terminated with a terminating resistor 49.
The first and second bus wire 41, 42 are connected in the transmitting/receiving device 12 not only to the transmitter module 121, which is also referred to as the transmitter, but also to the receiver module 122, which is also referred to as the receiver, even though the connection is not shown in
During operation of the bus system 1, the transmitter module 121 of
According to the example in
The sequence of the states H, L of the transmission signal TxD of
The receiver module 122 creates a reception signal RxD from CAN_H and CAN_L signals received from the bus 40, which are shown in
For a message 46 based on a frame 460, the signals of
According to
In addition to the transmitting/receiving device 22, the system ASIC 26 also includes an energy supply device 27 which supplies electrical power to the transmitting/receiving device 22. The energy supply device 27 typically supplies a CAN_Supply voltage of 5 V. Depending on requirements, however, the energy supply device 27 can supply a different voltage with a different value. Additionally or alternatively, the energy supply device 27 can be configured as a current source.
The communication control device 21 creates a frame 460 in which no bit rate switching or bit rate change occurs and/or evaluates such a frame 460 based on the frame 460 received from the commander subscriber station 10. The communication control device 21 can also be referred to as an FDL responder. The communication control device 21 can create the frame 460 after the previous status of the subscriber station 20 has changed, for example, or not until after a request commander subscriber station 10. However, the devices 21, 22 can send such a frame 460 to the bus 40 only after a request from the commander subscriber station 10 (polling).
The transmitter module 222 of
The status information module 25 of
The acquisition block 251 acquires the current status or the current status information RSI of the subscriber station 20 (responder). The acquisition block 251 stores its acquisition result in the memory unit 2522 of the evaluation block 252.
The evaluation block 251, in particular its evaluation unit 2521, is configured to evaluate whether the current status stored in the memory unit 2522 or the current status information RSI of the subscriber station 20 (responder) has changed or has remained the same, for instance. Depending on the result, the evaluation block 252 controls the insertion block 253 to insert the ESI bit of a frame 460 according to the current status information RSI of the subscriber station 20 (responder). For this purpose, the insertion block 253 sets the value of the ESI bit according to the current status information RSI of the subscriber station 20 (responder).
If the current status or the current status information RSI of the subscriber station 20 (responder) has changed, the responder sends the ESI bit in its next message 46, which is created on the basis of a frame 460, for example as logical 1.
After evaluating the frame 460 with its module 15, the subscriber station 10 (commander) then sees a value for the ESI bit that is not equal to the predetermined value, specifically logical 0. The subscriber station 10 (commander) therefore sends a status request message, which is created based on a frame 460, to the subscriber station 20 (responder). In response, the subscriber station 20 (responder) replies with a frame 460 into the data field 465 of which the status data of the responder is inserted. The subscriber station 20 (responder) can additionally or alternatively insert diagnostic data into the data field 465.
The subscriber station 10 (commander) therefore only asks the responder for status data and/or diagnostic data if the current status of the subscriber station 20 (responder) has changed and the responder has communicated this with the ESI bit. Thus, the subscriber station 10 (commander) does not regularly request this from the responder. This is particularly advantageous because the status rarely changes, but the commander does not know when the status changes and would therefore have to make frequent inquiries.
The change in the status information RSI of the subscriber station 20 (responder) can consequently be sent in accordance with the evaluation result of the evaluation block 252 and with the aid of the ESI bit of a frame 460 when the subscriber station 10 (commander) makes a query. The frame 460 is created by the subscriber station 20 (responder) as a message 46 and sent in series to the subscriber station 10 (commander).
The status information module 25 of
The status information RSI for the ESI bit can, for instance, be at least one item of information for FDL communication, specifically:
To acquire which status of the subscriber station 20 (responder) is occurring, the acquisition block 251 can comprise at least one counter and/or at least one logic circuit for counting transmitted or received frames 460. For said acquisition, the acquisition block 251 increments or decrements the at least one counter, for example, by a predetermined value if a frame 460 or a predetermined bit of the frame 460 has been received correctly. There can also be an additional counter that counts the communication cycles, for example by incrementing the counter value of the counter after each switchover between the phases 451, 452.
It is in particular possible to count invalid received frames 460. A period of time can be acquired as well, in particular with respect to the last transmitted frame 460 and/or a received invalid frame 460 and/or the last transmitted frame 460 and/or a calibration of the subscriber station 20 (FDL responder).
The status information modules 15, 25 thus ensure that the subscriber station 10 (commander) only requests status data from the subscriber station 20 (responder) when necessary, specifically if the current status of the responder has changed. As a result, no unnecessary messages 46 are sent between the subscriber stations 10, 20 via the bus 40. This leaves more bandwidth on the bus 40 for other messages 45, 56, which in particular contain application data, such as acquisition results, etc., of the applications 161, 261.
The status information modules 15, 25 thus ensure that the bus 40 is occupied for less time or less frequently, so that the bus 40 has more capacity for useful data.
This has the additional advantage that the number of responders that can be connected to the same bus 40 can be increased if necessary.
According to a second embodiment example, the subscriber station 20 is configured to display an application status of the at least one application 261 of the ASICS 26 as status information RSI for the ESI bit. Such a status is in particular the exceedance of a temperature threshold (limit value).
The acquisition block 251 accordingly comprises at least one temperature sensor in order to determine the information of the ESI bit for the FDL communication. In addition, at least one counter can be included with which a period of time for the temperature increase is acquired.
According to a third embodiment example, the subscriber station 20 is configured to display a health status of the subscriber station 20 (responder) as status information RSI for the ESI bit. Such a health status is in particular that the subscriber station 20 (responder) has not received a frame 460 from the subscriber station 10 (commander) since a period of time T_timeout, and/or that the subscriber station 20 (responder) detects a malfunction of its application 261, which is a sensor or an actuator, for example, or comprises at least one such sensor or actuator.
The acquisition block 251 accordingly comprises at least one counter with which the period of time T_timeout is acquired in order to determine the information of the ESI bit for the FDL communication. The period of time T_timeout can also be stored as a parameter or target value SW in the memory unit 2522. In addition, at least one sensor can be included with which the malfunction of the application 261 of the subscriber station 20 (responder) can be detected.
According to a fourth embodiment example, the following applies to the communication between the subscriber station 20 (responder) and its higher-level subscriber station 10 (commander).
The function of the ESI bit is defined individually for each subscriber station 20 (responder) depending on the application. Therefore, the acquisition block 251 can define the information of the ESI bit by accessing a memory block.
In at least one first responder ASIC 26, the ESI bit has a predetermined first function. In at least one second responder ASIC 26, the ESI bit has a different, specifically predetermined, second function. The commander knows its responders and can therefore interpret the ESI bit correctly.
It is also possible for the commander to assign the ESI bit different functions for each configuration, depending on the operating mode.
With any of the above-described configurations of the subscriber stations 10, 20, the communication in the bus system 1 can be improved in such a way that the net data rate in the bus system 1 can be increased.
All of the above-described configurations of the subscriber stations 10, 20, 30, the bus system 1 and the method carried out therein can be used alone or in all possible combinations. It is in particular possible to combine all features of the above-described embodiment examples and/or modifications thereof as desired. Additionally or alternatively, in particular the following modifications are possible.
Even though the present invention is described above using the example of the CAN bus system, the present invention can be used in any communication network and/or communication method that uses two different communication phases in which the bus states generated for the different communication phases differ.
The bus system 1 according to the embodiment examples can in particular be a communication network in which data can be transmitted in series at two different bit rates. It is advantageous, but not necessarily a prerequisite, that exclusive, collision-free access of a subscriber station 10, 20, 30 to a common channel is ensured in the bus system 1 at least for specific periods of time.
The number and arrangement of the subscriber stations 10, 20, 30 in the bus system 1 of the embodiment examples is as needed. It is possible for there to be one or more of the subscriber stations 10 or 30 in the bus system 1. It is possible for there to be more than one subscriber station 10, to which at least one subscriber station 20 is assigned as described above, in the bus system 1. It is possible that there is no subscriber station 30 in the bus system 1. There is in particular only one subscriber station 10 (commander) and at least one subscriber station 20 (responder).
It is possible that the module 15 is disposed separately from the communication control device 11 in a subscriber station 10.
Number | Date | Country | Kind |
---|---|---|---|
10 2023 208 817.7 | Sep 2023 | DE | national |