Next Article in Journal
Building an Equation of State Density Ladder
Previous Article in Journal
Generalization Investigation for Artificial Intelligence-Based Positioning in IIoT
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Virtual Sensors for Nonlinear Discrete-Time Dynamic Systems

by
Oleg Sergiyenko
1,*,†,
Alexey Zhirabok
2,3,†,
Ibrahim A. Hameed
4,*,†,
Ahmad Taher Azar
5,6,*,†,
Alexander Zuev
2,3,†,
Vladimir Filaretov
7,8,†,
Vera Tyrsa
9,† and
Ibraheem Kasim Ibraheem
10,†
1
Engineering Institute, Universidad Autonoma de Baja California, Mexicali 21280, Mexico
2
Department of Automation and Robotics, Far Eastern Federal University, 690990 Vladivostok, Russia
3
Institute of Marine Technology Problems, 690990 Vladivostok, Russia
4
Department of ICT and Natural Sciences, Norwegian University of Science and Technology, Larsgardsvegen, 2, 6009 Alesund, Norway
5
College of Computer and Information Sciences, Prince Sultan University, Riyadh 11586, Saudi Arabia
6
Faculty of Computers and Artificial Intelligence, Benha University, Benha 13518, Egypt
7
Institute of Automation and Control Processes, 690041 Vladivostok, Russia
8
Department of Informatics and Control in Technical Systems, Sevastopol State University, 299053 Sevastopol, Russia
9
Engineering Faculty, Mexicali, Universidad Autonoma de Baja California, Mexicali 21100, Mexico
10
Research Center, the University of Mashreq, Baghdad 10001, Iraq
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Symmetry 2023, 15(5), 993; https://doi.org/10.3390/sym15050993
Submission received: 13 March 2023 / Revised: 18 April 2023 / Accepted: 20 April 2023 / Published: 27 April 2023
(This article belongs to the Special Issue Recent Advances on Nonlinear Dynamics and Nonlinear Equations)

Abstract

:
The problem of virtual sensor design for nonlinear systems under the disturbance is investigated. Two different mathematical techniques are used to solve the problem: the algebra of functions and the logic-dynamic approach. The first one allows obtaining a general solution while the second one produces a solution for nonlinear systems by linear algebra methods. The virtual sensors are designed to be insensitive to the disturbance based on invariant functions. They estimate the prescribed function of the original system state vector. The practical example illustrates theoretical results.

1. Introduction

Modern technical systems are provided by different sensors which are used, in particular, to solve control and fault diagnosis problems. To simplify the solution, one can use the additional physical sensors but this cannot always be realized in practice and may result in extra expenses. Moreover, as usual, such sensors are unreliable. In this case, one can use virtual sensors. Additionally, virtual sensors can replace the faulty physical sensor. Note that the virtual sensors are similar to the reduced-order observers, which estimate some of the system’s state variables. Virtual sensors are constructed to estimate the arbitrary nonlinear function of the system’s state vector.
Different problems in the design and application of virtual sensors are studied [1,2,3,4,5,6,7,8,9,10,11,12,13,14]. The practical applications of such sensors have mainly been for an automotive engine [1], an industrial motor [14], walking robots [6] and aircraft [7], and for fault diagnosis in a bicomponent mixing machine [8]. For remotely deployed sensors, a new architectural paradigm is presented in [10]. The different theoretical and practical aspects of virtual sensor design are considered in [2,4,9,11].
The main contribution of this paper is that virtual sensors which are insensitive or have minimal sensitivity to external disturbances are designed to estimate the prescribed function of the system state vector. Unlike [4], where the procedure to design virtual sensors estimating the entire state was developed for linear systems free of any external disturbances, this present paper considers the systems with non-smooth nonlinearities such as backlash, dry friction, saturation, and hysteresis, estimating the prescribed function of the state vector. Clearly, the use of the virtual sensors of the reduced dimension allows one to diminish the computational complexity and implement more effective control. Such sensors are designed using two different mathematical techniques. The first is the algebra of functions, allowing one to obtain the general solution developed in [15] and used to solve the different problems of nonlinear dynamic systems described by non-smooth nonlinearities. The second is the logic-dynamic approach developed in [16] which produces a solution for nonlinear systems by linear algebra methods. Such sensors estimate the prescribed components of the system state vector and are of the minimal dimension.
Consider the system given by the nonlinear model
x ( t + 1 ) = f ( x ( t ) , u ( t ) , ρ ( t ) ) , y ( t ) = h ( x ( t ) ) .
Here,  x X R n is the state vector, u U R m is the vector of control, y R l is the vectors of the output; ρ ( t ) R s is an unknown function of time and describes the disturbance; f and h are nonlinear functions, and the function f may be non-smooth.
The problem is to design a virtual sensor that is insensitive to the disturbance and estimates the variable v ( t ) = ν ( x ( t ) ) R p for the specified function ν . The reduced-order model
z ( t + 1 ) = f * ( z ( t ) , u ( t ) , y ( t ) , v ( t ) ) , v ( t ) = h v ( z ( t ) , y 0 ( t ) ) ,
is used to design such a sensor. Here, z R k is the vector of the state, f * and h v are functions to be determined and the variable y 0 ( t ) will be explained below.
We consider two mathematical techniques to design the model (2): the general solution is based on the algebra of functions while the logic-dynamic approach produces a solution for nonlinear systems by methods of linear algebra.

2. General Solution

The general approach to the model (2) design is based on the algebra of functions developed in [15] and used to solve the different problems of system theory [15,17,18,19] and briefly described in Appendix A. The elements of this algebra are the functions determined on X. The algebra of the functions contains: the relation of the partial pre-order ≤, binary operations × and ⊕, binary relation Δ , and operators m and M .
One assumes that there exists the function ψ such that z ( t ) = ψ ( x ( t ) ) . It follows from (2) that the considered problem is closed to the fault diagnosis problem described in terms of the algebra of functions in [15,17]. The differences are the variable v ( t ) in the function f * and y 0 ( t ) in the function h v . The similarity of these problems allows to conclude that the function ψ satisfies the condition [15,17]
ψ × h * M ( ψ ) ,
where h * ( x ) = ( h × ν ) ( x ) = h ( x ) ν ( x ) = y v .
Note that the function ψ is ( h * , f ) -invariant and is similar to that used in [20] to solve the different problems of control theory.
The case when the model is insensitive to the disturbance is the best solution. Such a model can be designed as follows. Let γ 0 be a minimal function (in the sense of the relation ≤) such that ρ is not in γ 0 ( f ( x , u , ρ ) ) . The sequence of functions γ 0 γ 1 is defined using the formula
γ i + 1 = γ i m ( γ i × h * ) , i = 0 , 1 ,
One proves that for some finite k the relation γ k + 1 = γ k is true [15,19]. Define ψ : = γ k .
Theorem 1
([15,19]). The function ψ is minimal, meeting the conditions (3) and γ 0 ψ .
The relation ≤ and the operator M mean that the condition (3) implies the existence of the function f * satisfying the equality
f * ( ( ψ × h * ) ( x ( t ) ) , u ( t ) ) = ψ ( f ( x ( t ) , u ( t ) , ρ ( t ) ) ) ;
whilst, additionally, it follows from γ 0 ψ that the function f * does not contain the disturbance ρ ( t ) .
To avoid the influence of ρ ( t ) on v ( t ) , the variable y 0 ( t ) in (2) should not also contain ρ ( t ) . This means that this variable should be such part of the vector y ( t ) = h ( x ( t ) ) which is insensitive to the disturbance: y 0 ( t ) = ( γ 0 h ) ( x ( t ) ) . Denote h 0 = γ 0 h .
To design the dynamic part of the model (2), perform the transformation according to (4) of the right hand side of the relation
z ( t + 1 ) = ψ ( x ( t + 1 ) ) = ψ ( f ( x ( t ) , u ( t ) , ρ ( t ) ) )
To design the static part in the form v = h v ( z , y 0 ) , write down it as follows:
ν ( x ) = h v ( ψ ( x ) , h 0 ( x ) ) ,
which is equivalent to the functional inequality
ψ × h 0 ν .
If this condition is true for the function ψ , then based on (6) and the relation ≤, the function h v can be calculated. As a result, the model (2) was designed.
Recall that the function ψ is minimal; this provides the best condition to satisfy (6) but produces the model of maximal dimensions. To simplify the model, one has to find the function ψ * satisfying the conditions
ψ ψ * , h * × ψ * M ( ψ * ) .
Since γ 0 ψ , then γ 0 ψ * , and  ψ * can be used instead of ψ .
If the condition (6) is not satisfied, one cannot design the model insensitive to the disturbance. In this case, to design the model weakly sensitive to the disturbance, one has to supplement the function ψ by the maximal (containing the minimal number of independent components) function ψ satisfying the condition
ψ × ψ × h 0 ν .
Since the function ψ is ambiguously defined, it should be chosen so that the contribution of the disturbance ρ ( t ) in the function ψ ( f ( x , u , ρ ) ) is minimal.
Remark 1.
If the system is linear and is described by matrix equations, one can formulate the precise definition of the disturbance ρ ( t ) contribution in the model and then solve the problem to minimize this contribution [21]. Generally, one may call this weak sensitivity.
As a result, the total model is a composition of system (2) being insensitive to the disturbance and new system with the state vector z 0 = ψ 0 ( x ) (Figure 1), where function ψ 0 satisfies conditions
ψ 0 ψ , ( ψ × h * ) × ψ 0 M ( ψ 0 ) .
The first condition means that the function ψ 0 contains information no less than ψ and can be used in (8) instead of ψ . The second condition is similar to the inequality (3) and describes the dynamic of the second system in Figure 1.
The algorithm below (Algorithm 1) is used to compute the function φ 0 satisfying the conditions in (9) [15,19].
Algorithm 1: Computation of the function φ 0
 1. Set i : = 1 , β 1 : = φ .
 2. Compute the function γ i = M ( β i ) .
 3. If  γ i can be expressed via φ × h * × β 1 × × β i , go to Step 5.
 4. Find the function β i + 1 with a minimal number of components satisfying the inequality
( φ × h * ) × β 1 × × β i × β i + 1 γ i ,
   set i : = i + 1 and go to Step 2.
 5. Set φ 0 : = β 1 × × β i .
The algorithm does not guarantee that ψ 0 is unique, since different functions β i + 1 (incomparable in the sense of the relation ≤) satisfying the conditions (10) can be chosen at Step 4. More information about the algorithm can be found in [15,19].
The final model is given by
z ( t + 1 ) = f * ( z ( t ) , u ( t ) , y ( t ) , v ( t ) ) , z 0 ( t + 1 ) = f 0 ( z 0 ( t ) , z ( t ) , u ( t ) , y ( t ) , v ( t ) ) , v ( t ) = h c ( z 0 ( t ) , z ( t ) , y 0 ( t ) ) ,
where the functions h c and f 0 are defined based on relations (8) (after replacing the function ψ by ψ 0 ) and (9), respectively.
The stability of the model (2) or (11) can be achieved by known methods [22]; some of them are considered in Section 4.

3. Logic-Dynamic-Based Solution

3.1. Insensitivity to the Disturbance

When the function ψ is assumed to be nonlinear, the theorem gives a general solution to the problem and demands a complex mathematical technique—the algebra of functions. If one limits a class of functions ψ by linear functions, the solution can be obtained by the logic-dynamic approach [16] which is based on the linear algebra. To use this approach, system (1) should be presented in the form
x ( t + 1 ) = A x ( t ) + B u ( t ) + G Φ ( x ( t ) , u ( t ) ) + D ρ ( t ) , y ( t ) = C x ( t ) ,
where A, B, and C are matrices, the matrix D describes the disturbance, the contribution of nonlinear terms G is presented in the form
Φ ( x ( t ) , u ( t ) ) = ϕ 1 ( F 1 x ( t ) , u ( t ) ) ϕ q ( F q x ( t ) , u ( t ) ) ;
ϕ 1 , …, ϕ q are nonlinearities, and F 1 , …, F q are the matrices. One assumes that v ( t ) = V x ( t ) for the prescribed matrix V. System (12) can be obtained from (1) [16].
Note that the nonlinear smooth systems can be studied by geometric approaches [20,23]; in our case, where the systems with non-smooth nonlinearities are considered, these approaches cannot be applied.
As is already known [16], there are three steps in the logic-dynamic approach: at the first step, one removes the nonlinear term from (12); then, the linear model is designed with additional restriction; finally, one transforms the nonlinear term and adds it in the linear model. The linear model at the second step is given by
z ( t + 1 ) = A * x * ( t ) + J * y * ( t ) + B * u ( t ) , v ( t ) = C v x * ( t ) + Q y 0 ( t ) ,
where y * ( t ) = C * x ( t ) = y ( t ) z ( t ) , , C * = C V .
As above, the variable y 0 ( t ) in (13) must be insensitive to the disturbance ρ ( t ) . To obtain such a variable, introduce the matrix D 0 of the maximal rank such that D 0 D = 0 ; note that D 0 corresponds to the function γ 0 . Clearly, x = D 0 x is insensitive to ρ ( t ) and y 0 = N 1 x = N 1 D 0 x for some matrix N 1 . Additionally, since y 0 is a part of the vector y, then y 0 = N 2 C x for some matrix N 2 . Both equalities result in the equation N 1 D 0 = N 2 C . The matrices N 1 and N 2 of maximal rank can be found from the equation
( N 1 N 2 ) D 0 C = 0 .
Finally, one set y 0 ( t ) = N 2 C x ( t ) = N 2 y ( t ) .
Recall that z ( t ) = ψ ( x ( t ) ) for some function ψ in Section 2; here, this function is assumed to be linear and z ( t ) = Ψ x ( t ) for some matrix Ψ . It is known that this function satisfies the condition [16]
Ψ A = A * Ψ + J * C * , B * = Ψ B .
Besides one assumes that matrix A * is in canonical form. In [24], two different forms are considered: identification and Jordan ones; it was shown that, for the continuous-time systems, the Jordan form is preferable from the point of view of stability. The identification of the canonical form with the matrix
A * = 0 1 0 0 0 0 1 0 0 0 0 0 ,
has zero eigenvalues, ensuring that the stability is therefore preferable for the discrete-time systems.
The matrices describing system (12) and model (13) meet the following equations based on (15) and (16) [16,24]:
Ψ i A = Ψ i + 1 + J * i C * , i = 1 , , k 1 , Ψ k A = J * k C * .
Here, Ψ i and J * i are i-th rows of matrices Ψ and J * , respectively, i = 1 , , k . Since system (12) contains the nonlinearity Φ ( x , u ) and model (13) contains the variable v ( t ) , the matrix Ψ should satisfy additional restrictions. The first of them has the form [16]
F = F * Ψ C *
for some matrix F * . Here,
F = F j 1 F j d ,
the numbers j 1 , j 2 , , j d denote nonzero columns in Ψ C . The equality (17) is solvable if
rank Ψ C * = rank Ψ C * F .
The second restriction arises from the demand v ( t ) = V x ( t ) and (13), which imply
V = C z Ψ + Q C 0 = ( C z Q ) Ψ C 0 .
This equation is solvable if
rank Ψ C 0 = rank Ψ C 0 V .
The inequalities (18) and (20) are the desired additional restrictions.
The condition Ψ D = 0 guarantees that the model is insensitive to the disturbance; this demand can be presented in the form [21]
( Ψ 1 J * 1 J * k ) ( W ( k ) D ( k ) ) = 0 ,
where
W ( k ) = A k C * A k 1 C * , D ( k ) = D A D A 2 D A k 1 D 0 C * D C * A D C * A k 2 D 0 0 0 0 .
This equation is solvable if
rank ( W ( k ) D ( k ) ) < n + ( l + p ) k .
If it is true, the matrix ( Ψ 1 J * 1 J * k ) exists and satisfies the condition (21). Then, the matrix Ψ is found and the conditions (18) and (20) are checked; if they are fulfilled, the matrices F * , C z , Q, and B * can be found from (17), (19) and (15), respectively. If (18) or (20) are not fulfilled, another solution of (21) should be found. In what follows, we assume that (18) and (20) are satisfied.
The transformed nonlinear term is given by
G * Φ ( z ( t ) , y * ( t ) , u ( t ) ) = G * ϕ j 1 ( F * j 1 w ( t ) , u ( t ) ) ϕ j d ( F * j d w ( t ) , u ( t ) ) ,
where w = z y * . One can find the matrices F * j 1 , …, F * j d from the equation F j = F * j Ψ C * , j = j 1 , , j d , corresponding to (17). The term (23) is added to the model (13), and a nonlinear model which is insensitive to the disturbance was designed.

3.2. Sensitive to the Disturbance Solution

If (21) has no solutions or (18) or (20) are not satisfied for all k < n , the nonlinear model insensitive to the disturbance cannot be designed. Here, one has to use the robust method based on the singular value decomposition described in [21].
Consider another approach to obtain a robust solution based on the composition Figure 1. Assume that the matrix Ψ is found from (21) and the condition (18) is satisfied while (20) is not. Find all the rows of matrix V for which the condition (20) is satisfied, denote them by V , and design the model (the first subsystem in Figure 1) estimating the vector v ( t ) = V x ( t ) insensitive to the disturbance. The rest of the rows, denoted by V 0 , are used to design the model (the second subsystem)
z 0 ( t + 1 ) = A * z 0 ( t ) + J 0 v ( t ) + B 0 u ( t ) , v 0 ( t ) = C 0 z 0 ( t ) + Q 0 y ( t ) ,
estimating the variable v 0 ( t ) = V 0 x ( t ) . The first row of the matrix Ψ 0 such that z 0 ( t ) = Ψ 0 x ( t ) is found from the equation
( Ψ 01 J 01 J 0 k ) W 0 ( k ) = 0
for minimal k, where
W 0 ( k ) = A k C c A k 1 C c , C c = Ψ C * = Ψ C V .
Then, the matrix Ψ 0 is found and the conditions (18) or (20) are checked after replacing the matrices Ψ , C * , and V by Ψ 0 , C c , and V 0 , respectively. If these conditions are satisfied, compute the matrices H 0 , Q 0 , G 0 = Ψ 0 G , and B 0 = Ψ 0 B and the linear model (24) is designed. The nonlinear term has the form
G 0 ϕ i 1 ( F 0 i 1 w 0 ( t ) , u ( t ) ) ϕ i g ( F 0 i g w 0 ( t ) , u ( t ) ) ,
where w 0 = z 0 v , i 1 , i 2 , , i g are numbers of nonzero columns in G 0 = Ψ 0 G . The rows F 0 i 1 , …, F 0 i g are found from the equation F i = F 0 i Ψ 0 C c , i = i 1 , , i g , where
F = F i 1 F i g .
If (18) or (20) is not satisfied, one has to find another solution of (25) with a former or incremented k. The total model is a composition of the models (13) and (24) supplemented by nonlinear terms.
To the contrary, if the condition (20) is satisfied while (18) is not, the model can be analogously designed by analyzing the matrix F .

4. Stability of the Model

If G * = 0 , the model is linear and its stability is ensured by the canonical form of the matrix A * , otherwise, an additional analysis is required. Consider this in detail; define the error e ( t ) = Ψ x ( t ) z ( t ) .
Assume that the error e ( t ) is small and the function Φ ( z , y * , u ) is differentiable with respect to z. Initially consider the case when q = 1 and Φ ( x , u ) = ϕ ( A x , u ) . Since F = F * Ψ C * and e = Ψ x z , then
F x = F * Ψ C * x = F * 1 Ψ x + F * 2 F * x = F * 1 ( z + e ) + F * 2 y * ,
where F * = ( F * 1 F * 2 ) . The function Δ Φ ( t ) can be transformed as
Δ Φ ( t ) = G * ( ϕ ( F x ( t ) , u ( t ) ) ϕ ( F * 1 z ( t ) + F * 2 y * ( t ) , u ( t ) ) ) = G * ( ϕ ( F * 1 ( z ( t ) + e ( t ) ) + F * 2 y * ( t ) , u ( t ) ) ϕ ( F * 1 z ( t ) + F * 2 y * ( t ) , u ( t ) ) ) G * ϕ ( z , y * , u ) z F * 1 e ( t ) .
As a result, the final relation for e ( t ) is given by
e ( t + 1 ) = A * + G * ϕ ( z , y * , u ) z F * 1 e ( t ) = A e ( z , y * , u ) e ( t ) .
If the eigenvalues of the matrix A e ( z , y * , u ) are in the unit circle, the model is stable. Otherwise, one has to use a feedback with the residual r ( t ) = R r y ( t ) y r ( t ) , where the matrix R r satisfies the condition R r C = C r Ψ for some matrix C r and y r ( t ) = C r x * ( t ) [21]. These matrices can be found from the equation
( C r R r ) Ψ C = 0 .
The nonlinear model with the feedback K r ( t ) is given by
z ( t + 1 ) = A * z ( t ) + J * y * ( t ) + B * u ( t ) + G * Φ ( z ( t ) , y * ( t ) , u ( t ) ) + K r ( t ) .
The equation for the error becomes
e ( t + 1 ) = A * K C r + G * ϕ ( z , y * , u ) z F * 1 e ( t ) = A r ( z , y * , u ) e ( t ) .
This equation implies that the feedback matrix K depends on z , y * , u . This matrix can be constructed as follows: find the characteristic polynomial of the matrix A r ( z , y * , u )
d e t ( A r ( z , y * , u ) λ I k ) = λ k + a 1 ( K , z , y * , u ) λ k 1 + + a k ( K , z , y * , u ) ,
specify the eigenvalues λ 1 , , λ k , obtain the nonlinear equations
a 1 ( K , z , y * , u ) = ( λ 1 + λ 2 + + λ k ) , a 1 ( K , z , y * , u ) = λ 1 λ 2 + λ 1 λ 3 + + λ k 1 λ k , a k ( K , z , y * , u ) = ( 1 ) k λ 1 λ 2 λ k ,
and find elements of the matrix K.
If the model has several nonlinearities, one obtains
A r ( z , y * , u ) = A * K C r + G * ( ϕ j i ( z , y * , u ) / z ) F * j 1 1 ( ϕ j d ( z , y * , u ) / z ) F * j d 1 .
In practice, the suggested approach can be used for a model of no more than 3–4 dimensions since it results in complex impressions when the determinant d e t ( A r ( z , y * , u ) λ I k ) is calculated.

5. Practical Example

Consider the control system
x 1 ( t + 1 ) = a 4 u 1 ( t ) a 1 x 1 ( t ) x 2 ( t ) + x 1 ( t ) + ρ ( t ) , x 2 ( t + 1 ) = a 5 u 2 ( t ) + a 1 x 1 ( t ) x 2 ( t ) a 2 x 2 ( t ) x 3 ( t ) + x 2 ( t ) , x 3 ( t + 1 ) = a 2 x 2 ( t ) x 3 ( t ) a 3 x 3 ( t ) + x 3 ( t ) , y ( t ) = x 2 ( t ) .
Equation (26) constitutes a sampled-data model of the well-known three-tank system. The system consists of three consecutively united tanks. The liquid flows into the first and second tanks and follows from the third one through the pipe. The levels of liquid in the tanks are x 1 , x 2 , and x 3 , respectively, and a 1 , , a 5 are coefficients. It is assumed that x 1 x 2 x 3 .
Design the virtual sensor estimation for the variables x 1 and x 3 , that is ν = x 1 × x 3 . Compute the functions h * = ( h × ν ) = x 2 × x 1 × x 3 = 0 , γ 0 = x 2 × x 3 , and h 0 = γ 0 h = x 2 . Since γ 0 × h * = 0 , then m ( γ 0 × h * ) = 0 , and so ψ = γ 1 = γ 0 = x 2 × x 3 . Since ψ × h 0 = ( x 2 × x 3 ) × x 2 = x 2 × x 3 , the condition (6) is not satisfied. The natural choice for ψ in (8) is ψ ( x ) = x 1 . To compute φ 0 , one uses Algorithm 1 and obtains ψ 0 ( x ) = x 1 . As a result, the second subsystem in Figure 1 with z 1 = ψ 0 ( x ) = x 1 is given by
z 1 ( t + 1 ) = a 4 u 1 ( t ) a 1 z 1 ( t ) y ( t ) + z 1 ( t ) .
Since ψ ( x ) = x 2 × x 3 , the first subsystem in Figure 1 is two-dimensional. To reduce this subsystem, one may choose ψ * ( x ) = x 3 which satisfies the condition (7). As a result, the first subsystem in Figure 1 with z 2 = ψ * ( x ) = x 3 is given by
z 2 ( t + 1 ) = a 2 y ( t ) z 2 ( t ) a 3 z 2 ( t ) + z 2 ( t ) .
The estimates of the variables x 1 and x 3 are as follows:
x ^ 1 ( t ) = z 1 ( t ) , x ^ 3 ( t ) = z 2 ( t ) .
One can check that the model is stable, and therefore, the virtual sensor was designed.
Consider the logic-dynamic way to solve the problem. Clearly, A = 0 in the model (12). To overcome this difficulty, transform Equation (26) by entering the formal addends a 1 ( x 1 x 2 ) + a 1 ( x 1 x 2 ) , ( a 1 ( x 1 x 2 ) a 2 ( x 2 x 3 ) ) ( a 1 ( x 1 x 2 ) a 2 ( x 2 x 3 ) ) and a 2 ( x 2 x 3 ) a 3 x 3 a 2 ( x 2 x 3 ) + a 3 x 3 in the first, second, and third equations, respectively. The term a 1 ( x 1 x 2 ) refers to the linear part while a 1 ( x 1 x 2 ) refers to the nonlinear part; the rest of the formal addends are considered analogously.
As a result, the system is described by matrices and nonlinearities as follows:
A = 1 a 1 a 1 0 a 1 1 a 1 a 2 a 2 0 a 2 1 a 2 a 3 , B = 1 0 0 1 0 0 , C = 0 1 0 , D = 1 0 0 , G = a 1 0 0 a 1 a 2 0 0 a 2 a 3 , Φ ( x ) = F 1 x + F 1 x F 2 x + F 2 x F 3 x + F 3 x , F 1 = ( 1 1 0 ) , F 2 = ( 0 1 1 ) , F 3 = ( 0 0 1 ) .
Since the variables x 1 and x 3 are estimated, then
V = 1 0 0 0 0 1 , C * = 0 1 0 1 0 0 0 0 1 , D 0 = 0 1 0 0 0 1 .
The matrix N 2 is found from (14):
( N 1 N 2 ) 0 1 0 0 0 1 0 1 0 = 0 ;
N 2 = 1 and C 0 = C = ( 0 1 0 ) . Equation (21) has a solution with k = 1 :
Ψ = ( 0 0 1 ) , J * = ( a 2 0 1 a 2 a 3 ) .
One may check that the condition (18) is satisfied, whilst (20) is not. Clearly, V = ( 0 0 1 ) and V 0 = ( 1 0 0 ) .
The solution for V with Ψ = ( 0 0 1 ) produces the matrices B * = ( 0 0 ) , G * = ( 0 a 2 a 3 ) , and F = 0 1 1 0 0 1 . The solution of (17) is
F * = 1 1 0 0 1 0 0 0 .
The linear model corresponding to V with z 2 = v = V x is given by
z 2 ( t + 1 ) = a 2 y ( t ) + ( 1 a 2 a 3 ) z 2 ( t ) ;
and the nonlinear term is of the form
G * Φ ( x , u ) = a 2 y ( t ) z 2 ( t ) a 2 ( y ( t ) z 2 ( t ) ) a 3 z 2 ( t ) + a 3 z 2 ( t ) .
As a result, after inserting this term into the linear model and transforming it, one obtains the nonlinear model (28).
For V 0 , Equation (25) has a solution with k = 1 :
Ψ 0 = ( 1 0 0 ) , J 0 = ( 1 0 0 ) ,
which produces B * = ( a 4 0 ) , G 0 = ( a 1 0 0 ) ,   F = 1 1 0 and F 0 = ( 1 1 0 0 ) . The linear model corresponding to V 0 with z 1 = v 0 = V 0 x being given by
z 1 ( t + 1 ) = a 4 u 1 ( t ) + a 1 y ( t ) + ( 1 a 1 ) z 1 ( t ) ;
the nonlinear term is of the form
G 0 Φ ( x , u ) = a 1 z 1 ( t ) y ( t ) + a 1 ( z 1 ( t ) y ( t ) ) .
After inserting this term into the linear model and transforming it, one obtains the nonlinear model (27).
For simulation, consider system (26) and the sensor with the control u 1 ( t ) = u 2 ( t ) = 1 + s i n ( t ) , a 1 = = a 4 = 0.1 , a 5 = 0.2 , ρ ( t ) is a random process evenly distributed on [ 0.15 , 0.15 ] appearing at t = 100 . Simulation results are shown in Figure 2, where the variables x 1 ( t ) , x 3 ( t ) and their estimates z 1 ( t ) , z 2 ( t ) are presented for the initial conditions x 1 ( 0 ) = 8 , x 2 ( 0 ) = 2 , x 3 ( 0 ) = 1 , x * 1 ( 0 ) = 5 , x * 2 ( 0 ) = 2 . Clearly, whilst the first sensor is sensitive to the disturbance, the second one is not.

6. Discussion

The problem of virtual sensor design estimating the prescribed function of the state vector of the original system for nonlinear systems described by discrete-time models under the disturbance was studied. Two different mathematical techniques are used to solve the problem: the algebra of functions allows one to obtain a general solution and the logic-dynamic approach produces a solution for nonlinear systems by methods of linear algebra. The relations allowing one to design virtual sensor that is insensitive or that has minimal sensitivity to the disturbance were obtained. The theoretical results were illustrated by a practical example. A future research direction is the virtual sensor design for hybrid nonlinear dynamic systems.
The virtual sensors can be used in addition to the physical sensors in different practical systems or for replacing the faulty physical sensor. In particular, in [25,26], where the fault detection and estimation problems are considered, the additional virtual sensors allow simplifying the obtained solutions. Additionally, the algebra of the functions and the logic-dynamic approach enables one to extend a class of systems studied in [25,26] to systems with non-smooth nonlinearities.

Author Contributions

Conceptualization, O.S. and A.Z. (Alexander Zuev); Formal analysis, O.S., A.Z. (Alexey Zhirabok), I.A.H., A.T.A., A.Z. (Alexander Zuev), V.F., V.T. and I.K.I.; Funding acquisition, I.A.H.; Investigation, A.Z. (Alexey Zhirabok), I.A.H., A.T.A., A.Z. (Alexander Zuev), V.F., V.T. and I.K.I.; Methodology, O.S., A.Z. (Alexey Zhirabok), I.A.H., A.T.A., A.Z. (Alexander Zuev), V.F., V.T. and I.K.I.; Resources, A.Z. (Alexey Zhirabok), I.A.H., A.T.A., V.F., V.T. and I.K.I.; Software, A.Z. (Alexey Zhirabok), V.F. and V.T.; Supervision, O.S. and A.Z. (Alexander Zuev); Validation, O.S., A.Z. (Alexey Zhirabok), I.A.H., A.T.A., V.F., V.T. and I.K.I.; Visualization, A.T.A. and I.K.I.; writing—original draft preparation, O.S. and A.Z. (Alexander Zuev); writing—review and editing, O.S., A.Z. (Alexey Zhirabok), I.A.H., A.T.A., A.Z. (Alexander Zuev), V.F., V.T. and I.K.I. All authors have read and agreed to the published version of the manuscript.

Funding

This research is funded by the Norwegian University of Science and Technology, Norway, and supported by the Russian Scientific Foundation, project no. FZNS-2023-0011 (development of synthesis method) and Sevastopol State University within the framework of an internal grant for attract leading researchers, project identifier 42-01-09/169/2021-5 (development of the observers).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to acknowledge the support of the Norwegian University of Science and Technology for paying the Article Processing Charges (APCs) of this publication. The authors would like to thank Prince Sultan University, Riyadh, Saudi Arabia for their support. Special acknowledgments are given to Automated Systems & Soft Computing Lab (ASSCL), Prince Sultan University, Riyadh, Saudi Arabia.

Conflicts of Interest

The authors declare no conflict of interest.

Sample Availability

Samples of the compounds Not applicable. are available from the authors.

Appendix A. Algebra of Functions

The algebra of functions has four main ingredients: (1) the relation of the partial pre-order ≤; (2) two binary operations × and ⊕; (3) binary relation Δ ; (4) and operators m and M . These ingredients are defined on the set of vector functions V X with the domain X
1. Relation of a partial pre-order. For the functions α , β V X , one writes down α β , if the function γ exists such that β ( x ) = γ ( α ( x ) ) x X . The definition means that each component of the function β can be expressed via components of α . If α β and β α , the functions α and β are called equivalent, denoted by α β .
2. Binary relations. It can be shown that ≅ is reflexive, symmetric and transitive. The set S X of the functions is divided by the equivalence relation ≅ into the equivalence classes with the equivalent functions. Denote the set of all equivalence classes by S X \ . Then, the relation ≤ is a partial order on this set, and S X \ is a lattice [27]. Recall that a lattice is a set with a partial order where every two elements α and β have a unique supremum sup ( α , β ) and an infimum inf ( α , β ) :
α × β = inf ( α , β ) , α β = sup ( α , β ) .
These operations define the function up to equivalence.
The rule to calculate the operation × is simple:
( α × β ) ( x ) = α ( x ) β ( x ) .
The operation ⊕ can be calculated based on differential geometry [15,28]. In simple cases, one can use the direct definition of α β as the supremum of α and β .
Consider the simple example. Let X = R 3 ,
α ( x ) = x 1 + x 2 x 3 , β ( x ) = x 1 x 3 x 2 x 3 .
Then, ( α × β ) ( x ) ( x 1 + x 2 , x 3 , x 1 x 3 ) T and ( α β ) ( x ) = x 3 ( x 1 + x 2 ).
3. Binary relation  Δ . For the functions α , β V X
( α , β ) Δ α ( f ( x , u , γ ) ) = f * ( β ( x ) , u , γ )
for all ( x , u ) X × U and some function f * . Binary relation Δ is used to define the operators.
4. Operators  m and M .
Operator m is a function m ( α ) V X satisfying two conditions: (i) ( α , m ( α ) ) Δ ; (ii) if ( α , β ) Δ , then m ( α ) β .
Operator M is a function M ( β ) V X satisfying two conditions: (i) ( M ( β ) , β ) Δ ; and (ii) if ( α , β ) Δ , then α M ( β ) .
The last definitions mean: given α , m ( α ) is the minimal function, forming a pair with α , and given β , M ( β ) is the maximal function, forming a pair with ñ β .
The properties of the operators m and M as well as the rules to calculate them are given in [15,28].

References

  1. Ahmed, Q.; Bhatti, A.; Iqbal, M. Virtual sensors for automotive engine sensors fault diagnosis in second-order sliding modes. IEEE Sens. J. 2011, 11, 1832–1840. [Google Scholar] [CrossRef]
  2. Albertos, P.; Goodwin, G. Virtual sevrors for control application. Annu. Rev. Control. 2002, 26, 101–112. [Google Scholar] [CrossRef]
  3. Berkhoff, A.; Hekman, T. Active noise control using finite element-based virtual sensors. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brighton, UK, 12–17 May 2019. [Google Scholar]
  4. Blanke, M.; Kinnaert, M.; Lunze, J.; Staroswiecki, M. Diagnosis and Fault Tolerant Control; Springer: Berlin, Germany, 2016. [Google Scholar]
  5. Galavizh, A.; Hassanabadi, A. Designing fuzzy fault tolerant controller for a DC microgrid based on virtual sensor. In Proceedings of the 7th International Conference on Control, Instrumentation and Automation (ICCIA), Tabriz, Iran, 23–24 February 2021. [Google Scholar]
  6. Hashlamon, I.; Erbatur, K. Joint sensor fault detection and recovery based on virtual sensor for walking legged robots. In Proceedings of the IEEE 23rd International Symposium on Industrial Electronics, ISIE 2014, Istanbul, Turkey, 1–4 June 2014; pp. 1204–1210. [Google Scholar]
  7. Heredia, G.; Ollero, A. Virtual sensor for failure detection, identification and recovery in the transition phase of a morphing aircraft. Sensors 2010, 10, 2188–2201. [Google Scholar] [CrossRef] [Green Version]
  8. Jove, E.; Casteleiro-Roca, J.; Quntian, H.; Mendez-Perez, J.; Calvo-Rolle, J. Virtual sensor for fault detection, isolation and data recovery for bicomponent mixing machine monitoring. Informatica 2019, 30, 671–687. [Google Scholar] [CrossRef]
  9. Luzar, M.; Witczak, M. Fault-tolerant control and diagnosis for LPV system with H-infinity virtual sensor. In Proceedings of the 3rd Conference Control and Fault-Tolerant Systems, Barcelona, Spain, 7–9 September 2016; pp. 825–830. [Google Scholar]
  10. Trevathan, J.; Read, W.; Sattar, A.; Schmidtke, S.; Sharp, T. The virtual sensor concept. In Proceedings of the 2020 IEEE Sensors, Rotterdam, The Netherlands, 25–28 October 2020. [Google Scholar]
  11. Wang, Y.; Rotondo, D.; Puig, V.; Cembrano, G. Fault-tolerant control based on virtual actuator and sensor for discrete-time descriptor systems. IEEE Trans. Circuits Syst. 2020, 67, 5316–5325. [Google Scholar] [CrossRef]
  12. Witczak, M. Fault Diagnosis and Fault Tolerant Control Strategies for Nonlinear Systems; Springer: Berlin, Germany, 2014. [Google Scholar]
  13. Roy, C.; Roy, A.; Misra, S. DIVISOR: Dynamic virtual sensor formation for overlapping region in IoT-based sensor-cloud. In Proceedings of the 2018 IEEE Wireless Communications and Networking Conference, Barcelona, Spain, 15–18 April 2018. [Google Scholar]
  14. Hosseinpoor, Z.; Arefi, M.; Razavi-Far, R.; Mozafari, N.; Hazbavi, S. Virtual sensors for fault diagnosis: A case of induction motor broken rotor bar. IEEE Sens. J. 2021, 21, 5044–5051. [Google Scholar] [CrossRef]
  15. Zhirabok, A.; Shumsky, A. The Algebraic Methods for Analysis of Nonlinear Dynamic Systems; Dalnauka: Vladivostok, Russia, 2018. (In Russian) [Google Scholar]
  16. Zhirabok, A. Logic-dynamic approach to the fault diagnosis in nonlinear systems. In Fault Diagnosis in Robotic and Industrial Systems; Rigatos, G.G., Ed.; iConcept Press: Hong Kong, China, 2012; pp. 67–88. [Google Scholar]
  17. Zhirabok, A. Fault isolation in nonlinear systems by functional diagnosis method based on generalized algebraic invariants. Autom. Remote Control 1994, 55, 956–964. [Google Scholar]
  18. Zhirabok, A. Disturbance decoupling problem: Logic-dynamic approach-based solution. Symmetry 2019, 11, 555. [Google Scholar] [CrossRef] [Green Version]
  19. Kaldmae, A.; Kotta, U.; Jiang, B.; Shumsky, A.; Zhirabok, A. Faulty plant reconfiguration based on disturbance decoupling methods. Asian J. Control 2016, 8, 858–867. [Google Scholar]
  20. Isidori, A. The geometric approach to nonlinear feedback control. Lect. Notes Comput. Inf. Sci. 1982, 44, 517–530. [Google Scholar]
  21. Zhirabok, A.; Shumsky, A.; Solyanik, S.; Suvorov, A. Design of nonlinear robust diagnostic observers. Autom. Remote Control 2017, 78, 1572–1584. [Google Scholar] [CrossRef]
  22. Misawa, E.; Hedrick, J. Nonlinear observers—A state of the art. Survey. J. Dyn. Syst. Meas. Control. 1989, 111, 344–352. [Google Scholar] [CrossRef]
  23. Aranda-Brivaire, E.; Kotta, U. A geometric solution to the dynamic disturbance decoupling for discrete-time nonlinear systems. Kybernetika 2004, 40, 197–206. [Google Scholar]
  24. Zhirabok, A.; Zuev, A.; Filaretov, V.; Shumsky, A.; Kim, C. Jordan canonical form in the diagnosis and estimation problems. Autom. Remote Control 2022, 83, 1355–1370. [Google Scholar] [CrossRef]
  25. Jiang, X.; Zhao, D. Event-triggered fault detection for nonlinear discrete-time switched stochastic systems: A convex function method. Sci. China Inf. Sci. 2021, 64, 200204. [Google Scholar] [CrossRef]
  26. Zhang, T.; Deng, F.; Sun, Y.; Shi, P. Fault estimation and fault-tolerant control for linear discrete time-varying stochastic systems. Sci. China Inf. Sci. 2021, 64, 200201. [Google Scholar] [CrossRef]
  27. Gratzer, G. General Lattice Theory; Akademie-Verlag: Berlin, Germany, 1978. [Google Scholar]
  28. Shumsky, A.; Zhirabok, A. Unified approach to the problem of full decoupling via output feedback. Eur. J. Control 2010, 16, 313–325. [Google Scholar] [CrossRef]
Figure 1. The total model.
Figure 1. The total model.
Symmetry 15 00993 g001
Figure 2. Behavior of variables x 1 and x 3 and virtual sensors z 1 and z 2 .
Figure 2. Behavior of variables x 1 and x 3 and virtual sensors z 1 and z 2 .
Symmetry 15 00993 g002
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sergiyenko, O.; Zhirabok, A.; Hameed, I.A.; Azar, A.T.; Zuev, A.; Filaretov, V.; Tyrsa, V.; Ibraheem, I.K. Virtual Sensors for Nonlinear Discrete-Time Dynamic Systems. Symmetry 2023, 15, 993. https://doi.org/10.3390/sym15050993

AMA Style

Sergiyenko O, Zhirabok A, Hameed IA, Azar AT, Zuev A, Filaretov V, Tyrsa V, Ibraheem IK. Virtual Sensors for Nonlinear Discrete-Time Dynamic Systems. Symmetry. 2023; 15(5):993. https://doi.org/10.3390/sym15050993

Chicago/Turabian Style

Sergiyenko, Oleg, Alexey Zhirabok, Ibrahim A. Hameed, Ahmad Taher Azar, Alexander Zuev, Vladimir Filaretov, Vera Tyrsa, and Ibraheem Kasim Ibraheem. 2023. "Virtual Sensors for Nonlinear Discrete-Time Dynamic Systems" Symmetry 15, no. 5: 993. https://doi.org/10.3390/sym15050993

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