CN111435234A - Intelligent gateway control system and method - Google Patents
Intelligent gateway control system and method Download PDFInfo
- Publication number
- CN111435234A CN111435234A CN201910037508.1A CN201910037508A CN111435234A CN 111435234 A CN111435234 A CN 111435234A CN 201910037508 A CN201910037508 A CN 201910037508A CN 111435234 A CN111435234 A CN 111435234A
- Authority
- CN
- China
- Prior art keywords
- data
- intelligent gateway
- peer
- equipment
- plc
- 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
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000006854 communication Effects 0.000 claims abstract description 24
- 238000004891 communication Methods 0.000 claims abstract description 24
- 238000007726 management method Methods 0.000 claims abstract description 19
- 230000006855 networking Effects 0.000 claims abstract description 10
- 238000012545 processing Methods 0.000 claims abstract description 7
- 238000013500 data storage Methods 0.000 claims abstract description 5
- 238000012544 monitoring process Methods 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000007175 bidirectional communication Effects 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 238000013499 data model Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101000746134 Homo sapiens DNA endonuclease RBBP8 Proteins 0.000 description 1
- 101000969031 Homo sapiens Nuclear protein 1 Proteins 0.000 description 1
- 102100021133 Nuclear protein 1 Human genes 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000003889 chemical engineering Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/058—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/1153—Scan only some I-O registers, use flags
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
the invention provides an intelligent gateway control system and a method, which relate to the field of industrial control, wherein the system comprises a background management system for configuration of peer-to-Peer (PLC) equipment group information, a driving protocol, an alarm condition, a variable group and variable information, an intelligent gateway for networking communication of PLC equipment, and a cloud server for data storage and processing.
Description
Technical Field
The invention relates to the field of industrial control, in particular to an intelligent gateway control system and method.
Background
with the development of technology, the pl C devices are miniaturized, labeled, intelligent, and networked, and have increasingly powerful functions, and are widely applied to the fields of electric power, chemical engineering, mechanical manufacturing, automobiles, and the like.
the system structure of the PLC equipment is closed, the hardware systems of various large PLC equipment manufacturers are not compatible with each other, programming languages are greatly different, after one PLC equipment is selected forever, a control rule corresponding to the selected PLC equipment needs to be selected, and meanwhile, corresponding programming languages need to be used for development, so that the limitation of selecting the PLC equipment by a user and higher later development cost are caused, and along with the rise of Internet and cloud computing, the user has higher requirements on timeliness and analysis of data, and the traditional PLC equipment cannot inform the user of the operation state of industrial equipment in time.
Disclosure of Invention
in view of the above drawbacks of the prior art, an object of the present invention is to provide an intelligent gateway control system and method, which can implement real-time bidirectional communication of data with a pl C device, perform conversion communication according to a communication protocol, implement conversion reading and control of communication protocols of different manufacturers, and display the operation state of an industrial device, alarm of an abnormal signal, and early warning and monitoring functions of a user mobile device through a screen.
the invention provides an intelligent gateway control system which comprises a background management system, an intelligent gateway and a cloud server, wherein the background management system is used for configuration of peer-to-Peer (PLC) equipment group information, a driving protocol, an alarm condition, a variable group and variable information, the intelligent gateway is used for networking communication of the PLC equipment, and the cloud server is used for data storage and processing.
furthermore, the intelligent gateway is in networking communication with the PLC equipment in a TCP/IP or RS485 communication mode.
An intelligent gateway control method, the method comprising the steps of:
step 1, a background management system configures peer-to-Peer (PLC) equipment group information, a driving protocol, an alarm condition, a variable group and variable information which need to be monitored by an intelligent gateway;
step 2, the intelligent gateway is connected to the peer-to-Peer (PLC) equipment group for networking through a preset communication mode;
step 3, after the intelligent gateway is started, acquiring register variable data of the peer-to-peer (P-L-C) equipment group to be monitored from a background management system;
step 4, the intelligent gateway monitors the state of the peer-to-Peer (PC) device group, automatically stores the data in a memory card of the intelligent gateway when the data change, simultaneously sends the data to a cloud server, the cloud server receives the data and stores the data in a database, and sends the data to a client screen and the mobile device for monitoring;
And 5: when the sending data triggers an alarm condition, alarm display is carried out on a client screen and the mobile equipment;
Step 6: and the cloud server performs modeling processing on the received data to form an operation index.
As described above, the intelligent gateway control system and method of the present invention have the following beneficial effects:
the method can realize bidirectional communication with the P L C equipment data of each large mainstream manufacturer, carry out conversion communication on the P L C equipment communication protocol of the mainstream manufacturer, such as a Schneider Modbus communication protocol, a Siemens Profibus communication protocol, an ABEthernet IP communication protocol and the like, obtain the P L C equipment data of each mainstream manufacturer, store the data in a cloud server to form large data so as to form various data model indexes, can alarm abnormal equipment information, react on a monitoring graph page in real time, store and analyze historical data, and analyze and prejudge the running track of the P L C equipment through the large data analysis along with the accumulation of the data.
Drawings
Fig. 1 is a schematic diagram illustrating a relationship connection of an intelligent gateway control method disclosed in the embodiment of the present invention.
Fig. 2 is a flowchart illustrating an intelligent gateway control method disclosed in an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
the invention provides an intelligent gateway control system and a method, wherein the system comprises a background management system for configuration of peer-to-peer (P-L-C) equipment group information, a driving protocol, an alarm condition, a variable group and variable information, an intelligent gateway for networking communication of the P-L-C equipment, and a cloud server for data storage and processing.
furthermore, the intelligent gateway is in networking communication with the PLC equipment in a TCP/IP or RS485 communication mode.
As shown in fig. 1, the method comprises the steps of:
step 1, a background management system configures peer-to-Peer (PLC) equipment group information, a driving protocol, an alarm condition, a variable group and variable information which need to be monitored by an intelligent gateway;
step 2, the intelligent gateway is connected to the peer-to-Peer (PLC) equipment group for networking through a preset communication mode;
step 3, after the intelligent gateway is started, acquiring register variable data of the peer-to-peer (P-L-C) equipment group to be monitored from a background management system;
step 4, the intelligent gateway monitors the state of the peer-to-Peer (PC) device group, automatically stores the data in a memory card of the intelligent gateway when the data change, simultaneously sends the data to a cloud server, the cloud server receives the data and stores the data in a database, and sends the data to a client screen and the mobile device for monitoring;
And 5: when the sending data triggers an alarm condition, alarm display is carried out on a client screen and the mobile equipment;
Step 6: and the cloud server performs modeling processing on the received data to form an operation index.
As shown in fig. 2, the intelligent gateway control method of the present invention specifically includes:
inputting a website http:// XXX. dowaysoft. com/XXX of a background management system in a browser, logging in the background management system after a login page appears, inputting a user name and a password, starting an intelligent gateway setting function, inputting intelligent gateway information comprising an intelligent gateway number, a name, an IP address, a P L C device number corresponding to the device to be controlled, a device name, a device type (for example: Siemens, Schneider, AB and the like), a device number, a communication protocol (TCP/IP or RS485), variables and address mapping corresponding to a P L C device register, starting a condition alarm setting function, and selecting a control variable corresponding to the P L C device to set an alarm condition.
the gateway program of the intelligent gateway is deployed under a disc directory of linux iot equipment, the gateway program is run to a specified directory through a command, and the command is dotnet PltcDateway, api, dll-urls http:// localhost:80, the linux iot equipment starts the gateway program, wherein a port is 80, the linux iot equipment needs to be connected into a local area network through TCP/IP, and the PLC equipment also needs to be connected into the local area network through TCP/IP.
The following connection is exemplified using the schneider modbus communication protocol.
the P L C devices to communicate need to connect to the lan and specify a fixed IP address for each P L C device.
for example, the background management system is provided with two pieces of P L C equipment, wherein one register address in the P L C equipment 1 is 40001 (digital type), two register addresses in the P L C equipment 2 are 40002 (digital type) and 40004 (digital type), respectively, the gateway program stores data into a program memory variable, and simultaneously a TCP/IP port 502 of 192.168.1.10 and 192.168.1.20 is opened by Socket to establish connection.
when the communication protocol is in an RS485 mode, the P L C device does not need an IP address, the P L C device is connected with the linux iot device through an RS485 bus, and the gateway program directly opens a COM1 serial port through a SerialPort to be connected.
after establishing connection with the P-L C device, starting a thread to poll and send byte data (including register address 40001, check code and the like) to a connected port every second, and waiting for receiving a value returned by the register address after successful sending.
And after the returned value is read, comparing the read value with the Data value in the gateway program, if the returned value is changed, recording new Data into a Data directory, naming the new Data into a local file from Data year to month to day, replacing old Data in the memory, and if the old Data is not changed, not recording related Data.
The gateway program starts another thread to read the historical Data under the Data directory every other second, calls the Data in the background management system to be stored in the cloud server, successfully uploads the Data, records the last uploading time and the last Data uploading position, and records the last Data uploading position in the Upload file under the directory, and if the historical Data files before the current day existing under the Data directory are uploaded to the cloud server, the historical Data files before the current day are deleted to relieve the pressure of a Data storage space.
the method comprises the steps that a user opens a peer-to-peer (P-L-C) device monitoring page of a background management system, the monitoring page is displayed in an SVG picture mode, a SignalR client is started after the page is opened, a cloud server is monitored, once data of the cloud server are changed, the data are sent to the SignalR client through the SignalR server, and the client receives the data and then changes the element value state corresponding to the SVG.
The user opens the intelligent gateway monitoring page, the monitoring page calls background management system data every two seconds, the background management system calls an 80-port of an IP address of an intelligent gateway program, CPU, memory, temperature and disk state information of the intelligent gateway is obtained, and the information is displayed in the equipment monitoring page in an icon display mode.
in conclusion, the method can acquire the data of the PLC equipment of each mainstream manufacturer, store the data in the cloud server to form big data so as to form various data model indexes, can alarm abnormal equipment information, reflect the abnormal equipment information on a monitoring graph page in real time, store and analyze historical data, and analyze and prejudge the running track of the equipment through big data analysis along with the accumulation of the data.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (3)
1. the intelligent gateway control system is characterized by comprising a background management system, an intelligent gateway and a cloud server, wherein the background management system is used for configuration of peer-to-Peer (PLC) equipment group information, a driving protocol, an alarm condition, a variable group and variable information, the intelligent gateway is used for networking communication of the PLC equipment, and the cloud server is used for data storage and processing.
2. the intelligent gateway control system of claim 1, wherein the intelligent gateway performs networking communication with the PLC device through a TCP/IP or RS485 communication mode.
3. An intelligent gateway control method, characterized in that the method comprises the following steps:
step 1, a background management system configures peer-to-Peer (PLC) equipment group information, a driving protocol, an alarm condition, a variable group and variable information which need to be monitored by an intelligent gateway;
step 2, the intelligent gateway is connected to the peer-to-Peer (PLC) equipment group for networking through a preset communication mode;
step 3, after the intelligent gateway is started, acquiring register variable data of the peer-to-peer (P-L-C) equipment group to be monitored from a background management system;
step 4, the intelligent gateway monitors the state of the peer-to-Peer (PC) device group, automatically stores the data in a memory card of the intelligent gateway when the data change, simultaneously sends the data to a cloud server, the cloud server receives the data and stores the data in a database, and sends the data to a client screen and the mobile device for monitoring;
And 5: when the sending data triggers an alarm condition, alarm display is carried out on a client screen and the mobile equipment;
Step 6: and the cloud server performs modeling processing on the received data to form an operation index.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910037508.1A CN111435234A (en) | 2019-01-15 | 2019-01-15 | Intelligent gateway control system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910037508.1A CN111435234A (en) | 2019-01-15 | 2019-01-15 | Intelligent gateway control system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111435234A true CN111435234A (en) | 2020-07-21 |
Family
ID=71580082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910037508.1A Pending CN111435234A (en) | 2019-01-15 | 2019-01-15 | Intelligent gateway control system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111435234A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112953818A (en) * | 2021-01-29 | 2021-06-11 | 大冶特殊钢有限公司 | Communication system and method based on intelligent gateway equipment |
CN113064394A (en) * | 2021-03-31 | 2021-07-02 | 上汽通用五菱汽车股份有限公司 | MODBUS _ TCP-based real-time monitoring method and system |
CN114253205A (en) * | 2021-11-12 | 2022-03-29 | 浙江省北大信息技术高等研究院 | PLC data reading method, device and system |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103326939A (en) * | 2013-06-28 | 2013-09-25 | 大连理工大学 | Oil pipeline remote safety monitoring intelligent gateway based on 4G technology |
CN103488150A (en) * | 2013-09-27 | 2014-01-01 | 济钢集团有限公司 | On-line managing system and managing method for iron-making production information |
CN103716591A (en) * | 2013-12-27 | 2014-04-09 | 镇江晶鑫电子科技有限公司 | Modularized high-definition camera shooting integrated flexible and universal intelligent gateway |
CN205028132U (en) * | 2015-08-28 | 2016-02-10 | 迈格钠磁动力股份有限公司 | Intelligent permanent magnetism transmission management system |
CN106254234A (en) * | 2016-10-20 | 2016-12-21 | 珠海格力智能装备有限公司 | Intelligent communication gateway and Intellective Communication System |
CN106502234A (en) * | 2016-10-17 | 2017-03-15 | 重庆邮电大学 | Industrial control system method for detecting abnormality based on double skeleton patterns |
CN106774124A (en) * | 2016-12-27 | 2017-05-31 | 上海展湾信息科技有限公司 | Operation of industrial installation monitoring system |
CN106886204A (en) * | 2017-04-28 | 2017-06-23 | 山东国舜建设集团有限公司 | Industrial 4.0 coal-fired flue-gas pollution reducing facility remote comprehensive control systems |
CN206332688U (en) * | 2016-12-29 | 2017-07-14 | 航天信息股份有限公司 | A kind of things-internet gateway |
CN108833267A (en) * | 2018-04-24 | 2018-11-16 | 浙江正泰电器股份有限公司 | Intelligent industrial gateway |
-
2019
- 2019-01-15 CN CN201910037508.1A patent/CN111435234A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103326939A (en) * | 2013-06-28 | 2013-09-25 | 大连理工大学 | Oil pipeline remote safety monitoring intelligent gateway based on 4G technology |
CN103488150A (en) * | 2013-09-27 | 2014-01-01 | 济钢集团有限公司 | On-line managing system and managing method for iron-making production information |
CN103716591A (en) * | 2013-12-27 | 2014-04-09 | 镇江晶鑫电子科技有限公司 | Modularized high-definition camera shooting integrated flexible and universal intelligent gateway |
CN205028132U (en) * | 2015-08-28 | 2016-02-10 | 迈格钠磁动力股份有限公司 | Intelligent permanent magnetism transmission management system |
CN106502234A (en) * | 2016-10-17 | 2017-03-15 | 重庆邮电大学 | Industrial control system method for detecting abnormality based on double skeleton patterns |
CN106254234A (en) * | 2016-10-20 | 2016-12-21 | 珠海格力智能装备有限公司 | Intelligent communication gateway and Intellective Communication System |
CN106774124A (en) * | 2016-12-27 | 2017-05-31 | 上海展湾信息科技有限公司 | Operation of industrial installation monitoring system |
CN206332688U (en) * | 2016-12-29 | 2017-07-14 | 航天信息股份有限公司 | A kind of things-internet gateway |
CN106886204A (en) * | 2017-04-28 | 2017-06-23 | 山东国舜建设集团有限公司 | Industrial 4.0 coal-fired flue-gas pollution reducing facility remote comprehensive control systems |
CN108833267A (en) * | 2018-04-24 | 2018-11-16 | 浙江正泰电器股份有限公司 | Intelligent industrial gateway |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112953818A (en) * | 2021-01-29 | 2021-06-11 | 大冶特殊钢有限公司 | Communication system and method based on intelligent gateway equipment |
CN113064394A (en) * | 2021-03-31 | 2021-07-02 | 上汽通用五菱汽车股份有限公司 | MODBUS _ TCP-based real-time monitoring method and system |
CN114253205A (en) * | 2021-11-12 | 2022-03-29 | 浙江省北大信息技术高等研究院 | PLC data reading method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10334048B2 (en) | On-premise data collection and ingestion using industrial cloud agents | |
CN111435234A (en) | Intelligent gateway control system and method | |
US9218000B2 (en) | System and method for cloud computing | |
US10609185B2 (en) | Method for topology tree to learn about, present, and configure device information by automatically uploading device description files from device | |
JP6673050B2 (en) | Equipment maintenance device, equipment maintenance system, equipment maintenance method, equipment maintenance program and recording medium | |
JP2021502735A (en) | How to access the gateway management console, systems, and programs | |
KR20080064835A (en) | Network communications in an industrial automation environment | |
CN113783831B (en) | Internet of things information processing method, device and system | |
JP2021502732A (en) | Computer processing methods, equipment, systems, and programs to access the gateway management console | |
Patience et al. | Design and Implementation of Base Station Temperature Monitoring System Using Raspberry Pi | |
CN109033345B (en) | Distributed data archiving parameter configuration method for large scientific device control system | |
CN113395180B (en) | Industrial real-time big data acquisition and release method and industrial real-time big data platform | |
CN111212093A (en) | Data processing system and control device | |
Saari et al. | Data collector service-practical approach with embedded linux | |
KR102091875B1 (en) | System for operating cloud smart factory using bigdata analysis | |
CN114327217A (en) | Method for simplifying configuration of comprehensive background monitoring management system of intelligent station house | |
CN114253210A (en) | Json-RPC-based PLC communication system and method | |
WO2017023639A1 (en) | A sd card based rtu | |
CN108140222B (en) | Framework and method configured to provide access to building devices via domain concept abstraction | |
KR102482899B1 (en) | Method for providing industrial internet of things based smart factory remote control service | |
CN118302729A (en) | Method of processing data from a supervised production environment | |
Chheta | Design and Implementation of Energy Usage Monitoring and Control Systems Using Modular IIOT Framework | |
Nguyen | Weather station and electronic device controller: with Texas Instruments SimpleLink CC3200 Wi-Fi SensorTag and Raspberry Pi | |
CN117675887A (en) | Internet of things equipment access method and system | |
CN117014252A (en) | Gateway of Internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |