A local wake-up circuit for CAN transceiver
By using a proportional buck module and a differential comparator structure in the CAN transceiver, combined with a hysteresis generation module, the problem that the wake-up threshold is easily affected in the existing technology is solved, and a stable and accurate local wake-up function is achieved.
Patent Information
- Application Number
- CN202410460447.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-04-17
AI Technical Summary
The local wake-up circuit of existing CAN transceivers is easily affected by process, power supply voltage and temperature during high-voltage and low-voltage voltage conversion, resulting in large wake-up threshold deviations and affecting wake-up stability.
An equal-proportional step-down module is used to step-down the high-voltage signals at the VBAT end and WAKE end of the CAN transceiver in equal proportions, and the voltage threshold is adjusted through the wake-up threshold setting module. It is combined with a differential comparator structure and a hysteresis generation module to avoid the use of high-voltage MOS tubes. , reducing the effects of noise and resistance changes.
It achieves stable local wake-up of the CAN transceiver, reduces the false flip rate, avoids wake-up threshold deviations caused by resistance and temperature changes, and improves the reliability and accuracy of wake-up.
Smart Images

Figure CN118300629B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of semiconductor integrated circuits, and in particular to a local wake-up circuit applied to a CAN transceiver. Background Art
[0002] Controller Area Network (CAN) is the most widely used communication protocol in current automotive electronic applications. CAN transceivers can meet the complex communication needs inside the car. The local wake-up port can enable the chip to work normally again after detecting that the local wake-up source signal exceeds the wake-up threshold.
[0003] Commonly used CAN transceiver local wake-up circuit architectures such as Figure 1 As shown, the basic principle is that the voltage difference △V between the power supply voltage VBAT and the high-voltage port WAKE is divided by the resistor R1 to generate a current. After the current is copied by the high-voltage PDMOS current mirror, the gate voltage of the low-voltage first NMOS tube NM1 and the second NMOS tube NM2 on the branch is determined. The gate voltage is the input voltage of the common source amplifier as a comparator. When the WAKE port rises or falls beyond the wake-up threshold, the input voltage of the common source amplifier will also exceed the threshold that flips the output. Then the output of the common source amplifier passes through the Schmitt trigger and buffer, thereby converting the analog signal into a digital signal for further processing, so as to achieve the following Figure 2 The wake-up of the CAN transceiver is shown in the figure. However, the wake-up process involves voltage-current conversion under high voltage and low voltage, so that the wake-up threshold is affected by the absolute resistance of resistor R1, the threshold voltage of the high-voltage PDMOS tube, the threshold voltage of the low-voltage NMOS tube, the reference current change and noise. These parameters are easily affected by the process, power supply voltage and temperature, resulting in a large deviation from the preset wake-up threshold, which is not conducive to the local wake-up of the CAN transceiver. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention provides a local wake-up circuit applied to a CAN transceiver, thereby improving the local wake-up function of the CAN transceiver.
[0005] To achieve the above technical objectives, the present invention adopts the following technical solutions: A local wake-up circuit applied to a CAN transceiver comprises: a proportional voltage reduction module, a wake-up threshold setting module, a comparator module, a hysteresis generation module and an output drive module;
[0006] The proportional voltage reduction module is used for proportional voltage reduction of the high voltage signal of the VBAT end and the high voltage signal of the WAKE end of the CAN transceiver, and inputs the wake-up threshold setting module;
[0007] The wake-up threshold setting module directly transmits the proportionally stepped-down VBAT voltage signal to the comparator module, and raises the proportionally stepped-down WAKE voltage signal to a fixed level, so that the wake-up threshold is a fixed voltage lower than the high-voltage signal at the WAKE end of the CAN transceiver;
[0008] The comparator module amplifies and compares the output of the wake-up threshold setting module, and enters the output result of the comparison into the internal control logic of the CAN transceiver through the output driver module to realize local wake-up of the CAN transceiver;
[0009] The output result of the comparator module is used to control the on and off of the hysteresis generation module, and the magnitude of the WAKE voltage signal rise level of the wake-up threshold setting module is adjusted to realize the hysteresis of the comparator module;
[0010] The output driving module is used to enhance the output driving capability of the comparator module.
[0011] Further, the proportional buck module is composed of a VBAT buck module and a WAKE buck module, the VBAT buck module includes: a first resistor R1 and a second resistor R2, one end of the first resistor R1 is connected to the VBAT output end of the CAN transceiver, the other end of the first resistor R1 is respectively connected to one end of the second resistor R2 and the input end of the wake-up threshold setting module, and the other end of the second resistor R2 is grounded; the WAKE buck module includes: a third resistor R3 and a fourth resistor R4, one end of the third resistor R3 is connected to the WAKE output end of the CAN transceiver, the other end of the third resistor R3 is respectively connected to one end of the fourth resistor R4 and the input end of the wake-up threshold setting module, and the other end of the fourth resistor R4 is grounded.
[0012] Further, the wake-up threshold setting module includes: a reference current source Ibias, a first PMOS current mirror PM1, a second PMOS current mirror PM2, a third PMOS current mirror PM3, a second NMOS switch tube NM2, a third NMOS switch tube NM3, a fifth resistor R5, a sixth resistor R6 and a seventh resistor R7, the gate of the second NMOS switch tube NM2 and the gate of the third NMOS switch tube NM3 are both connected to the external signal EN, the source of the second NMOS switch tube NM2 and the source of the third NMOS switch tube NM3 are both connected to the proportional buck module, the drain of the second NMOS switch tube NM2 is respectively connected to one end of the seventh resistor R7 and the drain of the second PMOS current mirror PM2, the other end of the seventh resistor R7 is connected to the input end of the comparator module, and the second PMOS switch tube NM2 is connected to the input end of the comparator module. The gate of the MOS current mirror PM2 is respectively connected to the gate of the first PMOS current mirror PM1, the drain of the first PMOS current mirror PM1, the input end of the reference current source Ibias, the gate of the third PMOS current mirror PM3, and the comparator module. The output end of the reference current source Ibias is grounded. The source of the first PMOS current mirror PM1, the source of the second PMOS current mirror PM2, and the source of the third PMOS current mirror PM3 are all connected to the power supply voltage VDD. The drain of the third PMOS current mirror PM3 is respectively connected to one end of the sixth resistor R6 and the input end of the comparator module. The other end of the sixth resistor R6 is respectively connected to one end of the fifth resistor R5 and the hysteresis generating module. The other end of the fifth resistor R5 is respectively connected to the drain of the third NMOS switch tube NM3 and the hysteresis generating module.
[0013] Further, the source of the second NMOS switch tube NM2 is connected to one end where the first resistor R1 and the second resistor R2 are connected, and the source of the third NMOS switch tube NM3 is connected to one end where the third resistor R3 and the fourth resistor R4 are connected.
[0014] Further, the comparator module includes: a fourth PMOS current mirror PM4, a fifth PMOS current mirror PM5, a sixth PMOS tube PM6, a seventh PMOS tube PM7, a fourth load current mirror NM4, a fifth load current mirror NM5, a sixth NMOS tube NM6 and a Schmitt trigger Schmitt1, the gate of the sixth PMOS tube PM6 and the gate of the seventh PMOS tube PM7 are both connected to the output end of the wake-up threshold setting module, the source of the sixth PMOS tube PM6 and the source of the seventh PMOS tube PM7 are both connected to the drain of the fourth PMOS current mirror PM4, the source of the fourth PMOS current mirror and the source of the fifth PMOS current mirror PM5 are both connected to the power supply voltage VDD, the gate of the fourth PMOS current mirror PM4 and the gate of the fifth PMOS current mirror PM5 are both connected to the wake-up threshold setting module, and the sixth PMOS The drain of the transistor PM6 is respectively connected to the drain of the fourth load current mirror NM4, the gate of the fourth load current mirror NM4, and the gate of the fifth load current mirror NM5. The source of the fourth load current mirror NM4 and the source of the fifth load current mirror NM5 are both grounded. The drain of the fifth load current mirror NM5 is respectively connected to the drain of the seventh PMOS transistor PM7 and the gate of the sixth NMOS transistor NM6. The source of the sixth NMOS transistor NM6 is grounded. The drain of the sixth NMOS transistor NM6 and the drain of the fifth PMOS current mirror NM5 are both connected to the input end of the Schmitt trigger Schmitt1. The output end of the Schmitt trigger Schmitt1 is respectively connected to the input ends of the hysteresis generation module and the output driving module. The power supply end of the Schmitt trigger Schmitt1 is connected to the power supply VDD, and the ground end of the Schmitt trigger Schmitt1 is grounded.
[0015] Furthermore, the gate of the sixth PMOS tube PM6 is connected to the drain of the third PMOS current mirror PM3 and one end connected to the sixth resistor R6, and the gate of the seventh PMOS tube PM7 is connected to the other end of the seventh resistor R7; the gate of the fourth PMOS current mirror PM4 and the gate of the fifth PMOS current mirror PM5 are both connected to the gate of the first PMOS current mirror PM1, the drain of the first PMOS current mirror PM1, the input end of the reference current source Ibias, the gate of the second PMOS current mirror PM2, and the gate of the third PMOS current mirror PM3.
[0016] Further, the Schmitt trigger Schmitt1 includes: an eighth PMOS tube PM8, a ninth PMOS tube PM9, a tenth PMOS tube PM10, a seventh NMOS tube NM7, an eighth NMOS tube NM8 and a ninth NMOS tube NM9, the gate of the eighth PMOS tube PM8, the gate of the ninth PMOS tube PM9, the gate of the eighth NMOS tube NM8 and the gate of the seventh NMOS tube NM7 serve as the input end of the Schmitt trigger Schmitt1, the source of the eighth PMOS tube PM8 is connected to the power supply voltage VDD, the drain of the eighth PMOS tube PM8, the drain of the ninth PMOS tube PM9 and the drain of the eighth PMOS tube PM8 are connected to the power supply voltage VDD, and the drain of the eighth PMOS tube PM8 and the drain of the ninth PMOS tube PM9 are connected to the power supply voltage VDD. The sources of the S transistor PM9 are connected to the source of the tenth PMOS transistor PM10, the drain of the tenth PMOS transistor PM10 is grounded, the drain of the ninth PMOS transistor PM9, the drain of the eighth NMOS transistor NM8, the gate of the tenth PMOS transistor PM10, and the gate of the ninth NMOS transistor NM9 serve as the output end of the Schmitt trigger Schmitt1, the source of the eighth NMOS transistor NM8 is respectively connected to the drain of the seventh NMOS transistor NM7 and the source of the ninth NMOS transistor NM9, the drain of the ninth NMOS transistor NM9 is connected to the power supply voltage VDD, and the source of the seventh NMOS transistor NM7 is grounded.
[0017] Furthermore, the hysteresis generating module adopts a first NMOS tube NM1, a gate of the first NMOS tube NM1 is connected to the input end of the Schmitt trigger Schmitt1, a drain of the first NMOS tube NM1 is connected to one end connected to the sixth resistor R6 and the fifth resistor R5, and a source of the first NMOS tube NM1 is connected to one end connected to the fifth resistor R5 and the drain of the third NMOS tube NM3.
[0018] Further, the output driving module includes: an eleventh PMOS tube PM11, a twelfth PMOS tube PM12, a tenth NMOS tube NM10 and an eleventh NMOS tube NM11, the gate of the eleventh PMOS tube PM11 and the gate of the tenth NMOS tube NM10 serve as input ends of the output driving module, the source of the eleventh PMOS tube PM11 and the source of the twelfth PMOS tube PM12 are both connected to the power supply voltage VDD, the drain of the eleventh PMOS tube PM11 is respectively connected to the drain of the tenth NMOS tube NM10, the gate of the twelfth PMOS tube PM12 and the gate of the eleventh NMOS tube NM11, the source of the tenth NMOS tube NM10 and the source of the eleventh NMOS tube NM11 are both grounded, and the drain of the twelfth PMOS tube PM12 and the drain of the eleventh NMOS tube NM11 serve as output ends of the output driving module.
[0019] Compared with the prior art, the present invention has the following beneficial effects: the local wake-up circuit applied to the CAN transceiver of the present invention adopts a proportional step-down module to proportionally step down the high-voltage signal of the VBAT end and the high-voltage signal of the WAKE end of the CAN transceiver, so that while retaining the effective differential signal, the output voltage is reduced to a voltage range within which the subsequent module can work normally, and the influence caused by the change of the absolute resistance value of the resistor is avoided; the stepped-down WAKE end voltage signal enters the wake-up threshold setting module to raise the fixed level, and when the WAKE level exceeds the wake-up threshold, the CAN transceiver is locally woken up, and then input into the comparator module for comparison with the signal after VBAT voltage division. Compared with the single-ended comparator structure in the traditional local wake-up circuit, The proportional step-down module proportionally steps down the WAKE voltage signal and the VBAT voltage signal to be compared, and converts them into low-voltage signals. The present invention avoids using high-voltage MOS tubes, and adopts a differential comparator structure composed of a sixth PMOS tube PM6 and a seventh PMOS tube PM7 in the comparator module, thereby avoiding the influence of the high-voltage PDMOS tube threshold voltage, the low-voltage NMOS tube threshold voltage, the reference current change and the noise on the local wake-up threshold voltage in the traditional structure; in addition, the present invention introduces a feedback mechanism through a hysteresis generation module, controls the size of the access resistor, and then controls the size of the lift level, thereby realizing the hysteresis of the comparator module, and avoiding the erroneous flipping of the local wake-up output of the CAN transceiver caused by the fluctuation of the VBAT terminal and the WAKE terminal of the CAN transceiver. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of the local wake-up circuit architecture of an existing CAN transceiver;
[0021] Figure 2 This is a schematic diagram of local wake-up on the rising and falling edges of WAKE;
[0022] Figure 3 It is a schematic diagram of the local wake-up circuit architecture of the CAN transceiver of the present invention;
[0023] Figure 4 Schematic diagram of the structure of the Schmitt trigger circuit used in the present invention;
[0024] Figure 5 Schematic diagram of the structure of the output drive circuit used in the present invention. DETAILED DESCRIPTION
[0025] The technical solution of the present invention is further explained below in conjunction with the accompanying drawings.
[0026] like Figure 3The schematic diagram of the local wake-up circuit architecture of the CAN transceiver of the present invention comprises: a proportional voltage reduction module, a wake-up threshold setting module, a comparator module, a hysteresis generating module and an output driving module; the proportional voltage reduction module is used for proportional voltage reduction of the high-voltage signal of the VBAT end and the high-voltage signal of the WAKE end of the CAN transceiver, and inputs the wake-up threshold setting module; the wake-up threshold setting module directly transmits the proportionally reduced VBAT voltage signal to the comparator module, and raises the proportionally reduced WAKE voltage signal to a fixed level, so that the wake-up threshold is a fixed voltage lower than the high-voltage signal of the WAKE end of the CAN transceiver; the comparator module amplifies and compares the output of the wake-up threshold setting module, and enters the internal control logic of the CAN transceiver via the output driving module to realize the local wake-up of the CAN transceiver. The E voltage signal and the VBAT voltage signal are proportionally stepped down to become low-voltage signals. The present invention avoids the use of high-voltage MOS tubes, and adopts a differential comparator structure composed of a sixth PMOS tube PM6 and a seventh PMOS tube PM7 in the comparator module, thereby avoiding the influence of the high-voltage PDMOS tube threshold voltage, the low-voltage NMOS tube threshold voltage, the reference current change and the noise on the local wake-up threshold voltage in the traditional structure; a feedback mechanism is introduced by controlling the hysteresis generation module through the output of the comparator module, and the size of the access resistor is controlled by turning on and off the hysteresis generation module, and the size of the WAKE voltage signal lift level of the proportional step-down in the wake-up threshold setting module is adjusted to realize the hysteresis of the comparator module, thereby avoiding the erroneous flipping of the local wake-up output of the CAN transceiver caused by the fluctuation of the VBAT terminal and the WAKE terminal of the CAN transceiver; the output drive module is used to enhance the output drive capability of the comparator module.
[0027] The medium-proportional buck module of the present invention is composed of a VBAT buck module and a WAKE buck module, the VBAT buck module includes: a first resistor R1 and a second resistor R2, one end of the first resistor R1 is connected to the VBAT output end of the CAN transceiver, the other end of the first resistor R1 is respectively connected to one end of the second resistor R2 and the input end of the wake-up threshold setting module, and the other end of the second resistor R2 is grounded; the WAKE buck module includes: a third resistor R3 and a fourth resistor R4, one end of the third resistor R3 is connected to the WAKE output end of the CAN transceiver, the other end of the third resistor R3 is respectively connected to one end of the fourth resistor R4 and the input end of the wake-up threshold setting module, and the other end of the fourth resistor R4 is grounded. In the present invention, the ratio of the first resistor R1 to the second resistor R2 is equal to the ratio of the third resistor R3 to the fourth resistor R4, thereby reducing the influence of the temperature process, avoiding the influence of the absolute resistance change of the resistor, and ensuring that the resistance values of the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 are as large as possible under the premise of achieving proportional pressure, thereby reducing power consumption. The proportional voltage reduction module reduces the high voltage signals at the VBAT and WAKE ends of the CAN transceiver to a voltage range within which the subsequent modules can work normally while retaining the effective differential signals at the VBAT and WAKE ends of the CAN transceiver.
[0028] The wake-up threshold setting module in the present invention includes: a reference current source Ibias, a first PMOS current mirror PM1, a second PMOS current mirror PM2, a third PMOS current mirror PM3, a second NMOS switch tube NM2, a third NMOS switch tube NM3, a fifth resistor R5, a sixth resistor R6 and a seventh resistor R7. The gate of the second NMOS switch tube NM2 and the gate of the third NMOS switch tube NM3 are both connected to the external signal EN, and the source of the second NMOS switch tube NM2 and the source of the third NMOS switch tube NM3 are both connected to the proportional step-down module. Specifically, the source of the second NMOS switch tube NM2 is connected to one end connected to the first resistor R1 and the second resistor R2, the source of the third NMOS switch tube NM3 is connected to one end connected to the third resistor R3 and the fourth resistor R4, and the drain of the second NMOS switch tube NM2 is connected to one end of the seventh resistor R7, the second PMOS The drain of the current mirror PM2 is connected, the other end of the seventh resistor R7 is connected to the input end of the comparator module, the gate of the second PMOS current mirror PM2 is respectively connected to the gate of the first PMOS current mirror PM1, the drain of the first PMOS current mirror PM1, the input end of the reference current source Ibias, the gate of the third PMOS current mirror PM3, and the comparator module, the output end of the reference current source Ibias is grounded, the source of the first PMOS current mirror PM1, the source of the second PMOS current mirror PM2, and the source of the third PMOS current mirror PM3 are all connected to the power supply voltage VDD, the drain of the third PMOS current mirror PM3 is respectively connected to one end of the sixth resistor R6 and the input end of the comparator module, the other end of the sixth resistor R6 is respectively connected to one end of the fifth resistor R5 and the hysteresis generating module, and the other end of the fifth resistor R5 is respectively connected to the drain of the third NMOS switch tube NM3 and the hysteresis generating module. Since the current of the second current mirror PM2 does not pass through the resistor, the proportionally stepped-down VBAT voltage signal is directly output; the current through the third current mirror PM3 generates a voltage drop on the fifth resistor R5 and the sixth resistor R6, and the output voltage of WAKE after voltage division is raised to a fixed level. Therefore, when WAKE differs from VBAT by a fixed voltage, the comparator module will flip to ensure that the wake-up threshold is a fixed voltage lower than the high-voltage signal at the WAKE end of the CAN transceiver, thereby realizing the setting of the wake-up threshold.
[0029] The comparator module in the present invention includes: a fourth PMOS current mirror PM4, a fifth PMOS current mirror PM5, a sixth PMOS tube PM6, a seventh PMOS tube PM7, a fourth load current mirror NM4, a fifth load current mirror NM5, a sixth NMOS tube NM6 and a Schmitt trigger Schmitt1, the gate of the sixth PMOS tube PM6 and the gate of the seventh PMOS tube PM7 are both connected to the output end of the wake-up threshold setting module, specifically, the gate of the sixth PMOS tube PM6 is connected to the drain of the third PMOS current mirror PM3, the sixth resistor R6 The gate of the seventh PMOS tube PM7 is connected to the other end of the seventh resistor R7; the source of the sixth PMOS tube PM6 and the source of the seventh PMOS tube PM7 are both connected to the drain of the fourth PMOS current mirror PM4, the source of the fourth PMOS current mirror and the source of the fifth PMOS current mirror PM5 are both connected to the power supply voltage VDD, the gate of the fourth PMOS current mirror PM4 and the gate of the fifth PMOS current mirror PM5 are both connected to the wake-up threshold setting module, specifically, the gate of the fourth PMOS current mirror PM4 and the gate of the fifth PMOS current mirror PM5 are both connected to the wake-up threshold setting module. The gate of the current mirror PM5 is connected to the gate of the first PMOS current mirror PM1, the drain of the first PMOS current mirror PM1, the input end of the reference current source Ibias, the gate of the second PMOS current mirror PM2, and the gate of the third PMOS current mirror PM3; the drain of the sixth PMOS tube PM6 is respectively connected to the drain of the fourth load current mirror NM4, the gate of the fourth load current mirror NM4, and the gate of the fifth load current mirror NM5, the source of the fourth load current mirror NM4 and the source of the fifth load current mirror NM5 are both grounded, and the fifth load current mirror NM5 is grounded. The drain of the seventh PMOS tube PM7 is respectively connected to the drain of the seventh PMOS tube PM7 and the gate of the sixth NMOS tube NM6, the source of the sixth NMOS tube NM6 is grounded, the drain of the sixth NMOS tube NM6 and the drain of the fifth PMOS current mirror NM5 are both connected to the input end of the Schmitt trigger Schmitt1, the output end of the Schmitt trigger Schmitt1 is respectively connected to the input end of the hysteresis generating module and the output driving module, the power supply end of the Schmitt trigger Schmitt1 is connected to the power supply VDD, and the ground end of the Schmitt trigger Schmitt1 is grounded.In the present invention, the fourth PMOS current mirror PM4 provides a bias current, and the fifth PMOS current mirror PM5 provides a bias current, so that the comparator module works normally, and the signal after the WAKE is proportionally stepped down and raised is input to the gate of the sixth PMOS tube PM6, and the signal after the VBAT is proportionally stepped down is input to the gate of the seventh PMOS tube PM7. The comparator module amplifies and compares the difference between the above two signals. When the signal after the WAKE is proportionally stepped down and raised is greater than the signal after the VBAT is proportionally stepped down, the comparator module outputs a high level, otherwise it outputs a low level, and the output result after the step-down comparison enters the internal control logic of the CAN transceiver via the output drive module to realize local wake-up of the CAN transceiver.
[0030] like Figure 4 The Schmitt trigger Schmitt1 includes: an eighth PMOS tube PM8, a ninth PMOS tube PM9, a tenth PMOS tube PM10, a seventh NMOS tube NM7, an eighth NMOS tube NM8 and a ninth NMOS tube NM9. The gate of the eighth PMOS tube PM8, the gate of the ninth PMOS tube PM9, the gate of the eighth NMOS tube NM8 and the gate of the seventh NMOS tube NM7 serve as the input end of the Schmitt trigger Schmitt1. The source of the eighth PMOS tube PM8 is connected to the power supply voltage VDD. The drain of the eighth PMOS tube PM8 and the drain of the ninth PMOS tube PM9 are connected to the power supply voltage VDD. The source of the transistor PM9 is connected to the source of the tenth PMOS transistor PM10, the drain of the tenth PMOS transistor PM10 is grounded, the drain of the ninth PMOS transistor PM9, the drain of the eighth NMOS transistor NM8, the gate of the tenth PMOS transistor PM10, and the gate of the ninth NMOS transistor NM9 serve as the output end of the Schmitt trigger Schmitt1, the source of the eighth NMOS transistor NM8 is respectively connected to the drain of the seventh NMOS transistor NM7 and the source of the ninth NMOS transistor NM9, the drain of the ninth NMOS transistor NM9 is connected to the power supply voltage VDD, and the source of the seventh NMOS transistor NM7 is grounded.
[0031] The hysteresis generating module in the present invention adopts a first NMOS tube NM1, a gate of the first NMOS tube NM1 is connected to the input end of the Schmitt trigger Schmitt1, a drain of the first NMOS tube NM1 is connected to one end where the sixth resistor R6 and the fifth resistor R5 are connected, and a source of the first NMOS tube NM1 is connected to one end where the fifth resistor R5 and the drain of the third NMOS tube NM3 are connected. The output of the comparator module controls the on and off of the first NMOS tube NM1. When the comparator module outputs a high level, the first NMOS tube NM1 is turned off, the fifth resistor R5 is connected in series with the sixth resistor R6, and the proportionally stepped-down WAKE voltage signal is jointly raised by the wake-up threshold setting module connected to the fifth resistor R5 and the sixth resistor R6; when the comparator module outputs a low level, the first NMOS tube NM1 is turned on, the fifth resistor R5 is short-circuited, and the sixth resistor R6 is connected to the wake-up threshold setting module to raise the proportionally stepped-down WAKE voltage signal; when the output of the comparator module changes from low to high, the raised voltage of the proportionally stepped-down WAKE voltage signal becomes larger, and even if the input signal WAKE is slightly fluctuated, the output of the comparator module will not change from high to low. Therefore, the present invention controls the on and off of the first NMOS tube NM1 to realize whether the fifth resistor R5 is connected to the wake-up threshold setting module circuit, and then controls the magnitude of the raised level to realize the hysteresis of the comparator module.
[0032] like Figure 5 The output driving module includes: an eleventh PMOS tube PM11, a twelfth PMOS tube PM12, a tenth NMOS tube NM10 and an eleventh NMOS tube NM11, the gate of the eleventh PMOS tube PM11 and the gate of the tenth NMOS tube NM10 serve as the input end of the output driving module, the source of the eleventh PMOS tube PM11 and the source of the twelfth PMOS tube PM12 are both connected to the power supply voltage VDD, the drain of the eleventh PMOS tube PM11 is respectively connected to the drain of the tenth NMOS tube NM10, the gate of the twelfth PMOS tube PM12 and the gate of the eleventh NMOS tube NM11, the source of the tenth NMOS tube NM10 and the source of the eleventh NMOS tube NM11 are both grounded, the drain of the twelfth PMOS tube PM12 and the drain of the eleventh NMOS tube NM11 serve as the output end of the output driving module, and the output driving capability of the comparator module is enhanced.
[0033] The specific working process of the local wake-up circuit of the CAN transceiver of the present invention is as follows: a high-voltage wake-up signal WAKE is input locally in the CAN transceiver, WAKE and VBAT are used as high-voltage differential signals and are simultaneously input into the proportional step-down module, and the differential signals are retained while the VBAT and WAKE are step-down processed. The proportional buck module inputs the differential signal after the buck into the wake-up threshold setting module, and the wake-up threshold setting module directly outputs the output voltage after the VBAT voltage division, and raises the output voltage after the WAKE voltage division to a fixed level, so when WAKE differs from VBAT by a fixed voltage, the comparator module will flip to achieve the setting of the wake-up threshold; the wake-up threshold setting module inputs the differential signal into the comparator module, and the comparator module amplifies and compares the difference between the two signals. When the signal after the WAKE proportional buck and raise is greater than the signal after the VBAT proportional buck, the comparator module outputs a high level, otherwise it outputs a low level, and the comparison result enters the internal control logic of the CAN transceiver after the output drive module enhances the output drive capability. When the comparison result jumps from high to low or from low to high, the local wake-up of the CAN transceiver is achieved. The local wake-up circuit of the CAN transceiver of the present invention can improve the function of the local wake-up of the CAN transceiver, and at the same time, the probability of false wake-up is reduced by the hysteresis generation module.
[0034] 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 local wake-up circuit applied to a CAN transceiver, characterized in that: include: Proportional buck module, wake-up threshold setting module, comparator module, hysteresis generation module and output drive module; The proportional voltage reduction module is used for proportional voltage reduction of the high voltage signal of the VBAT end and the high voltage signal of the WAKE end of the CAN transceiver, and inputs the wake-up threshold setting module; The wake-up threshold setting module directly transmits the proportionally stepped-down VBAT voltage signal to the comparator module, and raises the proportionally stepped-down WAKE voltage signal to a fixed level to obtain the wake-up threshold; The comparator module amplifies and compares the output of the wake-up threshold setting module, and enters the output result of the comparison into the internal control logic of the CAN transceiver through the output driver module to realize local wake-up of the CAN transceiver; The output result of the comparator module is used to control the on and off of the hysteresis generation module, and the magnitude of the WAKE voltage signal lift level of the wake-up threshold setting module is adjusted to achieve the hysteresis of the comparator module; the hysteresis module adopts the first NMOS tube NM1; The output driving module is used to enhance the output driving capability of the comparator module; The wake-up threshold setting module includes: a reference current source Ibias, a first PMOS current mirror PM1, a second PMOS current mirror PM2, a third PMOS current mirror PM3, a second NMOS switch tube NM2, a third NMOS switch tube NM3, a fifth resistor R5, a sixth resistor R6 and a seventh resistor R7, the gate of the second NMOS switch tube NM2 and the gate of the third NMOS switch tube NM3 are both connected to the external signal EN, the source of the second NMOS switch tube NM2 is connected to one end connected to the first resistor R1 and the second resistor R2, the source of the third NMOS switch tube NM3 is connected to one end connected to the third resistor R3 and the fourth resistor R4, the drain of the second NMOS switch tube NM2 is respectively connected to one end of the seventh resistor R7 and the drain of the second PMOS current mirror PM2, the other end of the seventh resistor R7 is connected to the gate of the seventh PMOS tube PM7 in the comparator module, the gate of the second PMOS current mirror PM2 is respectively connected to the gate of the third resistor R3 and the fourth resistor R4. The gate of a PMOS current mirror PM1, the drain of the first PMOS current mirror PM1, the input end of the reference current source Ibias, the gate of the third PMOS current mirror PM3, and the gate of the fourth PMOS current mirror PM4 and the gate of the fifth PMOS current mirror PM5 in the comparator module are connected, the output end of the reference current source Ibias is grounded, the source of the first PMOS current mirror PM1, the source of the second PMOS current mirror PM2, and the source of the third PMOS current mirror PM3 are all connected to the power supply voltage VDD, the drain of the third PMOS current mirror PM3 is respectively connected to one end of the sixth resistor R6 and the gate of the sixth PMOS tube PM6 in the comparator module, the other end of the sixth resistor R6 is respectively connected to one end of the fifth resistor R5 and the drain of the first NMOS tube NM1 in the hysteresis generating module, and the other end of the fifth resistor R5 is respectively connected to the drain of the third NMOS switch tube NM3 and the source of the first NMOS tube NM1 in the hysteresis generating module; The comparator module includes: a fourth PMOS current mirror PM4, a fifth PMOS current mirror PM5, a sixth PMOS tube PM6, a seventh PMOS tube PM7, a fourth load current mirror NM4, a fifth load current mirror NM5, a sixth NMOS tube NM6 and a Schmitt trigger Schmitt1, the source of the sixth PMOS tube PM6 and the source of the seventh PMOS tube PM7 are both connected to the drain of the fourth PMOS current mirror PM4, the source of the fourth PMOS current mirror and the source of the fifth PMOS current mirror PM5 are both connected to the power supply voltage VDD, the drain of the sixth PMOS tube PM6 is respectively connected to the drain of the fourth load current mirror NM4, the gate of the fourth load current mirror NM4 and the gate of the fifth load current mirror NM5, The source of the fourth load current mirror NM4 and the source of the fifth load current mirror NM5 are both grounded, the drain of the fifth load current mirror NM5 is respectively connected to the drain of the seventh PMOS tube PM7 and the gate of the sixth NMOS tube NM6, the source of the sixth NMOS tube NM6 is grounded, the drain of the sixth NMOS tube NM6, the drain of the fifth PMOS current mirror PM5 and the gate of the first NMOS tube NM1 are all connected to the input end of the Schmitt trigger Schmitt1, the output end of the Schmitt trigger Schmitt1 is respectively connected to the input ends of the hysteresis generation module and the output driving module, the power supply end of the Schmitt trigger Schmitt1 is connected to the power supply VDD, and the ground end of the Schmitt trigger Schmitt1 is grounded.
2. The local wake-up circuit for a CAN transceiver according to claim 1, characterized in that: The proportional buck module is composed of a VBAT buck module and a WAKE buck module, wherein the VBAT buck module includes: a first resistor R1 and a second resistor R2, wherein one end of the first resistor R1 is connected to the VBAT output end of the CAN transceiver, the other end of the first resistor R1 is respectively connected to one end of the second resistor R2 and the input end of the wake-up threshold setting module, and the other end of the second resistor R2 is grounded; the WAKE buck module includes: a third resistor R3 and a fourth resistor R4, wherein one end of the third resistor R3 is connected to the WAKE output end of the CAN transceiver, the other end of the third resistor R3 is respectively connected to one end of the fourth resistor R4 and the input end of the wake-up threshold setting module, and the other end of the fourth resistor R4 is grounded.
3. The local wake-up circuit for a CAN transceiver according to claim 1, characterized in that: The Schmitt trigger Schmitt1 includes: an eighth PMOS tube PM8, a ninth PMOS tube PM9, a tenth PMOS tube PM10, a seventh NMOS tube NM7, an eighth NMOS tube NM8 and a ninth NMOS tube NM9, the gate of the eighth PMOS tube PM8, the gate of the ninth PMOS tube PM9, the gate of the eighth NMOS tube NM8 and the gate of the seventh NMOS tube NM7 serve as the input end of the Schmitt trigger Schmitt1, the source of the eighth PMOS tube PM8 is connected to the power supply voltage VDD, the drain of the eighth PMOS tube PM8, the drain of the ninth PMOS tube PM9 and the drain of the eighth NMOS tube PM8 are connected to the power supply voltage VDD, and the gate of the ninth NMOS tube PM9 is connected to the power supply voltage VDD. The sources of M9 are all connected to the source of the tenth PMOS tube PM10, the drain of the tenth PMOS tube PM10 is grounded, the drain of the ninth PMOS tube PM9, the drain of the eighth NMOS tube NM8, the gate of the tenth PMOS tube PM10, and the gate of the ninth NMOS tube NM9 serve as the output end of the Schmitt trigger Schmitt1, the source of the eighth NMOS tube NM8 is respectively connected to the drain of the seventh NMOS tube NM7 and the source of the ninth NMOS tube NM9, the drain of the ninth NMOS tube NM9 is connected to the power supply voltage VDD, and the source of the seventh NMOS tube NM7 is grounded.
4. The local wake-up circuit applied to a CAN transceiver according to claim 3, characterized in that: The output driving module includes: an eleventh PMOS tube PM11, a twelfth PMOS tube PM12, a tenth NMOS tube NM10 and an eleventh NMOS tube NM11, the gate of the eleventh PMOS tube PM11 and the gate of the tenth NMOS tube NM10 serve as the input end of the output driving module, the source of the eleventh PMOS tube PM11 and the source of the twelfth PMOS tube PM12 are both connected to the power supply voltage VDD, the drain of the eleventh PMOS tube PM11 is respectively connected to the drain of the tenth NMOS tube NM10, the gate of the twelfth PMOS tube PM12 and the gate of the eleventh NMOS tube NM11, the source of the tenth NMOS tube NM10 and the source of the eleventh NMOS tube NM11 are both grounded, and the drain of the twelfth PMOS tube PM12 and the drain of the eleventh NMOS tube NM11 serve as the output end of the output driving module.
Citation Information
Patent Citations
Noncontact power transmission device
CN101272063A
Electronic device, battery charger, and electronic device battery-charging system
CN101983466A
Method and device for detecting a device in a wireless power transmission system
CN102449874A
Adjustable threshold current comparison circuit
CN117411472A
Charging wake-up circuit and system based on BMS application
CN117639183A
