CAN conversion circuit and station building type energy storage BMS system

By designing the CAN conversion circuit, processing and converting the external CAN signal into SPI signal, the problem that the MCU microcontroller cannot receive multiple CAN signals is solved, and the system is simplified and cost reduction is achieved.

CN222262745UActive Publication Date: 2024-12-27HEFEI GUOXUAN HIGH TECH POWER ENERGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420010153.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-03
Publication Date
2024-12-27
Estimated Expiration
2034-01-03

AI Technical Summary

Technical Problem

In the station-style energy storage BMS system, the CAN interface of the MCU microcontroller often cannot receive all the multiple CAN signals transmitted from the outside. Increasing the number of MCU microcontrollers will make the system complex and costly.

Method used

A CAN conversion circuit is designed, including a protection circuit unit, a CAN transceiver circuit unit and a CAN to SPI conversion circuit unit. Through the protection circuit, the CAN transceiver circuit is converted into a SPI signal, and the upper computer is connected to the SPI interface to improve the The MCU microcontroller's multi-channel CAN signal reception capability.

Benefits of technology

It effectively improves the ability of MCU microcontrollers to receive multiple CAN signals at the same time, reducing the complexity of the system and production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222262745U_ABST
    Figure CN222262745U_ABST
Patent Text Reader

Abstract

The utility model discloses a CAN conversion circuit and a station building type energy storage BMS system, the CAN conversion circuit comprises a protection circuit unit, the input end of the protection circuit unit is connected with an external CAN signal; the input end of the CAN transceiver circuit unit is connected with the output end of the protection circuit unit; a CAN to SPI conversion circuit unit, wherein the input end of the CAN to SPI conversion circuit unit is connected with the output end of the CAN transmit-receive circuit unit; and the output end of the CAN-to-SPI conversion circuit unit is connected with an SPI interface of an upper computer. According to the utility model, the ability of the MCU single-chip microcomputer to receive multipath CAN signals at the same time can be effectively improved, and the production cost can be effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of station-type energy storage, and in particular relates to a CAN conversion circuit and a station-type energy storage BMS system. Background Art

[0002] In the station-type energy storage BMS system, the CAN interface of the MCU microcontroller is often insufficient and cannot receive all the multiple CAN signals transmitted from the outside. If this problem is solved by increasing the number of MCU microcontrollers, the system will become large and complex, and the production cost will be greatly increased. Utility Model Content

[0003] In order to solve the deficiencies in the prior art, the utility model provides a CAN conversion circuit and a station-type energy storage BMS system, which can effectively improve the ability of the MCU to simultaneously receive multiple CAN signals and effectively reduce production costs.

[0004] In order to achieve the above-mentioned purpose, the technical solution adopted by the utility model is:

[0005] In a first aspect, a CAN conversion circuit is provided, comprising: a protection circuit unit, wherein an input end of the protection circuit unit is connected to an external CAN signal; a CAN transceiver circuit unit, wherein an input end of the CAN transceiver circuit unit is connected to an output end of the protection circuit unit; a CAN to SPI conversion circuit unit, wherein an input end of the CAN to SPI conversion circuit unit is connected to an output end of the CAN transceiver circuit unit; and an output end of the CAN to SPI conversion circuit unit is connected to an SPI interface of a host computer.

[0006] Furthermore, the protection circuit unit includes: a gas discharge tube GDT1, one of the input ends of the gas discharge tube GDT1 is connected to the CANL1 port, and the other input end of the gas discharge tube GDT1 is connected to the CANH1 port; one end of the bidirectional TVS diode D1 is connected to the CANH1 port, one end of the bidirectional TVS diode D3 is connected to the CANL1 port, and the other end of the bidirectional TVS diode D1 and the other end of the bidirectional TVS diode D3 are respectively connected to the protection grounding terminal PE; one end of the bidirectional TVS diode D2 is connected to the CANH1 port, and the other end is connected to the CANL1 port; one end of the resistor R7 is connected to the CANH1 port, and one end of the resistor R11 is connected to the CANL1 port The common mode inductor L1 is connected to the CAN transceiver circuit unit, the other end of the resistor R7 and the other end of the resistor R11 are respectively connected to one end of the capacitor C3, and the other end of the capacitor C3 is connected to the ground terminal GND1; one of the input ends of the common mode inductor L1 is connected to the CANL1 port, and the other input end thereof is connected to the CANH1 port; one of the output ends of the common mode inductor L1 is respectively connected to one end of the capacitor C4 and one of the input ends of the CAN transceiver circuit unit; the other output end of the common mode inductor L1 is respectively connected to one end of the capacitor C5 and the other input end of the CAN transceiver circuit unit; the other end of the capacitor C4 and the other end of the capacitor C5 are respectively connected to the ground terminal GND1; the CANL1 port and the CANH1 port are used to receive external CAN signals.

[0007] Furthermore, the gas discharge tube GDT1 is connected to a protective grounding terminal PE.

[0008] Furthermore, the CAN transceiver circuit unit includes a CAN transceiver U2, a CANH pin of the CAN transceiver U2 is connected to one of the output ends of the common-mode inductor L1, and a CANL pin of the CAN transceiver U2 is connected to another output end of the common-mode inductor L1; a TXD pin of the CAN transceiver U2 is connected to one of the input ends of the CAN to SPI conversion circuit unit; and a RXD pin of the CAN transceiver U2 is connected to another input end of the CAN to SPI conversion circuit unit.

[0009] Furthermore, the VISO pin of the CAN transceiver U2 is respectively connected to a +5V power supply, one end of a capacitor C1, and one end of a capacitor C2, and the other end of the capacitor C1 and the other end of the capacitor C2 are connected to a ground terminal GND1; the VCC pin of the CAN transceiver U2 is connected to a +5V power supply, and the VCCL pin of the CAN transceiver U2 is connected to a +3V power supply.

[0010] Furthermore, the model of the CAN transceiver U2 is: CA-IS3062VW.

[0011] Furthermore, the CAN to SPI conversion circuit unit includes a conversion chip U1, a TXCAN pin of the conversion chip U1 is connected to one end of a resistor R8, and the other end of the resistor R8 is respectively connected to one end of a resistor R5 and a TXD pin of the CAN transceiver U2; the RXCAN pin of the conversion chip U1 is respectively connected to one end of a resistor R10 and one end of a resistor R6, and the other end of the resistor R10 is connected to the RXD pin of the CAN transceiver U2; the other end of the resistor R5, the other end of the resistor R6, and the VDD pin of the conversion chip U1 are respectively connected to a +3V power supply; the SDI pin, SCK pin, and nCS pin of the conversion chip U1 are respectively connected to the SPI interface of the host computer; the SDO pin of the conversion chip U1 is connected to the SPI interface of the host computer through a resistor R9; and the nCS pin of the conversion chip U1 is connected to a +3V power supply through a resistor R4.

[0012] Furthermore, the model of the conversion chip U1 is: MCP2518FDT-E / SL.

[0013] In a second aspect, a station-type energy storage BMS system is provided, wherein the station-type energy storage BMS system comprises an MCU single-chip computer, and an SPI interface of the MCU single-chip computer is connected to the output end of a CAN to SPI conversion circuit unit in the CAN conversion circuit described in the first aspect.

[0014] Compared with the prior art, the utility model has the following beneficial effects: the utility model connects an external CAN signal through the input end of the protection circuit unit; the input end of the CAN transceiver circuit unit is connected to the output end of the protection circuit unit; the input end of the CAN to SPI conversion circuit unit is connected to the output end of the CAN transceiver circuit unit; the output end of the CAN to SPI conversion circuit unit is connected to the SPI interface of the host computer; the ability of the MCU to simultaneously receive multiple CAN signals is effectively improved, and the production cost is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a schematic diagram of the circuit principle of a CAN conversion circuit provided by an embodiment of the utility model Figure 1 ;

[0016] Figure 2 This is a schematic diagram of the circuit principle of a CAN conversion circuit provided by an embodiment of the utility model Figure 2 . DETAILED DESCRIPTION

[0017] The utility model is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the utility model, and cannot be used to limit the protection scope of the utility model.

[0018] Embodiment 1:

[0019] like Figure 1 , Figure 2 As shown, a CAN conversion circuit includes:

[0020] A protection circuit unit, wherein an input end of the protection circuit unit is connected to an external CAN signal;

[0021] A CAN transceiver circuit unit, wherein an input end of the CAN transceiver circuit unit is connected to an output end of the protection circuit unit;

[0022] A CAN to SPI conversion circuit unit, wherein the input end of the CAN to SPI conversion circuit unit is connected to the output end of the CAN transceiver circuit unit; and the output end of the CAN to SPI conversion circuit unit is connected to the SPI interface of the host computer.

[0023] The protection circuit unit includes components such as a gas discharge tube GDT1, bidirectional TVS diodes D1-D3, a common mode inductor L1, a resistor R7, a resistor R11, and capacitors C3-C5.

[0024] One input end of the gas discharge tube GDT1 is connected to the CANL1 port, and the other input end of the gas discharge tube GDT1 is connected to the CANH1 port.

[0025] One end of the bidirectional TVS diode D1 is connected to the CANH1 port, one end of the bidirectional TVS diode D3 is connected to the CANL1 port, and the other end of the bidirectional TVS diode D1 and the other end of the bidirectional TVS diode D3 are respectively connected to the protective grounding terminal PE; one end of the bidirectional TVS diode D2 is connected to the CANH1 port, and the other end is connected to the CANL1 port.

[0026] One end of the resistor R7 is connected to the CANH1 port, one end of the resistor R11 is connected to the CANL1 port, the other end of the resistor R7 and the other end of the resistor R11 are respectively connected to one end of the capacitor C3, and the other end of the capacitor C3 is connected to the ground terminal GND1.

[0027] One of the input ends of the common-mode inductor L1 is connected to the CANL1 port, and the other input end thereof is connected to the CANH1 port; one of the output ends of the common-mode inductor L1 is respectively connected to one end of the capacitor C4 and one of the input ends of the CAN transceiver circuit unit; the other output end of the common-mode inductor L1 is respectively connected to one end of the capacitor C5 and the other input end of the CAN transceiver circuit unit; the other end of the capacitor C4 and the other end of the capacitor C5 are respectively connected to the ground terminal GND1.

[0028] The CANL1 port and CANH1 port are used to receive external CAN signals.

[0029] The gas discharge tube GDT1 is connected to the protective grounding terminal PE.

[0030] The CAN transceiver circuit unit includes components such as a CAN transceiver U2, a capacitor C1, and a capacitor C2.

[0031] The CANH pin of the CAN transceiver U2 is connected to one of the output ends of the common-mode inductor L1, and the CANL pin of the CAN transceiver U2 is connected to the other output end of the common-mode inductor L1; the TXD pin of the CAN transceiver U2 is connected to one of the input ends of the CAN to SPI conversion circuit unit; and the RXD pin of the CAN transceiver U2 is connected to the other input end of the CAN to SPI conversion circuit unit.

[0032] The VISO pin of the CAN transceiver U2 is connected to a +5V power supply, one end of a capacitor C1, and one end of a capacitor C2, respectively. The other ends of the capacitor C1 and the other ends of the capacitor C2 are connected to the ground terminal GND1. The VCC pin of the CAN transceiver U2 is connected to a +5V power supply, and the VCCL pin of the CAN transceiver U2 is connected to a +3V power supply.

[0033] In the present invention, the model of the CAN transceiver U2 is: CA-IS3062VW.

[0034] The CAN to SPI conversion circuit unit includes a conversion chip U1, resistors R1 to R6, resistors R8 to R10 and other components.

[0035] The TXCAN pin of the conversion chip U1 is connected to one end of the resistor R8, and the other end of the resistor R8 is respectively connected to one end of the resistor R5 and the TXD pin of the CAN transceiver U2; the RXCAN pin of the conversion chip U1 is respectively connected to one end of the resistor R10 and one end of the resistor R6, and the other end of the resistor R10 is connected to the RXD pin of the CAN transceiver U2; the other end of the resistor R5, the other end of the resistor R6, and the VDD pin of the conversion chip U1 are respectively connected to a +3V power supply; the SDI pin, SCK pin, and nCS pin of the conversion chip U1 are respectively connected to the SPI interface of the host computer; the SDO pin of the conversion chip U1 is connected to the SPI interface of the host computer through a resistor R9; the nCS pin of the conversion chip U1 is connected to a +3V power supply through a resistor R4.

[0036] Conversion chip U1 The pin is connected to +3V power supply through resistor R1; the conversion chip U1 The pin is connected to +3V power supply through resistor R2; the conversion chip U1 The pin is connected to the +3V power supply through resistor R3.

[0037] The OSC1 pin of the conversion chip U1 is respectively connected to one end of the capacitor C6 and pin 1 of the crystal oscillator X1; the OSC2 pin of the conversion chip U1 is respectively connected to one end of the capacitor C7 and pin 3 of the crystal oscillator X1; the other end of the capacitor C6, the other end of the capacitor C7, pins 2 and 4 of the crystal oscillator X1 are respectively connected to the ground terminal GND.

[0038] In the present invention, the model of the conversion chip U1 is: MCP2518FDT-E / SL.

[0039] In the utility model, the external CAN signal first enters the protection circuit unit, and after protection, enters the CAN transceiver circuit unit, and then is transmitted to the conversion chip, converted into an SPI signal, and finally connected to the MCU microcontroller; CAN_ITN, CAN_ITN0, and CAN_ITN1 are signals for controlling the CAN transceiver direction, and are all low-level effective controls. When CAN_ITN is low, the CAN communication signal is normally received and sent, when CAN_ITN0 is low, the CAN communication signal is normally sent, and when CAN_ITN1 is low, the CAN communication signal is normally received. The utility model effectively solves the problem of insufficient ability of the MCU microcontroller to simultaneously receive multiple CAN signals, and reduces production costs.

[0040] Embodiment 2:

[0041] Based on the CAN conversion circuit described in Example 1, this embodiment provides a station-type energy storage BMS system, which includes an MCU single-chip computer, and the SPI interface of the MCU single-chip computer is connected to the output end of the CAN to SPI conversion circuit unit in the CAN conversion circuit described in Example 1.

[0042] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention.

Claims

1. A CAN conversion circuit, characterized in that: include: A protection circuit unit, wherein an input end of the protection circuit unit is connected to an external CAN signal; A CAN transceiver circuit unit, wherein an input end of the CAN transceiver circuit unit is connected to an output end of the protection circuit unit; A CAN to SPI conversion circuit unit, wherein the input end of the CAN to SPI conversion circuit unit is connected to the output end of the CAN transceiver circuit unit; and the output end of the CAN to SPI conversion circuit unit is connected to the SPI interface of the host computer.

2. The CAN conversion circuit according to claim 1, characterized in that: The protection circuit unit comprises: A gas discharge tube GDT1, one of the input ends of the gas discharge tube GDT1 is connected to the CANL1 port, and the other input end of the gas discharge tube GDT1 is connected to the CANH1 port; One end of the bidirectional TVS diode D1 is connected to the CANH1 port, one end of the bidirectional TVS diode D3 is connected to the CANL1 port, and the other end of the bidirectional TVS diode D1 and the other end of the bidirectional TVS diode D3 are respectively connected to the protective grounding terminal PE; one end of the bidirectional TVS diode D2 is connected to the CANH1 port, and the other end is connected to the CANL1 port; One end of the resistor R7 is connected to the CANH1 port, one end of the resistor R11 is connected to the CANL1 port, the other end of the resistor R7 and the other end of the resistor R11 are respectively connected to one end of the capacitor C3, and the other end of the capacitor C3 is connected to the ground terminal GND1; One of the input ends of the common mode inductor L1 is connected to the CANL1 port, and the other input end thereof is connected to the CANH1 port; one of the output ends of the common mode inductor L1 is respectively connected to one end of the capacitor C4 and one of the input ends of the CAN transceiver circuit unit; the other output end of the common mode inductor L1 is respectively connected to one end of the capacitor C5 and the other input end of the CAN transceiver circuit unit; the other end of the capacitor C4 and the other end of the capacitor C5 are respectively connected to the ground terminal GND1; The CANL1 port and the CANH1 port are used to receive external CAN signals.

3. The CAN conversion circuit according to claim 2, characterized in that: The gas discharge tube GDT1 is connected to the protective grounding terminal PE.

4. The CAN conversion circuit according to claim 2, characterized in that: The CAN transceiver circuit unit includes a CAN transceiver U2, a CANH pin of the CAN transceiver U2 is connected to one of the output ends of the common-mode inductor L1, and a CANL pin of the CAN transceiver U2 is connected to the other output end of the common-mode inductor L1; a TXD pin of the CAN transceiver U2 is connected to one of the input ends of the CAN to SPI conversion circuit unit; and a RXD pin of the CAN transceiver U2 is connected to the other input end of the CAN to SPI conversion circuit unit.

5. The CAN conversion circuit according to claim 4, characterized in that: The VISO pin of the CAN transceiver U2 is connected to a +5V power supply, one end of a capacitor C1, and one end of a capacitor C2, respectively. The other ends of the capacitor C1 and the other ends of the capacitor C2 are connected to a ground terminal GND1. The VCC pin of the CAN transceiver U2 is connected to a +5V power supply, and the VCCL pin of the CAN transceiver U2 is connected to a +3V power supply.

6. The CAN conversion circuit according to claim 4, characterized in that: The model of the CAN transceiver U2 is: CA-IS3062VW.

7. The CAN conversion circuit according to claim 4, characterized in that: The CAN to SPI conversion circuit unit includes a conversion chip U1, a TXCAN pin of the conversion chip U1 is connected to one end of a resistor R8, and the other end of the resistor R8 is respectively connected to one end of a resistor R5 and a TXD pin of the CAN transceiver U2; the RXCAN pin of the conversion chip U1 is respectively connected to one end of a resistor R10 and one end of a resistor R6, and the other end of the resistor R10 is connected to the RXD pin of the CAN transceiver U2; the other end of the resistor R5, the other end of the resistor R6, and the VDD pin of the conversion chip U1 are respectively connected to a +3V power supply; the SDI pin, SCK pin, and nCS pin of the conversion chip U1 are respectively connected to the SPI interface of the host computer; the SDO pin of the conversion chip U1 is connected to the SPI interface of the host computer through a resistor R9; and the nCS pin of the conversion chip U1 is connected to a +3V power supply through a resistor R4.

8. The CAN conversion circuit according to claim 7, characterized in that: The model of the conversion chip U1 is: MCP2518FDT-E / SL.

9. A station-type energy storage BMS system, characterized in that: The station-type energy storage BMS system includes an MCU single-chip computer, and the SPI interface of the MCU single-chip computer is connected to the output end of the CAN to SPI conversion circuit unit in the CAN conversion circuit according to any one of claims 1 to 8.