Profibus and Ethernet protocol conversion device

By designing a Profibus and Ethernet protocol conversion device, the core module, microprocessor module and power management chip are used to realize bidirectional conversion of protocol signals, which solves the problem of protocol incompatibility between Profibus equipment and DPU and expands the communication capabilities of the equipment. Meets the networking needs of industrial control systems.

CN221688694UActive Publication Date: 2024-09-10BEIJING GUODIAN ZHISHEN CONTROL TONGDY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323406196.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2024-09-10
Estimated Expiration
2033-12-13

AI Technical Summary

Technical Problem

There is a protocol incompatibility problem between the Profibus protocol and the data processor (DPU), which prevents direct communication between the devices and the DPU has limited devices.

Method used

A protocol conversion device for Profibus and Ethernet is designed, including Ethernet module, Profibus module, core module, RS485 module, microprocessor module and power management chip, which is implemented through media independent interface, 485 signal interface, serial port and SPI interface Bidirectional conversion of protocol signals provides a hardware foundation to solve protocol compatibility issues.

Benefits of technology

It realizes the bidirectional conversion between Profibus protocol and Ethernet protocol, solves the problem of protocol incompatibility between the device and the DPU, expands the communication capability of the device, and meets the networking needs of the industrial control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221688694U
    Figure CN221688694U
Patent Text Reader

Abstract

The utility model provides a protocol conversion device of a Profibus and an Ethernet, and belongs to the field of industrial Internet of Things. The device comprises an Ethernet module which is connected with a core module through a media independent interface; the Profibus module is connected with the RS485 module through a 485 signal interface and is used for receiving and transmitting 485 signals through an electric port; the Profibus optical transceiver module is connected with the microprocessor module through a serial port and is used for receiving and transmitting Profibus optical signals through an optical port; the RS485 module is used for receiving and transmitting an electric port signal of the Profibus; the microprocessor module is respectively connected with the Profibus module and the RS485 module through serial ports, is connected with the core module through an SPI (Serial Peripheral Interface), and transmits a Profibus signal to the core module; and the core module is used for carrying out mutual conversion on the Profibus signal and the media independent signal. And a hardware basis is provided for realizing conversion between Ethernet signals and Profibus signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial Internet of Things, and specifically to a protocol conversion device between Profibus and Ethernet. Background Art

[0002] Industrial measurement and control systems are mainly used to complete data collection, processing, real-time monitoring and other functions at remote sites. The application of fieldbus technology, industrial Ethernet technology, etc. can realize the networking of measurement and control systems and improve the performance and openness of the system. Therefore, in the specific application of industrial control systems, there is often a need for conversion from fieldbus to industrial Ethernet protocol.

[0003] Among the existing fieldbus standards, PROFIBUS is a popular fieldbus standard. Since Profibus has become an international standard and has been widely used around the world, field equipment is mainly connected using Profibus. Profibus cannot communicate directly with the data processor (DPU) and the host computer, and the number of devices that the DPU can connect is limited. Utility Model Content

[0004] The purpose of the embodiment of the utility model is to provide a protocol conversion device for Profibus and Ethernet, which solves the problem of protocol incompatibility between Profibus slave equipment and DPU and realizes bidirectional conversion between Profibus protocol and Ethernet protocol.

[0005] In order to achieve the above object, the utility model provides a protocol conversion device between Profibus and Ethernet in a first aspect, and the protocol conversion device between Profibus and Ethernet includes:

[0006] The Ethernet module is connected to the core module via a media independent interface and is used to receive a media independent signal from the Ethernet and transmit it to the core module, or to send a media independent signal from the core module to the Ethernet;

[0007] The Profibus module is connected to the RS485 module through the 485 signal interface and is used to send and receive 485 signals through the electrical port; it is connected to the microprocessor module through the serial port and is used to send and receive Profibus optical signals through the optical port;

[0008] RS485 module, used to send and receive Profibus electrical port signals;

[0009] The microprocessor module is connected to the Profibus module and the RS485 module through the serial port, and is connected to the core module through the SPI interface, so as to transmit the Profibus signal to the core module;

[0010] Core module used to convert Profibus signals to and from media independent signals.

[0011] According to the above technical means, Ethernet protocol signals can be sent and received through the Ethernet module, and Profibus protocol signals can be sent and received through the Profibus module. The core module provides the hardware basis for realizing the two-way conversion of Ethernet protocol signals and Profibus protocol signals.

[0012] In the embodiment of the present application, the core module includes: a main control module, a dynamic random access memory, a non-volatile memory and a power management chip;

[0013] The main control module is connected to the Ethernet module via a media independent interface and to the microprocessor via an SPI interface, so as to realize the mutual conversion between the Profibus signal and the media independent signal;

[0014] The main control module is connected to the dynamic random access memory and the non-volatile memory respectively, and is used to store data;

[0015] The power management chip is connected to the main control module and is used to convert the 5V power supply into a target voltage to supply power to the core module, Ethernet module, Profibus module, RS485 module and microprocessor module.

[0016] According to the above technical means, the hardware module composed of the main control module, dynamic random access memory and non-volatile memory enables the core module to have data processing function, providing a hardware basis for realizing data conversion. The power management chip converts the 5V power supply into the target voltage, meeting the different voltage requirements of different circuit modules in the protocol conversion device.

[0017] In the embodiment of the present application, the main control module adopts an A40i chip, the dynamic random access memory adopts two 4Gbits DDR3 chips, and the non-volatile memory adopts an 8Gbytes eMMC chip.

[0018] In the embodiment of the present application, the protocol conversion device between Profibus and Ethernet further includes: a power supply module, the power supply module including an ESD protection module and an isolation power supply module;

[0019] One end of the ESD protection module is connected to an external power supply, and the other end is connected to an input end of an isolation power supply module. The isolation power supply module is used to convert the external power supply into a 5V power supply and transmit it to a power management chip.

[0020] According to the above technical means, the isolated power supply module converts the external 24V voltage into 5V voltage, and the ESD protection module can effectively prevent the external power supply from damaging the internal chip of the power supply module.

[0021] In the embodiment of the present application, the Profibus module includes 2 electrical ports and 4 optical ports, and each optical port includes a 1414TZ TX and a 2412TZ RX interface.

[0022] In the embodiment of the present application, the protocol conversion device between Profibus and Ethernet further includes: an IO expansion module, which is connected to the Profibus module, the RS485 module and the microprocessor module through a serial port, respectively, and is used to use the serial port to send and receive Profibus signals between the microprocessor module and the Profibus module and between the microprocessor module and the RS485 module;

[0023] The IO expansion module is also connected to the core module via the IO interface, and is used to send the signal status of the Profibus interface to the core module.

[0024] In an embodiment of the present application, the protocol conversion device between Profibus and Ethernet also includes: a debugging module, the debugging module includes a JTAG interface, a serial port and a SWD interface, the JTAG interface and the serial port are connected to the core module for debugging the core module; the SWD interface is connected to the microprocessor module for debugging the microprocessor module.

[0025] According to the above technical means, a variety of debugging interfaces are provided to provide hardware support for debugging of the protocol conversion device.

[0026] In an embodiment of the present application, the protocol conversion device between Profibus and Ethernet also includes: a program download module, which includes: a memory card identification module and a USB module, and the data transceiver ends of the memory card identification module and the USB module are respectively connected to the core module for realizing program download.

[0027] According to the above technical means, the hardware basis for two types of program downloading, USB download and memory card download, is provided.

[0028] In the embodiment of the present application, the Ethernet module includes two external signal interface chips, and the two external signal interface chips are respectively connected to the two media independent interfaces of the core module.

[0029] In an embodiment of the present application, the RS485 module includes two 485 circuits, each of which includes a 485 chip, a digital isolation chip, a common-mode inductor and a TVS diode. The 485 chip is connected to the microprocessor module through the digital isolation chip, and the 485 chip is connected to the Profibus module through the common-mode inductor and the TVS diode.

[0030] According to the above technical means, the 485 chip converts the differential signal into a serial port signal, and isolates the RS485 serial port signal from the internal chip through the digital isolation chip to prevent external interference from damaging or interfering with the internal chip and signal; and common-mode inductors and TVS diodes are connected to the external connection position of the 485 signal to improve the signal's anti-interference ability and prevent signal surges from damaging the internal circuit.

[0031] Through the above technical solution, a hardware structure for bidirectional conversion between the Profibus protocol and the Ethernet protocol is provided, which solves the problem of protocol incompatibility between the Profibus slave device and the DPU.

[0032] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings are used to provide a further understanding of the embodiments of the present utility model and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the embodiments of the present utility model, but do not constitute a limitation on the embodiments of the present utility model. In the accompanying drawings:

[0034] Figure 1 It is a block diagram of a protocol conversion device between Profibus and Ethernet provided by one embodiment of the utility model;

[0035] Figure 2 This is a schematic diagram of the connection between the power management chip and each module provided by one embodiment of the utility model;

[0036] Figure 3 This is a schematic diagram of the connection between the A40i chip and the dynamic random access memory provided by one embodiment of the present application;

[0037] Figure 4 This is a schematic diagram of the connection between the A40i chip and the non-volatile memory provided in one embodiment of the present application;

[0038] Figure 5 This is a schematic diagram of the connection of a level conversion chip between an MCU and a CPU provided in one embodiment of the present application;

[0039] Figure 6 This is a schematic diagram of a SWD interface circuit provided in one embodiment of the present application. DETAILED DESCRIPTION

[0040] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0041] Figure 1 This is a block diagram of a protocol conversion device for Profibus and Ethernet provided by one embodiment of the utility model. Figure 1 As shown, the protocol conversion device between Profibus and Ethernet includes:

[0042] The Ethernet module is connected to the core module via a media independent interface and is used to receive a media independent signal from the Ethernet and transmit it to the core module, or to send a media independent signal from the core module to the Ethernet;

[0043] The Profibus module is connected to the RS485 module through the 485 signal interface and is used to send and receive 485 signals through the electrical port; it is connected to the microprocessor module through the serial port and is used to send and receive Profibus optical signals through the optical port;

[0044] RS485 module, used to send and receive Profibus electrical port signals;

[0045] The microprocessor module is connected to the Profibus module and the RS485 module through the serial port, and is connected to the core module through the SPI interface, so as to transmit the Profibus signal to the core module;

[0046] Core module used to convert Profibus signals to and from media independent signals.

[0047] According to the above technical means, Ethernet protocol signals can be sent and received through the Ethernet module, and Profibus protocol signals can be sent and received through the Profibus module. The core module provides the hardware basis for realizing the two-way conversion of Ethernet protocol signals and Profibus protocol signals.

[0048] In the embodiment of the present application, the core module includes: a main control module, a dynamic random access memory, a non-volatile memory and a power management chip;

[0049] The main control module is connected to the Ethernet module via a media independent interface and to the microprocessor via an SPI interface, so as to realize the mutual conversion between the Profibus signal and the media independent signal;

[0050] The main control module is connected to the dynamic random access memory and the non-volatile memory respectively, and is used to store data;

[0051] The power management chip is connected to the main control module and is used to convert the 5V power supply into the target voltage to power the core module, Ethernet module, Profibus module, RS485 module and microprocessor module. Figure 2As shown in the figure, the power management chip (PMIC) uses DCDC1, DCDC2, DCDC3, DCDC5, ALDO3, DLDO4, ELDO1, ELDO3, RTC and other modules to provide power for the core board. The voltage and connection parts of each module are as follows Figure 2 shown.

[0052] According to the above technical means, the hardware module composed of the main control module, dynamic random access memory and non-volatile memory enables the core module to have data processing function, providing a hardware basis for realizing data conversion. The power management chip converts the 5V power supply into the target voltage, meeting the different voltage requirements of different circuit modules in the protocol conversion device.

[0053] In the embodiment of the present application, the core module is made into a separate core board, which is connected to the sub-board using four 80-pin board-to-board connectors. The sub-board includes a microprocessor module, a power module, an Ethernet module, a Profibus module, an RS485 module, etc. The core board can be used on other sub-boards with the same structure and the same PIN definition to provide computing power.

[0054] In the embodiment of the present application, the main control module adopts an A40i chip, the dynamic random access memory adopts two 4Gbits DDR3 chips, and the non-volatile memory adopts an 8Gbytes eMMC chip.

[0055] like Figure 3As shown, the SD0-SD7 pins and SD8-SD15 pins of the A40i chip are connected to the data bus pins of the first DDR3 chip, the SDQS0P / N pins and SDQS1P / N pins are connected to the data strobe pins of the first DDR3 chip, and the SDQM0 pins and SDQM0 pins are connected to the data shielding signal pins of the first DDR3 chip; the SD16-SD23 pins and SD24-SD31 pins of the A40i chip are connected to the data bus pins of the second DDR3 chip, the SDQS2P / N pins and SDQS3P / N pins are connected to the data strobe pins of the second DDR3 chip, and the SDQM2 pins and SDQM3 pins are connected to the data shielding signal pins of the second DDR3 chip; the SCLKP / N pins of the A40i chip are respectively connected to the differential clock pins of the first DDR3 chip and the second DDR3 chip; the SCKE0-1 pins of the A40i chip are respectively connected to the clock enable signal pins of the first DDR3 chip and the second DDR3 chip; The SCS0-1 pins of the A40i chip are connected to the chip select pins of the first DDR3 chip and the second DDR3 chip respectively; the SWE pin of the A40i chip is connected to the write enable pins of the first DDR3 chip and the second DDR3 chip respectively; the SODT0-1 pins of the A40i chip are connected to the on-chip resistance pins of the first DDR3 chip and the second DDR3 chip respectively; the SRAS pin of the A40i chip is connected to the row address signal pins of the first DDR3 chip and the second DDR3 chip respectively; the SCAS pin of the A40i chip is connected to the column address signal pins of the first DDR3 chip and the second DDR3 chip respectively; the SRST pin of the A40i chip is connected to the reset signal pins of the first DDR3 chip and the second DDR3 chip respectively; the SBA0-2 pins of the A40i chip are connected to the BANK address signal pins of the first DDR3 chip and the second DDR3 chip respectively; the SA0-14 pins of the A40i chip are connected to the address bus pins of the first DDR3 chip and the second DDR3 chip respectively.

[0056] like Figure 4 As shown, the CLK pin of the A40i chip is connected to the clock signal pin of the eMMC chip; the Data Strobe pin of the A40i chip is connected to the data selection signal pin of the eMMC chip; the CLK pin of the A40i chip is connected to the clock signal pin of the eMMC chip; the CMD pin of the A40i chip is connected to the CMD pin of the eMMC chip, which is used for the A40i chip to send commands to the eMMC, or the eMMC to send responses to the A40i chip; the D0-7 pins of the A40i chip are connected to the bidirectional data transmission pins of the eMMC chip; and the RST pin of the A40i chip is connected to the reset signal pin of the eMMC chip.

[0057] In the embodiment of the present application, the microprocessor module uses GD32F350R8T6 as the microprocessor MCU. After the MCU processes the received Profibus signal, it sends it to the main control module CPU through the SPI bus. The MCU and the CPU are connected via two SPI channels, such as Figure 5 As shown, when the voltages at both ends of the MCU and the CPU are different, the purpose of making the port levels on both sides compatible can be achieved by changing the voltages at both ends of the level conversion chip RS0108YQ20 between the MCU and the CPU.

[0058] In the embodiment of the present application, the protocol conversion device between Profibus and Ethernet further includes: a power supply module, the power supply module including an ESD protection module and an isolation power supply module;

[0059] One end of the ESD protection module is connected to an external power supply, and the other end is connected to the input end of an isolated power supply module, and the isolated power supply module is used to convert the external power supply into a 5V power supply and transmit it to the power management chip. In some embodiments, the ESD protection module is also equipped with insurance, anti-reverse connection, surge absorption and other circuits to protect the device from being damaged in harsh environments.

[0060] According to the above technical means, the isolated power supply module converts the external 24V voltage into 5V voltage, and the ESD protection module can effectively prevent the external power supply from damaging the internal chip of the power supply module.

[0061] In the embodiment of the present application, the Profibus module includes 2 electrical ports and 4 optical ports, each optical port includes a 1414TZ TX and a 2412TZ RX interface. The transmitting optical port uses a pull-up resistor and a triode to coordinate the signal voltage and provide transmission energy, and the receiving optical port coordinates the signal voltage through a pull-up resistor.

[0062] In the embodiment of the present application, the protocol conversion device between Profibus and Ethernet further includes: an IO expansion module, which is connected to the Profibus module, the RS485 module and the microprocessor module through a serial port, respectively, and is used to use the serial port to send and receive Profibus signals between the microprocessor module and the Profibus module and between the microprocessor module and the RS485 module;

[0063] The IO expansion module is also connected to the core module through the IO interface, and is used to send the signal status of the Profibus interface to the core module. In the embodiment of the present application, the IO expansion module uses FPGA as a chip for expanding the IO interface. The FPGA sends the received Profibus signal to the microprocessor module using the serial port protocol, and the FPGA is connected to the microprocessor module through two serial ports. The FPGA is also connected to the main control module CPU to provide the signal status of the Profibus interface. In a typical embodiment, a programmable logic chip GW1N-UV4-LQ100-C6 / I5 is used as the FPGA of the system to expand the serial port.

[0064] In the embodiment of the present application, the protocol conversion device for Profibus and Ethernet further includes: a debugging module, the debugging module includes a JTAG interface, a serial port and a SWD interface, the JTAG interface and the serial port are connected to the core module for debugging the core module; the SWD interface is connected to the microprocessor module for debugging the microprocessor module. The SWD interface circuit is as follows Figure 6 shown.

[0065] According to the above technical means, a variety of debugging interfaces are provided to provide hardware support for debugging of the protocol conversion device.

[0066] In the embodiment of the present application, the protocol conversion device between Profibus and Ethernet further includes: a program download module, which includes: a memory card identification module and a USB module, and the data transceiver ends of the memory card identification module and the USB module are respectively connected to the core module for realizing program download. The memory card identification module adopts a Micro_SD chip, and the USB module adopts a Micro_USB chip.

[0067] According to the above technical means, the hardware basis for two types of program downloading, USB download and memory card download, is provided.

[0068] In an embodiment of the present application, the Ethernet module includes two external signal interface chips, which are respectively connected to the two media independent interfaces of the core module, convert the MII signal into a network interface, and are connected to other DPUs through the connector of the base.

[0069] In the embodiment of the present application, the RS485 module includes two 485 circuits, each of which includes a 485 chip, a digital isolation chip, a common mode inductor and a TVS diode. The 485 chip is connected to the microprocessor module through the digital isolation chip, and the 485 chip is connected to the Profibus module through the common mode inductor and the TVS diode. In a typical embodiment of the present application, the digital isolation chip uses a π122M31 chip, and the 485 chip uses a SIT65HVD75DR chip.

[0070] According to the above technical means, the 485 chip converts the differential signal into a serial port signal, and isolates the RS485 serial port signal from the internal chip through the digital isolation chip to prevent external interference from damaging or interfering with the internal chip and signal; and common-mode inductors and TVS diodes are connected to the external connection position of the 485 signal to improve the signal's anti-interference ability and prevent signal surges from damaging the internal circuit.

[0071] Through the above technical solution, a hardware structure for bidirectional conversion between the Profibus protocol and the Ethernet protocol is provided, which solves the problem of protocol incompatibility between the Profibus slave device and the DPU.

[0072] The optional implementation modes of the present invention are described in detail above in conjunction with the accompanying drawings. However, the implementation modes of the present invention are not limited to the specific details in the above implementation modes. Within the technical concept of the implementation modes of the present invention, the technical scheme of the implementation modes of the present invention can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the implementation modes of the present invention. It should also be noted that the various specific technical features described in the above specific implementation modes can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the various possible combinations of the implementation modes of the present invention will not be described separately.

[0073] In addition, various different embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed in the embodiments of the present invention.

Claims

1. A protocol conversion device for Profibus and Ethernet, characterized in that: The protocol conversion device of Profibus and Ethernet comprises: The Ethernet module is connected to the core module via a media independent interface and is used to receive a media independent signal from the Ethernet and transmit it to the core module, or to send a media independent signal from the core module to the Ethernet; The Profibus module is connected to the RS485 module through the 485 signal interface and is used to send and receive 485 signals through the electrical port; it is connected to the microprocessor module through the serial port and is used to send and receive Profibus optical signals through the optical port; RS485 module, used to send and receive Profibus electrical port signals; The microprocessor module is connected to the Profibus module and the RS485 module through the serial port, and is connected to the core module through the SPI interface, so as to transmit the Profibus signal to the core module; Core module used to convert Profibus signals to and from media independent signals.

2. The protocol conversion device between Profibus and Ethernet according to claim 1, characterized in that: The core module includes: a main control module, a dynamic random access memory, a non-volatile memory and a power management chip; The main control module is connected to the Ethernet module via a media independent interface and to the microprocessor via an SPI interface, so as to realize the mutual conversion between the Profibus signal and the media independent signal; The main control module is connected to the dynamic random access memory and the non-volatile memory respectively, and is used to store data; The power management chip is connected to the main control module and is used to convert the 5V power supply into a target voltage to supply power to the core module, Ethernet module, Profibus module, RS485 module and microprocessor module.

3. The protocol conversion device between Profibus and Ethernet according to claim 2, characterized in that In, The main control module adopts an A40i chip, the dynamic random access memory adopts two 4Gbits DDR3 chips, and the non-volatile memory adopts an 8Gbytes eMMC chip.

4. The protocol conversion device between Profibus and Ethernet according to claim 2, characterized in that: The protocol conversion device for Profibus and Ethernet also includes: a power supply module, the power supply module includes an ESD protection module and an isolation power supply module; One end of the ESD protection module is connected to an external power supply, and the other end is connected to an input end of an isolation power supply module. The isolation power supply module is used to convert the external power supply into a 5V power supply and transmit it to a power management chip.

5. The protocol conversion device between Profibus and Ethernet according to claim 1, characterized in that: The Profibus module comprises 2 electrical ports and 4 optical ports, and each optical port comprises a 1414TZ TX and a 2412TZ RX interface.

6. The protocol conversion device between Profibus and Ethernet according to claim 1, characterized in that: The protocol conversion device for Profibus and Ethernet also includes: an IO expansion module, which is connected to the Profibus module, the RS485 module and the microprocessor module through a serial port, and is used to use the serial port to send and receive Profibus signals between the microprocessor module and the Profibus module and between the microprocessor module and the RS485 module; The IO expansion module is also connected to the core module via the IO interface, and is used to send the signal status of the Profibus interface to the core module.

7. The protocol conversion device between Profibus and Ethernet according to claim 1, characterized in that: The protocol conversion device for Profibus and Ethernet also includes a debugging module, which includes a JTAG interface, a serial port and a SWD interface. The SWD interface is connected to the microprocessor module for debugging the microprocessor module.

8. The protocol conversion device between Profibus and Ethernet according to claim 1, characterized in that: The protocol conversion device between Profibus and Ethernet also includes: a program download module, which includes: a memory card identification module and a USB module. The data transceiver ends of the memory card identification module and the USB module are respectively connected to the core module for realizing program download.

9. The protocol conversion device between Profibus and Ethernet according to claim 1, characterized in that: The Ethernet module comprises two external signal interface chips, and the two external signal interface chips are respectively connected to two media independent interfaces of the core module.

10. The protocol conversion device between Profibus and Ethernet according to claim 1, characterized in that: The RS485 module includes two 485 circuits, each of which includes a 485 chip, a digital isolation chip, a common-mode inductor and a TVS diode. The 485 chip is connected to the microprocessor module through the digital isolation chip, and the 485 chip is connected to the Profibus module through the common-mode inductor and the TVS diode.