Next Article in Journal
Dynamic Light Scattering and Its Application to Control Nanoparticle Aggregation in Colloidal Systems: A Review
Next Article in Special Issue
A Modulation Method for Tunnel Magnetoresistance Current Sensors Noise Suppression
Previous Article in Journal
Effects of the Wall Temperature on Rarefied Gas Flows and Heat Transfer in a Micro-Nozzle
Previous Article in Special Issue
Electrochemical Assays for the Determination of Antidiabetic Drugs—A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comparison and Verification of Three Algorithms for Accuracy Improvement of Quartz Resonant Pressure Sensors

1
Key Laboratory of Instrumentation Science & Dynamic Measurement, Ministry of Education, North University of China, Taiyuan 030051, China
2
Pen-Tung Sah Institute of Micro-Nano Science and Technology, Xiamen University, Xiamen 361102, China
3
Tan Kah Kee Innovation Laboratory, Xiamen 361005, China
*
Authors to whom correspondence should be addressed.
Micromachines 2024, 15(1), 23; https://doi.org/10.3390/mi15010023
Submission received: 3 December 2023 / Revised: 16 December 2023 / Accepted: 18 December 2023 / Published: 22 December 2023

Abstract

:
Pressure measurement is of great importance due to its wide range of applications in many fields. AT-cut quartz, with its exceptional precision and durability, stands out as an excellent pressure transducer due to its superior accuracy and stable performance over time. However, its intrinsic temperature dependence significantly hinders its potential application in varying temperature environments. Herein, three different learning algorithms (i.e., multivariate polynomial regression, multilayer perceptron networks, and support vector regression) are elaborated in detail and applied to establish the prediction models for compensating the temperature effect of the resonant pressure sensor, respectively. The AC-cut quartz, which is sensitive to temperature variations, is paired with the AT-cut quartz, providing the essential temperature information. The output frequencies derived from the AT-cut and AC-cut quartzes are selected as input data for these learning algorithms. Through experimental validation, all three methods are effective, and a remarkable improvement in accuracy can be achieved. Among the three methods, the MPR model has exceptionally high accuracy in predicting pressure. The calculated residual error over the temperature range of −10–40 °C is less than 0.008% of 40 MPa full scale (FS). An intelligent automatic compensation and real-time processing system for the resonant pressure sensor is developed as well, which may contribute to improving the efficiency in online calibration and large-scale industrialization. This paper paves a promising way for the temperature compensation of resonant pressure sensors.

1. Introduction

Technological innovations, amplified automation in industries, and a rising need for precise and real-time pressure monitoring solutions have all fueled the substantial growth in the global pressure sensors market. Pressure sensors play a critical role in a variety of industries, including automation, healthcare, aerospace, oil/gas exploitation, and consumer electronics. The aerospace and automotive industries are calling for pressure sensors that can withstand harsh environments and extreme conditions, leading to a surge in demand for these specialized sensors [1]. Quartz resonant sensors have risen as a strong competitor in pressure measurement, showcasing their potential and promise for delivering precise and accurate readings under extreme environments. The remarkable mechanical and electrical features of quartz crystals, such as their high quality factor, compressive strength, and elasticity, are what make them stand out from other pressure sensors, like silicon resonant or silicon piezoresistive [2,3]. These exceptional features of quartz resonant pressure sensors grant them unrivaled authority in scenarios characterized by high temperatures and pressures.
The AT-cut was discovered in 1934 by Messrs. F.R. Lack and G. W. Willard while working at Bell Labs. It refers to a specific crystalline orientation of anisotropic material quartz with an angle of θ = 35.25° [4]. Experimental verification demonstrated that the AT-cut quartz resonant sensors boast significant pressure sensitivity in pressure measurement applications thanks to the intrinsic electromechanical coupling property of quartz [5,6]. However, they exhibit temperature dependency on frequency, showing a theoretical cubic behavior with a maximum deviation of ±10 ppm in the temperature range from −10 °C to 40 °C due to thermal expansion [7]. This would detrimentally affect the frequency stability and significantly hinder its applicability in the field of high-precision pressure measurement. It is important to improve the pressure sensitivity over a broad range of temperatures to extend the range of applications and minimize the effect of inherent temperature sensitivity on accuracy. Therefore, development of a temperature compensation solution for resonant pressure sensors is crucial for enhancing the overall system performance, enabling them to operate effectively in harsh environments, such as tsunami forecasting and deep-sea diving, for protecting human lives and property.
Temperature drift compensation methods have been widely studied for decades. They are mainly classified into two categories: passive compensation and active compensation. The former is described from the aspect of device design and encompasses two facets:
  • Optimizing the geometry and topology of the sensor structure in order to limit the dependence of thermal expansion behavior on materials’ elastic property [8];
  • Adding a composite structure (such as a SiO2 layer) to the resonator substrate to obtain an overall satisfactory temperature coefficient [9].
The active compensation method is described from the perspective of signal processing and involves the following points:
  • Fabricating temperature-sensitive circuitry to generate temperature-dependent electrical signals, which are used by high-precision logic devices or ASIC to compensate for the output signals from the resonator, thus reducing the temperature drift of the sensor [10,11];
  • Establishing the mapping relationship between the physical parameters, i.e., pressure and sensor signals, as well as the temperature information, which is known as multiple regression analysis in statistics [12,13].
Despite the potential for passive compensation methods to effectively mitigate spurious disturbance at a reasonable cost, their fabrication and implementation can be complex and often yield unsatisfactory outcomes. Enhancing the frequency stability of a crystal oscillator can be achieved through temperature compensation circuits, although this approach remains restricted and less efficient compared to the widely accepted regression algorithms that offer greater practicality, precision, and versatility.
The regression algorithms fall into three broad types: machine learning techniques represented by the multilayer perceptron (MLP) network, the statistical-learning-theory-based approach, such as support vector regression (SVR), and the function approximation solution in numerical analysis. Machine learning was ignored for many years due to limitations in computational power. However, it has experienced a revival in recent years due to the availability of a high amount of data. The interactivity and flexibility of artificial neural networks (ANNs) enable it to model intricate relationships with data, adaptively formulating an arbitrary nonlinear function approximation to fit a target value and sensor signals [14]. A new approach to predicting pump output performance using machine learning algorithms has been proposed by Mao [15], with the MLP model showing remarkable accuracy in forecasting pressure and flow. Unlike machine learning, statistical learning devises novel methods to accurately characterize the sensor response and make inferences based on a subset of statistical data gathered during the calibration process [16,17]. As the temperature drift response presents an empirical cubic curve, an intuitive solution is based on function approximation. The function approximation in numerical analysis, termed as least squares (LS) regression, aims to find a linear combination of spline functions (such as polynomials) that transforms the predictors and obtains a multiplicative model to characterize the relationship with data.
In this work, a comparative study of the three aforementioned regression techniques is carried out based on a pressure sensor using an AT-cut crystal blank. The performance of these algorithms in temperature compensation is determined by the absolute error observed at 40 MPa full scale (FS) across the temperature range of −10–40 °C. The algorithms are executed on a personal computer (PC), and the calculated parameters are then registered into the field-programmable gate array (FPGA) to compensate for the temperature drift. The main purpose of this study is to shed light on the research that uses software methods for sensor temperature compensation and increasing the sensor’s accuracy.

2. Materials and Methods

2.1. Quartz Resonant Pressure Sensor

A plate-like AT-cut quartz crystal resonator vibrating in thickness-shear mode can be used to measure the applied pressure along the X crystallographic direction [18]. The vibration frequency of the resonator in the thickness-shear mode is provided by
f n = n 2 t C i j ρ n = 1 , 3 , 5
where
f n =  nth resonance frequency;
C i j = elastic modulus for the rotated cut;
t = thickness of the resonator;
ρ = density of the resonator.
It is known that the primary cause of frequency change is due to the change in C i j with respect to the radial stress σ , i.e.,
f = f 2 C i j × d C i j d σ × σ
The resonator’s radial stress, induced by external pressure, causes a proportional variation in its resonant frequency, granting us to detect pressure changes by measuring the frequency shift [19].
The high-precision quartz resonant pressure sensor shown in Figure 1a is fabricated based on an integral part of a quartz cylinder. A single piece of crystalline quartz is used to construct the resonator and cylinder, and, consequently, the periphery of the former will be uniformly and elastically stressed by the external pressure [20]. The cylindrical walls act as a diaphragm, effectively transferring and concentrating the stress from the external pressure radially about the periphery of the resonator [12]. This process attenuates hysteresis errors, unlike the conventional method that applies force with anvils at the resonator’s edge, leading to localized stress concentration that is the primary cause of hysteresis [21]. The quartz end caps are aligned such that the crystalline lattice is essentially continuous across the glass-frit sealing layer, ensuring the system’s valid continuum mechanics under external forces [22]. The cavity herein, which may be empty or helium-filled, isolates the resonator from the pressure media to achieve a high degree of frequency stability and low mechanical damping. The sputtered golden metallic film on both sides of AT-cut crystal surface acts as the resonator electrodes and external electrical connections. The AC-cut crystal, which is temperature-sensitive and placed near the pressure sensor, is employed to detect the ambient temperature. Unlike the existing Pt thin-film temperature sensor, piezoelectric crystal provides advantages for temperature measurement, such as high accuracy, low power consumption, direct processing of the ambient temperature, and, more importantly, increased operating range with respect to temperature [3].
The oscillator circuit maintains resonant vibration of the sensor and outputs a signal whose frequency is directly proportional to the pressure. The output signal of reference oscillator is mixed with the pressure and temperature signals to reduce their frequencies from the MHz range to the kHz range, simplifying the frequency counting requirements. The electronic counter converts the number of counts generated by the sensor in a given gate time to a digital frequency. Figure 1b shows an assembled quartz resonant pressure sensor with stainless housing. The PCB detects the pressure and temperature signals and outputs them in the form of digital frequencies. Note that the packaged sensor size can be further reduced significantly by using a smaller container and integrated circuit instead of the PCB, which can meet requirements of various applications.
Figure 2 shows the schematic diagram of pressure and temperature signals processing. The digital signals are acquired by a laptop for signal analysis, calibration, and processing for temperature compensation. In the figure, x ( 1 ) and x ( 2 ) represent the numerical temperature and pressure information transformed by the frequency-digital converter in the units of kHz, respectively. The methods of utilizing the two pieces of information to calibrate the measured pressure value based on regression algorithms are elaborated thereafter.

2.2. Types of Regression Methods

2.2.1. Multivariate Polynomial Regression (MPR)

It is known that, in multivariate tensor product polynomial spaces, stable and accurate discrete LS approximation of any continuous function can be obtained using low-discrepancy point sets [23,24]. Based on this information, we consider a parsimonious linear parametric model to fit the longitudinal data [25], which consist of the sensor’s temperature and pressure frequency observations at varying ambient temperatures, and the actual pressure value y . The purpose of this fitting is to efficiently build a finite dimensional approximation of temperature compensation function, namely f . To this end, we choose one-dimensional monomial bases with respect to each variable x ( i ) that indicate the element of sensor information. These bases are shown below [26]:
ϕ j i j = 1 , i = 1 , 2 , , d
where ϕ j i : = x ( i ) j is called the j t h order basis function or feature for i t h variable that coincides with the temperature frequency ( i   = 1) or pressure frequency ( i   = 2) data, with the dimension parameter d equal to 2. Subsequently, the multidimensional bases can be formed by tensorizing the univariate bases ϕ j i j = 1 . To explicitly form these bases, given a basis order q , the multi-index is defined as follows:
Λ P 2 , q n = n 1 , n 2 N 2 :   m a x i = 1,2     n i q
As an example, Λ P 2 , 2 set comprises 0 , 0 , 0 , 1 , 0 , 2 ; 1 , 0 , 1 , 1 , 1 , 2 ; 2 , 0 , 2 , 1 , 2 , 2 .
Based on a concise and established terminology presented in the literature [27], we denote the finite dimensional multivariate polynomial space as
P Λ = span Φ p i = 1 2   ϕ p i i ,   with   p Λ P 2 , q
The above expression means that the polynomial feature space is associated with the index set Λ and coefficients in R . The best approximation of f denoted by P Λ f in P Λ can be written as follows:
P Λ f = p Λ P 2 , q c p Φ p = i = 0 b j = 0 d c i , j ϕ i 1 ϕ j 2           b , d q
x P Λ f i = 0 b j = 0 d c i , j ϕ i 1 x ϕ j 2 x = i = 0 b j = 0 d c i , j x 1 i x 2 j ,       x = x 1 , x 2
where c = ( c 0,0 , c 0,1 , , c 0 , d , , c b , d ) T is the coefficient vector. In the framework of discrete LS, the optimal coefficient c * can be determined by solving the following problem:
c * = a r g m i n P Λ f P Λ k = 1 P Λ f x k y k 2
where · denotes the Euclidean norm.
The coefficient c * should be determined over the complete training set ( X , Y ) = x k , y k , k = 1 , , m of observed data, where x k is the vector form of x k ( 1 ) , x k j ( 2 ) ,   j = 1,2 , , n k ; y k = y k 1 , y k 2 , , y k n k T , and n k is the number of observations at the k th temperature point. The algebraic formulation using the SVD factorization is
  c i , j = c 0,0 c 0 , d c b , 0 c b , d = φ 1 + φ 1 2 + , φ 2 2 + , , φ m 2 + y T = φ 1 + φ 1 2 + y 1 , φ 2 2 + y 2 , , φ m 2 + y m T
where
  φ 1 = 1 ( x 1 1 ) b 1 ( x m 1 ) b ;   φ k 2 = 1 ( x k 1 2 ) d 1 ( x k n k 2 ) d ,   k = 1,2 , , m .
The design matrix is denoted by φ , with each row representing an individual observation of a variable. Figure 3 shows the flow diagram of the MPR algorithm. The varying actual pressure values at the same temperature point are formed into a vector denoted by y k . Multiplying y k   ( k = 1,2 , , m ) by the pressure design matrix φ k ( 2 ) that pertains to the pressure frequencies observed under the k t h temperature point, m sets of vectors γ k   k = 1,2 , , m ] are obtained. The γ vector sets are stacked column-wise into a matrix, followed by a transpose operation. Subsequently, we can obtain the coefficient matrix by multiplying the temperature design matrix and the aforementioned transposed matrix.

2.2.2. MLP

Artificial neural network (ANN) is a structure that simulates the essential features of neurons and their interconnections with the aim of processing information [28]. One of the very first ANN architectures is the multilayer perceptron (MLP). Many researchers have employed this parallel distributed type network as a benchmark model [29,30,31].
The architectural graph shown in Figure 4 illustrates the layout of a multilayer feedforward neural network with a single hidden layer, which has two source nodes whose inputs are temperature and pressure frequency information denoted by x 1 , x 2 , respectively, five hidden neurons, and a single output neuron that provides the predicted pressure value. This network can be described in a compact mathematical formulation as follows:
F x ; w = j = 1 5 w j 2 φ i = 0 2 w j i 1 x i + w 0 2  
Correspondingly, we formulate the model’s cost function as
ε N ; w = 1 2 N i = 1 N y n F x n ; w 2
where w j 0 ( 1 ) represents the bias of j t h neuron in the hidden layer, and w 0 ( 2 ) is the bias of neuron in the output layer. The nonlinear activation function denoted by φ ( · ) is required to be continuously differentiable, and commonly used activation functions in MLP are ReLU and Sigmoid functions.
The objective is to select a particular hypothesis F x ; w that minimizes the cost function. It is defined as follows:
w * = a r g m i n w ε N ; w
The backpropagation (BP) algorithm, which is an efficient application of chain-rule-based supervised learning, is used to optimize the network parameters. It makes the weight vector w k follow a well-defined and deterministic trajectory in weight space computed by the steepest descent method, which uses an instantaneous estimate δ provided by (14) and (15) of the gradient of the error surface to update the network [32], as illustrated in Figure 5. More specifically, the network weights are initialized randomly and then trained consistently through iteratively minimizing the difference between the actual and predicted pressure values. In each training iteration, each weight in the neural network is updated based on the current weight and is proportional to the partial derivative of the error function. The required gradients can be obtained with ease via backpropagating error derivatives through the network using the chain rule. This is the core part of the BP algorithm and can be described by the following equations [33]:
f o r   o u t p u t   l a y e r :           w j 2 = η ε w j 2 = η   ε v 2   v 2 w j 2 = η δ 2 φ v j 1 δ ( 2 ) = ε v 2 = e
              f o r   h i d d e n   l a y e r :           w j i 1 = η ε w j i 1 = η ε v j 1   v j 1 w j i 1 = η δ j 1 x i δ j ( 1 ) = ε v j 1 = ε v 2 · v 2 v j 1 = e w j 2 φ ˙ v j 1 , j = 1,2 ,
where e represents the instantaneous error of the model. The induced local v j ( 1 ) produced at the input of the activation function associated with neuron j from the hidden layer is written as v j ( 1 ) = i = 0 2 w j i ( 1 ) x i , and, similarly, v ( 2 ) = j w j 2 φ ( v j ( 1 ) ) . The constant η is the learning-rate parameter of the BP algorithm, which decides the step length towards the minimum for each iteration. The weights of MLP are adjusted after all the N samples have been fed forward, which constitutes a training epoch. The BP algorithm is considered to have converged when the mean square error (MSE) per epoch is sufficiently small, or it is stopped when the training epochs reach the target number of epochs.

2.2.3. SVR

Support vector regression (SVR) is a robust and efficient algorithm developed by Vapnik. It is a nonlinear prediction method based on statistical learning theory [34,35]. The compliance of structural risk minimization inductive principle enables the prediction model to obtain good generalization based on a limited number of learning patterns, i.e., the training sample set   ( x , y ) |   x = x 1 , x 2 , where x 1 ,   x 2 , and y represent the temperature and pressure information from the sensor’s output and the corresponding actual pressure value, respectively.
According to Cover’s Theorem, a set of training data is linearly separable with a high probability if the data are projected in a feature space of infinite dimensionality based on a set of nonlinear functions ϕ j ( x ) j = 1 , as shown in the top part of Figure 6. Given this transformation, we may define a hyperplane acting as the decision surface for the regression task in accordance with the following expression [36]:
f x = w T Φ x + b
where the feature vector Φ x = ϕ 1 x , ϕ 2 x , T is infinite, and w and b correspond to the weight vector and bias constant, respectively.
As shown in (17), SVR works by solving a constrained quadratic problem where the convex function for minimization is provided by the combination of a loss function with a regularization term, which is the norm of the weights [37].
M i n i m i z e :         L S V R = 1 2 w 2 + C i = 1 N ξ i + ξ i * S u b j e c t   t o :     y i f x i ε + ξ i f x i y i ε + ξ i * ξ i , ξ i * 0   ,   0 i N
The solution to the problem in (17) attempts to minimize the generalized error bound to achieve a generalized performance, which is required to minimize the Euclidean norm, i.e., w 2 . The ε - i n s e n s i t i v e loss illustrated in the bottom part of Figure 6 determines that the prediction function f x has at most a deviation of ε from the target, and all further deviations should incur only a linear penalty. In order to cope with the infeasible constraints of the optimization problem, slack variables ξ i and ξ i * are introduced to evaluate the deviation in training data outside the ε -insensitive region. The penalty parameter C > 0 provides a tradeoff between the distance of the ε -tube margin and the amount up to which deviations larger than ε are tolerated. We can solve the constrained optimization problem in (17) by using the method of Lagrange multipliers, and the dual form of the problem can be expressed as follows [38]:
M a x i m i z e : 1 2 i = 1 N j = 1 N α i α i * α j α j * Φ x i , Φ x j i = 1 N ε α i + α i * i = 1 N y i α i α i * S u b j e c t   t o :     i = 1 N α i α i * = 0     , 0 α i , α i * C
where the auxiliary nonnegative variables α i and α i * represent the Lagrange multipliers, and   , denotes the inner product operation.
As the dimensionality of feature vector Φ x is infinite, it is impossible to calculate the inner product in the feature space directly. This problem is mitigated by introducing kernel as follows, where it is denoted as the scaler:
k x i , x j = Φ x i , Φ x j = l = 1 ϕ l x i ϕ l x j
Radial basis function (RBF) with the mathematical expression as k x i , x = e γ x i x 2 is being increasingly used in machine learning and provides a good choice for the kernel [39]. The expansion of the RBF kernel permits us to construct a decision surface that is nonlinear in the input space but is linear in the feature space. Substituting (19) into (18), and utilizing sequential minimal optimization (SMO) method to compute the dual problem, we obtain the following desired expression for the hyperplane:
f x = i = 1 N s α i * k x i , x + b b = y l + ε i = 1 N s α i * k x i , x l
where the nonvanishing Lagrange multipliers α i * correspond to the support vectors, and N s refers to the number of support vectors.

3. Results

3.1. Calibration System and Performance Characteristics before Compensation

The calibration experiment is carried out at a company named Beijing Hunge Testing Technology Co. Ltd. (Beijing, China), which obtains measurement traceability from the National Metrology Institutes of China. The company furnishes a high-precision piston-type pressure gauge with an accuracy of 0.001% FS over the calibrated temperature range from −10 to 40 °C. In addition, a temperature test chamber with an ambient fluctuation of less than 0.3 °C is utilized. Figure 7 shows the temperature compensation process adopted in the experiment. The pressure controller can automatically regulate the piston pressure gauge and show the current pressure data on the LCD displayer. A data acquisition device is required to measure the output frequency of the sensor. Additionally, the sensor is supplied with 4.5 V DC power. After collecting the calibration data, the regression model for temperature compensation is generated automatically on a laptop. We have developed a software called the CTD Panel 1.0 to facilitate the establishment of the regression model. It is based on the Qt5 framework and coded in Python 3.10 [40] for temperature compensation of the resonant pressure sensor. This software implements the three algorithms investigated in this paper.
The calibration experiment includes six different temperature preservation processes: −10 °C, 0 °C, 10 °C, 20 °C, 30 °C, and 40 °C. The pressure calibration points are selected in an arithmetic sequence over a range of 0 to 40 MPa, tested every 5 MPa over a total of nine pressure points. Thus, a total of 54 datasets are ultimately collected. It is important to minimize the impact of environmental temperature imbalance on pressure frequency output. This is carried out by stabilizing the temperature for approximately 20 min when transitioning between temperature points during the test. Once the fluctuation of the pressure frequency drops below 0.01 Hz per minute, the sensor data are recorded and transmitted to the laptop for subsequent data analysis.
As Figure 8a shows, the preliminary measurements suggest that the fabricated resonant pressure sensor exhibits a strongly linear response when subjected to a constant temperature, demonstrating a sensitivity of 370 Hz/MPa at an ambient temperature of 40 °C. Considering 20 °C as the benchmark, Figure 8b exhibits the frequency drift caused by temperature changes at different constant pressure values. The graphs indicate that the frequency drift phenomenon is more pronounced at higher applied pressures. The output frequency exhibits a variation of 678 Hz upon exposure to a temperature between −10 and 40 °C, while ensuring a consistent applied pressure of 40 MPa. Given the estimated sensitivity of 370 Hz/MPa, the deviation of 678 Hz results in an approximate calibrated pressure error of 1.8 MPa, which significantly exceeds the normal margin of expected error. The introduction of nonlinearity into the pressure signal has caused serious issues for the sensor’s application; thus, it is necessary to compensate for the detrimental effect of nonlinearity caused by temperature by means of appropriate regression algorithms.

3.2. Temperature Compensation Using MPR

The order of the multivariate polynomial model is crucial to the prediction accuracy because it directly determines the dimensions of the projected polynomial feature space [41]. As the order increases, the accuracy of the regression model improves because the MPR converges to the unknown function that provides the relationship between the actual pressure, frequencies of the AT-cut vibration, and the temperature information produced by the AC-cut. However, an excessively high order would cause overfitting that is detrimental to the generalization ability of the model.
This paper demonstrates experimentally that the optimal accuracy of the multivariate polynomial model can reach ±0.008% FS when the model order is five, as shown in Figure 9a. On the other hand, the accuracy with a fourth model polynomial order degrades sharply to ±0.02% FS, as shown in Figure 9b. Figure 10 shows a map of the decision regions in the two-dimensional signal space spanned by the input variables of pressure and temperature frequency. The decision function takes the form of a smooth green surface, and the calibration data are indicated by yellow circles. It can be noted from Figure 10a that the calibration samples and predictive results match closely. Furthermore, the decision surface is no longer confined to the provided learning samples, as shown in Figure 10b when a higher basis order of six is used. Figure 11 illustrates the use of CTD Panel as an MPR model design tool. Once we have set up any combination of orders assigned to design matrices for temperature and pressure, respectively, the polynomial coefficients are ready to be obtained. The desired algorithm can be formulated based on the following function:
f * x = i = 0 5 j = 0 5 c i , j x 1 i x 2 j

3.3. Temperature Compensation Using MLP

The Universal Approximation Theorem provides the framework for the design of nonlinear systems that can effectively approximate any multivariate continuous function. However, it does not actually specify how to determine an MLP configuration according to a specified approximation accuracy. There is no established theory regarding the optimal number of hidden layers, as well as the number of neurons assigned to each layer. Generally, the MLP model can approximate the unknown function with any desired accuracy provided that a sufficiently large number of hidden units are used at the expense of lower generalization capacity of the networks.
Empirically, we implement the MLP networks with two hidden layers as a tradeoff between global optimization (i.e., attempting to avoid being trapped in local minima) and model complexity. Consequently, the number of neurons in the first and second hidden layers are set to five and two, respectively, based on trial and error. ReLU with the mathematical representation as φ x = m a x ( 0 , x ) is chosen as the nonlinear activation function in hidden layers, which is attributed to its efficacy in addressing the issue of vanishing gradient. Consider an epoch of the 54 training examples arranged in the order x 1 , y 1 ,   x 2 , y 2 , , x 54 , y 54 . In each training epoch, the examples in the training set are randomly shuffled, thereby guaranteeing convergence of the method of steepest descent to a local minimum. Adjustment to the synaptic weights of the MLP occurs on an epoch-by-epoch basis. The total number of training epochs is equal to 2000. Figure 12 shows one realization of the learning curve that is obtained by plotting the loss (MSE) versus the number of epochs, assuming a fixed learning-rate parameter of 0.001. Due to the complicated nature of the error surface, the training process usually tends to zigzag towards the true direction to the minimum on the error surface. Randomly assigning the initial weights of the neurons in the BP algorithm makes it stochastic, leading to different training outcomes even with the same network configuration. Using the CTD Panel neural network design tool, the MLP algorithm can be formulated as shown in Figure 13. The equivalent function of the model can be deduced as
f * x = l = 1 2 w l 3 φ j = 1 11 w k j 2 φ i = 1 2 w j i 1 x i + b j 1 + b k 2 + b l 3 φ x = max 0 , x
Figure 14 shows that the accuracy of the resonant pressure sensor conforms to within ±0.3% FS when the MLP is used with 2000 training epochs to compensate for the temperature drift. The low accuracy is caused by the lack of training data, due to which the learned distribution cannot perfectly mirror the real distribution while simultaneously ensuring the model’s ability to generalize. If the number of examples is sufficiently large, we may expect the network to generalize better than what has been demonstrated in this work.

3.4. Temperature Compensation Using SVR

The hyperparameters, such as regularization parameter C, insensitivity ε , and kernel parameter γ , should be carefully designed such that the SVR solution achieves a satisfactory balance between accuracy and generalization [42]. Insight about the generalization of SVR can be obtained from the inner-product kernel between a “support vector” x i and a vector x drawn from the input data space. For the previously discussed kernel method such as the RBF, the kernel parameter is usually fixed. The receptive field of the RBF kernel unit, which is used to confine the local average to observations in a small neighborhood, can be defined as follows:
ψ x = e γ x i x 2 a > 0
where the domain of the input x is confined to a circular disc of x i (i.e., support vector) and radius ln 1 a / γ , with a denoting the threshold above which the model generates a response. Therefore, the γ parameter in the RBF kernel function can be viewed as the reciprocal of the influence radius of the support vector. If γ is too small, the receptive field of any selected support vector would tend to include the whole training set, and it is possible for the SVR to underfit the training data. On the other hand, when γ is too large, the receptive field of the support vector would only cover the support vector itself and no amount of regularization with C will be able to prevent overfitting.
The scenarios corresponding to γ = 1 × 10−4 and 10 are shown, respectively, in Figure 15, which illustrates the influence of parameter γ on the construction of the SVR model. In scenario 1, depicted in the top part of the graph, the derived model with γ = 1 × 10−4 guarantees a good generalization performance at the expense of predictive accuracy, which is equal to ±0.3% FS. In scenario 2, depicted in the bottom part of the graph, the SVR model with γ = 10 may be overfitting despite the high accuracy of ±0.004%FS obtained on the training examples. After experimenting with various manual hyperparameter settings, the optimal performance is achieved with the following values: C = 1 × 104, ε = 0.01, and γ = 1 × 10−3. Figure 16 shows the validation accuracy of the model, where an accuracy of ±0.05%FS can be observed. The location of the optimal hyperplane in the data space is determined by the 16 data points selected as support vectors, as shown in Figure 17, which means that the solution vector is sparse. Finally, the nonlinear regression model can be defined according to the following expression:
f * x = i = 1 16 α i * e γ x i 1 x 1 2 + x i 2 x 2 2 + b

3.5. Comparison of Generalization for the Three Predominant Regression Methods

The generalization performance of a learning method is evaluated by its prediction capacity on a set of unseen samples drawn from a distribution identical to that of the training set. With f * , i.e., MPR, SVR, and MLP, being an alternative estimator of the response y given the regressor x , the estimation error between the output of the learning model f * and the ground-truth y averaged over the data distribution and datasets can be used to assess the model’s performance. The error is calculated according to (25) as follows:
E g = 1 N n = 1 N f * x n y n 2
In the dynamic test experiments conducted in this study, as shown in Figure 18, the real pressure information is obtained from a standard pressure measurement instrument for a relatively short time interval, whereas the frequency measurement is performed every two seconds by the data acquisition device. There is no way to precisely calculate the estimation error because the actual pressure corresponding to each observation of the sensor’s frequency output is unknown. Nevertheless, a direct analysis of the graph demonstrates that the generalization capacity of MPR in a dynamic test is relatively better, which is sufficient for meeting the specified goals of the application of interest in the real world.

4. Discussion

The MRP method provides an optimal estimator in the minimum Euclidean distance sense by solving the LS problem. This numerical analysis algorithm achieves a superb accuracy of 0.008% FS for the fabricated pressure sensor, which is equivalent to a maximum absolute error of 0.0032 MPa. It is impressive compared to the preliminary measurement error of 1.8 MPa validated in Section 3.1. The performances of these three estimators are summarized in Table 1:
The MLP method for temperature compensation is indeed suboptimal, with a relatively low accuracy of 0.3% FS because the ANN’s architecture is configured empirically and there are limited training examples. However, its important virtue is the broadened application of discovering the most intricate relationship and performing highly complex tasks based on the intuitive parallel distributed network. Furthermore, the finite scalar multiplication arithmetic renders it a highly useful computational asset for the pressure calibration process.
Support vector regression, the representative of statistical learning, has a sparse solution space and is insensitive to anomalous observations. In this paper, it exhibits effective performance with a high accuracy of 0.05% FS. However, its computational complexity is exponential vis-a-vis the kernel operation, which renders it inappropriate for real-time problems involving large datasets.

5. Conclusions

In this paper, AT-cut quartz was used as the core of the resonant sensor for high-range pressure sensing. Despite its intrinsic high precision, its nonlinear characteristic associated with the varying temperature limited its applicability in many potential applications. In order to eliminate the erroneous effect of temperature on sensor response, three predominant learning paradigms for temperature compensation in resonant pressure sensors were described. These benchmark algorithms for temperature compensation have been determined through the analysis of experimental data within the temperature range of −10–+40 °C and pressure range of 0–40 MPa.
The prediction accuracy of the MPR model relies heavily on its order as it dictates the dimensions of the projected polynomial feature space. We optimized the best order for the design matrix to be 5. The residual error between −10 °C and 40 °C was 0.008% FS. In the MLP model, to achieve a compromise between global optimization and model complexity, we incorporated two hidden layers in the networks. Accordingly, five and two neurons were allocated to the first and second hidden layers, respectively. In order to combat the issue of vanishing gradient, the nonlinear activation function chosen for hidden layers is ReLU. Upon the culmination of 2000 training epochs, the model proves its ability to enhance the sensor’s accuracy to 0.3% FS. In the SVR model, the RBF kernel was enriched with the inclusion of the receptive filed terminology, and, by following this guiding principle, we have ultimately ascertained the most ideal values for parameters C, ε, and γ to be 1 × 104, 0.01, and 1 × 10−3, respectively. With the adoption of this novel approach, the sensor’s accuracy has been improved to an impressive level, achieving a deviation of 0.15% in the full-scale range.
With respect to computational complexity and predictive accuracy, we asserted that the multivariate polynomial regression (MPR) method provided the practical basis for the optimal design of nonlinear systems for temperature compensation. With its high accuracy of 0.008% FS and remarkable generalization performance, the MPR proved to be the ideal choice for our task.

Author Contributions

Conceptualization, C.X.; methodology, Z.Z. and B.Y.; software, B.Y.; validation, Y.X., B.Y. and W.Z.; formal analysis, S.Z. and Y.G.; investigation, J.J., B.Y. and J.L.; resources, Z.Z.; data curation, Y.X. and B.Y; writing—original draft preparation, B.Y.; writing—review and editing, B.Y. and Z.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (Grant No. 62101511), Applied basic research project of Shanxi Province (Grant No. 20210302124539), Key R&D plan of Hainan Province (ZDYF2023GXJS013), Xiamen University President’s fund (20720230050), Xiamen Marine Development Bureau project (22CFW010HJ12), and Tan Kah Kee Innovation Laboratory (RD2022020511).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Javed, Y.; Mansoor, M.; Shah, I.A. A review of principles of MEMS pressure sensing with its aerospace applications. Sens. Rev. 2019, 39, 652–664. [Google Scholar] [CrossRef]
  2. Shi, Y.; Kong, D.R.; Ma, X. Research on thermal protection of piezoelectric pressure sensor for shock wave pressure measurement in explosion field. Sens. Rev. 2023, 43, 208–220. [Google Scholar] [CrossRef]
  3. Eernisse, E.P.; Wiggins, R. Review of thickness-shear mode quartz resonator sensors for temperature and pressure. IEEE Sens. J. 2001, 1, 79–87. [Google Scholar] [CrossRef]
  4. Matko, V. Next Generation AT-Cut Quartz Crystal Sensing Devices. Sensors 2011, 11, 4474–4482. [Google Scholar] [CrossRef] [PubMed]
  5. Sinha, B.K.; Patel, M.S. Recent developments in high precision quartz and Langasite pressure sensors for high temperature and high pressure applications. In Proceedings of the 2016 IEEE International Frequency Control Symposium (IFCS), New Orleans, LA, USA, 9–12 May 2016; pp. 1–13. [Google Scholar]
  6. Pham, T.T.; Zhang, H.; Yenuganti, S.; Kaluvan, S.; Kosinski, J.A. Design, Modeling, and Experiment of a Piezoelectric Pressure Sensor Based on a Thickness-Shear-Mode Crystal Resonator. IEEE Trans. Ind. Electron. 2017, 64, 8484–8491. [Google Scholar] [CrossRef]
  7. Zhang, L.M.; Wang, S.Y.; Xie, L.; Ma, T.; Du, J.K.; Wang, J.; Yong, Y. Frequency-Temperature Relations of Novel Cuts of Quartz Crystals for Thickness-Shear Resonators. IEEE Trans. Ind. Electron. 2017, 64, 8484–8491. [Google Scholar]
  8. Yu, Z.; Zhao, Y.; Li, L.; Tian, B.; Li, C. Geometry optimization for micro-pressure sensor considering dynamic interference. Rev. Sci. Instrum. 2014, 85, 095002. [Google Scholar] [CrossRef] [PubMed]
  9. Myers, D.R.; Azevedo, R.G.; Chen, L.; Mehregany, M.; Pisano, A.P. Passive Substrate Temperature Compensation of Doubly Anchored Double-Ended Tuning Forks. J. Microelectromech. Syst. 2012, 21, 1321–1328. [Google Scholar] [CrossRef]
  10. Li, Y.; Wang, J.; Luo, Z.; Chen, D.; Chen, J. A Resonant Pressure Microsensor Capable of Self-Temperature Compensation. Sensors 2015, 15, 10048–10058. [Google Scholar] [CrossRef]
  11. Chen, Q.; Tao, Z.; Wang, Q. Frequency-temperature compensation of piezoelectric resonators by electric DC bias field. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2005, 52, 1627–1631. [Google Scholar] [CrossRef]
  12. Santos, E.J.P.; Silva, L.B.; Technology, P. High-resolution pressure transducer design and associated circuitry to build a network-ready smart sensor for distributed measurement in oil and gas production wells. J. Pet. Explor. Prod. Technol. 2022, 12, 2083–2092. [Google Scholar] [CrossRef]
  13. Xiang, C.; Lu, Y.; Yan, P.; Chen, J.; Wang, J.; Chen, D. A Resonant Pressure Microsensor with Temperature Compensation Method Based on Differential Outputs and a Temperature Sensor. Micromachines 2020, 11, 1022. [Google Scholar] [CrossRef]
  14. Kazemi, N.; Abdolrazzaghi, M.; Musílek, P. Comparative Analysis of Machine Learning Techniques for Temperature Compensation in Microwave Sensors. IEEE Trans. Microw. Theory Tech. 2021, 69, 4223–4236. [Google Scholar] [CrossRef]
  15. Mao, Z.; Peng, Y.; Hu, C.; Ding, R.; Yamada, Y.; Maeda, S. Soft computing-based predictive modeling of flexible electrohydrodynamic pumps. Biomim. Intell. Robot. 2023, 3, 100114. [Google Scholar] [CrossRef]
  16. Montesinos López, O.A.; Montesinos López, A.; Crossa, J. Multivariate Statistical Machine Learning Methods for Genomic Prediction; Springer International Publishing: Cham, Switzerland, 2022. [Google Scholar]
  17. Izonin, I.; Tkachenko, R.; Greguš, M.; Zub, K.; Lotoshynska, N. Input Doubling Method based on SVR with RBF kernel in Clinical Practice: Focus on Small Data. Procedia Comput. Sci. 2021, 184, 606–613. [Google Scholar] [CrossRef]
  18. Clayton, L.D.; Eernisse, E.P. Quartz thickness-shear mode pressure sensor design for enhanced sensitivity. IEEE Trans. Ultrason. Ferroelectr. Freq. Control. 1998, 45, 1196–1203. [Google Scholar] [CrossRef]
  19. Erhart, J.; Rusin, L.Y.; Seifert, L. Resonant frequency temperature coefficients for the piezoelectric resonators working in various vibration modes. J. Electroceramics 2007, 19, 403–406. [Google Scholar] [CrossRef]
  20. Silva, L.B.M.; Santos, E. Modeling high-resolution down-hole pressure transducer to achieve semi-distributed measurement in oil and gas production wells. J. Integr. Circuits Syst. 2019, 14, 9. [Google Scholar] [CrossRef]
  21. Besson, R.J.; Boy, J.J.; Glotin, B.J.P.; Jinzaki, Y.; Sinha, B.K.; Valdois, M. A dual-mode thickness-shear quartz pressure sensor. IEEE Trans. Ultrason. Ferroelectr. Freq. Control. 1993, 40, 584–591. [Google Scholar] [CrossRef]
  22. Patel, M.S.; Sinha, B.K. Influence of Viscoelastic Stress Relaxation of Glass-Frit Sealing Layer on the Frequency Stability of a Dual-Mode Quartz Pressure Sensor Under Extreme Pressure Conditions. In Proceedings of the 2018 IEEE International Ultrasonics Symposium (IUS), Kobe, Japan, 22–25 October 2018; pp. 1–4. [Google Scholar]
  23. Chkifa, A.; Cohen, A.; Migliorati, G.; Nobile, F.; Tempone, R. Discrete least squares polynomial approximation with random evaluations—Application to parametric and stochastic elliptic PDEs. ESAIM Math. Model. Numer. Anal. 2015, 49, 815–837. [Google Scholar] [CrossRef]
  24. Migliorati, G.; Nobile, F. Analysis of discrete least squares on multivariate polynomial spaces with evaluations at low-discrepancy point sets. J. Complex. 2015, 31, 517–542. [Google Scholar] [CrossRef]
  25. Boor, C.d.; Ron, A. Computational aspects of polynomial interpolation in several variables. Math. Comput. 1992, 58, 705–727. [Google Scholar] [CrossRef]
  26. Binev, P.; Cohen, A.; Dahmen, W.; DeVore, R. Universal Algorithms for Learning Theory. Part II: Piecewise Polynomial Functions. Constr. Approx. 2007, 26, 127–152. [Google Scholar] [CrossRef]
  27. Castro, Y.d.; Gamboa, F.; Henrion, D.; Hess, R.; Lasserre, J.B. Approximate Optimal Designs for Multivariate Polynomial Regression. Ann. Stat. 2019, 47, 127–155. [Google Scholar] [CrossRef]
  28. Alzubaidi, L.; Zhang, J.; Humaidi, A.J.; Al-dujaili, A.; Duan, Y.; Al-Shamma, O.; Santamaría, J.I.; Fadhel, M.A.; Al-Amidie, M.; Farhan, L. Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. J. Big Data 2021, 8, 1–74. [Google Scholar] [CrossRef]
  29. Ballard, Z.S.; Joung, H.-A.; Goncharov, A.; Liang, J.; Nugroho, K.; Di Carlo, D.; Garner, O.B.; Ozcan, A. Deep learning-enabled point-of-care sensing using multiplexed paper-based sensors. NPJ Digit. Med. 2020, 3, 1–8. [Google Scholar] [CrossRef]
  30. Tolstikhin, I.O.; Houlsby, N.; Kolesnikov, A.; Beyer, L.; Zhai, X.; Unterthiner, T.; Yung, J.; Keysers, D.; Uszkoreit, J.; Lucic, M.; et al. MLP-Mixer: An all-MLP Architecture for Vision. In Proceedings of the Neural Information Processing Systems, Virtual, 6–14 December 2021. [Google Scholar]
  31. Ceriotti, M. Beyond potentials: Integrated machine learning models for materials. MRS Bull. 2022, 47, 1045–1053. [Google Scholar] [CrossRef]
  32. Huang, J.; Zhang, J.; Li, X.; Qiao, Y.; Zhang, R.; Kumar, G.S. Investigating the effects of ensemble and weight optimization approaches on neural networks’ performance to estimate the dynamic modulus of asphalt concrete. Road Mater. Pavement Des. 2022, 24, 1939–1959. [Google Scholar] [CrossRef]
  33. Wen, H.; Xie, W.; Pei, J. A pre-radical basis function with deep back propagation neural network research. In Proceedings of the 2014 12th International Conference on Signal Processing (ICSP), Hangzhou, China, 19–23 October 2014; pp. 1489–1494. [Google Scholar]
  34. Zhang, F.; O’Donnell, L. Support Vector Regression. In Machine Learning, 1st ed.; Andrea, M., Sandra, V., Eds.; Academic Press: London, UK, 2020; pp. 123–140. [Google Scholar]
  35. Drucker, H.; Burges, C.J.C.; Kaufman, L.; Smola, A.; Vapnik, V.N. Support Vector Regression Machines. In Proceedings of the Neural Information Processing Systems, Denver, CO, USA, 2–5 December 1996. [Google Scholar]
  36. Li, H.-D.; Liang, Y.; Xu, Q.J.C.; Systems, I.L. Support vector machines and its applications in chemistry. Chemom. Intell. Lab. Syst. 2009, 95, 188–198. [Google Scholar] [CrossRef]
  37. Huang, G.-B.; Zhou, H.; Ding, X.; Zhang, R. Extreme Learning Machine for Regression and Multiclass Classification. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2012, 42, 513–529. [Google Scholar] [CrossRef] [PubMed]
  38. Chang, C.-C.; Lin, C.-J. LIBSVM: A library for support vector machines. ACM Trans. Intell. Syst. Technol. 2011, 2, 21–27. [Google Scholar] [CrossRef]
  39. Canatar, A.; Bordelon, B.; Pehlevan, C. Spectral bias and task-model alignment explain generalization in kernel regression and infinitely wide neural networks. Nat. Commun. 2021, 12, 2914. [Google Scholar] [CrossRef] [PubMed]
  40. Nhu, V.-H.; Hoang, N.-D.; Nguyen, H.; Ngo, P.-T.T.; Thanh Bui, T.; Hoa, P.V.; Samui, P.; Tien Bui, D. Effectiveness assessment of Keras based deep learning with different robust optimization algorithms for shallow landslide susceptibility mapping at tropical area. CATENA 2020, 188, 104458. [Google Scholar] [CrossRef]
  41. Ali, I.; Asif, M.; Shehzad, K.; Rehman, M.R.u.; Kim, D.G.; Rikan, B.S.; Pu, Y.; Yoo, S.-S.; Lee, K. A Highly Accurate, Polynomial-Based Digital Temperature Compensation for Piezoresistive Pressure Sensor in 180 nm CMOS Technology. Sensors 2020, 20, 5256. [Google Scholar] [CrossRef]
  42. Hsia, J.-Y.; Lin, C.-J. Parameter Selection for Linear Support Vector Regression. IEEE Trans. Neural Netw. Learn. Syst. 2020, 31, 5639–5644. [Google Scholar] [CrossRef]
Figure 1. High-precision quartz pressure sensor and packaging. (a) Fabricated AT-cut quartz base pressure sensor device. Two quartz-based end caps bond the resonator through glass-frit layer. (b) Sensors are placed into a stainless housing, where the PCB converts the pressure and temperature signals to frequencies.
Figure 1. High-precision quartz pressure sensor and packaging. (a) Fabricated AT-cut quartz base pressure sensor device. Two quartz-based end caps bond the resonator through glass-frit layer. (b) Sensors are placed into a stainless housing, where the PCB converts the pressure and temperature signals to frequencies.
Micromachines 15 00023 g001
Figure 2. Schematic diagram of pressure detection and calibration system based on quartz devices. Take the ambient temperature of 20 °C and pressure of 5 MPa for instance.
Figure 2. Schematic diagram of pressure detection and calibration system based on quartz devices. Take the ambient temperature of 20 °C and pressure of 5 MPa for instance.
Micromachines 15 00023 g002
Figure 3. Signal flow diagram in accordance with Equation (9).
Figure 3. Signal flow diagram in accordance with Equation (9).
Micromachines 15 00023 g003
Figure 4. An MLP network, consisting of multiple layers of connected neurons.
Figure 4. An MLP network, consisting of multiple layers of connected neurons.
Micromachines 15 00023 g004
Figure 5. Illustration of the search of the optimum value of w ; ε ( w ) is the cost function defined as the sum of squared errors over N .
Figure 5. Illustration of the search of the optimum value of w ; ε ( w ) is the cost function defined as the sum of squared errors over N .
Micromachines 15 00023 g005
Figure 6. Graphical summary of nonlinear SVR.
Figure 6. Graphical summary of nonlinear SVR.
Micromachines 15 00023 g006
Figure 7. Experimental setup of the static calibration test.
Figure 7. Experimental setup of the static calibration test.
Micromachines 15 00023 g007
Figure 8. Temperature influence research on the resonant pressure sensor. (a) Frequency response under a full pressure range of 0–40 MPa and a temperature range of −10–+40 °C. (b) Frequency shift caused by the temperature.
Figure 8. Temperature influence research on the resonant pressure sensor. (a) Frequency response under a full pressure range of 0–40 MPa and a temperature range of −10–+40 °C. (b) Frequency shift caused by the temperature.
Micromachines 15 00023 g008
Figure 9. Relative full-scale error versus pressure under (a) fifth order, and (b) fourth order, respectively.
Figure 9. Relative full-scale error versus pressure under (a) fifth order, and (b) fourth order, respectively.
Micromachines 15 00023 g009
Figure 10. Illustration of the surface as a decision region under (a) fifth order, and (b) sixth order, respectively. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function.
Figure 10. Illustration of the surface as a decision region under (a) fifth order, and (b) sixth order, respectively. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function.
Micromachines 15 00023 g010
Figure 11. Interface diagram of the CTD Panel as a tool to build a temperature compensation model of MPR for the sensor.
Figure 11. Interface diagram of the CTD Panel as a tool to build a temperature compensation model of MPR for the sensor.
Micromachines 15 00023 g011
Figure 12. Learning curve within 2000 epochs.
Figure 12. Learning curve within 2000 epochs.
Micromachines 15 00023 g012
Figure 13. Interface diagram of the CTD Panel used as a tool to build a temperature compensation model of MLP for the sensor. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function.
Figure 13. Interface diagram of the CTD Panel used as a tool to build a temperature compensation model of MLP for the sensor. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function.
Micromachines 15 00023 g013
Figure 14. Accuracy of the resonant pressure sensor based on the MLP temperature compensation model.
Figure 14. Accuracy of the resonant pressure sensor based on the MLP temperature compensation model.
Micromachines 15 00023 g014
Figure 15. Performance of SVR for varying values of parameter γ . (a,b) illustrate the predictive accuracy and generalization ability for γ = 1 × 10−4, respectively, and those for γ = 10 are illustrated in (c,d), respectively. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function. The support vectors of the SVR model are represented by the red dots.
Figure 15. Performance of SVR for varying values of parameter γ . (a,b) illustrate the predictive accuracy and generalization ability for γ = 1 × 10−4, respectively, and those for γ = 10 are illustrated in (c,d), respectively. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function. The support vectors of the SVR model are represented by the red dots.
Micromachines 15 00023 g015aMicromachines 15 00023 g015b
Figure 16. Accuracy of the resonant pressure sensor based on the SVR temperature compensation model.
Figure 16. Accuracy of the resonant pressure sensor based on the SVR temperature compensation model.
Micromachines 15 00023 g016
Figure 17. Interface diagram of the CTD Panel tool for building a temperature compensation model of SVR for the sensor. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function. The support vectors of the SVR model are represented by the red dots.
Figure 17. Interface diagram of the CTD Panel tool for building a temperature compensation model of SVR for the sensor. Calibration data is indicated by the yellow dots, and the green areas depict the three-dimensional graphs of the regression function. The support vectors of the SVR model are represented by the red dots.
Micromachines 15 00023 g017
Figure 18. A comparison of three different learning methods for predicting pressure.
Figure 18. A comparison of three different learning methods for predicting pressure.
Micromachines 15 00023 g018
Table 1. An overview of the performance of MPR, MLP, and SVR for temperature compensation in a quartz resonant pressure sensor.
Table 1. An overview of the performance of MPR, MLP, and SVR for temperature compensation in a quartz resonant pressure sensor.
MethodMaximum Absolute Error (MPa)The Residual Error at all Temperatures of Full Scale Rank of Generalization Ability
MPR0.00320.008% FSHigh
MLP0.120.3% FSLow
SVR0.020.05% FSMiddle
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yao, B.; Xu, Y.; Jing, J.; Zhang, W.; Guo, Y.; Zhang, Z.; Zhang, S.; Liu, J.; Xue, C. Comparison and Verification of Three Algorithms for Accuracy Improvement of Quartz Resonant Pressure Sensors. Micromachines 2024, 15, 23. https://doi.org/10.3390/mi15010023

AMA Style

Yao B, Xu Y, Jing J, Zhang W, Guo Y, Zhang Z, Zhang S, Liu J, Xue C. Comparison and Verification of Three Algorithms for Accuracy Improvement of Quartz Resonant Pressure Sensors. Micromachines. 2024; 15(1):23. https://doi.org/10.3390/mi15010023

Chicago/Turabian Style

Yao, Bin, Yanbo Xu, Junming Jing, Wenjun Zhang, Yuzhen Guo, Zengxing Zhang, Shiqiang Zhang, Jianwei Liu, and Chenyang Xue. 2024. "Comparison and Verification of Three Algorithms for Accuracy Improvement of Quartz Resonant Pressure Sensors" Micromachines 15, no. 1: 23. https://doi.org/10.3390/mi15010023

APA Style

Yao, B., Xu, Y., Jing, J., Zhang, W., Guo, Y., Zhang, Z., Zhang, S., Liu, J., & Xue, C. (2024). Comparison and Verification of Three Algorithms for Accuracy Improvement of Quartz Resonant Pressure Sensors. Micromachines, 15(1), 23. https://doi.org/10.3390/mi15010023

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop