Abstract

A flow sensor is designed based on resistance-type differential pressure flow (RDPF) method, and the flow data is measured during a coal gangue paste-filling process. The measurement error characteristics of a RDPF sensor are analyzed. Periodic and aperiodic errors are then modeled separately. The model for the periodic error is established by Fourier series approximation using least squares solution of an overdetermined equation to solve for the model parameters. The model for the aperiodic error is established using an online least squares support vector machine (LS-SVM) method. The cross-validation is used to solve model parameters. Simulations and experiments show that the dynamic measurement accuracy of the sensor is greatly improved by error compensation, thereby reducing filling material waste and improving the economic efficiency.

1. Introduction

Coal gangue paste filling is a backfill mining technique that has the dual aim of reducing environmental pollution caused by coal gangue and flyash and lessening the risk of subsidence [1]. As green filling mining technology, the paste-filling technique has the above advantages. However, with the long filling pipe, nonuniform velocity, filling paste of large particles (over 25 mm in diameter) impose significant uncertainities for the paste filling pipe flow detection. The efficiency of paste filling depends on the flow rate of the paste in the filling pipe; but up to now, it has been difficult to measure this rate with sufficient accuracy. The inaccuracy in the flow rate measurement has resulted in a great waste of filling material and excessive consumption of electricity and human resources, causing deleterious consequences for environmental issues and safety production.

At present, the sensors used for fluid flow measurement include differential pressure flowmeter, capacitive flowmeter, electromagnetic flowmeter, and ultrasonic flowmeter, and all of those are not suitable for measure multiphase fluid flow precisely [2]. Differential pressure flowmeter needs installation of an orifice plate or a shrink diameter pipe. The large diameter material has a serious side effect of aggregating damage on the orifice plate, which is likely to cause congestion accidents [3]. Capacitance flowmeter fails to capture measurement of fluid flow because the dielectric value of the paste is usually reflected by the dynamic changes of the concentration of the paste [2]. Electromagnetic flowmeter can be easily blocked, because the large diameter material accounted for about 50% of the filling material, resulting in distortion of the measurement results of the sensor [2, 3]. Ultrasonic flowmeter sensor is unable to accurately detect flow information because only weak signals are received due to the high mass concentration of the filling paste and the serious viscous viscosity and scattering attenuation [4]. Because of these limitations in paste flow measurement, all the above flow sensors cannot be effectively used in detection for paste-filling flow.

A resistance-type differential pressure flow (RDPF) sensor has been developed to achieve precise measurements. Noncontact and real-time flow measurement in the paste-filling pipe is realized by the sensor. However, there is much space for improvement in the measurement error of the RDPF sensor. Thereby, error compensation model is built to compensate error. In recent years, both neural network theory and fuzzy theory have been applied to error modeling, but these two approaches are appropriate only for offline modeling and are not applicable to online error compensation [57]. Common methods that are suitable for online modeling include autoregressive modeling, minimum support vector machine modeling, and Bayesian dynamic model theory [813]. The paste flow in the pipeline changes periodically, which must be taken into account when building error compensation models to achieve sufficient accuracy [1416]. Because the above models are not ideal for error compensation of RDPF sensor, a new compensation error method is proposed [1719].

2. RDPF Sensor and Analysis of Its Measurement Error Characteristics

2.1. RDPF Sensor

Based on pressure difference detection principle, an indirect pipe flow measurement method is proposed by measuring the deformation of filling pipe. According to the pressure difference test theory of resistance strain gauge, the RDPF sensor is designed. The sensor includes a bridge measuring circuit, an amplifying circuit, an electric bridge automatic zeroing circuit, an analog/digital (A/D) conversion circuit, and a sample hold circuit. The analog signals from the strain gauge are converted into digital signals, and then the digital signals are uploaded through a communication module to a host computer which displays and stores the fill-pipe flow value with the software of LabVIEW. The principle of the RDPF sensor is shown in Figure 1.

2.2. Measurement Error Analysis for the RDPF Sensor

Mined-area filling capacity is regarded as the exact value of the paste flow, and it is compared with flow value measured by the RDPF sensor without the use of any error compensation. The result shows that the accuracy of the sensor is low, with a relative error of about 5% compared to the value of mined-area filling capacity.

The flow rate in the paste-filling pipe following pipe pressure undergoes periodic changes, which is shown in Figure 2. The errors in the sensor can be divided into three components: systematic error, random error, and gross error [20]. The gross error is mainly caused by accidental factors in the measurement process, such as strong interference, vibration, and human factors. The gross error can be eliminated by previous experience before building the compensation error model. The systematic error mainly consists of three components: pipe flow modeling error, strain gauge error due to the effects of the paste, and measurement error caused by pipe wear [21]. (1)The systematic error is produced because the rising stage of each cycle is approximated as a linear process for the pipe flow model.(2)The systematic error is also caused by the difference of strain gauge-pasted angle and adhesive coating thickness of RDPF.(3)When the paste velocity is low, there is serious pipe wear in straight sections of the pipe, and then the system error is also caused by the abrasion of the filling pipeline.

The flow sensor is installed on a straight pipe section with high paste-filling pressure. The installation position of the sensor is close to the paste-filling station. The random error is caused by the environmental noise and electromagnetic interference in this region.

3. Error Modeling

By comparison of the paste-filling capacity measured by the flow sensor with the paste-filling capacity of the mined area, the measurement error of the sensor is obtained. According to the real-time flow curve in Figure 2, the filling flow changed in a periodic fashion follows the filling stroke of the filling pump. The measurement error can then be expressed as where t is the measurement time, is the periodic error component, and is the aperiodic error component.

3.1. Periodic Error Compensation Model

Through mathematical analysis of the systematic error, it is known that the periodic error in the flow sensor satisfies a Dirichlet condition (DC) in the period [0, T], and therefore the periodic error in the dynamic measurements can be decomposed into an infinite series of linear combinations of trigonometric functions: where is fundamental wave angle frequency, and , are Fourier coefficients of signals.

Using trigonometric identities, formula (2) can be rewritten as follows: where is the amplitude of the DC component, are the amplitudes of the frequency components, and are the phase angles of the frequency components. Therefore, the dynamic model of measurement error for the sensor is built after the amplitude and phase angle for each frequency are determined.

In the dynamic measurement of the paste flow, k + 1 data points are measured in each period. The measurement period is discretized according to the equidistant measurement method to obtain , and the time value of the measurement point can be expressed as .

Formula (3) can be expressed in matrix form as follows:

Theoretically, in the formula (2), an infinite number of frequency components are superimposed, but when the relative error between the values measured by the flow sensor and mined-area filling capacity is less than 1%, the measurement accuracy is completely satisfactory, and the summation over frequency components can be truncated.

3.2. Aperiodic Error Dynamic Compensation Model

Based on the dynamic data exchange (DDE) technique and the least squares support vector machine (LS-SVM) method, a dynamic compensation model of aperiodic error is established [22]. The LS-SVM method employs a support vector machine to convert inequality constraints into equality constraints. A nonlinear mapping between the filling time and the aperiodic error in the filling flow is established by the method, and nonlinear laws hidden in the sample data is revealed. For nonlinear sample data , ,…, , using LS-SVM regression, the regression problem for the aperiodic error can be described as follows: where are the input variables, are the output expected values, are the error variables, is the kernel space mapping function, is a right vector, γ is an adjustable parameter, and b is the amount of deviation. Then, the Lagrangian function is introduced. where is Lagrange multiplies. According to the necessary conditions for the existence of extreme values, , , , and , the following formula is gotten:

The following formula is obtained by eliminating and of formula (7), where is kernel function.

Linear kernel functions, polynomial kernel functions, and the radial basis function (RBF) kernel functions are commonly used kernel functions. The kernel function must satisfy Mercer’s condition. Then, LS-SVM regression estimate using kernel function can be expressed by formula (10). The values of - and b are obtained by the least square method [2325].

4. Results

4.1. Determination of Model Parameters

The error of the Fourier series approximation model satisfies the filling requirement when it is less than 1%. The error in the Fourier series approximation model meets the sensor measurement requirements when the fifth harmonic overlay is fitted by MATLAB. Using formula (7), the least squares principle is applied to solve for the amplitude and phase angle of each harmonic. The results are shown in Table 1.

The radial basis function (RBF) is selected as the kernel function. The cross-validation method is chosen for determining the parameter in the RBF and the parameter in the LS-SVM model. To decrease the search time of the two parameters, the kernel function and the punishment constant are chosen, thereby, the optimal parameter pairs (, ) are obtained by cross-validation. Then, acquisition time as the input, and the flow value measured by the sensor as the output, an aperiodic error compensation model is established. The square sum of the relative error is obtained, which is 0.0262.

4.2. Experimental Analysis

In coal gangue paste-filling process, the experimental platform of the sensor measurement accuracy is built. The sensor without compensation, the sensor of compensation for periodic error, and the sensor of compensation periodic error and aperiodic error are installed in the experimental pipeline. The measured flow values of three sensors are listed in Table 2.

The curve of flow values before and after error compensation is shown in Figure 3 after following the measured data in Table 2. Local enlargement of Figure 3 is shown in Figure 4. Measurement values with different compensation module are compared with mined-area filling capacity value (Figure 5). Seen form Figure 5, the measurement error increases with time without error compensation. When the Fourier series approximation method is used to compensate for the periodic error, the measurement error of the sensor is obviously reduced. When the LS-SVM method is used to compensate periodic error, the measurement error of the sensor is reduced greatly, which is changed little with time.

5. Discussion

Under different conditions, the measured curves and error curves of the sensor are shown in Figures 35. Seen from Figures 3 to 5, the sensor has a large measurement error in the absence of compensation, but, when using the Fourier series approximation model to compensate for the periodic error, the error is greatly reduced, which shows that periodic error is the main component of the sensor measurement error. After compensation for both periodic and aperiodic error, the measurement error of the sensor fluctuates around zero, which indicates that the dynamic measurement accuracy of the sensor is greatly improved.

To guarantee dynamic compensation of aperiodic error, dynamic data exchange (DDE) can be used to realize real-time data exchange between MATLAB and the host computer. The flow value measured by the sensor and the mined-area filling capacity obtained through a data acquisition card are uploaded to the host computer. Models of the periodic and aperiodic errors are established in MATLAB using the above values, and the model parameters are calculated and then sent to the error compensation model to achieve dynamic compensation of measurement errors.

The value of RDPF sensor is related to the filling pipe pressure and the length and cross-sectional area of the filling pipe. When the discontent tube filling fault occurs, the cross-sectional area of the filling paste in the tube is smaller than the pipe cross-sectional area, making the measured result deviating from the actual filling flow. Therefore, the filling failure of the discontent tube should be avoided to improve the measurement accuracy of the RDPF sensor.

6. Conclusions

The measurement errors of the RDPF sensor have been analyzed. The periodic error model is established by a Fourier series approximation method. The parameters of the periodic error model are obtained by solving an overdetermined matrix by the least squares method. The aperiodic error model is constructed using an online LS-SVM method, and the model parameters are solved by cross-validation. Experiments show that the method proposed in the paper can greatly reduce the measurement error of the sensor and improve its dynamic measurement accuracy.

Conflicts of Interest

The authors declare no conflict of interest.

Authors’ Contributions

Lijie Yang and Guimei Wang conceived and designed the experiments. Tao Chu performed the experiments. Lijie Yang analyzed the data. Fang Sun contributed analysis tools. Tao Chu and Lijie Yang wrote and revised the paper.

Acknowledgments

This project was supported by the Hebei Province Science and Technology Support Program (16394102D) and the science and technology research project of Hebei Higher Education Institutions (QN2014171).