CN104483926A - Distributed control method for main control units - Google Patents
Distributed control method for main control units Download PDFInfo
- Publication number
- CN104483926A CN104483926A CN201410661292.3A CN201410661292A CN104483926A CN 104483926 A CN104483926 A CN 104483926A CN 201410661292 A CN201410661292 A CN 201410661292A CN 104483926 A CN104483926 A CN 104483926A
- Authority
- CN
- China
- Prior art keywords
- main control
- control unit
- communication link
- state
- associated treatment
- 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.)
- Granted
Links
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/418—Total 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], computer integrated manufacturing [CIM]
- G05B19/4183—Total 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], computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
-
- 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 distributed control method for main control units. According to the control method, when a plurality of main control units (two or more than two) main control units cooperatively acquire and process data, a primary acquisition control unit is determined through the automatic control decision process. When the main control units process an acquisition control object (equipment), cooperative control is carried out by taking the object (equipment) as a unit, so that load balancing in the running process can be achieved. When the main control units fail, any one standby control unit can automatically succeed an acquisition control task. When a conflict occurs, a control unit in a subordinate position can be automatically degraded into a standby control unit.
Description
Technical field
The invention discloses a kind of main control unit distributed control method, specifically a kind of industrial collecting device and control method thereof, relate to the technical field of the automatic equalization decision process between multiple machine distributing control and multimachine.
Background technology
For in industrial environment, the commercial unit of user data data acquisition and controlling is called as main control unit.Main control unit possesses the physical communication links such as network, serial port, fieldbus port and gathers control object (equipment) with industry and carry out communicating and obtain data, send the functions such as steering order.
When the main control unit towards same collection control object (equipment) is more than one, each main control unit can share same physical communication link and carry out data acquisition and control with collection control object (equipment).Under such condition, just need to carry out cooperation control between multiple stage main control unit, avoid producing conflict in communication and control process.
Because multiple stage main control unit shares same physical communication link and gathers control object (equipment) and carry out data acquisition and effectively can not carry out Collaborative Control with when controlling, cause communication failure and the remotely monitor and control that cannot realize this object (equipment).Main control unit on market works in coordination with the double computer cooperation mostly adopted, not accumulation technology tricks of the trade fully in multimachine (more than two machines) is collaborative.
In communication link process, will carry out between the multiple stage main control unit of data acquisition and control for same data acquisition and controlling object (equipment), the logical links of the common accreditation of definition is ComLine.
In communication link process, the communication link of every platform main control unit of data acquisition and control will be carried out for same data acquisition and controlling object (equipment), be defined as LineUnit.This means, the multiple LineUnit under same ComLine are one group of LineUnit carrying out communication for coordination.
In communication link process, the LineUnit being in primary position is defined as OnlineLineUnit; The LineUnit being in spare space is defined as StandbyLineUnit; The LineUnit being in off-line position is defined as Offline LineUnit.And this sequence of states is the state residing for LineUnit carries out dynamic logic switching.
Summary of the invention
Technical matters to be solved by this invention is: for the defect of prior art, a kind of main control unit distributed control method is provided, be specifically related to a kind of industrial collecting device and a kind of method for controlling industrial collecting device, and be applicable to especially to use microprocessor with based on data acquisition equipment communicate, can meet individual's use or professional use simultaneously.
The present invention is for solving the problems of the technologies described above by the following technical solutions:
A kind of main control unit distributed control method, the acquisition target that the system architecture of described control method foundation comprises a plurality of main control unit, be connected through communication link with main control unit, be arranged at the associated treatment interface in main control unit and be connected the interaction bus of all associated treatment interfaces, described 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, periodically issued the state of communication link by associated treatment interface;
Step 2, all the other main control units accuse data message by the state Shen of all communication links of associated treatment interface;
Step 3, the communication link that is determined, give the correct time when main control unit cannot receive its state Shen announcement in the time threshold of setting, then this communication link is set to be in off-line position by main control unit;
Step 4, main control unit have received after the state of communication link from associated treatment interface, draw the state of all communication links under same logical links according to the logical relation between logical links and communication link, comprise and be in primary position or be in spare space;
Step 5, be in spare space when main control unit monitors coupled communication link, and, when not having other communication link to be in primary position in logical links, then its communication link is promoted to the state being in primary position by main control unit, declares above-mentioned change by associated treatment interface to other main control units simultaneously;
Step 6, be in primary position when main control unit monitors coupled communication link, and, there are other communication links more than one in logical links when being in primary location status, numeric identifier ID corresponding for current communications link compared with the numeric identifier ID that other are in the communication link of primary location status corresponding:
601, the numeric identifier ID that current communications link is corresponding is greater than numeric identifier ID corresponding to other communication links being in primary location status, be not then further processed;
602, the numeric identifier ID that current communications link is corresponding is less than numeric identifier ID corresponding to other communication links being in primary location status, then current communications link is downgraded to and is in spare space state, the state after simultaneously being changed to the declaration of other main control units by associated treatment interface.
As present invention further optimization scheme, described interaction bus is physical interface, comprises network, serial port or fieldbus port.
As present invention further optimization scheme, described interaction bus connects according to peer-to-peer communications mode.
As present invention further optimization scheme, in step 3, the cycle is accused in the communication link state Shen that the time threshold of described setting is greater than 2 times.
The present invention adopts above technical scheme compared with prior art, there is following technique effect: the present invention can realize controlling the multi-machine collaborative of same acquisition target (equipment), and can when main control unit fault or single treatment progress fault, automatically switch primary communication link, improves the availability of communication process.When coordinating the coprocessor of main control unit to control physical communication link interface, what can solve physical interface can not the problem of multiple connection.
Accompanying drawing explanation
Fig. 1 is that connection layout disposed by multimachine of the present invention.
Fig. 2 is the state transition diagram of control procedure of the present invention.
Embodiment
Be described below in detail embodiments of the present invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:
Due to the physical features of communication link self and the constraint of data transmission specification, there is not the automatic switchover that can be completed standby usage link by communication link itself.Therefore, the coprocessor (or processing procedure) needed independent of communication link has carried out the monitoring for Link State, and indicates communication process to control process to carry out blocked operation.
Multimachine of the present invention disposes connection layout as shown in Figure 1, and every platform main control unit is all with an associated treatment interface, and all relevant main control units are connected on common interaction bus by associated treatment interface.This state interaction bus can adopt the physical interfaces such as network, serial port, fieldbus port, and according to can peer-to-peer communications mode connect, conflict detection and resolution completes by the general procedure way of this type physical interface.
For the design of Fast arbitration after identification and conflict, each main control unit, each ComLine, each LineUnit are all configured with the unique numeric identifier ID of an overall situation (total system).
As shown in Figure 2, when main control unit normally runs, no matter LineUnit is in Online or Standby state to the state transition diagram of control procedure of the present invention, all periodically outwards can be issued the state of this LineUnit by associated treatment interface.And all main control units all accuse data message by associated treatment interface to the state Shen of all LineUnit, thus every platform main control unit all can obtain the state of the LineUnit on all relevant main control units.
For the LineUnit that is determined, if message is accused in the state Shen that cannot receive this LineUnit within one period of specifying (cycle is accused in the LineUnit state Shen being greater than 2 times), then this LineUnit is set to Offline state by main control unit.
When main control unit have received after LineUnit state from associated treatment interface, just can obtain according to the logical relation between ComLine and LineUnit, the state of all LineUnit under same ComLine and the state role (Online or Standby) of the corresponding LineUnit of the machine in this ComLine.
In ComLine group, Standby state is in when main control unit monitors the machine LineUnit, and when not having other any LineUnit to be in Online state in ComLine group, then automatic the machine LineUnit is promoted to Online state role, simultaneously by associated treatment interface to other main control units declaration change.
In ComLine group, Online state is in when main control unit monitors the machine LineUnit, and there is more than one LineUnit in ComLine group when being in Online state, if the machine LineUnit No. ID is less than other LineUnit being in Online state in arbitrary ComLine group, then automatic the machine LineUnit is downgraded to Standby state role, simultaneously by associated treatment interface to the state after other main control units declaration change.
By reference to the accompanying drawings embodiments of the present invention are explained in detail above, but the present invention is not limited to above-mentioned embodiment, in the ken that those of ordinary skill in the art possess, can also makes a variety of changes under the prerequisite not departing from present inventive concept.The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to technical spirit of the present invention, within the spirit and principles in the present invention, to any simple amendment that above embodiment is done, equivalent replacement and improvement etc., within the protection domain all still belonging to technical solution of the present invention.
Claims (4)
1. a main control unit distributed control method, it is characterized in that: the system architecture of described control method foundation comprises a plurality of main control unit, the acquisition target that is connected through communication link with main control unit, be arranged at the associated treatment interface in main control unit and be connected the interaction bus of all associated treatment interfaces, described 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, periodically issued the state of communication link by associated treatment interface;
Step 2, all the other main control units accuse data message by the state Shen of all communication links of associated treatment interface;
Step 3, the communication link that is determined, give the correct time when main control unit cannot receive its state Shen announcement in the time threshold of setting, then this communication link is set to be in off-line position by main control unit;
Step 4, main control unit have received after the state of communication link from associated treatment interface, draw the state of all communication links under same logical links according to the logical relation between logical links and communication link, comprise and be in primary position or be in spare space;
Step 5, be in spare space when main control unit monitors coupled communication link, and, when not having other communication link to be in primary position in logical links, then its communication link is promoted to the state being in primary position by main control unit, declares above-mentioned change by associated treatment interface to other main control units simultaneously;
Step 6, be in primary position when main control unit monitors coupled communication link, and, there are other communication links more than one in logical links when being in primary location status, numeric identifier ID corresponding for current communications link compared with the numeric identifier ID that other are in the communication link of primary location status corresponding:
601, the numeric identifier ID that current communications link is corresponding is greater than numeric identifier ID corresponding to other communication links being in primary location status, be not then further processed;
602, the numeric identifier ID that current communications link is corresponding is less than numeric identifier ID corresponding to other communication links being in primary location status, then current communications link is downgraded to and is in spare space state, the state after simultaneously being changed to the declaration of other main control units by associated treatment interface.
2. a kind of main control unit distributed control method as claimed in claim 1, is characterized in that: described interaction bus is physical interface, comprises network, serial port or fieldbus port.
3. a kind of main control unit distributed control method as claimed in claim 1 or 2, is characterized in that: described interaction bus connects according to peer-to-peer communications mode.
4. a kind of main control unit distributed control method as claimed in claim 1, is characterized in that: in step 3, and the cycle is accused in the communication link state Shen that the time threshold of described setting is greater 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 true CN104483926A (en) | 2015-04-01 |
CN104483926B 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) |
Cited By (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 |
CN111665793A (en) * | 2019-03-08 | 2020-09-15 | 通用电气公司 | Distributed control module with cumulative command reference |
Citations (6)
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 |
US20090265493A1 (en) * | 2008-04-16 | 2009-10-22 | Mendu Krishna R | Efficient Architecture for Interfacing Redundant Devices to a Distributed Control System |
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 |
-
2014
- 2014-11-19 CN CN201410661292.3A patent/CN104483926B/en active Active
Patent Citations (6)
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 |
US20090265493A1 (en) * | 2008-04-16 | 2009-10-22 | Mendu Krishna R | Efficient Architecture for Interfacing Redundant Devices to a Distributed Control System |
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 |
Cited By (4)
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 |
CN111665793A (en) * | 2019-03-08 | 2020-09-15 | 通用电气公司 | Distributed control module with cumulative command reference |
US11803168B2 (en) | 2019-03-08 | 2023-10-31 | General Electric Company | Distributed control modules with cumulating command references |
CN111665793B (en) * | 2019-03-08 | 2023-12-05 | 通用电气公司 | Distributed control module with accumulated command references |
Also Published As
Publication number | Publication date |
---|---|
CN104483926B (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11281190B2 (en) | Method for setting up a redundant communication connection, and failsafe control unit | |
CN107231430B (en) | Charging pile, charging pile networking architecture and charging pile management 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 | |
US20130007319A1 (en) | Method and system for implementing redundant network interface modules in a distributed i/o system | |
CN104407556B (en) | Hot standby redundancy module switching device | |
CN103941633A (en) | PLC redundancy control method and system | |
US9361151B2 (en) | Controller system with peer-to-peer redundancy, and method to operate the system | |
CN103246213A (en) | Alternative synchronisation connections between redundant control units | |
CN101965691B (en) | Cable redundancy and networked system | |
CN103581164A (en) | Method for transmitting messages in redundantly operable industrial communication network and communication device for redundantly operable industrial communication network | |
CN106656712A (en) | Bus abnormality processing method and robot controller | |
CN104669268A (en) | System and method for independent control of redundant underwater robot based on hot backup | |
CN104394018B (en) | The online exchange method of master/backup system data in a kind of communication equipment and main control plate thermal redundancy | |
CN104125049A (en) | Redundancy implementation method of PCIE (Peripheral Component Interface Express) device based on BRICKLAND platform | |
CN106603359A (en) | Communication control method of PLC system and apparatus thereof | |
CN105527948A (en) | Large scale distributed data acquisition system and method based on industrial process | |
CN105471610A (en) | HQoS protection method and HQoS protection device through multiple board cards | |
CN104483926A (en) | Distributed control method for main control units | |
CN105227676A (en) | A kind of method of distribution terminal data acquisition | |
CN103441878A (en) | Method and device for processing ownership of PE device in VCF network | |
CN109104347A (en) | Gateway shift process, system and its apparatus based on CANopen agreement transmission data | |
CN107579850B (en) | Wired and wireless hybrid networking method based on SDN control for cloud data center | |
CN108667640B (en) | Communication method and device, and network access system | |
CN103109269A (en) | A low or medium voltage electric power distribution network |
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 |