# US 2021/0286326 A1 · Inhomogeneous sample equalization method and system for product assembly process

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286326 A1
- Document ID: US20210286326A1
- Status: Published application
- Kind: A1
- Application number: 17/134,369
- Filed: 2020-12-26
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Guangdong University of Technology
- Applicants: Guangdong University of Technology
- Inventors: Jiewu Leng; Man Zhou; Guolei Ruan; Qiang Liu; Ding Zhang; Duxi Yan
- Web page: https://patentgrep.com/patent/US20210286326A1

## CPC

- G06F 18/2321: using statistics or function optimisation, e.g. modelling of probability density functions
- G05B 13/0275: {using fuzzy logic only}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

The disclosure discloses an inhomogeneous sample equalization method and system for a product assembly process. The method includes the following steps of: A: calculating a similarity among different samples; B: constructing a fuzzy compatibility matrix S for representing the similarity among all the samples, and constructing a fuzzy compatibility space X with different granule layers through the fuzzy compatibility matrix S; C: based on a granular calculating mode, screening out a granule layer with a maximum comprehensive value of an information increment and the similarity among the samples from the fuzzy compatible space X to serve as an optimal granule layer; and D: carrying out equalization processing on the sample of the optimal granule layer.

## Claims

### Claim 1

An inhomogeneous sample equalization method for a product assembly process which takes an assembly process topological structure of a product as a sample, and takes assembly process topological structures of same products with different styles as different samples, wherein the method comprises the following steps of:
step A: calculating a similarity among different samples;
step B: constructing a fuzzy compatibility matrix S for representing the similarity among all the samples, constructing a fuzzy compatibility space X with different granule layers through the fuzzy compatibility matrix S, and clustering all samples through the fuzzy compatibility space X, wherein the fuzzy compatibility space X is divided into a plurality of different granule layers according to the similarity among the samples;
step C: based on a granular calculating mode, screening out a granule layer with a maximum comprehensive value of an information increment and the similarity among the samples from the fuzzy compatible space X to serve as an optimal granule layer; and
step D: carrying out equalization processing on a sample of the optimal granule layer.

### Claim 2 (depends on 1)

The inhomogeneous sample equalization method for the product assembly process according to claim 1, wherein the step A specifically comprises:
step A1: calculating a node similarity among different samples:
S
node
⁡
(
v
i
,
v
j
)
=
2
×
m
i
,
j
e
i
+
e
j
wherein i represents a same product of an ith type, j represents a same product of a jth type, and Snode(vi, vj) represents a node similarity between an assembly process topological structure vi of the same product of the ith type and an assembly process topological structure vj of the same product of the jth type; mi, j represents a number of nodes matched in the assembly process topological structure vi and the assembly process topological structure vj; ei represents a sum of a number of all nodes in the assembly process topological structure vi; and ej represents a sum of a number of all nodes in the assembly process topological structure vj;
step A2: calculating a topological relation similarity among different samples:
S
rel
⁡
(
v
i
,
v
j
)
=
2
×
M
i
,
j
E
i
+
E
j
wherein Srel(vi, vj) represents a topological relation similarity between the assembly process topological structure vi of the same product of the ith type and the assembly process topological structure vj of the same product of the jth type; Mi, j represents a number of relation edges matched in the assembly process topological structure vi and the assembly process topological structure vi; Ei represents a sum of a number of all relation edges in the assembly process topological structure vi; and Ej represents a sum of a number of all relation edges in the assembly process topological structure vj; and
step A3: calculating a topological structure similarity among different samples:
S(i,j)=Snode(vi,vj)×Wnode+Srel(vi,vj)×Wrel,
wherein S(i, j) represents the topological structure similarity between the assembly process topological structure vi of the same product of the ith type and the assembly process topological structure vj of the same product of the jth type, Wnode is a preset node weight parameter, and Wrel is a preset relation edge weight parameter.

### Claim 3 (depends on 2)

The inhomogeneous sample equalization method for the product assembly process according to claim 2, wherein the step B specifically comprises:
step B1: constructing the fuzzy compatibility matrix) representing a similarity among all topological structures of a set V={v1, v2, v3, . . . , vn} of all the samples;
S
=
[
S
i
,
j
]
n
×
n
=
[
1
⋮
⋱
S
i
,
1
…
1
⋮
⋮
⋮
⋱
S
j
,
1
…
S
j
,
i
…
1
⋮
⋮
⋮
⋮
⋮
⋱
S
n
,
1
…
S
n
,
i
…
S
n
,
j
…
1
]
;
step B2: taking the fuzzy compatibility matrix S as an input and constructing the fuzzy compatibility space X with different granule layers by the following methods, and clustering all the samples through the fuzzy compatibility space X:
step B21: setting a threshold λ, wherein 1=λ1>λ2>λ3> . . . >λn=0, and when values of the threshold λ are respectively λ1, λ2, λ3, . . . , λn, calculating the similarity S(i, j) between the sample vi and the other sample vj in V={v1, v2, v3, . . . , vn}, wherein i∈(1, n); and
step B22: according to
S
λ
⁡
(
i
,
j
)
=
{
1
,
S
(
i
,
j
)
≥
λ
0
,
S
(
i
,
j
)
<
λ
,
obtaining all the samples meeting Sλ(i, j)=1 when λ=λi to construct sample granules Gi, wherein i=1, 2, 3, . . . n, then constructing a corresponding granule layer C(λi) through all the sample granules Gi, and finally constructing the fuzzy compatible space X according to all the granule layers C(λi).

### Claim 4 (depends on 3)

The inhomogeneous sample equalization method for the product assembly process according to claim 3, wherein the step C specifically comprises:
step C1: calculating a granularity of the granule layer C(λi), wherein i=1, 2, 3, . . . , n
E
⁡
[
C
⁡
(
λ
i
)
]
=
∑
j
=
1
g
⁢

G
i
,
k

g
×
log
2
⁡
(

G
i
,
k

)
,
wherein Gi, k is a kth sample granule in the granule layer C(λi); |Gi, k| is a number of samples contained in the kth sample granule, log2(|Gi, k|) represents an amount of information needed to completely distinguish all granules in the sample granule Gi, k; and g represents a number of sample granules in the granule layer C(λi);
step C2: calculating an information increment IG[C(λi)] of the granule layer C(λi), wherein i=1, 2, 3, . . . , n:
IG[C(λi)]=E[C(λi)]−E[C(λi-1)];
step C3: calculating an information increment and a comprehensive value Di of the similarity among the samples of the granule layer C(λi), wherein i=1, 2, 3, . . . , n:
Di=IG[C(λi)]*Wig+λiWλ;
wherein Wig is a weight of the information increment of the granule layer C(λi), and Wλ is a weight of a sample similarity threshold of the granule layer; and
step C4: screening out a granule layer with a maximum comprehensive value Di as an optimal granule layer C(λo).

### Claim 5 (depends on 4)

The inhomogeneous sample equalization method for the product assembly process according to claim 4, wherein the step D specifically comprises:
step D1: calculating an average number Gi of samples of each sample granule Gi in the optimal granule layer C(λo):
G
¯
i
=
1
g
⁢
∑
k
=
0
g
⁢

G
i
,
k

;
step D2: increasing and decreasing a number of samples of each sample granule Gi in the optimal granule layer C(λo) by a random sampling method, so that the number of the samples in each sample granule Gi is the same to complete the equalization processing:
if |Gi, k|>Gi, randomly eliminating extra samples of the sample granule Gi, k, so that the number |Gi, k| of the samples in the sample granule Gi, k is decreased to Gi; and
if |Gi, k|>Gi, copying original samples in the sample granule Gi, k into the sample granule, Gi, k again, so that the number Gi, k| of the samples in the sample granule Gi, k is increased to Gi.

### Claim 6

An inhomogeneous sample equalization system for a product assembly process, which takes an assembly process topological structure of a product as a sample, and takes assembly process topological structures of same products with different styles as different samples, wherein the system comprises:
a similarity generation module configured to calculate a similarity among different samples;
a fuzzy compatibility space construction module configured to construct a fuzzy compatibility matrix S for representing the similarity among all the samples, construct a fuzzy compatibility space X with different granule layers through the fuzzy compatibility matrix S, and cluster all samples through the fuzzy compatibility space X, wherein the fuzzy compatibility space X is divided into a plurality of different granule layers according to the similarity among the samples;
an optimal granule layer generation module configured to, based on a granular calculating mode, screen out a granule layer with a maximum comprehensive value of an information increment and the similarity among the samples from the fuzzy compatible space X to serve as an optimal granule layer; and
an equalization module configured to carry out equalization processing on a sample of the optimal granule layer.

### Claim 7 (depends on 6)

The inhomogeneous sample equalization system for the product assembly process according to claim 6, wherein the similarity generation module comprises:
a node similarity generation sub-module configured to calculate a node similarity among different samples:
S
node
⁡
(
v
i
,
v
j
)
=
2
×
m
i
,
j
e
i
+
e
j
,
wherein i represents a same product of an ith type, j represents a same product of a jth type, and Snode(vi, vj) represents a node similarity between an assembly process topological structure vi of the same product of the ith type and an assembly process topological structure vj of the same product of the jth type; mi, j represents a number of nodes matched in the assembly process topological structure vi and the assembly process topological structure vj; ei represents a sum of a number of all nodes in the assembly process topological structure vi; and ej represents a sum of a number of all nodes in the assembly process topological structure vj;
a topological relation similarity generation sub-module configured to calculate a topological relation similarity among different samples:
S
rel
⁡
(
v
i
,
v
j
)
=
2
×
M
i
,
j
E
i
+
E
j
,
wherein Srel(vi, vj) represents a topological relation similarity between the assembly process topological structure vi of the same product of the ith type and the assembly process topological structure vj of the same product of the jth type; Mi, j represents a number of relation edges matched in the assembly process topological structure vi and the assembly process topological structure vi; Ei represents a sum of a number of all relation edges in the assembly process topological structure vi; and Ej represents a sum of a number of all relation edges in the assembly process topological structure vj; and
a topological structure similarity generation sub-module configured to calculate a topological structure similarity among different samples:
S(i,j)=Snode(vi,vj)×Wnode+Srel(vi,vj)×Wrel
wherein S(i, j) represents the topological structure similarity between the assembly process topological structure vi of the same product of the ith type and the assembly process topological structure vj of the same product of the jth type, Wnode is a preset node weight parameter, and Wrel is a preset relation edge weight parameter.

### Claim 8 (depends on 7)

The inhomogeneous sample equalization system for the product assembly process according to claim 7, wherein the fuzzy compatibility space construction module comprises:
a fuzzy compatibility matrix generation sub-module configured to construct the fuzzy compatibility matrix S representing a similarity among all topological structures of a set V={v1, v2, v3, . . . , vn} of all the samples;
S
=
[
S
i
,
j
]
n
×
n
=
[
1
⋮
⋱
S
i
,
1
…
1
⋮
⋮
⋮
⋱
S
j
,
1
…
S
j
,
i
…
1
⋮
⋮
⋮
⋮
⋮
⋱
S
n
,
1
…
S
n
,
i
…
S
n
,
j
…
1
]
;
a granule layer generation sub-module configured to take the fuzzy compatibility matrix S as an input and constructing the fuzzy compatibility space X with different granule layers by the following methods, and cluster all the samples through the fuzzy compatibility space X:
a first unit configured to set a threshold λ, wherein 1>λ1>λ2>λ3> . . . >λn=0, and when values of the threshold λ are respectively λ1, λ2, λ3, . . . , λn, calculating the similarity S(i, j) between the sample vi and the other sample vj in V={v1, v2, v3, . . . , vn}, wherein i∈(1, n); and
a second unit configured to, according to
S
λ
⁡
(
i
,
j
)
=
{
1
,
S
(
i
,
j
)
≥
λ
0
,
S
(
i
,
j
)
<
λ
,
obtain all the samples meeting Sλ(i, j)=1 when λ=λi to construct sample granules Gi, wherein i=1, 2, 3, . . . , n, then construct a corresponding granule layer C(λi) through all the sample granules Gi, and finally construct the fuzzy compatible space X according to all the granule layers C(λi).

### Claim 9 (depends on 8)

The inhomogeneous sample equalization system for the product assembly process according to claim 8, wherein the optimal granule layer generation module comprises:
a granularity calculation sub-module configured to calculate a granularity of the granule layer C(λi), wherein i=1, 2, 3, . . . , n:
E
⁡
[
C
⁡
(
λ
i
)
]
=
∑
j
=
1
g
⁢

G
i
,
k

g
×
log
2
⁡
(

G
i
,
k

)
,
wherein Gi, k is a kth sample granule in the granule layer C(λi); |Gi, k| is a number of samples contained in the kth sample granule; log2 (|Gi, k|) represents an amount of information needed to completely distinguish all granules in the sample granule Gi, k; and g represents a number of sample granules in the granule layer C(λi);
an information increment calculation sub-module configured to calculate an information increment IG[C(λi)] of the granule layer C(λi), wherein i=1, 2, 3, . . . , n:
IG[C(λi)]=E[C(λi)]−E[C(λi-1)];
a comprehensive value calculation sub-module configured to calculate an information increment and a comprehensive value Di of the similarity among the samples of the granule layer C(λi), wherein i=1, 2, 3, . . . , n:
Di=IG[C(λi)]*Wig+λiWλ;
wherein Wig is a weight of the information increment of the granule layer C(λi), and Wλ is a weight of a sample similarity threshold of the granule layer C(λi); and
a screening sub-module configured to screen out a granule layer with a maximum comprehensive value Di as an optimal granule layer C(λo).

### Claim 10 (depends on 9)

The inhomogeneous sample equalization system for the product assembly process according to claim 9, wherein the equalization module comprises:
an average sample number calculation sub-module configured to calculate an average number Gi of samples of each sample granule Gi; in the optimal granule layer C(λo):
G
¯
i
=
1
g
⁢
∑
k
=
0
g
⁢

G
i
,
k

;
and
a sample increasing and decreasing sub-module configured to increase and decrease a number of samples of each sample granule Gi in the optimal granule layer C(λo) by a random sampling method, so that the number of the samples in each sample granule Gi is the same to complete the equalization processing
if |Gi, k|>Gi, randomly eliminating extra samples of the sample granule Gi, k, so that the number |Gi, k| of the samples in the sample granule Gi, k is decreased to Gi; and
if |Gi, k|>Gi, copying original samples in the sample granule Gi, k into the sample granule Gi, k again, so that the number |Gi, k| of the samples in the sample granule Gi, k is increased to Gi.
