CN210274115U - External interface circuit for energy router - Google Patents

External interface circuit for energy router Download PDF

Info

Publication number
CN210274115U
CN210274115U CN201921805127.5U CN201921805127U CN210274115U CN 210274115 U CN210274115 U CN 210274115U CN 201921805127 U CN201921805127 U CN 201921805127U CN 210274115 U CN210274115 U CN 210274115U
Authority
CN
China
Prior art keywords
interface circuit
chip
circuit
communication
microcontroller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201921805127.5U
Other languages
Chinese (zh)
Inventor
冯东生
吕斌
罗文�
洪佐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Yineng New Energy Microgrid Collaborative Innovation Co ltd
Zhuhai Yineng Technology Co Ltd
Original Assignee
Jiangxi Yineng New Energy Microgrid Collaborative Innovation Co ltd
Zhuhai Yineng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Yineng New Energy Microgrid Collaborative Innovation Co ltd, Zhuhai Yineng Technology Co Ltd filed Critical Jiangxi Yineng New Energy Microgrid Collaborative Innovation Co ltd
Priority to CN201921805127.5U priority Critical patent/CN210274115U/en
Application granted granted Critical
Publication of CN210274115U publication Critical patent/CN210274115U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model provides an external interface circuit for an energy router, which comprises a microcontroller, an RS232 communication interface circuit, an RS485 communication interface circuit, an RJ45 network interface circuit and a CAN interface circuit; RS232 communication interface circuit adopts first communication chip to connect microcontroller's UART serial ports, RS485 communication interface circuit adopts second communication chip to connect microcontroller's UART serial ports, RJ45 net gape circuit passes through ethernet transceiver and ethernet transformer and connects microcontroller's ethernet 10/100MAC module, CAN gape circuit adopts CAN driver chip to connect microcontroller's CAN input interface still includes TVS diode, gas discharge tube and optoelectronic coupler among the interface circuit. The utility model discloses circuit structure is simple, provides a plurality of external interfaces for the energy router, and interface circuit's communication speed and communication quality are good, and the interference killing feature is strong.

Description

External interface circuit for energy router
Technical Field
The utility model relates to an interface circuit for energy router belongs to interface circuit technical field.
Background
In recent years, the new energy industry in China develops rapidly, and especially unprecedented development is achieved in the fields of wind power generation and solar energy, but the new energy industry is limited by factors such as geographical distribution, seasonal variation, day and night alternation and the like, so that the electric energy quality and safe and stable operation of a power grid adopting new energy are easily influenced.
Usually, a plurality of energy routers and energy storage batteries jointly form a microgrid system, data interaction is needed among all devices in the system, and abundant interface circuits can complete data communication more efficiently and more stably today when the development of the internet of things is rapid.
Disclosure of Invention
In order to improve performance and stability of energy router communication in the microgrid system, the utility model provides an external interface circuit for energy router, this circuit provide serial communication all the way, net gape communication all the way and CAN mouthful communication all the way, and different external equipment CAN select different interface connection energy router, still includes a display circuit in the circuit, CAN show the data signal who is connected to in the circuit.
In order to solve the technical problem, the utility model discloses a following technical means:
an external interface circuit for an energy router mainly comprises a microcontroller, an RS232 communication interface circuit, an RS485 communication interface circuit, an RJ45 network port circuit and a CAN port circuit.
The RS232 communication interface circuit comprises a first communication chip, one end of the first communication chip is connected with the UART serial port of the microcontroller, and the other end of the first communication chip is connected with the energy router.
The RS485 communication interface circuit comprises a second communication chip, a TVS diode, a first gas discharge tube and a second gas discharge tube, wherein an RXD interface and a TXD interface of the second communication chip are respectively connected with a UART serial port of the microcontroller, an A, B end of the second communication chip is connected with external equipment, the TVS diode is connected between A, B ends of the second communication chip in parallel, one end of the first gas discharge tube is connected with an A end of the second communication chip, the other end of the first gas discharge tube is grounded, one end of the second gas discharge tube is connected with a B end of the second communication chip, and the other end of the second gas discharge tube is grounded.
The RJ45 net gape circuit comprises an Ethernet transceiver, an Ethernet transformer and a net gape socket, wherein one end of the Ethernet transceiver is connected with an Ethernet 10/100MAC module of the microcontroller, the other end of the Ethernet transceiver is connected with one end of the Ethernet transformer, and the other end of the Ethernet transformer is connected with the net gape socket.
CAN mouth circuit includes CAN driver chip, first optoelectronic coupler, second optoelectronic coupler and first resistance, the RXD interface of CAN driver chip is connected to first optoelectronic coupler's input, and the output of first optoelectronic coupler is connected microcontroller's CAN input interface, microcontroller's CAN output interface is connected to second optoelectronic coupler's input, and CAN driver chip's TXD interface is connected to second optoelectronic coupler's output, first resistance is parallelly connected between CAN driver chip's output CANH and CANL, and CAN driver chip's output CANH and CANL connect external equipment.
Further, the external interface circuit further comprises a display circuit, the display circuit comprises a dot matrix screen, a key driving chip, a first key and a second key, the first key and the second key are respectively connected with the input end of the key driving chip, the output end of the key driving chip is connected with one end of the dot matrix screen, and the other end of the dot matrix screen is connected with the microcontroller.
Furthermore, the first key and the second key are touch keys.
Furthermore, the display circuit further comprises a first light emitting diode and a second light emitting diode, the first key is connected with one end of the first light emitting diode, the other end of the first light emitting diode is connected with a power supply, the second key is connected with one end of the second light emitting diode, and the other end of the second light emitting diode is connected with the power supply.
Further, the external interface circuit further comprises a memory chip, and the memory chip is connected with the SPI interface of the microcontroller.
Further, an Ethernet transceiver in the RJ45 network port circuit is connected with a power supply through a crystal oscillator.
Furthermore, the external equipment comprises an upper computer, a direct current energy storage battery and an alternating current power grid.
The following advantages can be obtained by adopting the technical means:
the utility model provides an external interface circuit for energy router, interface circuit includes 4 communication circuit and 1 display circuit, through RS232 communication circuit connection interface circuit and energy router, the external equipment CAN be connected to interface circuit through RS485 communication circuit, RJ45 net gape circuit or CAN mouthful circuit, and then realizes the signal interaction with the energy router. The TVS diode and the gas discharge tube are arranged in the RS485 communication circuit, so that the safety of a communication interface is enhanced, and the communication interface can be effectively prevented from being burnt by lightning stroke and overvoltage. The Ethernet transformer is connected in the RJ45 network port circuit, so that the transmission of Ethernet data signals can be effectively realized, the Ethernet transformer can also play a role in isolation protection, an interface circuit is isolated from an external equipment circuit, and devices are prevented from being damaged by overcurrent and overvoltage. Photoelectric couplers are connected to the input end and the output end of the CAN port circuit, so that the anti-interference performance of the circuit CAN be effectively improved, and the CAN port communication is safer and more reliable. The utility model discloses set up touch button and emitting diode in the display circuit of circuit, through touch button send signal to microcontroller, microcontroller return signal to the dot matrix screen, dot matrix screen display signal data, emitting diode show display circuit operating condition, are favorable to audio-visual acquisition interface circuit operating condition. The utility model discloses the simple structure of circuit provides a plurality of external interface circuit for the energy router, including the protection device in the interface circuit, communication speed and communication quality are good, and the circuit interference killing feature is strong.
Drawings
Fig. 1 is a schematic structural diagram of an external interface circuit for an energy router according to the present invention.
Fig. 2 is a schematic circuit diagram of an RS232 communication interface circuit according to an embodiment of the present invention.
Fig. 3 is a schematic circuit diagram of an RS485 communication interface circuit in an embodiment of the present invention.
Fig. 4 is a schematic circuit diagram of an RJ45 network interface circuit according to an embodiment of the present invention.
Fig. 5 is a schematic circuit diagram of a CAN port circuit according to an embodiment of the present invention.
Fig. 6 is a schematic circuit diagram of a display circuit according to an embodiment of the present invention.
In the figure, 1 is a microcontroller, 2 is an RS232 communication interface circuit, 3 is an RS485 communication interface circuit, 4 is an RJ45 network port circuit, 5 is a CAN port circuit, and 6 is a display circuit.
Detailed Description
The technical scheme of the utility model is further explained by combining the attached drawings as follows:
the utility model provides an external interface circuit for energy router, as shown in FIG. 1, mainly include microcontroller, RS232 communication interface circuit, RS485 communication interface circuit, RJ45 net gape circuit, CAN mouthful circuit and display circuit. In this embodiment, microcontroller chooses meaning semiconductor STM32 series's STM32F107 chip for use, and this chip has integrateed multiple high performance industry standard interface, can satisfy the multiple automation product demand of medical treatment, industry, building, and STM32F107 chip includes interfaces such as 10 timers, two 12 bit analog to digital converters, two 12 bit digital to analog converters, two I2C interfaces, five USART interfaces, two way CAN2.0B interfaces, ethernet 10/100MAC module and three SPI ports.
The RS232 communication interface circuit mainly comprises a first communication chip, one end of the first communication chip is connected with a UART serial port of the microcontroller, and the other end of the first communication chip is connected with the energy router. The circuit schematic diagram of the RS232 communication interface circuit in this embodiment is shown in fig. 2, wherein the first communication chip is a MAX3232 communication chip having a dedicated low dropout transmitter output stage, the chip can realize real RS-232 performance when a 3.0V to 5.5V power supply is supplied by using a double charge pump, the pins 11 and 12 of a MAX3232 chip are respectively connected to a UART1 interface of the STM32F107 chip by using a UART function of the STM32F107 chip, the UART1 interface is only used for distinguishing other UART interfaces on the STM32F107 chip, the circuit connection relation is not limited, pins 13 and 14 of the MAX3232 chip are respectively connected with pins 7 and 9 of a wiring terminal, a capacitor C10 is connected between pins 1 and 3 of the MAX3232 chip, a capacitor C12 is connected between pins 4 and 5, a pin 2 is connected with a 3.3V power supply through a capacitor C11, a pin 6 is grounded through a capacitor C13, and the capacitors C10, 11, 12 and 13 are 4 external small-size charge pump capacitors. The MAX3232 chip can ensure that the data signal transmission rate is 120kbps, meanwhile, the RS-232 output level is kept, and communication with a control chip inside the energy router is achieved.
RS485 communication interface circuit includes the second communication chip, the TVS diode, first gas discharge tube and second gas discharge tube, the RXD interface and the TXD interface of second communication chip connect microcontroller's UART serial ports respectively, external equipment is connected to the A, B end of second communication chip, the TVS diode connects in parallel between the A, B end of second communication chip, the A end of second communication chip is connected to first gas discharge tube's one end, first gas discharge tube's other end ground connection, the B end of second communication chip is connected to second gas discharge tube's one end, second gas discharge tube's other end ground connection. Fig. 3 is a schematic diagram of an RS485 communication interface circuit in this embodiment, wherein the second communication chip is an ADM2483 communication chip, the ADM2483 is a 485 signal transceiver with isolation, and RS485 communication is performed by using an industry standard protocol, i.e., MODBUS RTU communication protocol. The ADM2483 chip is connected with a UART2 interface of the STM32F107 chip, a TVS diode and a gas discharge tube are respectively connected between the A end of the ADM2483 chip and the ground, a TVS diode and a gas discharge tube are respectively connected between the B end and the ground, a TVS diode is connected between the A, B ends in parallel, and the TVS diode and the gas discharge tube are mainly used for protecting a circuit and preventing a circuit from being burnt by lightning stroke and overvoltage. The RS485 communication interface circuit is mainly used for connecting devices such as an upper computer and an alternating current power grid in the microgrid system and achieving serial port communication between the microgrid system and the energy router.
The RJ45 network port circuit comprises a crystal oscillator, an Ethernet transceiver, an Ethernet transformer and a network port socket, wherein the input end of the crystal oscillator is connected with a power supply, the output end of the crystal oscillator is connected with the Ethernet transceiver, one end of the Ethernet transceiver is connected with an Ethernet 10/100MAC module of the microcontroller, the other end of the Ethernet transceiver is connected with one end of the Ethernet transformer, and the other end of the Ethernet transformer is connected with the network port socket. Fig. 4 is a schematic diagram of an RJ45 network port circuit in this embodiment, where the model of the crystal oscillator is XO53, the model of the ethernet transceiver is DP83848C, the model of the ethernet transformer is HR601680, and the cost performance of DP83848C and HR601680 is high, and when used in combination, the ethernet data signal can be transmitted well, and HR601680 also has a high isolation protection function. The RJ45 network port circuit is mainly used for connecting an upper computer such as a computer which needs to perform ethernet communication in the microgrid system, so as to realize the network port communication between the microgrid system and the energy router.
CAN mouth circuit includes CAN driver chip, first optoelectronic coupler, second optoelectronic coupler and first resistance, CAN driver chip's RXD interface is connected to first optoelectronic coupler's input, microcontroller's CAN input interface is connected to first optoelectronic coupler's output, microcontroller's CAN output interface is connected to second optoelectronic coupler's input, CAN driver chip's TXD interface is connected to second optoelectronic coupler's output, first resistance is parallelly connected between CAN driver chip's output CANH and CANL, CAN driver chip's output CANH and CANL connect external equipment. Fig. 5 is a schematic diagram of a CAN port circuit in this embodiment, a high-speed CAN port is built by using a standard CAN of an STM32F107 chip and a dedicated CAN driver chip PCA82C251, and preferably, a high-speed isolation optocoupler 6N136 protects the CAN port, so that the whole CAN communication is safer and more reliable. The CAN port circuit is mainly used for connecting a battery BMS system and realizing the communication between the energy router and the battery system.
The display circuit mainly comprises a dot matrix screen, a key driving chip, a first key, a second key, a first light-emitting diode and a second light-emitting diode, in order to improve the circuit sensitivity and enhance the user use feeling, the first key and the second key preferably select touch keys, the first key and the second key are respectively connected with the input end of the key driving chip, the output end of the key driving chip is connected with one end of the dot matrix screen, the other end of the dot matrix screen is connected with a microcontroller, one end of the first light-emitting diode is connected with the first key, the other end of the first light-emitting diode is connected with a power supply, one end of the second light-emitting diode is connected with the second key, and the other end of the second light-emitting. Fig. 6 is a schematic diagram of a display circuit in this embodiment, wherein the dot matrix screen is an 240160 liquid crystal module, the key driving chip is preferably a TS02N chip, two light emitting diodes LED5 and LED6 are respectively connected to two signal output terminals of the key driving chip, and N1 and N2 are touch keys. The utility model discloses interface circuit's display circuit can also adopt pure mechanical button, like B1, B2 in FIG. 6, does not need key drive chip when adopting mechanical button, and mechanical button can be directly be connected with the dot matrix screen electricity. The display circuit can visually display the data signals acquired by the interface circuit, a user can observe and use the display circuit, and the keys can send specific frequency signals to the microcontroller and can display different data signals by matching with the dot matrix screen.
Considering that a large amount of signal interaction exists in the interface circuit, in order to facilitate checking and obtaining, the signals need to be stored, and need to have a power-down storage function, a storage chip is further arranged on the external interface circuit, and the storage chip is connected with an SPI (serial peripheral interface) of the microcontroller. In the embodiment, an AD45DB161 chip is selected, and the data storage in a 2M large space can be realized by matching with the SPI of the STM32F107, and the power-down retention is realized.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge of those skilled in the art.

Claims (7)

1. An external interface circuit for an energy router is characterized by comprising a microcontroller, an RS232 communication interface circuit, an RS485 communication interface circuit, an RJ45 network port circuit and a CAN port circuit;
the RS232 communication interface circuit comprises a first communication chip, one end of the first communication chip is connected with a UART serial port of the microcontroller, and the other end of the first communication chip is connected with the energy router;
the RS485 communication interface circuit comprises a second communication chip, a TVS diode, a first gas discharge tube and a second gas discharge tube, wherein an RXD interface and a TXD interface of the second communication chip are respectively connected with a UART serial port of the microcontroller, an A, B end of the second communication chip is connected with external equipment, the TVS diode is connected between A, B ends of the second communication chip in parallel, one end of the first gas discharge tube is connected with an A end of the second communication chip, the other end of the first gas discharge tube is grounded, one end of the second gas discharge tube is connected with a B end of the second communication chip, and the other end of the second gas discharge tube is grounded;
the RJ45 network port circuit comprises an Ethernet transceiver, an Ethernet transformer and a network port socket, wherein one end of the Ethernet transceiver is connected with an Ethernet 10/100MAC module of the microcontroller, the other end of the Ethernet transceiver is connected with one end of the Ethernet transformer, and the other end of the Ethernet transformer is connected with the network port socket;
CAN mouth circuit includes CAN driver chip, first optoelectronic coupler, second optoelectronic coupler and first resistance, the RXD interface of CAN driver chip is connected to first optoelectronic coupler's input, and the output of first optoelectronic coupler is connected microcontroller's CAN input interface, microcontroller's CAN output interface is connected to second optoelectronic coupler's input, and CAN driver chip's TXD interface is connected to second optoelectronic coupler's output, first resistance is parallelly connected between CAN driver chip's output CANH and CANL, and CAN driver chip's output CANH and CANL connect external equipment.
2. The external interface circuit of claim 1, wherein the external interface circuit further comprises a display circuit, the display circuit comprises a dot matrix screen, a key driving chip, a first key and a second key, the first key and the second key are respectively connected to an input terminal of the key driving chip, an output terminal of the key driving chip is connected to one end of the dot matrix screen, and the other end of the dot matrix screen is connected to the microcontroller.
3. The external interface circuit of claim 2, wherein the first and second keys are touch keys.
4. The external interface circuit of claim 2, wherein the display circuit further comprises a first LED and a second LED, the first button is connected to one end of the first LED, the other end of the first LED is connected to a power supply, the second button is connected to one end of the second LED, and the other end of the second LED is connected to the power supply.
5. The external interface circuit of claim 1, wherein the external interface circuit further comprises a memory chip, wherein the memory chip is connected to the SPI interface of the microcontroller.
6. The external interface circuit for an energy router of claim 1, wherein the ethernet transceiver in the RJ45 network port circuit is connected to a power supply through a crystal oscillator.
7. The external interface circuit of claim 1, wherein the external device comprises an upper computer, a dc energy storage battery, and an ac power grid.
CN201921805127.5U 2019-10-24 2019-10-24 External interface circuit for energy router Active CN210274115U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921805127.5U CN210274115U (en) 2019-10-24 2019-10-24 External interface circuit for energy router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921805127.5U CN210274115U (en) 2019-10-24 2019-10-24 External interface circuit for energy router

Publications (1)

Publication Number Publication Date
CN210274115U true CN210274115U (en) 2020-04-07

Family

ID=70020650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921805127.5U Active CN210274115U (en) 2019-10-24 2019-10-24 External interface circuit for energy router

Country Status (1)

Country Link
CN (1) CN210274115U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202657A (en) * 2020-10-15 2021-01-08 江苏新安电器股份有限公司 Digital multiplexing communication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202657A (en) * 2020-10-15 2021-01-08 江苏新安电器股份有限公司 Digital multiplexing communication method

Similar Documents

Publication Publication Date Title
CN206235714U (en) For the communication module of low-voltage circuit breaker detection
CN210274115U (en) External interface circuit for energy router
CN108566243B (en) A kind of optical interface 1+1 protection isolated form multi-service Ethernet optical transmitter and receiver based on FPGA
CN201025626Y (en) Multi-function solar charger
CN206757335U (en) A kind of scan module
CN210222557U (en) Comprehensive protection measurement and control device based on PLC
CN204231406U (en) A kind of Multifunction cross of the quick-setting based on toggle switch is changed planes
CN210072602U (en) Novel equipment control device based on communication conversion of wireless router
CN210609063U (en) Photovoltaic combiner box monitoring system based on 6LoWPAN
CN209784805U (en) Serial port data isolation protection device for industrial control safety
CN208820802U (en) A kind of server cluster heartbeat inspecting circuit based on power carrier
CN203434990U (en) Optical signal transceiver based on chip FTRJ-8519
CN202772915U (en) Multifunctional route switch
CN201127103Y (en) Double-light-mouth switch module
CN201751900U (en) Novel type isolator for USB equipment
CN220401974U (en) Intelligent Bluetooth battery cabinet communication module
CN206042255U (en) Intelligent control ware that optical network twine and ethernet switch can carry out
CN204832910U (en) Data line of S7 -200PLC and ACE3600RTU communication
CN219513850U (en) Photovoltaic grid-connected switch based on Bluetooth communication
CN216531280U (en) 4 way 232 changes 485 high-speed transmission isolation module
CN213602653U (en) CAN bus and universal serial bus transparent transmission device
CN214728285U (en) Fill electric pile fast overhaul maintenance device
CN218734356U (en) Industrial gateway electric quantity monitoring circuit
CN218473171U (en) Three-in-one gateway device
CN215813801U (en) Electrical apparatus interface arrangement and electrical equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant