Abstract
In this study, a dynamic weight-based method combined with principal component analysis (PCA) was developed for the first time for detecting measurement data in manufacturing. This weight-based learning technique can learn and train the measurement data sequence to isolate incorrect data sources for achieving high accuracy when detecting various types of data. Research has revealed that unsuitable image or data features might cause poor performance in industrial inspections. In contrast to the previous inspection methods, the weight-based learning method proposed in this study employs a dynamic learning algorithm for effectively and adaptively selecting optimal principle components to the support vector machine (SVM) algorithm and then establishes indicators. Finally, these PCA-based indicators act as substitutes for massive amounts of data in data processing and can be applied to timely detect data when the data contain redundant and incorrect inputs in a sequence. The experimental results indicate that the proposed method, which combines dynamic weight-based feature extraction with PCA, can provide useful indicators for detecting various types of manufacturing data and exhibited satisfactory performance in the data detection.
Keywords
Introduction
A wide range of techniques are applied in industrial automation for enabling automatic operation of manufacturing processes and reducing human operators. A set of tools, such as computer software and machinery, are required for industrial automation. They incorporate different devices and systems that impact aspects of the manufacturing processes. Monitoring the motion process of machinery is commonly used method 1 for improving product quality in manufacturing, but an effective qualification test-based method for identifying qualified products has yet to be developed. There are still some defects of the qualification test in manufacturing: (1) test data provide insufficient information on current test conditions, (2) test data obtained from measurements might include redundant or incorrect inputs for data processing, and (3) data processing requires considerable time and causes poor manufacturing performance. Therefore, the data detection method for solving these problems is of great significance. Researches have suggested various optimized control strategies for industrial automatic control systems.2–4 Data-driven methods based on data processing can diagnose fault conditions in systems.5,6 These methods use historical measurement data of various test conditions for determining the essential correlations between variables and parameters. However, new issues arise in the time consumption in data processing and the operating costs when data processing units break down and provide inaccurate readings. What kind of feature extraction can describe the data information of the qualification test in manufacturing? How to deal with the data feature to timely classify the qualified products has become a challenge. A data-driven multivariate statistical process (MSP) method has been widely used to extract the data feature for further establishing classification model, such as principal component analysis (PCA).7,8 However, MSP might hardly establish an accurate and reliable model because it is pre-assumed that the data follow Gaussian distribution. Unlike traditional MSP, a dynamic weight-based method coupled with PCA is proposed to solve the issue. In this manner, the main contributions of this paper can be highlighted as follows: (1) The weight-based learning method is an extraction tool, which learns and trains the measurement data sequence to isolate incorrect data sources. (2) The dynamic weight-based scheme is an effective tool for effectively and adaptively selecting optimal principle components to the support vector machine (SVM) algorithm and then establishes indicators. (3) These PCA-based indicators act as substitutes for massive amounts of data on various test conditions in data processing and can be applied to timely detect data when the data contain redundant and incorrect inputs in a sequence. The results of the proposed methods show satisfactory classification performance in the data detection.
The rest of this paper is structured as follows. The related studies are reviewed in Section 2. The proposed method for establishing PCA-based indicators to detect various types of measurement data in manufacturing is described in Section 3. The experimental results determined through the PCA-based detection system are provided in Section 4, which also presents a comparison between the proposed method and existing methods. The conclusions of this study are presented in Section 5.
Related work
The aforementioned literatures have proved that PCA is an effective variable reduction technique and have successfully used PCA to establish detection models for data-driven prediction, data-based estimation, and fault detection. Hosseinpour et al. 9 used an iterative network-based fuzzy partial least squares (INFPLS) model combined with PCA to determine the higher heating value of biomass fuels as a function of the fixed carbon content. To obtain the required background data for the INFPLS model, the aforementioned authors used PCA to eliminate the experimental data’s collinearity. Manoharan et al. 10 developed a data-based predictive method on the basis of PCA to predict the wire bond time to failure for plastic encapsulated components. Uddin et al. 11 used a PCA-based assessment for identification of vulnerable areas in Bangladesh’s coastal region. Moreover, PCA is considered as a novel technique for fault detection and diagnosis.12–14 Wu et al. 15 proposed a statistical method based on PCA for fault detection and the assessment of the gas supply in solid oxide fuel cell systems. They collected data for a real system and used the aforementioned method to conduct fault detection. Li and Hu 16 employed ensemble empirical mode decomposition (EEMD) denoising to develop a PCA-based method for detecting sensor faults. The EEMD-PCA method developed by the aforementioned authors outperformed PCA for eight critical sensors. To detect and isolate sensor faults in a nuclear power plant, Li et al. 17 used an improved PCA method. The practical performance of this method was improved by combining the PCA method with false alarm reduction and data preprocessing methods.
In contrast to previous studies on PCA, this study proposed a dynamic weight-based data processing framework to deal with redundant or incorrect inputs in measurement data. The proposed technique can adaptively detect measurement data under varying test conditions on the basis of the SVM algorithm to establish PCA-based indicators. Thus, models established on the basis of the measurement data, which are obtained by using the traditional PCA method, cannot be directly applied to different test conditions. The proposed dynamic weight-based learning method can learn and train the measurement data sequence to solve the aforementioned issue for identifying products in a timely manner by using the established PCA-based indicators.
Proposed method
Dynamic weight-based data processing framework
A data processing framework derived from image identification scheme 18 was proposed to dynamically select optimal PCA-based weights for data detection.
Figure 1 presents a schematic of the weight-based processing framework. The weight-based learning method can identify measurement data by using the PCA-based training strategy on the basis of SVM classification results. The procedure of data identification is described in the following text.
(1) Data preprocessing: First, the measurement data are input. To execute the data processing framework, some samples are selected randomly as the training samples for each dataset to train the PCA model, and the remaining samples are used to conduct PCA-based selection for evaluating the model accuracy.
(2) Weight-based data processing: Data feature extraction is executed on the basis of PCA. In PCA, eigenvalue decomposition is conducted to obtain eigenvectors and eigenvalues for representing the variation in the data features. Eigenvalue decomposition generates projection vectors in the residual and principal component subspaces. The residual subspace is used to identify the test data. After eigenvalue decomposition, a scree test is used to identify the optimal principal components. The weight-based learning method based on the scree test is described in the following text.

Schematic of the dynamic data processing framework.
The threshold
where
The weight
where the adjustable value
The new eigenvalues
and
The optimal eigenvalues
where the parameter
(3) PCA model training: The eigenvalues of each training dataset can be calculated iteratively through weight-based data processing. After the iterative calculation of the eigenvalues, the corresponding optimal principal components are determined and then the optimal data features are obtained.
(4) PCA-based selection: After weight-based data processing, the eigenvalues of each test dataset can be obtained. Subsequently, the optimal principal components are determined using the scree test. The corresponding eigenvalues, which are obtained using the scree test, can be processed through indicator establishment and SVM classification.
(5) Indicator establishment and SVM classification: Indicators are established on the basis of the projection vectors in the residual subspace. SVM is then employed to determine whether the data features belong to a certain pattern. The SVM algorithm performs indicator identification on the basis of the indicators obtained through the training of the PCA model. If the accuracy rate obtained from the SVM classification exceeds a given accuracy threshold
where
Weight-based learning algorithm
This section describes the proposed weight-based learning algorithm, which involves PCA, weight-based learning, and SVM classification.
PCA involves converting a set of possibly correlated data into a set of uncorrelated data to reduce data dimensionality. The proposed weight-based learning algorithm, which combines PCA with the weight-based learning method, can provide optimal eigenvalues for representing data features. This algorithm can transform correlated high-dimensional data features to uncorrelated low-dimensional data features. The PCA model consists of the original data that comprises
The covariance matrix
Eigenvalue decomposition of the covariance matrix
where
where
The parameter
Figure 2 illustrates the procedure of the proposed weight-based learning algorithm, which combines the PCA-based weight learning method with the SVM algorithm to dynamically select optimal weights for data detection. In the SVM algorithm, the radial basis function kernel parameter γ and the parameter

Flowchart of the weight-based learning algorithm.
Classification results with the combination for different sample sizes for each sample class.
In the proposed approach, the following steps are adopted to select optimal weights dynamically for effective data detection:
Step 1: Input the test dataset
Step 2: Execute PCA for the normalized
Step 3: Set the number of features
Step 4: Calculate the new eigenvalues (
Step 5: Employ the scree test
Step 6: Determine the indicators
Step 7: Classify the indicator
Each
The accuracy rate is defined as follows:
where
Data detection system using PCA-based indicators
A detection system was designed and constructed for measurement data detection in supercapacitor manufacturing (Figure 3).

The detection system.
The system uses a dynamic weight-based method combined with PCA to establish PCA-based indicators for detecting the measurement data. Table 2 presents the supercapacitor sample classes used in the experiments. The qualification of the sample classes was examined by performing a cycle test as follows:
Step 1: Charge the supercapacitor to 2.70 V by using a 1-A current source.
Step 2: Wait for 15 s.
Step 3: Discharge the supercapacitor to 1.35 V by using a current of 1 A.
Step 4: Wait for 15 s.
Step 5: Repeat Steps 1–4.
Classes of supercapacitor samples used in the experiments.
The capacitance [
where
The detection system (Figure 3) detected data by employing the PCA-based indicators, which were obtained from the weight-based learning algorithm (Figure 2). The first two steps in the detection procedure are as follows: (1) set {
Experimental results and discussion
This section describes the use of the designed system for measurement data detection in supercapacitor manufacturing. Experiments were performed for examining the performance and accuracy of the dynamic weight-based learning method. The results indicate that the weight-based learning algorithm can be used to establish PCA-based indicators for detecting measurement data in a system. The designed system, which combines dynamic weight-based feature extraction with the SVM algorithm for adaptively classifying data samples, can detect samples efficiently by using PCA-based indicators.
Weight-based learning method for measurement data detection
This section describes the use of the weight-based learning method for detecting measurement data in supercapacitor manufacturing. To test the data detection, samples were selected from the 128 validation samples for each class (Table 2). The designed system (Figure 3) used a dynamic weight-based learning method combined with PCA for detecting the measurement data.
Figure 4 displays the cycle test results for the classes of supercapacitor samples. The set {

The average values of: (a)

The scree test results for class {A, B, C, D}, {PC1, PC2, PC3, PC4}: the component factors, {A, B, C, D}: class samples by using the PCA algorithm, {A*, B*, C*, D*}: class samples by using the dynamic weight-based PCA algorithm.
The principal components with PCA-based indicators obtained using the PCA-based methods.
The principal components {
The data features obtained using the dynamic weight-based method for the class {A, B, C, D}.
f
Accuracy rates using the principal components for detecting the class samples.
Data detection using PCA-based indicators in manufacturing
This section describes the life test conducted for supercapacitor manufacturing to determine suitable PCA-based indicators. Table 6 lists the sample classes for detection. The samples used in the life test were selected from the 128 validation samples for each class (Figure 6). Figure 6 illustrates the procedure of the life test.
Classes of supercapacitor samples used in the life test.

Procedure of the life test.
Figure 7 displays the average values of △Cap,

The average values of (a) △Cap, (b)
The adjusted principal components obtained by the dynamic weight-based learning method.
Figure 8 displays the scree test results for class {F, H}. The adjusted component factor {PC2} for class {F, H} could be clearly distinguished from component factor {PC3}. Table 8 lists the data features of class {E, F, G, H, I} for the indicators {

The scree test results for class {F, H}, {PC1, PC2, PC3, PC4, PC5}: the component factors, {F, H}: class samples with component factors, {F*, H*}: class samples with adjusted component factors.
The data features of class {E, F, G, H, I} for the corresponding indicators {
Classification results using the PCA-based indicators for detecting the class samples, T (rows): true values, P (columns): predicted values.
PC
To evaluate the designed detection system, various classification methods were used to detect the sample classes. The classification performance of learning classifiers based on the SVM, K-nearest neighbor (KNN),20,21 and back propagation neural network (BPNN),22,23 algorithms were compared with that of the proposed method. The input dataset in KNN classification was {

The O(log
The following accuracy rates were obtained: 93% for the SVM algorithm, 90% for the KNN algorithm, 87% for the BPNN algorithm, and 95% for the proposed method. The aforementioned four methods required almost the same time for classifying samples. The SVM-based methods (the SVM algorithm and proposed method) and KNN-based method exhibited high classification performance because these methods are advantages for solving problems with insufficient samples. However, the proposed method (accuracy rate: ≧95%) outperformed the other three methods that employ PCA without adjustable PCA-based indicators. Furthermore, more experiments were performed to evaluate the dynamic weighting’s performance in data detection. The experiment setup
18
was applied to the identification of suitable image features. Table 10 lists the classes of test samples used in the experiments. Samples were chosen from 512 validation samples for each class. For detection, an object (wrench / eyeglass) with unknown features was affixed to a target panel. The distance between a target panel and a telescope was 10.67 m. The platform’s surface light provided illumination for the target panel. The SVM-based methods were executed to extract the digital camera-captured telescopic image features and identify suitable features. Table 11 lists the principal components obtained by using the dynamic weight-based learning method. The suitable principles {
Classes of wrench and eyeglass samples used in the image feature identification.
The principal components obtained by the dynamic weight-based learning method in the image feature identification.
Accuracy rates (%) obtained for the detection of class samples.
Conclusion
A dynamic weight-based learning method and PCA were combined for the first time for developing data detection in manufacturing. This weight-based learning algorithm can learn and train the measurement data sequence. A dynamic learning algorithm was employed as an extraction tool for effectively and adaptively selecting optimal principle components to SVM algorithm and then establishes indicators. The proposed method on the basis of these indicators can be applied to timely detect data when the data contain redundant and incorrect inputs in a sequence. The results indicate that the dynamic weight-based learning method can extract measurement and image data in the developed detection system. The developed system combines dynamic weight-based feature extraction with PCA and adaptively classifies the data samples. This system can achieve high accuracy when detecting various types of data. Compared to the existing methods that employ PCA, the proposed method, which employs dynamic weight-based PCA, exhibited high classification performance.
Footnotes
Handling Editor: James Baldwin
Declaration of conflicting interests
The author declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Kaohsiung University of Science and Technology and Shenzhen Shuizetian Technology Co., Ltd.
