Next Article in Journal
A Real-Time Imaging Algorithm Based on Sub-Aperture CS-Dechirp for GF3-SAR Data
Previous Article in Journal
Vehicle Counting Based on Vehicle Detection and Tracking from Aerial Videos
Previous Article in Special Issue
Pressure Distribution during Negative Pressure Wound Therapy of Experimental Abdominal Compartment Syndrome in a Porcine Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Self-Calibration Algorithm for a Pressure Sensor with a Real-Time Approach Based on an Artificial Neural Network

by
Ahmed M. M. Almassri
1,2,*,
Wan Zuha Wan Hasan
2,3,*,
Siti Anom Ahmad
2,4,
Suhaidi Shafie
2,3,
Chikamune Wada
1,* and
Keiichi Horio
1
1
Graduate School of Life Science and Systems Engineering, Kyushu Institute of Technology, 2–4 Hibikino, Wakamatsu-ku, Kitakyushu 808-0196, Japan
2
Department of Electrical and Electronic Engineering, Faculty of Engineering, Universiti Putra Malaysia, Serdang 43400, Selangor, Malaysia
3
Institute of Advanced Technology, Universiti Putra Malaysia, Serdang 43400, Selangor, Malaysia
4
Malaysian Research Institute on Ageing, Universiti Putra Malaysia, Serdang 43400, Selangor, Malaysia
*
Authors to whom correspondence should be addressed.
Sensors 2018, 18(8), 2561; https://doi.org/10.3390/s18082561
Submission received: 16 July 2018 / Revised: 29 July 2018 / Accepted: 1 August 2018 / Published: 5 August 2018
(This article belongs to the Special Issue Force and Pressure Based Sensing Medical Application)

Abstract

:
This paper presents a novel approach to predicting self-calibration in a pressure sensor using a proposed Levenberg Marquardt Back Propagation Artificial Neural Network (LMBP-ANN) model. The self-calibration algorithm should be able to fix major problems in the pressure sensor such as hysteresis, variation in gain and lack of linearity with high accuracy. The traditional calibration process for this kind of sensor is a time-consuming task because it is usually done through manual and repetitive identification. Furthermore, a traditional computational method is inadequate for solving the problem since it is extremely difficult to resolve the mathematical formula among multiple confounding pressure variables. Accordingly, this paper describes a new self-calibration methodology for nonlinear pressure sensors based on an LMBP-ANN model. The proposed method was achieved using a collected dataset from pressure sensors in real time. The load cell will be used as a reference for measuring the applied force. The proposed method was validated by comparing the output pressure of the trained network with the experimental target pressure (reference). This paper also shows that the proposed model exhibited a remarkable performance than traditional methods with a max mean square error of 0.17325 and an R-value over 0.99 for the total response of training, testing and validation. To verify the proposed model’s capability to build a self-calibration algorithm, the model was tested using an untrained input data set. As a result, the proposed LMBP-ANN model for self-calibration purposes is able to successfully predict the desired pressure over time, even the uncertain behaviour of the pressure sensors due to its material creep. This means that the proposed model overcomes the problems of hysteresis, variation in gain and lack of linearity over time. In return, this can be used to enhance the durability of the grasping mechanism, leading to a more robust and secure grasp for paralyzed hands. Furthermore, the exposed analysis approach in this paper can be a useful methodology for the user to evaluate the performance of any measurement system in a real-time environment.

1. Introduction

Pressure sensors are essential elements in many modern robotic applications, like robotic hands, due to their ability to facilitate data acquisition (DAQ) and to develop an actual measurement system. Day by day, robotic hands are becoming more important features in our daily life, as it involves the environment, grasping objects, performing tasks or even emulating the human hand. Some types of robotic hands have been implemented for various purposes such as dexterous manipulation [1,2], artificial limbs [3], grasping objects [4,5], rehabilitation applications [6,7,8] and pick and place applications [9]. However, in rehabilitation applications, the development of wearable robotic hand gloves based on pressure sensors for a measurement system involves the design of an adequate model with the least possible calibration time and highly accurate measurement data. Furthermore, it should be able to address different input sensors [10,11] and at the same time be able to overcome the nonlinearity output signal issue. In fact, the linearization of output signal sensors and the calibration process are the major items that are involved in defining the features of a pressure sensor.
In the literature, traditional methods to analyse and model output signal sensors have been introduced. For example, second-order models have been used in [12]. In these models, various techniques can be used to conduct more accurate results in linearization, such as analogue, digital and computer look-up ROM tables [13,14,15,16,17]. Other work has used metal oxide semiconductor (MOS) technologies to solve the nonlinear response. The aforementioned traditional calibration methods is a time-consuming task because calibration is usually done by manual and repetitive identification [18]. Moreover, the algorithm can be applied specifically for a particular sensor but is not appropriate to be used in a general measurement system.
Thus, as time elapses during manipulation in real time (RT), some pressure sensor parameters are changed due to hysteresis, variation in gain and lack of linearity [10,19]. This negatively affects the calibrated output data. Thereby, inaccurate pressure measurements appear. This implies that these sensors compensate to eliminate the systematic errors and to ease the calibration. Previous calibration algorithms for intelligent sensors have been implemented [11,20,21,22,23,24]. In detail, researchers have different options for algorithms, some of which are recursive algorithms [24,25] or artificial neural networks [10,26]. The former cannot be applied in a general way, one of which is the progressive polynomial algorithm [24]. Neither its effectiveness, nor the number of readjustment points required to achieve a minimal error have yet been proven. Furthermore, the calibration cost is still high.
However, one study investigated the same proposed pressure sensor that was tested herein [27]. A nonlinear model based on traditional computational methods was proposed. Unfortunately, this model couldn’t be applied in real time when a high measurement accuracy for multiple sensors is needed. The mathematical relationship, through data interpolation using a traditional computational method, is inadequate for solving the problem. Since the pressure change of the sensor over time is one of the compounding variables, it is extremely difficult to resolve the mathematical formula because of the requirement of complex calibration, calculation procedures and limited improvement in accuracy [28]. In this case, a self-calibration algorithm based on artificial neural network is recommended to overcome the aforementioned issues.
Currently, neural networks are used for linearization in which the transfer function response curve of the sensor can be identified and the amplifiers linearized [29,30]. ANNs are advantageous because feedforward networks are universal approximators capable of learning continuous functions with any desired degree of accuracy [31]. In most cases, the ANN model was trained using the back-propagation (BP) algorithm [32]. ANNs offer a reliable tool that can model and predict complex problems [33]. It has the ability to capture complex interactions between different variables with a high self-learning capability. Furthermore, ANNs can be applied to a variety of tasks and problems, such as classification, interpretation, diagnosis, modelling, and control. They are more suitable to problems that are highly complex to solve by mathematical modelling or other classical procedures [32].
Therefore, based on the aforementioned advantages of ANN, this paper presents a novel approach to predicting the self-calibration of a pressure sensor with real time based on the Levenberg Marquardt Back Propagation Artificial Neural Network (LMBP-ANN) model. Our approach provides a self-calibration method to obtain and calibrate the model for pressure estimation to the grasped object using wearable robotic hand glove. After obtaining an accurate pressure for the grasped object, the secure grasp as well as rehabilitation system for patient with paralyzed hand can be successfully designed.
Furthermore, the proposed model can simplify the self-calibration process by increasing the accuracy and reducing the time of training and evaluation algorithm. As a consequence, the confidence performance of the system is enhanced, and the cost of the calibration services is reduced. To validate the proposed approach, we provide real experiments of the pressure sensor with a comparison between the reference (obtained by the load cell) and the developed approach by using the LMBP-ANN model.
The paper structure is organized as follows: the measurement system consideration and calibration as well as ANN architectures and parameters are presented in Section 2; Section 3 presents the results of calibration pressure sensor, training and evaluation of the algorithm and the performance of LMBP-ANN model; the testing and evaluation of the trained network is shown in Section 4; and finally, Section 5 shows the main conclusions and future work.

2. Methods

This section demonstrates the consideration of the measurement system including the conditioning and calibration of the pressure sensor used. Furthermore, it describes the artificial neural network model to be implemented for the self-calibration of pressure measurement system. The parameters of training algorithm to be applied are also introduced.

2.1. Measurement System Consideration and Calibration

The calibration process is being performed in real time or for dynamic manipulation in which a nonlinearity of the pressure sensors in the dynamic behaviour has occurred. Due to the calibration process, to ensure the high accuracy of the measurement system and optimal performance, the conditioning of the FlexiForce sensor (Tekscan, South Boston, MA, USA) model A201 has been utilized in dynamic loading. Figure 1a describes the experimental setup conditioning the FlexiForce sensor for the measurement system. Five FlexiForce sensors ① have been developed, and their characterization is defined, as well. In addition, the data acquisition device (DAQ) ②, conditioning circuit ③, trigger circuit using Arduino ④, load cell ⑤ and strain amplifier ⑥ have been used and incorporated into the system, as illustrated in Figure 1a. It is shown that in practical cases, the sensor is incorporated into a circuit to perform a pressure to voltage conversion.
Before using the sensor, it was conditioned by applying 110% (or more) of the maximum test load onto the sensor for a few minutes to break it in. This process should be repeated various times in order to stabilize the output resistance to offer the best result. In this research, a dynamic application is one of the purposes to be implemented so that the performance of the pressure sensor is evaluated in a dynamic environment.
Accordingly, a dynamic loading on the sensing area of the FlexiForce sensor was applied using the CT3 Texture Analyser machine (Tekscan, South Boston, USA) as demonstrated in Figure 1b. The machine performs the experiment by applying controlled forces in compression using a probe. In compression mode, a probe moves down slowly at the pre-test speed until a threshold value (the trigger) is reached. The probe then moves a set distance at a set speed into the sample pressure sensor that is placed on the base table of the load cell. The load cell will be used as a reference for measuring the applied force until the probe again returns to its starting position. The reference force was measured by a calibrated industrial load cell force sensor connected to a signal amplifier.
A FlexiForce sensor A201 was used with a standard force range of 0–25 lb (110 N), sensing area of 0.375″ in diameter (9.53 mm) and 0.008″ in thickness (0.208 mm). The sensor consisted of two layers of substrate. This substrate is composed of polyester film that enhances the force sensing and improves the performance including linearity, hysteresis, drift and temperature sensitivity compared to any other thin film [34,35,36,37,38]. Furthermore, it is flexible and ultrathin enough so that the researchers and designers can use it in different integrated applications, as well as for applications that are oriented towards manipulative tasks based on wearable robotic hand glove.
However, one of the aims of using the proposed measurement system is to create secure grasp for paralyzed patients by developing a wearable robotic hand glove with a robust sensing mechanism. Therefore, to ensure the highest performance and accuracy of the calibration process, a conditioning sensor was utilized by loading it at more than 30 N for a few cycles or pulses. The maximum load was selected to be an upper value of 44.13 N, as recent experiments have found that the typical maximum finger force produced by humans is no higher than 30 N [39]. In addition, a plastic puck (8.75 mm) in diameter is an object placed between the sensing area and load to ensure that the sensor captures 100% of the applied load if the contacting surface is larger than the sensor diameter and to reduce the high pressure for point load applications.
The CT3 Texture Analyser with the standard cylinder probe made from plastic clear acrylic of 52.4 mm in diameter, 21 g and 35 mm long was used to apply a force on the sensing area of the pressure sensor. The diameter of the probe (52.4 mm) is larger than the sensing area of the sensor (9.53 mm) and the diameter of puck (8.75 mm) in order to imitate the real-world desired application and increase the performance output results.
Generally, rehabilitation of the upper limbs is crucial for paralyzed patients; one hour of repetitive exercise every session is desired to recover the hand function, which is executed within three stages with 20 min for every stage. The target of this paper is to generate a secure grip for paralyzed patient by ensuring, and covering; the analysis of the pressure output signal within at least 20 min of dynamic manipulation as a first stage towards recovering hand functions. Thus, five FlexiForce sensors were used to conduct the experiment, which were later distributed to the five fingers of the wearable robotic hand glove. Subsequently, to evaluate how the sensor behaves over time, a dynamic calibration of 20 min was performed for each sensor with different maximum loading and holding times.
In this paper, the first stage, using the CT3 Texture Analyser machine, was performed with a number of compression pulses upon a pressure sensor with 44.13 N and a 10 s holding time at the maximum load in every pulse and a 100 Hz sampling rate. The proposed test speed of the machine probe is 0.1 mm/s, which takes into consideration the sensor’s thickness (0.208 mm).
The implementation and training algorithm for dynamic calibration is essential, and generation of a data set is important in order to create a potential model that is able to enhance the grasping mechanism. Thus, the dataset was collected, including the output voltage from the sensor and its corresponding target pressure. The proposed model is being implemented based on the Artificial Neural Network (ANN) using the dynamic calibration dataset.
Prior to any ANN model design, some considerations were necessary. The output electrical signal x′ of any sensor in response to the input variable v′, which will be measured, is defined by:
  x   =   f   ( v )
In most of the cases, the input and output variables of pressure sensors have different scales, and they should be normalized in the range of [0, 1] to simplify their manipulation. This can be obtained by the normalization method as mentioned in [10]. In addition, the desired output signal is a straight line with unit slope, and this will be the target in the calibration process and will be the reference signal ( t ). Finally, the least mean square error (MSE) will be used to determine the linearity of the output signal ( y ) of the ANN:
ε m s e = 1 N n = 1 N ( y n t n ) 2  

2.2. Artificial Neural Network Architectures and Parameters

Since there is no commonly accepted optimal method to determine the best architecture of an ANN, a trial and error approach was adopted [32]. The number of neurons, number of layers, activation functions, training algorithm and the computation requirements are the major characteristics considered during the design. These features were determined under the restriction of archiving the least output error and the simplest ANN structure. Accordingly, the design of the network architecture started with fewer hidden neurons and then the number of hidden neurons was adjusted. The proposed architecture of the ANN model that provided best generalization was retained and is illustrated in Figure 2. In fact, multiple layers of neurons with nonlinear transfer functions allowed the network to learn the nonlinear and linear relationships between the input and output vectors. Therefore, the proposed network consists of two inputs (nodes) representing the parameters influencing the self-calibration of pressure sensor, along with 10 neurons in the hidden layer and a logarithmic activation function. The output layer is a single neuron with a linear activation function representing the pressure pattern as indication of self-calibration.
The output of the ANN used is defined by:
  y = Purelin [ w i 2 ( Tan sig ( w i 1 x + b i 1 ) ) + b i 2 ] ,   i = 1   to 10  
where x is the normalized output sensor signal, the weights are represented by the vector w, b is the bias and y is the linearized or self-calibration signal.
There are several known activation functions including the sigmoid, ramp and Gaussian functions that allow neural networks to solve difficult problems. In the case of a multilayer network with receptive fields, using the sigmoid function as an activation function is generally recommended [40]. In this study, the tan-sigmoid function, shown in Equation (4), was used in the hidden layer and a pure linear transfer function, as shown in Equation (5), was used in the output layer neurons:
Tansig ( x ) = 2 1 + e ( 2 x )
  Purelin ( x ) = x
Several topologies of ANN were evaluated such as multiplayer perceptron (MLP) and radial basis function (RBF) [41,42]. Both types of networks are competent of universal approximation capabilities. Although, it is known that RBFs are worthy function approximation systems, the MLP was selected because is simpler than the RBF. Furthermore, the RBF network is computationally demanding [43,44]. However, a faster algorithm, by minimizing the MSE, increasing the convergence speed and selection of the appropriate learning rate, are the main roles of a successful training of the algorithm. The Levenberg-Marquardt backpropagation (LMBP) was designed for minimizing functions that are sums of squares of other nonlinear functions. Furthermore, it is able to reduce the sum of squares at each iteration [45]. The flowchart of this algorithm is clarified in [10]. This is very well suited to neural network training where the performance index is the MSE that is desired in this research. Consequently, for our proposal, the most appropriate ANN model to be implemented was a feed forward MLP based on LMBP training algorithm.
Table 1 shows the specifications and values of the parameters used in the LMBP-ANN model. The calibrated data are randomly classified into training, validation and testing subsets to avoid any bias. Additionally, a traditional training-validation-test procedure is adopted for the optimization of an ANN model. The training set was used to build model structures and to determine the ANN weights and biases to minimize the error function and maximize accuracy in each iteration. The validation set was used to validate an optimal parameter set to avoid overfitting and provides an unbiased estimate of the generalization error of the model. Conversely, the testing set was only used to explore the performance of the trained model and confirm its generalizability. The training continued until the validation error failed to decrease for six iterations (validation stop).
However, the MATLAB program was used to execute the LMBP-ANN training process and output calculation based on the proposed method. The training process of the proposed network model updated the weight values in the connection between neurons. The outputs of the ANN used, as defined in Equation (3), were calculated in order to include the biases and weights. At each time an artificial neural network was trained, this could result in a different solution due to different initial weights and biases values and different divisions of data into training, validation and test sets. As a result, different artificial neural networks trained on the same problem could give different outputs for the same input. To ensure a high accuracy result of training ANN, it was retrained several times.
Accordingly, a trial-and-error approach was used, and the calculated results of weights and biases are the best output obtained after several times of training the algorithm. The output of training was updated automatically in each iteration until it reached the highest performance by achieving the minimum MSE. This means a self-calibration method has been achieved and accomplished successfully.

3. Results

Here, we present the results of the proposed method. The analysis and experimental results for the developed measurement system using the pressure sensor are presented. After that, the training and evaluation of the self-calibration algorithm were implemented. Finally, the performance of the LMBP-ANN model was validated.

3.1. Calibration Pressure Sensor

The dynamic calibration process involved the calibration of the measurements as they changed over time. The CT3 Texture Analyser was used to apply continuous force on the pressure sensor. As the pressure changed with time, the type of calibration recommended was dynamic calibration. Thus, the calibration of the five pressure sensors was implemented dynamically. However, to make reasonable inferences for the application, such as the grasping mechanism analysis and the secure grasp using the wearable robotic hand glove, it was necessary to have an accurate measurement data from pressure sensors. Hence, the sensor signal model needed to be analysed to learn the fundamental relation between a sensor reading (Vo) and an applied force (F). An analogue conditioning circuit based on the pressure measurement system was employed to calibrate and extract data from the utilized sensors to be processed. The fundamental relationship between a sensor reading, Vo, and an applied force, F, was recorded for five pressure sensors, as described in Figure 3. The non-stationarity of the force sensor signals due to variation in its characterization was obvious. The equations of the relationship between the voltage and target pressure for each sensor were calculated, and these were used as a reference for further calibrations. Although the same sensors were utilized under the same experimental conditions, different measurement outputs were recorded.
To additional clarify the behaviour of each sensor over time, the process of calibration was repeated several times, and the errors due to nonlinearity, hysteresis and non-repeatability were determined. Figure 4 demonstrates the relative measured voltage change of the sensor over the course of 20 min while exerting a dynamic force of 44.13 N with 28 repetition pulses and a 10 s holding time at the maximum load. Therefore, sensor 1 of Figure 4 clarified the behaviour of output voltage while applying a dynamic force for 20 min. A decrease in the output voltage over time was observed even as the same pressure forces were applied in each pulse. For instance, it decreased from 1.237357 V to 1.087904 V over the entirety of the calibration period.
Moreover, as different sensors were utilized under the same conditions, different measurements of the relative output voltage were detected. For instance, the maximum output peak voltages for sensor 1 to sensor 5 during the whole period of calibration under the same applied pressure were 1.237357, 1.751546, 1.687251, 1.494452 and 1.883202 respectively. The changes in voltage output and the ultimate voltage of the sensor 5 were the highest due to material creep of piezoresistivity over time.
This means a symmetric error such as hysteresis, variation in gain and lack of linearity had appeared, which negatively affected the measurement systems. Thus, in order to develop pressure sensors for measurement systems in real time with improved features of calibration time and high accuracy, implementation of a self-calibration algorithm was recommended.

3.2. Training and Evaluation

In the proposed method, Levenberg Marquardt Back Propagation Artificial Neural Network (LMBP-ANN) is implemented through the MATLAB Neural Network toolbox with some modifications. A back propagation algorithm is commonly used to train feed forward networks. In the LMBP, the data flows from input layer to the hidden layer and finally to the output layer. The error signals generated in the output layer is back propagated to the hidden and input layers. The sum of squares error signals is minimized by adjusting synapse weight coefficients.
For the training algorithm, the generation of data sets is important. The data were collected from the pressure measurement system using five pressure sensors and the CT3 Texture Analyser machine as well as load cell force sensor that was used as a reference for the calibrated data. The training ANN was performed for each pressure sensor with more than 132,000 calibration data obtained during the 20 min of dynamic loading. The topology of the proposed LMBP-ANN model is demonstrated in Figure 5. For each sensor of experimental calibration, 132,243 dataset samples were obtained while applying dynamic pressure using CT3 Texture Analyser machine.
Since there was a decrease in the output voltage over time along with fluctuation, time was considered as an input of the ANN model and identified dynamically. Consequently, instead of using time, the number of cycles or pulses was selected because it can represent the decrease of output voltage during calibration process.
Therefore, a 2 × 132,243 matrix of measurement data points from sensor 1 was identified for the algorithm to be trained. One row represented the output voltage of the pressure sensor, and the second one represented the number of cycles or pulses obtained along with the output voltage over time. The target output of the training algorithm was the pressure with a 1 × 132,243 matrix that was obtained from the reference of the load cell along the calibration process. Table 2 demonstrates the input and target data set of the training algorithm for pressure sensor 1. The table shows the calibrated data of voltage output sensor and its corresponding target pressure from the first pulse of calibration until the last one. The fluctuation in obtained voltage of the same pulse was measured and compared to other pulses.
The training process continued, epoch after epoch, until a best validated performance was found. Figure 6 shows variations of the MSE with training epochs. The errors of the training data, validation data and testing data kept decreasing until the validation error failed to decrease for six iterations (validation stop). In this training, the trained network had the best validated performance at epoch 1000. It was obvious that the result was reasonable because of the following considerations: the final MSE was small (0.17325); the test set error and the validation set error had similar characteristics, and no significant overfitting occurred by Iteration 1000 (where the best validation performance occurred).

3.3. Performance of the LMBP-ANN Model

The performance of the LMBP-ANN model mainly depended on its ability to predict the experimental output data with reasonable accuracy. As shown in Figure 7, the ANN model output was able to accurately predict the self-calibration of the pressure relative to the actual experimental data. For instance, the coefficient of determination (R2) of model prediction versus experimental data for the training, validation and test data sets are 0.99975, 0.99975, and 0.99974, respectively. Thus, it can be argued that the proposed ANN model captured the relationships between the provided input and output data with acceptable accuracy, indicating excellent performance. Furthermore, regardless of the fluctuating input pressure data set to the trained network, a remarkable agreement between the network’s output pressure and target pressure for all data was observed.
The reliability of the proposed LMBP-ANN model for the complete data set was also evaluated via the mean-square error (MSE) and coefficient of determination (R2) between the model’s predictions and experimental results. The MSE value according to Equation (2) was 0.17325 and R2 value was 0.99975, which also indicated adequate performance.
In addition to the aforementioned validity of the network performance, the histogram method was also used to obtain additional verification of the network performance. Figure 8 demonstrates the data distribution of a continuous variable, and the blue, green and red bars represent training, validation and testing data, respectively. The histogram can give an indication of the outliers, which are data points where the fit is significantly worse than the majority of data. In this case, most of the errors fell between −1 and 1, and there were no outliers for either training or validation points, as evidenced in the testing regression plot. Hence, there was no need to collect more data, and the 20 min of calibrated data was enough for this training algorithm.
The weight and bias matrices for the trained neural network at epoch 1000 are shown below, which were saved and will be programmed into the microcontroller in order to determine the pressure compensation.
w 1 = [ 1.7726 3.4390 1.7749 10.6532 1.9292 1.9490 1.7341 2.3523 30.8504 0.1039 10.5291 14.2303 10.8452 1.2110 0.1852 0.4000 0.1946 4.2049 0.1098 8.7989 ]
b 1 = [ 9.4999 12.0687 9.7591 7.7675 0.5226 1.8499 1.5887 5.1865 29.6176 10.0108 ]
w 2 = [ 1.0908 0.0067 1.0582   0.0725   0.3733 0.7917 1.6182 0.0377 0.0921 0.1490 ]
  b 2 = [ 0.1844 ]
w1 represents the weight between the input layer and the hidden layer, w2 represents the weight between the hidden layer and the output layer, and b1 and b2 denote the bias of the hidden layer and the output layer, respectively.

4. Neural Network Testing and Evaluation with Untrained Data Sets

The performance and effectiveness of the trained network were further evaluated using a new independent input data set that the algorithm has never been trained on. Two new vectors, with 3600 input data, were introduced to the LMBP-ANN model in order to predict the self-calibration of pressure. One vector represents the input voltage and the other one denotes the number of pulses for pressure sensor 1 as a sample. Voltage data, with values from 0 to 1.2 in 0.01 increments, were fed into the neural network simultaneously with number of pulses. The matrix of 1 × 3600 was the output of the trained algorithm (predicted data), which represents the desired pressure.
As shown in Figure 9, the proposed LMBP-ANN model was able to predict the self-calibration of pressure relative to either with target pressure (reference) or without target pressure. It is clear that the predicted output tracked the target successfully during the first 28 pulses which were calibrated previously as introduced in Section 3.1. The estimated pressure pattern in the middle of target can be observed from Figure 9 and there are no data outliers. Furthermore, another two pulses after pulse 28 were predicted correctly even when no reference had been used. The results verify that the trained neural network can effectively correct and accurately measure the input pressure, which proves sufficient performance.
To clarify more how the proposed LMBP-ANN model performs either after 20 min of calibration time or if the applied pressure was higher than target pressure (reference), the model was tested from pulse 28 onward as shown in Figure 10. The blue curve is the target pressure, which represents the reference for the tested data, while the red is the output pressure (predicted) of the trained neural network for a new untrained input data. As appears in the graph, the proposed model has effectively estimated the desired data in line with the target and has achieved a typical performance at pulse number 28 (20 min onwards). After that, a new predicted data has been successfully estimated and it was compatible with the estimated pattern even the reference no longer exists, as shown at the end of curve. However, the two blue lines of target pressure are due to the hysteresis of sensor calibration. Although the hysteresis of the sensor had increased during the process time, the proposed model kept the prediction of the desired data within the target range.
As a result, the proposed LMBP-ANN model for self-calibration purpose was able to successfully predict the desired pressure over time, even the uncertain behaviour of the pressure sensors due to its material creep. This means the proposed model overcomes the problems of hysteresis, variation in gain and lack of linearity over time.

5. Conclusions

In this paper, a novel pressure sensor self-calibration estimation method is developed for a secure grasp of a paralyzed hand based on wearable robotic hand gloves. The developed method was implemented using the proposed Levenberg Marquardt Back Propagation Artificial Neural Network (LMBP-ANN) model. The LMBP training algorithm was effectively applied in the ANN model to minimize the MSE and to determine the optimal parameters that govern the input-output relationship of the model. Experimental data of pressure measurement system was collected in real time. With the pressure data obtained, the developed LMBP-ANN model was trained.
The experimental results showed that the developed LMBP-ANN model can accurately estimate the applied pressure, and its performance is advantageous over other traditional methods with respect to estimation accuracy in real time. The reliability of the proposed model for the complete data set was evaluated via the mean-square error (MSE) and coefficient of determination (R2) between the model’s predictions and experimental results. The MSE value was 0.17325 and R2 value was 0.99975, which indicated adequate performance. Future works are related to the implementation of this method in microcontroller using wearable robotic hand glove based on pressure sensing mechanism.

Supplementary Materials

The following are available online at https://www.mdpi.com/1424-8220/18/8/2561/s1, Video S1: Dynamic calibration of pressure sensor using the CT3 Texture Analyser while applying force of 44.13 N (10 s holding time, 100 Hz sample rate).

Author Contributions

A.M.M.A. designed and performed the experiments. W.Z.W.H. contributed in robotic hand filed. C.W. and S.A.A. gave a share in signal processing and rehabilitation. K.H. and A.M.M.A. conceived implemented the algorithm. S.S. contributed materials and sensors. A.M.M.A. wrote the paper.

Funding

This research was funded by a Fundamental Research Grant Scheme (FRGS) under Project Code: 03-01-17-1893FR from the Malaysian Ministry of Higher Education (MOHE) and from Kyushu Institute of Technology (Kyutech), Japan.

Acknowledgments

The authors would like to thank the support from the Malaysian Ministry of Higher Education (MOHE) and from Kyushu Institute of Technology (Kyutech), Japan. We would like to thank The University of Kitakyushu, Faculty of Environmental Engineering, Japan for their support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Choi, W.-C. Polymer micromachined flexible tactile sensor for three-axial loads detection. Trans. Electr. Electron. Mater. 2010, 11, 130–133. [Google Scholar] [CrossRef]
  2. Rodriguez, A.; Mason, M.T.; Srinivasa, S.S. Manipulation capabilities with simple hands. In Experimental Robotics; Springer: Berlin, Germany, 2014; pp. 285–299. [Google Scholar]
  3. Lee, H.-K.; Chung, J.; Chang, S.-I.; Yoon, E. Normal and shear force measurement using a flexible polymer tactile sensor with embedded multiple capacitors. J. Microelectromech. Syst. 2008, 17, 934–942. [Google Scholar]
  4. Mizelmoe, L.C. Gripper for Objects. U.S. Patent 8,210,587, 3 July 2012. [Google Scholar]
  5. Lippiello, V.; Ruggiero, F.; Siciliano, B.; Villani, L. Visual grasp planning for unknown objects using a multifingered robotic hand. IEEE/ASME Trans. Mechatron. 2013, 18, 1050–1059. [Google Scholar] [CrossRef]
  6. Sale, P.; Lombardi, V.; Franceschini, M. Hand robotics rehabilitation: Feasibility and preliminary results of a robotic treatment in patients with hemiparesis. Stroke Res. Treat. 2012, 2012, 820931. [Google Scholar] [CrossRef] [PubMed]
  7. Ho, N.S.K.; Tong, K.Y.; Hu, X.L.; Fung, K.L.; Wei, X.J.; Rong, W.; Susanto, E.A. An EMG-driven exoskeleton hand robotic training device on chronic stroke subjects: Task training system for stroke rehabilitation. In Proceedings of the 2011 IEEE International Conference on Rehabilitation Robotics, Zurich, Switzerland, 29 June–1 July 2011; pp. 1–5. [Google Scholar]
  8. Chang, P.-H.; Lee, S.-H.; Gu, G.M.; Lee, S.-H.; Jin, S.-H.; Yeo, S.S.; Seo, J.P.; Jang, S.H. The cortical activation pattern by a rehabilitation robotic hand: A functional NIRS study. Front. Hum. Neurosci. 2014, 8, 49. [Google Scholar] [CrossRef] [PubMed]
  9. Zhang, Y.; Chen, B.K.; Liu, X.; Sun, Y. Autonomous robotic pick-and-place of microobjects. IEEE Trans. Robot. 2010, 26, 200–207. [Google Scholar] [CrossRef]
  10. Rivera, J.; Carrillo, M.; Chacón, M.; Herrera, G.; Bojorquez, G. Self-calibration and optimal response in intelligent sensors design based on artificial neural networks. Sensors 2007, 7, 1509–1529. [Google Scholar] [CrossRef]
  11. Rivera, J.; Herrera, G.; Chacón, M.; Acosta, P.; Carrillo, M. Improved progressive polynomial algorithm for self-adjustment and optimal response in intelligent sensors. Sensors 2008, 8, 7410–7427. [Google Scholar] [CrossRef] [PubMed]
  12. Khachab, N.I.; Ismail, M. Linearization techniques for nth-order sensor models in MOS VLSI technology. IEEE Trans. Circuits Syst. 1991, 38, 1439–1450. [Google Scholar] [CrossRef]
  13. Trofimenkoff, F.; Smallwood, R. JFET circuit linearizes transducer output. IEEE Trans. Instrum. Meas. 1973, 22, 191–193. [Google Scholar] [CrossRef]
  14. Trofimenkoff, F.; Smallwood, R.E. Analog-multiplier circuit linearizes transducer output. IEEE Trans. Instrum. Meas. 1974, 23, 195–197. [Google Scholar] [CrossRef]
  15. Mahana, P.N.; Trofimenkoff, F. Transducer output signal processing using an eight-bit microcomputer. IEEE Trans. Instrum. Meas. 1986, 1001, 182–186. [Google Scholar] [CrossRef]
  16. Iglesias, G.E.; Iglesias, E.A. Linearization of transducer signals using an analog-to-digital converter. IEEE Trans. Instrum. Meas. 1988, 37, 53–57. [Google Scholar] [CrossRef]
  17. Patranabis, D.; Ghosh, D. A novel software-based transducer linearizer. IEEE Trans. Instrum. Meas. 1989, 38, 1122–1126. [Google Scholar] [CrossRef]
  18. Farias, G.; Fabregas, E.; Peralta, E.; Vargas, H.; Hermosilla, G.; Garcia, G.; Dormido, S. A Neural Network Approach for Building an Obstacle Detection Model by Fusion of Proximity Sensors Data. Sensors 2018, 18, 683. [Google Scholar] [CrossRef] [PubMed]
  19. Rivas, J.R.; Lou, F.; Harrison, H.; Key, N. Measurement and Calibration of Centrifugal Compressor Pressure Scanning Instrumentation. 2015. Available online: https://docs.lib.purdue.edu/surf/2015/presentations/40/ (accessed on 2 August 2018).
  20. Rivera-Mejía, J.; Arzabala-Contreras, E.; León-Rubio, Á.G. Approach to the validation function of intelligent sensors based on error’s predictors. In Proceedings of the 2010 IEEE Instrumentation & Measurement Technology Conference, Austin, TX, USA, 3–6 May 2010; pp. 1121–1125. [Google Scholar]
  21. Rivera-Mejía, J.; Carrillo-Romero, M.; Herrera-Ruíz, G. Quantitative evaluation of self compensation algorithms applied in intelligent sensors. In Proceedings of the 2010 IEEE Instrumentation & Measurement Technology Conference, Austin, TX, USA, 3–6 May 2010; pp. 1116–1120. [Google Scholar]
  22. Rivera-Mejía, J.; Villafuerte-Arroyo, J.E.; Vega-Pineda, J. Evaluation of the Progressive Polynomial Compensation Algorithm for dynamic or Real-Time applications. In Proceedings of the 2013 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Minneapolis, MN, USA, 6–9 May 2013; pp. 861–865. [Google Scholar]
  23. Rivera-Mejía, J.; Villafuerte-Arroyo, J.E.; Vega-Pineda, J.; Sandoval-Rodríguez, R. Comparison of Compensation Algorithms for Smart Sensors With Approach to Real-Time or Dynamic Applications. IEEE Sens. J. 2015, 15, 7071–7080. [Google Scholar] [CrossRef]
  24. Lyahou, K.F.; van der Horn, G.; Huijsing, J.H. A noniterative polynomial 2-D calibration method implemented in a microcontroller. IEEE Trans. Instrum. Meas. 1997, 46, 752–757. [Google Scholar] [CrossRef] [Green Version]
  25. Pereira, J.D.; Postolache, O.; Girao, P.S. Adaptive self-calibration algorithm for smart sensors linearization. In Proceedings of the 2005 IEEE Instrumentationand Measurement Technology Conference, Ottawa, ON, Canada, 16–19 May 2005; pp. 648–652. [Google Scholar]
  26. Abu-Khalaf, N.; Iversen, J.J.L. Calibration of a sensor array (an electronic tongue) for identification and quantification of odorants from livestock buildings. Sensors 2007, 7, 103–128. [Google Scholar] [CrossRef]
  27. Lebosse, C.; Renaud, P.; Bayle, B.; de Mathelin, M. Modeling and evaluation of low-cost force sensors. IEEE Trans. Robot. 2011, 27, 815–822. [Google Scholar] [CrossRef]
  28. Xing, J.; Chen, J. Design of a Thermoacoustic sensor for low intensity ultrasound measurements based on an artificial neural network. Sensors 2015, 15, 14788–14808. [Google Scholar] [CrossRef] [PubMed]
  29. Al-Salaymeh, A. Optimization of hot-wire thermal flow sensor based on a neural net model. Appl. Therm. Eng. 2006, 26, 948–955. [Google Scholar]
  30. Ciminski, A.S. Neural network based adaptable control method for linearization of high power amplifiers. AEU-Int. J. Electron. Commun. 2005, 59, 239–243. [Google Scholar] [CrossRef]
  31. Lo, D.-C.; Wei, C.-C.; Tsai, E.-P. Parameter automatic calibration approach for neural-network-based cyclonic precipitation forecast models. Water 2015, 7, 3963–3977. [Google Scholar] [CrossRef]
  32. Suleiman, A.R.; Nehdi, M.L. Modeling Self-Healing of Concrete Using Hybrid Genetic Algorithm–Artificial Neural Network. Materials 2017, 10, 135. [Google Scholar] [CrossRef] [PubMed]
  33. Adeli, H. Neural networks in civil engineering: 1989–2000. Comput.-Aided Civ. Infrastruct. Eng. 2001, 16, 126–142. [Google Scholar] [CrossRef]
  34. Almassri, A.M.; Hasan, W.W.; Ahmad, S.A.; Ishak, A.J.; Ghazali, A.; Talib, D.N.; Wada, C. Pressure sensor: State of the art, design, and application for robotic hand. J. Sens. 2015, 2015, 846487. [Google Scholar] [CrossRef]
  35. Almassri, A.M.; Wan Hasan, W.Z.; Ahmad, S.A.; Ishak, A.J. A sensitivity study of piezoresistive pressure sensor for robotic hand. in Micro and Nanoelectronics (RSM). In Proceedings of the RSM 2013 IEEE Regional Symposium on Micro and Nanoelectronics, Langkawi, Malaysia, 25–27 September 2013; pp. 394–397. [Google Scholar] [CrossRef]
  36. Almassri, A.M.; Abuitbel, M.B.; Wan Hasan, W.Z.; Ahmad, S.A.; Sabry, A.H. Real-time control for robotic hand application based on pressure sensor measurement. In Proceedings of the 2014 IEEE International Symposium on Robotics and Manufacturing Automation (ROMA), Kuala Lumpur, Malaysia, 15–16 December 2014; pp. 80–85. [Google Scholar] [CrossRef]
  37. Almassri, A.M.; Wada, C.; Wan Hasan, W.Z.; Ahmad, S.A. Auto-Grasping Algorithm of Robot Gripper Based on Pressure Sensor Measurement. Pertanika J. Sci. Technol. 2017, 25, 113–121. [Google Scholar]
  38. Almassri, A.M.; Wan Hasan, W.Z.; Ahmad, S.A.; Ishak, A.J.; Wada, C. Optimisation of grasping object based on pressure sensor measurement for robotic hand gripper. In Proceedings of the 2015 9th International Conference on Sensing Technology (ICST), Auckland, New Zealand, 8–10 December 2015; pp. 795–798. [Google Scholar] [CrossRef]
  39. Büscher, G.H.; Kõiva, R.; Schürmann, C.; Haschke, R.; Ritter, H.J. Flexible and stretchable fabric-based tactile sensor. Robot. Auton. Syst. 2015, 63, 244–252. [Google Scholar] [CrossRef]
  40. Sarıdemir, M. Predicting the compressive strength of mortars containing metakaolin by artificial neural networks and fuzzy logic. Adv. Eng. Softw. 2009, 40, 920–927. [Google Scholar] [CrossRef]
  41. Maruyama, M.; Girosi, F.; Poggio, T. A connection between GRBF and MLP. In AI Memos; DTIC Document; MIT AI Lab: Cambridge, MA, USA, 1991. [Google Scholar]
  42. Hu, Y.H.; Hwang, J.-N. Handbook of Neural Network Signal Processing; CRC press: Boca Raton, FL, USA, 2001. [Google Scholar]
  43. Depari, A.; Flammini, A.; Marioli, D.; Taroni, A. Application of an ANFIS algorithm to sensor data processing. IEEE Trans. Instrum. Meas. 2007, 56, 75–79. [Google Scholar] [CrossRef]
  44. Depari, A.; Ferrari, P.; Ferrari, V.; Flammini, A.; Ghisla, A.; Marioli, D.; Taroni, A. Digital signal processing for biaxial position measurement with a pyroelectric sensor array. IEEE Trans. Instrum. Meas. 2006, 55, 501–506. [Google Scholar] [CrossRef]
  45. Hang, T.M.; Howard, D.B.; Mark, B. Neural Net Work Design; PWS Publishing Company: Beijing, China, 2002. [Google Scholar]
Figure 1. (a) The experimental setup conditioning of the FlexiForce sensor for the measurement system; (b) The CT3 Texture Analyser for evaluation of the pressure sensor.
Figure 1. (a) The experimental setup conditioning of the FlexiForce sensor for the measurement system; (b) The CT3 Texture Analyser for evaluation of the pressure sensor.
Sensors 18 02561 g001
Figure 2. Architecture of the artificial neural networks used.
Figure 2. Architecture of the artificial neural networks used.
Sensors 18 02561 g002
Figure 3. Dynamic calibration output voltage versus force of five pressure sensors.
Figure 3. Dynamic calibration output voltage versus force of five pressure sensors.
Sensors 18 02561 g003
Figure 4. The relative measured voltage change in the sensor over the course of 20 min while applying a dynamic force of 44.13 N (28 repetition cycles, 10 s holding time, 100 Hz sample rate).
Figure 4. The relative measured voltage change in the sensor over the course of 20 min while applying a dynamic force of 44.13 N (28 repetition cycles, 10 s holding time, 100 Hz sample rate).
Sensors 18 02561 g004
Figure 5. Two-layer feedforward network with a sigmoid transfer function in the hidden layer and a linear transfer function in the output layer.
Figure 5. Two-layer feedforward network with a sigmoid transfer function in the hidden layer and a linear transfer function in the output layer.
Sensors 18 02561 g005
Figure 6. The performance of training, validation and test errors with training epochs.
Figure 6. The performance of training, validation and test errors with training epochs.
Sensors 18 02561 g006
Figure 7. The agreement between the network’s outputs pressure and target pressure for training, validation, test and complete data set.
Figure 7. The agreement between the network’s outputs pressure and target pressure for training, validation, test and complete data set.
Sensors 18 02561 g007
Figure 8. Structure of a 20-bin histogram using the LMBP training algorithm based on ANN.
Figure 8. Structure of a 20-bin histogram using the LMBP training algorithm based on ANN.
Sensors 18 02561 g008
Figure 9. Output trained network performance versus the target (reference) for 20 min onward using untrained data set input.
Figure 9. Output trained network performance versus the target (reference) for 20 min onward using untrained data set input.
Sensors 18 02561 g009
Figure 10. Output trained network performance versus target (reference) for pulse number 28 (20 min onward).
Figure 10. Output trained network performance versus target (reference) for pulse number 28 (20 min onward).
Sensors 18 02561 g010
Table 1. The specifications and parameters of ANN model.
Table 1. The specifications and parameters of ANN model.
Training ParametersValues
Neural network model usedFeed forward
Input nodes2
Hidden layer1
Hidden layer neurons10
Output layer neurons1
Output nodes1
Training network algorithmLMBP
Training percentage70
Testing percentage15
Validation percentage15
Transfer function hidden layer Tan-sigmoid
Transfer function output layer Pure line
Data divisionRandom
No. of epochs1000
Validation checks (iterations)6
PerformanceMean squared error (MSE)
Table 2. The inputs and target data set used for neural network training.
Table 2. The inputs and target data set used for neural network training.
InputTargetNote
X1 (Voltage)X2 (Pulses/Time)T (Pressure)Input (2 × 132,243)
Target (1 × 132,243)
0.00655710.181619Start pulse no. 1
0.00298110.1831097
0.00647210.1821192
Sensors 18 02561 i001 Sensors 18 02561 i001 Sensors 18 02561 i001Continue until the end of pulse no. 1
0.00579110.093957
0.00723810.096928
0.00502410.094349
0.00604620.085543Start pulse no. 2
0.00647220.072284
0.00587620.058114
Sensors 18 02561 i001 Sensors 18 02561 i001 Sensors 18 02561 i001Continue until the middle of last pulse (no. 28)
1.0804952844.222411
1.0816022844.216517
1.0856902844.209515
Sensors 18 02561 i001 Sensors 18 02561 i001 Sensors 18 02561 i001
0.005791280.083052This is the last row of 2 inputs and 1 output
0.011241280.070892
0.006472280.057947

Share and Cite

MDPI and ACS Style

Almassri, A.M.M.; Wan Hasan, W.Z.; Ahmad, S.A.; Shafie, S.; Wada, C.; Horio, K. Self-Calibration Algorithm for a Pressure Sensor with a Real-Time Approach Based on an Artificial Neural Network. Sensors 2018, 18, 2561. https://doi.org/10.3390/s18082561

AMA Style

Almassri AMM, Wan Hasan WZ, Ahmad SA, Shafie S, Wada C, Horio K. Self-Calibration Algorithm for a Pressure Sensor with a Real-Time Approach Based on an Artificial Neural Network. Sensors. 2018; 18(8):2561. https://doi.org/10.3390/s18082561

Chicago/Turabian Style

Almassri, Ahmed M. M., Wan Zuha Wan Hasan, Siti Anom Ahmad, Suhaidi Shafie, Chikamune Wada, and Keiichi Horio. 2018. "Self-Calibration Algorithm for a Pressure Sensor with a Real-Time Approach Based on an Artificial Neural Network" Sensors 18, no. 8: 2561. https://doi.org/10.3390/s18082561

APA Style

Almassri, A. M. M., Wan Hasan, W. Z., Ahmad, S. A., Shafie, S., Wada, C., & Horio, K. (2018). Self-Calibration Algorithm for a Pressure Sensor with a Real-Time Approach Based on an Artificial Neural Network. Sensors, 18(8), 2561. https://doi.org/10.3390/s18082561

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