Method and synchronization device for a serial bus system
By employing selective synchronization methods and bistable circuits, efficient signal synchronization and transmission time difference compensation were achieved in a serial bus system, solving the synchronization problem between the multi-bus controller and the transceiver, and improving communication efficiency and flexibility.
Patent Information
- Application Number
- CN202610705525.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-05-23
- Filing Date
- 2026-05-21
- Publication Date
- 2026-11-24
AI Technical Summary
In existing serial bus systems, signal synchronization mechanisms suffer from inefficiency and lack of flexibility, especially in data communication between multiple bus controllers and transceivers, where effective synchronization and compensation for transmission time differences are difficult to achieve.
A selective synchronization method is adopted, which uses bistable circuits and multiplexer devices to achieve selective synchronization of transmitted and received signals. The synchronization device is constructed using single-stage and multi-stage bistable circuits to ensure the synchronization of the signal with the reference clock, compensate for transmission time differences, and realize data communication between multiple bus controllers and transceivers through connection devices.
It improves the efficiency and flexibility of signal synchronization, ensures the synchronization of multiple bus controllers when receiving signals, reduces transmission delay, and enhances the communication reliability and flexibility of the bus system.
Smart Images

Figure CN123157641A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to a method for a serial bus system.
[0002] This disclosure also relates to a synchronization device for a serial bus system. Summary of the Invention
[0003] Some examples relate to a method for a serial bus system, wherein a transceiver for the serial bus system can be connected by means of a connection device to a number, such as multiple, one or more bus controllers for the serial bus system, wherein the method includes selectively synchronizing at least one of the following elements with a reference clock of the serial bus system: a) a transmit signal output from the connection device to the transceiver, or b) a receive signal from the transceiver. In some examples, this can be implemented where required, at least one of the corresponding synchronization signals.
[0004] In some examples, the bus system has one of the following types: a) Controller Area Network, CAN, such as classic CAN, such as CAN CC, or b) CAN Flexible Data Rate, such as CAN FD, or c) CAN XL, or d) other types, such as CAN-based, such as at least one of CAN CC, CAN FD, or CAN XL, wherein the transceiver is, for example, a CAN transceiver, such as a CAN CC transceiver, or a CAN FD transceiver, or a CAN Signal Improvement Function (SIC) transceiver, or a CAN SIC XL transceiver.
[0005] In some examples, the method, such as the selective synchronization, has at least one of the following elements: a) determining whether a configuration and / or a signal characterizing the configuration indicates that at least the transmitted signal should be synchronized with a reference clock; or b) obtaining a synchronized transmitted signal, for example, based on the determination that at least the transmitted signal should be synchronized with a reference clock; or c) determining whether a configuration and / or a signal characterizing a configuration indicates that at least the received signal should be synchronized with a reference clock; or b) obtaining a synchronized received signal, for example, based on the determination that at least the received signal should be synchronized with a reference clock. In other examples, it is possible to configure the received signal and / or transmitted signal not to be synchronized, at least temporarily.
[0006] In some examples, the method is configured to have at least one of the following elements: a) receiving a transmission signal, such as a transmission signal from a connection device; or b) synchronizing the transmission signal with a reference clock by means of a first synchronization device, wherein a synchronized transmission signal is obtained; or c) outputting a synchronized transmission signal, such as an output to a transceiver; or d) stopping one or more of the synchronizations of the transmission signal, such as synchronization by means of the first synchronization device; or e) outputting, such as an unsynchronized transmission signal, such as an output to a transceiver.
[0007] In some examples, the method is configured to have at least one of the following elements: a) receiving a received signal, such as a received signal from a transceiver; or b) synchronizing the received signal with a reference clock by means of a second synchronization device, wherein a synchronized received signal is obtained; or c) outputting the synchronized received signal, such as outputting it to a connection device; or d) stopping one or more of the synchronizations of the received signal, such as synchronization by means of a second synchronization device; or e) outputting, such as an unsynchronized received signal, such as outputting it to a connection device.
[0008] In some examples, the method is configured to have at least one of the following elements: a) using, for example, a single-stage bistable circuit for synchronously transmitting signals, for example, to implement one or the first synchronization device, or b) using, for example, a multi-stage bistable circuit for synchronously receiving signals, for example, to implement one or the second synchronization device.
[0009] Some examples relate to a synchronization device for a serial bus system, wherein the synchronization device is configured to implement methods according to this disclosure.
[0010] In some examples, the synchronization device is configured to have a first synchronization device for synchronizing the transmission of signals, wherein the first synchronization device has, for example, a single-stage bistable circuit.
[0011] In some examples, the synchronization device is configured to have a second synchronization device for synchronizing the received signals, wherein the second synchronization device has, for example, multiple stages of bistable circuitry.
[0012] In some examples, the synchronization device is configured to have at least one of the following elements: a) a first multiplexer device for selectively outputting a transmit signal or a synchronized transmit signal, or b) a second multiplexer device for selectively outputting a receive signal or a synchronized receive signal.
[0013] Another example relates to a bus controller for a serial bus system, wherein the bus controller is configured to receive a received signal from at least one additional means, wherein a) the bus controller is configured not to implement synchronization of the received signal, and / or wherein b) the bus controller does not have means for synchronizing the received signal, and / or wherein c) the bus controller is configured to use a synchronization means according to the present disclosure for synchronizing the received signal.
[0014] Another example relates to a connection device for a transceiver in a serial bus system, wherein the connection device has: a transceiver interface for connecting the connection device to the transceiver by means of a synchronization device according to the present disclosure; and a plurality of controller interfaces for connecting the connection device to a plurality of bus controllers for the serial bus system, wherein the connection device is configured to at least temporarily enable data communication between at least one of the plurality of bus controllers and the synchronization device.
[0015] Another example relates to a system having at least one of the following elements: a) a synchronization device according to the present disclosure, or b) a bus controller according to the present disclosure, or c) a connection device according to the present disclosure.
[0016] Other examples relate to a product, such as a vehicle, robot, or cyber-physical system, having at least one of the following elements: a) a synchronization device according to this disclosure, or b) a bus controller according to this disclosure, or c) a connection device according to this disclosure, or d) a system according to this disclosure.
[0017] Other examples relate to the use of methods and / or synchronization devices, bus controllers, connection devices, systems, and / or products according to this disclosure for at least one of the following: a) enabling at least temporarily synchronized data communication between at least one bus controller and a transceiver; or b) extending an existing bus controller, such as a CAN controller; or c) increasing flexibility regarding the connection of a bus controller to multiple transceivers; or d) providing a modular approach for bus controllers and / or connection devices and / or multiplexer devices and / or systems; or e) compensating for, for example, transmission time differences between bus controllers and connection devices.
[0018] Further features, applicable scenarios, and advantages arise from the following description of the examples illustrated in the accompanying drawings. All described or illustrated features, individually or in any combination, constitute the subject matter of this disclosure, without dependence on their generalization in the claims or their reference thereto, and without dependence on their representation or illustration in the specification or drawings. Attached Figure Description
[0019] In the attached diagram: Figure 1 The flowchart is shown schematically. Figure 2 The block diagram is shown schematically. Figure 3 The block diagram is shown schematically. Figure 4 The flowchart is shown schematically. Figure 5 The flowchart is shown schematically. Figure 6 The flowchart is shown schematically. Figure 7 The flowchart is shown schematically. Figure 8 The block diagram is shown schematically. Figure 9 The signals according to the first scenario are schematically shown. Figure 10 The signal is schematically shown according to the second scenario. Figure 11 The flowchart is shown schematically. Figure 12 The flowchart is shown schematically. Figure 13 The flowchart is shown schematically. Figure 14 The flowchart is shown schematically. Figure 15 The flowchart is shown schematically. Figure 16 The flowchart is shown schematically. Figure 17 The flowchart is shown schematically. Figure 18 The block diagram is shown schematically. Figure 19 The flowchart is shown schematically. Figure 20 The block diagram is shown schematically. Figure 21 The block diagram is shown schematically. Figure 22 The block diagram is shown schematically. Figure 23 The block diagram is shown schematically. Figure 24 An application example is illustrated. Detailed Implementation
[0020] Some examples (see example) Figure 1 , 2 ) relates to a serial bus system 20 ( Figure 2 A method comprising: a transceiver 10 for a serial bus system 20 being connectable by means of a connection device 100 to a number, for example, multiple 30, one or more bus controllers 30-1, 30-2, ... for the serial bus system 20, wherein the method comprises: selectively synchronizing at least one of the following elements with a reference clock REF-CLK of the serial bus system 20 for a period of 500 ( Figure 1 (a) a transmit signal TX from the connection device 100 to the transceiver 10, or (b) a receive signal RX from the transceiver 10. In some examples, this can achieve at least one of the corresponding synchronization signals TX and RX, depending on the requirements. Figure 1 Optional module 502 represents the processing, for example, transmission of signals TX, RX according to some examples or synchronized signals TX', RX' obtained by means of synchronization 500.
[0021] In some examples ( Figure 2 In the bus system 20, there is one of the following types: a) Controller Area Network, CAN, such as classic CAN, such as CAN CC, or b) CAN Flexible Data Rate, such as CAN FD, or c) CAN XL, or d) other types, such as CAN-based, such as CAN CC, or at least one of CAN FD or CAN XL, wherein the transceiver 10 is, for example, a CAN transceiver, such as a CAN CC transceiver, or a CAN FD transceiver, or a CAN Signal Improvement Function (SIC) transceiver, or a CAN SICXL transceiver.
[0022] In some examples ( Figure 1 , 4 In the method, for example, the selective synchronization 500, the method has at least one of the following elements: a) determining 510 configuration CFG ( Figure 2510 and / or whether the signal CFG-SIG characterizing the configuration CFG indicates that at least the transmit signal TX should be synchronized with the reference clock REF-CLK, or b) for example, based on determination 510, synchronize at least the transmit signal TX with the reference clock REF-CLK 512, thereby obtaining, for example, a synchronized transmit signal TX', or c) determine 514 whether one or the configuration CFG and / or the signal CFG-SIG characterizing one or the configuration CFG indicates that at least the receive signal RX should be synchronized with the reference clock REF-CLK, or b) for example, based on determination 514, synchronize at least the receive signal RX with the reference clock REF-CLK 516, thereby obtaining, for example, a synchronized receive signal RX'.
[0023] In another example, it can be configured so that, at least temporarily, the received signal RX and / or the transmitted signal TX are not synchronized. In this case, according to, for example... Figure 1 The synchronization device 600 implemented by the method ( Figure 2 It can forward the corresponding signals TX and RX to their respective receivers 10, 30-1, 30-2, ... without alteration.
[0024] Figure 3 Further details of components 100, 600, as illustrated in other examples explained in more detail below, are shown schematically.
[0025] In some examples ( Figure 5 The method is configured to have at least one of the following elements: a) receiving a 520 transmit signal TX, for example from the connection device 100 ( Figure 2 , 3 (a) the transmission signal, or (b) by means of the first synchronization device 610 ( Figure 3 521) Synchronize the transmit signal TX with the reference clock REF-CLK, wherein a synchronized transmit signal TX' is obtained; or c) Output 522 the synchronized transmit signal TX', for example, to transceiver 10; or d) Stop 523 one of the transmit signals TX or the synchronization 521, for example, by means of the synchronization of the first synchronization device 610; or e) Output 524, for example, an unsynchronized transmit signal TX, for example, to transceiver 10.
[0026] In some examples ( Figure 6 The method is configured to have at least one of the following elements: a) receiving a 530 receive signal RX ( Figure 2 , 3 (a) For example, a received signal from transceiver 10, or (b) by means of a second synchronization device 620. Figure 3531) Synchronize the received signal RX with the reference clock REF-CLK, wherein a synchronized received signal RX' is obtained; or c) Output 532 the synchronized received signal RX', for example, to the connection device 100; or d) Stop 533 one of the received signals RX' or the synchronization 531, for example, by means of the second synchronization device 620; or e) Output 534, for example, an unsynchronized received signal RX, for example, to the connection device 100.
[0027] In some examples ( Figure 7 , 8 The method is configured to have at least one of the following elements: a) using 540, for example, a single-stage bistable circuit S1 for synchronously transmitting signal TX, for example, to implement one or the first synchronization device 610, or b) using 542, for example, a multi-stage bistable circuit S2 for synchronously receiving signal RX, for example, to implement one or the second synchronization device 620.
[0028] Some examples ( Figure 2 , 3 8) A synchronization device 600 for a serial bus system 20, wherein the synchronization device 600 is configured to implement the method according to the present disclosure.
[0029] In some examples ( Figure 8 The synchronization device 600 is configured to have a first synchronization device 610 for synchronously transmitting the signal TX, wherein the first synchronization device 610 has, for example, a single-stage bistable circuit S1. Here ( Figure 8 Circuit S1, as an example, has a flip-flop FF-1. In some examples, the first synchronization device 610 can be used to synchronize the transmit signal TX generated in the connection device 100 by superimposing transmit signals TX-1, TX-2, ... (e.g., by means of an AND gate) to the CAN clock pulse characterized by the reference clock REF-CLK. The transmit signals TX-1, TX-2, ... can be PWM encoded, for example. Thus, the synchronization device 600 provides, for example, a synchronized transmit signal TX' (e.g., a distortion-free PWM symbol, see below) for the transceiver 10 at its output. Figure 9 , 10 Thus, in some examples, the transmission time difference in the transmission path from the CAN controller 30 to the connection device 100 can be compensated for and therefore no longer "visible" to the transceiver 10.
[0030] In some examples ( Figure 8 The synchronization device 600 is configured to have a second synchronization device 620 for synchronizing the received signal RX, wherein the second synchronization device 620 has, for example, a multi-stage bistable circuit S2. Here ( Figure 8 Circuit S2, as an example, has two flip-flops FF-2 and FF-3. More than two stages are conceivable in some examples (not shown). In some examples, the second synchronization device 620 synchronizes the received signal RX from the asynchronous transceiver 10 to the CAN reference clock REF-CLK. This allows all CAN controllers 30 to be provided with the same received signal RX' synchronized with the CAN clock pulse. This, for example, ensures that all CAN controllers 30 operate synchronously in receiving mode, and thus, for example, the PWM symbols output by the CAN controllers in some operating modes (e.g., in the CAN_Tx signal at the output of each CAN controller, see below) are synchronized. Figure 9 , 10 There is no relative phase shift.
[0031] In some examples ( Figure 8 The synchronization device 600 is configured to have at least one of the following elements: a) a first multiplexer device 612 for selectively outputting a transmit signal TX or a synchronized transmit signal TX', for example, to transceiver 10; or b) a second multiplexer device 622 for selectively outputting a receive signal RX or a synchronized receive signal RX', for example, to connection device 100. Thus, for example, by configuring the configuration signal CFG-SIG, the operating mode (e.g., transparent or synchronous) for the synchronization device 600 can be configured. If, for example, the configuration signal CFG-SIG has a value of "1", the synchronous mode is activated, wherein, for example, the multiplexer devices 612 and 622 for signals RX and TX are switched such that the output signals TX' and RX' synchronized by means of components 610 and 620 are output. If, for example, the configuration signal CFG-SIG has a value of "0", the transparent mode is activated, i.e., no synchronization, wherein, for example, the multiplexer devices 612 and 622 are switched such that they forward the unsynchronized signals RX and TX.
[0032] In some examples, it is possible to configure synchronization only in certain operating modes, such as transceiver mode switching ("TMS"), where at least one CAN controller in the CAN controller transmits PWM symbols (see below). Figure 9 , 10 ,twenty two).
[0033] In some examples, the configuration signal CFG-SIG is static and depends on the configuration of CAN controllers 30-1, 30-2, ..., meaning that the configuration signal CFG-SIG does not change, for example, during the transmission or reception of CAN frames.
[0034] In some examples, it is particularly advantageous that the following components use the same reference clock REF-CLK as the bus system 20: the synchronization device 600 and all the connection devices 100 (see, for example) Figure 2 , 3 ) Connected to CAN controllers 30-1, 30-2, and 30-3.
[0035] therefore, Figure 8 The configuration shown, according to some examples, enables selective synchronization of at least one of the signals TX and RX with the reference clock REF-CLK of the bus system 20, for example, based on the configuration signal CFG-SIG, which, as an example, acts on multiplexer devices 612 and 622.
[0036] In some examples ( Figure 8 In this configuration, one or more of the transmission signals TX-1, TX-2, and TX-3 from bus controllers 30-1, 30-2, and 30-3 can be output to synchronization device 600 via connection device 100. In the case of multiple transmission signals TX-1, TX-2, ..., this can be achieved, for example, by combining the individual transmission signals with each other (e.g., superimposing, or combining with). When using synchronization device 600, the transmission signals TX obtained in this way, such as aggregated signals, from connection device 100 can be selectively synchronized according to the principles of this disclosure.
[0037] In some examples ( Figure 8 In the signal RX, or a version RX' of the received signal RX selectively synchronized by means of the synchronization device 600, the signal RX can be output to one or more of the bus controllers 30-1, 30-2, and 30-3 via the connection device 100.
[0038] In another example (not shown), it is conceivable to control, for example, activate the synchronization of the received signal RX without relying on the synchronization of the transmitted signal TX. For such examples, it is possible to replace... Figure 8 The unique configuration signal CFG-SIG is used, for example, for two corresponding configuration signals (not shown) for two multiplexer devices 612, 622.
[0039] In some examples, selective synchronization 500 ( Figure 1 It can also have static configuration, i.e., permanent synchronization. In these examples, for example, the corresponding configuration signal CFG-SIG can be omitted. Figure 8 ).
[0040] Other examples ( Figure 8This relates to a bus controller 30-1 for a serial bus system 20, wherein the bus controller 30-1 is configured to receive receive signals RX, RX' from at least one other device 100, 600, wherein a) the bus controller 30-1 is configured not to implement synchronization of the receive signals RX, RX', and / or wherein b) the bus controller 30-1 does not have a means for synchronizing the receive signals RX, RX', and / or wherein c) the bus controller 30-1 is configured to use one or more of the synchronization devices 600 according to this disclosure for synchronizing the receive signals RX, for example, receiving the receive signal RX' synchronized by means of the synchronization device 600 according to this disclosure, for example, receiving directly from the synchronization device 600 (not shown), or by means of... Figure 8 The connection device 100 receives it.
[0041] Other examples ( Figure 2 , 3 This relates to a connection device 100 for a transceiver 10 in a serial bus system 20, wherein the connection device 100 has (see...) Figure 3 Transceiver interface 110 for connecting connection device 100 to transceiver 10 via one or more synchronization devices 600 according to this disclosure; a plurality of 120 controller interfaces 120-1, 120-2, ... for connecting connection device 100 to a plurality of 30 bus controllers 30-1, 30-2, ... for serial bus system 20, wherein connection device 100 is configured to enable at least temporarily data communication DK between at least one of the plurality of 30 bus controllers 30-1 (and / or at least one multiplexer device 200) and synchronization device 600, see also Figure 11 Module 300. According to... Figure 11 Optional module 302 represents optional data exchange (DA) between at least some of the components 30, 200 and transceiver 10, such as via connection device 100.
[0042] For clarity and not for generality, the following description and examples relate primarily to the CAN bus system 20 and the associated CAN transceiver 10. Nevertheless, the principles of this disclosure can be applied, in a corresponding manner, to other serial bus systems when necessary.
[0043] In some examples ( Figure 3 In this context, a serial bus system 20 (e.g., CAN type) can be used in vehicle 40 (see [link]). Figure 20 Communication in CAN buses, or in other products such as robots or cyber-physical systems. For communication within a vehicle, multiple CAN buses can also be used, for example. To connect devices to the CAN bus 20, in some examples (see...) Figure 3 A transceiver (e.g., "transmitter-receiver") 10 can be used in the system. In some examples, the transceiver represents an electronic component (e.g., described in detail according to ISO 11898-2) that is at least partially or partially analogous to the bus system 20, such as the bus lines of the bus system 20 (not shown, e.g., twisted-pair lines) and operates, for example, according to ISO / OSI Layer 1. The transceiver 10 is configured, for example, to convert signals from the bus system, such as the CAN bus 20 (e.g., characterized by differential voltages between two bus lines) into digital output signals (e.g., referred to as "RxD"), and / or to convert digital input signals (e.g., referred to as "TxD") into differential voltages and drive them onto the CAN bus, i.e., to apply differential voltages to the bus lines of the bus system 20.
[0044] In another example ( Figure 3 In this context, bus controller 30-1, such as a CAN controller, represents a digital circuit that generates data frames (e.g., CAN data frames) for serially transmitting information on the CAN bus 20 or decodes data frames (e.g., CAN data frames) received serially via the bus system 20 and operates, for example, according to ISO / OSI Layer 2. In some examples, at least one bus controller 30-1, 30-2, ... can be integrated, for example, into a target system (not shown), such as, for example, a microcontroller (“µC”).
[0045] In some examples ( Figure 3 In this configuration, the connection device 100 is configured to receive 310 ( ) via the controller interface 120. Figure 12 The corresponding transmit signals TX-1, TX-2, ... from bus controllers 30-1, 30-2, ... (e.g., "CAN_Tx" in the CAN case) and / or from at least one multiplexer device 200 are combined 312, wherein, for example, the combined transmit signal TX is obtained and output 314 via transceiver interface 110, for example, as the combined transmit signal TX, to synchronization device 600 or via synchronization device 600 to transceiver 10. The combination 312 can be performed, for example, by means of a logical AND operation of the corresponding transmit signals, see [reference to...]. Figure 12 Optional module 312a.
[0046] In addition, for example, refer to Figure 3 , 13 The connection device 100 is configured to receive 320 ( Figure 13The received signal RX (e.g., the synchronized received signal RX') from transceiver 10 is transmitted through synchronization device 600 and is output at least temporarily 322 to at least one of the bus controllers 30-1, 30-2, ..., 30-M and / or to one or the multiplexer device 200, for example to all bus controllers 30-1, 30-2, ... and / or multiplexer devices 200 connected to connection device 100, for example, for forwarding 322a, or in the case of CAN, for example as the “CAN_Rx” signal.
[0047] In some examples ( Figure 3 , 14 In this configuration, connection device 100 is configured to receive, via controller interfaces 120-1, 120-2, ..., 120-M, corresponding transmitter information signals IS-TX-1, IS-TX-2, ..., IS-TX-M from bus controllers 30-1, 30-2, ... and / or from at least one multiplexer device 200, respectively. (See also: ...) Figure 14 Module 330, wherein the transmitter information signal IS-TX-1 from bus controller 30-1 and / or from at least one multiplexer device indicates, for example, whether bus controller 30-1 and / or at least one multiplexer device is currently a transmitter of a data frame (e.g., a CAN data frame), i.e., currently transmitting one or more of the data frames. Furthermore, connection device 100 is configured, for example, to form a first signal S-1 based on the received transmitter information signals IS-TX-1, IS-TX-2, ..., IS-TX-M, see [reference to...]. Figure 14 Module 332, the first signal indicating whether at least one bus controller and / or multiplexer device in the bus controller is currently the sender of a data frame (e.g., a CAN data frame), is formed, for example, by means of an "OR" combination of received sender information signals, see optional module 332a, and outputs the first signal S-1 to bus controllers 30-1, 30-2, ... and / or at least one multiplexer device 200, see module 334. This, for example, enables the bus controllers 30-1, 30-2, ... and / or at least one multiplexer device 200 to inform whether at least one or more local components (bus controllers and / or multiplexer devices or bus controllers connected to multiplexer devices) associated with connection device 100 has just sent a data frame. Based on this information, in some examples, the relevant components can be adapted to its operation, such as suppressing or stopping local acknowledgments (“ACK”), and / or suppressing or stopping optional PWM encoding at the CAN_Tx output, which in some CAN systems is set based on the CAN XL associated with the SIC XL transceiver.
[0048] For example (see Figure 15 The connection device 100 is configured to enable, at least temporarily, internal data communication DK' between bus controllers 30-1, 30-2, ... and / or at least one multiplexer device 200, see module 342, wherein the internal data communication DK' does not, for example, have information exchange with transceiver interface 110 or with transceiver 10 or synchronization device 600. Figure 15 Optional module 344 represents the corresponding exchange DA' in the internal data communication DK' sense of components 30-1, 30-2, ..., 200. In some examples ( Figure 15 In this configuration, the connection device 100 can be configured via configuration information CFG-1 and / or via configuration signal S-CFG-1 for (see module 340) enabling internal data communication DK' between bus controllers 30-1, 30-2, ... and / or at least one multiplexer device 200. In some examples ( Figure 15 In this configuration, connection device 100 is configured to output a first signal S-1 to bus controllers 30-1, 30-2, ... and / or at least one multiplexer device 200 with the following signal value during internal data communication DK', see module 346. This signal value indicates that none of the bus controllers 30-1, 30-2, ... and / or multiplexer devices 200 are currently transmitting data frames (e.g., CAN data frames). This allows, in some examples, the avoidance of potentially undesirable suppression of transmit signals (e.g., "CAN_Tx"), which in some examples might be at least temporarily desired outside of internal data communication DK'. In other words, in some examples, if the bus controller and / or multiplexer device connected to the connection device 100 receives a first signal S-1 with a signal value indicating that none of the bus controllers 30-1, 30-2, ... and / or multiplexer devices 200 are currently the sender of a data frame, such as a CAN data frame, then the bus controller and / or multiplexer device is able to stop suppressing the transmission signal (e.g., "CAN_Tx").
[0049] For example (reference) Figure 16 ), connecting device 100 ( Figure 3 The system can be configured, via configuration information CFG-2 and / or via configuration signal S-CFG-2, to activate or deactivate at least one of the controller interfaces 120-1, 120-2, ... 120-M (see modules 352a, 352b). This allows for selective activation and / or deactivation of relevant controller interfaces, enabling flexible configuration and energy-efficient operation.
[0050] In some examples ( Figure 3 In this embodiment, the connection device 100 is provided, for example, as hardware circuitry, such as a pure hardware circuit, for example, as an application-specific integrated circuit (ASIC) or as a component or part of an ASIC. In some examples, the connection device can also be integrated into the target system, such as a microcontroller. A similar situation applies to the synchronization device 600 in some examples regarding its construction as hardware circuitry and / or integration into the target system.
[0051] Other examples (see, for example) Figure 1 , 3 17) This relates to a bus controller 30-1, 30-2, ... for a connection device 100 according to the present disclosure, wherein the bus controller is configured to output a transmitter information signal IS-TX-1 to the connection device 100, see [reference to...]. Figure 17 Module 370, wherein the sender information signal IS-TX-1 indicates whether the bus controller 30-1 is currently the sender of a data frame (e.g., a CAN data frame), that is, whether a data frame is currently being sent.
[0052] In some examples ( Figure 17 In this configuration, bus controller 30-1 is configured to receive a first signal S-1 from connection device 100, see module 372, wherein the first signal S-1 indicates whether at least one of the plurality of bus controllers 30-1, 30-2, ... connected to connection device 100 and / or the multiplexer device 200 connected to connection device 100 is currently a sender of a data frame (e.g., a CAN data frame). Thus, in some examples, bus controller 30-1 can be informed, for example, whether other bus controllers 30-2, ... and / or, if necessary, the multiplexer device 200 connected to connection device 100 has just sent a data frame. Based on this information, in some examples, the operation of bus controller 30-1 can be influenced, for example, controlled, for example, to suppress or stop local acknowledgments.
[0053] For example( Figure 17 The bus controller 30-1 is configured to: set the control signal Rx_TSS if a) the first signal S-1 indicates that at least one of the multiple bus controllers connected to the connection device 100 and / or the multiplexer device connected to the connection device is currently the sender of a data frame (e.g., a CAN data frame), and b) the bus controller 30-1 itself is not currently the sender of a data frame (e.g., a CAN data frame), wherein the setting 374 of the control signal has, for example, the following: setting the bus controller 30-1's transmit signal TX-1 ( Figure 3The setting 374a is configured as a signal value associated with the recessive level of the bus system 20, for example, until the control signal Rx_TSS is no longer set, for example, until it is reset, see module 376. The setting 374a, for example, causes suppression of local acknowledgment (“local ACK”) and / or optional PWM encoding at the CAN_Tx output.
[0054] In some examples ( Figure 17 In the bus controller 30-1, the bus controller 30-1 is configured to: reset the control signal Rx_TSS 376 if a) an error occurs in the received data frame (e.g., the bus controller 30-1 recognizes an error in the received data frame) and / or b) the data frame ends.
[0055] In another example ( Figure 3 In this configuration, bus controller 30-1 can be provided, for example, as hardware circuitry (e.g., pure hardware circuitry), such as as an application-specific integrated circuit (ASIC) or as a component or part of an ASIC. In another example, alternative bus controllers 30-2, ... have similar or identical functionality to bus controller 30-1.
[0056] Other examples ( Figure 18 This relates to a multiplexer device 200 for at least one serial bus system 20, 20', wherein the multiplexer device 200 has: a controller interface 210 for connecting the multiplexer device 200 to a bus controller 30-1 for at least one bus system 20, 20', wherein the bus controller 30-1 is constructed, for example, according to the present disclosure, see above. Figure 3 And subsequent illustrations; multiple 220 transceiver interfaces 220-1, 220-2, ..., used to connect the multiplexer device 200 to multiple transceivers 10-1, 10-2, ... for at least one serial bus system 20, 20' and / or at least one connection device 100 according to this disclosure. Figure 1 The connection, wherein the multiplexer device 200 is configured to enable at least temporarily data communication DK'' between the bus controller 30-1 and at least one (e.g., exactly one) of the plurality of transceiver interfaces 220-1, 220-2, see according to Figure 19 Module 392. According to... Figure 10 The optional module 394, in the sense of the data communication DK'' mentioned above, represents the optional data exchange DA'' between the bus controller 30-1 and the selected transceiver interface.
[0057] In some examples ( Figure 18 , 19In this configuration, the multiplexer device 200 can be configured using a configuration CFG' (see module 390) to enable at least temporarily data communication DK'' between the bus controller 30-1 and exactly one transceiver interface 220-1 or 220-2. For example ( Figure 18 , 19 The multiplexer device 200 is configured for at least one transceiver interface 10-1 among a plurality of transceiver interfaces, so as to output, for example, a transmitter information signal IS-TX-1' to at least one connection device 100 via at least one transceiver interface 10-1, wherein the transmitter information signal IS-TX-1' indicates whether the bus controller 30-1 is currently the transmitter of a data frame (e.g., a CAN data frame). This can be useful, for example, for forming a first signal S-1 via the connection device 100.
[0058] In some examples ( Figure 18 In this context, the multiplexer device 200 can be provided, for example, as hardware circuitry (e.g., pure hardware circuitry), such as as an application-specific integrated circuit (ASIC) or as a component or part of an ASIC. In some examples, it can optionally be provided in accordance with... Figure 18 A synchronization device 600 according to this disclosure can be set between components 220-1 and 10-1 or 220-2 and 10-2 (see, for example...). Figure 2 , 3 ).
[0059] The following describes other aspects and examples, which—in other examples—can be combined, individually or in any combination with each other, with at least one of the aspects and / or examples described above.
[0060] A CAN transceiver can send dominant or recessive signals to the CAN bus 20 ( Figure 1On the CAN bus, for example, the positive differential voltage "Vdiff" between bus lines "CAN_H" and "CAN_L" is driven as the dominant level. If none of the transceivers connected to the same bus drives the dominant level, the terminating resistor (not shown) of bus system 20 sets the 0-volt differential voltage Vdiff as the recessive level. Thus, the recessive level is not driven by the transceiver in some examples. Therefore, a transceiver transmitting the dominant level can, for example, override the undriven recessive level. In the case of the digital signals CAN_Tx and CAN_Rx of the CAN type bus controller, "0" corresponds, for example, to the dominant level on the CAN bus, and "1" corresponds to the recessive level. The logic function on the CAN bus corresponds, for example, to the logical "AND". Once, for example, a bus user sends a logic "0" (dominant), the bus state is "0" (dominant). The bus state is only "1" (recessive) when all bus users send a logic "1" (recessive).
[0061] In fault-free operation, the receiver of a CAN data frame, for example, only sends a single dominant bit, namely the acknowledgment (“ACK”) bit in the ACK slot at the end of the CAN data frame, while the sender sends a sequence of recessive bits at that position. Thus, in some examples, this acknowledges the correct reception of the CAN data frame. A receiver that identifies an error in the CAN data frame can, for example, send the dominant bit sequence onto the CAN bus, thereby invalidating the data frame and signaling the error to all other bus users.
[0062] In devices with multiple CAN controllers, all CAN controllers can connect to different CAN buses. There are also cases where multiple CAN controllers connect to the same CAN bus. This occurs, for example, when the device needs to send and receive more information on the CAN bus than a single CAN controller can manage, or in a multi-core microcontroller, where specific CAN controllers are assigned to specific cores to avoid access conflicts. This achieves "non-interference," meaning the CPU and the software implemented on it are isolated from each other because they do not use shared resources, such as the CAN controller. This improves functional safety within the system.
[0063] In some examples, the synchronization device 600 according to this disclosure and / or the connection device 100 according to this disclosure and / or the bus controller 30-1, 30-2, ... and / or the multiplexer device 200 according to this disclosure can be used in the bus system 20 ( Figure 2 It operates in accordance with the aspects of the CAN bus system mentioned earlier.
[0064] Based on the principles of this disclosure, in some examples it is possible to implement any number, such as different types of CAN controllers 30-1, 30-2, ... ( Figure 2 , 3 At least one transceiver 10 can be shared, wherein at least some signals RX, TX can be selectively synchronized, at least temporarily, for example, to compensate for transmission time differences. Each transceiver 10 can, for example, be equipped with a synchronization device 600 and a connection device 100 according to the present disclosure, which in some examples may also be referred to as a so-called "transceiver sharing switch" ("TSS").
[0065] In some examples, multiple, for example, any number of CAN controllers 30-1, 30-2, ... can be connected to the connection device or TSS 100 via a unified interface. In some examples, the TSS 100 can also be used without transceiver 10, wherein it manifests, for example, as a local CAN bus connection between the connected CAN controllers 30-1, 30-2, ... or one or more multiplexer devices 200 present if necessary, which can be used, for example, for software testing.
[0066] In some examples, at least one multiplexer device 200 can also be configured. Figure 3 , 18 This can be referred to as a "transceiver bus multiplexer" ("TBM"). The TBM 200, for example, can be used to connect the CAN controller 30-1 ( Figure 18 ) with different transceivers 10-1, 10-2 or their synchronization devices 600 ( Figure 3 ) or TSS 100 (see Figure 23 ) connection.
[0067] The principles of this disclosure can be applied to all CAN variants (e.g., CAN CC, CAN FD, and CAN XL). In CAN XL communication, for example, collision resolution is achieved where both the transmitting and receiving bus users signal the transceiver mode switch via the CAN_Tx pin using a PWM symbol. This switching of transceiver mode using a PWM symbol is considered in some examples according to this disclosure.
[0068] In general, using the principles of this disclosure, four different modules can be provided, which can be flexibly combined with each other in other examples: A) Synchronization device 600, B) CAN controller 30-1, C) TSS 100, D) TBM 200.
[0069] Figure 21 A block diagram according to another example is shown. Components E1, E2, and E3 respectively represent a CAN controller according to this disclosure, for example, at least similar to that according to... Figure 2 , 3 and / or Figure 18 The bus controller 30-1. Element E4 represents a connection device or TSS 100 according to this disclosure, and element E5 represents a CAN transceiver. Figure 12 Element E6 represents the digital domain, and element E7 represents at least partially the analog domain. A synchronization device 600 according to this disclosure is arranged between CAN transceiver E5 and TSS 100. CAN controllers E1, E2, and E3 each have at least one function of a conventional CAN controller known per se, namely, they respectively transmit a signal CAN_Tx and receive a signal CAN_Rx and are capable of processing CAN data frames, for example. In addition, CAN controllers E1, E2, and E3 can, in some examples, be configured to receive an input signal Group_Tr, which indicates whether a frame has just been transmitted from the CAN controller in group E1, E2, or E3. The input signal Group_Tr can, for example, correspond to... Figure 3 The signal S-1 is formed, for example, by TSS E4, based on the corresponding signal IS_Transmitter of CAN controllers E1, E2, and E3. By means of this signal, CAN controllers E1, E2, and E3 notify TSS 100 whether they have just sent or not sent a CAN data frame. See also [following the example of...]. Figure 14 Module 332. Therefore, CAN controllers E1, E2, and E3 ( Figure 21 For example, their corresponding signals IS_Transmitter are sent to TSS E4, which generates the signal Group_Tr based on this and outputs it to CAN controllers E1, E2, and E3.
[0070] If CAN controller E1 is acting as the receiver, for example, and another CAN controller E2 from group E1, E2, and E3 is transmitting, then the receiving CAN controller E1 suppresses the ACK signal based on the Group_Tr signal and, if necessary, suppresses the PWM signal. A similar situation applies to the other CAN controller E3.
[0071] As by Figure 21 As can be seen, the controller interface E4a used to connect the CAN controller E1 (e.g., at least similar to...) Figure 3Component 120-1) can therefore, for example, have the following signals or signal connections: a) CAN_Tx0, b) CAN_Rx0, c) Group_Tr0, d) IS_Transmitter0. As also by Figure 21 As can be seen, the controller interface E4b used to connect the CAN controller E2 (e.g., at least similar to...) Figure 3 Component 120-2) can therefore, for example, have the following signals or signal connections: a) CAN_Tx1, b) CAN_Rx1, c) Group_Tr1, d) IS_Transmitter1. A similar situation applies, for example, to other CAN controllers E3 and interface E4c.
[0072] according to Figure 21 The element E4d indicates a transceiver interface for use with transceiver E5 or synchronization device 600 (e.g., at least similar to that specified in the original text). Figure 3 Component 110). Figure 21 As can be seen, the transceiver interface E4d can, for example, have at least the following signals or signal connections: a) TxD, b) RxD.
[0073] By means of a connecting device or according to Figure 21 The TSS E4, multiple CAN controllers E1, E2, E3, for example, can share transceiver E5, for example, according to the principle of time multiplexing or simultaneously or at least partially overlapping in time, wherein selective synchronization according to the present disclosure can be achieved by means of a synchronization device 600 arranged between components E4, E5. In some examples, for example, TSS E4 can be set for each transceiver E5 (in Figure 21 Not shown in the image, see [link / reference]. Figure 23 Here, TSS E4 can provide, for example, one or more of the following: a) it provides the signal Group_Tr to CAN controllers E1, E2, E3; or b) it at least temporarily simulates the CAN bus; or c) it optionally enables communication between groups E1, E2, E3, for example in the absence of a transceiver E5 connected to TSS E4; or d) it enables data communication DK between components E1, E2, E3, E5 or between corresponding interfaces E4, E4b, E4c, E4d for components E1, E2, E3, E5 by means of the signals CAN_Tx, CAN_Rx or TxD, RxD.
[0074] In this sense, Figure 21This illustrates an example of how three CAN controllers E1, E2, and E3 share a CAN transceiver E5 via components E4 and 600. Between the CAN controllers E1, E2, and E3 and the CAN transceiver E5, there exists a TSS E4 (in which CAN signals are summarized and evaluated, for example) and a synchronization device 600.
[0075] according to Figure 21 Arrows a1, a2, and a3 indicate optional control or configuration information or corresponding inputs to the TSS E4, which in some examples can at least temporarily affect the structure and / or operation of the TSS E4.
[0076] In some examples ( Figure 21 In the CAN controller E1, E2, E3, or the corresponding signals CAN_Tx0, CAN_Tx1, CAN_Tx2 received by TSS E4 are combined in TSS E4 via an AND gate (not shown). The output of the AND gate then drives the TxD input of transceiver E5, for example, through the TxD output of TSS E4, transceiver interface E4d, and synchronization device 600. TSS E4, for example, forwards the RxD output of transceiver E5 or synchronization device 600 to all CAN_Rx inputs of CAN controller E1, E2, E3 via the RxD input of TSS E4 and its CAN_Rx[n] output. In the case of CAN_Rx[n] and CAN_Tx[n] pins or signals, the index "[n]" indicates, for example, the number of the CAN controller connector of TSS E4, which is 0, 1, or 2 in this case.
[0077] In some examples (see) Figure 18 In this configuration, at least one TBM 200 can be configured, by which the CAN controller 30-1 can connect to multiple transceivers 10-1, 10-2. For example, if the CAN controller 30-1 is connected to more than one transceiver 10-1, 10-2, then in some examples, a TBM 200 can be configured for each CAN controller 30-1. In some examples, the TBM 200 can provide, for example, one or more of the following: a) it connects the selected transceiver 10-1 or TSS 100 (e.g., via synchronization device 600) to the CAN controller 30-1, for example, based on the configuration of the TBM 200, or b) it forwards the signal IS_Transmitter from the connected CAN controller 30-1, for example, to the TSS 100 (see below for details). Figure 22 ).
[0078] Figure 22 Showing from Figure 21An extension of the example is how three CAN controllers E1, E2, and E3 share a first CAN transceiver E5a. Furthermore, CAN controller E3 is connected to another CAN transceiver E5b via TBM E8. In operation, CAN controller E3 can, for example, use one of these two CAN transceivers, E5a and E5b. A first synchronization device 600a is arranged between components E4 and E5a, and a second synchronization device 600b is arranged between components E8 and E5b for selectively synchronizing relevant signals between the respective components. Figure 22 Arrows a4, a5, and a6 indicate optional control or configuration information, which in some examples can at least temporarily affect the structure and / or operation of the TBM E8.
[0079] In some examples ( Figure 22 In this configuration, the CAN controller E3 can therefore connect to two or more transceivers E5a, E5b, ... or at least one TSS E4 via TBM E8. As in the case of TSS E4, in some examples there are also two implementation variations in TBM E8, allowing the use of different TBMs depending on the number of connectors E8a, E8b, or, for example, using only one TBM E8, wherein, for example, a general parameter a4 is used, and the number of connectors is set only during circuit synthesis. Synchronization of at least some signals can be selectively induced between components E4, E5a or E8, E5b by means of synchronization devices 600a, 600b.
[0080] Depend on Figure 22 As can be seen, the TBM E8 has an interface (i.e., the controller interface) E8c leading to the CAN controller E3 (wherein interface E8c is at least similar to, for example, identical to, interfaces E4a, E4b, and E4c, see...). Figure 21 It includes multiple transceiver interfaces (e.g., bus interfaces) E8a and E8b. In some examples, bus interfaces E8a and E8b can be connected to TSS E4 or transceivers E5a and E5b. In other examples (not shown), it is also possible to connect multiple TBM E8s sequentially, i.e., cascade them.
[0081] If the bus interface is E8b ( Figure 22 If directly connected to transceiver E5b, in some examples the "Is_Transmitter" output remains disconnected (unconnected), and the "Group_Tr" input is wired to logic "0" (e.g., ground). In some examples, the M_Select input a6 of the TBM E8 determines which bus interface E8a or E8b is active. For example, only one bus interface E8a or E8b is allowed to be active at any given time. Figure 22In the example, if the bus interface E8b leading to transceiver E5b is active, the Select input a2 (e.g., “Selected[2]”) of TSS E4 associated with TBM E4 can be switched to inactive because TBM E8 is currently unable to use its bus interface E8a leading to TSSE4.
[0082] If the TMB E8 bus interface is E8a ( Figure 22 If connected to TSS E4, for example, the signals “Is_Transmitter” and “Group_Tr” can be directly connected from the controller interface E8c, or the signals can be directly connected to the controller interface (i.e., directly connected between interfaces E8a and E8c), for example, so that the signals “Is_Transmitter” and “Group_Tr” can be exchanged between the connected components E3 and E4 in addition to the signals CAN_Rx and CAN_Tx.
[0083] In some examples, according to Figure 22 The system can be used, for example, for CAN XL, where all CAN controllers E1, E2, and E3 sharing the TSS E4 are, for example, at least temporarily, receivers. Furthermore, in some examples, CAN controllers E1, E2, and E3 can be configured as follows: a) they can transmit and receive CAN XL, and b) they utilize Transceiver Mode Switching (TMS), i.e., TMS = active.
[0084] In some examples, the TMS is configured such that, if the TMS is active, each CAN controller in the CAN controller sends a PWM (Pulse Width Modulation) symbol on its CAN_Tx pin during the CAN XL data phase of the frame to be received. In some examples, the PWM symbol ensures that transceivers E5a and E5b switch to FAST-RX mode (“fast receive”). At least one of the transceivers E5a and E5b can be, for example, a SiC XL transceiver that supports FAST-RX mode and is therefore capable of receiving data at speeds up to 20 Mbit / s.
[0085] If all CAN controllers E1, E2, and E3 sharing the TSS E4 are acting as receivers, in some examples the TSSE4 does not issue a command to suppress the CAN_Tx signal to CAN controllers E1, E2, and E3. This is done intentionally so that transceiver E5a can see the PWM symbols in the transmit signal TX (e.g., the TxD signal from the TSS E4 to components 600a and E5a), which require transceiver E5a to switch to FAST-RX mode. In some examples, all CAN controllers E1, E2, and E3 therefore transmit the aforementioned PWM symbols in their CAN_Tx signals. The TSS E4, for example, uses an AND gate to combine all the CAN_Tx signals of CAN controllers E1, E2, and E3 to produce the TxD signal for the TSS E4.
[0086] In some examples, a potential problem is that while the various CAN controllers E1, E2, and E3 send the same PWM symbols, these PWM symbols are, for example, in different phases at the input of the TSS E4, meaning they are time-shifted relative to each other. The AND gate in the TSS E4 is responsible for superimposing the phase-shifted PWM signals, which in some examples can cause the PWM symbols in the TxD signal of the TSS E4 to have different duty cycles due to this superposition.
[0087] In response, Figure 9 An example is shown in which, according to Figure 22 Three CAN controllers, E1, E2, and E3, generate PWM symbols s1, s2, and s3 with duty cycles of 25% (e.g., "25% zero", "75% -"), respectively. The PWM symbols s1, s2, and s3 have relative phase offsets relative to each other. The resulting TSS TxD signal s4 now contains a PWM symbol with a duty cycle of approximately 50% ("50% zero", "50% -"). In some examples, if the relative phase offsets between the PWM symbols s1, s2, and s3 of the CAN controllers E1, E2, and E3 become larger, or if the duty cycles of the PWM symbols s1, s2, and s3 of the CAN controllers E1, E2, and E3 become larger, the resulting TSS TxD signal may also contain invalid PWM symbols (e.g., missing edges). The PWM symbols s1, s2, and s3 used for switching, for example, each have a constant duty cycle. Therefore, for example, only the relative phase offsets PS1 and PS2 negatively affect the resulting PWM symbol s4. The reference numerals SD and SD' in the attached diagram indicate the corresponding symbol duration of symbols s1, s2, s3, or s4, which in this case correspond to eight CAN clock cycles, for example.
[0088] Previous reference Figure 9The relative phase offsets PS1 and PS2 of the described PWM symbols s1, s2, and s3 with respect to each other are caused by various effects in some examples, such as: a) transmission time differences in the receive path: for example, from the transceiver ( Figure 22 E5a) RxD to CAN controller ( Figure 22 Examples include E1) "CAN_Rx", or b) transmission time differences in the transmission path: for example, from CAN controller E1, "CAN_Tx" to transceiver E5a, "TxD", or c) quantization errors caused by sampling the CAN_Rx signal using the CAN clock pulse: CAN controller E1, ... sees the edge of the CAN_Rx signal with an error of up to one CAN clock cycle, d) etc.
[0089] In some traditional schemes, the maximum relative phase offset can be limited to about 2.5 CAN clock cycles through complex balancing of the signal path. The PWM symbol, for example, has a length of about 8 or more CAN clock cycles. In some traditional schemes, this results in the generated PWM symbol in the TxD signal of the TSS E4 changing by only about 25% (2 CAN clock cycles correspond to 25% of the PWM symbol duration). In some examples, these generated PWM symbols can also reliably switch the transceiver to FAST RX mode. However, end users may, for example, ask why the PWM symbol does not have the set duty cycle. Furthermore, the cost of balancing the signal path is both a cost and a risk factor. The risk is, for example, that forgetting to balance or incorrect balancing will cause issues to reach the transceiver E5a (…). Figure 22 The PWM symbol is invalid and therefore CAN XL with transceiver mode switching cannot function reliably, for example.
[0090] In some examples, when using the principles according to this disclosure, for example, it is possible to use according to Figure 2 , 3 The configuration of 22 simplifies the use of transceiver sharing and, for example, avoids sources of error in signal path balancing by synchronizing the signals at least temporarily, for example, by means of the synchronization device 600. Furthermore, when using the principles according to this disclosure, for example, the signal integrity of the combined PWM signals (e.g., the duty cycle of the PWM symbols generated by superposition) can be improved, thus reducing or eliminating the effects of superposition of signals s1, s2, s3 that are phase-shifted relative to each other.
[0091] In some examples, the synchronization device 600 (which can also be considered, for example, as a connection device or an add-on to the TSS 100) can achieve at least one of the following objectives: a) simplicity (e.g., relative to conventional signal path balancing), or b) avoidance of PWM symbol distortion caused by transceiver sharing. In some examples, the synchronization device 600 can also be referred to as "TSSA" 600, for example.
[0092] In some examples, the synchronization device or TSSA 600 has at least one of the following features: a) Synchronization of the received signal RX. This, for example, eliminates the effects in the receive path that cause relative phase shifts between signals of CAN controllers 30-1, 30-2, ... or E1, E2, ...; b) Synchronization of the transmitted signal TX. This, for example, eliminates the effects in the transmission path that cause relative phase offset between CAN controllers; c) Selectively activate or deactivate at least one component 610, 620 of the synchronization device 600, for example, in a "TSSA mode configuration," such as "transparent" (no synchronization) or synchronous (with synchronization). In other words, synchronization can be selectively activated or deactivated by means of the TSSA 600, for example, separately or jointly for the transmission and reception directions. This enables optimal support for at least one of the following application scenarios: c1) a high-bit-rate CAN XL with transceiver mode switching, or c2) a CAN CC / FD / XL without transceiver mode switching. A static configuration of the synchronization device 600 is also conceivable in other examples, such as always implementing synchronization of at least one of the signals RX and TX.
[0093] The principles of this disclosure enable simple and robust applications, and are relatively less prone to errors, for example, when integrating the synchronization device 600 into a target system (such as a microcontroller).
[0094] In some examples ( Figure 2 , 3 In this context, the TSSA 600 ensures synchronization conditions in the receive path and / or transmit path, thereby enabling, for example, the CAN controllers 30 to operate synchronously—that is, without phase offset relative to each other. Therefore, in some examples, at the output of the TSSA 600 used to transmit signals TX, TX'—which are generated by superimposing the PWM symbols of the respective CAN controllers (using AND gates)—the resulting PWM symbols are identical to the individual PWM symbols of the CAN controllers.
[0095] Figure 10The following diagram illustrates the use of synchronization according to this disclosure for three CAN controllers E1, E2, and E3 ( Figure 22 An example of the signal trend, for which the synchronization device 600 is configured, for example, with "CFG-SIG=1". Figure 8 ).Depend on Figure 10 It can be seen that the relatively small relative phase errors PS1' and PS2' between the PWM symbols s5, s6, and s7 of the different CAN controllers E1, E2, and E3 are relatively small. The transmit signal TX (see signal s8) at the input of the synchronization device 600 has a PWM symbol with a slight distortion in duty cycle, which is caused by the difference in transmission time in the transmit path (“TX path”) from the CAN controllers E1, E2, and E3 to the input of the connection device 100. However, this relative phase error is less than one CAN clock cycle and is due to the activated synchronization at the output of the synchronization device 600 (see according to...). Figure 10 The signal s9 no longer exists.
[0096] In some examples ( Figure 8 In the CAN controllers 30-1, 30-2, and 30-3, integrated means (not shown) for synchronization of their respective received signals (“RX signals”) are available, for example, because in some conventional schemes they directly obtain the received RX signals, which are out of sync with the CAN clock pulse, from the transceiver. In some examples ( Figure 8 In the CAN controllers 30-1, 30-2, and 30-3, it is advantageous to omit the integrated means (not shown) for synchronization of their respective received signals, because selective synchronization of the received signal RX can be implemented by means of the synchronization device 600 according to the present disclosure. In other words, in some examples, the bus controllers 30-1, ... can be configured not to have their own or integrated means for synchronization of their respective received signals, because this purpose can be selectively implemented by means of the synchronization device 600 according to the present disclosure. If, for example, bus controllers 30-1, ... do not have their own or integrated means for synchronization of their respective received signals, then the synchronization device 600 can be configured, for example, such that it at least synchronizes the received signal RX (and optionally synchronizes the transmitted signal TX).
[0097] In some examples, the synchronization device 600 can be statically configured such that it is permanently active for, for example, the receive signal RX and the transmit signal TX. In these examples, components 612, 622 and the configuration signal CFG-SIG can be omitted.
[0098] Figure 23A simplified block diagram according to another example is schematically shown. Four bus controllers E10, E11, E12, E13 (e.g., CAN controllers) are shown, which are respectively connected to multiplexer devices (e.g., "TBM") E14, E15, E16, E17. Also shown are four connection devices 100 (e.g., "TSS") E18, E19, E20, E21 and four transceivers (e.g., CAN transceivers) E22, E23, E24, E25 according to this disclosure. The configuration shown as an example enables fully flexible and selective connection between each CAN controller E10, E11, E12, E13 and each CAN transceiver E22, E23, E24, E25, wherein the corresponding communication paths can be established by controlling the multiplexer devices E14, E15, E16, E17 and by controlling the TSS E18, E19, E20, E21. In some examples, using according to Figure 14 The configuration also allows multiple (e.g., all) CAN controllers E10, E11, E12, and E13 to share the same transceiver (e.g., E22), or two pairs of CAN controllers to each share two different transceivers. For this purpose, in some examples, control of components E14, E15, E16, E17, E18, E19, E20, and E21 can be implemented via software, see, for example, according to... Figure 21 , 22 Arrows a2 and a3. Synchronization devices 600c, 600d, 600e, and 600f are provided for synchronizing, at least temporarily and / or selectively, the transmitted and / or received signals associated with at least one of the transceivers E22, E23, E24, and E25. These devices, for example, are capable of having, respectively, according to... Figure 8 A configuration of 600 or at least similar to it.
[0099] Based on the principles of this disclosure, a modular approach can be implemented in some examples, which, for example, allows an ASIC integrator to utilize multiple CAN controller modules 30-1, 30-2, ... and to integrate arbitrarily complex systems 1000 using TBM 200 and / or TSS 100. Figure 3 The system or configuration (e.g., application) can be combined to selectively (or fixedly) synchronize signals RX and / or TX by means of at least one synchronization device 600. Advantageously, existing CAN controllers or CAN controller IP modules can be adapted with minimal cost to provide the corresponding functionality, see, for example, element 30-1. Figure 1 ).
[0100] Other examples ( Figure 3The present disclosure relates to a system 1000 having at least one of the following elements: a) a synchronization device 600 according to the present disclosure, or b) a bus controller 30-1 according to the present disclosure, or c) a connection device 100 according to the present disclosure, wherein at least some components of the system 1000 are configured as integrated circuits (e.g., application-specific integrated circuits) and / or combined as integrated circuits.
[0101] Other examples ( Figure 20 This relates to a product 40, such as a vehicle, robot, or cyber-physical system, having at least one of the following elements: a) a synchronization device 600 according to this disclosure ( Figure 2 , 3 (a) or (b) bus controller 30-1 according to this disclosure, or (c) connection device 100 according to this disclosure, or (d) system 1000 according to this disclosure.
[0102] Other examples ( Figure 24 This relates to the use of the method and / or synchronization device 600 according to the present disclosure, and / or bus controller 30-1 according to the present disclosure, and / or connection device 100 according to the present disclosure, and / or system 1000 according to the present disclosure, and / or product 40 according to the present disclosure for at least one of the following elements: a) enabling at least temporarily synchronized data communication between at least one bus controller 30-1 and transceiver 10; or b) extending an existing bus controller, such as a CAN controller; or c) increasing flexibility regarding the connection of bus controller 30-1 with multiple transceivers; or d) providing for bus controller and / or connection device 100 and / or multiplexer device 200. Figure 3 (e) and / or modular scheme of system 1000, or (e) compensation 405 for the transmission time difference between bus controllers 30-1, 30-2, ... and connection device 100.
Claims
1. A method for a serial bus system (20), wherein, The transceiver (10) for the serial bus system (20) can be connected via a connection device (100) to a number, for example, multiple (30) of one or more bus controllers (30-1, 30-2, ...) for the serial bus system (20), wherein the method comprises: selectively synchronizing (500) at least one of the following elements with the reference clock (REF-CLK) of the serial bus system (20): a) The transmission signal (TX) of the connection device (100) for outputting to the transceiver (10), or b) Received signal (RX) from the transceiver (10).
2. The method of claim 1, wherein, The bus system (20) has one of the following types: a) Controller Area Network (CAN), such as classic CAN, such as CAN CC, or b) CAN flexible data rates, such as CAN FD, or c) CAN XL, or d) Other types, such as CAN-based, such as at least one of CAN CC, CAN FD, or CAN XL. The transceiver (10) is, for example, a CAN transceiver, such as a CAN CC transceiver, or a CAN FD transceiver, or a CAN Signal Improvement Function (SIC) transceiver, or a CAN SIC XL transceiver.
3. The method according to claim 1 or 2, wherein, The method, such as the selective synchronization (500), has at least one of the following elements: a) Determine whether the (510) configuration and / or the signal (CFG-SIG) characterizing the configuration indicates that the transmit signal (TX) should at least be synchronized with the reference clock (REF-CLK), or b) For example, based on the determination (510), at least the transmitted signal (TX) is synchronized with the reference clock (REF-CLK) (512), thereby obtaining, for example, a synchronized transmitted signal (TX'), or c) Determine (514) whether one or more of the configurations and / or the signal (CFG-SIG) characterizing one or more of the configurations indicates that at least the received signal (RX) should be synchronized with the reference clock (REF-CLK), or b) For example, based on the determination (514), at least the received signal (RX) is synchronized with the reference clock (REF-CLK) (516), thereby obtaining, for example, a synchronized received signal (RX').
4. The method according to at least one of the preceding claims, comprising at least one of the following elements: a) Receive (520) transmit signal (TX), such as a transmit signal from the connection device (100), or b) Synchronizing the transmitted signal (TX) with the reference clock (REF-CLK) by means of a first synchronization device (610) (521), wherein, Obtain the synchronized transmit signal (TX'), or c) Output the synchronized transmit signal (TX') described in (522), for example, to the transceiver (10), or d) Stop (523) one of the transmitted signals (TX) or the synchronization (521), for example by means of the first synchronization device (610), or e) Output (524) such as an unsynchronized transmit signal (TX), for example, output to the transceiver (10).
5. The method according to at least one of the preceding claims, comprising at least one of the following elements: a) Receive the received signal (RX) said in (530), for example, a received signal from said transceiver (10), or b) Synchronizing the received signal (RX) with the reference clock (REF-CLK) by means of a second synchronization device (620) (531), wherein, Obtain the synchronized received signal (RX'), or c) Output (532) the synchronized received signal (RX'), for example, to the connection device (100), or d) Stop (533) one of the received signals (RX) or the synchronization (521), for example by means of the second synchronization device (620), or e) Output (534) such as an unsynchronized received signal (RX), for example, output to the connection device (100).
6. The method according to at least one of the preceding claims, comprising at least one of the following elements: a) Using (540) for example, a single-stage bistable circuit (S1) for synchronizing (500; 512) the transmitted signal (TX), for example, to implement one or the first synchronization device (610), or b) Using (542) for example, a multi-stage bistable circuit (S2) for synchronizing (500; 516) the received signal (RX), for example, to implement one or the second synchronization device (620).
7. A synchronization device (600) for a serial bus system (20), wherein, The synchronization device (600) is configured to implement the method according to at least one of the preceding claims.
8. The synchronization device (600) according to claim 7, wherein, The synchronization device (600) has a first synchronization device (610) for synchronizing the transmitted signal (TX), wherein the first synchronization device (610) has, for example, a single-stage bistable circuit (S1).
9. The synchronization device (600) according to at least one of claims 7 to 8, wherein, The synchronization device (600) has a second synchronization device (620) for synchronizing the received signal (RX), wherein the second synchronization device (620) has, for example, a multi-stage bistable circuit (S2).
10. The synchronization device (600) according to at least one of claims 7 to 9, wherein, The synchronization device (600) has at least one of the following elements: a) A first multiplexer device (612) is configured to selectively output either the transmitted signal (TX) or the synchronized transmitted signal (TX'), or b) A second multiplexer device (622) for selectively outputting the received signal (RX) or the synchronized received signal (RX').
11. A bus controller (30-1, 30-2, ...) for a serial bus system (20), wherein, The bus controllers (30-1, 30-2, ...) are configured to receive receive signals (RX) from at least one other device (100; 600). Wherein, a) the bus controller (30-1, 30-2, ...) is configured not to implement synchronization of the received signal (RX), and / or Wherein, b) the bus controller (30-1, 30-2, ...) does not have a means for synchronizing the received signal (RX), and / or Wherein, c) the bus controller (30-1, 30-2, ...) is configured to use the synchronization device (600) according to at least one of claims 7 to 10 for synchronizing the received signal (RX).
12. A connection device (100) for a transceiver (10) in a serial bus system (20), wherein, The connecting device (100) has: A transceiver interface (110) for connecting the connection device (100) to the transceiver (10) by means of a synchronization device (600) according to at least one of claims 7 to 10; Multiple (120) controller interfaces (120-1, 120-2, ...) are used to connect the connection device (100) to multiple (30) bus controllers (30-1, 30-2, ...) for the serial bus system (20). The connection device (100) is configured to enable, at least temporarily, data communication (DK) between at least one of the plurality of bus controllers (30-1, 30-2, ...) and the synchronization device (600).
13. A system (1000) having at least one of the following elements: a) The synchronization device (600) according to at least one of claims 7 to 10, or b) The bus controller (30-1, 30-2, ...) according to claim 11, or c) The connecting device (100) according to claim 12.
14. A product, such as a vehicle (40), a robot, or a cyber-physical system, having at least one of the following elements: a) The synchronization device (600) according to at least one of claims 7 to 10, or b) The bus controller (30-1, 30-2, ...) according to claim 11, or c) The connecting device (100) according to claim 12, or d) The system (1000) according to claim 13.
15. The method (600) according to at least one of claims 1 to 6 and / or the synchronization device (600) according to at least one of claims 7 to 10, and / or the bus controller (30-1, 30-2, ...) according to claim 11 and / or the connection device (100) according to claim 12 and / or the system (1000) according to claim 13 and / or the product (40) according to claim 14, for use (400) in at least one of the following elements: a) Enables at least temporary synchronized data communication (DK) between at least one bus controller (30-1) and the transceiver (10), or b) Extend (402) existing bus controllers, such as CAN controllers, or c) Increase (403) the flexibility regarding the connection of the bus controller (30-1) with multiple transceivers (10-1, 10-2), or d) Provide (404) a modular solution for the bus controller (30-1) and / or the device (100) and / or the multiplexer device (200) and / or the system (1000), or e) Compensation (405) for, for example, the transmission time difference between the bus controller (30-1, 30-2, ...) and the connection device (100).
