The invention relates to an automatic manufacturing
system for inserting
assembly operation into a flexible
machining path, in particular, a distributed control method of the automatic manufacturing
system. The method includes the following steps that: a set Ten of enabling transitions is obtained according to the current state of the
system; whether each element in Ten can ensure
deadlock-free operation of the system is judged, and judgment is carried out through the following manners that: a transmitting element t is simulated, and t belongs to Ten, and according to the position of t, if current resources can support corresponding tokens to arrive at key libraries / sub key libraries of a key
library unity, it requires to ensure that the tokens of other parallel processes of
assembly operation can all arrive at respective sub key libraries corresponding to the tokens according to the condition of the key
library unity, and therefore, t belongs to Tdf; and after all transitions are detected, Tdf is obtained, and the transmitting element t belongs to Tdf, and the method enters a next state, re-judgment is carried out. With the distributed control method of the invention adopted, the system can be free of
deadlock assuredly, and high permissibility can be obtained as far as possible, and prediction and control can be carried out simultaneously, and real-time and online control can be realized.