CAN bus local wake-up circuit, CAN bus and local wake-up method

By introducing an input detection module and a power consumption reduction module into the CAN bus local wake-up circuit to provide pull-up or pull-down current to reduce power consumption and improve voltage resistance, the high power consumption and reliability of the CAN bus local wake-up circuit in the existing technology are solved. Solve the problem of insufficient power and achieve circuit design with lower power consumption and higher reliability.

CN118170238BActive Publication Date: 2024-09-03HUNAN XINLITE ELECTRONIC TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211583752.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2024-09-03
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

The existing CAN bus local wake-up circuit consumes a lot of power and lacks reliability, making it easy to be broken down.

Method used

A CAN bus local wake-up circuit including an input detection module and a power consumption reduction module is designed to provide pull-up or pull-down current by detecting the high and low levels of signals, reducing power consumption and improving voltage resistance.

Benefits of technology

It effectively reduces the power consumption of the CAN bus application system, enhances the reliability and stability of the circuit, and avoids the risk of internal module breakdown.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118170238B
    Figure CN118170238B
Patent Text Reader

Abstract

The present invention provides a CAN bus local wake-up circuit, a CAN bus and a local wake-up method, comprising: an input detection module and a power consumption reduction module; the input end of the input detection module receives a signal to be detected, checks the level of the signal to be detected and outputs a detection signal, wherein the amplitude of the detection signal is less than the amplitude of the signal to be detected; the control end of the power consumption reduction module is connected to the output end of the input detection module, and provides a pull-up current to the input end of the input detection module when the detection signal is at a high level, and provides a pull-down current to the input end of the input detection module when the detection signal is at a low level. The present invention reduces the power consumption of the wake-up detection circuit through the power consumption reduction circuit, and also reduces the power consumption of the CAN bus. In addition, the present invention also performs voltage resistance treatment on the circuit, thereby improving the reliability of the circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of integrated circuit manufacturing, and in particular to a CAN bus local wake-up circuit, a CAN bus and a local wake-up method. Background Art

[0002] CAN is the abbreviation of Controller Area Network (hereinafter referred to as CAN), which is an ISO internationally standardized serial communication protocol. In the field of electronic control, a total system may have multiple subsystems that can work independently. These subsystems share data and work together through the CAN bus. Due to the characteristics of safety, convenience, low power consumption and low cost, the CAN bus is widely used in electronic control systems, especially in automotive computer control systems.

[0003] The CAN bus system has an excellent low-power mode management system, such as normal operation, mute, standby and sleep control modes. Sleep mode is the lowest power mode of the CAN bus application system. At the same time, minimizing the power consumption in sleep mode can reduce the power consumption when it is not working normally. In sleep mode, the CAN bus can be awakened in two ways, which can be divided into local wakeup and remote wakeup according to the different wakeup sources. Local wakeup means that the wakeup source comes from its own module; remote wakeup means that the wakeup source comes from the message of the CAN bus.

[0004] When the CAN bus application system uses local wake-up, a wake-up port is set in the local node. At this time, only VBAT is usually used for power supply. The local wake-up request is set by switching different voltages through the wake-up port. The switching of this voltage is related to VBAT, and the switching of the voltage needs to reach a certain trigger value, that is, a certain trigger level to be detected. Therefore, it is necessary to set a certain detection circuit to detect the trigger level, but setting the detection circuit to continuously trigger the trigger level will increase the power consumption of the CAN bus application system. In addition, since the switching voltage value is high and low, in order to avoid the circuit from being broken down when connecting different voltage values, the current CAN bus application system will use high-voltage tubes and other devices to reduce the voltage at the local wake-up node. However, the high-voltage tube is used as a step-down structure, the stability is insufficient, and the reliability is low. The CAN bus application system is prone to breakdown at the local wake-up node.

[0005] Based on the above reasons, the present invention proposes a CAN bus local wake-up circuit, a CAN bus and a local wake-up method, which can reduce the power consumption of the CAN bus local wake-up circuit and increase the reliability of the CAN bus.

[0006] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of the present application and for the convenience of understanding by those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because they are described in the background technology section of the present application. Summary of the invention

[0007] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a CAN bus local wake-up circuit, a CAN bus and a local wake-up method, so as to solve the problems of high power consumption and insufficient reliability of the CAN bus local wake-up in the prior art.

[0008] To achieve the above-mentioned object and other related objects, the present invention provides a CAN bus local wake-up circuit, which at least includes: an input detection module and a power consumption reduction module;

[0009] The input end of the input detection module receives the signal to be detected, checks the level of the signal to be detected and outputs a detection signal, wherein the amplitude of the detection signal is smaller than the amplitude of the signal to be detected;

[0010] The control end of the power consumption reduction module is connected to the output end of the input detection module, and provides a pull-up current to the input end of the input detection module when the detection signal is at a high level, and provides a pull-down current to the input end of the input detection module when the detection signal is at a low level.

[0011] Optionally, the input detection module includes a first current mirror, a first NMOS tube, a second NMOS tube and a Schmitt trigger; the input end of the first current mirror receives the signal to be detected, and the output end is connected to the drain of the first NMOS tube; the gate of the first NMOS tube is connected to the power supply voltage; the source of the first NMOS tube is connected to the drain of the second NMOS tube and the input end of the Schmitt trigger; the output end of the Schmitt trigger outputs the detection signal; the gate of the second NMOS tube is connected to the bias voltage, and the source is grounded.

[0012] Optionally, the first current mirror includes a first resistor, a first PMOS tube and a second PMOS tube; the first end of the first resistor receives the signal to be detected, and the second end is connected to the drain of the first PMOS tube; the source of the first PMOS tube is connected to the working voltage, and the gate and the drain are connected; the working voltage is greater than the power supply voltage; the source of the second PMOS tube is connected to the working voltage, the gate is connected to the gate of the first PMOS tube, and the drain is connected to the drain of the first NMOS tube.

[0013] Optionally, the power consumption reduction module includes a pull-up unit and a pull-down unit; the power consumption reduction module controls the opening and closing of the pull-up unit according to a first switch control signal, and controls the opening and closing of the pull-down unit according to a second switch control signal; wherein, the first switch control signal is in phase with the signal to be detected, and the second switch control signal is in antiphase with the signal to be detected.

[0014] Optionally, a first inverter is provided at the output end of the input detection module; the output end of the input detection module is respectively connected to the input end of the first inverter and the control end of the pull-up unit to provide the first switch control signal to the pull-up unit; the output end of the first inverter is connected to the control end of the pull-down unit to provide the second switch control signal to the pull-down unit.

[0015] Optionally, the pull-up unit includes a second current mirror, a third NMOS tube, a fourth NMOS tube and a second resistor; the source of the third NMOS tube is grounded, and the gate is connected to a bias voltage; the source of the fourth NMOS is connected to the drain of the third NMOS tube, and the gate is connected to the first switch control signal; the input end of the second current mirror is connected to the drain of the fourth NMOS tube, and the output end is connected to the first end of the second resistor; the second end of the second resistor is connected to the input end of the input detection module.

[0016] Optionally, the second current mirror includes a third PMOS tube, a fourth PMOS tube, a fifth PMOS tube, a sixth PMOS tube, a third resistor and a fourth resistor; the first end of the third resistor is connected to the drain of the fourth NMOS tube, and the second end is connected to the first end of the fourth resistor; the second end of the fourth resistor is connected to the drain of the third PMOS tube; the source of the third PMOS tube is connected to the drain of the fourth PMOS tube; the source of the fourth PMOS tube is connected to the operating voltage; the source of the fifth PMOS tube is connected to the operating voltage, and the drain is connected to the source of the sixth PMOS tube; the drain of the sixth PMOS tube is connected to the first end of the second resistor; the gate of the fourth PMOS tube is connected to the gate of the fifth PMOS tube, and is connected to the connection node of the fourth resistor and the third PMOS tube; the gate of the third PMOS tube is connected to the gate of the sixth PMOS tube, and is connected to the connection node of the third resistor and the fourth resistor.

[0017] Optionally, the fourth PMOS tube and the fifth PMOS tube are low-voltage PMOS tubes, and both are provided with isolation rings.

[0018] Optionally, the pull-down unit includes a fifth NMOS tube, a seventh NMOS tube and a fifth resistor; the source of the seventh NMOS tube is grounded, and the gate is connected to a bias voltage; the source of the fifth NMOS tube is connected to the drain of the seventh NMOS tube, the gate inputs the second switch control signal, and the drain is connected to the first end of the fifth resistor; the second end of the fifth resistor is connected to the input end of the input detection module.

[0019] Optionally, a buffer unit is further provided at the output end of the input detection module; the buffer unit includes a second inverter and a third inverter, the input end of the second inverter is connected to the output end of the input detection module; the input end of the third inverter is connected to the output end of the second inverter.

[0020] The present invention provides a CAN bus, which at least includes the above-mentioned CAN bus local wake-up circuit.

[0021] The present invention provides a local wake-up method, which at least comprises: receiving a signal to be detected, checking the level of the signal to be detected, and outputting a detection signal, wherein the amplitude of the detection signal is smaller than the amplitude of the signal to be detected;

[0022] If the detection signal is at a high level, a pull-up current is provided for the signal to be detected; if the detection signal is at a low level, a pull-down current is provided for the signal to be detected.

[0023] As described above, the CAN bus local wake-up circuit, CAN bus and local wake-up method of the present invention have the following beneficial effects:

[0024] 1. The CAN bus local wake-up circuit, CAN bus and local wake-up method of the present invention reduce the power consumption of the wake-up detection circuit by setting a power consumption reduction module, thereby reducing the power consumption of the entire CAN bus application system.

[0025] 2. The CAN bus local wake-up circuit and the CAN bus of the present invention are subjected to voltage resistance treatment, thereby avoiding the risk of breakdown of the internal circuit module, enhancing the reliability of the circuit, and improving the stability of the system.

[0026] 3. The CAN bus local wake-up circuit and CAN bus of the present invention improve the stability of the circuit, have a simple structure, and are low in cost, and can be used in large-scale production. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 Shown is a schematic diagram of a CAN bus local wake-up circuit of the present invention.

[0028] Component number description

[0029] 1-CAN bus local wake-up circuit; 11-input detection module; 111-first current mirror; 12-power consumption reduction module; 121-pull-up unit; 122-pull-down unit; 1211-second current mirror; 13-buffer unit. DETAILED DESCRIPTION

[0030] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0031] See also Figure 1 It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner, and the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0032] The present invention provides a CAN bus local wake-up circuit, comprising: an input detection module 11 and a power consumption reduction module 12.

[0033] like Figure 1 As shown, the input end of the input detection module 11 receives the signal to be detected (such as Figure 1 As shown, the signal to be detected WAKE is a local wake-up signal), the level of the signal to be detected (determine whether it is a high level or a low level) is checked and a detection signal is output. The amplitude of the detection signal is smaller than the amplitude of the signal to be detected.

[0034] Specifically, the input detection module 11 includes a first current mirror 111 , a first NMOS transistor NM1 , a second NMOS transistor NM2 , and a Schmitt trigger SCH.

[0035] Furthermore, the input end of the first current mirror 111 receives the signal to be detected (i.e., the input end of the first current mirror 111 is connected to WAKE), and the output end of the first current mirror 111 is connected to the drain of the first NMOS tube NM1, and the signal to be detected is processed by the first current mirror 111 and input to the drain of the first NMOS tube NM1.

[0036] As an example, the first current mirror 111 includes a first resistor R1, a first PMOS transistor PM1 and a second PMOS transistor PM2. The first end of the first resistor R1 receives the signal to be detected, and the second end is connected to the drain of the first PMOS transistor PM1 to shape the signal to be detected. The source of the first PMOS transistor PM1 is connected to the working voltage VBAT (in this embodiment, the working voltage VBAT is the power supply voltage of the battery module inside the car, generally 12V). The first PMOS transistor PM1 constitutes the input side of the first current mirror 111. The source of the second PMOS transistor PM2 is connected to the working voltage VBAT, and the gate of the second PMOS transistor PM2 is connected to the gate of the first PMOS transistor PM1, and the second PMOS transistor PM2 is used as the output side of the first current mirror. The drain of the second PMOS transistor PM2 is connected to the drain of the first NMOS transistor NM1, and the signal to be detected is copied to the output side through the input side of the first current mirror 111, and flows into the drain of the first NMOS transistor NM1. The signal to be detected is shaped by the first resistor R1 and the copied current of the first current mirror 111 to realize the waveform shaping of the input signal, and the waveform of the signal to be detected is approximately linearly processed. In this embodiment, the first PMOS tube PM1 and the second PMOS tube PM2 are set as high-voltage PMOS tubes. As an example, the gate of the first NMOS tube NM1 is connected to the power supply voltage VCC (the power supply voltage VCC is a voltage less than the working voltage VBAT. In this embodiment, the power supply voltage VCC is a voltage input generated by the working voltage VBAT, which can be 5V). The source of the first NMOS tube NM1 is connected to the drain of the second NMOS tube NM2 and the input end of the Schmitt trigger SCH. The source of the first NMOS tube NM1 is connected to the drain of the second NMOS tube NM2, and the first NMOS tube NM1 is used as an embedded pressure structure to limit the voltage of the drain of the second NMOS tube NM2 to be not greater than the value of the power supply voltage VCC. Since the signal to be detected is output after passing through the first current mirror 111, the sources of the first PMOS transistor PM1 and the second PMOS transistor PM2 in the first current mirror are connected to the working voltage VBAT, so the first NMOS transistor NM1 is set to prevent the second NMOS from being directly connected to the first current mirror and thus being broken down.

[0037] It should be noted that the source of the first NMOS transistor NM1 is connected to the input end of the Schmitt trigger SCH, and the power supply voltage VCC is the operating voltage of the Schmitt trigger SCH and subsequent circuits, so that they enter the working state.

[0038] As an example, the gate of the second NMOS transistor NM2 is connected to the bias voltage, and the source of the second NMOS transistor NM2 is grounded. Figure 1As shown, the bias current IBIAS and the sixth NMOS tube NM6 of the diode configuration are set as the input side of the current mirror. Among them, the source of the sixth NMOS tube NM6 is grounded, and the gate of the sixth NMOS tube NM6 is connected to the drain of the sixth NMOS tube NM6. The gate of the second NMOS tube NM2 is connected to the gate of the sixth NMOS tube NM6, and the source of the second NMOS tube NM2 is grounded, so that the bias current IBIAS, the sixth NMOS tube NM6 and the second NMOS tube NM2 form a current mirror structure, and the bias current IBIAS is copied to the second NMOS tube NM2. In addition, since the drain of the second NMOS tube NM2 is connected to the source of the first NMOS tube NM1, the drain of the second NMOS tube NM2 will also be connected to the input end of the Schmitt trigger SCH. It should be noted that the bias voltage can also be set for the gate of the second NMOS tube NM2 in other ways, such as directly connecting the bias voltage to the gate of the second NMOS tube NM2, so as to facilitate the operation of the second NMOS tube NM2. In this embodiment, the second NMOS transistor NM2 is set as a low-voltage NMOS transistor. As an example, the input end of the Schmitt trigger SCH is connected to the source of the first NMOS transistor NM1 and the drain of the second NMOS transistor NM2, respectively, and the Schmitt trigger SCH is used to judge the high and low levels and shape the waveform to ensure that a high level is output when the signal to be detected rises to a first threshold, and a low level is output when the signal to be detected drops to a second threshold, wherein the first threshold is greater than the second threshold.

[0039] like Figure 1 As shown, the control end of the power consumption reduction module 12 is connected to the output end of the input detection module 11, and provides a pull-up current to the input end of the input detection module 11 when the output is a high level, and provides a pull-down current to the input end of the input detection module 11 when the output is a low level.

[0040] Specifically, the power consumption reduction module 12 includes a pull-up unit 121 and a pull-down unit 122; the power consumption reduction module 12 controls the opening and closing of the pull-up unit 121 according to a first switch control signal, and controls the opening and closing of the pull-down unit 122 according to a second switch control signal; wherein the first switch control signal is in phase with the signal to be detected, and the second switch control signal is in antiphase with the signal to be detected.

[0041] As an example, the detection signal output by the input detection module 11 is in phase with the signal to be detected; the second switch control signal is provided by the first inverter IN1 provided at the output end of the input detection module 11. The output end of the input detection module 11 is provided with the first inverter IN1; the output end of the input detection module 11 is respectively connected to the input end of the first inverter IN1 and the control end of the pull-up unit 121, and the first switch control signal is provided to the pull-up unit; the output end of the first inverter IN1 is connected to the control end of the pull-down unit, and the second switch control signal is provided to the pull-down unit. In this embodiment, the input end of the first inverter IN1 is connected to the output end of the input detection module 11, the detection signal output by the input detection module 11 is in phase with the signal to be detected, and is directly output to the pull-up unit 121, the output end of the first inverter IN1 inverts the detection signal received by the input end of the first inverter IN1, and inputs the control end of the pull-down unit as the second switch control signal, and the second switch control signal is in phase with the signal to be detected. If the signal to be detected is at a high level, the detection signal output is at a high level, the first switch control signal is at a high level, the second switch control signal is at a low level, the first switch control signal controls the pull-up unit 121 to be turned on, the pull-down unit 122 to be turned off, and the power consumption reduction module 12 provides a pull-up current for the input end of the input detection module 11; if the signal to be detected is at a low level, the detection signal output is at a low level, the first switch control signal is at a low level, the second switch control signal is at a high level, the first switch control signal controls the pull-up unit 121 to be turned off, the pull-down unit 122 to be turned on, and the power consumption reduction module 12 provides a pull-down current for the input end of the input detection module 11. By adjusting the pull-up current and the pull-down current at the input end of the input detection module, the power consumption of the input detection module is reduced. It should be noted that the specific connection mode of the input and output of the first inverter IN1 needs to be determined according to the detection signal. If the detection signal and the signal to be detected are in phase, the input of the first inverter IN1 is connected to the control end of the pull-up unit; if the detection signal and the signal to be detected are in phase opposition, the output of the first inverter IN1 is connected to the control end of the pull-up unit. In this embodiment, it is ensured that the opening of the pull-up unit corresponds to the high level of the signal to be detected, the closing of the pull-up unit corresponds to the low level of the signal to be detected, and the opening of the pull-down unit corresponds to the low level of the signal to be detected, and the closing of the pull-down unit corresponds to the high level of the signal to be detected. In fact, multiple inverters can also be set according to the specific circuit connection mode. As long as the first switch control signal is ultimately in phase with the signal to be detected and the second switch control signal is in phase opposition with the signal to be detected, it is within the protection scope of this embodiment.

