CN108572635A - Industrial network node based on shared drive pond and modified round-robin method - Google Patents

Industrial network node based on shared drive pond and modified round-robin method Download PDF

Info

Publication number
CN108572635A
CN108572635A CN201810853437.8A CN201810853437A CN108572635A CN 108572635 A CN108572635 A CN 108572635A CN 201810853437 A CN201810853437 A CN 201810853437A CN 108572635 A CN108572635 A CN 108572635A
Authority
CN
China
Prior art keywords
node
industrial network
network node
child node
child
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
Application number
CN201810853437.8A
Other languages
Chinese (zh)
Inventor
史艳霞
李国存
乔佳
陈愚
李益敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Sino German University of Applied Sciences
Tianjin Sino German Vocational Technical College
Original Assignee
Tianjin Sino German Vocational Technical College
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Sino German Vocational Technical College filed Critical Tianjin Sino German Vocational Technical College
Priority to CN201810853437.8A priority Critical patent/CN108572635A/en
Publication of CN108572635A publication Critical patent/CN108572635A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33139Design of industrial communication system with expert system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to a kind of industrial network section based on shared drive pond and modified round-robin method, it includes modified round-robin method, i.e. industrial network node suspends current round-robin method, and be directly switch to the child node and carry out digital independent, and return data to even higher level of node or server.Current round-robin method is then proceeded to, if in the poll of epicycle, the child node was read not yet before the interruption, then in the poll of epicycle, skipped the child node automatically;If the child node had been read before interrupting, original polling sequence is kept.The present invention can be achieved to communicate with the real-time parallel of more child nodes.Any one child node can be read out or be controlled in numerous child nodes, user experience is made to only have a child node the same with system;Carry real-time height simultaneously, it is ensured that more important child node can be controlled sooner.

Description

Industrial network node based on shared drive pond and modified round-robin method
Technical field
The invention belongs to technical field of industrial control, are related to by it a kind of based on shared drive pond and modified timeslice wheel The industrial network node of robin.
Background technology
With the development of computer technology and the continuous improvement of technological requirement, industrial network starts to occur and be widely used in Every field.Industrial network experienced several stages:Centralized computer control system CCS, Distributed Control System DCS, scene are total Line control system FCS and Industrial Ethernet.For centralized computer control system since its own has concentrated danger, reliability is low, real The shortcomings of when property is poor, faded out the arena of history at leisure.What is be widely used at present has Distributed Control System, fieldbus and industry Ethernet.Especially Industrial Ethernet, due to its protocol transparent and uniformly so that control layer be easy to it is seamless with Information Level Docking, realization " net is on earth ", therefore it is more and more extensive in actual application.
Industrial network is exactly concrete application of the computer networking technology in industrial control field.Due to industrial control field sheet The characteristics of body, therefore a series of requirement, such as reliability, real-time and safety also are proposed to industrial network.Industrial net Network is developed so far, it is desirable that live data can be sent to server end or high in the clouds, and user can pass through client or cell phone application It accesses the data at scene and the equipment at scene is controlled.For entire industrial network system, real-time is on the one hand To be embodied in the variation of field data will reflect client as early as possible, be on the other hand embodied in and sent out from client or cell phone application The equipment that control command will reach field layer as early as possible, once but field device substantial amounts, real-time are exactly one prodigious Problem.
As shown in Figure 1, it is assumed that node 1 connects 100 child nodes below, and common practice is the side using poll at present Formula, read child node 2 again after having read the data of child node 1 ... and so on, it is returned again to after having read node 100 Re-read the data of child node 1.For this mode, the worst situation is exactly that client needs to read the data of node 100 Or the equipment of control node 100, it is assumed that read a child node and need to expend 50 milliseconds, need to wait for 99x50=at this time 4950 milliseconds, the similar 5 seconds time, for the equipment of site requirement emergent control, this is unacceptable.In order to This problem is avoided, general there are two types of methods, and one is the scan frequencies improved to child node, and frequency is just needed for even higher level of node The faster processor of rate, increases cost, as shown in Figure 2;Second of way is to reduce the number of child node, but must thus increase Add the number of intermediate node, effect is not notable, and substantially increases cost.
Invention content
It is an object of the invention to overcome the shortcomings of above-mentioned technology, and a kind of liquid-based is provided in shared drive pond and modified The industrial network node of round-robin method, using following technical scheme:
A kind of industrial network node based on shared drive pond and modified round-robin method, operating procedure are as follows:
Step 1. opens industrial network node initializing program;
The order whether step 2. receives even higher level of node or server according to industrial network node judged, when not having When receiving any order, the industrial network node is run according to Conventional Time piece cyclical method;
Step 3a. is to read single child node when the order that industrial network node receives even higher level of node or server Data or when controlling single child node, the Industry Control node operational development type round-robin method;
The modified round-robin method is:Industrial network node suspends current round-robin method, and directly It is switched to the child node and carries out digital independent, and return data to even higher level of node or server.When then proceeding to current Between piece round robin, if in the poll of epicycle, the child node was read not yet before the interruption, then in the poll of epicycle In, the child node is skipped automatically;If the child node had been read before interrupting, original polling sequence is kept;
Step 3b. when industrial network node receives the data of all child nodes of reading of even higher level of node or server, The industrial network node suspends current round-robin method, and the data of each child node in shared drive pond are sent to upper one Grade node or server, then proceed to current Conventional Time piece round robin;
Step 3c. is when the order of all child nodes of the control for receiving even higher level of node or server, the industrial network section Point suspends current round-robin method, sorts according to pre-set three kinds of priority levels, according to priority level from high in the end, The sequence of the same priority level network address from low to high is controlled;
Step 4. control finishes, and continues current round-robin method;
Preferably, it when the industrial network node goes wrong to the communication of child node, can retransmit three times, if occurring three times Problem is then recorded as miscommunication in shared drive pond.
Preferably, the industrial network node includes a shared drive pond, is store in the shared drive pond all The real time data of next stage child node, and the order from even higher level of node or server to each child node, in industrial net When network node is not received by the order of even higher level of node or server, the industrial network node is with Conventional Time piece round robin The data of each child node are successively read, and are stored into shared drive pond, when the data for having read the last one child node, again It returns to first child node to start to read, and covers original data.
Preferably, the industrial network node is realized based on STM32 embeded processors, by ethernet communication interface or RS485 communication interfaces are connect with upper level and next stage node or server communications protocol;The industrial network node passes through electricity Source interface is powered, and is connected host computer by the USB interface on node, is matched to industrial network node by the host computer It sets, configuration content includes but not limited to:With upper level and the communication interface of next stage node or server, based on the communication interface Network communication protocol, the number of child node, the device type of each child node and network address, each child node it is preferential Grade.
The beneficial effects of the present invention are:
1. can realize that the real-time parallel with more child nodes communicates, can in numerous child nodes to any one child node into Row is read or control, and user experience is made to only have a child node the same with system;And while to all child nodes It reads, the data feedback of shared drive pond directly can be greatly improved real-time to even higher level of node or server;Meanwhile It is controlled, can be realized to being controlled while all child nodes due to being divided into three priority levels, it is ensured that more important son section Point can be controlled sooner;
2. saving cost, the numerous system of child node is only needed more since the child node number of support increases Few intermediate node, even without increase intermediate node;
3. for the communication interface and communications protocol of upper level and next stage, flexible configuration can be carried out, so as to Merge two different networks;
4. it is easy to use, it is configured by USB port, configuration mode is parameter setting, is easily understood;External interface is few, It is easy installation and debugging.
Description of the drawings
Fig. 1 is the more child node schematic network structures of single node in the prior art;
Fig. 2 is to reduce next stage child node schematic network structure in the prior art;
Fig. 3 is industrial network node appearance diagram of the present invention;
Fig. 4 is industrial network intra-node structural schematic diagram of the present invention;
Fig. 5 is shared drive pond structural schematic diagram;
Fig. 6 is Conventional Time piece round robin schematic diagram;
Fig. 7 is modified round-robin method schematic diagram;
Fig. 8 is industrial network node overall operation flow chart of the present invention;
Fig. 9 is round-robin method flow chart;
Figure 10 is modified round-robin method schematic diagram;
Figure 11 device circuit diagrams in order to control;
Figure 12 is Ethernet communication circuit figure;
Figure 13 is RS485 communicating circuit figures;
Figure 14 is USB communicating circuit figures;
Specific implementation mode
In conjunction with attached drawing 3 to Figure 10 and the preferred embodiment specific implementation mode that the present invention will be described in detail.
A kind of industrial network node based on shared drive pond and modified round-robin method, hardware configuration include outer Shell and internal structure, as shown in Figure 3, Figure 4;
The casing part is by a LED power indicator light, a LED state indicator light, 2 RS485 interfaces, 2 with Too network interface, a power interface, a USB interface composition.Wherein LED power indicator light is used to refer to the state of power supply, if logical Electric then evergreen, no power then goes out;LED state indicator light is used to refer to the state of network communication, normally then evergreen, abnormal then normal It is red;Wherein RS485 interfaces 1 are used for connecting even higher level of node, can be adapted for all bus associations using RS485 as physical layer View, such as Modbus, Profibus;Ethernet interface 1 is used for connecting even higher level of node, can be used for all Ethernet objects Manage the agreement of transmission medium, such as TCP/IP, ProfiNet, Modbus TCP, EthereCAT, CC-LINK IE; RS458 Interface 2 and Ethernet interface 2 are used for connecting next stage child node;Host computer is used for by USB interface to the industrial network node It is configured.
The internal structure is mainly by embeded processor, RS485 driving circuits, Ethernet driving circuit, USB drivings Circuit, external crystal-controlled oscillation, power module composition, the embeded processor use STM32 microcontrollers, as shown in Figure 4.
The industrial network node includes a shared drive pond, and all next stage sections are store in the shared drive pond The real time data of point, and even higher level of node or server are come from, the order of each child node is arrived, as shown in Figure 5;
In the order of no even higher level of node or server, which is successively read each with round-robin method The data of child node, and store into shared drive pond, original data are covered, as shown in Figure 6;
When receiving even higher level of node or server reads or controls the order of some child node, network node pause is worked as Preceding round-robin method, and jump to the child node and be read out or control, and by feedback information be sent to even higher level of node or Server, after restore original round-robin method, if in the poll in epicycle again meet the child node if skip, such as Shown in Fig. 7;
When receiving even higher level of node or server reads the order of all child nodes, which immediately will be local total The data for enjoying memory pool are sent directly to even higher level of node or server;
When receiving even higher level of node or server reads the order of all child nodes, the network node is according to pre-setting Three kinds of priority levels sequence, according to priority level from high in the end, the sequence of the same priority level network address from low to high It is controlled;
The information of programming success or failure can be obtained by the state of indicator light on programmable device.
Host computer is used for configuring the industrial network node by USB interface;
The industrial network node is powered by power interface, host computer is connected by the USB interface on node, by upper Machine configures it, and configuration content includes but not limited to:With the communication interface of upper level and next stage node or server (RS485 or Ethernet interface), based on the communication interface network communication protocol (such as Modbus, Profibus, EtherCAT, ProfiNet etc.), the number of child node, the device type and network address of each child node, the priority etc. of each child node;
Even higher level of node or server, and connection next stage section are connected with next stage communication interface by upper level Point, the industrial network node according to pre-set upper level and next stage communication interface and communications protocol, respectively with upper one Grade and next stage node are communicated.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention the above is only a preferred embodiment of the present invention.

Claims (3)

1. a kind of industrial network node based on shared drive pond and modified round-robin method, including industrial network node, The industrial network node realized based on STM32 embeded processors, by ethernet communication interface or RS485 communication interfaces with Upper level and next stage node or server, communications protocol connection, the industrial network node are powered by power interface, are passed through USB interface on node connects host computer, is configured to industrial network node by the host computer, configuration content include but It is not limited to:With upper level and the communication interface of next stage node or server, the network communication protocol based on the communication interface, son The priority of the number of node, the device type of each child node and network address, each child node;It is characterized in that, described Industrial network node operating procedure is as follows:
Step 1. opens industrial network node initializing program;
The order whether step 2. receives even higher level of node or server according to industrial network node judged, when not connecing When receiving any order, the industrial network node is run according to Conventional Time piece cyclical method;
Step 3a. is to read the data of single child node when industrial network node receives even higher level of node or the order of server Or when controlling single child node, the Industry Control node operational development type round-robin method;
The modified round-robin method is:Industrial network node suspends current round-robin method, and directly switches Digital independent is carried out to the child node, and returns data to even higher level of node or server.Then proceed to current timeslice Round robin, if in the poll of epicycle, the child node was read not yet before the interruption, then in the poll of epicycle, Automatically the child node is skipped;If the child node had been read before interrupting, original polling sequence is kept
Step 3b. is when industrial network node receives the data of all child nodes of reading of even higher level of node or server, the work Industry network node suspends current round-robin method, and the data of each child node in shared drive pond are sent to upper level section Point or server, then proceed to current Conventional Time piece round robin;
Step 3c. is when industrial network node receives the order of all child nodes of control of even higher level of node or server, the work Industry network node suspends current round-robin method, sorts according to pre-set three kinds of priority levels, according to priority level From high in the end, the sequence of the same priority level network address from low to high is controlled;
Step 4. control finishes, and continues current round-robin method.
2. the industrial network node according to claim 1 based on shared drive pond and modified round-robin method, It is characterized in that, when the industrial network node goes wrong to the communication of child node, can retransmit three times, if going wrong three times, Then miscommunication is recorded as in shared drive pond.
3. the industrial network node according to claim 1 based on shared drive pond and modified round-robin method, It is characterized in that, the industrial network node includes a shared drive pond, and all next stage are store in the shared drive pond The real time data of child node, and the order from even higher level of node or server to each child node;In industrial network node When being not received by the order of even higher level of node or server, the industrial network node is read successively with Conventional Time piece round robin It takes the data of each child node, and stores into shared drive pond, when the data for having read the last one child node, and return the One child node starts to read, and covers original data.
CN201810853437.8A 2018-07-30 2018-07-30 Industrial network node based on shared drive pond and modified round-robin method Pending CN108572635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810853437.8A CN108572635A (en) 2018-07-30 2018-07-30 Industrial network node based on shared drive pond and modified round-robin method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810853437.8A CN108572635A (en) 2018-07-30 2018-07-30 Industrial network node based on shared drive pond and modified round-robin method

