Next Article in Journal
Modified Particle Filtering Algorithm for Single Acoustic Vector Sensor DOA Tracking
Previous Article in Journal
A Wireless Sensor Network for Urban Traffic Characterization and Trend Monitoring
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Model Based on Adaptation of the External Loop to Compensate the Hysteresis of Tactile Sensors

by
José A. Sánchez-Durán
1,2,
Fernando Vidal-Verdú
1,2,*,
Óscar Oballe-Peinado
1,2,
Julián Castellanos-Ramos
1,2 and
José A. Hidalgo-López
1,2
1
Universidad de Málaga, Andalucía Tech, Departamento de Electrónica, ETSI Informática, Campus de Teatinos, 29071 Málaga, Spain
2
Instituto de Investigación Biomédica de Málaga (IBIMA), 29010 Málaga, Spain
*
Author to whom correspondence should be addressed.
Sensors 2015, 15(10), 26170-26197; https://doi.org/10.3390/s151026170
Submission received: 12 August 2015 / Revised: 28 September 2015 / Accepted: 9 October 2015 / Published: 15 October 2015
(This article belongs to the Section Physical Sensors)

Abstract

:
This paper presents a novel method to compensate for hysteresis nonlinearities observed in the response of a tactile sensor. The External Loop Adaptation Method (ELAM) performs a piecewise linear mapping of the experimentally measured external curves of the hysteresis loop to obtain all possible internal cycles. The optimal division of the input interval where the curve is approximated is provided by the error minimization algorithm. This process is carried out off line and provides parameters to compute the split point in real time. A different linear transformation is then performed at the left and right of this point and a more precise fitting is achieved. The models obtained with the ELAM method are compared with those obtained from three other approaches. The results show that the ELAM method achieves a more accurate fitting. Moreover, the involved mathematical operations are simpler and therefore easier to implement in devices such as Field Programmable Gate Array (FPGAs) for real time applications. Furthermore, the method needs to identify fewer parameters and requires no previous selection process of operators or functions. Finally, the method can be applied to other sensors or actuators with complex hysteresis loop shapes.

1. Introduction

Tactile sensors are arrays of force sensing units or taxels. They are used in robotics to detect contact with objects [1,2,3], for instance in handling applications to improve the dexterity of artificial robotic hands [4,5]. Many different approaches have been proposed to make these sensors. Most of them are based on piezoresistive [6,7,8] or capacitive principles [9,10,11], although other transduction principles such as optical [12] or piezoelectric [13] have also been exploited. However, all these sensors show common errors in its operation such as hysteresis, nonlinearity and mismatching [14,15], so it is necessary to compensate these errors to obtain a more precise response. In addition, this compensation has to be carried out in highly demanding real time tasks, so smart tactile sensors with local electronics powerful enough to process the large amount of data from the sensor array in real time are required. The authors have proposed smart tactile sensors with local electronics based on FPGAs [16,17]. These devices consist of logic blocks and dedicated modules that allow the implementation of complex arithmetical operations, and their main advantage is the parallel execution of processes [18]. Therefore, this approach seems suitable to implement the compensation algorithms in real time control tasks. However, the complexity of the involved mathematical operations affect the speed and consumption of power and system resources, so another significant goal is to reduce both as much as possible.
Virtually all sensors and actuators based on smart materials present undesired complex hysteretic nonlinearities when driven with sufficiently high amplitudes. To compensate for these nonlinearities, as in piezoelectric actuators, many efforts have been made including the feed-forward control as the most common approach [19,20]. The main idea of this compensation is to develop a mathematical model of the hysteresis that can be inverted; the inverted model can then be connected in cascade before the actuator input in order to obtain a linearized response. Likewise, in the case of using a tactile sensor, the inverted model can be placed after the sensor output to compensate the hysteretic behavior and obtain a linearized output. In the case of working with a sensor array, it is also possible to reduce the mismatching between different taxels, since all their outputs are equilibrated at the same time as the hysteresis is compensated. Therefore, the goal is to obtain an accurate model of hysteresis of the sensor and compensate for all these errors.
The hysteresis modeling methods commonly used are phenomenological. Other physics-based models require complex differential equations which need high computing power and a long resolution time, so they are more difficult to implement in the local electronics of smart sensors [21]. However, the phenomenological methods are built from experimental data without considering the physical properties of the actuators or sensors [22]. The most common method to compensate for hysteresis in actuators and sensors is the Preisach model [23,24]. This model is difficult to implement due to the large amount of data required to achieve a good approximation. The Prandtl-Ishlinskii model (PI) [25,26] is a subclass of the Preisach model that has become popular because, unlike the Preisach, its inverse can be calculated analytically and its implementation is much simpler. The classical model of Prandtl-Ishlinskii (CPI) approaches the sensor response with a weighted sum of hysteresis play operators [27] but it can only be used to model symmetrical hysteresis curves. In order to model asymmetrical hysteresis loops, different alternatives have been proposed such as the generalized model of Prandtl-Ishlinskii (GPI) [28], which is based on the use of two different envelope functions to combine with play operators. As a special case of this GPI model, a Prandtl-Ishlinskii model that combines two different asymmetrical play operators is proposed in [29] to independently characterize the ascending and descending branches of a piezoelectric actuator hysteresis loop. Another alternative for the modeling and compensation of the asymmetrical hysteresis nonlinearities is a modified Prandtl-Ishlinskii model (MPI) described in [30], which replaces the linear input function of the classical play operator by a generalized input function based on a third-order polynomial. We can also find hysteresis compensation methods based on the use of two dominant continuous functions, one ascending and another descending, which converge to a turning point without memory saturation [31,32]. The dominant functions here are built from high order polynomials, and the whole model is built from these functions through a nonlinear transformation of the coordinate axis (herein we call it POLY model).
This paper presents a new method to model and compensate hysteresis nonlinearities based on the adaptation of the external loop (herein we call it ELAM). It is a phenomenological model, which builds two continuous and monotonic curves, one increasing and the other decreasing, from linear interpolation of the experimentally measured hysteresis external loop. From these two curves, all internal hysteresis loops are approximated using a different procedure depending on whether it is in an increasing or decreasing branch. Moreover, the approximation is made in two intervals defined by a so called split point, with different adaptations of the external loop in each interval. In order to evaluate the effectiveness of the method, the accuracy of the proposed model is compared with that achieved by other methods referred to above. The methods used for this purpose are the generalized model of Prandtl-Ishlinskii (GPI), the modified model of Prandtl-Ishlinskii (MPI) and that based on polynomial fitting [28,30,31].
A discussion about the number of parameters to be estimated in each model, the computational complexity, and the achieved accuracy is undertaken. The ELAM model is shown as the most accurate method, so its inverse is calculated and the hysteresis nonlinearities of the complete tactile sensor array are compensated. The results confirm that it is a very efficient method to be implemented in real-time control systems using smart tactile sensors. The ELAM method is also applicable to all types of hysteresis loops obtained from other sensors or actuators, and it can provide more accurate models than other methods when the hysteresis loops show complex shapes.
The remainder of this paper is organized as follows. Section 2 shows the tactile sensor and the set-up used to obtain the experimental data. Section 3 explains the different modeling hysteresis methods used to compare with that proposed. Section 4 introduces the so called ELAM method. Section 5 deals with the parameter identification of the models. Section 6 shows the results and related discussions. Finally, some concluding remarks are provided in Section 7.

2. Experimental Section

2.1. PCB Based Sensor

The tactile sensor used in this article consists of a set of electrodes and addressing tracks fabricated on a flexible printed circuit board (PCB). Atop of these electrodes, a thin film of conductive polymer, such as piezoresistive material is placed. Specifically, a conductive water-based ink of this polymer is deposited by spin-coating technique on a flexible plastic sheet, obtaining a smooth, homogeneous and conductive thin film [33,34]. The most interesting thing about this process is that it is cheap and allows the manufacturing of flexible and low cost tactile sensors. The sensor consists of 16 × 16 taxels and a spatial resolution of 2.54 mm. Figure 1 shows a section view and a top view of a taxel, besides a picture of the complete array of the tactile sensor. The resistance between two electrodes associated to each taxel changes when the exerted force against the taxel changes. The readings of the whole tactile array are registered by means of well-known interface electronics [33] designed to achieve a good static performance, so electro-mechanic relays are used to implement the switches to select the rows as the array is scanned. The data acquisition is achieved with the NI-USB 6259 device from National Instruments (National Instruments Corporation, Austin, TX, USA). Sixteen analog inputs are multiplexed to scan up to 16 × 16 taxels in our testing platform.
Figure 1. Tactile sensor based on a flexible printed circuit board.
Figure 1. Tactile sensor based on a flexible printed circuit board.
Sensors 15 26170 g001
In order to measure the hysteresis of the tactile sensor based on a PCB, a sequence of uniform pressures on the entire matrix of the tactile sensor is exerted. Six consecutive loading-unloading cycles with different points of return for the same ascending curve (see Figure 2a), and with different starting points to rise from the same descending curve (see Figure 2b), are applied. Thus, the descending and ascending behavior of the sensor are respectively characterized. The cycles are performed with an increase of 2 psi between pressures, and in Table 1 the pressure sequences are shown. These hysteresis curves represent the average of the output produced by all of the tactile sensor taxels after repeating each cycle five times. The time interval between the new pressure level being exerted and voltage output being registered by the acquisition board is 2 s. The platform of pneumatic calibration Tekscan PB100E (Teckscan Inc., South Boston, MA, USA) (Figure 3a) is used to apply the uniform pressures over the tactile sensor matrix. In order to quantify the hysteresis exhibited by the sensor, the hysteresis error as the difference in sensor output voltage to the same applied pressure is identified when these pressures are exerted on the ascending and descending branches of the cycles. The maximum and average hysteresis errors are referenced to the highest output value to obtain a percentage of the error relative to full scale. The maximum error due to hysteresis is 25.3% of full scale output, while the average error is 10.0% of full scale out. In Figure 2c, the frame obtained at a pressure of 40 PSI is shown as an example to illustrate the mismatching of the output obtained with the taxels of the tactile sensor.
Table 1. Pressure sequences to measure hysteresis loops of the tactile sensor based on a printed circuit board (PCB).
Table 1. Pressure sequences to measure hysteresis loops of the tactile sensor based on a printed circuit board (PCB).
Pressure Sequence to Measure Descending Curves (see Figure 2a):
PSI:0➔60➔0➔50➔0➔40➔0➔30➔0➔20➔0➔10➔0
Pressure Sequence to Measure Ascending Curves (see Figure 2b):
PSI:0➔60➔10➔60➔0➔60➔20➔60➔0➔60➔30➔60➔0➔60➔40➔60➔0➔60➔50➔60➔0
Figure 2. (a) Descending behavior of hysteresis curves; (b) Ascending behavior of hysteresis curves; (c) Mismatching presented by the tactile sensor at a pressure of 40PSI.
Figure 2. (a) Descending behavior of hysteresis curves; (b) Ascending behavior of hysteresis curves; (c) Mismatching presented by the tactile sensor at a pressure of 40PSI.
Sensors 15 26170 g002

2.2. Measurement Setup

In order to analyze the behavior of the tactile sensor output two different measurement platforms are used. The first is based on a pneumatic commercial equilibration/calibration device (Tekscan PB100E Teckscan Inc., South Boston, MA, USA [35]) (see Figure 3a) to obtain readings of the whole tactile matrix under the same uniform pressure. The sensor is placed in a slot of a chamber where one side is rigid and the other is a flexible wall. When the chamber is pressurized the wall exerts an even pressure on the sensor. An electro-valve Pneumax 171E2N.T.D.0009 (Pneumax S.p.a., Milano, Italy) [36], which allows the flow from a compressor, is added to set the desired pressure selected in a computer software.
The second platform is used to register the sensor response to pressure exerted by an object with a known shape on the sensor surface. A piece of fabric between the object and the sensor was added to improve the contact. With the purpose of applying a force on the object, a motorized platform is used, which is composed of a T-NA08A50 linear actuator ( Zaber, Vancouver, BC, Canada) and two T-LA60A actuators of Zaber Technologies (Zaber, Vancouver, BC, Canada) [37] (see Figure 3b). The T-NA08A50 actuator (Zaber, Vancouver, BC, Canada) allows a force to be exerted on the z-axis, while the T-LA60A actuators allow movement of the platform along the x and y axes. One sensor Nano17 from ATI Industrial Automation (ATI Industrial Automation, Apex, NC, USA) [38] was added at the tip of the motor in the vertical direction to register the actual force exerted on the objects and then on the sensor.
Figure 3. (a) Pneumatic commercial setup Tekscan PB100E; (b) Motorized stage.
Figure 3. (a) Pneumatic commercial setup Tekscan PB100E; (b) Motorized stage.
Sensors 15 26170 g003

3. Hysteresis Models

Figure 4 illustrates the procedure to compensate the hysteresis followed by the four methods that are compared in this paper. The pressure exerted against a taxel is identified by p(t), and v(t) is its output voltage. H(p(t)) represents the output with the corresponding measured hysteresis at the sensor. The goal is to find a model Hm(p(t)) which fits the experimental data H(p(t)) with the greatest possible accuracy, low computational cost, and which can be inverted to obtain Hm−1(v(t)). Once this model is inverted, it is possible to obtain pm(t) which ideally is equal to p(t). Each of the four methods to compare uses a different mathematical expression of Hm(p(t)) and employs a number of parameters which must be identified by an error minimization method (see Section 5).
Figure 4. Hysteresis compensation scheme for a tactile sensor.
Figure 4. Hysteresis compensation scheme for a tactile sensor.
Sensors 15 26170 g004
The parameter identification process will identify the set of parameters that configure each of the hysteresis models Hm(p(t)) which are compared in this study. Due to the fact that they are phenomenological models, a set of M samples of measured output values of the tactile sensor {y(t1),…, y(tj),…y(tM)} are used to computationally derive the vector of parameters X minimizing the following error function [39].
J ( X ) = j = 1 M ( y m ( t j ) y ( t j ) ) 2
where ym are the samples of the output of each hysteresis model Hm(p(t)) with 1 j M . In the next sections the models for Hm(p(t)) are called HGPI(p(t)), HMPI(p(t)), HPOLY(p(t)) and HELAM(p(t)), and their output values are named y G P I ( t ) , y M P I ( t ) , y P O L Y ( t ) and y E L A M ( t ) respectively.

3.1. Generalized Prandtl-Islinskii Model (GPI)

The generalized model of Prandtl-Ishlinskii (GPI) [28] provides a model for H(p(t)) in the scheme of Figure 4, which we call HGPI(p(t)). This model is derived from a weighted superposition of a set of generalized play operators with different threshold values r with r R 0 + . Since the hysteresis curve of the sensor (see Figure 2a) is asymmetrical, it is necessary to use these generalized operators (see Figure 5a) instead of classical play operators (see Figure 5b). Note that an increase of input corresponds to an increase of output along the curve γ l , while a decrease of input corresponds to a decrease of output along the curve γ r . Both curves can be different, so that asymmetrical loops have to be modeled. The only conditions are that these so called envelope functions, γ l and γ r , be monotone and continuous functions with γ l - r γ r + r .
Figure 5. (a) Generalized play operator; (b) Classical play operator; (c) OSP operator; (d) Dominant curves.
Figure 5. (a) Generalized play operator; (b) Classical play operator; (c) OSP operator; (d) Dominant curves.
Sensors 15 26170 g005
If a finite number n of operators is used [28], the output of the generalized Prandtl-Ishlinskii model can be approximated, by the expression.
H G P I ( p ( t ) ) = y G P I ( t ) = i = 0 n p ( r i ) H r i [ x ] ( t )
where p(r) is the density function and H is the generalized play operator in Figure 5a defined from the envelope functions γ l and γ r as
H r i [ x ] ( t ) = H ( x , y , r i ) = max { γ l ( x ) r i , min { γ r ( x ) + r i , y } }
with y as the output value of the generalized play operator for the previous value of x.
Therefore, the generalized Prandtl-Ishlinskii model will be obtained from the set of parameters X that define the envelope functions γ l and γ r , the density function p(r) and the threshold values of the play operators r. The GPI model output y G P I ( t ) is used in Equation (1) to obtain the parameters X (see Section 5).

3.2. Modified Prandtl-Ishlinskii Model (MPI)

The modified Prandtl-Ishlinskii model (MPI) uses the classical play operators for modeling asymmetrical hysteresis such as the one presented by our tactile sensor (see Figure 2a). Although the classical Prandtl-Ishlinskii model (CPI) can only model symmetrical hysteresis curves, this MPI model proposes replacing the linear input function of the CPI model by a generalized input function. Thus, the asymmetric hysteresis nonlinearities can be determined, not only by the weighted superposition of a set of classical play operators but also by the generalized input function [30]. The main advantages of this model relative to the GPI are, as it continues using the classical play operators, that the mathematical description is simpler, the number of parameters to be identified is smaller and its inverse can be calculated analytically from the inverse of CPI model.
The classical Prandtl-Ishlinskii model (CPI) [27] is based on the combination of classical play operators (see Figure 5b) with different thresholds r. The modification of the play operator by a one-side operator (OSP) is proposed in [30] when the sensor or actuator only works with positive excitation signals. Then, the play operator (OSP) (see Figure 5c) is expressed as
H O S P r i [ x ] ( t ) = H O S P ( x , y , r i ) = max { x r i , min { x , y } }
Using a finite number n of OSP operators the output of the MPI model is
H M P I ( p ( t ) ) = y M P I ( t ) = g ( x ( t ) ) + i = 0 n b ( r i ) H O S P r i [ x ] ( t )
where b ( r i ) = p ( r i ) ( r i r i 1 ) , p(r) is a density function and the function g(x(t)) replaces the linear input function p 0 x ( t ) in the CPI model to achieve the modeling of asymmetric hysteresis [30].

3.3. Polynomial Based Model (POLY)

Methods have been proposed to compensate the hysteresis using mathematical structures that are not built with play operators. This is the case of the model described in [31], which is based on the construction of the model of hysteresis of a piezoelectric actuator from the external curves of the hysteresis data. This external loop consists of an ascending dominant curve when the input values increase, and a descending dominant curve when the input values decrease. All ascending curves converge at one point called upper target point, while all descending curves converge on the same lower converging point (see Figure 5d). The rest of the hysteresis curves can adopt their shape from these dominant curves, which can be expressed as two monotonically continuous functions, fra(x) and frd(x), respectively. Third-order polynomials to implement these dominant functions are proposed in [31], so in this paper, we call this model POLY.
The ascending curve function for any ascending trajectory starting from point ( x 1 , y 1 ) and ending at point ( x 2 , y 2 ) , is
y P O L Y _ a ( x ) = y 1 + y u y 1 f r a ( x u ) f r a ( x 0 ) ( f r a ( m x + ( 1 m ) x u ) ) f r a ( x 0 ) )
where m = ( x u x 0 ) / ( x u x 1 ) , ( x 0 , y 0 ) is the lower converging point and ( x u , y u ) is the upper converging point of the dominant curves (see Figure 5d).
Similarly, the descending curve for any trajectory starting point ( x 1 , y 1 ) and ending at point ( x 2 , y 2 ) , is
y P O L Y _ d ( x ) = y 1 + y 0 y 1 f r d ( x 0 ) f r d ( x u ) ( f r d ( n x + ( 1 n ) x 0 ) ) f r d ( x u ) )
where n = ( x 0 x u ) / ( x 0 x 1 ) .
The output of the model can be expressed as
H P O L Y ( p ( t ) ) = y P O L Y ( x ( t ) ) = { y P O L Y _ a ( x ( t ) )    i f x ( t i ) x ( t i 1 ) y P O L Y _ d ( x ( t ) )    i f x ( t i ) < x ( t i 1 )

4. External Loop Adaptation Model (ELAM)

The analysis of the GPI, MPI and POLY methods exposed in the latter sections, shows the presence of play operators, exponential functions, logarithmic, hyperbolic tangent, exponentiation and high degree polynomials, which anticipate a complicated implementation in devices such as FPGAs. Therefore, development of a method based on simple mathematical operations is essential to achieve fast and efficient real time tactile sensors. Furthermore, if one considers the possibility of working with arrays with a large number of taxels (for example, 16 × 16 = 256), each of which must be compensated in real time with its own model of hysteresis, depending on the application, compensation should be performed as fast as possible or with minimal resource consumption and high accuracy.

4.1. Direct External Loop Adaptation Model

The newly proposed approach is based on an adaptation of the external loop of the hysteresis curves to build all the inner hysteretic cycles. Linear interpolation of experimental data from this external loop (see Figure 2) is done to obtain the so called pattern curves, one for the ascending external trajectory and another for the descending external trajectory, so we call them P a and P d respectively. The adaptation is made by piecewise linear mapping of the pattern curves into the input interval of the internal target curves. Figure 6 illustrates the linear mapping of a generic pattern curve P between ( x i P , y i P ) and ( x f P , y f P ) into the target interval defined by the points ( x i T , y i T ) and ( x f T , y f T ) to obtain the target curve T.
For each input value x T in [ x i T , x f T ] , the corresponding value x P in [ x i P , x f P ] obtained by linear mapping is:
x P = X P ( x T , x i T , x f T , x i P , x f P ) = x i P + ( x f P x i P ) ( x T x i T ) ( x f T x i T )
Now y P = P ( x P ) in [ y i P , y f P ] is mapped into y T in [ y i T , y f T ] as
y T = T ( x T ) = Y T ( y P , y i T , y f T , y i P , y f P ) = y i T + ( y P y i P ) ( y f T y i T ) ( y f P y i P )
Figure 6. General linear mapping of a pattern curve P into a target curve T.
Figure 6. General linear mapping of a pattern curve P into a target curve T.
Sensors 15 26170 g006
A key aspect of the ELAM model is that the target curve is split into pieces and the mapping in Equations (9) and (10) is done in each piece. It has been split into two segments in this work that are defined by the split point ( x s , y s ) with x i T < x s < x f T and y i T < y s < y f T . As a first simple approach, we propose the following linear expressions to find the split point:
x s = α ( x f T x i T ) + x i T
y s = β ( y f T y i T ) + y i T
where 0 α 1 and 0 β 1 . The location of this point is determined by an error minimization algorithm as explained below, and the parameters α and β are the same for all target curves. This strategy allows different mappings to be performed at the left and right of the split point to achieve a more accurate fitting of the curve.
Figure 7a,b illustrate the construction of the descending and ascending trajectories respectively of the hysteresis loops with the ELAM method. As shown in Figure 2a, all descending hysteresis curves converge at the same point ( ( x 0 , y 0 ) in Figure 7). Similarly, all ascending curves in Figure 2b converge at the same target point ( x u , y u ) in Figure 7). The target subcycles are formed by one descending curve, T d in Figure 7a, and another ascending curve, T a in Figure 7b. For the construction of internal hysteresis loops, it is necessary to know the starting points of T a and T d , which we call ( x m , y m ) and ( x M , y M ) , respectively.
Figure 7. (a) Construction of descending curves for ELAM model; (b) Construction of ascending curves for ELAM model.
Figure 7. (a) Construction of descending curves for ELAM model; (b) Construction of ascending curves for ELAM model.
Sensors 15 26170 g007
Moreover, the split point divides each trajectory into two segments. Specifically, the descending curve T d is composed of T d _ r and T d _ l (see Figure 7a) as
T d ( x ) = { T d _ r ( x )    x s d x < x M T d _ l ( x )    x 0 x < x s d
The coordinates of the split point ( x s d , y s d ) can be expressed from Equations (11) and (12) as
x s d = α d x M
y s d = β d y M
with x s d [ x 0 , x M ]
In order to obtain T d _ r ( x ) and T d _ l ( x ) in Equation (13), the linear mapping in Figure 6 is carried out by replacing the initial and final values of the pattern curve P and of the target curve T in the Equations (9) and (10) (see Figure 6), by the initial and final values corresponding to the pattern curve and the target curve used in the construction of each of the segments. To do this, another split point has to be established in the pattern curve. From inspection of the experimental curves, it is set to ( x s d , P d ( x s d ) ) for the descending curve, i.e., the split points of both the pattern and target curves share the x coordinate.
Therefore, since the descending curve begins at the returning point ( x M , y M ) , and converge to the point ( x 0 , y 0 ) in Figure 7a, if x s d x T r < x M , P d is mapped to the trajectory T d _ r and the output value is obtained from Equations (9) and (10) respectively through the expressions.
x P r = X P ( x T r , x s d , x M , x s d , x u ) = x s d + ( x u x s d ) ( x T r x s d ) ( x M x s d )
and
y T r = T d _ r ( x T r ) = Y T ( P d ( x P r ) , y s d , y M , P d ( x s d ) , y u ) = y s d + ( y M y s d ) ( P d ( x P r ) P d ( x s d ) ) ( y u P d ( x s d ) )
On the other hand, if x 0 x T l < x s d the curve P d is mapped to the trajectory T d _ l from the Equations (9) and (10) to obtain (see Figure 7a)
x P l = X P ( x T l , x 0 , x s d , x 0 , x s d ) = x T l
and
y T l = T d _ l ( x T l ) = Y T ( P d ( x P l ) , y 0 , y s d , y 0 , P d ( x s d ) ) = y 0 + ( P d ( x P l ) y 0 ) ( y s d y 0 ) ( P d ( x s d ) y 0 )
Note that the operation to the left of the split point is simply the scaling of the pattern curve.
The output values in Equations (17) and (19) depend on the coordinates of the split point ( x s d , y s d ) , which depend on α d and β d in Equations (14) and (15). An error minimization algorithm can fit the experimental data of the internal cycles in the values provided by Equations (17) and (19) using α d and β d as parameters to estimate. This is done as explained in Section 5, and once α d and β d are estimated, the coordinates of the split point are readily obtained from Equations (14) and (15) for any other possible descending curve in an internal cycle and the whole descending trajectory is given by Equations (17) and (19).
Similarly, the ascending curve T a begins at the point of return ( x m , y m ) and converge to the point ( x u , y u ) (see Figure 7b), and it is composed by T a _ r and T a _ l as
T a ( x ) = { T a _ r ( x )    x s a < x x u T a _ l ( x )    x m < x x s a
In this case, the adaptation of the curve P a from the external loop to the desired trajectory T a is performed. The split point ( x s a , y s a ) is calculated as
x s a = α a 1 ( x u x m ) 2 + α a 0 ( x u x m ) + x m
y s a = β a ( y u y m ) + y m
with x s a [ x m , x u ] . Note that the parameter α a 1 introduces here a quadratic dependence of the split point location on the length of the interval [ x m , x u ] that improves the fitting of the target ascending curves. In this trajectory, the linear dependence given in Equation (11) does not provide an accurate enough model, so the next level of complexity to try is the quadratic dependence. Moreover, the split points of the pattern curve P a and the target curve T a are ( x s a P , y s a ) and ( x s a , y s a ) respectively, where x s a P is obtained from P a ( x s a P ) = y s a , as Figure 7b illustrates. Therefore, both split points do not now share the same x coordinate as in Figure 7a, but the same y coordinate.
For x s a < x T r x u , the pattern curve P a is mapped into the target curve T a _ r (see Figure 7b) from the Equations (9) and (10) respectively, so we obtain
x P r = X P ( x T r , x s a , x u , x s a P , x u ) = x s a P + ( x u x s a P ) ( x T r x s a ) ( x u x s a )
and
y T r = T a _ r ( x T r ) = Y T ( P a ( x P r ) , y s a , y u , P a ( x s a P ) , y u ) = P a ( x P r )
On the other hand, if x m < x T l x s a , the pattern curve P a is mapped into the target curve T a _ l (see Figure 7b) from the Equations (9) and (10) respectively, so we obtain
x P l = X P ( x T l , x m , x s a , x m P , x s a P ) = x m P + ( x s a P x m P ) ( x T l x m ) ( x s a x m )
and
y T l = T a _ l ( x T l ) = Y T ( P a ( x P l ) , y m , y s a , P a ( x m P ) , P a ( x s a P ) ) = P a ( x P l )
where x m P is obtained from P a ( x m P ) = y m .
Taking into account that x s a P = P 1 ( y s a ) , the output values in Equations (24) and (26) depend on the coordinates of the split point ( x s a , y s a ) , which depend on α a 1 , α a 0 and β a in Equations (21) and (22). Again, the error minimization algorithm can fit the experimental data of the internal cycles in the values provided by Equations (24) and (26) using α a 1 , α a 0 and β a as parameters to estimate. Once α a 1 , α a 0 and β a are estimated, the coordinates of the split point are readily obtained from Equations (21) and (22) for any other possible ascending curve in an internal cycle and the whole ascending trajectory is given by Equations (24) and (26).
Summarizing, once the set of parameters X = { α d , β d , α a 1 , α a 0 , β a } is obtained from the error minimization algorithm, the output of the complete ELAM model is given by
y E L A M ( x ( t ) ) = T ( x ) = { T d ( x ) = { T d _ r ( x )    x s d x < x M T d _ l ( x )    x 0 x < x s d }    x ( t i ) < x ( t i 1 ) T a ( x ) = { T a _ r ( x )    x s a < x x u T a _ l ( x )    x m < x x s a }     x ( t i ) x ( t i 1 )
where T d _ r ( x ) , T d _ l ( x ) , T a _ r ( x ) and T a _ l ( x ) are given by Equations (17), (19), (24) and (26), respectively, and replacing ym(t) by yELAM(t) in Equation (1), the HELAM(p(t)) model for Figure 4 is:
H E L A M ( p ( t ) ) = y E L A M ( x ( t ) )

4.2. Inverse External Loop Adaptation Model

The purpose of building a model of the hysteresis of the sensor is that the inverse model can be applied in cascade with the sensor output to compensate its hysteretic behavior. It is, therefore, necessary to invert the ELAM model proposed in this paper in such a way that for any output value of the tactile sensor y o u t = T ( x T ) we can calculate the input value x T . The inverse model construction is performed similarly to the direct model described in the previous section. The following procedure is actually the same that is described in the previous section but with a swap of the coordinate axes. Since the split point is the same, the inverted curves are obtained just inverting the mapping in each piece. The inverted mapping is readily performed from Equations (9) and (10) as follows. Firstly, the output value of the pattern curve P that corresponds to the value of the sensor output y o u t = T ( x T ) is obtained from the Equation (10) as
y P = Y T 1 ( T ( x T ) , y i t , y f t , y i p , y f p ) = y i P + ( T ( x T ) y i T ) ( y f P y i P ) ( y f T y i T )
Then, the value x P is obtained through inverse linear interpolation as x P = P 1 ( y P ) , and the value of x T is obtained from the Equation (9) as
x T = X P 1 ( x P , x i T , x f T , x i P , x f P ) = x i T + ( x P x i P ) ( x f T x i T ) ( x f P x i P )
The Equations (29) and (30) define the linear mapping for the inverse model ELAM, so the equations of the ascending or descending curves in the inverse model can be obtained from them in a similar way as that followed to build the direct model.
Figure 8. (a) Construction of descending curves for inverted ELAM. (b) Construction of ascending curves for inverted ELAM.
Figure 8. (a) Construction of descending curves for inverted ELAM. (b) Construction of ascending curves for inverted ELAM.
Sensors 15 26170 g008
Figure 8a shows a schematic of the construction of the inverse model for descending curves. These curves, as in the direct model, are determined by the return point ( x M , y M ) and the split point ( x s d , y s d ) . For input values y s d y T r < y M , the pattern curve P d 1 is mapped to the target trajectory T d _ r 1 . For this process, it is necessary to know the point y s d P such that P d 1 ( y s d P ) = x s d . Note that since the split point is the same as in the direct model, y s d P can be obtained as y s d P = P d ( x s d ) . For each value of y T r in T d _ r 1 there is an associated value y P r = P ( x P r ) in P d 1 which can be deduced from Equation (29) as
y P r = Y T 1 ( y T r , y s d , y M , y s d P , y u ) = y s d P + ( y u y s d P ) ( y T r y s d ) ( y M y s d )
The value of T d _ r 1 is deduced from the Equation (30) knowing that x P r = P 1 ( y P r ) and its value is
x T r = T d _ r 1 ( y T r ) = X P 1 ( x P r , x s d , x M , x s d , x u ) = x s d + ( x M x s d ) ( x P r x s d ) ( x u x s d )
For input values y 0 y T l < y s d , the P d 1 curve is mapped to the T d _ l 1 trajectory, so it is necessary to determine the value y P l in P d 1 corresponding to each value of y T l . From Equations (29) and (30) we obtain:
y P l = Y T 1 ( y T l , y 0 , y s d , y 0 , y s d P ) = y s d P y T l y s d
x T l = T d _ l 1 ( y T l ) = X P 1 ( x P l , x 0 , x s d , x 0 , x s d ) = x P l = P d 1 ( y P l )
Figure 8b shows a schematic of the construction of the inverse model for ascending trajectories starting at the return point ( y m , x m ) and which converge at the point ( y u , x u ) .
For input values y m < y T l y s a , a mapping of the external curve P a 1 to the internal trajectory T a _ l 1 is performed. To do so, from the general Equations (29) and (30) we obtain:
y P l = Y T 1 ( y T l , y m , y s a , y m P , y s a P ) = y T l
and
x T l = T a _ l 1 ( y T l ) = X P 1 ( P a 1 ( y P l ) , x m , x s a , x m P , x s a P ) = x m + ( P a 1 ( y P l ) x m P ) ( x s a x m ) ( x s a P x m P )
where the point in the pattern curve which corresponds to each value y T l in the target curve has the same y value and it is called y P l = P ( x P l ) .
For input values y s a < y T r y u , a mapping of the external curve P a 1 is performed along the y axis to the internal trajectory T a _ r 1 . From the general Equations (29) and (30), the resulting expressions are
y P r = Y T 1 ( y T r , y s a , y u , y s a P , y u ) = y T r
and
x T r = T a _ r 1 ( y T r ) = X P 1 ( P a 1 ( y P r ) , x s a , x u , x s a P , x u ) = x s a + ( P a 1 ( y P r ) x s a P ) ( x u x s a ) ( x u x s a P )
where the point in the pattern curve which corresponds to each value y T r in the target curve has the same y value and it is called y P r = P ( x P r ) .
Summarizing, the complete inverse ELAM model is expressed as
T 1 ( y ) = { T d 1 ( y ) = { T d _ r 1 ( y )    y s d y < y M T d _ l 1 ( y )    y 0 y < y s d }    y ( t i ) < y ( t i 1 ) T a 1 ( y ) = { T a _ r 1 ( y )    y s a < y y u T a _ l 1 ( y )    y m < y y s a }     y ( t i ) y ( t i 1 )

5. Parameter Identification

The four methods explained in the previous section are used to model hysteresis loops (see Figure 2a,b) of the tactile sensor. As a step prior to the construction, the validation and the comparison of the proposed models, it is necessary to carry out the identification of the parameters to adapt the models to the experimental data as accurately as possible. Many identification algorithms have been proposed for this purpose such as the least squares method, genetic algorithms and the particle swarm optimization method [40,41,42]. In this paper, we use genetic algorithms because they implement a parallel procedure able to simultaneously explore a wide range of solutions using probabilistic operators [43]. This feature allows them to discard local minima that do not correspond to an optimal solution. In the following, the different methods to obtain the parameters for the results in Section 6 are described.

5.1. GPI

The GPI model obtained from Equation (2) is completely defined by the number of generalized play operators used, the thresholds of the operators, the density function and the envelope functions.
Regarding of the number of operators n, from a theoretical point of view, the selection of a larger number of operators should obtain a more accurate approximation of the hysteresis loops. However, in real applications, it is found that further increase of the number of operators does not improve the fitting accuracy significantly. Since the complexity of the model is increased with the number of operators employed, it is advisable to use the smallest number of operators. According to the experiments reported in [44] for the same tactile sensor of this paper, it is enough to use a number of n = 4 play operators to obtain a good approximation.
For the results of this paper, the thresholds of the operators and the density function are obtained from [28] and their equations are
r i = α i
where i = 0,1,2,…,n and α is a positive real constant, and
p ( r ) = ρ e τ r i
where ρ > 0 and τ are real constants.
Note that the density function p(r) vanishes for high values of the thresholds r and that there is no general criterion for its selection. Generally, it is completely selected by the designer. Once the structure of the density function p(r) is fixed, the parameters involved in the density function shall be determined by identification from experimental data.
The choice of the envelope functions used in the Equation (3) is decisive for a good fitting. Based on the results reported by other studies [44], which analyze and compare the use of different envelope functions, these functions have been chosen according to the following expressions in this paper:
γ l ( x ) = a 3 a 0 e ( a 2 a 1 x )
γ r ( x ) = b 3 b 0 e ( b 2 b 1 x )
where a 0 > 0 , a 1 > 0 , a 2 , a 3 , b 0 > 0 , b 1 > 0 , b 2 , b 3 are real constants.
These envelope functions based on exponential functions provide a good fitting with a medium computational complexity compared to other alternatives such as those based on hyperbolic tangent functions.

5.2. MPI

The MPI model is also based on play operators, but of classical type in this case. Therefore, as with the model GPI, it will be necessary to select a number of operators n to use, thresholds for such operators, and a density function. The selection criteria for these items in the GPI model are also valid for the MPI model. In this article, we chose these elements according to what is proposed in [30], so a number of 10 classical play operators is selected. The expressions of the threshold operators ri and the density function p(r) are
r i = i 1 n v ( t )
with i = 1,2,…,n and v ( t ) = 1 in the normalized case, and
p ( r i ) = ρ e τ ( r i 1 ) 2
where ρ > 0 and τ are real constants.
To achieve the asymmetry observed in the hysteresis loop of the tactile sensor, it is necessary to define the generalized function g(x(t)) of the Equation (5). According to the proposal option in [30], this generalized function is chosen as a third-order polynomial
g ( x ( t ) ) = a 3 x 3 + a 2 x 2 + a 1 x
The selection of the generalized input function is not unique and other forms can also be chosen, but the use of a third-order polynomial seems a good choice to approximate curves of different shapes. Furthermore, third-degree polynomials are generally recognized as an effective choice to describe the hysteresis loops [45,46]. Actually, this polynomial is the one that achieves the best fitting to the hysteresis curve of the tactile sensor in this paper.

5.3. POLY

Regarding the POLY model, the only necessary parameter identification corresponds to the choice of coefficients of the polynomials fra and frd. Although third-order polynomials are proposed in [31] to be used in the model, sixth-order polynomials have been selected for the results of this paper. Therefore, the polynomials are
f r a ( x ) = i = 0 6 a i x 6 i
f r d ( x ) = i = 0 6 b i x 6 i
Better results were achieved with tenth-order polynomials, but the choice of sixth-order polynomials seems most appropriate taking into account the balance between precision and the number of parameters required.

5.4. ELAM

The identification process for the ELAM model consists of determining the αd0, βd0, αa1, αa0 and βa0 parameters that allow the split points to be obtained in the Equations (14), (15), (21) and (22), respectively. The number of parameters to be identified is much lower than in the other models, so this identification process has a lower computational cost and the time employed is significantly shorter in this model.
It is remarkable that the GPI, MPI and POLY models require a prior step to choose the suitable envelope functions or polynomials to be used in the construction of the hysteresis loops. Moreover, in the case of models based on the Prandtl-Ishlinskii method, it is necessary to select the number of play operators and the structure of the density function. All this work is performed by the designer based on the results obtained in a selection process in order to find the best fit to the experimental data. Depending on the complexity of the hysteresis curve of the sensor, this process may be more or less costly. The proposed ELAM model does not require this previous step, because the pattern curves are obtained by linear interpolation of experimental data. In addition, the model provides the output from piecewise linear mapping of the pattern curves. Therefore, if the number of pieces to perform linear mapping or interpolation grows, the error always decreases and the model is robust against overfitting [47].
The parameters identified for each model that allow the best adaptation of the models to hysteresis data obtained experimentally for the descending and ascending curves are shown in Table 2 and Table 3, respectively (see Figure 2a,b).
Table 2. Parameters of the models for the descending hysteresis curves of the tactile sensor.
Table 2. Parameters of the models for the descending hysteresis curves of the tactile sensor.
GPIMPIPOLYELAM
n4b10.0825n10a01.36e-9b09.04e−10αa1−0.0072
a00.5754b2−1.9648ρ1.6492a1−2.74e-7b1−1.44e−7αa00.6031
a10.0524b30.2972τ0.1942a22.13e-5b26.93e−6βa00.3382
a21.1216α1.7531a13.96e−5a3−7.69e-4b35.29e−6αd00.7957
a31.6350ρ4.4935a20.1410a40.0109b4−0.0100βd00.9991
b013.0421τ1.5428a3−0.0049a50.0704b50.3132
a6−0.0244b6−0.1864
Table 3. Parameters of the models for the ascending hysteresis curves of the tactile sensor.
Table 3. Parameters of the models for the ascending hysteresis curves of the tactile sensor.
GPIMPIPOLYELAM
n4b10.1168n10a01.65e−9b01.20e−9αa1−0.0072
a01.9620b2−0.1206ρ3.0226a1−3.37e−7b1−2.08e−7αa00.6031
a10.0477b3−3.2440τ0.2255a22.66e−5b21.21e−5βa00.3382
a2−0.1324α3.4384a13.68e−5a3−9.93e−4b3−2.05e−4αd00.7957
a33.7234ρ0.8893a20.1502a40.0157b4−0.0057βd00.9991
b01.6743τ−0.1617a3−0.0047a50.0281b50.2762
a6−0.0108b6−0.1651

6. Results and Discussion

6.1. Results for the Output of a Single Average Taxel

The hysteresis loop in Figure 2a,b is really challenging to model because it is clearly asymmetrical, with high nonlinearity, and quite different ascending and descending external curves. Furthermore, the ascending curves inside the hysteresis loop do not have a similar shape to the external ascending curves, as can be seen in Figure 2b.
Figure 9a–d and Figure 10a–d show the models of the descending and ascending hysteresis curves, respectively obtained with the four methods implemented in this work. In addition, Table 4 and Table 5 show the values of the average and maximum errors for each model with respect to the experimental data, both in absolute value and in percentage of the full scale. The error is evaluated according to the following expression.
e r r o r = 1 N i = 1 N | ( y m _ i y i ) |
where ym_i are the model samples, yi are the experimental samples and N is the number of samples. The column labeled Best refers to the minimum error value obtained after J(X) in Equation (1) is minimized during the parameter identification process.
Figure 9. Models for descending curves. (a) GPI model with n = 4 play operators; (b) MPI model with third-order polynomial and n = 10 OSP operators; (c) POLY model with sixth-order polynomial; (d) ELAM model.
Figure 9. Models for descending curves. (a) GPI model with n = 4 play operators; (b) MPI model with third-order polynomial and n = 10 OSP operators; (c) POLY model with sixth-order polynomial; (d) ELAM model.
Sensors 15 26170 g009
Table 4. Average errors and maximum errors of hysteresis models for descending curves.
Table 4. Average errors and maximum errors of hysteresis models for descending curves.
ModelBestAverage Error (V)Average Error % FSMax. Error (V)Max. Error % FS
GPI0.530.041.150.154.34
MPI2.820.092.630.3510.05
POLY4.140.071.990.7019.98
ELAM0.330.0310.890.123.57
The first thing that can be observed in Figure 9 and Figure 10 is that the worse fit to the experimental data was obtained with the MPI model. This model, as explained in Section 3.2, consists of a set of symmetric classical play operators and a generalized function to model the asymmetry of the hysteresis loop. It is very difficult to find a single generalized function that fit to both external curves efficiently. Tests have been done with polynomial of different degrees, and the best result was achieved with the third-order polynomial in Equation (46). Since the results from this model are not good for the hysteresis curves in Figure 2, probably because classical play operators were primarily intended for adjustment of symmetrical loops, no further comment will be made about it.
Figure 10. Models for ascending curves. (a) GPI model with n = 4 play operators; (b) MPI model with third-order polynomial and n = 10 OSP operators; (c) POLY model with sixth-order polynomial; (d) ELAM model.
Figure 10. Models for ascending curves. (a) GPI model with n = 4 play operators; (b) MPI model with third-order polynomial and n = 10 OSP operators; (c) POLY model with sixth-order polynomial; (d) ELAM model.
Sensors 15 26170 g010
Table 5. Average errors and maximum errors of hysteresis models for ascending curves.
Table 5. Average errors and maximum errors of hysteresis models for ascending curves.
ModelBestAverage Error (V)Average Error % FSMax. Error (V)Max. Error % FS
GPI1.210.041.120.308.47
MPI7.450.102.940.359.77
POLY2.270.061.640.226.15
ELAM0.370.0200.580.113.16
The GPI model shows a very good performance for the descending curves, although some significant deviations are observed and circled in Figure 9a. The model is saturated for high values of the input signal, so that the adjustment in this area is not good. This behavior is repeated at the start of each inner descending curve. Regarding the ascending curves, the model shows a poor performance in fitting them, as Figure 10a depicts. The main reason behind these deviations is the difficulty in finding envelope functions that fit precisely to the external curves in the complete input range.
With respect to the POLY model, it shows a great difficulty in adjusting the descending curves (see Figure 9c). It is noted that the descending curves of the model are shifted to the left with respect to the experimental data. This is because it is not possible to find the polynomial in Equation (48) to fit the external descending curve of the tactile sensor. As for the ascending curves (see Figure 10c), the model cannot adjust the internal curves well for the same reason.
The ELAM models for the ascending and descending curves, are shown in Figure 9d and Figure 10d respectively. It can be observed that the adjustment of the descending curves is better than with the other methods. The curves do not saturate as with the GPI model (see Figure 9a). The split point introduced in the ELAM model provides a larger flexibility than that of the POLY model to approximate highly nonlinear curves. Regarding the ascending curves, the ELAM model is also the one that achieves the best fitting, even in the internal ascending branches, where other models have large errors.
Figure 11a shows the output voltage from samples measured and obtained with the ELAM method for different descending trajectories (see Figure 2a), as well as the error, whose zoom is displayed at Figure 11b. Figure 12 shows the same data for different ascending curves (see Figure 2b). The error is below 0.1% of the full scale sensor output in both cases. Therefore, the ELAM method provides the model that achieves the best fitting of the experimental data. The samples are the output voltage values obtained every two seconds. The number of measured samples is 211 for the descending curves and 451 for the ascending curves.
Figure 11. (a) Measured data, ELAM model and absolute value of the error; (b) Error zoom.
Figure 11. (a) Measured data, ELAM model and absolute value of the error; (b) Error zoom.
Sensors 15 26170 g011
Figure 12. (a) Measured data, ELAM model and absolute value of the error; (b) Error zoom.
Figure 12. (a) Measured data, ELAM model and absolute value of the error; (b) Error zoom.
Sensors 15 26170 g012
Furthermore, regarding the interest stated in the introduction in implementing the compensation algorithms in the local electronics based on an FPGA, the ELAM model is the most suitable because its complexity is similar to the POLY model but lower than that of the other two models based on Prandtl-Ishlinskii operators. Specifically, the GPI model shows a fit to the experimental curves close to that achieved with the ELAM model, but the mathematical operators involved are much more complex. The ELAM method is based on simple mathematical operations such as additions and multiplications, while the GPI and MPI models use exponential functions for the density function and for the envelope functions. These operations are more difficult to implement and require the use of more logical resources in devices such as FPGAs. The parameter identifying process in Section 5 is also simpler in the ELAM method. Finally, the GPI, MPI and POLY methods require of a prior selection step of the functions to be used in the construction of the models, while the ELAM method does not need it because it uses the experimental data for the construction of the hysteresis loops. Only the way to obtain the split point has to be determined, and simple linear (see Equations (11) and (12)) or quadratic (see Equation (21)) expressions provide good results.
Therefore the ELAM model is inverted according to equations set out in Section 3.5 and it is used for compensating hysteresis nonlinearities presented by the experimental curves of Figure 2a,b. Figure 13 shows the output of the sensor for a set of loading-unloading cycles when it is compensated with the ELAM method. Figure 13a shows the direct ELAM model and the curves measured experimentally. Figure 13b displays the inverse ELAM model, wherein the pressure calculated by the model associated to the sensor output voltage is represented. Figure 13c displays the pressure calculated by the ELAM model versus the real exerted pressure, i.e., it shows the compensation of the descending cycles of the sensor hysteresis. The same data are shown in Figure 14 for the ascending curves. It is noteworthy that the performance of the ELAM model has been assessed from experimental data instead of using other simulated input that could provide artificially good results. In this respect, the errors observed in Figure 13c and Figure 14c are due to noise in the flat areas of the experimental curves (note that the descending curves are saturated for high input pressure values). These errors limit the useful range of the sensor for a given resolution of the measurement.
Figure 13. Compensation for descending curves with ELAM method (a) ELAM direct model; (b) ELAM inverse model; (c) Sensor output pressure versus real pressure after ELAM compensation.
Figure 13. Compensation for descending curves with ELAM method (a) ELAM direct model; (b) ELAM inverse model; (c) Sensor output pressure versus real pressure after ELAM compensation.
Sensors 15 26170 g013
Figure 14. Compensation for ascending curves with ELAM method (a) ELAM direct model; (b) ELAM inverse model; (c) Sensor output pressure versus real pressure after ELAM compensation.
Figure 14. Compensation for ascending curves with ELAM method (a) ELAM direct model; (b) ELAM inverse model; (c) Sensor output pressure versus real pressure after ELAM compensation.
Sensors 15 26170 g014

6.2. Results with Tactile Sensor Matrix

This section shows the application of the ELAM method to compensate the hysteresis of a tactile sensor composed of 256 taxels distributed in 16 rows and 16 columns. Each taxel is an independent sensing unit that must be modeled individually, and its hysteresis nonlinearity has to be compensated with its ELAM model. Table 6 shows the frames obtained for different uniform pressures exerted on the sensor. A large mismatching between taxels is observed. Two frames measured for the same input pressure are compared in the same column of the table, one for an ascending sequence (top) and the other for a descending sequence (bottom). Table 7 shows the same frames once the compensation with the ELAM method is applied. It can be observed that not only the hysteresis nonlinearities but also the mismatching between different taxels are compensated. The value of the relative standard deviation with respect to the full scale output is shown for each frame to quantify the improvement regarding the mismatching after the compensation process. In addition, the difference between the frames in the ascending and descending paths is displayed, and its mean value with respect to the full scale output illustrates the improvement regarding the hysteresis.
Table 6. Hysteresis loop frames measured before compensation.
Table 6. Hysteresis loop frames measured before compensation.
UP ➔4.01 PSI10.25 PSI20.20 PSI30.06 PSI40.21 PSI49.93 PSI59.93 PSI
Sensors 15 26170 i001 Sensors 15 26170 i002 Sensors 15 26170 i003 Sensors 15 26170 i004 Sensors 15 26170 i005 Sensors 15 26170 i006 Sensors 15 26170 i007 Sensors 15 26170 i008
s t d ( x ) / FS :0.090.160.180.150.130.12
DOWN ➔4.01 PSI10.05 PSI19.86 PSI30.01 PSI40.02 PSI49.59 PSI
Sensors 15 26170 i009 Sensors 15 26170 i010 Sensors 15 26170 i011 Sensors 15 26170 i012 Sensors 15 26170 i013 Sensors 15 26170 i014 Sensors 15 26170 i015
s t d ( x ) / FS :0.130.180.160.130.120.110.11
Absolute Distance Sensors 15 26170 i016 Sensors 15 26170 i017 Sensors 15 26170 i018 Sensors 15 26170 i019 Sensors 15 26170 i020 Sensors 15 26170 i021
: x ¯ / FS :0.080.170.140.110.070.04
Table 7. Hysteresis loop frames after compensation with ELAM method.
Table 7. Hysteresis loop frames after compensation with ELAM method.
UP ➔4.01 PSI10.25 PSI20.20 PSI30.06 PSI40.21 PSI49.93 PSI59.93 PSI
Sensors 15 26170 i022 Sensors 15 26170 i023 Sensors 15 26170 i024 Sensors 15 26170 i025 Sensors 15 26170 i026 Sensors 15 26170 i027 Sensors 15 26170 i028 Sensors 15 26170 i029
s t d ( x ) / FS :0.020.030.040.030.030.04
DOWN ➔4.01 PSI10.05 PSI19.86 PSI30.01 PSI40.02 PSI49.59 PSI
Sensors 15 26170 i030 Sensors 15 26170 i031 Sensors 15 26170 i032 Sensors 15 26170 i033 Sensors 15 26170 i034 Sensors 15 26170 i035 Sensors 15 26170 i036
s t d ( x ) / FS :0.0600.010.020.040.060
Absolute Distance Sensors 15 26170 i037 Sensors 15 26170 i038 Sensors 15 26170 i039 Sensors 15 26170 i040 Sensors 15 26170 i041 Sensors 15 26170 i042
: x ¯ / FS 0.020.020.030.030.040.07
In addition, Table 8 and Table 9 show the sensor output when the force is exerted with a ring-shaped object. Table 8 shows the frames corresponding to the measured sensor output, while Table 9 shows the compensated frames with the ELAM method.
Table 8. Hysteresis loop frames measured before compensation with Ring object.
Table 8. Hysteresis loop frames measured before compensation with Ring object.
UP ➔2.08 N5.99 N9.91 N19.85 N29.82 N
Sensors 15 26170 i043 Sensors 15 26170 i044 Sensors 15 26170 i045 Sensors 15 26170 i046 Sensors 15 26170 i047 Sensors 15 26170 i048
s t d ( x ) / FS :0.050.110.160.250.31
DOWN ➔2.03 N6.00 N10.04 N20.04 N30.09 N
Sensors 15 26170 i049 Sensors 15 26170 i050 Sensors 15 26170 i051 Sensors 15 26170 i052 Sensors 15 26170 i053 Sensors 15 26170 i054
s t d ( x ) / FS :0.070.140.200.300.34
Absolute Distance Sensors 15 26170 i055 Sensors 15 26170 i056 Sensors 15 26170 i057 Sensors 15 26170 i058 Sensors 15 26170 i059
: x ¯ / FS 0.040.070.090.090.07
Table 9. Hysteresis loop frames with Ring object after compensation with ELAM method.
Table 9. Hysteresis loop frames with Ring object after compensation with ELAM method.
UP ➔2.08 N5.99 N9.91 N19.85 N29.82 N
Sensors 15 26170 i060 Sensors 15 26170 i061 Sensors 15 26170 i062 Sensors 15 26170 i063 Sensors 15 26170 i064 Sensors 15 26170 i065
s t d ( x ) / FS :0.030.060.090.160.22
DOWN ➔2.03 N6.00 N10.04 N20.04 N30.09 N
Sensors 15 26170 i066 Sensors 15 26170 i067 Sensors 15 26170 i068 Sensors 15 26170 i069 Sensors 15 26170 i070 Sensors 15 26170 i071
s t d ( x ) / FS :0.030.050.070.140.21
Absolute Distance Sensors 15 26170 i072 Sensors 15 26170 i073 Sensors 15 26170 i074 Sensors 15 26170 i075 Sensors 15 26170 i076
: x ¯ / FS 0.060.050.050.070.05

7. Conclusions

This paper presents a novel method to compensate for hysteresis nonlinearities observed in the response of a tactile sensor. The sensor shows a very pronounced hysteresis with high nonlinearity, and a large mismatching between the responses of different taxels. The proposed method builds a model that accurately fits the experimental data obtained in the characterization process. This so called ELAM method carries out a linear mapping of the external curves of the measured hysteresis loop to the curves of the inner cycles. Its main feature is the introduction of a split point in the curves to produce a different mapping to the left and right of this point, whose location is provided by an error minimization algorithm. The ELAM model is compared with the models obtained from three other approaches, the generalized Prandtl-Ishlinskii model (GPI), the modified Prandtl-Ishlisnkii model (MPI), and a model based on dominant curves built with polynomials (POLY). The results show that the ELAM model fits the measured data more accurately than the other three methods, especially in the ascending curves, where the other methods perform worse. Another very remarkable advantage of the ELAM method versus the other three methods is that the involved mathematical operations are simpler, so they can be implemented more easily in FPGA devices in order to cope with real-time applications. For instance, the ELAM method does uses neither play operators nor exponential functions that may require the use of additional computational resources. Moreover, the number of parameters to be identified by the error minimization algorithm is higher in the other methods, and they also require a prior selection of the appropriate functions to build the model. The performance of the proposed method is shown with data obtained from measurements of the sensor output when a uniform pressure is exerted on the entire matrix, and also when the force is exerted by objects with different shapes. The output of each taxel is compensated with its own ELAM hysteresis model and a significant reduction of the hysteresis, nonlinearity and mismatching errors, is observed. The ELAM method fits very well to complex and asymmetrical hysteresis curves, which cannot be characterized by mathematical functions in a direct way. This allows the application of the strategy followed by the ELAM method to other types of sensors or actuators. Moreover, it is a flexible method, since more split points can be added to divide the curves into a larger number of segments, so different mappings can be done for each segment and a good fitting can be achieved despite the complexity of the hysteresis loops.

Acknowledgments

This work has been funded by the Spanish Government and by the European ERDF program funds under contract TEC2012-38653.

Author Contributions

This paper is part of the PhD Thesis of José A. Sánchez Durán and he is the main contributor. José A. Hidalgo-López and Fernando Vidal Verdú are co-advisors of his PhD Thesis and both helped in the revision of the manuscript. In addition, José A. Hidalgo-López is co-author of the development of the ELAM method. Julián Castellanos-Ramos has assisted in the characterization procedures and in the development of many parts of the experimental set-up. Finally, Óscar Oballe-Peinado has helped in the development of the electronics for the signal conditioning of the sensor under test.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dahiya, R.S.; Mittendorfer, P.; Valle, M.; Cheng, G.; Lumelsky, V.J. Directions toward Effective Utilization of Tactile Skin: A Review. IEEE Sens. J. 2013, 13, 4121–4138. [Google Scholar] [CrossRef]
  2. Cannata, G.; Maggiali, M. An embedded tactile and force sensor for robotic manipulation and grasping. In Proceedings of the 5th IEEE-RAS International Conference on Humanoid Robots, Tsukuba, Japan, 5–7 December 2005; pp. 80–85.
  3. Göger, D.; Weiß, K.; Burghart, C.; Wörn, H. Sensitive skin for a humanoid robot. In Proceedings of the 2006 International Conference on Human-Centered Robotic Systems, Munich, Germany, 6–7 October 2006.
  4. Barrett Technology. Available online: http://www.barrett.com/robot/products-hand.htm (accessed on 12 October 2015).
  5. SDH servo-electric 3-Finger Gripping Hand. Available online: http://mobile.schunk-microsite.com/en/produkte/produkte/sdh-servo-electric-3-finger-gripping-hand.html (accessed on 12 October 2015).
  6. Wisitsoraat, A.; Patthanasetakul, V.; Lomas, T.; Tuantranont, A. Low cost thin film based piezoresistive MEMS tactile sensor. Sens. Actuators A Phys. 2007, 139, 17–22. [Google Scholar] [CrossRef]
  7. Kim, K.; Lee, K.R.; Lee, D.S.; Cho, N.K.; Kim, W.H.; Park, K.B.; Park, H.D.; Kim, Y.K.; Park, Y.K.; Kim, J.H. A silicon-based flexible tactile sensor for ubiquitous robot companion applications. J. Phys. Conf. Ser. 2006, 34, 399. [Google Scholar] [CrossRef]
  8. Kane, B.J.; Cutkosky, M.R.; Kovacs, G.T.A. A traction stress sensor array for use in high-resolution robotic tactile imaging. J. Microelectromec. Syst. 2000, 9, 425–434. [Google Scholar] [CrossRef]
  9. Lee, H.K.; Chang, S.I.; Yoon, E. A Capacitive Proximity Sensor in Dual Implementation with Tactile Imaging Capability on a Single Flexible Platform for Robot Assistant Applications. In Proceedings of the 19th IEEE International Conference on Micro Electro Mechanical Systems, Istanbul, Turkey, 22–26 January 2006; pp. 606–609.
  10. Paschen, U.; Leineweber, M.; Amelung, J.; Schmidt, M.; Zimmer, G. A novel tactile sensor system for heavy-load applications based on an integrated capacitive pressure sensor. Sens. Actuators A Phys. 1998, 68, 294–298. [Google Scholar] [CrossRef]
  11. Pressure Profile Systems. Available online: http://www.pressureprofile.com/ (accessed on 12 October 2015).
  12. Hellard, G.; Russell, R.A. A tactile sensor array that also grasps objects. In Proceedings of the Australasian conference on robotics and automation, Auckland, New Zealand, 6–8 December 2006; pp. 1–6.
  13. Dahiya, R.S.; Valle, M.; Metta, G.; Lorenzelli, L. POSFET Based Tactile Sensor Arrays. In Proceedings of the 14th IEEE International Conference on Electronics, Circuits and Systems, Marrakech, Morocco, 11–14 December 2007; pp. 1075–1078.
  14. Dahiya, R.S.; Metta, G.; Valle, M.; Sandini, G. Tactile Sensing—From Humans to Humanoids. IEEE Trans. Robot. 2010, 26, 1–20. [Google Scholar] [CrossRef]
  15. Sánchez-Durán, J.A.; Hidalgo-López, J.A.; Castellanos-Ramos, J.; Oballe-Peinado, Ó.; Vidal-Verdú, F. Influence of Errors in Tactile Sensors on Some High Level Parameters Used for Manipulation with Robotic Hands. Sensors 2015, 15, 20409–20435. [Google Scholar] [CrossRef] [PubMed]
  16. Oballe-Peinado, Ó.; Castellanos-Ramos, J.; Hidalgo-López, J.A.; Vidal-Verdú, F. Direct interfaces for smart skins based on FPGAs. In Proceedings of the SPIE Europe Microtechnologies for the New Millennium, Dresden, Germany, 4 May 2009.
  17. Vidal-Verdú, F.; Oballe-Peinado, Ó.; Sánchez-Durán, J.A.; Castellanos-Ramos, J.; Navas-González, R. Three Realizations and Comparison of Hardware for Piezoresistive Tactile. Sensors 2011, 11, 3249–3266. [Google Scholar] [CrossRef] [PubMed]
  18. Cofer, R.C.; Harding, B.F. Rapid System Prototyping with FPGAs: Accelerating the Design Process; Newnes: Burlington, MA, USA, 2005. [Google Scholar]
  19. Rakotondrabe, M.; Clevy, C.; Lutz, P. Complete Open Loop Control of Hysteretic, Creeped, and Oscillating Piezoelectric Cantilevers. IEEE Trans. Autom. Sci. Eng. 2010, 7, 440–450. [Google Scholar] [CrossRef] [Green Version]
  20. Leang, K.K.; Zou, Q.; Devasia, S. Feedforward control of piezoactuators in atomic force microscope systems. IEEE Control Syst. 2009, 29, 70–82. [Google Scholar] [CrossRef]
  21. Smith, R. Smart Material Systems; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2005. [Google Scholar]
  22. Mayergoyz, I.D. Mathematical Models of Hysteresis; Springer New York: New York, NY, USA, 1991. [Google Scholar]
  23. Visintin, A. Differential Models of Hysteresis; Springer Berlin Heidelberg: Berlin, Germany, 1994. [Google Scholar]
  24. Visone, C. Hysteresis modelling and compensation for smart sensors and actuators. J. Phys. Conf. Ser. 2008, 138, 012028. [Google Scholar] [CrossRef]
  25. Brokate, M.; Sprekels, J. Hysteresis and Phase Transitions; Springer New York: New York, NY, USA, 1996. [Google Scholar]
  26. Zareinejad, M.; Rezaei, S.M.; Ghidary, S.S.; Abdullah, A.; Motamedi, M. Robust impedance control of a piezoelectric stage under thermal and external load disturbances. Control Cybern. 2009, 38, 635–648. [Google Scholar]
  27. Kuhnen, K.; Janocha, H. Inverse feedforward controller for complex hysteretic nonlinearities in smart-material systems. Control Intell. Syst. 2001, 29, 74–83. [Google Scholar]
  28. Janaideh, M.A.; Rakheja, S.; Su, C.Y. An Analytical Generalized Prandtl-Ishlinskii Model Inversion for Hysteresis Compensation in Micropositioning Control. IEEEASME Trans. Mechatron. 2011, 16, 734–744. [Google Scholar] [CrossRef]
  29. Jiang, H.; Ji, H.; Qiu, J.; Chen, Y. A modified prandtl-ishlinskii model for modeling asymmetric hysteresis of piezoelectric actuators. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2010, 57, 1200–1210. [Google Scholar] [CrossRef] [PubMed]
  30. Gu, G.Y.; Zhu, L.M.; Su, C.Y. Modeling and Compensation of Asymmetric Hysteresis Nonlinearity for Piezoceramic Actuators With a Modified Prandtl-Ishlinskii Model. IEEE Trans. Ind. Electron. 2014, 61, 1583–1595. [Google Scholar] [CrossRef]
  31. Zhang, G.; Zhang, C.; Gu, J. A Memory-Based Hysteresis Model in Piezoelectric Actuators. J. Control Sci. Eng. 2012, 2012, e498590. [Google Scholar] [CrossRef]
  32. Sun, L.; Ru, C.; Rong, W.; Chen, L.; Kong, M. Tracking control of piezoelectric actuator based on a new mathematical model. J. Micromech. Microeng. 2004, 14, 1439. [Google Scholar]
  33. Castellanos-Ramos, J.; Navas-González, R.; Macicior, H.; Sikora, T.; Ochoteco, E.; Vidal-Verdú, F. Tactile sensors based on conductive polymers. Microsyst. Technol. 2010, 16, 765–776. [Google Scholar] [CrossRef]
  34. Ochoteco, E.; Pomposo, J.A.; Sikora, T.; Vidal, F.; Martinez, F.; Obieta, G.; Grande, H. All-plastic distributed pressure sensors: Taylor-made performance by electroactive materials design. Microsyst. Technol. 2008, 14, 1089–1097. [Google Scholar] [CrossRef]
  35. Tekscan Pressure Mapping, Force Measurement, & Tactile Sensors. Available online: https://www.tekscan.com/ (accessed on 7 May 2015).
  36. Pneumax. Available online: http://www.pneumaxspa.com (accessed on 12 October 2015).
  37. Linear Slides and Linear Actuators from Zaber Technologies. Available online: http://www.zaber.com/ (accessed on 7 May 2015).
  38. ATI Force Torque Sensor: Nano17. Available online: http://www.ati-ia.com/products/ft/ft_models.aspx?id=Nano17 (accessed on 14 October 2015).
  39. Janaideh, M.A.; Rakheja, S.; Su, C.Y. A generalized Prandtl-Ishlinskii model for characterizing the hysteresis and saturation nonlinearities of smart actuators. Smart Mater. Struct. 2009, 18, 045001. [Google Scholar] [CrossRef]
  40. Liu, L.; Tan, K.K.; Teo, C.S.; Chen, S.L.; Lee, T.H. Development of an Approach toward Comprehensive Identification of Hysteretic Dynamics in Piezoelectric Actuators. IEEE Trans. Control Syst. Technol. 2013, 21, 1834–1845. [Google Scholar] [CrossRef]
  41. Chan, C.H.; Liu, G. Hysteresis identification and compensation using a genetic algorithm with adaptive search space. Mechatronics 2007, 17, 391–402. [Google Scholar] [CrossRef]
  42. Yang, M.J.; Gu, G.Y.; Zhu, L.M. Parameter identification of the generalized Prandtl-Ishlinskii model for piezoelectric actuators using modified particle swarm optimization. Sens. Actuators A Phys. 2013, 189, 254–265. [Google Scholar] [CrossRef]
  43. Goldberg, D.E. Genetic Algorithms in Search, Optimization and Machine Learning, 1st ed.; Addison-Wesley Longman Publishing Co., Inc.: Boston, MA, USA, 1989. [Google Scholar]
  44. Sánchez-Durán, J.A.; Oballe-Peinado, Ó.; Castellanos-Ramos, J.; Vidal-Verdú, F. Hysteresis correction of tactile sensor response with a generalized Prandtl–Ishlinskii model. Microsyst. Technol. 2012, 18, 1127–1138. [Google Scholar] [CrossRef]
  45. Ru, C.; Sun, L. Improving positioning accuracy of piezoelectric actuators by feedforward hysteresis compensation based on a new mathematical model. Rev. Sci. Instrum. 2005, 76, 095111. [Google Scholar] [CrossRef]
  46. Bashash, S.; Jalili, N. A Polynomial-Based Linear Mapping Strategy for Feedforward Compensation of Hysteresis in Piezoelectric Actuators. J. Dyn. Syst. Meas. Control 2008, 130, 031008. [Google Scholar] [CrossRef]
  47. Lawrence, S.; Giles, C.L.; Tsoi, A.C. Lessons in neural network training: Overfitting may be harder than expected. In Proceedings of the Fourteenth National Conference on Artificial Intelligence, AAAI-97, Providence, RI, USA, 27–31 July 1997.

Share and Cite

MDPI and ACS Style

Sánchez-Durán, J.A.; Vidal-Verdú, F.; Oballe-Peinado, Ó.; Castellanos-Ramos, J.; Hidalgo-López, J.A. A New Model Based on Adaptation of the External Loop to Compensate the Hysteresis of Tactile Sensors. Sensors 2015, 15, 26170-26197. https://doi.org/10.3390/s151026170

AMA Style

Sánchez-Durán JA, Vidal-Verdú F, Oballe-Peinado Ó, Castellanos-Ramos J, Hidalgo-López JA. A New Model Based on Adaptation of the External Loop to Compensate the Hysteresis of Tactile Sensors. Sensors. 2015; 15(10):26170-26197. https://doi.org/10.3390/s151026170

Chicago/Turabian Style

Sánchez-Durán, José A., Fernando Vidal-Verdú, Óscar Oballe-Peinado, Julián Castellanos-Ramos, and José A. Hidalgo-López. 2015. "A New Model Based on Adaptation of the External Loop to Compensate the Hysteresis of Tactile Sensors" Sensors 15, no. 10: 26170-26197. https://doi.org/10.3390/s151026170

APA Style

Sánchez-Durán, J. A., Vidal-Verdú, F., Oballe-Peinado, Ó., Castellanos-Ramos, J., & Hidalgo-López, J. A. (2015). A New Model Based on Adaptation of the External Loop to Compensate the Hysteresis of Tactile Sensors. Sensors, 15(10), 26170-26197. https://doi.org/10.3390/s151026170

Article Metrics

Back to TopTop