A kind of framework of multi-level automation control systemTechnical field
The invention belongs to technical field of industrial automatic control, mainly propose a kind of framework of multi-level automation control system.
Background technology
The medium-and-large-sized automation control system ubiquity of prior art Internet traffic is big; Cause the low characteristics of communication speed; Mainly be because the data acquisition of present any one industrial automation control system and topworks is more and dispersed placement; Causing the substation end all more, is example with aluminum alloy strip or Band by Hot-rolling machine, and aluminum alloy strip or Band by Hot-rolling machine generally have>100 substation ends; Described substation end be signal collection or signal send the terminal, acquisition terminal comprises motor temperature sensor, motor speed sensor etc.; Signal sends the terminal and comprises like DC electric machine, alternating current generator frequency converter and operator's console scene pilot lamp etc.; Automation control system adopts the flat network topology framework in the prior art; The flat network topology framework that automation control system adopted has only a master controller; Described master controller can be main control computer/server or main control PLC (being generally the PLC main website of the CPU with power) as the control core of a whole set of control system, and the flow process that is used for accomplishing a whole set of control system and basic logic control are also served as the terminal that the database server that carries out the data interchange with the man-machine interface (HMI) of control framework and conduct are connected with external system; As shown in Figure 2; A master controller is communicated with all substation ends through communications protocol such as individual layer TCP/IP, Profibus-DP, and a plurality of substations end is all given the signal feedback of self gathering master controller or obtained the required signal that sends through communication from master controller.Accomplish all control computing and coordinations by master controller; Because concentrating, information processing cause program huge and concentrated; Be difficult to multi-person synergy and write and safeguard, cause managerial personnel in long-time running and in safeguarding task complete a business transaction fuzzy, also cause program run slow simultaneously.Because processor is limited in one's ability, be difficult to realize multithreading operation, influence production precision and efficient; According to existing industrial communication protocol requirement; As shown in Figure 1; Each substation end of a network segment can only carry out passive exchanges data with unique main website of this network segment; And exchanges data can only be accomplished in the corresponding time of master station communication in the scan period, that is to say that main website provides continuous ring type communication scanning, and the end of a communication scan period is exactly the beginning of a new communication scan period; Main website will cut apart one section in each scan period of communicating by letter and give each substation in its network segment, and such communication mode makes the communication speed of actual each substation be=the interior substation of nominal bandwidth/network segment quantity.So, substation multiple speed more causes the limitation of this control method very big more slowly, and causes communication slow easily, influences the production precision.
Summary of the invention
For solving the problems of the technologies described above, the objective of the invention is to propose a kind of framework of multi-level automation control system.
The present invention adopts following technical scheme for accomplishing the foregoing invention task:
A kind of framework of multi-level automation control system mainly comprises top layer control framework, middle layer control framework and terminal control framework; Described terminal control framework; Have a plurality of terminal control modules; Described terminal control module is also referred to as the substation, and for on-the-spot I/O-promptly inputs or outputs the terminal, described a plurality of terminal control modules correspond respectively to signal source setting that controlled or required collection; Control endways in the framework, same or analogous several the terminal control modules of function are merged into one group; Many group ends control module of dividing by function is communicated with the functional block controller of corresponding function in the middle layer control framework through terminal network respectively; Described middle layer control framework includes the several function block controller; Each functional block controller is controlled one group or two groups or more terminal control module through network-in-dialing; Be used to control a certain function, all signals that independent processing is relevant with its function; The last layer functional block controller that functional block controller in the middle layer control framework is controlled in the framework through secondary mid-level network and middle layer is communicated with or directly is communicated with top layer control framework through the one-level mid-level network; Accept all orders relevant of last layer functional block controller or top layer control framework with its function, and to last layer functional block controller or top layer control framework all execution results of feedback and the state of self; Last layer functional block controller in the said middle layer control framework is communicated with top layer control framework through the one-level mid-level network; Described top layer control framework has at least one master controller, and execution result that the several function block controller in the reception middle layer control framework is fed back and oneself state and the several function block controller in middle layer control framework send the function steering order.
Based intermediate layer control functional block amount controller and function that framework had; Functional block controller in the described intermediate layer control framework is divided into one or more layers according to function, that is: the intermediate layer is controlled functional block controller in the framework and classified according to function and organize; The functional block controller that function is identical or close and and be one group; And is communicated with through the functional block controller of the last layer corresponding function in secondary mid-level network and the intermediate layer control framework, the functional block controller of the last layer corresponding function in the described intermediate layer control framework passes through one-level mid-level network and top layer and controls framework and be communicated with.
When described top layer control framework has some master controllers, the functional block controller of the last layer in the described middle layer control framework communicate by letter with a master controller of top layer control the framework connection or the connection of communicating by letter with master controller wherein respectively.
Described terminal network is TCP/IP, Profibus-DP agreement or other agreement.
Described one-level mid-level network, secondary mid-level network are TCP/IP, Profibus-DP agreement or other agreement.
The framework of a kind of multi-level automation control system that the present invention proposes; Between top layer control framework and terminal control framework, the several function block controller is set; A plurality of terminal control modules are divided by function, it is communicated with the functional block controller that corresponding middle layer is controlled in the framework respectively, control with it all relevant terminal control modules by the functional block controller; Fill order situation and oneself state feed back to top layer control framework through progressive mode; Avoid occurring the phenomenon controlling confusion or comprise raw data communication, reduced the traffic and communication object, increased processing power; Thereby solved the problem that program run is slow in the prior art, trouble hunting is difficult, improved production precision and efficient.
Description of drawings
Fig. 1 is the communication scan period of standard controller CPU in the prior art.
Fig. 2 is the structural representation of the medium-and-large-sized automation control system flat network topology of prior art framework.
Fig. 3 is a structural representation of the present invention.
Among the figure, 1, master controller, 2, peripherals, 3, Control Network; 4, top layer control framework, 5, external network, 6, the one-level mid-level network; 7, the last layer functional block controller of middle layer control framework, 8, the secondary mid-level network, 9, middle layer control framework; 10, terminal network, 11, terminal control framework, 12, terminal control module.
Embodiment
In conjunction with accompanying drawing and specific embodiment the present invention is explained, be that example further specifies the present invention with the aluminum alloy strip hot-rolling mill among this embodiment, but the present invention not only is confined to following embodiment, and can be applicable to all automation control systems:
As shown in Figure 3, a kind of framework of multi-level automation control system mainly comprises top layer control framework 4, middle layer control framework 9 and terminal control framework 11; Described terminal control framework 11; Have a plurality of terminal control modules 12; Described terminal control module is also referred to as the substation, and for on-the-spot I/O-promptly inputs or outputs the terminal, described a plurality of terminal control modules 12 correspond respectively to signal source setting that controlled or required collection; Like the main frame in the aluminum alloy strip hot-rolling mill, two driving motor flow directing device, the on-the-spot I/O of various pumping plant, the on-the-spot I/O of various valve platform and on-the-spot I/O of various operator's console etc. of batching; Control endways in the framework 11, same or analogous several the terminal control modules of function are merged into one group; Many group ends control module of dividing by function is communicated with the functional block controller of corresponding function in the middle layer control framework throughterminal network 10 respectively; Described middle layer control framework 9 includes the several function block controller, and each functional block controller is controlled a group end control module 12 through network-in-dialing, is used to control a certain function, all signals that independent processing is relevant with its function; Put main transmission control under like: main frame, two driving motor flow directing device etc. of batching, and be communicated with same functional block controller in the middle layer control framework, control by the completion of main transmission functional block controller jointly through terminal network; With the on-the-spot I/O of pumping plant, the on-the-spot I/O of valve platform etc. and and be one group, the hydraulic function block controller of controlling in the framework through terminal network and middle layer is communicated with, and is controlled by the hydraulic function block controller.Functional block controller in the middle layer control framework 9 is communicated with top layer control framework 8 through one-level mid-level network 6, accepts all orders relevant with its function of top layer control framework, and to top layer control framework 8 all execution results of feedback and the state of self; If the middle layer control function piece in the middle layer control framework 9 is more; Can further merge by the middle layer control function piece that function is approximate; By 7 controls of the last layer functional block controller in the middle layer control framework, promptly the functional block controller is controlled the connection of communicating by letter of last layer functional block controller 7 in the framework through secondary mid-level network 8 and middle layer; Constitute two layers of frame construction of middle layer control framework; Reduce the interior substation of the one-level mid-level network quantity of master controller in the top layer control framework; Make multi-level control framework obtain further layering; And reduced communication data and reduced the communication scan period of each substation; Shorten the scan period of the whole network segment, can accelerate communication speed in each network segment relatively.
Last layer functional block controller 7 in the said middle layer control framework 9 is communicated with top layer control framework 4 through one-level mid-level network 6; Described top layer control framework 4 has at least one master controller, and execution result that the several function block controller in the reception middle layer control framework is fed back and oneself state and the several function block controller in middle layer control framework send the function steering order.
Quantity and function based on end control terminal control module that framework has; Functional block controller in the described intermediate layer control framework 9 is divided into one or more layers according to function, that is: the functional block controller of the intermediate layer being controlled framework is classified according to function and organized; The functional block controller that function is identical or close and and be one group; And is communicated with through the functional block controller 7 of the last layer corresponding function in secondary mid-level network 8 and the intermediate layer control framework, the functional block controller 7 of the last layer corresponding function in the described intermediate layer control framework passes through one-level mid-level network 6 and top layer and controls framework 4 and be communicated with.
The external network 5 that top layer control framework 4 comprises master controller 1, HMI (man-machine interface) and third party system and uses with third party's system communication, the ICP/IP protocol with versatility that is generally widespread use makes things convenient for the access of third party system.Described master controller can be main control computer/server or main control PLC (being generally the PLC main website of the CPU with power) as the control core of a whole set of control system, generally is used for accomplishing flow process control, the Premium Features control of a whole set of control system and serves as the terminal that the database server that carries out the data interchange with the man-machine interface (HMI) of control framework and conduct are connected with external system.
When described top layer control framework has some master controllers 1, the functional block controller in the described middle layer control framework communicate by letter with a master controller of top layer control the framework connection or the connection of communicating by letter with master controller wherein respectively.
Described terminal network 7 is TCP/IP, Profibus-DP agreement or other agreement.
Described one-level mid-level network 6, secondary mid-level network 8 are TCP/IP, Profibus-DP agreement or other agreement.