A driving circuit for CAN transceiver
Through negative feedback drive loop and frequency compensation technology, the on-impedance of the output stage of the CAN transceiver is ensured to be consistent, which solves the problem of common mode level asymmetry in the hidden and visible transition of traditional CAN transceivers, and reduces electromagnetic interference and electromagnetic emissions. .
Patent Information
- Application Number
- CN202410460450.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-04-17
AI Technical Summary
During the hidden-to-display transition process of traditional CAN transceivers, the common-mode level is asymmetric due to the size mismatch between the output stage PMOS and NMOS, resulting in electromagnetic interference and electromagnetic emission.
A negative feedback drive loop is used to perform frequency compensation through the first and second stage negative feedback drive loops and capacitor Cc to ensure that the on-resistance of the output stage PMOS and NMOS is consistent and reduce common mode level changes.
It improves the stability of the common mode level at the CANH and CANL output terminals of the CAN transceiver, reduces the changes in the common mode level during the visible and hidden transitions, and reduces the electromagnetic interference to external electronic equipment.
Smart Images

Figure CN118226788B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of analog circuit design, and in particular to a driving circuit applied to a CAN transceiver. Background Art
[0002] like Figure 1 The figure shows a driving circuit diagram of a traditional CAN transceiver. A reference current Iref is generated by a reference current source circuit. The reference current is copied to PM1 using the NMOS current mirror of NM1 and NM2 to generate a driving voltage for the output stage PMOS PM2. The driving voltage for the output stage NMOS NM3 is generated by NM1. When switches S1 and S2 are closed and S3 and S4 are disconnected, the circuit is in a dominant state. The bias voltage generated by NM1 and PM1 causes the output stage PMOS PM2 and the output stage NMOS NM3 to generate current. The current forms a voltage difference CANH and CANL on the output load resistor and is output to the bus. When switches S1 and S2 are disconnected and S3 and S4 are closed, the circuit is in a recessive state. The sources of NM1 and PM1 are connected to GND and VCC, respectively. In a stable dominant state, when the accuracy of the NMOS current mirror of NM1 and NM2 is high enough, CANH and CANL can still maintain good symmetry. However, in the process of jumping from recessive to dominant, due to the output stage PMOS PM2 and the output stage NMOS The size of NM3 is usually much larger than that of NM1 and PM1 that generate the bias voltage, which will result in that when switches S1 and S2 are closed, Figure 2 In (a), the voltages of VNbias and VPbias will change. Due to the introduction of larger capacitors at VNbias and VPbias, the voltage of VNbias decreases and the voltage of VPbias increases. At this time, the charging current to the VNias node is still Iref, but the charging current to VPbias will be less than Iref. This causes the on-resistance of the output stage PMOS PM2 to be greater than the on-resistance of the output stage NMOS NM3 during the transition from recessive to dominant, resulting in asymmetric waveforms of CANH and CANL, as shown in Figure 1. Figure 2 As shown in (b) in the figure, the CAN transceiver will cause greater electromagnetic interference to other external electronic components. Summary of the invention
[0003] In view of the problems existing in the prior art, the present invention provides a driving circuit applied to a CAN transceiver, which improves the stability of the common mode level of the CANH output terminal and the CANL output terminal of the CAN transceiver, reduces the change of the common mode level during the visible and invisible transition process, and improves the electromagnetic interference (EMI) and electromagnetic emissions (EME) characteristics of the CAN transceiver.
[0004] To achieve the above technical objectives, the present invention adopts the following technical solutions: a driving circuit applied to a CAN transceiver, comprising: a bias circuit, a negative feedback driving loop and an output stage module, wherein the bias circuit provides a bias current for the negative feedback driving loop, and the negative feedback driving loop generates a bias voltage through loop control so that the output current of the output stage module is close to the output driving voltage, and the output stage module is used to generate a current flowing to the CAN transceiver to improve the stability of the common mode voltage of the CAN transceiver.
[0005] Further, the bias circuit includes: a reference current source Iref, a fifth PMOS tube PM5, a sixth PMOS tube PM6, a seventh PMOS tube PM7, an eighth MOS tube PM8, a ninth PMOS tube PM9, a tenth PMOS tube PM10, a sixth NMOS tube NM6, a seventh NMOS tube NM7 and an eighth NMOS tube NM8, the source of the sixth PMOS tube PM6, the source of the eighth PMOS tube PM8 and the source of the tenth PMOS tube PM10 are all connected to the power supply VCC, the gate of the sixth PMOS tube PM6 is respectively connected to the gate of the eighth PMOS tube PM8, the gate of the tenth PMOS tube PM10, the drain of the tenth PMOS tube PM10 and the source of the ninth PMOS tube PM9, the drain of the sixth PMOS tube PM6 is connected to the source of the fifth PMOS tube PM5, the drain of the eighth PMOS tube PM8 is connected to the seventh PMOS tube PM8, and the drain of the eighth PMOS tube PM8 is connected to the seventh PMOS tube PM9. The gate of the ninth PMOS tube PM9, the drain of the ninth PMOS tube PM9, the input end of the reference current source Iref, the gate of the seventh PMOS tube PM7, and the gate of the fifth PMOS tube PM5 are all connected to the negative feedback drive loop; the drain of the fifth PMOS tube PM5 is respectively connected to the drain of the sixth NMOS tube NM6, the gate of the sixth NMOS tube NM6, and the negative feedback drive loop; the drain of the seventh PMOS tube PM7 is respectively connected to the drain of the eighth NMOS tube NM8, the gate of the eighth NMOS tube NM8, and the negative feedback drive loop; the source of the eighth NMOS tube NM8 is respectively connected to the drain of the seventh NMOS tube NM7, the gate of the seventh NMOS tube NM7, and the negative feedback drive loop; the source of the seventh NMOS tube NM7, the source of the sixth NMOS tube NM6, and the output end of the reference current source Iref are all grounded.
[0006] Furthermore, the negative feedback drive loop includes: a first-level negative feedback drive loop, a second-level negative feedback drive loop and a capacitor Cc, the first-level negative feedback drive loop is used to adjust the voltage difference between the input end of the first-level negative feedback drive loop and the output end of the second-level negative feedback drive loop, the second-level negative feedback drive loop is used to increase the gain of the negative feedback drive loop and improve the clamping ability of the negative feedback drive loop, and the capacitor Cc is located between the first-level negative feedback drive loop, the second-level negative feedback drive loop and the capacitor Cc to perform Miller compensation.
[0007] Further, the first-stage negative feedback drive loop includes: an input-stage differential tube pair consisting of a first NMOS tube NM1 and a second NMOS tube NM2, a fifth NMOS tube NM5 providing a bias current to the input-stage differential tube pair, and an input-stage differential tube pair load consisting of a first PMOS tube PM1 and a second PMOS tube PM2, the gate of the fifth NMOS tube NM5 is connected to the gate of the sixth NMOS tube NM6, the source of the fifth NMOS tube NM5 is grounded, the drain of the fifth NMOS tube NM5 is respectively connected to the source of the first NMOS tube NM1 and the source of the second NMOS tube NM2, the gate of the first NMOS tube NM1 is connected to the input level V for maintaining the operation of the drive circuit IN The drain of the first NMOS tube NM1 is respectively connected to the drain of the first PMOS tube PM1, the gate of the first PMOS tube PM1, the gate of the second PMOS tube PM2, one end of the capacitor Cc, the input end of the second-stage negative feedback drive loop, and the output stage module; the source of the first PMOS tube PM1 and the source of the second PMOS tube PM2 are both connected to the power supply VCC; the drain of the second PMOS tube PM2 is connected to the drain of the second NMOS tube NM2; and the gate of the second NMOS tube NM2 is respectively connected to the other end of the capacitor Cc and the second-stage negative feedback drive loop.
[0008] Further, the second-stage negative feedback drive loop includes: a third PMOS tube PM3, a first Cascode tube PM4, a second Cascode tube NM4 providing a bias voltage through an eighth NMOS tube NM8, and a third NMOS tube NM3 providing a bias voltage through a seventh NMOS tube. The third PMOS tube PM3 serves as an input stage of the second-stage negative feedback drive loop, a source of the third PMOS tube PM3 is connected to a power supply VCC, a gate of the third PMOS tube PM3 is respectively connected to a gate of the second PMOS tube PM2 and an output stage module, and a drain of the third PMOS tube PM3 is connected to a source of the first Cascode tube PM4. The gate of the first Cascode tube PM4 is connected to the gate of the fifth PMOS tube PM5, the drain of the first Cascode tube PM4 is respectively connected to the other end of the capacitor Cc, the gate of the second NMOS tube NM2, and the drain of the second Cascode tube NM4, the gate of the second Cascode tube NM4 is connected to the gate of the eighth NMOS tube NM8, the source of the second Cascode tube NM4 is connected to the drain of the third NMOS tube NM3, the gate of the third NMOS tube NM3 is respectively connected to the gate of the seventh NMOS tube NM7 and the output stage module, and the source of the third NMOS tube NM3 is grounded.
[0009] Further, the bias circuit includes: a reference current source Iref, a sixth NMOS tube NM6, a seventh NMOS tube NM7, an eighth NMOS tube NM8, a ninth NMOS tube NM9, a tenth NMOS tube NM10, a thirteenth NMOS tube NM13, a sixth PMOS tube PM6, a seventh PMOS tube PM7, an eighth PMOS tube PM8 and a reference current source Iref, the input end of the reference current source Iref, the source of the eighth PMOS tube PM8, and the source of the sixth PMOS tube PM6 are all connected to the power supply VCC, the gate of the sixth PMOS tube PM6 is respectively connected to the drain of the sixth PMOS tube PM6, the drain of the thirteenth NMOS tube NM13, and the negative feedback drive loop, the gate of the eighth PMOS tube PM8 is respectively connected to the drain of the eighth PMOS tube PM8, the source of the seventh PMOS tube PM7, and the negative feedback drive loop, and the gate of the seventh PMOS tube PM7 is The gate of the eighth NMOS tube NM8 is respectively connected to the gate of the ninth NMOS tube NM9, the drain of the ninth NMOS tube NM9, the output end of the reference current source Iref, the gate of the thirteenth NMOS tube NM13, and the negative feedback driving loop; the source of the eighth NMOS tube NM8 is connected to the drain of the seventh NMOS tube NM7; the source of the ninth NMOS tube NM9 is respectively connected to the drain of the tenth NMOS tube NM10, the gate of the tenth NMOS tube NM10, the gate of the seventh NMOS tube NM7, and the gate of the sixth NMOS tube NM6; the source of the thirteenth NMOS tube NM13 is connected to the drain of the sixth NMOS tube NM6; the source of the sixth NMOS tube NM6, the source of the seventh NMOS tube NM7, and the source of the tenth NMOS tube NM10 are all grounded.
[0010] Furthermore, the negative feedback drive loop is composed of a first-level negative feedback drive loop, a second-level negative feedback drive loop and a capacitor Cc. The first-level negative feedback drive loop is composed of a first-level negative feedback drive loop, the first-level negative feedback drive loop is used to adjust the voltage difference between the input end of the first-level negative feedback drive loop and the output end of the second-level negative feedback drive loop, the second-level negative feedback drive loop is used to increase the gain of the negative feedback drive loop and improve the clamping ability of the negative feedback drive loop, and the capacitor Cc is located between the first-level negative feedback drive loop, the second-level negative feedback drive loop and the capacitor Cc to perform Miller compensation.
[0011] Further, the first-stage negative feedback drive loop includes: an input-stage differential tube pair consisting of an eleventh PMOS tube PM11 and a twelfth PMOS tube PM12, a thirteenth PMOS tube PM13 providing a bias current to the input-stage differential tube pair, and an input-stage differential tube pair load consisting of an eleventh NMOS tube NM11 and a twelfth NMOS tube NM12, the source of the thirteenth PMOS tube PM13 is connected to the power supply VCC, the gate of the thirteenth PMOS tube PM13 is connected to the gate of the sixth PMOS tube PM6, the drain of the thirteenth PMOS tube PM13 is respectively connected to the source of the eleventh PMOS tube PM11 and the source of the twelfth PMOS tube PM12, and the gate of the eleventh PMOS tube PM11 is connected to the input level V IN The drain of the eleventh PMOS tube PM11 is respectively connected to the drain of the eleventh NMOS tube NM11, the gate of the eleventh NMOS tube NM11, the gate of the twelfth NMOS tube NM12, one end of the capacitor Cc, and the input end of the second-stage negative feedback drive loop; the gate of the twelfth PMOS tube PM12 is respectively connected to the other end of the capacitor Cc and the second-stage negative feedback drive loop; the drain of the twelfth PMOS tube PM12 is connected to the drain of the twelfth NMOS tube NM12; the source of the eleventh NMOS tube NM11 and the source of the twelfth NMOS tube NM12 are both grounded.
[0012] Further, the second-stage negative feedback drive loop includes: a third NMOS tube NM3, a second Cascode tube NM4, a first Cascode tube PM4 provided with a bias voltage through a seventh PMOS tube PM7, and a third PMOS tube PM3 provided with a bias voltage through an eighth PMOS tube PM8, the third NMOS tube NM3 serves as an input stage of the second-stage negative feedback drive loop, the gate of the third NMOS tube NM3 is respectively connected to the gate of the twelfth NMOS tube NM12 and the output stage module, the source of the third NMOS tube NM3 is grounded, the drain of the third NMOS tube NM3 is connected to the source of the second Cascode tube NM4, and the The gate of the second Cascode tube NM4 is connected to the gate of the thirteenth NMOS tube NM13, the drain of the second Cascode tube NM4 is respectively connected to the drain of the first Cascode tube PM4, one end of the capacitor Cc, and the gate of the twelfth PMOS tube PM12, the gate of the first Cascode tube PM4 is connected to the gate of the seventh PMOS tube PM7, the source of the first Cascode tube PM4 is connected to the drain of the third PMOS tube PM3, the gate of the third PMOS tube PM3 is respectively connected to the gate of the eighth PMOS tube PM8 and the output stage module, and the source of the third PMOS tube PM3 is connected to the power supply VCC.
[0013] Further, the output stage module includes: a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, an output stage PMOS tube PPM1, an output stage NMOS tube PNM1, a first diode D1, a second diode D2 and an external load RL, one end of the third switch S3 and the source of the output stage PMOS tube PPM1 are both connected to the power supply VCC, the other end of the third switch S3 is respectively connected to one end of the first switch S1 and the gate of the output stage PMOS tube PPM1, the other end of the first switch S1 is connected to the gate of the third PMOS tube PM3, the drain of the output stage PMOS tube PPM1 is connected to the anode of the first diode D1, and the cathode of the first diode D1 is connected to one end of the external load RL, The other end of the external load RL is connected to the anode of the second diode D2, the cathode of the second diode D2 is connected to the drain of the output-stage NMOS tube PNM1, the gate of the output-stage NMOS tube PNM1 is respectively connected to one end of the second switch S2 and one end of the fourth switch S4, the other end of the second switch S2 is connected to the gate of the third NMOS tube NM3, the other end of the fourth switch S4 and the source of the output-stage NMOS tube PNM1 are both grounded; the one side of the external load RL connected to the first diode D1 serves as the CANH output end of the CAN transceiver, the one side of the external load RL connected to the second diode D2 serves as the CANL output end of the CAN transceiver, and the CANH output end and the CANL output end output a common mode level.
[0014] Compared with the prior art, the present invention has the following beneficial effects: the first-stage negative feedback drive loop of the negative feedback drive loop in the drive circuit of the CAN transceiver is used to adjust the voltage difference between the input end of the first-stage negative feedback drive loop and the output end of the second-stage negative feedback drive loop; the second-stage negative feedback drive loop adopts a Cascode structure to improve the gain of the negative feedback drive loop and improve the clamping ability of the negative feedback drive loop; the capacitor Cc is located between the first-stage negative feedback drive loop, the second-stage negative feedback drive loop and the capacitor Cc, and frequency compensation is performed to make the bias current of the output stage module bias voltage generated by the negative feedback drive loop consistent to ensure that the on-impedance of the output stage PMOS tube PPM1 and the output stage NMOS tube PNM1 are as consistent as possible, thereby improving the stability of the common mode level of the CANH output end and the CANL output end of the CAN transceiver, reducing the change of the common mode level during the visible and invisible jump process, thereby reducing the interference of the CAN transceiver to external electronic equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is the driving circuit diagram of the traditional CAN transceiver;
[0016] Figure 2The diagram is a schematic diagram of the fluctuation of the common mode voltage of the CAN transceiver during the transition process of the traditional CAN transceiver driving circuit. Figure 2 (a) in the figure shows the schematic diagram of the bias voltage change generated by the negative feedback drive loop during the transition process. Figure 2 (b) is the voltage change diagram of the CANH output terminal and the CANL output terminal of the CAN transceiver during the transition process;
[0017] Figure 3 A schematic diagram of a driving circuit applied to a CAN transceiver in the present invention;
[0018] Figure 4 for Figure 3 Small signal schematic diagram of the driving circuit;
[0019] Figure 5 It is a schematic diagram of another driving circuit applied to a CAN transceiver in the present invention;
[0020] Figure 6 The present invention is a schematic diagram of optimizing the symmetry of the common mode voltage of a CAN transceiver by using a driving circuit of the CAN transceiver. DETAILED DESCRIPTION
[0021] The technical solution of the present invention is further explained below in conjunction with the accompanying drawings.
[0022] The present invention provides a driving circuit applied to a CAN transceiver, comprising: a bias circuit, a negative feedback driving loop and an output stage module, wherein the bias circuit provides a bias current for the negative feedback driving loop, and the negative feedback driving loop generates a bias voltage through loop control so that the output current of the output stage module is close to the output driving voltage, thereby ensuring that the on-impedance of the output stage PMOS tube PPM1 and the output stage NMOS tube PNM1 are as consistent as possible, improving the stability of the common mode level of the CANH output terminal and the CANL output terminal of the CAN transceiver, and reducing the change of the common mode level in the process of showing and hiding jumps, and the output stage module is used for generating a current flowing to the CAN transceiver, improving the stability of the common mode voltage of the CAN transceiver, and thus reducing the interference of the CAN transceiver to external electronic equipment.
[0023] In a technical solution of the present invention, if the common mode level of the CANH output terminal and the CANL output terminal of the CAN transceiver is high, it is necessary to reduce the common mode level of the CANH output terminal and the CANL output terminal of the CAN transceiver during the transition process, such as Figure 3The bias circuit includes: a reference current source Iref, a fifth PMOS tube PM5, a sixth PMOS tube PM6, a seventh PMOS tube PM7, an eighth MOS tube PM8, a ninth PMOS tube PM9, a tenth PMOS tube PM10, a sixth NMOS tube NM6, a seventh NMOS tube NM7 and an eighth NMOS tube NM8, the source of the sixth PMOS tube PM6, the source of the eighth PMOS tube PM8 and the source of the tenth PMOS tube PM10 are all connected to the power supply VCC, the gate of the sixth PMOS tube PM6 is respectively connected to the gate of the eighth PMOS tube PM8, the gate of the tenth PMOS tube PM10, the drain of the tenth PMOS tube PM10 and the source of the ninth PMOS tube PM9, the drain of the sixth PMOS tube PM6 is connected to the source of the fifth PMOS tube PM5, the drain of the eighth PMOS tube PM8 is connected to the seventh PMOS tube PM8, and the drain of the eighth PMOS tube PM8 is connected to the seventh PMOS tube PM9. The gate of the ninth PMOS tube PM9, the drain of the ninth PMOS tube PM9, the input end of the reference current source Iref, the gate of the seventh PMOS tube PM7, and the gate of the fifth PMOS tube PM5 are all connected to the negative feedback drive loop, the drain of the fifth PMOS tube PM5 is respectively connected to the drain of the sixth NMOS tube NM6, the gate of the sixth NMOS tube NM6, and the negative feedback drive loop, the drain of the seventh PMOS tube PM7 is respectively connected to the drain of the eighth NMOS tube NM8, the gate of the eighth NMOS tube NM8, and the negative feedback drive loop, the source of the eighth NMOS tube NM8 is respectively connected to the drain of the seventh NMOS tube NM7, the gate of the seventh NMOS tube NM7, and the negative feedback drive loop, and the source of the seventh NMOS tube NM7, the source of the sixth NMOS tube NM6, and the output end of the reference current source Iref are all grounded. In the bias circuit of the scheme, the ninth PMOS tube PM9 and the tenth PMOS tube PM10 convert the current of the reference current source Iref into a bias voltage and provide it to the fifth PMOS tube PM5, the seventh PMOS tube PM7, the sixth PMOS tube PM6, and the eighth PMOS tube PM8 respectively, so as to provide bias current to the seventh NMOS tube NM7, the eighth NMOS tube NM8 branch and the sixth NMOS tube NM6 branch. The sixth NMOS tube NM6 is used to provide a bias voltage to the fifth NMOS tube NM5 in the first-stage negative feedback drive loop. The seventh NMOS tube NM7 and the eighth NMOS tube NM8 are used to provide a bias voltage to the third NMOS tube NM3 and the second Cascode tube NM4 in the second-stage negative feedback drive loop. The bias voltage is biased by using a Cascode current mirror, and the PVT characteristics are good.
[0024] The negative feedback drive loop includes: a first-level negative feedback drive loop, a second-level negative feedback drive loop and a capacitor Cc. The first-level negative feedback drive loop is used to adjust the voltage difference between the input end of the first-level negative feedback drive loop and the output end of the second-level negative feedback drive loop. The second-level negative feedback drive loop is used to increase the gain of the negative feedback drive loop and improve the clamping ability of the negative feedback drive loop. The capacitor Cc is located between the first-level negative feedback drive loop, the second-level negative feedback drive loop and the capacitor Cc to perform frequency compensation. The negative feedback drive loop approaches the DC characteristic when processing a lower frequency signal, improves the loop gain, and makes the bias current of the output stage module bias voltage generated by the negative feedback drive loop consistent to ensure that the on-impedance of the output stage PMOS tube PPM1 and the output stage NMOS tube PNM1 is as consistent as possible, thereby reducing the interference of the CAN transceiver to external electronic equipment.
[0025] In the scheme, the first-stage negative feedback driving loop includes: an input-stage differential tube pair consisting of a first NMOS tube NM1 and a second NMOS tube NM2, a fifth NMOS tube NM5 providing a bias current to the input-stage differential tube pair, and an input-stage differential tube pair load consisting of a first PMOS tube PM1 and a second PMOS tube PM2. The gate of the fifth NMOS tube NM5 is connected to the gate of the sixth NMOS tube NM6, the drain of the sixth NMOS tube NM6, and the drain of the fifth PMOS tube PM5. The source of the fifth NMOS tube NM5 is grounded. The drain of the fifth NMOS tube NM5 is respectively connected to the source of the first NMOS tube NM1 and the source of the second NMOS tube NM2. The gate of the first NMOS tube NM1 is connected to the input level V that maintains the operation of the driving circuit. IN The first NMOS tube NM1 is connected to the drain of the first PMOS tube PM1, the gate of the first PMOS tube PM1, the gate of the second PMOS tube PM2, one end of the capacitor Cc, the input end of the second negative feedback drive loop, and the output stage module. The source of the first PMOS tube PM1 and the source of the second PMOS tube PM2 are both connected to the power supply VCC. The drain of the second PMOS tube PM2 is connected to the drain of the second NMOS tube NM2. The gate of the second NMOS tube NM2 is respectively connected to the other end of the capacitor Cc and the second negative feedback drive loop. Since the gate voltage difference of the first NMOS tube NM1 and the gate voltage difference of the second NMOS tube NM2 are the same, the current on the first PMOS tube PM1 and the current on the second PMOS tube PM2 are the same under the action of the first negative feedback drive loop, so that the input stage differential tube pair composed of the first NMOS tube NM1 and the second NMOS tube NM2 have the same transmission current capacity, and the gate terminal voltage difference of the input stage differential tube pair is reduced.
[0026] In the scheme, the second-stage negative feedback driving loop includes: a third PMOS tube PM3, a first Cascode tube PM4, a second Cascode tube NM4 provided with a bias voltage through an eighth NMOS tube NM8, and a third NMOS tube NM3 provided with a bias voltage through a seventh NMOS tube. The third PMOS tube PM3 serves as the input stage of the second-stage negative feedback driving loop. The source of the third PMOS tube PM3 is connected to the power supply VCC. The gate of the third PMOS tube PM3 is respectively connected to one end of the capacitor Cc, the gate of the second PMOS tube PM2, the gate of the first PMOS tube PM1, the drain of the first PMOS tube PM1, the drain of the first NMOS tube NM1, and the output stage module. The drain of the third PMOS tube PM3 is connected to the source of the first Cascode tube PM4, and the gate of the first Cascode tube PM4 is respectively connected to the fifth PMOS tube PM5. The first Cascode tube PM4 is connected to the gate of the seventh PMOS tube PM7, the gate of the ninth PMOS tube PM9, the drain of the ninth PMOS tube PM9, and the input end of the reference current source Iref, the drain of the first Cascode tube PM4 is respectively connected to the other end of the capacitor Cc, the gate of the second NMOS tube NM2, and the drain of the second Cascode tube NM4, the gate of the second Cascode tube NM4 is respectively connected to the gate of the eighth NMOS tube NM8, the drain of the eighth NMOS tube NM8, and the drain of the seventh PMOS tube PM7, the source of the second Cascode tube NM4 is connected to the drain of the third NMOS tube NM3, the gate of the third NMOS tube NM3 is respectively connected to the gate of the seventh NMOS tube NM7, the drain of the seventh NMOS tube NM7, the source of the eighth NMOS tube NM8, and the output stage module, and the source of the third NMOS tube NM3 is grounded. In this solution, the third PMOS tube PM3, the first Cascode tube PM4, the second Cascode tube NM4, and the third NMOS tube NM3 form a Cascode structure, which improves the output impedance at the gate node of the second NMOS tube NM2 in the first-stage negative feedback drive loop, thereby improving the loop gain. The loop gain reflects the clamping ability of the loop. The higher the loop gain, the closer the gate voltages of the first NMOS tube NM1 and the second NMOS tube NM2 are, the closer the channel currents of the first PMOS tube PM1 and the second PMOS tube PM2 are, and the more the on-resistance of the output stage PMOS tube PPM1 and the output stage NMOS tube PNM1 can meet the expected design.
[0027] like Figure 4 This is the small signal circuit diagram of the negative feedback drive loop in this scheme. According to the KCL law, the equation group corresponding to the small signal circuit can be obtained as follows:
[0028] -g mn12 v1+g dsn12 (v2-v1)+gdsn12 (v3-v1)+g m12 (v in -v1)=0
[0029] g mp12 v2+v s *sC p +g mn12 (0-v1)+(v2-v1)g dsn12 +(v2-v out )*s*C c =0
[0030] g m12 (v in -v1)+g mp12 v2+g dsp12 v3+g dsn12 (v3-v1)=0
[0031] g mp3 v2+g dsp3 v4+g mp4 v4+(v4-vo ut) g dsp4 =0
[0032] -g mp4 v4+(v out -v4)g dsp4 +g dsn4 g dsn3 v out / g mn4 =0
[0033] Among them, g mn12 represents the transconductance of the first NMOS tube NM1 and the second NMOS tube NM2, g dsn12 represents the output transconductance of the first NMOS tube NM1 and the second NMOS tube NM2, g mp12 represents the transconductance of the first PMOS tube PM1 and the second PMOS tube PM2, g dsp12 represents the output transconductance of the first PMOS tube PM1 and the second PMOS tube PM2, g mp3 represents the transconductance of the third PMOS tube PM3, g dsp3 represents the output transconductance of the third PMOS tube PM3, g mp4 represents the transconductance of the first cascode tube PM4, g dsp4 represents the output transconductance of the first cascode tube PM4, g dsn3 represents the output transconductance of the third NMOS tube NM3, g mn4 represents the transconductance of the second cascode tube NM4; v1~v4, v out Both said Figure 4The voltage at the corresponding node, v in Represents the small signal voltage of the input; C p represents the total parasitic capacitance of the first PMOS transistor PM1, the second PMOS transistor PM2, and the third PMOS transistor PM3, Cc represents the compensation capacitance across the gate and drain of the third PMOS transistor PM3, and s represents a complex variable.
[0034] Since MOS tubes are all long channel devices, the gm>>gds of the MOS tube, that is, gm / gds>>1, the intrinsic gain of the MOS tube is much greater than 1, and the loop gain A can be obtained. v The expression is:
[0035]
[0036] The main pole of the negative feedback drive loop is f d The frequency is:
[0037]
[0038] The secondary main pole f of the negative feedback drive loop nd The frequency is:
[0039]
[0040] Among them, / / represents the result of connecting two resistors in parallel.
[0041] The product of the main pole frequency and the loop gain represents the gain-bandwidth product, which reflects the highest signal frequency that the loop can handle in a closed-loop situation. The larger the gain-bandwidth product, the faster the loop can return to a stable state in the shortest time after fluctuations. The frequencies of the main pole and the secondary main pole are mainly determined by relative values. The greater the difference between the two, the more stable the loop is. The compensation capacitor Cc is Miller compensation, and its function is to separate the main pole and the secondary main pole, move the main pole to low frequency, and move the secondary main pole to high frequency, thereby ensuring the stability of the negative feedback drive loop to avoid oscillation.
[0042] The output stage module includes: a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, an output stage PMOS tube PPM1, an output stage NMOS tube PNM1, a first diode D1, a second diode D2 and an external load RL, one end of the third switch S3 and the source of the output stage PMOS tube PPM1 are both connected to the power supply VCC, the other end of the third switch S3 is respectively connected to one end of the first switch S1 and the gate of the output stage PMOS tube PPM1, the other end of the first switch S1 is connected to the gate of the third PMOS tube PM3, the drain of the output stage PMOS tube PPM1 is connected to the anode of the first diode D1, and the cathode of the first diode D1 is connected to one end of the external load RL. The other end of the external load RL is connected to the anode of the second diode D2, the cathode of the second diode D2 is connected to the drain of the output-stage NMOS tube PNM1, the gate of the output-stage NMOS tube PNM1 is respectively connected to one end of the second switch S2 and one end of the fourth switch S4, the other end of the second switch S2 is connected to the gate of the third NMOS tube NM3, the other end of the fourth switch S4 and the source of the output-stage NMOS tube PNM1 are both grounded; the side of the external load RL connected to the first diode D1 serves as the CANH output end of the CAN transceiver, the side of the external load RL connected to the second diode D2 serves as the CANL output end of the CAN transceiver, and the CANH output end and the CANL output end output a common mode level.
[0043] When the CAN transceiver jumps from the recessive state to the dominant state, the first switch S1 and the second switch S2 change from open to closed, the third switch S3 and the fourth switch S4 change from closed to open, the output stage PMOS tube PPM1 and the output stage NMOS tube PNM1 are connected to the Pbias node and the Nbias node respectively. Since the capacitance at the Pbias node and the Nbias node has a sudden change, the Pbias potential rises and the Nbias potential drops, so that the on-resistance of the third PMOS tube PM3 and the third NMOS tube NM3 is synchronously increased, so the gate end of the second NMOS tube NM2 will not change significantly, thereby ensuring that the current flowing to the gate end of the first PMOS tube PM1 remains approximately unchanged. When the Pbias node When the capacitance of the point is the same as the capacitance of the Nbias node, the potentials of Nbias and Pbias can be changed at the same predictable speed under the same potential conditions, thereby facilitating the control of the conduction speed of the output stage PMOS tube PPM1 and the output stage MOS tube PNM1, improving the symmetry of the potential on the bus during the implicit-visible jump, and using a negative feedback loop can keep the branch currents of the first NMOS tube NM1 and the second NMOS tube NM2 the same under DC conditions. At the same time, the first NMOS tube NM1 and the second NMOS tube NM2 play the role of Cascode for the fifth NMOS tube NM5, avoiding the current on the fifth NMOS tube NM5 from changing significantly with the change of the drain-source voltage of the fifth NMOS tube NM5. The process of optimizing the common-mode voltage symmetry of the CAN transceiver by the driving circuit of the present invention applied to the CAN transceiver is as follows: Figure 6 As shown, the CANH output terminal voltage and the CANL output terminal voltage of the CAN transceiver have good symmetry, reducing the change of the common mode level during the visible and invisible transition process, thereby reducing the interference of the CAN transceiver to external electronic equipment.
[0044] In a technical solution of the present invention, if the common mode levels of the CANH output terminal and the CANL output terminal of the CAN transceiver are high, it is necessary to reduce the common mode levels of the CANH output terminal and the CANL output terminal of the CAN transceiver, such as Figure 5The bias circuit includes: a reference current source Iref, a sixth NMOS tube NM6, a seventh NMOS tube NM7, an eighth NMOS tube NM8, a ninth NMOS tube NM9, a tenth NMOS tube NM10, a thirteenth NMOS tube NM13, a sixth PMOS tube PM6, a seventh PMOS tube PM7, an eighth PMOS tube PM8 and a reference current source Iref, an input end of the reference current source Iref, a source of the eighth PMOS tube PM8 and a source of the sixth PMOS tube PM6 are all connected to a power supply VCC, a gate of the sixth PMOS tube PM6 is respectively connected to a drain of the sixth PMOS tube PM6, a drain of the thirteenth NMOS tube NM13 and a negative feedback drive loop, a gate of the eighth PMOS tube PM8 is respectively connected to a drain of the eighth PMOS tube PM8, a source of the seventh PMOS tube PM7 and a negative feedback drive loop, and a gate of the seventh PMOS tube PM7 is respectively connected to a drain of the eighth PMOS tube PM8, a source of the seventh PMOS tube PM7 and a negative feedback drive loop. The gate of the eighth NMOS tube NM8 is respectively connected to the gate of the ninth NMOS tube NM9, the drain of the ninth NMOS tube NM9, the output end of the reference current source Iref, the gate of the thirteenth NMOS tube NM13, and the negative feedback driving loop; the source of the eighth NMOS tube NM8 is connected to the drain of the seventh NMOS tube NM7; the source of the ninth NMOS tube NM9 is respectively connected to the drain of the tenth NMOS tube NM10, the gate of the tenth NMOS tube NM10, the gate of the seventh NMOS tube NM7, and the gate of the sixth NMOS tube NM6; the source of the thirteenth NMOS tube NM13 is connected to the drain of the sixth NMOS tube NM6; the source of the sixth NMOS tube NM6, the source of the seventh NMOS tube NM7, and the source of the tenth NMOS tube NM10 are all grounded. In the bias circuit under this scheme, the ninth NMOS tube NM9 and the tenth NMOS tube NM10 convert the current of the reference current source Iref into a bias voltage and provide it to the thirteenth NMOS tube NM13, the eighth NMOS tube NM8, the sixth NMOS tube NM6, and the seventh NMOS tube NM7 respectively, so as to provide bias current to the eighth PMOS tube PM8, the seventh PMOS tube PM8 branch, and the sixth PMOS tube PM6 branch. The sixth PMOS tube PM6 is used to provide a bias voltage to the thirteenth PMOS tube PM13 in the first-stage negative feedback drive loop. The eighth PMOS tube PM8 and the seventh PMOS tube PM7 are used to provide a bias voltage to the third PMOS tube PM3 and the first Cascode tube PM4 in the second-stage negative feedback drive loop. The bias voltage is biased by using a Cascode current mirror, and the PVT characteristics are good.
[0045] In this scheme, the negative feedback drive loop is composed of a first-level negative feedback drive loop, a second-level negative feedback drive loop and a capacitor Cc. The first-level negative feedback drive loop is used to adjust the voltage difference between the input end of the first-level negative feedback drive loop and the output end of the second-level negative feedback drive loop. The second-level negative feedback drive loop is used to increase the gain of the negative feedback drive loop and improve the clamping ability of the negative feedback drive loop. The capacitor Cc is located between the first-level negative feedback drive loop, the second-level negative feedback drive loop and the capacitor Cc for frequency compensation. By increasing the gain-bandwidth product through the negative feedback drive loop, the gate voltage of the twelfth PMOS tube PM12 in the first-level negative feedback drive loop changes less during the display-hidden jump process of the drive circuit of the CAN transceiver, so as to ensure that the charging current of the output-level PMOS tube PPM1 and the output-level NMOS tube PNM1 remains constant during the display-hidden jump process, thereby reducing the interference of the CAN transceiver to external electronic equipment.
[0046] The first-stage negative feedback driving loop includes: an input-stage differential tube pair consisting of an eleventh PMOS tube PM11 and a twelfth PMOS tube PM12, a thirteenth PMOS tube PM13 providing a bias current to the input-stage differential tube pair, an input-stage differential tube pair load consisting of an eleventh NMOS tube NM11 and a twelfth NMOS tube NM12, a source of the thirteenth PMOS tube PM13 connected to a power supply VCC, a gate of the thirteenth PMOS tube PM13 connected to a gate of a sixth PMOS tube PM6, a drain of the sixth PMOS tube PM6, and a drain of the fifth NMOS tube NM5, a drain of the thirteenth PMOS tube PM13 connected to a source of the eleventh PMOS tube PM11 and a source of the twelfth PMOS tube PM12, a gate of the eleventh PMOS tube PM11 connected to an input level VCC for maintaining the operation of the driving circuit. IN The drain of the eleventh PMOS tube PM11 is respectively connected to the drain of the eleventh NMOS tube NM11, the gate of the eleventh NMOS tube NM11, the gate of the twelfth NMOS tube NM12, one end of the capacitor Cc, and the input end of the second-stage negative feedback drive loop. The gate of the twelfth PMOS tube PM12 is respectively connected to the other end of the capacitor Cc and the second-stage negative feedback drive loop. The drain of the twelfth PMOS tube PM12 is connected to the drain of the twelfth NMOS tube NM12. The source of the eleventh NMOS tube NM11 and the source of the twelfth NMOS tube NM12 are both grounded. The first-stage negative feedback drive loop uses the eleventh PMOS tube PM11 and the twelfth PMOS tube PM12 as an input-stage differential tube pair, which can handle a lower input level V IN .
[0047] The second-stage negative feedback driving loop includes: a third NMOS tube NM3, a second Cascode tube NM4, a first Cascode tube PM4 provided with a bias voltage through a seventh PMOS tube PM7, and a third PMOS tube PM3 provided with a bias voltage through an eighth PMOS tube PM8. The third NMOS tube NM3 serves as an input stage of the second-stage negative feedback driving loop. The gate of the third NMOS tube NM3 is respectively connected to one end of the capacitor Cc, the gate of the twelfth NMOS tube NM12, the gate of the eleventh NMOS tube NM11, the drain of the eleventh NMOS tube NM11, the drain of the eleventh PMOS tube PM11, and the output stage module. The source of the third NMOS tube NM3 is grounded. The drain of the third NMOS tube NM3 is connected to the source of the second Cascode tube NM4. The gate of the second Cascode tube NM4 is respectively connected to the gate of the thirteenth NMOS tube NM13. The gate of the first Cascode tube PM4 is connected to the gate of the seventh PMOS tube PM7, the drain of the seventh PMOS tube PM7, and the drain of the eighth NMOS tube NM8, the source of the first Cascode tube PM4 is connected to the drain of the third PMOS tube PM3, the gate of the third PMOS tube PM3 is connected to the gate of the eighth PMOS tube PM8, the drain of the eighth PMOS tube PM8, the source of the seventh PMOS tube PM7, and the output stage module, and the source of the third PMOS tube PM3 is connected to the power supply VCC. In this solution, the third PMOS tube PM3, the first Cascode tube PM4, the second Cascode tube NM4, and the third NMOS tube NM3 form a Cascode structure, which improves the output impedance at the gate node of the twelfth PMOS tube PM12 in the first-stage negative feedback drive loop, thereby improving the loop gain.
[0048] The output stage module includes: a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, an output stage PMOS tube PPM1, an output stage NMOS tube PNM1, a first diode D1, a second diode D2 and an external load RL, one end of the third switch S3 and the source of the output stage PMOS tube PPM1 are connected to the power supply VCC, the other end of the third switch S3 is respectively connected to one end of the first switch S1 and the gate of the output stage PMOS tube PPM1, the other end of the first switch S1 is connected to the gate of the third PMOS tube PM3, the drain of the output stage PMOS tube PPM1 is connected to the anode of the first diode D1, the cathode of the first diode D1 is connected to one end of the external load RL, and the external The other end of the external load RL is connected to the anode of the second diode D2, the cathode of the second diode D2 is connected to the drain of the output-stage NMOS tube PNM1, the gate of the output-stage NMOS tube PNM1 is respectively connected to one end of the second switch S2 and one end of the fourth switch S4, the other end of the second switch S2 is connected to the gate of the third NMOS tube NM3, the other end of the fourth switch S4 and the source of the output-stage NMOS tube PNM1 are grounded; one side of the external load RL connected to the first diode D1 serves as the CANH output end of the CAN transceiver, and one side of the external load RL connected to the second diode D2 serves as the CANL output end of the CAN transceiver, and the CANH output end and the CANL output end output a common-mode level.
[0049] like Figure 5When the CAN transceiver jumps from the recessive state to the dominant state, the first switch S1 and the second switch S2 change from open to closed, the third switch S3 and the fourth switch S4 change from closed to open, the output stage PMOS tube PPM1 and the output stage NMOS tube PNM1 are connected to the Pbias node and the Nbias node respectively. Since the capacitance at the Pbias node and the Nbias node has a sudden change, this causes the Pbias potential to rise and the Nbias potential to drop, so that the on-resistance of the third PMOS tube PM3 and the third NMOS tube NM3 is synchronously increased, so the gate end of the twelfth PMOS tube PM12 will not change significantly, thereby ensuring that the current flowing to the gate end of the eleventh NMOS tube NM1 remains approximately unchanged. When the capacitance of the Pbias node and When the capacitance of the Nbias node is the same, the potentials of Nbias and Pbias can be changed at the same predictable speed under the same potential condition, thereby facilitating the control of the conduction speed of the output-stage PMOS tube PPM1 and the output-stage MOS tube PNM1, improving the symmetry of the potential on the bus during the implicit-explicit transition, and using a negative feedback loop to keep the branch currents of the eleventh PMOS tube PM11 and the twelfth PMOS tube PM12 the same under DC conditions, while the fourth NMOS tube NM4 and the fourth PMOS tube NM2 play the role of Cascode for the third NMOS tube NM3 and the third PMOS tube, thereby improving the loop gain. The process of optimizing the symmetry of the common-mode voltage of the CAN transceiver by the driving circuit of the present invention applied to the CAN transceiver is as follows: Figure 6 As shown, the CANH output terminal voltage and the CANL output terminal voltage of the CAN transceiver have good symmetry, reducing the change of the common mode level during the visible and invisible transition process, thereby reducing the interference of the CAN transceiver to external electronic equipment.
[0050] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A driving circuit for a CAN transceiver, characterized in that: include: A bias circuit, a negative feedback drive loop and an output stage module, wherein the bias circuit provides a bias current for the negative feedback drive loop, the negative feedback drive loop generates a bias voltage through loop control to make the output voltage of the output stage module close to the output drive voltage, and the output stage module is used to generate a current flowing to the CAN transceiver to improve the stability of the common mode voltage of the CAN transceiver; The negative feedback drive loop comprises: a first-level negative feedback drive loop, a second-level negative feedback drive loop and a capacitor Cc, wherein the first-level negative feedback drive loop is used to adjust the voltage difference between the input end of the first-level negative feedback drive loop and the output end of the second-level negative feedback drive loop, and the second-level negative feedback drive loop is used to increase the gain of the negative feedback drive loop and improve the clamping ability of the negative feedback drive loop. The capacitor Cc is located between the first-level negative feedback drive loop, the second-level negative feedback drive loop and the capacitor Cc to perform Miller compensation; The first-stage negative feedback driving loop includes: an input-stage differential transistor pair consisting of a first NMOS transistor NM1 and a second NMOS transistor NM2, a fifth NMOS transistor NM5 providing a bias current to the input-stage differential transistor pair, and an input-stage differential transistor pair load consisting of a first PMOS transistor PM1 and a second PMOS transistor PM2. The gate of the fifth NMOS transistor NM5 is connected to the gate of the sixth NMOS transistor NM6, the source of the fifth NMOS transistor NM5 is grounded, the drain of the fifth NMOS transistor NM5 is respectively connected to the source of the first NMOS transistor NM1 and the source of the second NMOS transistor NM2, the gate of the first NMOS transistor NM1 is connected to the input level V for maintaining the operation of the driving circuit. IN The drain of the first NMOS tube NM1 is respectively connected to the drain of the first PMOS tube PM1, the gate of the first PMOS tube PM1, the gate of the second PMOS tube PM2, one end of the capacitor Cc, the input end of the second-stage negative feedback drive loop, and the output stage module; the source of the first PMOS tube PM1 and the source of the second PMOS tube PM2 are both connected to the power supply VCC; the drain of the second PMOS tube PM2 is connected to the drain of the second NMOS tube NM2; and the gate of the second NMOS tube NM2 is respectively connected to the other end of the capacitor Cc and the second-stage negative feedback drive loop; The second-stage negative feedback drive loop includes: a third PMOS tube PM3, a first Cascode tube PM4, a second Cascode tube NM4 provided with a bias voltage through an eighth NMOS tube NM8, and a third NMOS tube NM3 provided with a bias voltage through a seventh NMOS tube. The third PMOS tube PM3 serves as an input stage of the second-stage negative feedback drive loop. The source of the third PMOS tube PM3 is connected to the power supply VCC. The gate of the third PMOS tube PM3 is respectively connected to the gate of the second PMOS tube PM2 and the output stage module. The drain of the third PMOS tube PM3 is connected to the source of the first Cascode tube PM4. , the gate of the first Cascode tube PM4 is connected to the gate of the fifth PMOS tube PM5, the drain of the first Cascode tube PM4 is respectively connected to the other end of the capacitor Cc, the gate of the second NMOS tube NM2, and the drain of the second Cascode tube NM4, the gate of the second Cascode tube NM4 is connected to the gate of the eighth NMOS tube NM8, the source of the second Cascode tube NM4 is connected to the drain of the third NMOS tube NM3, the gate of the third NMOS tube NM3 is respectively connected to the gate of the seventh NMOS tube NM7 and the output stage module, and the source of the third NMOS tube NM3 is grounded.
2. The driving circuit for a CAN transceiver according to claim 1, characterized in that: The bias circuit includes: a reference current source Iref, a fifth PMOS tube PM5, a sixth PMOS tube PM6, a seventh PMOS tube PM7, an eighth MOS tube PM8, a ninth PMOS tube PM9, a tenth PMOS tube PM10, a sixth NMOS tube NM6, a seventh NMOS tube NM7 and an eighth NMOS tube NM8, the source of the sixth PMOS tube PM6, the source of the eighth PMOS tube PM8 and the source of the tenth PMOS tube PM10 are all connected to the power supply VCC, the gate of the sixth PMOS tube PM6 is respectively connected to the gate of the eighth PMOS tube PM8, the gate of the tenth PMOS tube PM10, the drain of the tenth PMOS tube PM10 and the source of the ninth PMOS tube PM9, the drain of the sixth PMOS tube PM6 is connected to the source of the fifth PMOS tube PM5, the drain of the eighth PMOS tube PM8 is connected to the seventh PMOS tube P The gate of the ninth PMOS tube PM9, the drain of the ninth PMOS tube PM9, the input end of the reference current source Iref, the gate of the seventh PMOS tube PM7, and the gate of the fifth PMOS tube PM5 are all connected to the negative feedback drive loop; the drain of the fifth PMOS tube PM5 is respectively connected to the drain of the sixth NMOS tube NM6, the gate of the sixth NMOS tube NM6, and the negative feedback drive loop; the drain of the seventh PMOS tube PM7 is respectively connected to the drain of the eighth NMOS tube NM8, the gate of the eighth NMOS tube NM8, and the negative feedback drive loop; the source of the eighth NMOS tube NM8 is respectively connected to the drain of the seventh NMOS tube NM7, the gate of the seventh NMOS tube NM7, and the negative feedback drive loop; the source of the seventh NMOS tube NM7, the source of the sixth NMOS tube NM6, and the output end of the reference current source Iref are all grounded.
3. The driving circuit for CAN transceiver according to claim 1, characterized in that: The output stage module includes: a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, an output stage PMOS tube PPM1, an output stage NMOS tube PNM1, a first diode D1, a second diode D2 and an external load RL, one end of the third switch S3 and the source of the output stage PMOS tube PPM1 are both connected to the power supply VCC, the other end of the third switch S3 is respectively connected to one end of the first switch S1 and the gate of the output stage PMOS tube PPM1, the other end of the first switch S1 is connected to the gate of the third PMOS tube PM3, the drain of the output stage PMOS tube PPM1 is connected to the anode of the first diode D1, the cathode of the first diode D1 is connected to one end of the external load RL, and the external The other end of the external load RL is connected to the anode of the second diode D2, the cathode of the second diode D2 is connected to the drain of the output-stage NMOS tube PNM1, the gate of the output-stage NMOS tube PNM1 is respectively connected to one end of the second switch S2 and one end of the fourth switch S4, the other end of the second switch S2 is connected to the gate of the third NMOS tube NM3, the other end of the fourth switch S4 and the source of the output-stage NMOS tube PNM1 are both grounded; one side of the external load RL connected to the first diode D1 serves as the CANH output end of the CAN transceiver, and one side of the external load RL connected to the second diode D2 serves as the CANL output end of the CAN transceiver, and the CANH output end and the CANL output end output a common mode level.
4. A driving circuit for a CAN transceiver, characterized in that: include: A bias circuit, a negative feedback drive loop and an output stage module, wherein the bias circuit provides a bias current for the negative feedback drive loop, the negative feedback drive loop generates a bias voltage through loop control to make the output voltage of the output stage module close to the output drive voltage, and the output stage module is used to generate a current flowing to the CAN transceiver to improve the stability of the common mode voltage of the CAN transceiver; The negative feedback drive loop is composed of a first-level negative feedback drive loop, a second-level negative feedback drive loop and a capacitor Cc. The first-level negative feedback drive loop is used to adjust the voltage difference between the input end of the first-level negative feedback drive loop and the output end of the second-level negative feedback drive loop. The second-level negative feedback drive loop is used to increase the gain of the negative feedback drive loop and improve the clamping ability of the negative feedback drive loop. The capacitor Cc is located between the first-level negative feedback drive loop, the second-level negative feedback drive loop and the capacitor Cc to perform Miller compensation. The first-stage negative feedback driving loop includes: an input-stage differential tube pair consisting of an eleventh PMOS tube PM11 and a twelfth PMOS tube PM12, a thirteenth PMOS tube PM13 providing a bias current to the input-stage differential tube pair, and an input-stage differential tube pair load consisting of an eleventh NMOS tube NM11 and a twelfth NMOS tube NM12, the source of the thirteenth PMOS tube PM13 is connected to the power supply VCC, the gate of the thirteenth PMOS tube PM13 is connected to the gate of the sixth PMOS tube PM6, the drain of the thirteenth PMOS tube PM13 is respectively connected to the source of the eleventh PMOS tube PM11 and the source of the twelfth PMOS tube PM12, the gate of the eleventh PMOS tube PM11 is connected to the input level V IN The drain of the eleventh PMOS tube PM11 is respectively connected to the drain of the eleventh NMOS tube NM11, the gate of the eleventh NMOS tube NM11, the gate of the twelfth NMOS tube NM12, one end of the capacitor Cc, and the input end of the second-stage negative feedback drive loop; the gate of the twelfth PMOS tube PM12 is respectively connected to the other end of the capacitor Cc and the second-stage negative feedback drive loop; the drain of the twelfth PMOS tube PM12 is connected to the drain of the twelfth NMOS tube NM12; the source of the eleventh NMOS tube NM11 and the source of the twelfth NMOS tube NM12 are both grounded; The second-stage negative feedback driving loop includes: a third NMOS tube NM3, a second Cascode tube NM4, a first Cascode tube PM4 provided with a bias voltage through a seventh PMOS tube PM7, and a third PMOS tube PM3 provided with a bias voltage through an eighth PMOS tube PM8, wherein the third NMOS tube NM3 serves as an input stage of the second-stage negative feedback driving loop, a gate of the third NMOS tube NM3 is respectively connected to a gate of a twelfth NMOS tube NM12 and an output stage module, a source of the third NMOS tube NM3 is grounded, a drain of the third NMOS tube NM3 is connected to a source of the second Cascode tube NM4, and the second The gate of the Cascode tube NM4 is connected to the gate of the thirteenth NMOS tube NM13, the drain of the second Cascode tube NM4 is respectively connected to the drain of the first Cascode tube PM4, one end of the capacitor Cc, and the gate of the twelfth PMOS tube PM12, the gate of the first Cascode tube PM4 is connected to the gate of the seventh PMOS tube PM7, the source of the first Cascode tube PM4 is connected to the drain of the third PMOS tube PM3, the gate of the third PMOS tube PM3 is respectively connected to the gate of the eighth PMOS tube PM8 and the output stage module, and the source of the third PMOS tube PM3 is connected to the power supply VCC.
5. The driving circuit for CAN transceiver according to claim 4, characterized in that: The bias circuit includes: a reference current source Iref, a sixth NMOS tube NM6, a seventh NMOS tube NM7, an eighth NMOS tube NM8, a ninth NMOS tube NM9, a tenth NMOS tube NM10, a thirteenth NMOS tube NM13, a sixth PMOS tube PM6, a seventh PMOS tube PM7, an eighth PMOS tube PM8 and a reference current source Iref, wherein the input end of the reference current source Iref, the source of the eighth PMOS tube PM8 and the source of the sixth PMOS tube PM6 are all connected to the power supply VCC, the gate of the sixth PMOS tube PM6 is respectively connected to the drain of the sixth PMOS tube PM6, the drain of the thirteenth NMOS tube NM13 and the negative feedback drive loop, the gate of the eighth PMOS tube PM8 is respectively connected to the drain of the eighth PMOS tube PM8, the source of the seventh PMOS tube PM7 and the negative feedback drive loop, and the gate of the seventh PMOS tube PM7 is respectively connected to the The drain of the seventh PMOS tube PM7, the drain of the eighth NMOS tube NM8, and the negative feedback driving loop are connected; the gate of the eighth NMOS tube NM8 is respectively connected to the gate of the ninth NMOS tube NM9, the drain of the ninth NMOS tube NM9, the output end of the reference current source Iref, the gate of the thirteenth NMOS tube NM13, and the negative feedback driving loop; the source of the eighth NMOS tube NM8 is connected to the drain of the seventh NMOS tube NM7; the source of the ninth NMOS tube NM9 is respectively connected to the drain of the tenth NMOS tube NM10, the gate of the tenth NMOS tube NM10, the gate of the seventh NMOS tube NM7, and the gate of the sixth NMOS tube NM6; the source of the thirteenth NMOS tube NM13 is connected to the drain of the sixth NMOS tube NM6; the source of the sixth NMOS tube NM6, the source of the seventh NMOS tube NM7, and the source of the tenth NMOS tube NM10 are all grounded.
6. The driving circuit for CAN transceiver according to claim 4, characterized in that: The output stage module includes: a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, an output stage PMOS tube PPM1, an output stage NMOS tube PNM1, a first diode D1, a second diode D2 and an external load RL, one end of the third switch S3 and the source of the output stage PMOS tube PPM1 are both connected to the power supply VCC, the other end of the third switch S3 is respectively connected to one end of the first switch S1 and the gate of the output stage PMOS tube PPM1, the other end of the first switch S1 is connected to the gate of the third PMOS tube PM3, the drain of the output stage PMOS tube PPM1 is connected to the anode of the first diode D1, the cathode of the first diode D1 is connected to one end of the external load RL, and the external The other end of the external load RL is connected to the anode of the second diode D2, the cathode of the second diode D2 is connected to the drain of the output-stage NMOS tube PNM1, the gate of the output-stage NMOS tube PNM1 is respectively connected to one end of the second switch S2 and one end of the fourth switch S4, the other end of the second switch S2 is connected to the gate of the third NMOS tube NM3, the other end of the fourth switch S4 and the source of the output-stage NMOS tube PNM1 are both grounded; one side of the external load RL connected to the first diode D1 serves as the CANH output end of the CAN transceiver, and one side of the external load RL connected to the second diode D2 serves as the CANL output end of the CAN transceiver, and the CANH output end and the CANL output end output a common mode level.
