This application claims priority to Chinese Patent Application No. 202310198392.6 with a filing date of Mar. 3, 2023. The content of the aforementioned application, including any intervening amendments thereto, is incorporated herein by reference.
The present disclosure relates to the technical field of production line construction for enterprises, and in particular to a method for constructing a topology reference architecture for a production line.
At present, production lines constructed by traditional methods are constructed from beginning to end based on specific requirements on production functions, or constructed by combining multiple existing small work stations that perform specific production tasks into a production line according to their functions. These methods basically adopt serial design, without considering the overall situation of the production line, and require a long construction cycle. In addition, they are faced with problems such as insufficient connection and integration, and heavy reliance on designers' experience, which inevitably leads to many unreasonable aspects in the design. Currently, there are many complex production lines at home and abroad that fail to meet the pre-designed targets due to unreasonable or incorrect initial planning. Traditional methods for constructing production lines may not pose major problems for small enterprises with a small number of simply structured production lines. However, they will bring huge workload and production risks to large enterprises with a large number of complexly structured production lines. Furthermore, as traditional methods for constructing production lines cannot achieve reuse of the production line structure, they have significantly low construction efficiency and increase the enterprise's research and development costs.
In order to overcome the shortcomings in the prior art, an objective of the present disclosure is to provide a method for constructing a topology reference architecture for a production line. The present disclosure is based on the historical production line topology data of an enterprise to extract a commonly used topology reference architecture for the production lines of the enterprise by a computer through a machine learning (ML) algorithm, so as to form a typical production line topology group of the enterprise. The present disclosure can record typical production line characteristics and production habits of the enterprise, realize reuse of a production line structure and production line construction knowledge, reduce the workload of production line designers, and improve the production line construction efficiency of the enterprise. In addition, the present disclosure avoids the interference of designers' subjective decisions to a certain extent, and the reference architecture extracted by the computer has high reference value, and is objective, mature, and stable.
To achieve the above objective, the present disclosure provides the following technical solution.
The method for constructing a topology reference architecture for a production line includes the following steps:
In one embodiment, the calculating the comprehensive similarity between the first production line xA and the second production line xB specifically includes:
where, ssfea represents an ontology similarity of product category between the first device vA,i and the second device vB,j; sstype represents an ontology similarity of production quality between the first device vA,i and the second device vB,j; ssmat represents a material matching degree between the first device vA,i and the second device vB,j, and the material matching degree is 1 in a compatible case and 0 in a non-compatible case; ssqua represents a production process matching degree between the first device vA,i and the second device vB,j, and the production process matching degree is 1 in a compatible case and 0 in a non-compatible case; vA represents a number of devices in the first production line xA; and vB represents a number of devices in the second production line xB.
In one embodiment, the calculating the similarity SA,B between the first production line xA and the second production line xB specifically includes:
where, MA,B represents a number of matched relationship edges between the first production line xA and the second production line xB; EA represents a total number of relationship edges in the first production line xA; EB represents a total number of relational edges in the second production line xB; wact represents a weight of the similarity between devices in the first and second production lines in determining the similarity between the first production line xA and the second production line xB; and wseq represents a weight of the similarity between topologies of the first and second production lines in determining the similarity between the first production line xA and the second production line xB.
In one embodiment, the fuzzy compatibility matrix S is expressed as follows:
where, the similarity between identical production lines is 1, and si,j=sj,i.
In one embodiment, step S4 includes: inputting the fuzzy compatibility matrix S; and outputting a series of granular layers {X(λ)|≤λ≤1}, with different granularities and mutual transformability according to a granular computing algorithm of a fuzzy compatibility quotient space, wherein X represents the granular layers, and λ represents the granularities; the series of granular layers form the multi-granularity quotient space; and a specific calculation process is as follows:
In one embodiment, the selecting an optimal granular layer from the multi-granularity quotient space includes:
where, g represents a number of production line granules in the quotient space X(λk); Gi represents an ith production line granule in the quotient space X(λk); |Gi| represents a number of production lines in the ith production line granule in the quotient space X(λk); and log2 (|Gi|) represents an amount of information required to completely distinguish all the production lines in the production line granule Gi (assuming that a probability of classifying a jth production line individual in the production line granule q into a class is equal);
In one embodiment, the constructing the topology reference architecture for a production line based on the optimal granular layer includes:
where, Csuper(vt1,j, vt2,j, . . . , vti,j) represents abstract properties of a jth matched production line device node of all i production lines;
where, Vri={vri,1, vri,2, . . . , vri,n} represents a set of matched production line device nodes; vtri represents a lowest superclass of abstract device properties; and Eri={eri,j,k|eri,j,k=vri,j*vri,k, 1≤j, k≤ni} represents an abstract set of production line topology relationship edges; and
In one embodiment, the calculating, by a dynamic programming method improved based on an LCS algorithm, an LCS of all production lines (for example, the production line xA and the production line xB) in each production line granule in the quotient space with the optimal granularity includes:
where, St represents a user preset similarity threshold for distinguishing a similar device from a non-similar device; and Csuper(vA,i, vB,j) represents abstract properties between two matched production line device nodes, that is, a superclass;
Compared with the prior art, the principles and advantages of the present disclosure are as follows:
The present disclosure is based on the historical production line topology data of an enterprise to extract a commonly used topology reference architecture for a production line of the enterprise by a computer through a machine learning (ML) algorithm, so as to form a typical production line topology group of the enterprise. The present disclosure can record typical production line characteristics and production habits of the enterprise, realize reuse of a production line structure and production line construction knowledge, reduce the workload of production line designers, and improve the production line construction efficiency of the enterprise. In addition, the present disclosure avoids the interference of designers' subjective decisions to a certain extent, and the reference architecture extracted by the computer has high reference value, and is objective, mature, and stable.
To describe the technical solutions in the embodiments of the present disclosure or in the prior art more clearly, the following briefly describes the drawings required for describing the embodiments or the prior art. Apparently, the drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these drawings without creative efforts.
In the present disclosure, basic concepts are defined before specific embodiments are explained.
Each production line is provided with multiple devices for collaborative processing and manufacturing, and different devices have different production function properties. The present disclosure selects four dimensions of indicators (material, production process, product category, and production quality) for measurement. Multiple devices with different properties can be combined in different order to form a production line. The arrangement structure of the multiple devices refers to a topology of the production line.
For example, the commonly used devices in a mobile phone production line include: surface mount system, labeling machine, potting machine, soldering machine, dispensing machine, and inkjet printer. Each device includes four dimensions of properties: a. material: plastic parts, electronic parts, hardware, packaging materials, etc.; b. production process: solder paste printing, painting, silk screening, welding, assembly, etc.; c. product category: computer, communication, and consumer electronics (3C) products, household appliances, food, clothing, etc.; and d. production quality: rough machining, finishing, precision machining, etc. The topologies of the mobile phone production line are arrangement structures for combining these commonly used devices according to different production plans and processing sequences. Obviously, the type and quantity of the devices and the arrangement structure of the devices required for different products are different to form, for example, a linear production line structure, a U-shaped production line structure, a tree-type production line structure, a ring-type production line structure, etc.
The present disclosure is described in further detail below according to a specific embodiment.
As shown in
Firstly, a similarity of production lines is calculated based on device properties and production line topologies. At this stage, ontological comprehensiveness and semantic similarity calculation techniques are used. Secondly, a fuzzy compatibility quotient space is constructed. Through comprehensive consideration and calculation of an information gain and the similarity, an optimal granularity for clustering the production line topologies is calculated to acquire a more representative and accurate granule. Finally, by analyzing the similarity and matching relationship between a device node and a relationship edge of the production line topology, a common subgraph of each granule in an optimal granular layer is identified, and a topology reference architecture for a production line is formed by merging.
The method specifically includes the following steps.
S1. A comprehensive similarity between a production line xA and a production line xB is calculated. S1 specifically comprises the following steps S11 and S12.
S1l. A matching degree and similarity between a device vA,i in the production line xA and a device vB,j in the production line xB in terms of four properties are calculated, and a comprehensive similarity between the device vA,i, and the device vB,j is acquired.
The four properties include material, production process, product category, and production quality.
S12. According to S11, the comprehensive similarity Sact (vA,i,VB,j) between each pair of devices from the production line xA and the production line xB is calculated. Based on the comprehensive similarity between each pair of devices and a number of devices, the comprehensive similarity Sact(xA, xB) between the production line xA and the production line xB is calculated.
Calculation equations are as follows:
Where, ssfea represents an ontology similarity of product category between the device vA,i and the device vB,jj; sstype represents an ontology similarity of production quality between the device vA,i and the device vB,j; ssmat represents a material matching degree between the device vA,i and the device vB,j, and the material matching degree is 1 in a compatible case and 0 in a non-compatible case; ssqua represents a production process matching degree between the device vA,i and the device vB,j, and the production process matching degree is 1 in a compatible case and 0 in a non-compatible case; VA represents a number of devices in the production line xA; and VB represents a number of devices in the production line xB.
S2. A similarity SA,B between the production line xA and the production line xB is calculated based on the comprehensive similarity between the production line xA and the production line xB.
A similarity sseq (xA, xB) between a topology of the production line xA and a topology of the production line xB is calculated:
The similarity SA,B between the production line xA and the production line xB is calculated:
Where, MA,B represents a number of matched relationship edges between the production line xA and the production line xB; EA represents a total number of relationship edges in the production line xA; EB represents a total number of relational edges in the production line xB; Wact represents a weight of the similarity between devices in the production lines in determining the similarity between the production line xA and the production line xB; and wseq represents a weight of the similarity between topologies of the productions lines in determining the similarity between the production line xA and the production line xB.
S3. A similarity si,j between each two production lines xi and xj in n historical production lines is calculated according to steps S1 and S2, and a fuzzy compatibility matrix S of the n historical production lines is formed. The fuzzy compatibility matrix S is expressed as follows:
The similarity between identical production lines is 1, and si,j=sj,i.
S4. A multi-granularity quotient space is constructed based on the fuzzy compatibility matrix S.
The fuzzy compatibility matrix S is input according to a granular computing algorithm of a fuzzy compatibility quotient space; and a series of granular layers {X(λ)|0≤λ≤1}, namely, quotient spaces, with different granularities and mutual transformation, are output where X represents the granular layer, and λ represents the granularity. A specific calculation process is as follows.
The fuzzy compatibility matrix S is input.
Step 1. For loop: 1st to mth loops are performed, that is, m granularities λi are calculated to acquire m granular layers.
Step 1.1. Historical production line case sets A={x1, x2, . . . , xn}, B=Ø, and C=Ø are initialized.
Step 1.2. For-each loop I: each production line xj in the set A is traversed.
Step 1.2.1. The production line xj is transferred from the set A to the set B.
Step 1.2.2. For-each loop II: each production line xk in the set A is traversed.
Step 1.2.2.1. If: it is determined if a similarity S(xj, xk) between the production line xj and the production line xk is greater than or equal to the granularity λ1. If not, the operation moves on to a next loop of the for-each loop II. If yes, the following steps are performed.
Step 1). The production line xk is transferred from the set A to the set B.
Step 2). For-each loop III: each production line xs in the set A is traversed.
Step 3). If: it is determined if a similarity S(xk, xs) between the production line xk and the production line xs is greater than or equal to the granularity λi. If yes, the production line xs is transferred from the set A to the set B. If not, the operation moves on to a next loop of the for-each loop III.
Step 1.2.3. The set B is incorporated into the set C to serve as a subset of the set C.
step 1.2.4. If: it is determined if the set A is an empty set. If yes, the operation returns to the granular layer X(λ)=C corresponding to the granularity λi, and the for-each loop I is ended. If not, let the set B=Ø, and the operation skips a current loop, and moves on to a next loop.
Step 1.3. If: it is determined if i is equal to m. If yes, the for loop is ended, and the algorithm is ended. If not, the for loop is continued.
m granular layers X(λ)=C corresponding to the granularities λi are output.
The algorithm finally outputs the quotient space of all production line granules in S. As shown in
S5. The hierarchical structure of S includes a series of granular layers, but not all granular layers can provide as much valuable information as possible to support the construction of the topology reference architecture for a production line. The number of production line granules in the quotient space is proportional to the granularity of the quotient space. Although more granules can form more reference architectures, if the granularity of the quotient space becomes smaller (i.e., λ becomes larger), the similarity threshold between the production lines that generate the granular layer becomes larger. This means that a typical production line topology cannot be effectively abstracted, so the typical production line topology sequence is excessively long, making the extracted typical production line topology sequence not highly versatile. On the contrary, if the granularity of the quotient space becomes thicker (that is, λ becomes smaller), the similarity threshold between the production lines that generate the granular layer becomes smaller, resulting in fewer production line granules and lower similarity between the production lines. This situation can lead to an excessively short typical production line topology sequence, making the extracted typical production line topology sequence not highly adaptive. Therefore, in order to find a typical topology reference architecture for a production line that is more adaptive and versatile, this embodiment uses two metrics to measure the granulation effect (information gain and minimum similarity), so as to find the optimal granular layer. The process is as follows.
Where, g represents a number of production line granules in the quotient space X(λk); Gi represents an ith production line granule in the quotient space X(λk); |Gi| represents a number of production lines in the ith production line granule in the quotient space X(λk); and log2 (|Gi|) represents an amount of information required to completely distinguish all the production lines in the production line granule Gi (assuming that a probability of classifying a jth production line individual in the production line granule Gi into a class is equal).
An information gain generated during a refinement process from a coarse-grained quotient space X(λk-1) with a large information entropy to a fine-grained quotient space X(λk) is calculated as follows:
Finally, a quotient space with a maximum information gain and a minimum similarity is selected as the quotient space with an optimal granularity.
S6. The topology reference architecture for a production line is constructed based on the quotient space with the optimal granularity.
Atypical production line topology sequence of production lines in each production line granule in the quotient space with the optimal granularity is extracted.
An LCS of all the production lines in each production line granule in the quotient space with the optimal granularity is calculated by a dynamic programming method improved based on an LCS algorithm. Take the production line xA and the production line xB) as an example, this process specifically includes the following steps.
Where, st represents a user preset similarity threshold for distinguishing a similar device from a non-similar device; Csuper (vA,i, vB,j) represents abstract properties between two matched production line device nodes, that is, a superclass; and sact(vA,i, vB,j) represents the comprehensive similarity between each pair of devices from the production line xA and the production line xB.
Property abstraction is performed on each LCS by an ontology-based computing method to acquire a lowest superclass of all device properties in a domain ontology, so as to improve versatility and representativeness:
Csuper (vt1, vt2,j, . . . , vti,j) represents abstract properties of a jth matched production line device node of all i production lines.
An abstract set of all production line device nodes and production line topology relationship edges is further assembled into a new topology reference architecture for a production line, where the topology reference architecture for a production line corresponding to each production line granule is expressed as:
Where, Vri={vri,1, vri,2, . . . , vri,n} represents a set of matched production line device nodes; vtri represents a lowest superclass of abstract device properties; and Eri={eri,j,k|eri,j,k=vri,j*vri,j, 1≤j, k≤ni} represents an abstract set of production line topology relationship edges.
A topology reference architecture for a production line is extracted from each production line granule in the quotient space with the optimal granularity, where each topology reference architecture is manifested by the set of matched production line device nodes and the abstract set of production line topology relationship edges.
The above described are only preferred embodiments of the present disclosure, and are not intended to limit the implementation scope of the present disclosure. Therefore, all changes made in accordance with the shapes and principles of the present disclosure should fall within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202310198392.6 | Mar 2023 | CN | national |