CN105116795A - Distributed control method for automatic manufacturing system with assembly operation - Google Patents
Distributed control method for automatic manufacturing system with assembly operation Download PDFInfo
- Publication number
- CN105116795A CN105116795A CN201510435048.XA CN201510435048A CN105116795A CN 105116795 A CN105116795 A CN 105116795A CN 201510435048 A CN201510435048 A CN 201510435048A CN 105116795 A CN105116795 A CN 105116795A
- Authority
- CN
- China
- Prior art keywords
- token
- sub
- library
- parallel
- key
- 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
- 238000000034 method Methods 0.000 title claims abstract description 161
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 34
- 230000008569 process Effects 0.000 claims description 89
- 230000007704 transition Effects 0.000 claims description 41
- 230000003068 static effect Effects 0.000 claims description 10
- BGPPUXMKKQMWLV-UHFFFAOYSA-N 1,2,4,5-tetrachloro-3-methoxy-6-nitrobenzene Chemical compound COC1=C(Cl)C(Cl)=C([N+]([O-])=O)C(Cl)=C1Cl BGPPUXMKKQMWLV-UHFFFAOYSA-N 0.000 claims description 3
- 238000001514 detection method Methods 0.000 abstract 1
- 238000012545 processing Methods 0.000 description 7
- 230000015572 biosynthetic process Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000003786 synthesis reaction Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000003754 machining Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
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/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- 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
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25232—DCS, distributed control system, decentralised control unit
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Provided is a distributed control method for an automatic manufacturing system with assembly operation. A change set composed of changes which can be enabled in a state M is detected first, and when detection of all the changes in a TEN is completed, a finally output TCN is a set of changes ensuring deadlock-free running of a system in the state M; any change is excited to obtain a new state, and a set of changes ensuring deadlock-free running of the system in the state is judged; and the steps are repeated, and finally, an emission sequence for ensuring deadlock-free running of the system is obtained. According to the invention, a Petri network is used as a mathematical tool to avoid an exhaustive state space, reduce the complexity of the algorithm and realize efficient control on a huge system. A dynamic, online and distributed control mode is adopted to observe and control the local state, thereby ensuring the deadlock-free performance of the whole system.
Description
Technical Field
The invention belongs to the technical field of automatic manufacturing systems, and relates to a distributed control method for an automatic manufacturing system with assembly operation.
Background
In order to quickly respond to market changes and meet the emerging customer needs, scientists developed automated manufacturing systems. Generally, an automated manufacturing system is composed of a plurality of manufacturing processes that concurrently perform respective manufacturing tasks according to respective process recipes. During the execution of these processes, resources (e.g., buffers, material handling equipment, etc.) are often required to assist their completion. In practice, these resources are limited, which makes them necessary to be shared by these processes. However, such a processing environment is prone to deadlock. Once a deadlock occurs, the system will experience production stalls with serious and even catastrophic consequences. To solve the deadlock problem in an automated manufacturing system, it is common practice to introduce a corresponding controller to apply to a given system model, thereby avoiding undesirable behavior.
Over the past decades, a series of supervisory control methods have been developed. These supervisory control methods can be classified into a centralized control method and a distributed control method. In industry, actual automated manufacturing systems are intricate in scale. Each automated manufacturing system is comprised of relatively small scale, local, asynchronous, and interactive subsystems. Its execution is the result of the interaction of these subsystems. It is clear that with the increasing number of these subsystem modules, the problem of "state explosion" will be faced with the centralized control method, with the well-known computational and memory complexity problems. Based on the above problems, more and more researchers are turning their attention to the distributed control method. By adopting a distributed control method, the monitoring task completed by the central controller can be completed by a group of local controllers together. Each local controller receives observation information of the subsystem controlled by the local controller and makes local decisions according to the received local observation information, so that the calculation and storage complexity is greatly reduced.
The existing distributed control methods are summarized and analyzed, and defects exist in the process of wide popularization, and are particularly shown in the following point 1. due to the fact that the design of a controller becomes extremely complex due to an automatic system with an assembly operation, most of the existing distributed control methods are only limited to solving the deadlock problem of an automatic manufacturing system with a flexible path, and the automatic manufacturing system with the assembly operation is ignored. However, the assembly operation gives the system more structural information than a flexible path. The research result based on the automatic manufacturing system with the assembly operation is more general and can be popularized to a more complex automatic manufacturing system. 2. In these distributed control methods, many need to rely on a reachability graph or system architecture to complete the design of the controller. However, whether based on reachability maps or system architectures, it is difficult to apply these methods to large-scale automated manufacturing systems due to computational complexity issues.
Disclosure of Invention
To solve the problems of the prior art, it is an object of the present invention to provide a distributed control method for an automated manufacturing system with assembly operations that greatly reduces the amount of communication between the observer and the process and can be easily extended to more complex automated manufacturing systems.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a distributed control method for an automated manufacturing system having assembly operations, comprising the steps of:
1) given an F-AMG, M is an reachable state at the current time, TEN={t1,t2…tkDenotes the set of transitions that can be enabled in state M, TCNA set of transitions representing transitions enabling deadlock free operation of the system in state M after the system is controlled; where k represents the number of transitions that can be enabled in state M;
2) initialization m 1, TEN=Φ,TCNPhi is; wherein m is a counting variable;
3) from TENIn selecting transition tmAnd transition t from arrivalmRandomly selecting one Turkan from one operation library, judging the position of the Turkan, if the Turkan is positioned in a parallel process between the shunting operation and the assembling operation, performing the step 4), otherwise, performing the step 5)
4) Under the condition that other tokens are all static, if the selected token can reach one sub-key library place in the parallel process of the selected token from the current position of the selected token, and one token exists in each of the rest parallel processes, and can reach one sub-key library place in the parallel process of the selected token from the current position of the selected token, further judging whether the tokens formed by combining the tokens through assembly operation can reach the nearest global key library place under the condition that other tokens are all static, and if so, changing to tmCan be enabled, TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, performing step 6) if m is m + 1;
5) judging whether the selected token can move to the nearest global key library from the current position of the token under the condition that other tokens are static, and if so, changing tmCan be enabled, and TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, performing step 6) if m is m + 1;
6) when m is less than or equal to k, performing the step 3);
7) when T isENAll transitions in (1) are detected, and T is finally outputCNNamely, the set of transitions which ensure the system to operate without deadlock in the state M; exciting any transition to obtain a new state, and judging a transition set capable of ensuring the system to run without deadlock in the state according to the steps 1) to 6); repeating the steps, and finally obtaining a transmitting sequence which ensures that the system runs without deadlock.
The specific process of the step 4) is as follows:
given aGroup of TorkenThe group of tokens respectively representing n subcomponents of token o in different parallel courses, andindicates the arrival from tmA selected token in one of the operation libraries,respectively indicate at j1A, j th2… … th jnThe number of the parallel processes is n;
4.1) given the set of local Key librariesWherein z represents the number of local key libraries contained in the set, and respectively indicate at j1A, j2… …, jnSub-key library, N, in parallel processesz={1,2……z};
4.2) initializing l ═ 1, where l denotes a counting variable;
4.3) from the setIn selecting local key library Proceed to step 4.4);
4.4) determining whether there are sufficient resources to support the selected Token in case other Tokens are stationaryMove from its current position to jth1Sub-key library place in parallel processIf so, judging that the selected Token is the right oneAt sub-key libraryAnd in the case of the rest of the other tock, j2Whether there is one Token in one parallel processCan proceed from its current position to jth2Sub-key library place in parallel processIf so, judging that the selected Token is the right oneAt sub-key libraryJ th2Selected Token in parallel courseAt sub-key libraryAnd in the case of the rest of the other tock, j3Whether or not there is one Token in one parallel processCan proceed from its current position to jth3Sub-key library place in parallel processIf yes, then judge the j4A parallel process; repeating the steps until all parallel processes are traversed;
if the above conditions are met, performing step 4.6); otherwise, l ═ l +1, step 4.5) is performed;
4.5) when l is less than or equal to z, performing step 4.3), otherwise, performing step 6) when m is m + 1;
4.6) judging whether the selected token and the token selected in other parallel processes are combined through the assembling operation to advance to the global key library nearest to the token map module in which the token is positioned under the condition that other tokens are all static; if so, transition tmCan be enabled, and TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, m is m +1, proceed to step 6).
Compared with the prior art, the invention has the beneficial effects that: the invention avoids exhaustion of state space, reduces algorithm complexity, realizes high-efficiency control of a system with large scale, and adopts a dynamic, online and distributed control mode to observe and control local state, thereby finally ensuring no deadlock of the whole system. Compared with the existing distributed control method, the distributed control method has the advantages that:
1. compared with the original distributed control method provided for the system with the structural characteristic of flexible manufacturing, the method provided by the invention has the advantages that the conclusion generated by the method is more general, and the method is a further extension of the original conclusion, so that the method can be easily expanded into a more complex automatic manufacturing system.
2. The invention adopts a real-time online control mechanism, and a controller is not required to be designed in advance. This means that in case of an emergency, for example, a resource failure, the method of the present invention can dynamically monitor the status, and then adjust the existing resource information in time and feed it back to the corresponding controller to make a correct control decision. Because a complicated controller design flow is avoided, the calculation amount is greatly reduced, and the distributed control method has higher efficiency.
3. The invention carries out deeper extension on the definition of the key library on the basis of the prior art. The invention further discloses a local key library which represents a combination of sub-key libraries of the same type belonging to different parallel processes, and the number of the sub-key libraries contained in the combination is equal to the number of the parallel processes. The invention further extends the concept of a global key library by representing all the process stages between the split operation and the assembly operation as virtual process stages such that each process step in the model of the invention is characterized by sequential execution.
4. The algorithm of the invention does not need to monitor global information, each step is executed only depending on whether the existing resources are enough, except for the process currently being executed, the invention does not need to know the states of other processes, so that the control method of the invention is a distributed control method, and the communication traffic between the observer and the process is greatly reduced.
Drawings
Fig. 1 is a Petri net model with an assembly operation.
Fig. 2 is a simplified diagram of fig. 1.
FIG. 3 is a signature block.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
The invention provides a distributed control method based on an automatic system with assembly operation, which realizes active distributed control on line by applying a dynamic search method. The individual processes between the split operation and the assemble operation are referred to as parallel processes in the present invention.
First, the library sites in the F-AMG are classified into a key library site and a general library site. According to the definition of the key library in the paper "distributed Supervisory Synthesis for automated manufacturing systems Using Petri nets", if the various working phases of a process are executed sequentially, the present invention defines the working phase with the minimum or maximum resource requirement as the key library. In the F-AMG, the work phases are not completely connected in sequence, as described above, for the parallel process between the flow splitting operation and the assembling operation, the work phases in the same parallel process are connected in sequence, and the work phases between different parallel processes are connected in parallel. Taking F-AMG in FIG. 1 as an example, P3And P5Are connected sequentially, and P3And P4Are connected in parallel. However, because each parallel process has the characteristic of sequential connection of working phases, the invention extends the definition of the sub-key library.
Definition 1: given an F-AMG, when B (t)s,te) When the following conditions are satisfied, it can be called a signature module: 1) | ts ·|≥2,|·ts|=Φ;2)|te ·|=Φ,|·te| ≧ 2, as shown in FIG. 3, where tsRepresenting a split operation, teRepresenting assembly operations, splitting operations tsAnd assembly operation teThe individual processes in between are referred to as parallel processes. Taking FIG. 3 as an example, t11Representing a split operation, t16Representative AssemblyOperation, t11And t16There are two parallel processes in between, respectively<p11,t12,p12,t13,p13>,<p14,t14,p15,t15,p16>。
Definition 2: given an F-AMG, p is any one of the libraries, and the demand of each resource by the library p can be expressed as a vector ap=[ap(r1),ap(r2)……ap(rL)]TWherein L represents the number of classes of the resource, r1,r2,……rLDenotes various types of resources in F-AMG, ap(r1),ap(r2)……ap(rL) Respectively representing the p pairs of resources r of the library1,r2,……rLThe required amount of (c).
Definition 3: assuming that there are N parallel processes between the flow-splitting operation and the assembling operation, N belongs to N+,Represents a set of all libraries in the ith parallel process, i ∈ NnThen the key library can be defined as
1.
2.And p isx<p<py. And,px<p'<pyhas ap≥ap'};
3.And p isx<p<py. And,p<p'<pyhas ap≥ap'}; wherein p isx<p<pyDenotes a library pyBefore the library location p, the library location p is located in the library location pxBefore; p is a radical ofx、pyRepresenting two sub-key libraries in the same process.
According to the definition, the sub-key libraries can be divided into three classes, the first class represents the working phase with the minimum requirement on resources, and the F-AMG structure shows that the working phase with the minimum requirement on resources does not need resources (such as the initial library site and the end library site); the second category refers to two sub-key libraries p of the same parallel processxAnd pyThere is a repository with a demand ratio p for resourcesxAnd pyIf the resource demand of any library is large, the library is the sub-key library; the third category refers to two sub-key libraries p of the same parallel processxAnd pyThere is a repository that has a higher demand for resources than it does for the sub-key repositoryyThe requirement of any library in between is large, and the library is also called a sub-key library.
With the definition of the sub-key library, the ordered combination of the sub-key libraries of each parallel process forms the local key library, so that the definition of the local key library is obtained by the method provided by the invention:
definition 4: given a set of sub-keysThen the local key repositoryCan be defined as:
1.
2.
wherein,respectively represent the j th1A, j th2… … th jnA set of all libraries in a parallel process;
as shown in definition 4, the local key library is an ordered combination of n sub-key libraries belonging to different parallel processes and belonging to the same class of sub-key libraries.
When all the libraries between the flow operation and the assembly operation are combined into a virtual library, each process of the F-AMG has the characteristic of working state sequential connection. The specific combination method comprises the following steps: the input arc of each library in each parallel process to the resource library is moved to the transition position representing the assembly operation, the input arc of each library in each parallel process to the resource library is moved to the transition position representing the shunt operation, and the part between the shunt operation and the assembly operation is replaced by a virtual library, so that the simplified F-AMG has the characteristic of sequential connection of working stages. As shown in fig. 2, fig. 2 is a simplified model of the flag module in fig. 1. Taking FIG. 1 as an example, to merge the token map blocks B (t)2,t5) In the section between, t is required to be adjusted3To p15,t4To p15Is moved to transition t5A is p16To t3,p16To t4,p17To t3,p17To t4Is moved to t2Then p is added3,t3,p5,p4,t4,p6Using virtual places pfic1Instead, as shown in fig. 2. Thus, the invention obtains the concept of a global library:
definition 5: given the F-AMG, the system is,all operation libraries in the ith process type after F-AMG simplification are represented, and the global key library of the operation libraries can be defined as
1.
2.And p isx<p<py. And,has ap≥ap'};
3.And p isx<p<py. And,has ap≥ap'};
As can be seen from definition 5, the global key library can be divided into three classes. The first type represents a library place with zero resource demand, and in the F-AMG, represents an initial library place and an end library place; the second type represents that in the simplified F-AMG, any given process is given if any two global key libraries p in the processxAnd pyThere is a repository with a demand ratio p for resourcesxAnd pyIf the resource demand of any library is large, the library is defined as a global key library; the third type represents that in the simplified F-AMG, any given process is given if any two global key libraries p in the processxAnd pyThere is a repository whose demand for resources is later than that of the global key repositoryyAny library in between has a large demand for resources, and the library is defined as the global key library.
The present invention is directed to a distributed control method for an automated manufacturing system having assembly operations, comprising the steps of:
1) given an F-AMG, M is an reachable state at the current time, TEN={t1,t2…tkDenotes the set of transitions that can be enabled in state M, TCNA set of transitions representing transitions enabling deadlock free operation of the system in state M after the system is controlled; where k represents the number of transitions that can be enabled in state M;
2) initialization m 1, TEN=Φ,TCNPhi is; wherein m is a counting variable;
3) from TENIn selecting transition tmAnd transition t from arrivalmOptionally selecting one of the operation libraries, judging the position of the token, and if the token is positioned in a parallel process between the shunting operation and the assembling operation, performing the step 4), otherwise, performing the step 5);
4) at rest in other tomkanIn this case, if the selected token can reach one sub-key library place in the parallel process of the selected token from the current position of the selected token, and one token exists in each of the remaining parallel processes, and can reach one sub-key library place in the parallel process of the selected token from the current position of the selected token, it is further determined whether the tokens formed by combining the tokens through the assembling operation can reach the global key library place closest to the selected token under the condition that other tokens are all static, and if so, transition t is performedmCan be enabled, TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, performing step 6) if m is m + 1;
the specific process of the step 4) is as follows:
giving a set of TokenThe group of tokens respectively representing n subcomponents of token o in different parallel courses, andindicates the arrival from tmThe selected one of the operation libraries,respectively indicate at j1A, j th2… … th jnThe number of the parallel processes is n;
4.1) given the set of local Key librariesWherein z represents the number of local key libraries contained in the set, and respectively indicate at j1A, j2… …, jnSub-key library, N, in parallel processesz={1,2……z};
4.2) initializing l ═ 1, where l denotes a counting variable;
4.3) from the setIn selecting local key library Step 4.4) is carried out;
4.4) determining whether there are sufficient resources to support the selected Token in case other Tokens are stationaryMove from its current position to jth1Sub-key library place in parallel processIf so, judging that the selected Token is the right oneAt sub-key libraryAnd in the case of the rest of the other tock, j2Whether there is one Token in one parallel processCan proceed from its current position to jth2Sub-key library place in parallel processIf yes, judging when selectedToken of choiceAt sub-key libraryJ th2Selected Token in parallel courseAt sub-key libraryAnd in the case of the rest of the other tock, j3Whether or not there is one Token in one parallel processCan proceed from its current position to jth3Sub-key library place in parallel processIf yes, judging the jth item by a similar method4A parallel process; repeating the steps until all parallel processes are traversed;
if the above conditions are met, performing step 4.6); otherwise, l ═ l +1, step 4.5) is performed;
4.5) when l is less than or equal to z, performing step 4.3), otherwise, performing step 6) when m is m + 1;
4.6) judging whether the selected token and the token selected in other parallel processes are combined through the assembling operation to advance to the global key library nearest to the token map module in which the token is positioned under the condition that other tokens are all static; if so, transition tmCan be enabled, and TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, m is m +1, proceed to step 6).
5) Determining that the selected Token is stationary when all other Tokens are stationaryWhether it can be moved from its current location to the global key store nearest to it, and if so, the transition tmCan be enabled, and TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, performing step 6) if m is m + 1;
6) when m is less than or equal to k, performing the step 3);
7) when T isENAll transitions in (1) are detected, and T is finally outputCNNamely, the set of transitions which ensure the system to operate without deadlock in the state M; exciting any transition to obtain a new state, and judging a set of transitions capable of ensuring the system to run without deadlock in the state according to the steps 1) to 6); repeating the steps, and finally obtaining a transmitting sequence which ensures that the system runs without deadlock.
The following is a detailed description by way of an example.
Referring to fig. 1, fig. 1 is a Petri net model with an assembly operation, which is called feedbackauthored markedgraph, F-AMG for short. Each F-AMG is composed of multiple process types, denoted as J ═ Jj,j∈NK}。
Definition 6: an F-AMG is a strongly connected, normal, pure Petri net N ═ (P, T, F, W), where N represents a model with a Petri net structure, P represents a place in the model, T represents a transition in the model, F represents a connection between the transition and the place, and W represents an arc weight of a connection arc between the transition and the place.
1)P=PB∪PE∪PA∪PR:
a)PB,PE,PA,PRRespectively called a start library place, an end library place, an operation library place and a resource library place;
b)andwherein N isKThe number of process types is {1, 2, …, K }, and, taking fig. 1 as an example, there are two process types, each of which is { p }1,t1,p2,t2,p3,t3,p4,t4,p5,p6,t5,p7,t6},{p8,t7,p9,t8,p10,t9,p11,t10,p12,p13,t11,p14,t12};
c) For arbitrary i e NK,And isj∈NK,i≠j,
d)PR={ri,i∈NL}; wherein N isLThe number of resource types is {1, 2, …, L }, and 3 resource types are shown in fig. 1 as an example, and are: r is1(p15),r2(p16),r3(p17);
2)For each i ∈ NK,And any i, j ∈ NK,i≠j,TransitionRepresenting the beginning of a new manufacturing run, as exemplified in figure 1,
3) for each i ∈ NKNetwork of networks Is a strongly linked label map, exceptEach loop includesAnd
taking FIG. 1 as an example, there are two processes, J1={p1,p2,p3,p4,p5,p6,p7},J2={p8,p9,p10,p11,p12,p13,p14}. In process J1In (1) { p3,p5And { p }4,p6Are composed of two parallel sub-processes, respectively, where the parallel process { p }3,p5The sub-key library corresponding to p5Parallel process { p4,p6The sub-key library corresponding to p6Thereby obtaining a local key library<p5,p6>(ii) a Similarly, in Process J2Middle, largep10,p12And { p }11,p13Are composed of two parallel sub-processes, respectively, where the parallel process { p }10,p12The sub-key library corresponding to p12Parallel process { p11,p13The corresponding sub-key library is p13Thereby obtaining a local key library<p12,p13>。
To further obtain the global key library, the reduction should be simplified into the form of FIG. 2 according to the aforementioned reduction rules of the present invention, wherein p in FIG. 2fic1Is { p3,p5,p4,p6The virtual library generated after simplification, pfic2Is { p10,p12,p11,p13The virtual library generated after simplification can obtain the simplified process J according to the definition of the global library1Global key library of { p }1,pfic1,p7}, simplified Process J2Global key library of { p }8,pfic2,p14}。
Since the present invention dynamically and in real time generates event occurrence sequences, it is not difficult to see that the sequences are not unique and different search sequences will result in different event sequences. According to the distributed control method, one transmitting sequence sigma can be obtained, the system can be ensured to operate without deadlock, and sigma is equal to<t7,t1,t8,t9,t2,t3,t10,t11,t4,t5,t7,t1,t8,t9,t2,t3,t10,t11,t4,t5,t6,t12>。
The invention has the following advantages:
1. the invention provides a distributed control method for a system with the structural characteristic of assembly operation, which means that compared with the original distributed control method for the system with the structural characteristic of flexible manufacturing, the conclusion generated by the method is more general and is a further extension of the original conclusion, so that the method can be easily expanded to a more complex automatic manufacturing system. For example, a core key point of the implementation of the distributed control method proposed by the present invention is to determine a key library of the system, where the definition of the key library is given in the paper "distributed superior synchronization for automated manufacturing systems using petrinets", however, the definition of the key library is no longer applicable in a system having a structural feature of an assembly operation, because in a system having a structural feature of an assembly operation, the synchronicity between assembly processes is considered. Based on the characteristics, the invention extends the definitions of the sub-key library, the local key library and the global key library, and the definition of the key library given in the paper "distributed superior synthesis for automated manufacturing systems using petrinets" is only a special case of the invention.
2. The invention adopts a real-time online control mechanism, and a controller is not required to be designed in advance. This means that in case of an emergency, for example, a resource failure, the method of the present invention can dynamically monitor the status, and then adjust the existing resource information in time and feed it back to the corresponding controller to make a correct control decision. Because a complicated controller design flow is avoided, the calculation amount is greatly reduced, and the distributed control method has higher efficiency.
3. On the basis of the original paper "distributedSupervisor Synthesis for automated manufacturing systems Using Petrenets", the definition of the key library is extended more deeply. The distributed Supervisory Synthesis for automated manufacturing systems Using PetriNet is a flexible path-based study, each process consisting of processing stages that are executed sequentially and not in parallel, in which the present invention defines a key library as the processing stage that has the smallest or the largest demand for resources. In the model of the invention, however, the machining stages in each machining pass are not performed completely sequentially. When a split operation is encountered, the part being machined is split into several sub-components for machining in different sub-processes until an assembly operation is encountered, and the sub-components are assembled into a new part. For these sub-processes between the splitting operation and the assembling operation, the processing stages in the same parallel process are executed sequentially, and the processing stages in different parallel processes are executed in parallel. Because the processing stages in the parallel process are sequentially executed, the present invention can obtain the definition of the sub-key library, and in the corresponding parallel process, the processing stage with the minimum or maximum resource requirement is called as the sub-key library in the parallel process. The execution of the assembly operation requires that the parallel processes be synchronized, i.e. the assembly operation cannot be executed as long as one of the parallel processes has not yet ended. Based on this, the present invention extends to the definition of the local key library, which represents a combination of sub-key libraries of the same type belonging to different parallel processes, and the number of sub-key libraries included in the combination should be equal to the number of parallel processes. The invention further extends the concept of a global key library by representing all the process stages between the split operation and the assembly operation as virtual process stages such that each process step in the model of the invention is characterized by sequential execution.
4. The algorithm of the invention does not need to monitor global information, each step is executed only depending on whether the existing resources are enough, except for the process currently being executed, the invention does not need to know the states of other processes, so that the control method of the invention is a distributed control method, and the communication traffic between the observer and the process is greatly reduced.
The invention applies the Petri network as a mathematical tool, avoids exhaustible state space, reduces the complexity of the algorithm, realizes the high-efficiency control of a system with large scale, adopts a dynamic, online and distributed control mode to observe and control the local state, thereby finally ensuring the no deadlock of the whole system.
Claims (2)
1. A distributed control method for an automated manufacturing system having assembly operations, comprising the steps of:
1) given an F-AMG, M is an reachable state at the current time, TEN={t1,t2…tkDenotes the set of transitions that can be enabled in state M, TCNA set of transitions representing transitions enabling deadlock free operation of the system in state M after the system is controlled; where k represents the number of transitions that can be enabled in state M;
2) the initialization m is equal to 1 and the initialization is carried out,TEN=Φ,TCNphi is; wherein m is a counting variable;
3) from TENIn selecting transition tmAnd transition t from arrivalmRandomly selecting one token from one operation library, judging the position of the token, and if the token is positioned in a parallel process between the shunting operation and the assembling operation, performing the step 4), otherwise, performing the step 5);
4) under the condition that other tokens are all static, if the selected token can reach one sub-key library place in the parallel process of the selected token from the current position of the selected token, and one token exists in each of the rest parallel processes, and can reach one sub-key library place in the parallel process of the selected token from the current position of the selected token, further judging whether the tokens formed by combining the tokens through assembly operation can reach the nearest global key library place under the condition that other tokens are all static, and if so, changing to tmCan be enabled, TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, performing step 6) if m is m + 1;
5) judging whether the selected token can move to the nearest global key library from the current position of the token under the condition that other tokens are static, and if so, changing tmCan be enabled, and TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, performing step 6) if m is m + 1;
6) when m is less than or equal to k, performing the step 3);
7) when T isENAll transitions in (1) are detected, and T is finally outputCNNamely, the set of transitions which ensure the system to operate without deadlock in the state M; exciting any transition to obtain a new state, and judging a transition set capable of ensuring the system to run without deadlock in the state according to the steps 1) to 6); repeating the steps, and finally obtaining a transmitting sequence which ensures that the system runs without deadlock.
2. The distributed control method for the automatic manufacturing system with the assembling operation as claimed in claim 1, wherein the specific process of the step 4) is as follows:
giving a set of TokenThe group of tokens respectively representing n subcomponents of token o in different parallel courses, andindicates the arrival from tmA selected token in one of the operation libraries,respectively indicate at j1A, j th2… … th jnThe number of the parallel processes is n;
4.1) given the set of local Key librariesWherein z represents the number of local key libraries contained in the set, and respectively indicate at j1A, j2… …, jnSub-key library, N, in parallel processesz={1,2……z};
4.2) initializing l ═ 1, where l denotes a counting variable;
4.3) from the set lLOCIn selecting local key library Step 4.4) is carried out;
4.4) determining whether there are sufficient resources to support the selected Token in case other Tokens are stationaryMove from its current position to jth1Sub-key library place in parallel processIf so, judging that the selected Token is the right oneAt sub-key libraryAnd in the case of the rest of the other tock, j2Whether there is one Token in one parallel processCan proceed from its current position to jth2Sub-key library place in parallel processIf so, judging that the selected Token is the right oneAt sub-key libraryJ th2Selected Token in parallel courseAt sub-key libraryAnd in the case of the rest of the other tock, j3Whether or not there is one Token in one parallel processCan proceed from its current position to jth3Sub-key library place in parallel processIf yes, then judge the j4A parallel process; repeating the steps until all parallel processes are traversed;
if the above conditions are met, performing step 4.6); otherwise, l ═ l +1, step 4.5) is performed;
4.5) when l is less than or equal to z, performing step 4.3), otherwise, performing step 6) when m is m + 1;
4.6) judging whether the selected token and the token selected in other parallel processes are combined through the assembling operation to advance to the global key library nearest to the token map module in which the token is positioned under the condition that other tokens are all static; if so, transition tmCan be enabled, and TCN=TCN+{tmStep 6) is performed, where m is m + 1; otherwise, m is m +1, proceed to step 6).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510435048.XA CN105116795B (en) | 2015-07-22 | 2015-07-22 | A kind of distributed control method for being directed to the automated manufacturing system with assembly manipulation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510435048.XA CN105116795B (en) | 2015-07-22 | 2015-07-22 | A kind of distributed control method for being directed to the automated manufacturing system with assembly manipulation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105116795A true CN105116795A (en) | 2015-12-02 |
CN105116795B CN105116795B (en) | 2018-02-02 |
Family
ID=54664813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510435048.XA Active CN105116795B (en) | 2015-07-22 | 2015-07-22 | A kind of distributed control method for being directed to the automated manufacturing system with assembly manipulation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105116795B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108919644A (en) * | 2018-07-09 | 2018-11-30 | 西安电子科技大学 | In the presence of the robustness control method of the automated manufacturing system of inconsiderable behavior |
CN110213237A (en) * | 2019-05-06 | 2019-09-06 | 西安电子科技大学 | The control method of complete distributed subsystem Cooperative Security control, petri net model |
CN110569647A (en) * | 2019-07-27 | 2019-12-13 | 西安电子科技大学 | Omnidirectional cooperative safety diagnosis method and cooperative control system in networked system |
CN111983978A (en) * | 2019-05-22 | 2020-11-24 | 西安电子科技大学 | Petri network robustness control method with absorption strategy and distributed strategy characteristics |
CN112162867A (en) * | 2020-09-18 | 2021-01-01 | 华南理工大学 | Deadlock prevention method for flexible production of intelligent production line and application thereof |
CN113420864A (en) * | 2021-07-05 | 2021-09-21 | 广西师范大学 | Controller generation method of multi-agent system containing mutually exclusive resources |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206687A (en) * | 2007-12-18 | 2008-06-25 | 同济大学 | Method for improving dynamic security of distributed dynamoelectric equipment |
-
2015
- 2015-07-22 CN CN201510435048.XA patent/CN105116795B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206687A (en) * | 2007-12-18 | 2008-06-25 | 同济大学 | Method for improving dynamic security of distributed dynamoelectric equipment |
Non-Patent Citations (4)
Title |
---|
HESUAN HU,CHEN CHEN,YANG LIU,MENGCHU ZHOU: "Distributed Supervisor Synthesis for Automated Manufacturing Systems", 《2014 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS & AUTOMATION》 * |
HESUAN HU,CHEN CHEN,YANG LIU,YAN YANG: "A Comparative Approach to Supervisor Simplification in Automated Manufacturing Systems Using Petri Nets", 《2014 IEEE INTERNATIONAL CONFERENCE ON AUTOMATION SCIENCE AND ENGINEERING》 * |
HESUAN HU,YANG LIU: "Supervisor Simplification for AMS Based on Petri Nets and Inequality Analysis", 《IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING》 * |
胡核算, 李志武, 王安荣: "基于信标的柔性制造系统的优化死锁预防策略", 《控制与决策》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108919644A (en) * | 2018-07-09 | 2018-11-30 | 西安电子科技大学 | In the presence of the robustness control method of the automated manufacturing system of inconsiderable behavior |
CN108919644B (en) * | 2018-07-09 | 2021-05-11 | 西安电子科技大学 | Robust control method for automated manufacturing system with unobservable behavior |
CN110213237A (en) * | 2019-05-06 | 2019-09-06 | 西安电子科技大学 | The control method of complete distributed subsystem Cooperative Security control, petri net model |
CN111983978A (en) * | 2019-05-22 | 2020-11-24 | 西安电子科技大学 | Petri network robustness control method with absorption strategy and distributed strategy characteristics |
CN110569647A (en) * | 2019-07-27 | 2019-12-13 | 西安电子科技大学 | Omnidirectional cooperative safety diagnosis method and cooperative control system in networked system |
CN110569647B (en) * | 2019-07-27 | 2023-01-20 | 西安电子科技大学 | Omnidirectional cooperative safety diagnosis method and cooperative control system in networked system |
CN112162867A (en) * | 2020-09-18 | 2021-01-01 | 华南理工大学 | Deadlock prevention method for flexible production of intelligent production line and application thereof |
CN113420864A (en) * | 2021-07-05 | 2021-09-21 | 广西师范大学 | Controller generation method of multi-agent system containing mutually exclusive resources |
CN113420864B (en) * | 2021-07-05 | 2022-06-14 | 广西师范大学 | Controller generation method of multi-agent system containing mutually exclusive resources |
Also Published As
Publication number | Publication date |
---|---|
CN105116795B (en) | 2018-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105116795B (en) | A kind of distributed control method for being directed to the automated manufacturing system with assembly manipulation | |
CN106200575B (en) | A kind of robustness control method of the automated manufacturing system based on Petri network | |
Kachitvichyanukul et al. | A two-stage genetic algorithm for multi-objective job shop scheduling problems | |
CN110209118B (en) | Petri net-based robustness control method with various kinds of majority resources and flexible path characteristics | |
Hou et al. | Extended elementary siphon-based deadlock prevention policy for a class of generalised Petri nets | |
Xu et al. | An effective shuffled frog leaping algorithm for solving hybrid flow-shop scheduling problem | |
CN103914556A (en) | Large-scale graph data processing method | |
CN112732436B (en) | Deep reinforcement learning acceleration method of multi-core processor-single graphics processor | |
CN115098278B (en) | Digital twin workshop multi-scene interaction method based on microservice | |
CN112636982A (en) | Network countermeasure environment configuration method and experiment cloud platform system for network countermeasure | |
CN104866460B (en) | A kind of fault-tolerant adaptive reconfigurable System and method for based on SoC | |
Helber et al. | A new decomposition approach for non-cyclic continuous material flow lines with a merging flow of material | |
CN111049900A (en) | Internet of things flow calculation scheduling method and device and electronic equipment | |
Wang et al. | Real-time decision support with reinforcement learning for dynamic flowshop scheduling | |
Andradóttir et al. | Dynamic assignment of dedicated and flexible servers in tandem lines | |
Gupta et al. | Production systems with interruptions, arbitrary topology and finite buffers | |
van den Boom et al. | A modeling framework for model predictive scheduling using switching max-plus linear models | |
Zhu et al. | A genetic programming-based evolutionary approach for flexible job shop scheduling with multiple process plans | |
Bahalkeh et al. | Efficient system matrix calculation for manufacturing systems | |
Zuo et al. | Two heads are better than one: an AIS-and TS-based hybrid strategy for job shop scheduling problems | |
CN116012485A (en) | Time sequence path processing method and device and storage medium | |
CN110855541B (en) | Ring splitting method and device for ring network equipment | |
Du et al. | Robust control of automated manufacturing systems with flexible routes and assembly operations using Petri nets | |
Abdul-Hussin | Simulation and Control of Siphon Petri Nets for Manufacturing Systems | |
Du et al. | Robust control of backward conflict free systems with resources using Petri nets |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |