Profibus-DP multi-master station system

By running multiple independent Profibus-DP master protocol stacks on a single MCU, the problems of high hardware costs and high system complexity of traditional multi-master systems are solved, and a cost-effective industrial control system is realized, supporting concurrent communications of multiple devices, and improving the stability and maintainability of the system.

CN119628994AInactive Publication Date: 2025-03-14FUSHI NEW ENERGY TECH (SHANGHAI) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411792345.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-03-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional Profibus-DP multi-main system has limited its application in small and medium-sized industrial control systems due to its high hardware cost and high system complexity.

Method used

It adopts a single high-performance microcontroller MCU, which runs multiple independent Profibus-DP master protocol stacks, communicates with the Profibus-DP physical interface through a signal conversion module, and supports concurrent communication of multiple devices.

Benefits of technology

Reduces hardware costs, simplifies system complexity, improves overall stability, reliability and maintainability, extends the service life of the equipment, and ensures compatibility with existing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119628994A_ABST
    Figure CN119628994A_ABST
Patent Text Reader

Abstract

The invention discloses a Profibus-DP multi-master-station system, which comprises a single MCU (Microprogrammed Control Unit), the MCU runs a plurality of mutually independent Profibus-DP master station protocol stacks, and each Profibus-DP master station protocol stack is in communication connection with a Profibus-DP physical interface through a signal conversion module; the system integration level is improved, concurrent communication of various devices can be supported, the hardware cost is reduced, the complexity of the system is simplified, the overall stability, reliability and maintainability are improved, the service life of the devices is prolonged, the operation and maintenance cost for long-term use is reduced, meanwhile, the compatibility with existing devices is ensured, and the system is suitable for popularization and application. And the universality of the system is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of industrial control system communication, and in particular relates to a Profibus-DP multi-master station system. Background Art

[0002] Profibus-DP (Process Field Bus - Distributed Periphery) is an industrial field communication protocol based on fieldbus technology. It is mainly used for communication between field devices in industrial automation control systems. It has the advantages of high speed, strong real-time performance, and strong anti-interference ability. It is widely used in factory automation, building automation and other fields.

[0003] Traditional Profibus-DP systems usually use imported Profibus communication controller chips and modules, which are expensive and limit their application in small and medium-sized industrial control systems. With the continuous advancement of domestic communication technology, the Profibus-DP communication solution based on microcontrollers has gradually matured, making it possible to develop a simple and low-cost Profibus-DP master station system.

[0004] Furthermore, there are already some Profibus-DP master station solutions based on chips such as ARM or RISC-V, but most of them are implemented by using a microprocessor with a dedicated communication control chip, which has the problems of high hardware cost and large system complexity.

[0005] Therefore, the applicant hopes to seek technical solutions to improve the above technical problems. Summary of the invention

[0006] In view of this, the purpose of the present invention is to propose a Profibus-DP multi-master station system, which not only improves the system integration, but also supports concurrent communication of multiple devices, reduces hardware costs, simplifies the complexity of the system, and improves the overall stability, reliability and maintainability. It also extends the service life of the equipment and reduces the operation and maintenance costs of long-term use, while ensuring compatibility with existing equipment and enhancing the versatility of the system.

[0007] To this end, the technical solution adopted in the present invention is as follows: A Profibus-DP multi-master station system comprises a single MCU, wherein the MCU runs multiple independent Profibus-DP master station protocol stacks, and each Profibus-DP master station protocol stack is communicatively connected with a Profibus-DP physical interface through a signal conversion module.

[0008] Preferably, each Profibus-DP physical interface is communicatively connected with a Profibus-DP slave station via a Profibus-DP bus.

[0009] Preferably, the Profibus-DP master station protocol stack includes the following workflow steps: a) The Profibus-DP master periodically polls the Profibus-DP slave diagnostic information; b) Parameter transmission after Profibus-DP slave station responds; c) Profibus-DP physical interface transmits configuration information; d) The Profibus-DP master station diagnoses again to confirm the configuration status of the Profibus-DP slave station; e) Enter periodic data exchange mode.

[0010] Preferably, the signal conversion module adopts an RS-485 conversion chip to ensure signal stability.

[0011] Preferably, a level conversion chip is provided between the serial port of the MCU and each of the signal conversion modules.

[0012] Preferably, the level conversion chip is a universal model chip, preferably a SN65HVD20 chip or a TPT481L1 chip.

[0013] Preferably, the MCU includes the following data communication process: Sending process: The upper layer application of MCU generates the data to be sent, which is packaged through the Profibus-DP master protocol stack. After the data is output through the serial port and the signal is converted and processed, it is sent to the Profibus-DP bus through the Profibus-DP physical interface; Receiving process: The signal of the Profibus-DP bus is input as a differential signal through the Profibus-DP physical interface, and is converted into a serial port signal after signal conversion. After being received by the MCU, the Profibus-DP master station protocol stack performs data parsing and provides valid data to the upper-level application of the MCU.

[0014] Preferably, the MCU adopts an ARM core microcontroller, which is compatible with most ARM microcontrollers on the market.

[0015] Preferably, the Profibus-DP master station protocol stack is the PROFIBUS DP-V0 protocol, and the supported baud rates are: 9600, 19200, 45450, 93750, 187500, 500000, 1.5M, 3M, 6M. Theoretically, each Pofibus-DP master station can connect to up to 124 slave stations.

[0016] The present invention realizes multiple independently running Profibus-DP master stations (with modularized and independently running Profibus-DP master station protocol stacks transplanted) on a single high-performance microcontroller MCU, breaking through the limitation that the traditional multi-master station design can only rely on multiple MCUs, and the modular master station protocol stack design makes the hardware and software upgrades and fault diagnosis simple and efficient, supporting multiple MCU platforms and Profibus-DP devices; it not only improves the system integration, but also supports concurrent communication of multiple devices, reduces hardware costs, simplifies the complexity of the system, and improves the overall stability, reliability and maintainability, but also extends the service life of the equipment, reduces the operation and maintenance costs of long-term use, and ensures compatibility with existing equipment, and enhances the versatility of the system; the Profibus-DP multi-master station system solution provided by the present invention can provide a cost-effective and powerful solution for the field of industrial control. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of the hardware structure connection of the Profibus-DP multi-master system under the specific implementation mode of the present application; Figure 2 It is a flowchart of the workflow steps of the Profibus-DP master station protocol stack under the specific implementation mode of this application; Figure 3 It is a schematic diagram of the data communication process of the MCU under the specific implementation mode of this application. DETAILED DESCRIPTION

[0018] The embodiment of the present invention discloses a Profibus-DP multi-master station system, including a single MCU, wherein the MCU runs multiple independent Profibus-DP master station protocol stacks, and each Profibus-DP master station protocol stack is communicatively connected with a Profibus-DP physical interface through a signal conversion module.

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] See also Figure 1 As shown, this embodiment provides a Profibus-DP multi-master station system, including a single MCU, the MCU runs multiple independent Profibus-DP master station protocol stacks, and each Profibus-DP master station protocol stack is communicated and connected with the Profibus-DP physical interface through a signal conversion module; further preferably, in this embodiment, each Profibus-DP physical interface ( Figure 1 Marked as "DP interface") communicates with the Profibus-DP slave station through the Profibus-DP bus.

[0021] Preferably, please further refer to Figure 2 As shown, the Profibus-DP master protocol stack includes the following workflow steps: a) The Profibus-DP master periodically polls the Profibus-DP slave diagnostic information ( Figure 2 Labeled "GetDiagnostics"); b) Parameter transmission after Profibus-DP slave station responds ( Figure 2 Labeled "Set Parameters"); c) Profibus-DP physical interface transmission configuration information ( Figure 2 Marked as "Check Configuration"); d) Profibus-DP master station diagnoses again and confirms the configuration status of Profibus-DP slave station ( Figure 2 Labeled "GetDiagnostics"); e) Entering periodic data exchange mode ( Figure 2 labeled "Data Exchange").

[0022] Preferably, in the present embodiment, the signal conversion module adopts an RS-485 conversion chip to ensure signal stability; preferably, in the present embodiment, a level conversion chip is respectively provided between the serial port of the MCU and each signal conversion module; further preferably, in the present embodiment, the MCU adopts an ARM core microcontroller; the level conversion chip adopts a universal model chip, which is compatible with most TTL to RS485 chips on the market, and further preferably adopts an SN65HVD20 chip or a TPT481L1 chip.

[0023] Preferably, in this embodiment, the Profibus-DP master station protocol stack is the PROFIBUS DP-V0 protocol, and the supported baud rates are: 9600, 19200, 45450, 93750, 187500, 500000, 1.5M, 3M, 6M. Theoretically, each Pofibus-DP master station can connect to up to 124 Pofibus-DP slave stations.

[0024] Preferably, please further refer to Figure 3 As shown, MCU (including Figure 3 The "USART" module shown in the figure is a module for receiving / sending data, and includes the following data communication process: Sending process: MCU upper application ( Figure 3 Marked as "Application") generates the data to be sent, and passes through its corresponding Profibus-DP master station protocol stack ( Figure 3 The data is packaged by the serial port output level conversion circuit for level conversion, and then the RS-485 conversion chip for signal conversion. Figure 3 Marked as "DP port") is sent to the Profibus-DP bus, and the Profibus-DP slave station responds to the communication via the Profibus-DP bus; Receiving process: The signal of Profibus-DP bus (from Profibus-DP slave station response communication) is transmitted through Profibus-DP physical interface ( Figure 3 The differential signal is input by the RS-485 conversion chip, which converts the signal into a serial port signal. The level conversion circuit converts the signal into a serial port signal and then inputs the signal into the MCU through the serial port. After the MCU receives the signal, the Profibus-DP master station protocol stack ( Figure 3 Marked as "Profibus-DP protocol stack") to parse the data and provide the valid data to the upper application of MCU ( Figure 3 labeled "Application").

[0025] This embodiment implements multiple independently running Profibus-DP master stations on a single high-performance microcontroller MCU (with a modular, independently running Profibus-DP master station protocol stack transplanted), breaking through the limitation that the traditional multi-master station design can only rely on multiple MCUs, and the modular master station protocol stack design makes the hardware and software upgrades and fault diagnosis simple and efficient, supporting multiple MCU platforms and Profibus-DP devices; it not only improves the system integration, but also supports concurrent communication of multiple devices, reduces hardware costs, simplifies the complexity of the system, and improves the overall stability, reliability and maintainability, but also extends the service life of the equipment, reduces the long-term operation and maintenance costs, while ensuring compatibility with existing equipment and enhancing the versatility of the system.

[0026] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0027] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A Profibus-DP multi-master system, comprising a single MCU, characterized in that: The MCU runs a plurality of mutually independent Profibus-DP master station protocol stacks, and each Profibus-DP master station protocol stack is communicatively connected with the Profibus-DP physical interface through a signal conversion module.

2. The Profibus-DP multi-master system according to claim 1, characterized in that: Each Profibus-DP physical interface is connected to the Profibus-DP slave station through the Profibus-DP bus.

3. The Profibus-DP multi-master system according to claim 2, characterized in that: The Profibus-DP master station protocol stack includes the following workflow steps: a) The Profibus-DP master periodically polls the Profibus-DP slave diagnostic information; b) Parameter transmission after Profibus-DP slave station responds; c) Profibus-DP physical interface transmits configuration information; d) The Profibus-DP master station diagnoses again to confirm the configuration status of the Profibus-DP slave station; e) Enter periodic data exchange mode.

4. The Profibus-DP multi-master system according to claim 1, characterized in that: The signal conversion module adopts RS-485 conversion chip to ensure signal stability.

5. The Profibus-DP multi-master system according to claim 1 or 4, characterized in that: A level conversion chip is respectively provided between the serial port of the MCU and each of the signal conversion modules.

6. The Profibus-DP multi-master system according to claim 1, characterized in that: The MCU includes the following data communication process: Sending process: The upper layer application of MCU generates the data to be sent, which is packaged through the Profibus-DP master protocol stack. After the data is output through the serial port and the signal is converted and processed, it is sent to the Profibus-DP bus through the Profibus-DP physical interface; Receiving process: The signal of the Profibus-DP bus is input as a differential signal through the Profibus-DP physical interface, and is converted into a serial port signal after signal conversion. After being received by the MCU, the Profibus-DP master station protocol stack performs data parsing and provides valid data to the upper-level application of the MCU.

7. The Profibus-DP multi-master system according to claim 1, characterized in that: The MCU adopts an ARM core single chip microcomputer.

8. The Profibus-DP multi-master system according to claim 1, characterized in that: The Profibus-DP master station protocol stack is the PROFIBUS DP-V0 protocol.

9. The Profibus-DP multi-master system according to claim 5, characterized in that: The level conversion chip is a general-purpose chip, preferably a SN65HVD20 chip or a TPT481L1 chip.

Citation Information

Patent Citations

  • Protocol conversion device based on PROFIBUS-DP master station field bus

    CN101964737A

  • Device for switching from ETHERNET / IP (Internet Protocol) industrial Ethernet to Profibus-DP

    CN103401772A

  • Profibus DP master station communication card, Profibus DP master station communication method and Profibus DP master station communication system

    CN112445536A