Bus transceiver with ringing suppression

By introducing a transient trigger ringing suppression circuit into the CAN bus transceiver, the ringing problem caused by incorrect termination is solved, bit errors are reduced, communication quality is improved, and it is applicable to other bus protocols.

CN114747184BActive Publication Date: 2024-10-15TEXAS INSTRUMENTS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080084420.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-10-05
Filing Date
2020-11-30
Publication Date
2024-10-15
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

As CAN bus speeds increase, ringing problems caused by incorrect electrical termination may lead to misinterpretation errors when the transceiver transitions from dominant to recessive states, affecting communication quality.

Method used

A transient trigger ringing suppression circuit is designed. By enabling the circuit when the transceiver transitions from the dominant state to the recessive state, the combined structure of capacitors and transistors is used to attenuate the ringing signal on the bus to ensure that the ringing amplitude and The duration is smaller, thus reducing bit errors.

Benefits of technology

It effectively reduces the amplitude and duration of the ringing signal, reduces the occurrence of bit errors, improves the reliability of CAN bus communication, and is suitable for other bus protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0004762007440000011
    Figure HDA0004762007440000011
  • Figure HDA0004762007440000021
    Figure HDA0004762007440000021
  • Figure HDA0004762007440000031
    Figure HDA0004762007440000031
Patent Text Reader

Abstract

A transceiver (100) includes a driver stage (140) and a transient triggered ringing suppression circuit (120). The driver stage (140) has a first transistor (M1) coupled between a power supply voltage terminal and a first bus terminal and a second transistor (M4) coupled between a ground and a second bus terminal. The transient triggered ringing suppression circuit (120) is coupled to the first transistor (M1) and the second transistor (M4). The transient triggered ringing suppression circuit (120) is configured to be enabled when the transceiver (100) transitions from a dominant state to a recessive state. In addition, when the transceiver (100) is in the recessive state, the transient triggered ringing suppression circuit (120) is configured to attenuate ringing on at least one of the first or second bus terminals.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] The Controller Area Network (CAN) is a bus standard designed to allow microcontrollers and devices to communicate with each other in applications without a host computer. The CAN bus protocol is a message-based protocol that is particularly suitable for multiplexed electrical wiring within automobiles, but is also useful in other applications. Summary of the invention

[0002] In one example, a transceiver includes a driver stage and a transient triggered ringing suppression circuit. The driver stage has a first transistor coupled between a power supply voltage terminal and a first bus terminal and a second transistor coupled between a ground and a second bus terminal. The transient triggered ringing suppression circuit is coupled to the first transistor and the second transistor. The transient triggered ringing suppression circuit is configured to be enabled when the transceiver transitions from a dominant state to a recessive state. In addition, when the transceiver is in the recessive state, the transient triggered ringing suppression circuit is configured to attenuate ringing on at least one of the first bus terminal or the second bus terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0003] For a detailed description of various examples, reference will now be made to the accompanying drawings, in which:

[0004] Figure 1 An example of a CAN bus transceiver including a transient triggered ringing suppression circuit is shown.

[0005] Figure 2 Illustrative signal waveforms of ringing on a CAN bus when the transceiver does not have transient triggered ringing suppression circuitry are shown.

[0006] Figure 3 Shows the description Figure 1 Illustrative signal waveform of attenuated ringing on a CAN bus of a transceiver having a transient triggered ringing suppression circuit. DETAILED DESCRIPTION

[0007] As CAN bus speeds increase, ringing on the bus due to improper electrical terminations has also increased. When a CAN bus transceiver transitions from a "dominant" state to a "recessive" state, reflections from an improperly terminated stub may cause ringing on the transceiver. If the amplitude of the ringing is high enough, the transceiver will misinterpret the ringing as a dominant bit. Therefore, the ringing can cause bit errors. The examples described herein include a CAN bus transceiver that includes a transient triggered ringing suppression circuit that is enabled when the transceiver transitions to a recessive state. Any ringing on the bus is attenuated by the transient triggered ringing suppression circuit, resulting in a ringing signal of smaller amplitude and shorter duration, resulting in fewer bit errors. The transient triggered ringing suppression circuit described herein may be applicable to other bus protocols besides CAN.

[0008] Figure 1 An example of at least a portion of a CAN bus transceiver 100 is shown. The CAN bus transceiver 100 includes a transmitter 101 and a receiver 150. The CAN BUS terminals are shown as CANH and CANL. The receiver 150 is coupled to CANH and CANL and receives a signal transmitted by another transceiver on the bus and outputs a received signal RxD to other logic (not shown). The receiver 150 includes a differential resistor Rid between CANH and CANL. The transmitter 101 includes a pulse generator 110, a voltage buffer 115, a transient trigger ringing suppression circuit 120, a recessive return to zero circuit 130, and a driver stage 140. In one example, the voltage buffer 115 generates a voltage equal to half the power supply voltage on a common voltage terminal (VCM).

[0009] Driver stage 140 includes transistors M1-M5 and driver 142. M1, M3 and M6 are p-type metal oxide semiconductor field effect transistors (PMOS) and M2, M4 and M5 are n-type metal oxide semiconductor field effect transistors (NMOS). As PMOS or NMOS devices, each such transistor includes a control input terminal (gate) and current terminals (source and drain). Other types of transistors may also be used, such as bipolar junction transistors, which also have a control input terminal (base) and current terminals (collector and emitter).

[0010] M1-M3 are connected in series between the power supply voltage terminal (VCC) and CANH, wherein the source of M1 is coupled to VCC, the drain of M1 is connected to the source of M2 at node N1, the drain of M2 is connected to the source of M3 at node N2, and CANH is taken from the drain of M3. Similarly, M4-M6 are connected in series between ground and CANL, wherein the source of M4 is grounded, the drain of M4 is connected to the source of M5 at node N3, the drain of M5 is connected to the source of M6 at node N4, and CANL is taken from the drain of M6. A termination resistor Rterm (e.g., 120 ohms) is connected between CANH and CANL, but the transceiver can also be terminated in other ways (e.g., wherein a 60 ohm resistor connected in series is between CANH and CANL and a capacitor is connected between the nodes between the resistor and ground).

[0011] The gates of PMOS transistors M3 and M6 are grounded, so M3 and M4 remain continuously turned on. The sources of M3 and M6 remain fixed at a threshold voltage (e.g., 0.7V) above ground of the transistor. M3 and M6 operate to prevent a large negative voltage from the corresponding bus terminal CANH or CANL from damaging the transceiver. The gates of M2 and M5 are connected to VCC and prevent a large positive voltage from the corresponding bus terminal CANH or CANL from damaging the transceiver.

[0012] Driver 142 receives the transmit signal TxD at its input and drives complementary outputs 143 and 144 connected to the gates of M1 and M4, respectively. CANH and CANL are either driven to a dominant state when the CANH voltage is higher than the CANL voltage, or are not driven and pulled to a recessive state by a passive resistor when the CANH voltage is lower than or equal to the CANL voltage. A "0" data bit encodes a dominant state, while a "1" data bit encodes a recessive state. For a dominant state, TxD is set equal to 0, while for a recessive state, TxD is set equal to 1. When TxD is 0 (dominant state), output 143 of driver 142 is 0 (low) and output 144 is 1 (high). When output 143 is 0 and output 144 is 0, both PMOS transistor M1 and NMOS transistor M4 are turned on, thereby pulling CANH up to VCC and pulling CANL down to ground. According to the CAN bus protocol, in the dominant state, the CAN bus differential voltage is nominally 2V. In the recessive state, TxD is 1, so the output 143 of the driver 142 is 1, the output 144 is 0, and both M1 and M4 are disconnected. With M1 and M4 disconnected, the voltage on CANH and CANL passively becomes approximately equal to VCM through resistors Rterm and Rid. In the example provided above, VCM is equal to VCC / 2. In an application where VCC is 5V, VCM is 2.5V, and in the recessive state, both CANH and CANL are approximately equal to 2.5V (approximately zero differential voltage).

[0013] The recessive return-to-zero circuit includes NMOS transistors M7-M12. The gates of M7 and M8 are connected together and connected to the pulse generator 110. The drain of M7 is connected to the drain of M1 and the source of M2 (node ​​N1). M9 is connected between the drain of M8 and the drain of M2 and the source of M3 (node ​​N2). M9 is biased on and can be operated to prevent the large positive voltage on N2 from damaging the transceiver. The sources of M7 and M8 are connected together and connected to the sources of M10 and M11. The gates of M10 and M11 are connected together and connected to the pulse generator 110. The drain of M10 is connected to the drain of M4 and the source of M5 (node ​​N3). M12 is connected between the drain of M11 and the drain of M5 and the source of M6 (node ​​N4). M12 is biased on and can be operated to prevent the large positive voltage on N4 from damaging the transceiver.

[0014] Pulse generator 110 generates pulses 114 and 116 on outputs 111 and 112 respectively in response to the 0 to 1 transition of TxD. The width of the pulse can be fixed or programmable. In one example, the width is 200 nanoseconds. During the pulse, M7, M8, M10 and M11 are turned on. The recessive zeroing circuit 130 works to force each node N1-N4 to be equal to VCM in a short period of time (e.g., 200ns) when switching to the recessive node, to help force the voltages on CANH and CANL to be equal to each other and equal to VCM. Once pulses 114 and 116 are over, CAN and CANL remain at VCM.

[0015] The transient triggered ringing suppression circuit 120 helps suppress ringing on the CAN bus when transitioning from a dominant state to a recessive state. The transient triggered ringing suppression circuit 120 includes switches SW1 and SW2, resistors R1 and R2, capacitors C1 and C2, and NMOS transistors M21 and M22. SW1 is coupled between VCC and the gate of M21. In an example, SW1 can be a PMOS transistor. R1 is also coupled between VCC and the gate of M21. C1 is coupled between the source and gate of M21. SW2 is coupled between ground and the gate of M22. In an example, SW can be an NMOS transistor. R2 is also coupled between ground and the gate of M22. C2 is coupled between the gate and drain of M21.

[0016] During the dominant state (TxD is 0), M1 is turned on. With M1 turned on, node N1 is pulled up to VCC, so the source of M21 is VCC. The source of M22 is coupled to VCM. During the dominant state, control signals 121 and 122 cause switches SW1 and SW2 to close. In this example, control signals 121 and 122 are generated by pulse generator 110. If SW1 is implemented as a PMOS transistor, control signal 121 can be asserted by pulse generator 110 to track the logic state of TXD (i.e., when TXD is high, control signal 121 is forced to high, and vice versa). If SW2 is implemented as an NMOS transistor, control signal 122 can be asserted by pulse generator 110 to track the logical inversion of the logic state of TXD (i.e., when TXD is high, control signal 122 is forced to low, and vice versa). In one example, the pulse generator 110 includes a buffer (the buffer has a positive output and a negative output) for generating the control signals 121 and 122. With SW1 closed, the gate of M21 is pulled up to VCC. Therefore, the gate-source-to-source voltage across M21 is insufficient to turn on M21, so M21 is turned off. With SW2 closed, the gate of M22 is pulled up, thereby keeping M22 in the off state.

[0017] When entering the recessive state, control signals 121 and 122 change logic states and cause switches SW1 and SW2 to be disconnected, thereby enabling the transient triggered ringing suppression circuit. R1 pulls the gate of M21 high, thereby keeping M21 in the disconnected state. However, any ringing signal on CANH will propagate to capacitor C1 through M3 and M2. C1 is charged by the ringing signal, and if the amplitude of the ringing signal is large enough, C1 will be charged to a large enough voltage (at least higher than the threshold voltage of VCM) to turn on M21. The resistor R1 connected between VCC and the gate of M21 discharges the gate of M21, thereby eventually turning on M21. In this way, the ringing signal on CANH is dissipated by the portion of the transient triggered ringing suppression circuit 120 that is coupled to CANH (i.e., R1, C1, and M21).

[0018] In the recessive state and on the CANL side of the bus, R2 pulls the gate of M22 low, thereby keeping M22 in the off state. Any ringing signal on CANL propagates to capacitor C2 through M6 and M5. C2 is charged by the ringing signal, and if the amplitude of the ringing signal is large enough, C2 will charge to a large enough voltage (at least above the threshold voltage of the source of M22 connected to VCM) to turn on M22. Resistor R2 connected between ground and the gate of M22 discharges the gate of M22, thereby eventually turning on M22. In this way, the ringing signal on CANL is dissipated by the portion of the transient triggered ringing suppression circuit 120 that is coupled to CANL (i.e., R2, C2, and M22).

[0019] Figure 2 The voltage levels of CANH and CANL during the dominant state and when transitioning to the recessive state are illustrated for a CAN bus transceiver without the transient triggered ringing suppression circuit 120. The upper curve shows the CANH and CANL signals and the lower curve is the differential voltage (i.e., CANH-CANL). During the dominant state, CANH is 3.5V and CANL is 1.5V, so the differential voltage is 2V. When entering the recessive state, the CANH and CANL voltage levels are close together at about VCM, which is 2.5V in this example. However, during Figure 1 In the example of , ringing 210 occurs when entering the recessive state. The ringing signal amplitude decreases over time. The initial ringing peak shown at 220 is high enough to cause a bit error in the transceiver (misinterpreting the ringing as a new dominant state).

[0020] Figure 3 FIG. 1 shows CANH and CANL during the dominant state and when the CAN bus transceiver with the transient trigger ringing suppression circuit 120 described above is changed to the recessive state. Figure 2Compared with the ringing 210 in FIG. 3 , the amplitude of the ringing 310 is attenuated, and the peak ringing level 320 is not large enough to cause a bit error. In addition, the dissipation speed of the ringing 310 is much faster than that of the ringing 210.

[0021] The term "coupled" is used throughout the specification. The term can encompass connections, communications, or signal paths that achieve a functional relationship consistent with the description of the present disclosure. For example, if device A generates a signal to control device B to perform an action, then in the first example, device A is coupled to device B, or in the second example, if the intermediate component C does not substantially change the functional relationship between device A and device B, such that device B is controlled by device A via a control signal generated by device A, then device A is coupled to device B through the intermediate component C.

[0022] Modifications in the described embodiments are possible within the scope of the claims, and other embodiments are also possible.

Claims

1. A transceiver, include: a driver stage having a first transistor coupled between a supply voltage terminal and a first bus terminal and a second transistor coupled between ground and a second bus terminal; a third transistor coupled between a common voltage terminal and a terminal of the first transistor, the third transistor having a control input and a first current terminal and a second current terminal; a first capacitor coupled between the first current terminal and the control input of the third transistor; a first resistor coupled between the supply voltage terminal and the control input of the third transistor; as well as A first switch is coupled between the supply voltage terminal and the control input of the third transistor.

2. The transceiver according to claim 1, in, The first switch is configured to be closed during a first state of the transceiver and to be open during a second state of the transceiver.

3. The transceiver according to claim 2, in, The transceiver is a controller area network bus transceiver, namely a CAN bus transceiver, and the first state is a dominant state and the second state is a recessive state. 4 . The transceiver of claim 1 , further comprising a voltage buffer having an output coupled to the common voltage terminal.

5. The transceiver according to claim 1, further comprising: include: a fourth transistor coupled between a terminal of the second transistor and the common voltage terminal, the fourth transistor having a control input and a first current terminal and a second current terminal; a second capacitor coupled between the first current terminal of the fourth transistor and the control input of the fourth transistor; a second resistor coupled between ground and the control input terminal of the fourth transistor; as well as A second switch is coupled between ground and the control input terminal of the fourth transistor.

6. The transceiver according to claim 5, in, The first transistor has a control input and the second transistor includes a control input, and the transceiver further includes a transmitter driver having a driver input configured to receive a transmit signal, a first output, and a second output, the driver input being coupled to the control input of the first transistor, and the second output being coupled to the control input of the second transistor.

7. The transceiver according to claim 5, in: The first switch is configured to be closed during a first state of the transceiver and to be open during a second state of the transceiver; and The second switch is configured to be closed during the first state of the transceiver and to be open during the second state of the transceiver.

8. The transceiver according to claim 7, in: The transceiver is a controller area network bus transceiver, i.e., a CAN bus transceiver, and the first state is a dominant state and the second state is a recessive state; and The transceiver includes a voltage buffer having an output providing the common voltage terminal.

9. The transceiver according to claim 1, in, The first transistor has a current terminal and the second transistor has a current terminal, and the transceiver further includes a recessive return-to-zero circuit, the recessive return-to-zero circuit coupled to the common voltage terminal, the current terminal of the first transistor, and the current terminal of the second transistor, and the recessive return-to-zero circuit is configured to force the current terminal of the first transistor and the current terminal of the second transistor to be at a voltage on the common voltage terminal for a period of time when the transceiver transitions from a dominant state to a recessive state.

10. A transceiver, include: a driver stage having a first transistor coupled between a supply voltage terminal and a first bus terminal and a second transistor coupled between ground and a second bus terminal; a transient triggered ringing suppression circuit coupled to the first transistor and the second transistor, the transient triggered ringing suppression circuit being configured to be enabled when the transceiver transitions from a dominant state to a recessive state and to attenuate ringing on at least one of the first bus terminal or the second bus terminal when the transceiver is in the recessive state; Wherein, the transient triggered ringing suppression circuit comprises: a third transistor coupled between a terminal of the second transistor and a common voltage terminal, the third transistor having a control input and a first current terminal and a second current terminal; a first capacitor coupled between the second current terminal of the third transistor and the control input of the third transistor; a first resistor coupled between ground and the control input terminal of the third transistor; and A first switch is coupled between ground and the control input terminal of the third transistor.

11. The transceiver according to claim 10, in, The transient triggered ringing suppression circuit comprises: a fourth transistor coupled between a common voltage terminal and a terminal of the first transistor, the fourth transistor having a control input and a first current terminal and a second current terminal; a second capacitor coupled between the first current terminal and the control input of the fourth transistor; a second resistor coupled between the power supply voltage terminal and the control input of the fourth transistor; and A second switch is coupled between the supply voltage terminal and the control input of the fourth transistor.

12. The transceiver according to claim 10, in, The first switch is configured to be closed during the dominant state and to be open during the recessive state. 13 . The transceiver of claim 10 , further comprising a voltage buffer having an output coupled to the common voltage terminal.

14. The transceiver according to claim 10, in, The first transistor has a control input and the second transistor includes a control input, and the transceiver further includes a transmitter driver having a driver input configured to receive a transmit signal, a first output, and a second output, the driver input being coupled to the control input of the first transistor, and the second output being coupled to the control input of the second transistor.

15. A transceiver, wherein include: a driver stage having a first transistor coupled between a supply voltage terminal and a first bus terminal and a second transistor coupled between ground and a second bus terminal; a third transistor coupled between a common voltage terminal and a terminal of the first transistor, the third transistor having a control input and a first current terminal and a second current terminal; a first capacitor coupled between the first current terminal of the third transistor and the control input; a first resistor coupled between the supply voltage terminal and the control input of the third transistor; a first switch coupled between the supply voltage terminal and the control input of the third transistor; a fourth transistor coupled between a terminal of the second transistor and the common voltage terminal, the fourth transistor having a control input and a first current terminal and a second current terminal; a second capacitor coupled between the first current terminal of the fourth transistor and the control input of the fourth transistor; a second resistor coupled between ground and the control input terminal of the fourth transistor; as well as A second switch is coupled between ground and the control input terminal of the fourth transistor. 16 . The transceiver of claim 15 , further comprising a voltage buffer having an output coupled to the second current terminal of the third transistor and the second current terminal of the fourth transistor, the voltage buffer being configured to generate a common voltage on the common voltage terminal.

17. The transceiver according to claim 16, in, The first transistor has a current terminal and the second transistor has a current terminal, and the transceiver further includes a recessive return-to-zero circuit, the recessive return-to-zero circuit being coupled to the common voltage terminal, the current terminal of the first transistor, and the current terminal of the second transistor, and the recessive return-to-zero circuit being configured to force the current terminal of the first transistor and the current terminal of the second transistor to be the common voltage terminal for a period of time when the transceiver transitions from a first state to a second state.

18. The transceiver according to claim 15, in, The transceiver is a controller area network bus transceiver, namely a CAN bus transceiver.