CAN communication circuit

By using the CAN chip and communication isolation circuit that supports the sleep wake-up function in the CAN communication circuit, combined with the power isolation circuit, the problem that the existing technology cannot isolate signals and reduce power consumption is solved, and high anti-interference and low power consumption are achieved. data transmission.

CN221862867UActive Publication Date: 2024-10-18SHENZHEN SHINEYOUNG NEW ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202323273918.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-10-18
Estimated Expiration
2033-11-30

AI Technical Summary

Technical Problem

Existing CAN communication circuits cannot support sleep and wake-up operations while isolating signals, and cannot significantly reduce standby power consumption while improving the anti-interference capability of data transmission.

Method used

A CAN communication circuit is designed, using a CAN chip that supports sleep wake-up function, and setting up a communication isolation circuit between the main control chip and the CAN chip, setting up two sets of power supply circuits, and adding a unique power supply between the two sets of power supply circuits. Isolation circuits, including DC/DC conversion circuits and optocoupler isolation circuits, achieve signal isolation and power isolation.

Benefits of technology

It achieves a significant reduction in standby power consumption while improving the anti-interference ability of data transmission, reducing circuit costs and improving system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221862867U_ABST
    Figure CN221862867U_ABST
Patent Text Reader

Abstract

The utility model discloses a CAN communication circuit. The CAN communication circuit comprises a main control chip; the CAN chip comprises a communication circuit and a transceiver, and the communication circuit is in communication connection with the main control chip through a communication isolation circuit; the first power supply circuit is electrically connected with the main control chip, and the first power supply circuit comprises a first power supply module; the second power supply circuit is electrically connected with the CAN chip and comprises a second power supply module and a third power supply module, and the third power supply module is electrically connected with the first power supply module through a power supply isolation circuit; and when the CAN chip is in a dormant state, the second power supply module stops supplying power, the first power supply module supplies power to the third power supply module, and the third power supply module supplies power to the transceiver, so that the transceiver maintains a working state and detects a specific wake-up frame. According to the invention, the anti-interference capability of data transmission can be improved, and the standby power consumption is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a CAN communication circuit. Background Art

[0002] With the vigorous development of the new energy industry and the popularity of electric vehicles, CAN communication technology used for automotive system communication has been widely used. As a signal transmission circuit, CAN communication circuit is mainly responsible for signal transmission between devices. CAN communication has the advantages of strong anti-interference and low cost.

[0003] In many application fields of CAN communication, especially in the electric vehicle industry and energy storage industry, the requirements for standby power consumption are extremely strict, so a sleep and wake-up CAN communication circuit adapted to different requirements is derived to reduce standby power consumption; at the same time, there is also a CAN communication integrated circuit that integrates the isolation circuit, the first filter circuit, the second filter circuit, the protection circuit, the interface circuit, and the indication circuit, and improves the anti-interference ability of CAN communication by increasing the degree of integration. However, the current CAN communication circuit is temporarily unable to support sleep and wake-up operations while isolating the signal, and is unable to significantly reduce the standby power consumption while improving the anti-interference ability of data transmission. Summary of the invention

[0004] The embodiment of the present application provides a CAN communication circuit, which can improve the anti-interference capability of data transmission and significantly reduce standby power consumption.

[0005] The embodiment of the present application provides a CAN communication circuit, including a main control chip, a CAN chip, a first power supply circuit and a second power supply circuit;

[0006] The CAN chip includes a communication circuit and a transceiver, the communication circuit is connected to the main control chip through a communication isolation circuit, and the CAN chip can enter a dormant state or a wake-up state;

[0007] The first power supply circuit is electrically connected to the main control chip and is used to supply power to the main control chip. The first power supply circuit includes a first power supply module;

[0008] The second power supply circuit is electrically connected to the CAN chip, and includes a second power supply module and a third power supply module, the second power supply module is used to power the communication circuit, the third power supply module is used to power the transceiver, and the third power supply module is electrically connected to the first power supply module through a power isolation circuit;

[0009] When the CAN chip is in a sleep state, the second power module stops supplying power, the first power module supplies power to the third power module, and the third power module supplies power to the transceiver, so that the transceiver maintains a working state and detects a specific wake-up frame.

[0010] Optionally, the first power supply circuit further includes a fourth power supply module, and the fourth power supply module is used to supply power to the main control chip;

[0011] When the CAN chip is in a dormant state, the fourth power supply module stops supplying power.

[0012] Optionally, the first power supply circuit further includes an internal auxiliary power supply control circuit, which is electrically connected to the fourth power supply module and is used to control the fourth power supply module to be turned on or off.

[0013] Optionally, the second power supply circuit also includes an external isolated power supply control circuit, which is electrically connected to the CAN chip and the second power supply module and is used to receive an INH level signal and control the second power supply module to be turned on or off.

[0014] Optionally, the power isolation circuit includes a DC / DC conversion circuit and an optocoupler isolation circuit;

[0015] The DC / DC conversion circuit is electrically connected to the first power module and the third power module, and is used to convert the first power supply voltage of the first power module into the second power supply voltage of the third power module;

[0016] The optocoupler isolation circuit is electrically connected to the CAN chip, the third power module, the first power module and the internal auxiliary power control circuit, and is used to isolate the first power supply circuit from the second power supply circuit.

[0017] Optionally, the transceiver includes a first pin, which is electrically connected to the CAN bus and includes a CANH pin and a CANL pin.

[0018] Optionally, the CAN chip further includes a second pin, a third pin and a fourth pin;

[0019] The second pin is electrically connected to the communication isolation circuit, and includes a RXD pin, a TXD pin, a SCSN pin, a SCK pin, a SDI pin and a SDO pin;

[0020] The third pin is electrically connected to the external isolated power supply control circuit and the optocoupler isolation circuit, and includes an INH pin;

[0021] The fourth pin is electrically connected to the second power supply circuit, and includes a VBAT pin, a VCC pin and a VIO pin.

[0022] Optionally, the communication isolation circuit is electrically connected to the main control chip and the CAN chip, and includes a first isolation chip and a second isolation chip:

[0023] The first isolation chip includes a signal receiving isolation channel and a signal sending isolation channel;

[0024] The second isolation chip includes three signal receiving isolation channels and one signal sending isolation channel.

[0025] Optionally, the communication isolation circuit may further include a third isolation chip;

[0026] The third isolation chip includes three signal receiving isolation channels and one signal sending isolation channel.

[0027] Among the CAN communication circuits provided in the embodiments of the present application, a CAN chip that supports the sleep wake-up function is selected, which can support external wake-up and CAN bus wake-up at the same time; at the same time, a communication isolation circuit is set between the main control chip and the CAN chip; and two sets of power supply circuits are set, and a unique power supply isolation circuit is added between the two sets of power supply circuits, which can reduce costs, improve system reliability, improve the anti-interference ability of data transmission, and significantly reduce standby power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 This is a first schematic diagram of a CAN communication circuit provided in an embodiment of the present application.

[0030] Figure 2 A second schematic diagram of a CAN communication circuit provided in an embodiment of the present application.

[0031] Figure 3 The third schematic diagram of the CAN communication circuit provided in an embodiment of the present application.

[0032] Figure 4 This is a fourth schematic diagram of a CAN communication circuit provided in an embodiment of the present application.

[0033] Figure 5 This is the fifth schematic diagram of the CAN communication circuit provided in an embodiment of the present application.

[0034] Figure 6 A schematic diagram of a power isolation circuit for a CAN communication circuit provided in an embodiment of the present application.

[0035] Figure 7 A schematic diagram of a sleep and wake-up circuit for a CAN communication circuit provided in an embodiment of the present application.

[0036] Figure 8 A schematic diagram of a communication isolation circuit for a CAN communication circuit provided in an embodiment of the present application.

[0037] Fig. 9 A flow chart of a circuit control method for a CAN communication circuit provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0039] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different modules or units, and are not used to limit the order or interdependence of the functions performed by these modules or units.

[0040] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0041] An embodiment of the present application provides a CAN communication circuit.

[0042] Reference Figure 1 The CAN communication circuit schematic diagram shown in the figure may include a main control chip, a CAN chip, a first power supply circuit and a second power supply circuit.

[0043] CAN chip, the CAN chip includes a communication circuit and a transceiver, and the communication circuit is connected to the main control chip through a communication isolation circuit;

[0044] A first power supply circuit is electrically connected to the main control chip, and the first power supply circuit includes a first power supply module;

[0045] The second power supply circuit is electrically connected to the CAN chip and includes a second power supply module and a third power supply module. The third power supply module is electrically connected to the first power supply module through a power supply isolation circuit.

[0046] Among them, the CAN chip can enter a sleep state or a wake-up state, the first power supply circuit is used to power the main control chip, the second power supply module is used to power the communication circuit, and the third power supply module is used to power the transceiver, so that the transceiver maintains a working state and detects a specific wake-up frame.

[0047] Among them, the CAN chip can be selected according to actual needs. In one embodiment provided in the present application, a CAN chip of model TJA1145A is used to realize the sleep wake-up function. The actual chips that can be selected include but are not limited to TJA1145A and other CAN communication chips that support the sleep wake-up function.

[0048] Among them, the main control chip includes an SPI chip, and the SPI chip has four pins, namely, SCSN_DSP pin, SPIB_CLK_DSP pin, SPIB_SOMI_DSP pin and SPIB_SIMO_DSP pin. The main control chip communicates with the CAN chip through SPI through these four pins to realize the configuration of the sleep state of the CAN chip. The main control chip also includes a signal receiving pin CAN_RX_DSP and a signal sending pin CAN_TX_DSP. The main control chip realizes data transmission with the CAN chip through these two pins. The main control chip in the CAN communication circuit provided in this application includes but is not limited to digital processors such as DSP and MCU, which can be selected according to actual needs.

[0049] Conventional CAN communication circuits are currently unable to support sleep and wake-up operations while isolating signals. However, the CAN communication circuit provided in this application is a CAN communication circuit with isolation and support for sleep and wake-up functions.

[0050] Traditional CAN communication integrated circuits improve the system's anti-interference ability by strengthening signal isolation, but do not have a sleep wake-up function. Figure 2 As shown in the second schematic diagram of the CAN communication circuit, the traditional CAN communication integrated circuit integrates the isolation circuit, the first filtering circuit, the second filtering circuit, the protection circuit, the interface circuit, and the indication circuit, and improves the anti-interference performance by increasing the integration level, but does not support sleep wake-up operations and has high power consumption.

[0051] Traditional low-power battery management systems with communication wake-up functions use chips that support sleep wake-up to significantly reduce standby power consumption, but they do not have signal isolation. Figure 3 The third schematic diagram of the CAN communication circuit shown in FIG. Figure 4 The fourth schematic diagram of the CAN communication circuit shown in FIG. The traditional low-power battery management system with communication wake-up function selects a low-power chip that supports sleep wake-up operation, which greatly reduces the system power consumption, but does not perform corresponding isolation operations on signal transmission. If the noise voltage is large enough, it may cause data errors at the receiving end and affect communication.

[0052] A CAN communication circuit provided in the present application realizes isolation of signal transmission through a communication isolation circuit, and then realizes the sleep and wake-up function through a chip that supports sleep and wake-up operations, thereby isolating signal transmission and improving anti-interference capability, while greatly reducing standby power consumption, and better realizing the purpose of data transmission under high-frequency signals; and a CAN communication circuit provided in the present application can reduce the amount of power required for the circuit by using a unique power isolation circuit on the basis of realizing the main functions, and make the power supply additional components as small as possible, thereby further optimizing the circuit, reducing costs and power consumption, and improving the reliability of the circuit.

[0053] In a possible implementation, when the CAN chip is in a sleep state, the second power module stops supplying power, the first power module supplies power to the third power module, and the third power module supplies power to the transceiver, so that the transceiver maintains a working state and detects a specific wake-up frame.

[0054] Optional, see Figure 5 As shown in the fifth schematic diagram of the CAN communication circuit provided in an embodiment of the present application, the first power supply circuit also includes a fourth power supply module, and the fourth power supply module is used to power the main control chip.

[0055] Among them, the fourth power supply module is electrically connected to the main control chip and the communication isolation circuit, and can provide power to the main control chip and the communication isolation circuit.

[0056] In a possible implementation, when the CAN chip is in a dormant state, the fourth power supply module stops supplying power, the main control chip is powered off, and the internal circuit is powered off.

[0057] Optional, see Figure 5 As shown in the fifth schematic diagram of the CAN communication circuit provided in an embodiment of the present application, the first power supply circuit also includes an internal auxiliary power supply control circuit, and the internal auxiliary power supply control circuit is electrically connected to the fourth power supply module.

[0058] The internal auxiliary power supply control circuit is used to control the fourth power supply module to be turned on or off.

[0059] In a possible implementation, when the CAN chip is in a dormant state, the internal auxiliary power supply control circuit receives a relatively low INH level signal, controls the fourth power supply module to be turned off, the fourth power supply module stops supplying power, the main control chip is powered off, and the internal circuit is powered off. When the CAN chip is in an awake state, the internal auxiliary power supply control circuit receives a relatively high INH level signal, controls the fourth power supply module to be turned on, the fourth power supply module starts supplying power, the main control chip is powered on, and the internal circuit is powered on.

[0060] Optional, see Figure 5 As shown in the fifth schematic diagram of the CAN communication circuit provided in an embodiment of the present application, the second power supply circuit also includes an external isolated power supply control circuit, and the external isolated power supply control circuit is electrically connected to the CAN chip and the second power supply module.

[0061] The external isolated power supply control circuit is used to receive the INH level signal and control the second power supply module to be turned on or off.

[0062] In a possible implementation, when the CAN chip is in a dormant state, the external isolated power supply control circuit receives a relatively low INH level signal, controls the second power supply module to be turned off, the second power supply module stops supplying power, the CAN chip is powered off, and the CAN network is powered off. When the CAN chip is in an awake state, the external isolated power supply control circuit receives a relatively high INH level signal, controls the second power supply module to be turned on, the second power supply module starts supplying power, the CAN chip is powered on, and the external circuit is powered on.

[0063] Through the above power supply circuit and corresponding connection method, the system can power on and off the internal circuit and the external circuit when receiving the corresponding sleep and wake-up signals, thereby realizing system sleep and normal operation and reducing standby power consumption.

[0064] Optional, see Figure 6 A schematic diagram of a power isolation circuit of a CAN communication circuit provided in an embodiment of the present application is shown, wherein the power isolation circuit includes a DC / DC conversion circuit and an optocoupler isolation circuit.

[0065] A DC / DC conversion circuit, electrically connected to the first power module and the third power module;

[0066] The optical coupling isolation circuit is electrically connected to the CAN chip, the third power module, the first power module and the internal auxiliary power control circuit.

[0067] The DC / DC conversion circuit is used to convert the first power supply voltage of the first power supply module into the second power supply voltage of the third power supply module, and the optocoupler isolation circuit is used to isolate the first power supply circuit from the second power supply circuit.

[0068] Normally, two power supplies are required to power the internal circuit and the CAN network, but the CAN communication circuit provided in the application converts the first power supply module into a third power supply module after a DC / DC conversion circuit, so that only one power supply is needed in this circuit to achieve the effect of two power supplies, thereby reducing the number of power supplies required, simplifying the implementation, and reducing the cost.

[0069] In one possible implementation, refer to Figure 6 The schematic diagram of the power isolation circuit of the CAN communication circuit provided by the embodiment of the present application is shown, and the optical coupling isolation circuit connects the CAN chip and the external isolation power control circuit to the two sides of the photodiode respectively, and the first power module and the internal auxiliary power control circuit are connected to the two sides of the transistor. The above-mentioned optical coupling isolation circuit can realize the isolation of the internal circuit and the CAN network. First, during the sleep wake-up operation, the INH level signal conversion is transmitted to the first power supply circuit through the optical coupling isolation circuit to realize the power-on and power-off of the internal circuit. At the same time, the INH level signal conversion is directly transmitted to the second power supply circuit to realize the power-on and power-off of the external circuit, and finally realizes the isolation of the internal circuit and the CAN network; secondly, since the internal circuit and the external circuit have independent power supplies, the power supplies and reference ground planes of the internal circuit and the external circuit are independent of each other, and common mode voltage interference will occur. The optical coupling isolation circuit can also reduce the influence of common mode voltage interference and protect the circuit.

[0070] In one possible implementation, although the digital isolator is superior to the optocoupler isolation in terms of transmission speed, power consumption, etc., in one embodiment provided in the present application, in the DC / DC conversion circuit, if a digital isolator is to be added, since the chip power supply voltage generally does not exceed 5V and cannot withstand higher voltages, a step-down power supply must be added, which will lead to an increase in additional power supply components, and both cost and power consumption will increase. Therefore, the use of optocoupler isolation can achieve the purpose of minimizing the additional components of the two power supplies and reduce power consumption costs. Therefore, the battery isolation of the CAN communication circuit provided in the present application selects an optocoupler isolation circuit for isolation, and cooperates with the DC / DC conversion circuit to achieve the purpose of minimizing the additional components of the power supply, greatly reducing its cost and power consumption.

[0071] Optional, see Figure 7 As shown is a schematic diagram of a sleep wake-up circuit of a CAN communication circuit provided in an embodiment of the present application, the transceiver includes a first pin, the first pin is electrically connected to the CAN bus, and includes a CANH pin and a CANL pin.

[0072] In a possible implementation, the CANH pin and the CANL pin are connected to two signal ends of the CAN bus through a common-mode inductor, so that data can be obtained from the CAN bus and a specific wake-up frame sent by the CAN bus can be detected; at the same time, the common-mode inductor can filter out noise without affecting the signal transmission quality, thereby improving the system's anti-interference ability.

[0073] Optional, see Figure 7 As shown is a schematic diagram of a sleep wake-up circuit of a CAN communication circuit provided in an embodiment of the present application, the CAN chip further includes a second pin, a third pin and a fourth pin.

[0074] The second pin is electrically connected to the communication isolation circuit, including an RXD pin, a TXD pin, a SCSN pin, an SCK pin, an SDI pin and an SDO pin;

[0075] A third pin is electrically connected to an external isolated power supply control circuit and an optical coupler isolation circuit, including an INH pin;

[0076] The fourth pin is electrically connected to the second power supply circuit, including a VBAT pin, a VCC pin and a VIO pin.

[0077] Among them, the second pin is used to communicate with the main control chip, the third pin is used to output an INH level signal, and the fourth pin is used to receive power from the second power supply circuit.

[0078] Optional, see Figure 8 The communication isolation circuit schematic diagram of the CAN communication circuit shown in the figure, the communication isolation circuit is electrically connected to the main control chip and the CAN chip, and includes a first isolation chip and a second isolation chip:

[0079] A first isolation chip, comprising a signal receiving isolation channel and a signal sending isolation channel;

[0080] The second isolation chip includes three signal receiving isolation channels and one signal sending isolation channel.

[0081] In a possible implementation, the first isolation chip is electrically connected to the main control chip and the CAN chip, and the second isolation chip is electrically connected to the main control chip and the CAN chip, for isolating the sleep configuration communication between the main control chip and the CAN chip.

[0082] Among them, the first isolation chip includes an OUT1 pin, an IN2 pin, an IN1 pin and an OUT2 pin. The main control chip connects the signal receiving pin CAN_RX_DSP and the signal sending pin CAN_TX_DSP to the OUT1 pin and IN2 pin of the dual-channel digital isolator respectively. The IN1 pin and OUT2 pin of the dual-channel digital isolator are respectively connected to the receive data output RXD pin and the transmit data input TXD pin of the CAN chip, which are used to isolate the data transmission between the main control chip and the CAN chip.

[0083] Among them, the second isolation chip includes IN1 pin, IN2 pin, OUT3 pin, OUT4 pin, OUT1 pin, OUT2 pin, IN3 pin and IN4 pin, the SCSN_DSP pin, SPIB_CLK_DSP pin, SPIB_SOMI_DSP pin and SPIB_SIMO_DSP pin of the SPI chip are respectively connected to the IN1 pin, IN2 pin, OUT3 pin and OUT4 pin of the second isolation chip, and after passing through the second isolation chip, the four signals are respectively connected from the OUT1 pin, OUT2 pin, IN3 pin and IN4 pin to the four pins (SCSN, SCK, SDI, SDO) of the dormant CAN chip, and the SPI communication can be isolated through the second isolation chip.

[0084] In one possible implementation, refer to Figure 8 The communication isolation circuit diagram of the CAN communication circuit shown in the figure can be used to isolate the transmission signal, reduce the ground loop noise, and improve the anti-interference performance by matching the first isolation chip and the second isolation chip. The fourth power supply module supplies power to the main control chip, the power supply VDD1 of the first isolation chip, and the power supply VCCA of the second isolation chip respectively, and the second power supply module supplies power to the power supplies VCC and VIO on the CAN chip and the power supply VDD2 of the first isolation chip and the VCCB of the second isolation chip, so as to realize the power-on and power-off of the internal circuit and the CAN network.

[0085] In one possible implementation, since digital isolators have significant improvements in power consumption, transmission speed, etc. compared to optocouplers, and there will not be too many circuit changes when isolating signal transmission, the communication isolation circuit of the CAN communication circuit provided in this application chooses a digital isolator for isolation, which is better than optocouplers, so a digital isolator is used.

[0086] Optionally, the communication isolation circuit may further include a third isolation chip.

[0087] Among them, the third isolation chip includes three signal receiving isolation channels and one signal sending isolation channel.

[0088] In another possible implementation, since the CAN communication circuit provided in the present application needs to isolate a total of four receive and two transmit signals (i.e., four signals are transmitted from the main control chip to the CAN chip, and two signals are transmitted from the CAN chip to the main control chip), a digital isolator supporting four receive and two transmit signals may also be selected. The third isolation chip is a digital isolator supporting four receive and two transmit signals, which is electrically connected to the main control chip and the CAN chip, respectively, and is used to isolate the communication between the main control chip and the CAN chip.

[0089] In one possible implementation, referring to Fig. 9 The circuit control method flow chart of the CAN communication circuit shown in FIG. 1 is as follows:

[0090] When the system is working, first the system and the first power module are powered on. After powering on, the third power module supplies power to the transceiver of the CAN chip, the INH level signal level becomes high, the internal auxiliary power control circuit and the external isolation power control circuit receive the change of the INH level signal, and control the fourth power module and the second power module to supply power to the main control chip, the communication circuit and the communication isolation circuit of the CAN chip. If the CAN chip does not continuously detect the normal working instruction, the system is shut down, the first power module is powered off, and all components are powered off. If the CAN chip continuously detects the normal working instruction, the working state of the CAN chip is changed to the normal state, and the system works normally. If the system needs to sleep, the SPI chip sends a sleep instruction to the CAN chip, the working state of the CAN chip is changed to the sleep state, the INH level signal level becomes low, the fourth power module and the second power module stop supplying power to the main control chip, the communication circuit of the CAN chip and the first isolation unit, and the system stops working. If the system does not need to sleep, the system works normally. After the CAN chip's working state changes to the sleep state, the transceiver detects the wake-up frame, the CAN chip's working state changes to the working state, the INH level signal level becomes high, the internal auxiliary power supply control circuit and the external isolation power supply control circuit receive the change of the INH level signal, and control the fourth power supply module and the second power supply module to supply power to the main control chip, the communication circuit and the communication isolation circuit of the CAN chip, and the system works normally until the system needs to sleep again.

[0091] Among them, the INH level signal on the CAN chip mainly participates in the control operation of the external isolation power supply control circuit and the internal auxiliary power supply control circuit, so that after the CAN chip receives the sleep instruction of the main control chip through SPI communication, the CAN chip can control the second power supply module and the fourth power supply module through the INH high and low level changes to supply power to the main control chip, CAN chip and communication isolation circuit.

[0092] After the whole system successfully enters the sleep state, the third power module still supplies power to VBAT, and the transceiver is still powered on. When the system needs to be in the working state, a specific wake-up frame can be sent through the CAN bus. After the transceiver detects the wake-up frame, it performs corresponding communication, and the system successfully changes from the sleep state to the normal working state.

[0093] In the CAN communication circuit provided in the embodiment of the present application, a CAN chip that supports the sleep wake-up function is selected, which can support external wake-up and CAN bus wake-up at the same time; at the same time, a signal isolation circuit is set between the main control chip and the CAN chip; and two sets of power supply circuits are set, and a unique power supply isolation circuit is added between the two sets of power supply circuits, which can reduce costs, improve system reliability, improve the anti-interference ability of data transmission, and significantly reduce standby power consumption.

Claims

1. A CAN communication circuit, It is characterized in that include: Main control chip; A CAN chip, wherein the CAN chip comprises a communication circuit and a transceiver, wherein the communication circuit is communicatively connected with the main control chip via a communication isolation circuit, and the CAN chip can enter a dormant state or a wake-up state; A first power supply circuit, electrically connected to the main control chip, and used to supply power to the main control chip, wherein the first power supply circuit comprises a first power supply module; A second power supply circuit, electrically connected to the CAN chip, comprises a second power supply module and a third power supply module, wherein the second power supply module is used to supply power to the communication circuit, the third power supply module is used to supply power to the transceiver, and the third power supply module is electrically connected to the first power supply module through a power isolation circuit; When the CAN chip is in a sleep state, the second power module stops supplying power, the first power module supplies power to the third power module, and the third power module supplies power to the transceiver, so that the transceiver maintains a working state and detects a wake-up frame.

2. The CAN communication circuit according to claim 1, Features The first power supply circuit further includes: A fourth power supply module, used to supply power to the main control chip; When the CAN chip is in a dormant state, the fourth power supply module stops supplying power.

3. The CAN communication circuit according to claim 2, Features The first power supply circuit further includes: The internal auxiliary power supply control circuit is electrically connected to the fourth power supply module and is used to control the fourth power supply module to be turned on or off.

4. The CAN communication circuit according to claim 3, It is characterized in that The second power supply circuit further includes: The external isolated power supply control circuit is electrically connected to the CAN chip and the second power supply module, and is used to receive the INH level signal and control the second power supply module to be turned on or off.

5. The CAN communication circuit according to claim 4, It is characterized in that The power isolation circuit comprises: A DC / DC conversion circuit, electrically connected to the first power module and the third power module, and configured to convert a first supply voltage of the first power module into a second supply voltage of the third power module; An optocoupler isolation circuit is electrically connected to the CAN chip, the third power module, the first power module and the internal auxiliary power control circuit, and is used to isolate the first power supply circuit from the second power supply circuit.

6. The CAN communication circuit according to claim 1, It is characterized in that The transceiver includes a first pin, which is electrically connected to the CAN bus and includes a CANH pin and a CANL pin.

7. The CAN communication circuit according to claim 5, It is characterized in that The CAN chip also includes: A second pin, electrically connected to the communication isolation circuit, includes a RXD pin, a TXD pin, a SCSN pin, a SCK pin, a SDI pin and a SDO pin; A third pin, electrically connected to the external isolated power supply control circuit and the optocoupler isolation circuit, includes an INH pin; The fourth pin is electrically connected to the second power supply circuit, and includes a VBAT pin, a VCC pin and a VIO pin.

8. The CAN communication circuit according to claim 7, It is characterized in that The communication isolation circuit is electrically connected to the main control chip and the CAN chip, and includes a first isolation chip and a second isolation chip: The first isolation chip includes a signal receiving isolation channel and a signal sending isolation channel; The second isolation chip includes three signal receiving isolation channels and one signal sending isolation channel.

9. The CAN communication circuit according to claim 7, It is characterized in that The communication isolation circuit may further include: The third isolation chip includes four signal receiving isolation channels and two signal sending isolation channels.

Citation Information

Cited By

  • CAN communication circuit and control method

    CN117439837A

  • CAN communication board based on C167 single chip microcomputer and its implementation method

    CN119758830A

  • CAN communication board based on C167 single-chip microcomputer

    CN223650912U