Module and method for clamping common mode voltage of transceiver
By using feedback control circuits and acquisition circuits in the CAN transceiver to generate and clamp the common-mode voltage, the problem of signal processing errors caused by common-mode voltage changes is solved, and stable high-speed communication is achieved.
Patent Information
- Application Number
- CN202311869454.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2043-12-29
AI Technical Summary
Existing CAN transceivers have difficulty balancing high-precision and high-speed communication when faced with common-mode voltage variations, resulting in signal processing errors and communication failures.
Feedback control circuit and acquisition circuit are used to generate a sense voltage signal and clamp it within the reference voltage threshold range to ensure the stability of the common-mode voltage. Resistor arrays and components such as operational amplifiers or MOS tubes are used to clamp the common-mode voltage.
This effectively reduces the difficulty of receiver design, ensures stable communication quality within a larger common-mode voltage range, simplifies design and reduces costs.
Smart Images

Figure CN117833944B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a module and method for clamping the common-mode voltage of a differential signal transceiver. More specifically, the module and method can be used to clamp the common-mode voltage between first and second input terminals of a receiver, respectively coupled to first and second signal lines of a bus. For example, the module and method can be used in a CAN receiver. Background Art
[0002] A bus system is a communication system used in various electronic devices to transmit data and control signals. It typically consists of a set of parallel or serial lines that connect various devices, enabling communication and coordination between them. Buses typically use differential transmission signaling technology because of its advantages, such as strong interference resistance, long transmission distance, and high transmission speed. Differential transmission refers to the transmission of signals on two signal lines, with the two signals having equal amplitude and opposite phase. The signals transmitted on these two signal lines are usually called differential signals. In differential signaling, one signal line carries a positive signal and the other carries a negative signal. The difference between these two signals constitutes the effective signal, known as the differential-mode voltage. The average of the voltages on these two signal lines is the common-mode voltage. Common-mode voltage is often caused by interference or signal line imbalance, and it can interfere with or damage signal transmission. Therefore, in differential signaling, common-mode voltage is often suppressed or shielded to ensure reliable and stable signal transmission.
[0003] Bus systems typically use various communication protocols to transmit signals between nodes. For example, the Controller Area Network (CAN) bus is a common serial communication protocol bus for real-time applications and is widely used in automotive, industrial control, and other fields to communicate data between various devices and sensors. Based on CAN, CAN FD (short for CAN with Flexible Data Rate) has also been proposed. Hereinafter, these are collectively referred to as CAN, without distinguishing between them.
[0004] In order to send and receive bus signals, transceivers are usually required for various devices and sensors in the bus system. For example, the current typical CAN transceiver chip needs to meet the standard ISO 11898-2:2016. The transceiver generally includes a receiver (or receiving circuit) and a transmitter (or transmitting circuit). On the one hand, the transmitter can receive high-speed serial digital signals from the microcontroller unit (MCU), convert the digital signals into differential signals, and output them to the bus; on the other hand, the receiver can receive differential signals from the bus, convert them into digital signals, and output them to the MCU. For example, the main signal pins of the CAN transceiver include: CANH pin and CANL pin, which are respectively coupled to the bus; TXD pin for receiving digital signals; and RXD pin for transmitting digital signals.
[0005] In a transceiver, the receiver receives the differential signal transmitted from the bus. This differential signal consists of a common-mode voltage (Vcm) and a differential-mode voltage (Vodiff). The receiver's primary functions include resisting interference caused by variations in the common-mode voltage, identifying the differential-mode voltage, and correctly outputting it. If the common-mode voltage of the bus signal varies over a wide range, the receiver must be able to handle differential signals with such a wide range. However, the receiver's need to simultaneously meet high-speed and high-precision requirements poses significant challenges to its design. Even in cases where the common-mode voltage of the bus signal is extremely high or low, the receiver may be unable to correctly process the differential signal, leading to communication errors. Summary of the Invention
[0006] One of the purposes of the present invention is to at least solve or alleviate the above technical problems.
[0007] The present invention proposes a module and method for clamping the common-mode voltage of a differential signal transceiver. The module and method can process the received bus signal and clamp the common-mode voltage of the transceiver within a certain voltage range, while the differential-mode voltage is not significantly affected. With the help of the present invention, the common-mode voltage of the signal transmitted to the receiver can be clamped within a set range, thereby reducing the design difficulty of the receiver and ensuring communication quality. The present invention also allows for clamping the common-mode voltage in a simple and cost-effective manner. At the same time, for the transceiver as a whole, it can process bus signals with common-mode voltages that vary over a wider range. With the help of the present invention, the common-mode voltage between the two signal lines of the bus is also not significantly affected.
[0008] According to a first aspect of the present invention, a module for clamping the common-mode voltage of a differential signal transceiver is provided. The differential signal transceiver includes a receiver for receiving and processing a differential signal from a bus, the receiver including a first input coupled to a first signal line of the bus and a second input coupled to a second signal line of the bus. The module according to the present invention includes: an acquisition circuit configured to acquire the common-mode voltage of the differential signal and generate a sensed voltage signal based on the common-mode voltage of the differential signal; and a feedback control circuit having an input coupled to the acquisition circuit to receive the sensed voltage signal, the feedback control circuit receiving a reference voltage threshold, and an output coupled to the first and second inputs of the receiver, respectively. The feedback control circuit is further configured to control the voltages at the first and second inputs based on the sensed voltage signal and the reference voltage threshold, thereby clamping the sensed voltage signal to the reference voltage threshold.
[0009] According to an exemplary aspect of the present disclosure, the differential signal transceiver includes a CAN transceiver, the bus includes a CAN bus, the first signal line includes a first CAN signal line, and the second signal line includes a second CAN signal line.
[0010] According to an exemplary aspect of the present disclosure, the reference voltage threshold includes a first reference voltage. When the sensing voltage signal is less than the first reference voltage, the feedback control circuit clamps the sensing voltage signal to the first reference voltage.
[0011] According to an exemplary aspect of the present disclosure, the reference voltage threshold includes a second reference voltage. When the sensing voltage signal is greater than the second reference voltage, the feedback control circuit clamps the sensing voltage signal to the second reference voltage.
[0012] According to an exemplary aspect of the present disclosure, the acquisition circuit is configured to acquire a common-mode voltage of a differential signal and attenuate a differential-mode voltage of the differential signal to generate a sensing voltage signal.
[0013] According to an exemplary aspect of the present disclosure, a transceiver includes a resistor array coupled to a first signal line and a second signal line, wherein the resistor array is coupled to a first input terminal and a second input terminal.
[0014] According to an exemplary aspect of the present disclosure, an acquisition circuit includes a set of resistors. The set of resistors includes a first resistor and a second resistor. A first end of the first resistor is coupled to a first input terminal, and a second end of the first resistor and a second end of the second resistor are coupled to an acquisition node. A first end of the second resistor is coupled to the second input terminal. The acquisition circuit acquires a common-mode voltage at the acquisition node and outputs a sensed voltage signal.
[0015] According to an exemplary aspect of the present disclosure, a resistor array includes a first voltage-dividing resistor, wherein a first end of the first voltage-dividing resistor is coupled to a first signal line. The resistor array includes a second voltage-dividing resistor, wherein a second end of the first voltage-dividing resistor and a first end of the second voltage-dividing resistor are coupled to a first input terminal. The resistor array includes a third voltage-dividing resistor, wherein a second end of the second voltage-dividing resistor and a first end of the third voltage-dividing resistor are coupled to a first end of the third voltage-dividing resistor. The resistor array includes a fourth voltage-dividing resistor, wherein a second end of the third voltage-dividing resistor and a first end of the fourth voltage-dividing resistor are coupled to a second input terminal. A second end of the fourth voltage-dividing resistor is coupled to a second signal line.
[0016] According to an exemplary aspect of the present disclosure, the resistance values of the first voltage-dividing resistor and the fourth voltage-dividing resistor are equal. According to an exemplary aspect of the present disclosure, the resistance values of the second voltage-dividing resistor and the third voltage-dividing resistor are equal;
[0017] According to an exemplary aspect of the present disclosure, the resistance value of the first resistor is equal to the resistance value of the second resistor. In some embodiments, the resistance values of the first resistor and the second resistor are greater than the resistance value of the first voltage-dividing resistor. In some embodiments, the resistance values of the first resistor and the second resistor are greater than the resistance value of the second voltage-dividing resistor.
[0018] In a preferred embodiment, the resistance value of the first resistor and the second resistor is much greater than the resistance value of the first voltage-dividing resistor. In some embodiments, the resistance value of the first resistor and the second resistor is much greater than the resistance value of the second voltage-dividing resistor. More preferably, the resistance value of the first resistor and the second resistor is at least 10 times the resistance value of the first voltage-dividing resistor. More preferably, the resistance value of the first resistor and the second resistor is at least 10 times the resistance value of the second voltage-dividing resistor.
[0019] According to an exemplary aspect of the present disclosure, the feedback control circuit includes a first operational amplifier that receives a sensing voltage signal and a first reference voltage as inputs and is configured to output a first voltage signal when the sensing voltage signal is less than the first reference voltage.
[0020] According to an exemplary aspect of the present disclosure, a feedback control circuit includes a first MOS transistor and a second MOS transistor. The control terminals of the first and second MOS transistors are both coupled to the output terminal of the first operational amplifier, and the first terminals of the first and second MOS transistors are both coupled to a power supply voltage. The second terminal of the first MOS transistor is coupled to the second input terminal of the receiver, and the second terminal of the second MOS transistor is coupled to the first input terminal of the receiver.
[0021] According to an exemplary aspect of the present disclosure, the feedback control circuit includes a second operational amplifier, which receives a sensing voltage signal and a second reference voltage as input, and the second operational amplifier is configured to output a second voltage signal when the sensing voltage signal is greater than the second reference voltage.
[0022] According to an exemplary aspect of the present disclosure, a feedback control circuit includes a third MOS transistor and a fourth MOS transistor. Control terminals of the third and fourth MOS transistors are coupled to the output terminal of the second operational amplifier. First terminals of the third and fourth MOS transistors are each coupled to a reference potential. A second terminal of the third MOS transistor is coupled to the second input terminal of a receiver. A second terminal of the fourth MOS transistor is coupled to the first input terminal of the receiver.
[0023] According to an exemplary aspect of the present disclosure, a feedback control circuit includes an analog-to-digital converter (ADC) and a current array. The ADC includes an n-bit ADC. The current array includes an n-bit current source and an n-bit switch. The n-bit ADC converts a captured sensed voltage signal into an n-bit digital value. The n-bit digital value controls the opening and closing of the n-bit switch in the current array and controls the current of the n-bit current source to control the voltage at the first input terminal and the second input terminal, thereby clamping the sensed voltage signal to a reference voltage threshold.
[0024] According to an exemplary aspect of the present disclosure, a feedback control circuit includes a first set of switches coupled to a first input terminal and a second input terminal, respectively. The feedback control circuit includes a first set of current sources coupled to the first set of switches, respectively. In some embodiments, the feedback control circuit further includes a first comparator. The first comparator is configured to compare a sensed voltage signal with a first reference voltage. When the sensed voltage signal is less than the first reference voltage, the first comparator closes the first set of switches, and the first set of current sources controls the voltages at the first input terminal and the second input terminal to clamp the sensed voltage signal to the first reference voltage.
[0025] According to an exemplary aspect of the present disclosure, a feedback control circuit includes a second set of switches coupled to a first input terminal and a second input terminal, respectively. The feedback control circuit includes a second set of current sources coupled to the second set of switches, respectively. In some embodiments, the feedback control circuit further includes a second comparator. The second comparator is configured to compare a sensed voltage signal with a second reference voltage. When the sensed voltage signal is greater than the second reference voltage, the second comparator closes the second set of switches, and the second set of current sources controls the voltages at the first input terminal and the second input terminal, thereby clamping the sensed voltage signal to the second reference voltage.
[0026] According to another aspect of the present invention, a method for clamping the common-mode voltage of a differential signal transceiver is provided. The differential signal transceiver includes a receiver for receiving and processing a differential signal from a bus, the receiver including a first input terminal coupled to a first signal line of the bus and a second input terminal coupled to a second signal line of the bus. The method includes: acquiring the common-mode voltage of the differential signal and attenuating the differential-mode voltage of the differential signal to generate a sensed voltage signal. The method according to the present invention also includes: controlling the voltage at the first input terminal and the second input terminal based on the sensed voltage signal and a reference voltage threshold. The method further includes clamping the sensed voltage signal to the reference voltage threshold. In some embodiments, the method is implemented using the module described above.
[0027] In some embodiments, the method according to the present invention can be used to clamp the common mode voltage received by a CAN receiver.
[0028] The method according to the present invention provides the same advantages as mentioned above with respect to the module for clamping the common mode voltage of a differential signal transceiver.
[0029] Other possible embodiments of the present invention also include combinations not explicitly mentioned of features or embodiments described above or below with respect to the embodiments. Here, those skilled in the art can also add individual aspects as improvements or supplements to the corresponding basic forms of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] For a better understanding of the present invention, some embodiments will now be described, by way of example only, with reference to the accompanying drawings, in which:
[0031] Figure 1 A simplified block diagram of a module for clamping a common mode voltage according to an example is schematically shown.
[0032] Figure 2 A simplified block diagram of a module for clamping a common mode voltage according to another example is schematically shown.
[0033] Figure 3 An example of a module for clamping a common mode voltage according to an embodiment of the present invention is schematically shown.
[0034] Figure 4 Another example of a module for clamping a common mode voltage according to an embodiment of the present invention is schematically shown.
[0035] Figure 5 FIG. 1 schematically illustrates another example of a module for clamping a common mode voltage according to an embodiment of the present invention.
[0036] Figure 6A comparison of signal transmission achieved with and without the module according to the invention is schematically shown. DETAILED DESCRIPTION
[0037] The inventive concept will now be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments are shown. However, the inventive concept can be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; on the contrary, these embodiments are provided as examples so that this disclosure will be thorough and complete and will fully convey the scope of the inventive concept to those skilled in the art. Throughout this specification, like reference numerals refer to like parts. Moreover, in describing the preferred embodiments illustrated in the drawings, specific terms are employed for the sake of clarity. However, the disclosure of this patent application is not intended to be limited to the specific terms mentioned, and it should be understood that each specific element includes all technical equivalents that work in a similar manner.
[0038] The term "including" and its variations used in this document represent open inclusion, that is, "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "at least partially based on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. The term "module" may refer to a unit that includes one or a combination of hardware, software, and firmware. For example, the term "module" may be used interchangeably with the terms "unit", "logic", "logic block", "component", or "circuit".
[0039] "Coupling" or "connection" herein includes both direct connection and indirect connection. Indirect connection is a connection through an intermediate medium, such as a connection through an electrically conductive medium such as a conductor, wherein the electrically conductive medium may contain parasitic inductance or parasitic capacitance, or a connection through an intermediate circuit or component as described in the embodiments in the specification; indirect connection may also include a connection through other active devices or passive devices on the basis of achieving the same or similar functions. The embodiments of the present disclosure relate to a bus system that transmits signals in a differential transmission manner, including but not limited to bus systems such as CAN and FlexRay. In the following, for the purpose of simplicity, the description is made by way of example with the aid of the CAN bus. However, as will be readily appreciated by those skilled in the art, the scope of the present application is not intended to be limited to the CAN bus, but may be applicable to any suitable bus system that transmits signals in a differential transmission manner.
[0040] A differential signal transceiver typically consists of two main parts: a transmitter and a receiver. The transmitter is responsible for converting digital signals from a controller into physical signals on a bus (for example, a CAN bus) and transmitting them to other devices via the bus. The receiver is responsible for receiving the physical signals from the bus and converting them into digital signals readable by the controller. For example, a CAN receiver typically has two main ports: a CAN bus port and a controller port. The CAN bus port connects to the CAN bus, receives differential signals from the bus, and converts them into digital signals readable by the controller. The controller port connects to the controller and transmits the received digital signals to the controller for processing. Through these two ports, the CAN receiver enables communication between the controller and the CAN bus, ensuring reliable data transmission and processing. The CAN bus typically consists of a first signal line (usually labeled CANH) and a second signal line (usually labeled CANL).
[0041] Figure 1 The receiver 10 and the module 100 for clamping the common mode voltage of a differential signal transceiver are schematically shown. The receiver 10 comprises a first input terminal VP coupled to a first signal line CANH of a bus and a second input terminal VN coupled to a second signal line CANL of the bus.
[0042] The CAN transceiver (not fully shown in the figure) includes a resistor array 20 for coupling to a first signal line CANH and a second signal line CANL. The resistor array 20 is also coupled to a first input terminal VP and a second input terminal VN, respectively. In some embodiments, the resistor array may include first, second, third, and fourth voltage-dividing resistors 201, 202, 203, and 204. The first end of the first voltage-dividing resistor 201 is coupled to the first signal line CANH of the bus, and the second end is coupled to the first input terminal VP of the receiver 10. The first end of the second voltage-dividing resistor 202 is also coupled to the first input terminal VP of the receiver 10, and the second end is coupled to the first end of the third voltage-dividing resistor 203. The second end of the third voltage-dividing resistor 203 is coupled to the second input terminal VN of the receiver 10. The first end of the fourth voltage-dividing resistor 204 is coupled to the second input terminal VN of the receiver 10, and the second end is coupled to the second signal line CANL of the bus. Figure 1 2 also shows a common mode voltage node SN1 inside the transceiver, which is located between the second voltage dividing resistor 203 and the fourth voltage dividing resistor 204. The common mode voltage node SN1 defines a reference common mode voltage Vref_cm inside the transceiver.
[0043] In a preferred embodiment, the resistance values of the first voltage-dividing resistor 201 and the fourth voltage-dividing resistor 204 are equal. Figure 1In the preferred embodiment, the resistance values of the second voltage dividing resistor 202 and the third voltage dividing resistor 203 are equal. Figure 1 are marked as R2.
[0044] like Figure 1 As shown in FIG, a module 100 for clamping the common mode voltage of a differential signal transceiver includes an acquisition circuit 110 and a feedback control circuit 120 coupled to the acquisition circuit 110. The acquisition circuit 110 is configured to acquire the common mode voltage of the differential signal from the bus and generate a sense voltage signal Vsense based on the common mode voltage of the differential signal. The acquisition circuit 110 is coupled to a first input terminal VP and a second input terminal VN of the receiver 10. Figure 1 As shown in , the acquisition circuit 110 may also be coupled between the first voltage-dividing resistor 201 and the second voltage-dividing resistor 202 .
[0045] The input of the feedback control circuit 120 is coupled to the acquisition circuit 110 to receive the sensing voltage signal Vsense from the acquisition circuit. In addition, the feedback control circuit also receives a reference voltage threshold for comparison with the sensing voltage signal Vsense. Figure 1 As shown, the output of the feedback control circuit is coupled to the first input terminal VP and the second input terminal VN of the receiver 10. The feedback control circuit 120 is configured to control the voltages at the first input terminal VP and the second input terminal VN based on the sense voltage signal and the reference voltage threshold, thereby clamping the sense voltage signal Vsense to the reference voltage threshold.
[0046] Figure 2 A simplified block diagram of another example of module 100 is shown in FIG. Figure 1 The only difference between the two is the feedback control circuit. The feedback control circuit may include a first feedback control circuit 121, a second feedback control circuit 122. The first and second feedback control circuits 121, 122 may be configured to have Figure 1 The structure and function of the feedback control circuit shown in . The reference voltage threshold may include a first reference voltage and a second reference voltage. The first feedback control circuit 121 may receive the sense voltage signal Vsense and the first reference voltage and compare the sense voltage signal with the first reference voltage. When the value of the sense voltage signal is lower than the first reference voltage, the first feedback control circuit 121 controls the voltages at the first input terminal VP and the second input terminal VN to clamp the sense voltage signal Vsense to the first reference voltage. In some embodiments, the value of the first reference voltage is less than the reference common-mode voltage Vref_cm within the transceiver.
[0047] Similarly, the second feedback control circuit 122 can receive the sense voltage signal Vsense and a second reference voltage and compare the sense voltage signal with the second reference voltage. When the sense voltage signal is higher than the second reference voltage, the second feedback control circuit 122 controls the voltages at the first input terminal VP and the second input terminal VN to clamp the sense voltage signal Vsense to the second reference voltage. In some embodiments, the second reference voltage is greater than the reference common-mode voltage Vref_cm within the transceiver.
[0048] Figure 3 An example implementation of the module 100 is schematically shown. In such an embodiment, the acquisition circuit includes a set of resistors, including a first resistor 111 and a second resistor 112. The first end of the first resistor 111 is coupled to the first input terminal VP, and the second end is coupled to the second end of the second resistor 112. The first end of the second resistor 112 is coupled to the second input terminal VN. The second end of the first resistor 111 and the second end of the second resistor 112 are coupled to an acquisition node SN2. The common mode voltage of the differential signal between the first input terminal VP and the second output terminal VN is acquired at the acquisition node SN2 and a sense voltage signal Vsense is output. In some embodiments, the resistance values of the first resistor 111 and the second resistor 112 are set to be equal. Figure 3 In the acquisition circuit 110 configured in this way, since the acquisition node SN2 is only divided by R3 from VP and VN, the sensed voltage signal Vsense can accurately reflect the common mode voltage between VP and VN.
[0049] In a preferred embodiment, the resistance value R3 of the first resistor 111 and the second resistor 112 is set to be greater than the resistance value R1. In a preferred embodiment, the resistance value R3 of the first resistor 111 and the second resistor 112 is set to be greater than the resistance value R2. In a more preferred embodiment, the resistance value R3 of the first resistor 111 and the second resistor 112 is set to be much greater than the resistance value R1. In a more preferred embodiment, the resistance value R3 of the first resistor 111 and the second resistor 112 is set to be much greater than the resistance value R2. For example, R3 is at least 10 times greater than R1. For example, R3 is at least 10 times greater than R2.
[0050] It is advantageous to appropriately select the resistor value R3. Preferably, R3 is selected to be greater than R1 and R2. This allows the acquisition circuit 110 to acquire the common-mode voltage of the differential signal while attenuating the differential-mode voltage of the differential signal to generate the sense voltage signal Vsense. Preferably, R3 is selected to be much greater than R1 and R2. In this case, Vsense essentially only acquires the common-mode voltage between VP and VN, and almost no differential-mode voltage is acquired. This is explained in detail below with reference to the relationship. Assuming that module 100 is not provided between the receiver 10 and the resistor array 20, the differential-mode voltage between VP and VN is:
[0051]
[0052] In the above relation (1), V VP 、V VN Respectively represent the voltage at the first input terminal VP and the second input terminal VN; V CANH 、V CANL Represent the voltages at the first signal line and the second signal line CANH, CANL respectively.
[0053] When a resistor array 20 is provided between the receiver 10 and the resistor array 20, Figure 3 When the module is 100, the differential mode voltage between VP and VN is:
[0054]
[0055] It can be seen from the above relationship (2) that when the module 100 is configured, the differential mode voltage between VP and VN will be attenuated due to the voltage division by setting the resistance value R3 of the first and second resistors 111 and 112 .
[0056] Furthermore, from equations (1) and (2), it can be seen that when R3 is set to be significantly larger than R1 and R2, for example, when R3 is at least 10 times larger than R1 and R2, the effect of R3 on the differential-mode voltage between VP and VN can be negligible. In other words, by selecting an appropriate R3, module 100 can clamp only the common-mode voltage between VP and VN, while having little effect on the differential-mode voltage.
[0057] Figure 3 Schematically illustrating an exemplary embodiment of the feedback control circuit is shown in FIG. The feedback control circuit includes a first feedback control circuit 121. The first feedback control circuit 121 includes a first operational amplifier amp1 that receives a sense voltage signal Vsense and a first reference voltage Vref1 as inputs. Figure 2As shown in FIG, the first operational amplifier has a positive input terminal receiving a sense voltage signal Vsense and a negative input terminal receiving a first reference voltage Vref1. In some embodiments, the first reference voltage Vref1 may be provided by another module of the transceiver. Specifically, the first reference voltage Vref1 may be less than the reference common-mode voltage Vref_cm. The first operational amplifier amp1 is configured to output a first voltage signal when the sense voltage signal Vsense is less than the first reference voltage Vref1.
[0058] The first feedback control circuit 121 further includes a first MOS transistor P1 and a second MOS transistor P2. The control terminals of the first and second MOS transistors P1 and P2 are both coupled to the output terminal of the first operational amplifier amp1, and the first terminals are both coupled to the power supply voltage of the transceiver. The second terminal of the first MOS transistor P1 is coupled to the second input terminal VN of the receiver. The second terminal of the second MOS transistor P2 is coupled to the first input terminal VP of the receiver. Figure 2 As shown in FIG, the first operational amplifier has a positive input terminal coupled to a collection node SN2 to receive a sense voltage signal Vsense, and a negative input terminal to receive a first reference voltage Vref1. In some embodiments, the first reference voltage Vref1 may be provided by another module of the transceiver. Specifically, the first reference voltage Vref1 may be less than the reference common-mode voltage Vref_cm.
[0059] Alternatively or additionally, the feedback control circuit may include a second feedback control circuit 122. In a similar manner to that described above, the second feedback control circuit 122 includes a second operational amplifier amp2 that receives the sense voltage signal Vsense and a second reference voltage as inputs. Figure 2 As shown in FIG, the second operational amplifier amp2 has a positive input terminal coupled to the acquisition node SN2 to receive the sense voltage signal Vsense, and a negative input terminal receiving a second reference voltage Vref2. In some embodiments, the second reference voltage Vref2 may be provided by another module of the transceiver. Specifically, the second reference voltage Vref2 may be greater than the reference common-mode voltage Vref_cm. The second operational amplifier amp2 is configured to output a second voltage signal when the sense voltage signal Vsense is greater than the second reference voltage.
[0060] The second feedback control circuit 122 further includes a third MOS transistor N1 and a fourth MOS transistor N2. The control terminals of the third and fourth MOS transistors N1 and N2 are coupled to the output terminal of the second operational amplifier amp2. The first terminals of the third and fourth MOS transistors N1 and N2 are both coupled to a reference potential. The second terminal of the third MOS transistor N1 is coupled to the second input terminal VN of the receiver. The second terminal of the fourth MOS transistor N2 is coupled to the first input terminal VP of the receiver.
[0061] Combine Figure 3 To depict the operating principle of module 100. Module 100 may have a first feedback control circuit 121 and / or a second feedback control circuit 122. For the sake of clear illustration, the following description includes the operations in both cases, however, the present invention is not limited thereto. When the sensed voltage signal Vsense at the acquisition node SN2 is between the first reference voltage Vref1 and the second reference voltage Vref2, i.e., Vref1 < Vsense < Vref2, the first amplifier amp1 outputs a higher voltage, making the on-resistances of the first and second MOS transistors P1, P2 very large, so that there is no current flowing through this feedback control circuit to the first input terminals VP, VN. At this time, module 100 does not affect the operation of the receiver. In other words, there is no feedback control on the common-mode voltage of VP and VN in this case.
[0062] When Vsense < Vref1, this situation may be caused by a very low common-mode voltage of the bus. The first amplifier amp1 outputs a first voltage signal. This first voltage signal may have a low voltage value. The first voltage signal reduces the on-resistances of the first and second MOS transistors P1, P2. At this time, the first amplifier amp1 and the first and second MOS transistors P1, P2 form a negative feedback control loop. The first and second MOS transistors P1, P2 pull up the voltages of VP and VN, and Vsense also rises until Vsense is clamped to Vref1.
[0063] In a similar manner, when Vsense > Vref2, this situation may be caused by a very high common-mode voltage of the bus. The second amplifier amp2 outputs a second voltage signal. This second voltage signal may have a high voltage value. The second voltage signal reduces the on-resistances of the third and fourth MOS transistors N1, N2. At this time, the second amplifier amp2 and the third and fourth MOS transistors N1, N2 form a negative feedback control loop. The third and fourth MOS transistors N1, N2 pull down the voltages of VP and VN, and Vsense also drops until Vsense is clamped to Vref2.
[0064] Figure 4 Another exemplary embodiment of module 100 is schematically shown. Figure 4 The module in Figure 3 is similar to that in Figure 3The same part as module 100 in the feedback control circuit. The feedback control circuit includes an analog-to-digital converter configured to receive a sensing voltage signal Vsense and a current array configured to receive the output of the analog-to-digital converter. The analog-to-digital converter includes an n-bit ADC (Analog-to-Digital Converter). The current array includes an n-bit current source and an n-bit switch. The n-bit switch can be coupled to the first input terminal VP and the second input terminal VN of the receiver. The n-bit ADC can convert the collected sensing voltage signal Vsense into an n-bit digital value, which controls the opening and closing of the n-bit switch in the current array. In addition, the n-bit digital value also controls the current of the n-bit current source to control the voltage at the first input terminal VP and the second input terminal VN, so that the sensing voltage signal Vsense is clamped to the reference voltage threshold. Similar to Figure 3 In the embodiment, the reference voltage threshold may include a first reference voltage Vref1 and / or a second reference voltage Vref2, which will not be described in detail herein.
[0065] Figure 5 A further exemplary embodiment of the module 100 is schematically shown. Figure 3 The difference lies in the setting of the feedback control circuit. Figure 3 or Figure 4 The feedback control circuit may include a first feedback control circuit 121. The first feedback control circuit 121 may include a first set of switches S1 and S2. The first set of switches are coupled to the first input terminal VP and the second input terminal VN of the receiver 10, respectively. The first feedback control circuit 121 also includes a first set of current sources I1 and I2, respectively coupled to the first set of switches. In addition, the first feedback control circuit 121 also includes a first comparator comp1, which is configured to compare the sense voltage signal Vsense with a first reference voltage Vref1. When the sense voltage signal Vsense is less than the first reference voltage Vref1, the first comparator comp1 closes the first set of switches S1 and S2, and the first set of current sources I1 and I2 controls the voltages at the first input terminal VP and the second input terminal VN, clamping the sense voltage signal Vsense to the first reference voltage Vref1. The setting of the first reference voltage Vref1 is also described above.
[0066] Alternatively or additionally, the feedback control circuit may include a second feedback control circuit 122. The second feedback control circuit 122 may include a second set of switches S3 and S4. The second set of switches is coupled to the first input terminal VP and the second input terminal VN of the receiver 10, respectively. The second feedback control circuit 122 also includes a second set of current sources I3 and I4, respectively coupled to the second set of switches. The second feedback control circuit 122 further includes a second comparator comp2 configured to compare the sense voltage signal Vsense with a second reference voltage Vref2. When the sense voltage signal Vsense is greater than the second reference voltage Vref2, the second comparator comp2 closes the second set of switches S3 and S4, and the second set of current sources I3 and I4 control the voltages at the first input terminal VP and the second input terminal VN, thereby clamping the sense voltage signal Vsense to the second reference voltage Vref2. The setting of the second reference voltage Vref2 is also described above.
[0067] The present invention also proposes a method for clamping the common-mode voltage of a differential signal transceiver. As described above, the differential signal transceiver includes a receiver for receiving and processing a differential signal from a bus. The receiver includes a first input terminal VP coupled to a first signal line of the bus and a second input terminal VN coupled to a second signal line of the bus. The method according to the present invention includes collecting the common-mode voltage of the differential signal and attenuating the differential-mode voltage of the differential signal to generate a sense voltage signal Vsense. The method includes controlling the voltage at the first input terminal VP and the second input terminal VN based on the sense voltage signal and a reference voltage threshold, thereby clamping the sense voltage signal Vsense to the reference voltage threshold. The module 100 described above can be used to implement this method. Any other suitable circuit or module can also be used.
[0068] Figure 6 The clamping effect that can be achieved by the clamping module according to the present invention is schematically illustrated. Figure 6In the figure, (a) is a schematic diagram of the differential signal received on the two signal lines of the bus (for example, CANH and CANL of the CAN bus), in which the cases where the bus common mode voltage is too high and the bus common mode voltage is too low are marked. (b) is a signal received between the two input terminals VP and VN of the receiver when there is no clamping module, wherein the common mode voltage between VP and VN will present a situation similar to that of the bus common mode voltage being too high or the bus common mode voltage being too low, which may cause the receiver to not work properly, thereby affecting normal communication. (c) is a signal received between the two input terminals VP and VN of the receiver when there is a clamping module according to the present invention, wherein even in the case of the bus common mode voltage being too high or the bus common mode voltage being too low, the common mode voltage between VP and VN can be clamped between Vref1 and Vref2, ensuring that the receiver can work properly, thereby allowing normal communication. It can be seen that the clamping module according to the present invention can reduce the design difficulty of the receiver and allow the transceiver to receive and process bus signals with a larger common mode range.
[0069] The above description of the exemplary embodiments of the disclosed subject matter, including what is described in the Abstract, is not intended to be exhaustive or to limit the disclosed embodiments to the precise forms disclosed. Although specific embodiments and examples are described herein for illustrative purposes, various modifications are contemplated within the scope of such embodiments and examples, as those skilled in the relevant art will recognize.
[0070] In this regard, although the subject matter disclosed herein has been described in conjunction with various embodiments and corresponding drawings, it should be understood that other similar embodiments may be used or modifications and additions may be made to the described embodiments to perform the same, similar, alternative, or alternative functions of the disclosed subject matter without departing from the described embodiments. Accordingly, the disclosed subject matter should not be limited to any single embodiment described herein, but rather should be construed in accordance with the breadth and scope of the claims appended hereto.
[0071] In particular, with respect to the various functions performed by the aforementioned components (assemblies, devices, circuits, systems, etc.), unless otherwise indicated, terms used to describe such components (including references to "modules" or "devices") are intended to correspond to any component or structure that performs the specified functions of the component (e.g., functionally equivalent), even if not structurally equivalent to the disclosed structure that performs the functions in the exemplary embodiments of the present disclosure shown herein. In addition, although particular features have been disclosed with respect to only one of several embodiments, for any given or particular application, such features may be combined with one or more other features of other embodiments, which may be desirable and advantageous.
Claims
1. A module for clamping a common-mode voltage of a differential signal transceiver, the differential signal transceiver comprising a receiver for receiving and processing a differential signal from a bus, the receiver comprising a first input terminal (VP) coupled to a first signal line of the bus and a second input terminal (VN) coupled to a second signal line of the bus, the module comprising: an acquisition circuit configured to acquire a common-mode voltage of the differential signal and generate a sense voltage signal (Vsense) based on the common-mode voltage of the differential signal; a feedback control circuit, wherein an input of the feedback control circuit is coupled to the acquisition circuit to receive the sense voltage signal, the feedback control circuit receives a reference voltage threshold, and an output of the feedback control circuit is coupled to a first input terminal and a second input terminal of the receiver, respectively. The feedback control circuit is configured to control the voltages at the first input terminal (VP) and the second input terminal (VN) based on the sense voltage signal and the reference voltage threshold, so as to clamp the sense voltage signal (Vsense) to the reference voltage threshold; Wherein, the reference voltage threshold includes a first reference voltage (Vref1) and / or a second reference voltage (Vref2). When the sensing voltage signal is less than the first reference voltage, the feedback control circuit clamps the sensing voltage signal to the first reference voltage, and / or when the sensing voltage signal is greater than the second reference voltage, the feedback control circuit clamps the sensing voltage signal to the second reference voltage.
2. The module according to claim 1, characterized in that: The differential signal transceiver includes a CAN transceiver, the bus includes a CAN bus, the first signal line includes a first CAN signal line (CANH), and the second signal line includes a second CAN signal line (CANL).
3. The module according to claim 1 or 2, wherein: The acquisition circuit is configured to acquire a common-mode voltage of the differential signal and attenuate the differential-mode voltage of the differential signal to generate a sense voltage signal (Vsense).
4. The module according to claim 1 or 2, wherein: The transceiver includes a resistor array for coupling to the first signal line and the second signal line, the resistor array being coupled to a first input terminal (VP) and a second input terminal (VN); The acquisition circuit includes a group of resistors, including a first resistor and a second resistor. The first end of the first resistor is coupled to a first input terminal (VP), the second end of the first resistor and the second end of the second resistor are coupled to an acquisition node, the first end of the second resistor is coupled to a second input terminal (VN), and the common-mode voltage is acquired at the acquisition node and the sense voltage signal (Vsense) is output.
5. The module according to claim 4, wherein The resistor array comprises: a first voltage-dividing resistor, wherein a first end of the first voltage-dividing resistor is coupled to the first signal line, and a second end of the first voltage-dividing resistor and a first end of the second voltage-dividing resistor are coupled to the first input end (VP); The second end of the second voltage-dividing resistor is coupled to the first end of the third voltage-dividing resistor; The second end of the third voltage-dividing resistor and the first end of the fourth voltage-dividing resistor are coupled to the second input end (VN); The second end of the fourth voltage-dividing resistor is coupled to the second signal line; The resistance values of the first voltage-dividing resistor and the fourth voltage-dividing resistor are equal, and the resistance values of the second voltage-dividing resistor and the third voltage-dividing resistor are equal; The resistance value of the first resistor is equal to the resistance value of the second resistor, and the resistance values of the first resistor and the second resistor are greater than the resistance value of the first voltage dividing resistor, and the resistance values of the first resistor and the second resistor are greater than the resistance value of the second voltage dividing resistor.
6. The module according to claim 1 or 2, wherein: The feedback control circuit comprises: a first operational amplifier (amp1), the first operational amplifier receiving the sensing voltage signal and a first reference voltage as inputs, the first operational amplifier being configured to output a first voltage signal when the sensing voltage signal is less than the first reference voltage; a first MOS transistor and a second MOS transistor, wherein the control terminals of the first MOS transistor and the second MOS transistor are both coupled to the output terminal of the first operational amplifier, and the first terminals of the first MOS transistor and the second MOS transistor are both coupled to the power supply voltage; the second terminal of the first MOS transistor is coupled to the second input terminal of the receiver, and the second terminal of the second MOS transistor is coupled to the first input terminal of the receiver; and / or The feedback control circuit comprises: a second operational amplifier (amp2), the second operational amplifier receiving the sensing voltage signal and a second reference voltage as inputs, the second operational amplifier being configured to output a second voltage signal when the sensing voltage signal is greater than the second reference voltage; a third MOS transistor and a fourth MOS transistor, wherein the control ends of the third MOS transistor and the fourth MOS transistor are coupled to the output end of the second operational amplifier, and the first ends of the third MOS transistor and the fourth MOS transistor are both coupled to a reference potential; the second end of the third MOS transistor is coupled to the second input end of the receiver, and the second end of the fourth MOS transistor is coupled to the first input end of the receiver.
7. The module according to claim 1 or 2, wherein: The feedback control circuit includes an analog-to-digital converter and a current array; The analog-to-digital converter includes an n-bit ADC, and the current array includes an n-bit current source and an n-bit switch. The n-bit ADC converts the collected sense voltage signal into an n-bit digital value. The n-bit digital value controls the opening and closing of the n-bit switch in the current array and controls the current of the n-bit current source to control the voltage at the first input terminal (VP) and the second input terminal (VN), so that the sense voltage signal (Vsense) is clamped to the reference voltage threshold.
8. The module according to claim 1 or 2, wherein: The feedback control circuit comprises: a first set of switches coupled to the first input terminal and the second input terminal respectively; a first set of current sources respectively coupled to the first set of switches; a first comparator configured to compare the sense voltage signal with a first reference voltage, and when the sense voltage signal is less than the first reference voltage, the first comparator closes the first set of switches, and the first set of current sources controls the voltages at the first input terminal (VP) and the second input terminal (VN), thereby clamping the sense voltage signal (Vsense) to the first reference voltage; and / or The feedback control circuit comprises: a second set of switches coupled to the first input terminal and the second input terminal respectively, a second set of current sources respectively coupled to the second set of switches; a second comparator configured to compare the sense voltage signal with a second reference voltage; when the sense voltage signal is greater than the second reference voltage, the second comparator closes the second set of switches, and the second set of current sources controls the voltages at the first input terminal (VP) and the second input terminal (VN) so as to clamp the sense voltage signal (Vsense) to the second reference voltage.
9. A method for clamping a common-mode voltage of a differential signal transceiver, the differential signal transceiver comprising a receiver for receiving and processing a differential signal from a bus, the receiver comprising a first input terminal (VP) coupled to a first signal line of the bus and a second input terminal (VN) coupled to a second signal line of the bus, the method comprising: collecting a common-mode voltage of the differential signal and attenuating the differential-mode voltage of the differential signal to generate a sense voltage signal (Vsense); Based on the sensing voltage signal and a reference voltage threshold, controlling the voltages at the first input terminal (VP) and the second input terminal (VN) to clamp the sensing voltage signal (Vsense) to the reference voltage threshold; The reference voltage threshold includes a first reference voltage (Vref1) and / or a second reference voltage (Vref2). When the sensing voltage signal is less than the first reference voltage, the feedback control circuit clamps the sensing voltage signal to the first reference voltage. When the sensing voltage signal is greater than the second reference voltage, the feedback control circuit clamps the sensing voltage signal to the second reference voltage.
10. The method according to claim 9, wherein: The method is implemented using a module according to any one of claims 1 to 8.
11. The method according to claim 9, wherein The method is used to clamp the common mode voltage received by a CAN receiver.
Citation Information
Patent Citations
CAN transceiver receiving circuit
CN115348129A
Receiver circuit with input common mode voltage sensing
US11063561B1