The utility model content
In order to reduce the complexity of zymotechnique production equipment administrative center, the corresponding purpose that reduces construction and maintenance cost that reaches, and satisfy the production process time interval and real-time requirement, guarantee continuity and the stability of production, the utility model provides a kind of zymotechnique production equipment monitor message communication system.
The technical solution of the utility model is as follows:
Zymotechnique production equipment monitor message communication system, comprise master controller and from device controller, describedly be connected with described fermenting and producing equipment from device controller, described master controller is provided with first wireless communication module, describedly is provided with second wireless communication module from device controller; Described first wireless communication module and described second wireless communication module carry out communication with wireless mode; Describedly be divided into different poll group from device controller according to the technology incidence relation of the fermenting and producing equipment that connects, interior described of described master controller and described poll group carries out the poll communication from device controller.
Described first wireless communication module is corresponding one by one with described poll group.
Different described poll group is different with the communication frequency of corresponding described first wireless communication module.
Describedly comprise from device controller: industrial control unit (ICU), human-computer interaction terminal, power-equipment controller and/or instrument.
Technique effect of the present utility model is as follows:
Zymotechnique production equipment monitor message communication system of the present utility model, comprise master controller and from device controller, describedly be connected with described fermenting and producing equipment from device controller, described master controller is provided with first wireless communication module, describedly is provided with second wireless communication module from device controller; Described first wireless communication module and described second wireless communication module carry out communication with wireless mode; Describedly be divided into different poll group from device controller according to the technology incidence relation of the fermenting and producing equipment that connects, interior described of described master controller and described poll group carries out communication from device controller.
Master controller is as the production management center, the zymotechnique production equipment is managed and monitors, concrete mode is wireless communication module to be set to carry out the communication of monitor message at master controller with from device controller respectively, upload zymotechnique production equipment status information from device controller to master controller, master controller is to transmitting control information from device controller, in order to operate corresponding zymotechnique production equipment.In order to reduce the management complexity of this end of master controller, the utility model is divided into poll group from device controller, this poll group of master controller periodic polls according to the technology incidence relation between the fermenting and producing equipment with what the zymotechnique production equipment connected.By the mode of poll, making has the zymotechnique production equipment of operation incidence relation and the monitor message communication between the master controller can determine within some cycles, thereby the production of production equipment can meet technologic time limit requirement.Make master controller need not possess complicated logical program like this, only carry out the action of corresponding poll and just can guarantee that fermenting and producing equipment produces with the state that meets technological requirement, simultaneously can also satisfy the production process time interval and real-time requirement, guarantee continuity and the stability of production, realized the purpose of this utility model.
Embodiment
The title that the utility model is related to explanation in advance.
Programmable logic controller (PLC) (Programmable Logic Controller, PLC), it adopts a class programmable memory, be used for its internally stored program, actuating logic computing, sequential control, regularly, user oriented instructions such as counting and arithmetical operation, and control various types of machineries or production run by numeral or analog I/O.
Below in conjunction with accompanying drawing the technical solution of the utility model is elaborated.
Fig. 1 has shown an example of the utility model zymotechnique production equipment monitor message communication system, and production equipment is the zymotechnique of brewageing for food, comprises fermentation tank and auxiliary device thereof.Zymotechnique production equipment monitor message communication system shown in Figure 1 comprise as the master controller at production management center and be arranged on the described production equipment from device controller.Master controller also is connected with host computer.Host computer is the general designation to the higher level management system, mainly refers to equipment that master controller is managed, and master controller receives the control command that host computer is sent to the status information of host computer transmission production equipment.
Master controller is connected with first wireless communication module, is used for sending and receiving monitoring and control information (abbreviating monitor message as).
Comprise according to concrete task from device controller: industrial control unit (ICU) PLC, the human-computer interaction terminal terminal of touch panel display device (as be provided with), power-equipment controller and/or instrument.Be connected with the zymotechnique production equipment from device controller, be used for obtaining the control information that the running state parameter of zymotechnique production equipment and reception and processing come autonomous controller.The control information that master controller is sent can convert control command to production equipment is directly operated, and also can control command be shown by display terminal, according to circumstances carries out suitable operation by operating personnel.Be connected with second wireless communication module from device controller.First wireless communication module and second wireless communication module carry out communication in the mode of wireless telecommunications.By the said system structure, can realize master controller and transmit from the monitor message between the device controller.
In order to reduce master controller to the complexity of production equipment control procedure, zymotechnique production equipment monitor message communication system of the present utility model has adopted the method that poll group is carried out the poll communication of dividing.What the production equipment among Fig. 1 in the frame of broken lines connected is same poll group from device controller.Specify as follows.At first, what will be connected with fermenting and producing equipment divides into groups from device controller, and after grouping finished, master controller will carry out the poll communication by second wireless communication module from device controller in first wireless communication module and the poll group.The method of above-mentioned grouping comprises: will have the operation incidence relation production equipment be divided into a poll group from device controller.The operation incidence relation here refers to that in technological process the operation that the zymotechnique production equipment carries out has relevance, and in the process time clear and definite restriction is arranged.Process time requires mainly in two kinds of situation: a kind of is that individual equipment carries out multi-pass operations, has the time limit requirement between each operating process, such as mixing plant, need carry out repeatedly, and strict regulation is arranged each interval time of stirring; Another kind of situation is that operating process has the time limit requirement, adds water after stirring between the different production equipment, and stirring operation and the time interval that adds between the water operation should meet technological requirement.
After being divided into poll group, master controller is to carrying out periodic polls from device controller in the poll group, and the concrete course of work is referring to the explanation to Fig. 2.Poll sequencing in the cycle of poll and cycle should require coupling with the above-mentioned process time.Concrete following two aspects (two kinds of situations that require at the above-mentioned process time) that comprise:
The first, in the time range that the described described production equipment operation that connects from device controller limited in polling cycle was set in described group.
This situation is primarily aimed at single equipment and carries out multi-pass operations, and there is technological requirement in the time interval between each operating process, and then the cycle of poll or several cycles must meet technologic time requirement.For example, stirring with the interval time of stirring for the second time for the first time is 10 minutes, and then polling cycle is 10 minutes, or certain integral multiple of polling cycle is 10 minutes.
The second, in described polling procedure, the described time interval from device controller that two described production equipments of poll connect meets the time interval that these two described production equipment operations limit.
This situation is primarily aimed between the operation of different fermentations explained hereafter equipment has sequence requirement, should meet technological requirement the interval time between the operation simultaneously.Add water after for example stirring, stirring operation and the time interval technological requirement that adds between the water operation are 8 minutes, and stir production equipment and add the water production device branch in same poll group, then in one-period, poll stirring production equipment and the time interval that adds between the wetting system should be 8 minutes, and perhaps certain integral multiple cycle adds that poll stirring production equipment and the time interval that adds between the wetting system should be 8 minutes.
The method of above-mentioned division poll group also comprises: what production equipment of the same type connected divides in same poll group from device controller; Or of the same typely divide in same poll group from device controller; According to the existing qualifications (for example " first " of aforementioned polling cycle and poll order and " second ") of polling cycle, adjust production equipment and enter into poll group, to meet the existing qualifications of polling cycle.The method priority application of dividing poll group aforesaid " is connected with the described production equipment with operation incidence relation described be divided into one group from device controller ", aforesaid additive method is then selected application according to physical condition.This is the method that those skilled in the art can know, and repeats no more.
In order to implement technical solutions of the utility model more efficiently, preferred pin arranges first wireless communication module to a poll group, and namely first wireless communication module is corresponding one by one with described poll group.
Do not influence the communication of other poll group for fear of the communication of poll group, the communication frequency of different poll group (communication frequency between first wireless communication module and corresponding second wireless communication module) is different.Table one has provided the example of a poll group communication frequency.
Table one
Fig. 2 has shown the course of work of the utility model zymotechnique production equipment monitor message communication system.
At first, provide in the described polling procedure described master controller and described formula from device controller communication time T:
T≥t1+t2+t3+t4+t5+t6+t7+t8
Wherein, t1 is the maximum time of main operation controller corresponding program;
T2 is the time that master controller generates information to be sent;
T3 sends the information required time from described first wireless communication module to described second wireless communication module;
T4 describedly changes required time from device controller with the information that receives;
T5 is described from device controller operation corresponding program required maximum time;
T6 is the described time of waiting the information of uploading that generates from device controller;
T7 sends the information required time from described second wireless communication module to described first wireless communication module;
T8 is that described master controller is changed required time with the information that receives.
Below, be elaborated in conjunction with the master controller of Fig. 2 and from the answering between the device controller.Being the program of master controller part more than the dotted line among Fig. 2, is the workflow from device controller below the dotted line.
1, master controller at first moves corresponding program
The corresponding program of main operation controller starts to the flow process that sends information from device controller.The maximal value of this a part of time corresponding is the t1 in the aforementioned formula.
2, generate information to be sent
Master controller generates information to be sent.This a part of time corresponding is the t2 in the aforementioned formula.Table two has provided an example (information has converted corresponding data layout to) of information to be sent.
Table two
Frame head |
Destination address |
Source address |
Frame length |
Command type |
Command context |
Verification |
Frame end |
7EH |
01H |
11H |
MM |
01H |
XX~XX |
XOR |
0DH |
3, transmission information
Master controller is carried out by first wireless communication module to sending information from device controller.
4, reception information
From the information that device controller receiving step 3 transmits, undertaken by second wireless communication module.Step 3 and 4 time corresponding are the t3 in the aforementioned formula.
5, whether be this equipment corresponding address
From device controller the information that receives is judged, if this information is not the production equipment that sends to its connection, then do not carry out should, if if this information is the production equipment that sends to its connection, then execution in step 6.
6, process information
From device controller the information that receives is carried out respective handling.Step 5 and 6 time corresponding are the t4 in the aforementioned formula.
7, from device controller operation corresponding program
From device controller operation corresponding program, generate the information of waiting to be uploaded to master controller.The maximal value of this a part of time corresponding is the t5 in the aforementioned formula.
8, information processing to be uploaded
From device controller the information that generates is handled.
9, upload the information framing
Form Frame from the information that device controller will be to be uploaded.Step 8 and 9 time corresponding are the t6 in the aforementioned formula.
10, information frame is uploaded in transmission
Send the Frame of the information of the uploading composition that generates from device controller.Table three has provided an example of uploading the data frame format of information.
Table three
Frame head |
Destination address |
Source address |
Frame length |
Command type |
Command context |
Verification |
Frame end |
7EH |
11H |
01H |
NN |
81H |
YY~YY |
XOR |
0DH |
11, receiving feedback information
The Frame that the step 10 that receives master controller transmits.Step 10 and 11 time corresponding are the t7 in the aforementioned formula.
12, handle feedback information
Master controller is handled the Frame that receives.This a part of time corresponding is the t8 in the aforementioned formula.
The process that master controller carries out poll to poll group is that the CPU by master controller controls, and CPU is according to base counting at that time.Fig. 3 is illustrated this process.At first, master controller inquires and wait acknowledge (being designated hereinafter simply as challenge and reply) that from device controller the time of this process is pre-set, the integral multiple of base when this time should be CPU in the poll group first.The base when CPU of master controller counts reaches predetermined time, then finishes this challenge and reply from device controller, and continuation is carried out challenge and reply to next order in the poll group from device controller.All finish the challenge and reply process from device controller in poll group, enter next polling cycle.
Each may be different from other from device controller from the time that device controller and master controller carry out challenge and reply as previously mentioned, can estimate in advance.The time of corresponding this estimation, master controller is respective settings quantity of base during the CPU counting with should be from device controller carry out challenge and reply the time when program design, the quantity of Shi Ji (multiple of N1 and N1 among Fig. 3, N1 are integer) with the time base product should be greater than the time of above-mentioned estimation.In the example shown in Figure 3, each is identical with " challenge and reply " time of master controller from device controller.
It should be noted that the above only for preferred embodiment of the present utility model, be not so limit scope of patent protection of the present utility model that the utility model can also adopt equivalent technologies to replace.So the equivalence that all utilizations instructions of the present utility model and diagramatic content are done changes, or directly or indirectly apply to other correlative technology fields and all in like manner all be contained in the scope that the utility model contains.