CAN bus receiver circuit with wide common mode range

CN119070790APending Publication Date: 2024-12-03成都中科华微电子有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411190080.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-03

Smart Images

  • Figure CN119070790A_ABST
    Figure CN119070790A_ABST
Patent Text Reader

Abstract

A CAN bus receiver circuit with a wide common mode range comprises a voltage conversion circuit and a hysteresis comparator connected with the voltage conversion circuit, and the voltage conversion circuit comprises a first resistor and a second resistor which are connected in series at a bus in-phase input signal end and a regulation voltage end. The third resistor and the fourth resistor are connected in series at the inverted input signal end and the voltage adjusting end of the bus; the common end of the first resistor and the second resistor serves as an in-phase input voltage end, and the common end of the third resistor and the fourth resistor serves as an inverted input voltage end and is connected with two input ends of the hysteresis comparator. According to the CAN bus receiver circuit with the wide common-mode range, input resistance partial voltage is added at the resistance level, an internal hysteresis comparator is improved, a larger common-mode input voltage range is achieved with low voltage, and the CAN bus receiver circuit is suitable for being applied to a CAN bus for data detection and data conversion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of analog circuits, and in particular relates to a CAN bus receiver circuit with a wide common mode range. Background Art

[0002] In the CAN bus circuit, the receiver is responsible for converting the data received on the bus into electrical characteristics that meet the requirements of the CAN protocol. Since the CAN bus signal is affected by the operating voltage, temperature, transmission attenuation, external electromagnetic interference, etc. during actual operation, the protocol requirements are generally strict and must be met. In order to ensure the normal operation and communication of the CAN chip and enhance the anti-interference ability, the common mode voltage of the CAN bus is usually set in the range of -12V to 12V. Compared with the 5V power supply voltage, this is undoubtedly a fairly wide common mode input range.

[0003] The function of the CAN bus receiver circuit is to convert the differential signal obtained from the bus signals CANH and CANL into a digital signal, which is generally achieved through a hysteresis comparator circuit. The hysteresis comparator circuit has the ability to convert analog signals into digital signals, and can also reduce the impact of factors such as power supply noise and external interference on the output, so that the circuit can operate stably in a complex environment. The structure of a traditional internal positive feedback hysteresis comparator is shown in Figure 2. The typical output voltage curve of the hysteresis comparator is shown in Figure 2. Figure 3 As shown, when the input differential voltage changes from low to high and from high to low, the turning points of the output voltage occur at the smaller low threshold voltage VTH2 and the larger high threshold voltage VTH1, respectively, so that when the input differential voltage changes near the turning point, there will be no repeated fluctuations.

[0004] However, the traditional hysteresis comparator cannot handle input voltages that exceed the power supply range. When the voltage on the CAN bus exceeds the range that the power supply can withstand, the traditional hysteresis comparator may not work properly, thus affecting the performance of the entire circuit and the accuracy of data conversion. Summary of the invention

[0005] In view of the above defects in the prior art, the present invention discloses a CAN bus receiver circuit with a wide common mode range.

[0006] The CAN bus receiver circuit with a wide common mode range of the present invention comprises a voltage conversion circuit and a hysteresis comparator connected to the voltage conversion circuit, wherein the voltage conversion circuit comprises a first resistor and a second resistor connected in series to a bus in-phase input signal terminal and a voltage adjustment terminal, and a third resistor and a fourth resistor connected in series to a bus inverting input signal terminal and a voltage adjustment terminal; The common end of the first resistor and the second resistor is used as a common-phase input voltage end, and the common end of the third resistor and the fourth resistor is used as an inverting input voltage end, which are connected to the two input ends of the hysteresis comparator.

[0007] Preferably, the hysteresis comparator includes a differential comparator circuit, a positive feedback hysteresis circuit connected between the input and output ends of the differential comparator circuit, the positive feedback hysteresis circuit includes a first inverter structure connected to the output end of the differential comparator circuit, and a second inverter structure whose input end is connected to the first inverter structure, the positive feedback hysteresis circuit also includes a fifth P tube and a seventh N tube, the drains of the fifth P tube and the seventh N tube are respectively connected to the inverting input voltage end and the non-inverting input voltage end, the gates are respectively connected to the output ends of the first inverter structure and the second inverter structure, and the sources of the fifth P tube and the seventh N tube are respectively connected to current sources that provide bias current therefor.

[0008] Preferably, the differential comparator circuit includes an eleventh N-tube and a twelfth N-tube as differential input pair tubes, the gate of the eleventh N-tube is connected to the in-phase input voltage terminal, the gate of the twelfth N-tube is connected to the inverting input voltage terminal, the source of the eleventh N-tube and the twelfth N-tube is connected to the drain of the thirteenth N-tube, The drain of the eleventh N tube and the gate of the eighth P tube are connected to the gate and drain of the ninth P tube, and the drain of the twelfth N tube and the gate of the eleventh P tube are connected to the gate and drain of the tenth P tube; The gate of the thirteenth N-tube is connected to the external bias voltage; the drain of the eighth P-tube is connected to the drain and gate of the tenth N-tube and the gate of the fourteenth N-tube, the drain of the eleventh P-tube is connected to the drain of the fourteenth N-tube, and is connected to the input end of the first inverter structure; the source levels of the eighth P-tube, the ninth P-tube, the tenth P-tube, and the eleventh P-tube are all connected to the power supply of the hysteresis comparator, and the source levels of the tenth N-tube and the fourteenth N-tube are all connected to the ground.

[0009] Preferably, the hysteresis comparator further comprises a bias circuit, the bias circuit comprises an N-tube current mirror and a P-tube current mirror, the N-tube current mirror comprises an N-current mirror input stage and first, second and third N-current mirror output stages, the P-tube current mirror comprises a P-current mirror input stage and first and second P-current mirror output stages; The N current mirror input stage includes a first N tube and a second N tube connected in series between a bias current input terminal and ground, the gates of the two N tubes are connected to their own drains as a bias current input terminal, the first N tube source is connected to the drain of the second N tube, and the source of the second N tube is grounded, the N current mirror output stage includes two N tubes connected in series between the current output terminal and ground, and are connected to the two N tubes of the N current mirror input stage in a current mirror connection; the gate of the second N tube is connected to the gate of the thirteenth N tube; The P current mirror input stage includes a first P tube and a second P tube connected in series between the current input terminal and the power supply, the gates of the two P tubes are connected to their own drains as the current input terminal, the source of the first P tube is connected to the drain of the second P tube, and the source of the second P tube is connected to the power supply, and the P current mirror output stage includes two P tubes connected in series between the current input terminal and the power supply, and are connected to the two P tubes of the P current mirror input stage in a current mirror manner; The current output end of the first N current mirror output stage is connected to the current input end of the P current mirror input stage, the current output end of the second N current mirror output stage is connected to the in-phase input voltage end; the current output end of the first P current mirror output stage is connected to the inverting input voltage end; The current output end of the third N current mirror output stage is connected to the source stage of the seventh N tube, and the current input end of the second P current mirror output stage is connected to the source stage of the fifth P tube.

[0010] Preferably, the hysteresis comparator further includes a third inverter structure as an output stage circuit.

[0011] The CAN bus receiver circuit with a wide common mode range of the present invention realizes a larger common mode input voltage range at a low voltage by adding input resistance voltage division at the resistance stage and improving the internal hysteresis comparator, and is suitable for data detection and data conversion on the CAN bus. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 FIG. 1 is a schematic diagram showing a specific implementation of the CAN bus receiver circuit of the present invention; Figure 2 Shown is a schematic diagram of a specific implementation of an existing hysteresis comparator; Figure 3 The figure shows a typical output voltage curve simulation diagram of a hysteresis comparator; Figure 4 It is a schematic diagram of output voltage curve simulation of a specific implementation of the hysteresis comparator in the present invention; Figure 5 It is a schematic diagram of output voltage curve simulation of another specific implementation mode of the hysteresis comparator in the present invention; Figure 6 Shown is a schematic diagram of output voltage curve simulation of another specific implementation of the hysteresis comparator in the present invention. DETAILED DESCRIPTION

[0013] In order to more intuitively and clearly describe the specific details of the technical solution of the present invention, a detailed description will be given below in conjunction with specific embodiments and example drawings.

[0014] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in combination with the specific implementation methods of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0015] like Figure 1 As shown, the CAN bus receiver circuit with a wide common mode range of the present invention includes a voltage conversion circuit and a hysteresis comparator connected to the voltage conversion circuit, wherein the voltage conversion circuit includes a first resistor and a second resistor connected in series to a bus in-phase input signal terminal and a voltage adjustment terminal, and a third resistor and a fourth resistor connected in series to a bus inverting input signal terminal and a voltage adjustment terminal; The common end of the first resistor and the second resistor is used as a common-phase input voltage end, and the common end of the third resistor and the fourth resistor is used as an inverting input voltage end, which are connected to the two input ends of the hysteresis comparator.

[0016] In order to solve the problem of wide common mode input range in CAN bus receiver, the present invention proposes the following Figure 1 The CAN bus receiver circuit with wide common mode range is shown.

[0017] The wide common mode range CAN bus receiver circuit comprises: (1) Voltage conversion circuit, such as Figure 1 As shown, CANH and CANL represent the bus in-phase input signal terminal and the bus inverting input signal terminal respectively, and the voltage conversion circuit includes a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. The four resistors are connected in series, and the adjustment voltage terminal V1 and the CAN bus input signal are linearly superimposed by a resistor voltage division method to obtain a level range that can be processed by a subsequent circuit.

[0018] For example, the typical CAN bus input signal range is -12V to 12V, while the power supply voltage and ground voltage of the subsequent hysteresis comparator are 5V and 0V respectively. For the adjustment voltage terminal V1, which varies between -12V and 12V, it needs to be reduced to 0 to 5V; The design is R1=R4, R2=R3, and using the superposition theorem to calculate, we can get the following results.

[0019] Inverting input voltage VINN = (CANL-V1) * (1-R4 / (R3+R4)) + V1 It can be further simplified to VINN=(1-K1)*CANL+K*V1, where K1=R4 / (R3+R4) Obviously K is a positive number less than 1. Assuming that the ratio of R4 to R3 is 3:1, then K=0.75. VINN is reduced to 0.25 times of the original value following the change of CANL. It can be seen that the change range of CANL is reduced. Once the circuit is generated, the resistance value is fixed. By setting V1, the starting point of the change range of CANL can be adjusted.

[0020] Similarly, the common-phase input voltage VINP = (1-K2) * CANH + K2 * V1, where K2 = R1 / R1 + R2; like Figure 1 As shown in the figure, the input signal can be linearly reduced by the resistor voltage divider method, and the next stage circuit can process voltages VINP and VINN in the range of 0~5V. After the VINP and VINN signals are connected to the hysteresis comparator, the hysteresis comparator is regarded as a load. The load has a small current caused by P3, P5, N5 and N7, but the impact on VINP and VINN is almost the same, and the difference of the differential signal VINP-VINN remains unchanged, eliminating the impact of the load.

[0021] (2) Differential comparator circuit, used to input differential voltage signals and output differential comparison results.

[0022] The invention comprises 9 devices, namely, the tenth N-tube N10, the eleventh N-tube N11, the twelfth N-tube N12, the thirteenth N-tube N13, the fourteenth N-tube N14, the eighth P-tube P8, the ninth P-tube P9, the tenth P-tube P10 and the eleventh P-tube P11. The eleventh N-tube N11 and the twelfth N-tube N12 are used as differential input pairs. The gate of N11 is connected to the in-phase input voltage VINP, the gate of N12 is connected to the inverting input voltage VINN, the source of N11 and the source of N12 are connected to the drain of N13, the drain of N11 and the gate of P8 are connected to the gate and drain of P9, the substrate of N11 and the substrate of N12 are connected to the ground, the drain of N12 and the gate of P11 are connected to the gate and drain of P10. The gate of N13 is connected to the gate of N9, the gate of N6, the gate of N4, the gate of N2, the drain of N2 and the drain of N1 in the bias circuit. The source and substrate of N13 are connected to the ground. The drain of P8 is connected to the drain of N10, the gate of N10, and the gate of N14. The drain of P11 and the drain of N14 are connected to the gate of P12 and the gate of N15 in the positive feedback hysteresis circuit. The source and substrate of P8, P9, P10, and P11 are all connected to VCC, and the source and substrate of N10 and N14 are all connected to GND.

[0023] Among them, N11 and N12 are used as the common phase differential input tube and the inverting differential input tube to form a basic source-coupled differential pair tube as the input stage of the differential comparator to complete the conversion from voltage to current. The differential comparison result is output from the common end Y1 of P11 and N14. When the common phase input voltage VINP is less than the inverting input voltage VINN, Y1 outputs a high level, and when the common phase input voltage VINP is greater than the inverting input voltage VINN, Y1 outputs a low level.

[0024] The gate of N13 is connected to the bias circuit, and the external bias current is transmitted to the basic source-coupled differential pair composed of N11 and N12 as the tail current. P8 and P9, P10 and P11, N10 and N14 respectively form three basic current mirrors with a transfer ratio of 1 to achieve differential output current shifting of the input stage.

[0025] The voltage outputted from the Y1 terminal is inputted into the positive feedback hysteresis circuit, and hysteresis is generated through the positive feedback loop; the positive feedback hysteresis circuit includes 10 devices, namely, the twelfth P-tube P12, the thirteenth P-tube P13, the fifteenth N-tube N15, the sixteenth N-tube N16, the fifth P-tube P5, the sixth P-tube P6, the seventh P-tube P7, the seventh N-tube N7, the eighth N-tube N8, and the ninth N-tube N9. The gate of P12 and the gate of N15 are connected to the drain of P11 and the drain of N14 of the differential comparator circuit. The drain of P12 and the drain of N15 are connected to the gate of P5, the gate of P13, and the gate of N16. The drain of P13 and the drain of N16 are connected to the gate of N7, the gate of P14, and the gate of N17. The source and substrate of P12 are grounded to the source and substrate of P12. The source and substrate of N15 are grounded to the source and substrate of N16.

[0026] The drain of P5 is connected to the gate of N12, and the source of P5 is connected to the drain of P6. The gate of P6 is connected to the gate and drain of P1 and the gate of P3 in the bias circuit, and the source of P6 is connected to the drain of P7. The gate of P7 is connected to the gate and drain of P2 and the gate of P4 in the bias circuit. The source and substrate of P7 are connected to VCC, and the substrate of P5 and the substrate of P6 are connected to VCC.

[0027] The drain of N7 is connected to the gate of N11, and the source of N7 is connected to the drain of N8. The gate of N8 is connected to the gate and drain of N1, the gate of N3, and the gate of N5 in the bias circuit, and the source of N8 is connected to the drain of N9. The gate of N9 is connected to the gate and drain of N2, the gate of N4, and the gate of N6 in the bias circuit. The source of N9 and the substrate are grounded, and the substrate of N8 and the substrate of N7 are grounded.

[0028] The function realized by the positive feedback hysteresis circuit is: when the bus input differential voltage difference VID=CANH-CANL increases from low to high, the comparator output VOUT output flips from low level to high level, and the threshold voltage for the hysteresis comparator output to flip is VTH1. When the bus input differential voltage difference VID=CANH-CANL decreases from high to low, the comparator output VOUT output flips from high level to low level, and the threshold voltage for the hysteresis comparator output to flip is VTH2.

[0029] The value of VHT1 is greater than VTH2.

[0030] Specifically, the reason why the positive feedback hysteresis circuit generates hysteresis is the positive feedback mechanism. In the positive feedback hysteresis circuit, the output terminal Y2 of the first inverter structure composed of P12 and N15 is connected to the gate of P5 to form a feedback loop connected to the gate of the inverting differential input tube N12, and the output terminal voltage Y3 of the second inverter structure composed of P13 and N16 is connected to the gate of N7 to form a feedback loop connected to the gate of the in-phase differential input tube N11.

[0031] When the input differential voltage difference VID makes the non-inverting input voltage VINP less than the inverting input voltage VINN, the current I1 flowing through N11 is less than the current I2 flowing through N12, then P10 and P11 are turned on, Y1 outputs a high level, Y2 becomes a low level, then P5 is turned on, and the gate voltage of the inverting differential input tube N12 is pulled up, and the gate voltage of the inverting differential input tube N12, that is, the inverting input voltage, is increased through positive feedback, and positive feedback is formed when the inverting input voltage is already greater than the non-inverting input voltage.

[0032] The output voltage of the node Y3 at the output end of the second inverter structure formed by P13 and N16 is further increased, and N7 is turned on, which pulls down the gate voltage of the in-phase differential input tube N11, so that the gate voltage of the in-phase differential input tube N11, that is, the in-phase input voltage, is reduced.

[0033] The above positive feedback process stops when the current I2 of N12 is close to being equal to the leakage current provided by N13.

[0034] Due to the positive feedback, even if CANH increases slightly or CANL decreases slightly, the in-phase input voltage VINP is still smaller than the inverting input voltage VINN due to the action of P5 and N7. The operation of P5 and N7 also causes CANH to increase or CANL to decrease. The difference between the two needs to overcome the positive feedback voltage difference caused by P5 and N7, that is, when the input differential voltage difference VID changes from low to high, it needs to reach a larger value to make the in-phase input voltage VINP greater than the inverting input voltage VINN. The corresponding high threshold voltage VTH1 is higher.

[0035] When CANH increases or CANL decreases to make the non-inverting input voltage VINP greater than the inverting input voltage VINN, the N12 current I2 begins to be smaller than the N11 current I1. According to the above positive feedback process, P8 and P9 are turned on, N10 and N14 are turned on, the Y1 node outputs a low level, the Y2 node outputs a high level, and the Y3 node outputs a low level, and the positive feedback loop where P5 and N7 are located is open.

[0036] P5 and N7 are open circuited, so that there is no positive feedback. At this time, when the input differential voltage VID changes from high to low, the threshold voltage changes to a normal low threshold voltage VTH2 that is lower than VTH1.

[0037] When the input differential voltage VID=CANH-CANL starts to drop from a higher value, the output VOUT is initially high, the current I1 is greater than the current I2, and the positive feedback loop where P5 and N7 are located is disconnected. When the input differential voltage VID=CANH-CANL is lower than the low threshold voltage VTH2, the current I1 is less than the current I2, and the output VOUT will return to a low level.

[0038] As the current I1 is less than the current I2, P5 and N7 are turned on, and a positive feedback mechanism is formed, so that when the input differential voltage difference VID starts to increase from a lower value again, the voltage difference caused by the positive feedback needs to be overcome in order to flip the output voltage again.

[0039] From the above analysis, it can be seen that the positive feedback mechanism causes the input differential voltage difference VID to have different corresponding threshold voltages when the changing directions are different.

[0040] When VID=CANH-CANL, when VID changes from low to high, a positive feedback mechanism is formed, so that the change of VID needs to overcome the influence of positive feedback. At this time, the threshold voltage required for the output voltage to flip is a higher threshold voltage VTH1. When VID changes from high to low, the positive feedback mechanism does not work, so the change of VID does not overcome the influence of positive feedback. At this time, the threshold voltage required for the output voltage to flip is a lower value voltage VTH2, such as Figure 3 As shown, the difference between the two threshold voltages, i.e., the hysteresis voltage ΔVTH=VTH1-VTH2, reflects the influence of positive feedback. The hysteresis voltage can be adjusted by designing the parameters of P5 and N7. When the circuit parameters are fixed, when in use, since the bias currents of the two positive feedback devices P5 and N7 in the present invention come from the external bias current provided by the output end of the current mirror composed of P6, P7, N8, and N9, the difference between the two threshold voltages VHT1 and VTH2 can also be adjusted by adjusting the bias current to meet the requirements of specific circuit performance.

[0041] At the same time, the digital signal output by the two-stage inverter structure is used to directly control P5 and N7, so that the switching of P5 and N7 is fast and the curve at the hysteresis flip is steep, avoiding the tilt of the flip of the traditional hysteresis comparator and improving the response speed.

[0042] (4) The output stage circuit includes a third inverter structure composed of the fourteenth P-tube P14 and the seventeenth N-tube N17. The gate of P14 and the gate of N17 are connected to the drain of P12 and the drain of N17 at the output end of the positive feedback hysteresis circuit. The drain of P14 and the drain of N17 are connected as the output end of the hysteresis comparator. The output stage circuit uses an inverter structure to improve the driving ability of the subsequent stage.

[0043] (5) A bias circuit, including a first N-tube N1, a second N-tube N2, a third N-tube N3, a fourth N-tube N4, a fifth N-tube N5, a sixth N-tube N6, a first P-tube P1, a second P-tube P2, a third P-tube P3, and a fourth P-tube P4, a total of 10 devices.

[0044] Wherein N1 and N2 form an N current mirror input stage, N3 and N4 form a first N current mirror output stage, N5 and N6 form a second N current mirror output stage, and N8 and N9 form a third N current mirror output stage; P1 and P2 form a P current mirror input stage, P3 and P4 form a first P current mirror output stage, and P6 and P7 form a second P current mirror output stage; The current output end of the first N current mirror output stage is connected to the current input end of the P current mirror input stage, the current output end of the second N current mirror output stage is connected to the in-phase input voltage end; the current output end of the first P current mirror output stage is connected to the inverting input voltage end; The current output end of the third N current mirror output stage is connected to the source stage of the seventh N tube, and the current input end of the second P current mirror output stage is connected to the source stage of the fifth P tube.

[0045] The specific connection relationship is as follows: the external bias circuit is connected from the gate and drain of N1, and the gate and drain of N1 are connected to the gate of N3, the gate of N5, and the gate of N8. The source of N1 and the drain of N2 are connected to the gate of N2, the gate of N4, the gate of N6, the gate of N9, and the gate of N13. The source of N3 is connected to the drain of N4, the source of N5 is connected to the drain of N6, and the substrates of N1, N3, and N5 are all grounded. The source and substrate of N2, N4, and N6 are all grounded. The drain of N5, the drain of N7, the gate of N11, and the output terminal VINP of the voltage conversion circuit are connected. The drain of N3, the drain and gate of P1, and the gate of P3 are connected to the gate of P6. The drain of P3, the drain of P5, the gate of N12, and the output terminal VINN of the voltage conversion circuit are connected. The source of P1, the drain and gate of P2, and the gate of P4 are connected to the gate of P7. The source of P3 is connected to the drain of P4, the substrates of P1 and P3 are connected to VCC, and the source and substrate of P2 and P4 are connected to VCC.

[0046] In the bias circuit, N1, N3, N5, N8, and N13 form a suitable proportional current mirror to provide a constant bias current for the tail current source of the differential input circuit. P1, P3, and P6 form a suitable proportional current mirror to provide bias current and adjust the threshold voltage range of the hysteresis comparator.

[0047] The current output end of the second N current mirror output stage is connected to the non-inverting input voltage end; the current output end of the first P current mirror output stage is connected to the inverting input voltage end, the second N current mirror output stage has a pull-down effect on the non-inverting input voltage end, and the first P current mirror output stage has a pull-up effect on the inverting input voltage end. When the bias current is adjusted, the voltages of the non-inverting input voltage end and the inverting input voltage end can be simultaneously decreased or increased, thereby changing the center point of the transfer characteristic of the hysteresis comparator, that is, the voltage midpoint of the two voltage turning points VHT1 and VTH2.

[0048] For example, by changing the size of the two current mirror output stage MOS tubes where P3 and N5 are located, the center point of the transmission characteristic of the hysteresis comparator can be moved horizontally. At this time, the width of the hysteresis interval remains unchanged, but the center point can be adjusted by changing the size of the P3 and N5 branch MOS tubes, thereby adjusting the threshold voltage size at which the hysteresis comparator output flips.

[0049] Based on the 0.25um BCD process, the circuit performance was simulated and verified using Hspice simulation software. When the ratios of the first, second, third, and fourth N current mirrors and the first, second, and third P current mirrors are set to different ratios, the simulation results of the hysteresis range corresponding to the structural circuit are as follows: Figure 4 , Figure 5 , Figure 6 As shown in the figure, the horizontal axis is the differential voltage VID, and the vertical axis is the hysteresis comparator output voltage VOUT.

[0050] Figure 4 The current replication ratio of the first N current mirror output stage, the second N current mirror output stage, the third N current mirror output stage, and the N current mirror input stage is 5:5:6:1; the current replication ratio of the first P current mirror output stage, the second P current mirror output stage, and the P current mirror input stage is 5:6:1.

[0051] in Figure 5 The current replication ratio of the first N current mirror output stage, the second N current mirror output stage, the third N current mirror output stage, and the N current mirror input stage is 5:5:3:1; the current replication ratio of the first P current mirror output stage, the second P current mirror output stage, and the P current mirror input stage is 5:3:1.

[0052] in Figure 6 The current replication ratio of the first N current mirror output stage, the second N current mirror output stage, the third N current mirror output stage, and the N current mirror input stage is 5:5:6:0.5; the current replication ratio of the first P current mirror output stage, the second P current mirror output stage, and the P current mirror input stage is 5:6:0.5.

[0053] contrast Figure 4 and Figure 5 It can be seen that when the proportions of other proportional current mirrors remain unchanged, after the proportional current of the third N current mirror and the proportional current of the second P current mirror are changed to half of the original, the size of the transfer characteristic center point of the hysteresis comparator is also reduced to about half of the original. The first threshold voltage VTH1 changes from 0.66V to 0.355V, the second threshold voltage VTH2 changes from 0.59V to 0.285V, and the hysteresis threshold voltage remains unchanged at 70MV.

[0054] contrast Figure 4 and Figure 6 It can be seen that when the proportions of other proportional current mirrors remain unchanged, after the proportional current of the fourth N current mirror and the proportional current of the third P current mirror are changed to half of the original, the hysteresis interval width of the hysteresis comparator is reduced to about half of the original. The first threshold voltage VTH1 changes from 0.66V to 0.622V, the second threshold voltage VTH2 remains unchanged at 0.59V, and the hysteresis threshold voltage becomes 32MV, which is about half of the original.

[0055] The foregoing describes various preferred embodiments of the present invention. Unless the preferred implementation modes in various preferred embodiments are obviously self-contradictory or based on a certain preferred implementation mode, various preferred implementation modes can be arbitrarily superimposed and used in combination. The embodiments and specific parameters in the embodiments are only for clearly describing the invention verification process of the inventor, and are not intended to limit the patent protection scope of the present invention. The patent protection scope of the present invention shall still be based on its claims. All equivalent structural changes made using the contents of the specification and drawings of the present invention should be included in the protection scope of the present invention.

Claims

1. A CAN bus receiver circuit with a wide common mode range, characterized in that , including a voltage conversion circuit and a hysteresis comparator connected to the voltage conversion circuit, the voltage conversion circuit including a first resistor and a second resistor connected in series to a bus in-phase input signal terminal and a voltage adjustment terminal, and a third resistor and a fourth resistor connected in series to a bus inverting input signal terminal and a voltage adjustment terminal; The common end of the first resistor and the second resistor is used as a common-phase input voltage end, and the common end of the third resistor and the fourth resistor is used as an inverting input voltage end, which are connected to the two input ends of the hysteresis comparator.

2. The CAN bus receiver circuit with a wide common mode range as claimed in claim 1, characterized in that: The hysteresis comparator includes a differential comparator circuit, a positive feedback hysteresis circuit connected between an input terminal and an output terminal of the differential comparator circuit, the positive feedback hysteresis circuit includes a first inverter structure connected to the output terminal of the differential comparator circuit, and a second inverter structure whose input terminal is connected to the first inverter structure, the positive feedback hysteresis circuit also includes a fifth P tube and a seventh N tube, the drains of the fifth P tube and the seventh N tube are respectively connected to an inverting input voltage terminal and a non-inverting input voltage terminal, the gates are respectively connected to the output terminals of the first inverter structure and the second inverter structure, and the sources of the fifth P tube and the seventh N tube are respectively connected to current sources that provide bias currents therefor.

3. The CAN bus receiver circuit with a wide common mode range as claimed in claim 2, characterized in that: The differential comparator circuit includes an eleventh N-tube and a twelfth N-tube as differential input pair tubes, the gate of the eleventh N-tube is connected to the in-phase input voltage terminal, the gate of the twelfth N-tube is connected to the inverting input voltage terminal, the source of the eleventh N-tube and the twelfth N-tube is connected to the drain of the thirteenth N-tube, The drain of the eleventh N tube and the gate of the eighth P tube are connected to the gate and drain of the ninth P tube, and the drain of the twelfth N tube and the gate of the eleventh P tube are connected to the gate and drain of the tenth P tube; The gate of the thirteenth N tube is connected to the external bias voltage; the drain of the eighth P tube is connected to the drain and gate of the tenth N tube and the gate of the fourteenth N tube, the drain of the eleventh P tube is connected to the drain of the fourteenth N tube, and is connected to the input end of the first inverter structure; The source stages of the eighth P tube, the ninth P tube, the tenth P tube, and the eleventh P tube are all connected to the power supply of the hysteresis comparator, and the source stages of the tenth N tube and the fourteenth N tube are all connected to the ground.

4. The CAN bus receiver circuit with a wide common mode range as claimed in claim 3, characterized in that: The hysteresis comparator further includes a bias circuit, the bias circuit includes an N-tube current mirror and a P-tube current mirror, the N-tube current mirror includes an N-current mirror input stage and first, second and third N-current mirror output stages, the P-tube current mirror includes a P-current mirror input stage and first and second P-current mirror output stages; The N current mirror input stage includes a first N tube and a second N tube connected in series between a bias current input terminal and ground, the gates of the two N tubes are connected to their own drains as a bias current input terminal, the first N tube source is connected to the drain of the second N tube, and the source of the second N tube is grounded, the N current mirror output stage includes two N tubes connected in series between the current output terminal and ground, and are connected to the two N tubes of the N current mirror input stage in a current mirror connection; the gate of the second N tube is connected to the gate of the thirteenth N tube; The P current mirror input stage includes a first P tube and a second P tube connected in series between the current input terminal and the power supply, the gates of the two P tubes are connected to their own drains as the current input terminal, the source of the first P tube is connected to the drain of the second P tube, and the source of the second P tube is connected to the power supply, and the P current mirror output stage includes two P tubes connected in series between the current input terminal and the power supply, and are connected to the two P tubes of the P current mirror input stage in a current mirror manner; The current output terminal of the first N current mirror output stage is connected to the current input terminal of the P current mirror input stage, and the current output terminal of the second N current mirror output stage is connected to the in-phase input voltage terminal; The current output terminal of the first P current mirror output stage is connected to the inverting input voltage terminal; The current output end of the third N current mirror output stage is connected to the source stage of the seventh N tube, and the current input end of the second P current mirror output stage is connected to the source stage of the fifth P tube.

5. The CAN bus receiver circuit with a wide common mode range as claimed in claim 1, characterized in that: The hysteresis comparator further includes a third inverter structure as an output stage circuit.

Citation Information

Cited By

  • FlexRay bus receiver with low noise and wide common-mode input range

    CN121217506A

  • Low-temperature drift receiver for high-speed CAN transceiver

    CN121887571A