[0042] As an example, the pull-up unit 121 includes a second current mirror 1211 , a third NMOS transistor NM3 , a fourth NMOS transistor NM4 , and a second resistor R2 .

[0043] Further, the source of the third NMOS tube NM3 is grounded, and the gate of the third NMOS tube NM3 is connected to the bias voltage. In this embodiment, the bias voltage is provided by the bias current IBIAS. The gate of the third NMOS tube NM3 is connected to the gate of the sixth NMOS tube NM6, and the source of the third NMOS tube NM3 is grounded, so that the bias current IBIAS, the sixth NMOS tube NM6 and the third NMOS tube NM3 form a current mirror structure, and the bias current IBIAS is copied to the third NMOS tube NM3. It should be noted that the bias voltage can also be set for the gate of the third NMOS tube NM3 in other ways, such as directly connecting the bias voltage to the gate of the third NMOS tube NM3, so as to facilitate the operation of the third NMOS tube NM3. Further, the source of the fourth NMOS tube NM4 is connected to the drain of the third NMOS tube NM3, and the gate of the fourth NMOS tube NM4 inputs the first switch control signal, and the fourth NMOS tube NM4 is turned on or off according to the first switch control signal. The input end of the second current mirror 1211 is connected to the drain of the fourth NMOS tube NM4, and the output end of the second current mirror 1211 is connected to the first end of the second resistor R2. When the fourth NMOS tube NM4 is turned on, the flowing current is copied to the second resistor R2, and output to the input end of the input detection module 11 through the second resistor R2, so as to realize current pull-up. The drain of the fourth NMOS tube NM4 is connected to the second current mirror 1211, and the first switch control signal is in phase with the signal to be detected. If the signal to be detected is at a high level, the first switch control signal is at a high level, and the gate of the fourth NMOS tube NM4 is correspondingly at a high level, and the fourth NMOS tube NM4 is turned on; in contrast, the second switch control signal is at a low level, and the pull-down unit 122 is not turned on. In this embodiment, the third NMOS tube NM3 is a low-voltage NMOS tube, and the fourth NMOS tube NM4 is set as a high-voltage NMOS tube, which can block the high voltage to prevent the third NMOS tube NM3 from being damaged.

[0044] Furthermore, the second end of the second resistor R2 is connected to the input end of the input detection module 11. The output of the second current mirror 1211 is connected to the first end of the second resistor R2, and provides a pull-up current to the input end of the input detection module 11 when the pull-up unit is turned on.

[0045] In this embodiment, the second current mirror 1211 includes a third PMOS transistor PM3, a fourth PMOS transistor PM4, a fifth PMOS transistor PM5, a sixth PMOS transistor PM6, a third resistor R3, and a fourth resistor R4. The first end of the third resistor R3 is connected to the fourth NMOS transistor NM4, and the second end is connected to the first end of the fourth resistor R4. The second end of the fourth resistor R4 is connected to the drain of the third PMOS transistor PM3. The source of the third PMOS transistor PM3 is connected to the drain of the fourth PMOS transistor PM4. The source of the fourth PMOS transistor PM4 is connected to the working voltage VBAT. The source of the fifth PMOS transistor PM5 is connected to the working voltage VABT, and the drain of the fifth PMOS transistor PM5 is connected to the sixth PMOS transistor PM6; the drain of the sixth PMOS transistor PM6 is connected to the first end of the second resistor R2, and the output current flows to the second resistor R2 through the sixth PMOS transistor PM6, and the second end of the second resistor R2 is connected to the input end of the input detection module 11, so that the input end of the input detection module 11 connected to the second end of the second resistor R2 is lifted. In addition, the gates of the fourth PMOS tube PM4 and the fifth PMOS tube PM5 are connected, and the connection node of the fourth resistor R4 and the third PMOS is connected. The gate voltage of the fourth PMOS tube PM4 and the fifth PMOS tube PM5 is equal to the voltage of the first potential between the fourth resistor R4 and the drain of the third PMOS. The gates of the third PMOS tube PM3 and the sixth PMOS tube PM6 are connected, and the connection node of the third resistor R3 and the fourth resistor R4 is connected; the gate voltage of the third PMOS tube PM3 and the sixth PMOS tube PM6 is equal to the voltage of the second potential between the third resistor R3 and the fourth resistor R4. In fact, the third PMOS tube PM3, the fourth PMOS tube PM4, the fifth PMOS tube PM5, and the sixth PMOS tube PM6 constitute a current mirror, and by setting the fourth resistor R4 voltage division, the gate voltage of the fourth PMOS tube PM4 (also the gate voltage of the fifth PMOS tube PM5) is greater than the gate voltage of the third PMOS tube PM3 (also the gate voltage of the sixth PMOS tube PM6). By setting the current mirror formed by the voltage division, the voltage margin of the output point is increased, and the current mirror is made more accurate, while minimizing the manufacturing area. In this embodiment, the third PMOS transistor PM3 and the sixth PMOS transistor PM6 are set as high-voltage PMOS transistors. The fourth PMOS transistor PM4 and the fifth PMOS transistor PM5 are low-voltage PMOS transistors. Since the sources of the fourth PMOS transistor PM4 and the fifth PMOS transistor PM5 are directly powered by the working voltage VBAT, in order to improve the voltage resistance of the circuit, the fourth PMOS transistor PM4 and the fifth PMOS transistor PM5 are both provided with an isolation ring, which is arranged outside the fourth PMOS transistor PM4 and the fifth PMOS transistor PM5 and connected to the highest potential working voltage VBAT.

[0046] As an example, the pull-down unit 122 includes a fifth NMOS transistor NM5 , a seventh NMOS transistor NM7 , and a fifth resistor R5 .

[0047] Further, the source of the seventh NMOS tube NM7 is grounded, and the gate of the seventh NMOS tube NM7 is connected to the bias voltage. In the present embodiment, the bias voltage is provided by the bias current IBIAS. The gate of the seventh NMOS tube NM7 is connected to the gate of the sixth NMOS tube NM6, and the source of the seventh NMOS tube NM7 is grounded, so that the bias current IBIAS, the sixth NMOS tube NM6 and the seventh NMOS tube NM7 form a current mirror structure, and the bias current IBIAS is copied to the seventh NMOS tube NM7. It should be noted that the bias voltage can also be set for the gate of the seventh NMOS tube NM7 in other ways, such as directly connecting the bias voltage to the gate of the seventh NMOS tube NM7, so as to facilitate the operation of the seventh NMOS tube NM7. In the present embodiment, the seventh NMOS tube NM7 can be directly set as a low-voltage NMOS tube. Further, the source of the fifth NMOS tube NM5 is connected to the drain of the seventh NMOS tube NM7. The gate of the fifth NMOS tube NM5 inputs the second switch control signal. The gate of the fifth NMOS tube NM5 receives the second switch control signal (inverted with the signal to be detected). The drain of the fifth NMOS tube NM5 is connected to the first end of the fifth resistor R5. The second end of the fifth resistor R5 is connected to the input end of the input detection module 11. If the fifth NMOS tube NM5 is turned on, the pull-down unit 122 provides a pull-down current for the input end of the input detection module 11. The second switch control signal is inverted with the signal to be detected. If the signal to be detected is a low level, the second switch control signal is a high level, and the gate voltage of the fifth NMOS tube NM5 corresponds to a high level, then the fifth NMOS tube NM5 is turned on, and the current of the seventh NMOS tube NM7 is turned on to the fifth resistor R5. In contrast, if the first switch control signal is a low level, the gate of the seventh NMOS tube NM7 corresponds to a low level, and the pull-up unit is not turned on. In this embodiment, the seventh NMOS tube NM7 is set as a low-voltage NMOS tube, and the fifth NMOS tube NM5 is set as a high-voltage NMOS tube, which can block the high voltage to prevent the seventh NMOS tube NM7 from being damaged.

[0048] It should be noted that the bias voltages in this embodiment are all provided by the bias current IBIAS. In fact, different bias voltages can also be set to respectively power the second NMOS transistor NM2, the third NMOS transistor NM3 and the seventh NMOS transistor NM7. Figure 1As shown, a buffer unit 13 is also provided at the output end of the input detection module 11; the buffer unit 13 includes a second inverter IN2 and a third inverter IN3, the input end of the second inverter IN2 is connected to the output end of the input detection module 11; the input end of the third inverter IN3 is connected to the output end of the second inverter IN2, and the detection signal output by the input detection module is buffered and rectified.

[0049] The present invention provides a CAN bus, which at least includes the above-mentioned CAN bus local wake-up circuit 1. The CAN bus is locally woken up by the above-mentioned CAN bus local wake-up circuit 1, so that the CAN bus can enter a working state, thereby controlling data transmission between systems.

[0050] The present invention also provides a local wake-up method, which is implemented by the above-mentioned CAN bus local wake-up circuit 1, and at least includes: receiving a signal to be detected, checking the level of the signal to be detected, and outputting a detection signal, wherein the amplitude of the detection signal is less than the amplitude of the signal to be detected. Specifically, the signal to be detected WAKE is input, and the wake-up signal with a rising edge or falling edge that fluctuates beyond a certain range is determined as a wake-up event: if the rising edge is greater than a first preset value, the output detection signal is a high level, which is regarded as a local wake-up event; if the falling edge is less than a second preset value, the output detection signal is a low level, which is also regarded as a local wake-up event. The first preset value is greater than the second preset value, and the specific value of the first preset value being greater than the second preset value is set according to actual needs.

[0051] If the detection signal is at a high level, a pull-up current is provided for the signal to be detected; if the detection signal is at a low level, a pull-down current is provided for the signal to be detected, ensuring that when the signal to be detected is used as a local wake-up event, the corresponding input end has corresponding pull-up and pull-down currents, thereby saving the power consumption of the local wake-up circuit of the CAN bus.

[0052] It should be noted that the high-voltage MOS tube and the low-voltage MOS tube referred to in this embodiment refer to the working voltage that the MOS tube can tolerate. The low-voltage MOS tube is generally a 1.8V, 3.3V or 5V MOS tube, and the withstand voltage range is less than the normal working voltage of VBAT (VBAT is the battery voltage, which is applied to the power supply system of 12V, 24V or 48V, etc.), and the withstand voltage range of the high-voltage MOS tube is greater than the working voltage of VBAT. In this embodiment, MOS tubes with different withstand voltage ranges are set, which saves manufacturing costs and manufacturing area. In addition, although low-voltage MOS tubes are used, protective measures are taken for multiple low-voltage MOS tubes to prevent the low-voltage MOS tubes from being broken down, thereby improving the reliability and stability of the entire CAN bus local wake-up circuit. Therefore, the CAN bus local wake-up circuit in this embodiment can be directly applied to the detection of wake-up events of high-voltage input, and there is no need to set up a high-voltage tube as a step-down structure, which reduces the manufacturing cost of setting up high-voltage tubes, etc. and is more reliable than the withstand voltage effect of high-voltage tubes.

[0053] In summary, the present invention provides a CAN bus local wake-up circuit, a CAN bus and a local wake-up method, which at least include: an input detection module and a power consumption reduction module; the input end of the input detection module receives a signal to be detected, checks the level of the signal to be detected and outputs a detection signal, wherein the amplitude of the detection signal is less than the amplitude of the signal to be detected; the control end of the power consumption reduction module is connected to the output end of the input detection module, and provides a pull-up current to the input end of the input detection module when the detection signal is at a high level, and provides a pull-down current to the input end of the input detection module when the detection signal is at a low level. The present invention reduces the power consumption of the wake-up detection circuit through the power consumption reduction circuit, and also reduces the power consumption of the CAN bus system. In addition, the present invention also performs voltage resistance treatment on the circuit to improve the stability of the circuit. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.

[0054] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A CAN bus local wake-up circuit, characterized in that: The CAN bus local wake-up circuit at least includes: Input detection module and power consumption reduction module; The input end of the input detection module receives the signal to be detected, checks the level of the signal to be detected and outputs a detection signal, wherein the amplitude of the detection signal is smaller than the amplitude of the signal to be detected; The control end of the power consumption reduction module is connected to the output end of the input detection module, and provides a pull-up current for the input end of the input detection module when the detection signal is at a high level, and provides a pull-down current for the input end of the input detection module when the detection signal is at a low level; Wherein, the input detection module includes a first current mirror, a first NMOS transistor, a second NMOS transistor and a Schmitt trigger; The input end of the first current mirror receives the signal to be detected, and the output end is connected to the drain of the first NMOS tube; The gate of the first NMOS tube is connected to the power supply voltage; the source of the first NMOS tube is connected to the drain of the second NMOS tube and the input end of the Schmitt trigger; the output end of the Schmitt trigger outputs the detection signal; The gate of the second NMOS tube is connected to a bias voltage, and the source is grounded; The first NMOS tube serves as an embedded voltage structure to limit the voltage of the drain of the second NMOS tube to not be greater than the value of the power supply voltage.

2. The CAN bus local wake-up circuit according to claim 1, characterized in that: The first current mirror includes a first resistor, a first PMOS tube and a second PMOS tube; The first end of the first resistor receives the signal to be detected, and the second end is connected to the drain of the first PMOS tube; The source of the first PMOS tube is connected to an operating voltage, and the gate and the drain are connected; the operating voltage is greater than the power supply voltage; The source of the second PMOS tube is connected to the working voltage, the gate is connected to the gate of the first PMOS tube, and the drain is connected to the drain of the first NMOS tube.

3. The CAN bus local wake-up circuit according to claim 1, characterized in that: The power consumption reduction module includes a pull-up unit and a pull-down unit; the power consumption reduction module controls the opening and closing of the pull-up unit according to a first switch control signal, and controls the opening and closing of the pull-down unit according to a second switch control signal; wherein the first switch control signal is in phase with the signal to be detected, and the second switch control signal is in antiphase with the signal to be detected.

4. The CAN bus local wake-up circuit according to claim 3, characterized in that: The detection signal is in phase with the signal to be detected; a first inverter is provided at the output end of the input detection module; the output end of the input detection module is respectively connected to the input end of the first inverter and the control end of the pull-up unit, providing the first switch control signal for the pull-up unit; the output end of the first inverter is connected to the control end of the pull-down unit, providing the second switch control signal for the pull-down unit.

5. The CAN bus local wake-up circuit according to claim 3, characterized in that: The pull-up unit includes a second current mirror, a third NMOS transistor, a fourth NMOS transistor and a second resistor; The source of the third NMOS tube is grounded, and the gate is connected to a bias voltage; The source of the fourth NMOS is connected to the drain of the third NMOS tube, and the gate is connected to the first switch control signal; The input end of the second current mirror is connected to the drain of the fourth NMOS tube, and the output end is connected to the first end of the second resistor; The second end of the second resistor is connected to the input end of the input detection module.

6. The CAN bus local wake-up circuit according to claim 5, characterized in that: The second current mirror includes a third PMOS tube, a fourth PMOS tube, a fifth PMOS tube, a sixth PMOS tube, a third resistor and a fourth resistor; The first end of the third resistor is connected to the drain of the fourth NMOS tube, and the second end is connected to the first end of the fourth resistor; the second end of the fourth resistor is connected to the drain of the third PMOS tube; The source of the third PMOS tube is connected to the drain of the fourth PMOS tube; the source of the fourth PMOS tube is connected to the operating voltage; the source of the fifth PMOS tube is connected to the operating voltage, and the drain is connected to the source of the sixth PMOS tube; the drain of the sixth PMOS tube is connected to the first end of the second resistor; The gate of the fourth PMOS tube is connected to the gate of the fifth PMOS tube, and is connected to the connection node of the fourth resistor and the third PMOS tube; the gate of the third PMOS tube is connected to the gate of the sixth PMOS tube, and is connected to the connection node of the third resistor and the fourth resistor.

7. The CAN bus local wake-up circuit according to claim 6, characterized in that: The fourth PMOS tube and the fifth PMOS tube are low-voltage PMOS tubes, and both are provided with isolation rings.

8. The CAN bus local wake-up circuit according to claim 3, characterized in that: The pull-down unit includes a fifth NMOS tube, a seventh NMOS tube and a fifth resistor; The source of the seventh NMOS tube is grounded, and the gate is connected to a bias voltage; The source of the fifth NMOS tube is connected to the drain of the seventh NMOS tube, the gate inputs the second switch control signal, and the drain is connected to the first end of the fifth resistor; the second end of the fifth resistor is connected to the input end of the input detection module.

9. The CAN bus local wake-up circuit according to any one of claims 1 to 8, characterized in that: A buffer unit is also provided at the output end of the input detection module; the buffer unit includes a second inverter and a third inverter, the input end of the second inverter is connected to the output end of the input detection module; the input end of the third inverter is connected to the output end of the second inverter.

10. A CAN bus, characterized in that: The CAN bus at least includes the CAN bus local wake-up circuit as described in any one of claims 1 to 9.

11. A local wake-up method, implemented based on the CAN bus local wake-up circuit according to any one of claims 1 to 9, characterized in that: The local wake-up method at least includes: receiving a signal to be detected, checking the level of the signal to be detected, and outputting a detection signal, wherein the amplitude of the detection signal is smaller than the amplitude of the signal to be detected; If the detection signal is at a high level, a pull-up current is provided for the signal to be detected; if the detection signal is at a low level, a pull-down current is provided for the signal to be detected.

Citation Information

Patent Citations

  • Power supply control method and system and new energy vehicle

    CN113119732A

  • Comparator circuit

    US20050184761A1

  • CAN receiver wake-up circuit

    US6747498B1