CN104483926B - A kind of main control unit distributed control method - Google Patents
A kind of main control unit distributed control method Download PDFInfo
- Publication number
- CN104483926B CN104483926B CN201410661292.3A CN201410661292A CN104483926B CN 104483926 B CN104483926 B CN 104483926B CN 201410661292 A CN201410661292 A CN 201410661292A CN 104483926 B CN104483926 B CN 104483926B
- Authority
- CN
- China
- Prior art keywords
- control unit
- main control
- state
- communication link
- communication
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a kind of main control unit distributed control method, using the control method when multiple stage main control unit (more than Liang Tai and two) carries out synergistic data acquisition process, determines primary acquisition control unit by automatically controlling decision making process.When multiple stage main control unit is processed for acquisition controlling object (equipment), it is that Collaborative Control is carried out as unit with the object (equipment), so as to can reach load balancing during operation.When main control unit failure, any one standby control unit can take over its acquisition controlling task automatically.When a collision occurs, control unit on the back burner can be downgraded to standby control unit automatically.
Description
Technical field
The invention discloses a kind of main control unit distributed control method, specifically a kind of industrial collecting device and its control
Method, the technical field of the automatic equalization decision making process being related between multiple machine distributing control and multimachine.
Background technology
In for industrial environment, user data collection is referred to as main control unit with the industrial equipment of control.Main control unit has
The physical communication links such as standby network, serial port, fieldbus port are communicated simultaneously with industrial acquisition controlling object (equipment)
Obtain data, send the functions such as control instruction.
When the main control unit towards same acquisition controlling object (equipment) is more than one, each main control unit can share same
Bar physical communication link carries out data acquisition and control with acquisition controlling object (equipment).Under such condition, it is necessary to multiple stage
Control is coordinated between main control unit, it is to avoid communication conflicts with producing in control process.
Because the shared same physical communication link of multiple stage main control unit carries out data with acquisition controlling object (equipment) and adopts
Collection effectively can not carry out Collaborative Control with when controlling, and cause communication failure and cannot realize the remotely monitor to the object (equipment)
With control.The double computer cooperation that main control unit collaboration on market is adopted mostly, does not fill in terms of multimachine (more than two machines) collaboration
Divide ground accumulation technical know-how.
Communication link process in, will for same collection with control object (equipment) carry out data acquisition with control many
Between platform main control unit, the logical links of the common accreditation of definition is ComLine.
Communication link process in, will for same collection with control object (equipment) carry out data acquisition with control every
The communication link of platform main control unit, is defined as LineUnit.This means, the multiple LineUnit under same ComLine are one group and enter
The LineUnit of row communication for coordination.
In communication link process, the LineUnit in primary position is defined as OnlineLineUnit;To be in
The LineUnit of spare space is defined as StandbyLineUnit;LineUnit in offline position is defined as Offline
LineUnit.And the sequence of states is to carry out dynamic logic switching according to LineUnit state in which.
Content of the invention
The technical problem to be solved is:For the defect of prior art, there is provided a kind of main control unit is distributed
Control method, and in particular to a kind of industrial collecting device and a kind of method for controlling industrial collecting device, and especially
It is suitable for use with microprocessor and personal use or specialty use based on the data acquisition equipment for communicating, can be met simultaneously.
The present invention is employed the following technical solutions for solving above-mentioned technical problem:
A kind of main control unit distributed control method, the system architecture of the control method foundation include a plurality of master control lists
First acquisition target being connected through communication link with main control unit, the collaboration Processing Interface being arranged in main control unit and
The interaction bus of all collaboration Processing Interfaces of connection, the main control unit and communication link are provided with corresponding numeric identifier
ID;
Control method comprises the steps:
When step one, a main control unit normally run, communication link is periodically issued by cooperateing with Processing Interface
State;
Step 2, remaining main control unit accuse datagram by the state Shen for cooperateing with Processing Interface to receive all communication links
Text;
Step 3, the communication link to a determination, when main control unit cannot receive which in the time threshold for setting
State Shen is accused and is given the correct time, then the communication link is arranged in offline position by main control unit;
Step 4, main control unit are have received after the state of communication link from collaboration Processing Interface, according to logical links and
Logical relation between communication link draws the state of all communication links under same logical links, including in primary position
Put or in spare space;
Step 5, monitor coupled communication link in the spare space, also, logical links when main control unit
When not having other communication links to be in primary position, then main control unit is communicated link and is promoted to the shape in primary position
State, while declare above-mentioned change by cooperateing with Processing Interface to other main control units;
Step 6, coupled communication link is monitored in primary position when main control unit, also, in logical links
Exist other communication links more than one in primary location status when, by corresponding for current communications link numeric identifier ID with
Other corresponding numeric identifier ID of communication link in primary location status are compared:
601st, corresponding numeric identifier ID of current communications link is more than other communication links in primary location status
Corresponding numeric identifier ID, then be not further processed;
602nd, corresponding numeric identifier ID of current communications link is less than other communication links in primary location status
Corresponding numeric identifier ID, then be downgraded to current communications link in spare space state, while processed by collaboration connecing
Mouth is to the state after other main control units declaration changes.
Used as present invention further optimization scheme, the interaction bus are physical interface, including network, serial port or
Person's fieldbus port.
Used as present invention further optimization scheme, the interaction bus are attached according to peer-to-peer communicationss mode.
As present invention further optimization scheme, in step 3, the communication chain of the time threshold of the setting more than 2 times
Accuse the cycle in line state Shen.
The present invention adopts above technical scheme compared with prior art, with following technique effect:The present invention can be realized
The multi-machine collaborative of same acquisition target (equipment) is controlled, and can be in main control unit failure or single treatment process failure
When, automatically switch primary communication link, improves the availability of communication process.When the coprocessor of cooperation main control unit is to physics
When communication link interface is controlled, can not reconnecting for physical interface can be solved the problems, such as more.
Description of the drawings
Fig. 1 is the multimachine deployment connection figure of the present invention.
Fig. 2 is the state transition diagram of the control process of the present invention.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the drawings, wherein ad initio
Same or similar element is represented to same or similar label eventually or the element with same or like function.Below by ginseng
The embodiment for examining Description of Drawings is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Below in conjunction with the accompanying drawings technical scheme is described in further detail:
Due to the constraint of the physical features and data transmission specification of communication link itself, not existing can be by communication link sheet
Body completes the automatic switchover of standby usage link.It is therefore desirable to have the coprocessor (or processing procedure) independently of communication link
To complete the monitoring for Link State, and indicate that communication process control process switches over operation.
The multimachine deployment connection figure of the present invention is as shown in figure 1, every main control unit is with a collaboration Processing Interface, institute
The main control unit for having correlation is connected on common interaction bus by cooperateing with Processing Interface.The state interaction bus can adopt net
The physical interfaces such as network, serial port, fieldbus port, and according to can peer-to-peer communicationss mode be attached, collision detection and solution
Certainly complete by the general procedure method of the type physical interface.
For the design of Fast arbitration after identification and conflict, each main control unit, each ComLine, each
LineUnit is each equipped with unique numeric identifier ID of an overall situation (total system).
The state transition diagram of the control process of the present invention as shown in Fig. 2 when main control unit normally runs, no matter
LineUnit is that periodically outwards issue should to pass through collaboration Processing Interface in Online or Standby states
The state of LineUnit.And all main control units can be accused by the state Shen for cooperateing with Processing Interface to receive all LineUnit
Data message, so as to every main control unit can obtain the state of the LineUnit on all related main control units.
For the LineUnit of a determination, if (accused the LineUnit states Shen more than 2 times one time that specifies
Cycle) within cannot receive the LineUnit state Shen accuse message, then main control unit the LineUnit is set to Offline
State.
After main control unit have received LineUnit states from collaboration Processing Interface, it is possible to according to ComLine and
Logical relation between LineUnit is obtained, and the state and the machine of all LineUnit under same ComLine is corresponding
State roles (Online or Standby) of the LineUnit in the ComLine.
When main control unit monitor the machine LineUnit in ComLine groups in Standby states, and ComLine groups
In do not have other any LineUnit be in Online states when, then the machine LineUnit is promoted to Online state angles automatically
Color, while by cooperateing with Processing Interface to other main control unit declaration changes.
When main control unit monitors that the machine LineUnit is in Online states in ComLine groups, and in ComLine groups
Exist more than one LineUnit in Online states when, if No. ID of the machine LineUnit less than in arbitrary ComLine groups
In other LineUnit of Online states, then the machine LineUnit is downgraded to Standby state roles automatically, while logical
Collaboration Processing Interface is crossed to the state after other main control unit declaration changes.
Embodiments of the present invention are explained in detail above in conjunction with accompanying drawing, but the present invention is not limited to above-mentioned enforcement
Mode, in the ken that those of ordinary skill in the art possess, can be with the premise of without departing from present inventive concept
Make a variety of changes.The above, is only presently preferred embodiments of the present invention, not makees any pro forma limit to the present invention
System, although the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any is familiar with this professional skill
Art personnel, in the range of without departing from technical solution of the present invention, when the technology contents using the disclosure above make a little change or
The Equivalent embodiments of equivalent variations are modified to, as long as being without departing from technical solution of the present invention content, according to the technology reality of the present invention
Matter, within the spirit and principles in the present invention, any simple modification, equivalent and improvement that above example is made
Deng still falling within the protection domain of technical solution of the present invention.
Claims (4)
1. a kind of main control unit distributed control method, it is characterised in that:The system architecture of the control method foundation includes multiple
At acquisition target that several main control units are connected through communication link with main control unit, the collaboration being arranged in main control unit
Reason interface and the interaction bus of all collaboration Processing Interfaces of connection, the main control unit and communication link are provided with corresponding
Numeric identifier ID;
Control method comprises the steps:
When step one, a main control unit normally run, the state of communication link is periodically issued by cooperateing with Processing Interface;
Step 2, remaining main control unit accuse data message by the state Shen for cooperateing with Processing Interface to receive all communication links;
Step 3, the communication link to a determination, when main control unit cannot receive its state in the time threshold for setting
When data message is accused in Shen, then the communication link is arranged in offline position by main control unit;
After step 4, main control unit have received the state of communication link from collaboration Processing Interface, according to logical links and communication
Logical relation between link draws the state of all communication links under same logical links, including in primary position or
Person is in spare space;
Step 5, monitor that coupled communication link does not have in the spare space, also, logical links when main control unit
When other communication links are in primary position, then main control unit is communicated link and is promoted to the state in primary position,
Declare above-mentioned change by cooperateing with Processing Interface to other main control units simultaneously;
Step 6, coupled communication link is monitored in primary position when main control unit, also, exist in logical links
Other communication links more than one be in primary location status when, by corresponding for current communications link numeric identifier ID and other
Corresponding numeric identifier ID of communication link in primary location status is compared:
601st, corresponding numeric identifier ID of current communications link is corresponding more than other communication links in primary location status
Numeric identifier ID, then be not further processed;
602nd, corresponding numeric identifier ID of current communications link is corresponding less than other communication links in primary location status
Numeric identifier ID, then current communications link is downgraded in spare space state, at the same by cooperate with Processing Interface to
State after other main control unit declaration changes.
2. a kind of main control unit distributed control method as claimed in claim 1, it is characterised in that:The interaction bus are thing
Reason interface, including the network port, serial port or fieldbus port.
3. a kind of main control unit distributed control method as claimed in claim 1 or 2, it is characterised in that:The interaction bus
It is attached according to peer-to-peer communicationss mode.
4. a kind of main control unit distributed control method as claimed in claim 1, it is characterised in that:In step 3, described set
Accuse the cycle in communication link state Shen of the fixed time threshold more than 2 times.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410661292.3A CN104483926B (en) | 2014-11-19 | 2014-11-19 | A kind of main control unit distributed control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410661292.3A CN104483926B (en) | 2014-11-19 | 2014-11-19 | A kind of main control unit distributed control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104483926A CN104483926A (en) | 2015-04-01 |
CN104483926B true CN104483926B (en) | 2017-03-15 |
Family
ID=52758483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410661292.3A Active CN104483926B (en) | 2014-11-19 | 2014-11-19 | A kind of main control unit distributed control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104483926B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106444685A (en) * | 2016-12-06 | 2017-02-22 | 中国船舶重工集团公司第七〇九研究所 | Distributed control system and method of distributed control system for dynamic scheduling resources |
US11803168B2 (en) * | 2019-03-08 | 2023-10-31 | General Electric Company | Distributed control modules with cumulating command references |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5297262A (en) * | 1989-11-28 | 1994-03-22 | International Business Machines Corporation | Methods and apparatus for dynamically managing input/output (I/O) connectivity |
US6484221B1 (en) * | 1999-10-01 | 2002-11-19 | Storz Endoskop Gmbh | Bus extension for multiple masters |
CN101459675A (en) * | 2008-12-29 | 2009-06-17 | 南京南瑞继保电气有限公司 | Real-time multi-path multiplexing synchronous high-speed transmission serial bus protocol |
CN102833332A (en) * | 2012-08-23 | 2012-12-19 | 武汉烽火网络有限责任公司 | Distributed many-to-many equipment communication and management method |
CN104050061A (en) * | 2014-07-01 | 2014-09-17 | 中国航天科工集团第二研究院七〇六所 | Multi-main-control-panel redundant backup system based on PCIe bus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7877625B2 (en) * | 2008-04-16 | 2011-01-25 | Invensys Systems, Inc. | Efficient architecture for interfacing redundant devices to a distributed control system |
-
2014
- 2014-11-19 CN CN201410661292.3A patent/CN104483926B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5297262A (en) * | 1989-11-28 | 1994-03-22 | International Business Machines Corporation | Methods and apparatus for dynamically managing input/output (I/O) connectivity |
US6484221B1 (en) * | 1999-10-01 | 2002-11-19 | Storz Endoskop Gmbh | Bus extension for multiple masters |
CN101459675A (en) * | 2008-12-29 | 2009-06-17 | 南京南瑞继保电气有限公司 | Real-time multi-path multiplexing synchronous high-speed transmission serial bus protocol |
CN102833332A (en) * | 2012-08-23 | 2012-12-19 | 武汉烽火网络有限责任公司 | Distributed many-to-many equipment communication and management method |
CN104050061A (en) * | 2014-07-01 | 2014-09-17 | 中国航天科工集团第二研究院七〇六所 | Multi-main-control-panel redundant backup system based on PCIe bus |
Also Published As
Publication number | Publication date |
---|---|
CN104483926A (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103246213B (en) | Standby synchronized links between redundancy control apparatus | |
CN104468236B (en) | SDN controllers cluster, SDN switch and its connection control method | |
CN106878081A (en) | Train gateway redundancy control system and its control method | |
US9166922B2 (en) | Communication device for an industrial communication network which can be operated in a redundant manner and method for operating a communication device | |
CN103684716B (en) | For carrying out the method and communication equipment of message transmission in industrial communication network | |
CN103941633A (en) | PLC redundancy control method and system | |
CN109507866A (en) | A kind of double-machine redundancy system and method based on network address drift technology | |
CN103581164A (en) | Method for transmitting messages in redundantly operable industrial communication network and communication device for redundantly operable industrial communication network | |
CN104144074B (en) | Programmable logic controller (PLC) communication system | |
CN105354159A (en) | RS485 distributed bus system based control method | |
CN104299350A (en) | Multiple-redundancy variable master-slave fire alarm monitoring system and method | |
CN105306605B (en) | A kind of double host server systems | |
CN104483926B (en) | A kind of main control unit distributed control method | |
CN105259814A (en) | Multi-robot system and communication system thereof | |
CN104394018B (en) | The online exchange method of master/backup system data in a kind of communication equipment and main control plate thermal redundancy | |
CN104486180A (en) | Method used for automatically distributing secondary units ID in BMS | |
CN106059874A (en) | Automation device for redundant control of bus subscriber | |
US20140188253A1 (en) | Method and system for reprogramming | |
CN103057572A (en) | Control switch method of main machine and standby machine | |
CN104503947B (en) | Multipath server and its signal processing method | |
CN105991315A (en) | Link protection method applied to SDN (software defined network), switching device and network controller | |
CN103678537B (en) | Metadata amending method, device and node device based on cluster | |
CN108667640B (en) | Communication method and device, and network access system | |
CN101587351B (en) | Reliable communication method of intelligent electronic device | |
CN108075569A (en) | Power distribution unit, electric power distribution system and its relaying networking methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |