CN103580972A - PROFIBUS-DP and MODBUS protocol conversion device and implementation method - Google Patents
PROFIBUS-DP and MODBUS protocol conversion device and implementation method Download PDFInfo
- Publication number
- CN103580972A CN103580972A CN201210281352.XA CN201210281352A CN103580972A CN 103580972 A CN103580972 A CN 103580972A CN 201210281352 A CN201210281352 A CN 201210281352A CN 103580972 A CN103580972 A CN 103580972A
- Authority
- CN
- China
- Prior art keywords
- profibus
- modbus
- unit
- protocol
- control unit
- 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.)
- Pending
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention discloses a PROFIBUS-DP and MODBUS protocol conversion device and an implementation method. The PROFIBUS-DP and MODBUS protocol conversion device and the implementation method comprise a PROFIBUS-DP protocol unit, a peripheral circuit of the PROFIBUS-DP protocol unit, working modes, and a data connection method. The connection is achieved through the way that a CPU control unit is adopted and is connected with PROFIBUS-DP protocol agreement and a human-machine interface unit through a connecting unit, and a power source unit is connected with other units and provides a working power source for the units. According to the PROFIBUS-DP and MODBUS protocol conversion device and the implementation method, the defects that updating modifying difficulties are large for conversion from MODBUS passive station equipment into PROFIBUS passive station equipment in the prior art and reliability is not high are overcome, independent modularization design is achieved, software and hardware design of an original mature product is not changed, a system is more stable and reliable, the equipment can be maintained easily, and the real-time performance is high. The PROFIBUS-DP and MODBUS protocol conversion device and the implementation method have the advantages that networking can be conducted conveniently, management and maintenance can be conducted easily, and communication engineering time on the basis of PROFIBUS is greatly shortened.
Description
Technical field
A kind of PROFIBUS of the present invention and MODBUS protocol conversion apparatus, integrate PROFIBUS-DP slave station, MODBUS main website, data processing, bus communication, in industrial automatic control, realize the device of protocol conversion, data processing and the management of PROFIBUS field bus system and MODBUS bus system.Belong to technical field of automatic control.
Background technology
MODBUS bus is a kind of communication bus that low-voltage power instrumentation is often used, but it has the limitation of self, when communicating by letter with tele-control system, because communication point table can not independent assortment, when tele-control system will be inquired about slave station information, except reading own required part data, also must read redundant data, or minute several times read, and greatly reduce communication efficiency; PROFIBUS-DP bus is a kind of high speed communication mode cheaply, is usually used in the communication between device level control system and distributing I/O; Its feature has just determined its high speed, real-time and reliability requirements, owing to can passing through GSD file to any configuration of inputoutput data, when with tele-control system swap data, tele-control system can only read required part data, do not need to read redundant data or read several times, communication efficiency is improved; In addition, along with the raising of industry spot automaticity, the communication reliability of low-voltage power instrumentation is had higher requirement, PROFIBUS-DP agreement is more and more for low-voltage power TT&C system; Yet PROFIBUS-DP agreement is for MODBUS agreement, it is larger that it realizes difficulty, by PROFIBUS and MODUBUS protocol conversion apparatus, can quickly and easily MODBUS communication apparatus be linked in PROFIBUS bus system.
Summary of the invention
The present invention upgrades to the defects such as PROFIBUS-DP equipment difficulty is large, poor reliability, cycle length in order to overcome existing MODBUS scrap build, design a kind of PROFIBUS-DP slave station, MODBUS main website, data processing, bus communication of integrating, realize the device that MODBUS bus apparatus transform PROFIBUS bus apparatus fast as.Its technology is achieved in that and comprises power subsystem, CPU control unit, human-machine interface unit, PROFIBUS-DP protocol element, linkage unit, it is characterized in that: its connection is CPU control unit, PROFIBUS-DP protocol element, human-machine interface unit, by linkage unit, realize exchanges data, the working power that each modular unit of power subsystem generator is required, described CPU control unit has adopted the ARM Cortex-M3 processor of Low Power High Performance; Described PROFIBUS-DP protocol element has adopted VPC3+C protocol chip; In described unit module layout, adopted external input signal and output to do photoelectricity isolation;
Its data processing and function implementation procedure are:
(1) CPU control unit is realized based on C language, do not use embedded OS, by the reasonable arrangement of interrupt service subroutine, accelerate information processing rate, mainly completed the processing of the inquiry of MODBUS bus data and reception, PROFIBUS-DP bus buffer district data and preparation, reception and processing human-machine interface unit key-press event, by the functions such as LCD display system state of human-machine interface unit; CPU control unit is the control core of whole device, and based on ARM Cortex-M3 microprocessor STM32, the FLASH of built-in enough capacity, RAM memory, USART interface, a large amount of GPIO interface, possess powerful data-handling capacity and control ability;
CPU control unit sends query message to MODBUS slave station, and receive the data that MODBUS slave station returns, and analyzing and processing in addition, according to the configuration pre-setting, the remote signalling receiving, telemetry are placed into the appointed position of row buffer in PROFIBUS-DP agreement; Simultaneously, CPU control unit reads the lower row buffer of PROFIBUS-DP protocol element, process the downward message of PROFIBUS-DP main website, the input data that PROFIBUS-DP main website is asked row buffer PROFIBUS-DP agreement is transferred to PROFIBUS-DP protocol element, if during the output data variation that PROFIBUS-DP main website asks, CPU control unit or change oneself state, or by MODBUS bus, order is handed down to MODBUS slave station; CPU control unit possesses faults itself self-test capability, and automatically starting fault self-checking program when abnormal conditions appear in device, carries out malfunction elimination work to its hardware and part software thereof, and sends warning message to operational administrative personnel by human-machine interface unit.
(2) power subsystem input DC power, scope is 20V--28V, output can be for the working power of other each cell operation;
(3) PROFIBUS-DP protocol element has adopted VPC3+C protocol chip, and the data transmission rate of 12Mbit/s is identified and supported to reach to integrated PROFIBUS-DP slave station protocol stack automatically, supports 3.3V voltage, can directly be connected with STM32 chip, low in energy consumption;
(4) human-machine interface unit is adjusted parameter with button, with LCD, comes display system information and malfunction;
Advantage and the effect implemented after this technology are: be first that to have overcome MODBUS slave station device translates be in the past that PROFIBUS slave station upgrading difficulty is large, the defect that reliability is not high, realize independently modularized design, do not change the design of hardware and software of original matured product, make system more reliable and more stable, also be easy to the maintenance of equipment, real-time is high; Having networking convenient, be easy to administer and maintain, shortened greatly the Communication Engineering time based on PROFIBUS, is the communication protocol conversion device that a kind of practicality is very strong.
Accompanying drawing explanation
Fig. 1 is general structure schematic diagram of the present invention;
Wherein, 1-power subsystem, 2-CPU control unit, 3-human-machine interface unit, 4-PROFIBUS protocol element, 5-linkage unit.
Embodiment
Below in conjunction with accompanying drawing, the present invention is further described:
See accompanying drawing 1, connection of the present invention is to adopt CPU control unit 2, by linkage unit 5, with human-machine interface unit 3, is connected with PROFIBUS-DP protocol element 4.Power subsystem 1 connects to other unit and its working power is provided; CPU control unit 2 has adopted the ARM Cortex-M3 processor STM32 of Low Power High Performance, and PROFIBUS-DP protocol element 4 has adopted special-purpose PROFIBUS-DP slave station protocol chip VPC3+C; Power subsystem has adopted the Switching Power Supply of isolation; Each unit adopts modularized design, has all adopted the photoelectricity isolation processing of signal on module placement.
See accompanying drawing 1, its function realizing method and function thereof realize concrete steps and are:
(1) power subsystem 1 input direct-current 20V--28V, output can be for the working power of other each cell operation;
(2) PROFIBUS-DP protocol element 4 has adopted special-purpose PROFIBUS-DP slave station protocol chip VPC3+C, the RS485 circuit that this chip is isolated by high speed photo coupling has been realized the physical layer of agreement, VPC3+C receives data from PROFIBUS-DP bus, the data of handling well are put into inner dual port RAM, and notify CPU control unit 2 to process by external interrupt; After receiving the back information of CPU control unit 2, VPC3+C sends it in bus;
(3) CPU control unit 2 completes the data acquisition function of MODBUS main website, by query message, the return data of MODBUS slave station is put into MODBUS data buffer zone; CPU control unit 2 is by responding coming from the interruption of VPC3+C, obtain the message commands of PROFIBUS-DP protocol element 4 receptions and processed, or order is transmitted to MODBUS slave station, or the related data in MODBUS data buffer zone is transferred to PROFIBUS-DP protocol element 4; CPU control unit 2 is based on STM32F2 processor, and built-in jumbo FLASH, SRAM memory, dominant frequency reach 72MHz, possess powerful data-handling capacity and ability to communicate;
(4) human-machine interface unit 3 provides man-machine interface, and host CPU control unit 2 passes through STM32
Outside GPIO line connect, with the real-time display working condition of LCD and various fault message, and inquire about the parameter information setting, also can carry out setup parameter by button operation, and amended parameter is returned to CPU control unit 2, realize online modification parameter.
Claims (5)
1. PROFIBUS-DP and MODBUS protocol conversion apparatus and an implementation method, comprise that the structure of power subsystem, CPU control unit, PROFIBUS-DP slave station protocol element, human-machine interface unit, connection order unit forms; It is characterized in that: its connection is to adopt power subsystem, CPU control unit, PROFIBUS-DP slave station protocol element to be connected by linkage unit with human-machine interface unit, power subsystem is connected by data link unit with other unit and its working power is provided;
Its implementation is:
CPU control unit is realized based on C language, do not use embedded OS, by the reasonable arrangement of interrupt service subroutine, accelerate information processing rate, mainly completed the processing of the inquiry of MODBUS bus data and reception, PROFIBUS-DP bus buffer district data and preparation, reception and processing human-machine interface unit key-press event, by the functions such as LCD display system state of human-machine interface unit; CPU control unit is the control core of whole device, and based on ARM Cortex-M3 microprocessor STM32, the FLASH of built-in enough capacity, RAM memory, USART interface, a large amount of GPIO interface, possess powerful data-handling capacity and control ability;
CPU control unit sends query message to MODBUS slave station, and receive the data that MODBUS slave station returns, and analyzing and processing in addition, according to the configuration pre-setting, the remote signalling receiving, telemetry are placed into the appointed position of row buffer in PROFIBUS-DP agreement; Simultaneously, CPU control unit reads the lower row buffer of PROFIBUS-DP protocol element, process the downward message of PROFIBUS-DP main website, the input data that PROFIBUS-DP main website is asked row buffer PROFIBUS-DP agreement is transferred to PROFIBUS-DP protocol element, if during the output data variation that PROFIBUS-DP main website asks, CPU control unit or change oneself state, or by MODBUS bus, order is handed down to MODBUS slave station; CPU control unit possesses faults itself self-test capability, and automatically starting fault self-checking program when abnormal conditions appear in device, carries out malfunction elimination work to its hardware and part software thereof, and sends warning message to operational administrative personnel by human-machine interface unit;
(2) power subsystem input DC power, scope is 20V--28V, output can be for the working power of other each cell operation;
(3) PROFIBUS-DP protocol element has adopted VPC3+C protocol chip, and the data transmission rate of 12Mbit/s is identified and supported to reach to integrated PROFIBUS-DP slave station protocol stack automatically, supports 3.3V voltage, can directly be connected with STM32 chip, low in energy consumption;
(4) human-machine interface unit is adjusted parameter with button, with LCD, comes display system information and malfunction.
2. a kind of PROFIBUS-DP according to claim 1 and MODBUS protocol conversion apparatus and implementation method, is characterized in that: described CPU control unit has adopted the ARM Cortex-3 microprocessor STM32 of Low Power High Performance.
3. a kind of PROFIBUS-DP according to claim 1 and MODBUS protocol conversion apparatus, is characterized in that: described PROFIBUS-DP protocol element has adopted VPC3+C protocol chip.
4. a kind of PROFIBUS-DP according to claim 1 and MODBUS protocol conversion apparatus and implementation method, is characterized in that: described power subsystem has adopted the Switching Power Supply of isolation.
5. a kind of PROFIBUS-DP according to claim 1 and MODBUS protocol conversion apparatus and implementation method, is characterized in that: each described unit adopts modularized design, has all adopted the photoelectricity isolation processing of signal on module placement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210281352.XA CN103580972A (en) | 2012-08-09 | 2012-08-09 | PROFIBUS-DP and MODBUS protocol conversion device and implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210281352.XA CN103580972A (en) | 2012-08-09 | 2012-08-09 | PROFIBUS-DP and MODBUS protocol conversion device and implementation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103580972A true CN103580972A (en) | 2014-02-12 |
Family
ID=50051945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210281352.XA Pending CN103580972A (en) | 2012-08-09 | 2012-08-09 | PROFIBUS-DP and MODBUS protocol conversion device and implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103580972A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512066A (en) * | 2015-11-24 | 2016-04-20 | 长沙奥托自动化技术有限公司 | Soft starter communication protocol conversion apparatus based on profibus and method |
CN110912793A (en) * | 2019-12-30 | 2020-03-24 | 江阴拓普电气有限公司 | Power supply communication bus system |
CN110927437A (en) * | 2019-11-05 | 2020-03-27 | 石钢京诚装备技术有限公司 | Method for diagnosing and solving profibus-DP network fault |
CN114500148A (en) * | 2021-12-30 | 2022-05-13 | 浙江中控技术股份有限公司 | PA equipment conversion device, access method, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2757454Y (en) * | 2004-04-23 | 2006-02-08 | 上海电器科学研究所(集团)有限公司 | In-situ equipment communication controller |
CN202077059U (en) * | 2010-12-27 | 2011-12-14 | 深圳市正弦软件技术有限公司 | Bus bridge capable of changing PROFIBUS protocol to MODBUS protocol |
-
2012
- 2012-08-09 CN CN201210281352.XA patent/CN103580972A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2757454Y (en) * | 2004-04-23 | 2006-02-08 | 上海电器科学研究所(集团)有限公司 | In-situ equipment communication controller |
CN202077059U (en) * | 2010-12-27 | 2011-12-14 | 深圳市正弦软件技术有限公司 | Bus bridge capable of changing PROFIBUS protocol to MODBUS protocol |
Non-Patent Citations (1)
Title |
---|
ZHAO JUE,YANG SHUN: "Design of Modbus-Profibus fieldbus bridge based on the STM32 and VPC3 + C", 《SOFTWARE ENGINEERING AND SERVICE SCIENCE(ICSESS),2012 IEEE 3RD INTERNATIONAL CONFERENCE ON 22-24 JUNE 2012》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512066A (en) * | 2015-11-24 | 2016-04-20 | 长沙奥托自动化技术有限公司 | Soft starter communication protocol conversion apparatus based on profibus and method |
CN105512066B (en) * | 2015-11-24 | 2018-11-20 | 长沙奥托自动化技术有限公司 | Soft starter communication protocol conversion device and method based on profibus |
CN110927437A (en) * | 2019-11-05 | 2020-03-27 | 石钢京诚装备技术有限公司 | Method for diagnosing and solving profibus-DP network fault |
CN110927437B (en) * | 2019-11-05 | 2022-01-28 | 石钢京诚装备技术有限公司 | Method for diagnosing and solving profibus-DP network fault |
CN110912793A (en) * | 2019-12-30 | 2020-03-24 | 江阴拓普电气有限公司 | Power supply communication bus system |
CN114500148A (en) * | 2021-12-30 | 2022-05-13 | 浙江中控技术股份有限公司 | PA equipment conversion device, access method, electronic equipment and storage medium |
CN114500148B (en) * | 2021-12-30 | 2024-03-08 | 浙江中控技术股份有限公司 | Conversion device, access method, electronic equipment and storage medium of PA equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205539996U (en) | Redundant control system of controller, IO communication bus and communication module | |
CN103580972A (en) | PROFIBUS-DP and MODBUS protocol conversion device and implementation method | |
CN104102161A (en) | Intelligent integrated power switch quantity monitoring module | |
CN204347561U (en) | Based on the distributed monitor-control network of RS485 communication | |
CN202737902U (en) | PROFIBUS-DP and MODBUS protocol conversion device | |
CN103246258B (en) | Welding machine power supply control system adopting power line carrier networking technology | |
CN207319048U (en) | Pipeline stall positions and remote alarming device | |
CN101482550A (en) | Plant physiological monitoring system | |
CN202494898U (en) | OPC-based building energy source monitoring device | |
CN101436043B (en) | Communication method of communication server | |
CN204241910U (en) | Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer | |
CN203350704U (en) | Communication control system used for nuclear power station secondary circuit condensation water precision processing public system | |
CN204859572U (en) | A control system for breeding or crop cultivation | |
CN204065792U (en) | A kind of modular remote monitoring secondary water-supply device controller | |
CN207611241U (en) | A kind of industry optimal control device | |
CN203338483U (en) | Online monitoring, data-acquisition and multi-language display device for production equipment | |
CN202886920U (en) | Elasticizer control system | |
CN105450595A (en) | DeviceNet and MODBUS protocol conversion device and implement method | |
CN203338093U (en) | Dual-core control device based on bad industrial environment | |
CN207232713U (en) | Workshop appliance monitoring system based on Powerlink | |
CN205787768U (en) | The earth station of two-way storage | |
CN206209396U (en) | Production scene serial monitoring intelligent terminal | |
CN202120116U (en) | Distributed control system | |
CN204327656U (en) | A kind of cylinder control based on LPC1764 single-chip microcomputer | |
CN204761593U (en) | Wireless image sensor of low -power consumption |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140212 |