Publications (1)

Publication Number Publication Date
CN108572635A true CN108572635A (en) 2018-09-25

Family

ID=63571856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810853437.8A Pending CN108572635A (en) 2018-07-30 2018-07-30 Industrial network node based on shared drive pond and modified round-robin method

Country Status (1)

Country Link
CN (1) CN108572635A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382983A (en) * 2018-12-27 2020-07-07 中国电信股份有限公司 Workflow control method, workflow node and system
CN112596891A (en) * 2021-03-03 2021-04-02 南京信息工程大学 Multi-task management method combining time slice rotation with extended interruption

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964737A (en) * 2010-11-08 2011-02-02 国电南瑞科技股份有限公司 Protocol conversion device based on PROFIBUS-DP master station field bus
CN102004743A (en) * 2009-09-02 2011-04-06 中国银联股份有限公司 System and method for copying data among heterogeneous databases
CN105991585A (en) * 2015-02-13 2016-10-05 中国科学院上海高等研究院 Method and system for realizing wireless communication
CN106452563A (en) * 2016-11-25 2017-02-22 中国航空无线电电子研究所 Unmanned aerial vehicle (UAV) data link universal access system based on communication satellites
CN107703878A (en) * 2015-11-27 2018-02-16 中工科安科技有限公司 A kind of PLC distributed remotes I/O expansion module
CN108076026A (en) * 2016-11-15 2018-05-25 中国科学院沈阳自动化研究所 A kind of industry wireless network service adapter method based on OPC-UA service platforms

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004743A (en) * 2009-09-02 2011-04-06 中国银联股份有限公司 System and method for copying data among heterogeneous databases
CN101964737A (en) * 2010-11-08 2011-02-02 国电南瑞科技股份有限公司 Protocol conversion device based on PROFIBUS-DP master station field bus
CN105991585A (en) * 2015-02-13 2016-10-05 中国科学院上海高等研究院 Method and system for realizing wireless communication
CN107703878A (en) * 2015-11-27 2018-02-16 中工科安科技有限公司 A kind of PLC distributed remotes I/O expansion module
CN108076026A (en) * 2016-11-15 2018-05-25 中国科学院沈阳自动化研究所 A kind of industry wireless network service adapter method based on OPC-UA service platforms
CN106452563A (en) * 2016-11-25 2017-02-22 中国航空无线电电子研究所 Unmanned aerial vehicle (UAV) data link universal access system based on communication satellites

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382983A (en) * 2018-12-27 2020-07-07 中国电信股份有限公司 Workflow control method, workflow node and system
CN112596891A (en) * 2021-03-03 2021-04-02 南京信息工程大学 Multi-task management method combining time slice rotation with extended interruption
CN112596891B (en) * 2021-03-03 2021-06-11 南京信息工程大学 Multi-task management method combining time slice rotation with extended interruption

Similar Documents

Publication Publication Date Title
CN110380916B (en) Self-adaptive switching Ethernet cross redundancy backup system and method
US9019959B2 (en) Node, switch, and system
CN103343681B (en) The integrated double loop network coupling control system of rig based on IPC and PLC
CA1249382A (en) Arrangement for operating and maintaining a telecommunications system
CN107942981B (en) Coordinated control method of multi-point servo drive for stage
CN103209140B (en) Intelligence PoE switch and its implementation
CN108572635A (en) Industrial network node based on shared drive pond and modified round-robin method
CN202453710U (en) Multi-axis linkage numerical control system
CN108199944B (en) Onboard cabin core system of dynamic daisy chain ring network and dynamic positioning method
CN102195946A (en) Intelligent communication controller based on ARM (Advanced RISC Machines) technology
CN105207902A (en) Main-standby virtual gateway system and method based on SDN
CN103702158A (en) Integrated control method for display system and display device
CA1228168A (en) I/o scanner for an industrial control
CN101977078B (en) Method and system for processing remote failure device in optical transfer network
CN104243172A (en) Expanded input/output device of decentralized control system, and method thereof
CN110492908B (en) Electric power communication management machine based on block chain technology
CN218772453U (en) Timer control system based on Lora ad hoc network
CN116909678A (en) Implementation method and system of containerized PLC and management server
CN117750242B (en) Low-power-consumption digital building intercom system and control method thereof
CN109283858A (en) Apparatus control method and device based on interface
CN108931953A (en) A kind of electric machine control system based on EtherCAT bus
CN218217403U (en) Communication protocol interface control system and electronic equipment
KR101273812B1 (en) Control module for programmable logic controller and control system using the control module
CN114488908B (en) Method for quickly recovering control after failure of intelligent switch, intelligent switch and system
CN107909801B (en) Method for simultaneously turning on and turning off multiple projectors

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180925