Skip to Main Content Skip to Search
Product Documentation

Decomposing Uncertain Objects (for Advanced Users)

Each uncertain object (umat, uss, ufrd) is a generalized feedback connection (lft) of a not-uncertain object (e.g., double, ss, frd) with a diagonal augmentation of uncertain atoms (ureal, ultidyn, ucomplex, ucomplexm, udyn). In robust control jargon, if the uncertain elements are normalized, this decomposition is often called "the M/D form."

The purpose of the uncertain objects (ureal, ultidyn, umat, uss, etc.) is to hide this underlying decomposition, and allow the user to focus on modeling and analyzing uncertain systems, rather than the details of correctly propagating the M/D representation in manipulations. Nevertheless, advanced users may want access to the familiar M/D form. The command lftdata accomplishes this decomposition.

Since ureal, ucomplex and ucomplexm do not have their NominalValue necessarily at zero, and in the case of ureal objects, are not symmetric about the NominalValue, some details are required in describing the decomposition.

Normalizing Functions for Uncertain Atoms

Associated with each uncertain element is a normalizing function. The normalizing function maps the uncertain element into a normalized uncertain element.

If ρ is an uncertain real parameter, with range [L R] and nominal value N, then the normalizing function F is

with the property that for all ρ satisfying L ≤ ρ ≤ R, it follows that –1 ≤ F(ρ) ≤ 1, moreover, F(L) = –1, F(N) = 0, and F(R) = 1. If the nominal value is centered in the range, then it is easy to conclude that

It is left as an algebra exercise for the user to work out the various values for A, B, C and D when the nominal value is not centered.

If E is an uncertain gain-bounded, linear, time-invariant dynamic uncertainty, with gain-bound β, then the normalizing function F is

If E is an uncertain positive-real, linear, time-invariant dynamic uncertainty, with positivity bound β, then the normalizing function F is

where α = 2|β| + 1.

The normalizing function for an uncertain complex parameter ξ, with nominal value C and radius γ, is

The normalizing function for uncertain complex matrices H, with nominal value N and weights WL and WR is

In each case, as the uncertain atom varies over its range, the absolute value of the normalizing function (or norm, in the matrix case) varies from 0 and 1.

Properties of the Decomposition

Take an uncertain object A, dependent on uncertain real parameters ρ1,...,ρN, uncertain complex parameters ξ1,...,ξK, uncertain complex matrices H1,...,HB, uncertain gain-bounded linear, time-invariant dynamics E1,...,ED, and uncertain positive-real linear, time-invariant dynamics P1,...,PQ.

Write A(ρ,ξ,H,E,P) to indicate this dependence. Using lftdata, A can be decomposed into two separate pieces: M and Δ(ρ,ξ,H,E,P) with the following properties:

The order of the normalized atoms making up A is not the simple order shown above. It is actually the same order as given by the command fieldnames(M.Uncertainty). See Advanced Syntax of lftdata for more information.

Syntax of lftdata

The decomposition is carried out by the command lftdata.

You can create a 2-by-2 umat named A using three uncertain real parameters.

delta = ureal('delta',2); 
eta = ureal('eta',6); 
rho = ureal('rho',-1); 
A = [3+delta+eta delta/eta;7+rho rho+delta*eta] 
UMAT: 2 Rows, 2 Columns 
  delta: real, nominal = 2, variability = [-1  1], 2 occurrences 
    eta: real, nominal = 6, variability = [-1  1], 3 occurrences 
    rho: real, nominal = -1, variability = [-1  1], 1 occurrence 

Note that A depends on two occurrences of delta, three occurrences of eta and one occurrence of rho.

Decompose A into M and Delta. Note that A is a double, and Delta has the same uncertainty dependence as M.

[M,Delta] = lftdata(A); 
class(M) 
ans = 
double 
Delta 
UMAT: 6 Rows, 6 Columns 
  delta: real, nominal = 2, variability = [-1  1], 2 occurrences 
    eta: real, nominal = 6, variability = [-1  1], 3 occurrences 
    rho: real, nominal = -1, variability = [-1  1], 1 occurrence 

Sample Delta at 5 points. Things to note are:

In fact, verify that the maximum gain of Delta is indeed 1

maxnorm = wcnorm(Delta) 
maxnorm = 
    LowerBound: 1.0000 
    UpperBound: 1.0004 

Finally, verify that lft(Delta,M) is the same as A Subtract (and use the 'full' option in simplify)

simplify(lft(Delta,M)-A,'full') 
ans = 
     0     0 
     0     0 

Advanced Syntax of lftdata

Even for the advanced user, the variable Delta will actually not be that useful, as it is still a complex object. On the other hand, its internal structure is described completely using a 3rd (and 4th) output argument.

[M,Delta,BlkStruct,NormUnc] = lftdata(A); 

The rows of BlkStruct correspond to the uncertain atoms named in fieldnames(A.Uncertainty). Note that the range/bound information about each uncertain atom is not included in BlkStruct.

The elements of BlkStruct describe the size, type and number-of-copies of the uncertain atoms in A, and implicitly delineate the exact block-diagonal structure of Delta. Note that the range/bound information about each uncertain atom is not included in BlkStruct.

BlkStruct(1) 
ans = 
           Name: 'delta' 
           Size: [1 1] 
           Type: 'ureal' 
    Occurrences: 2 
BlkStruct(2) 
ans = 
           Name: 'eta' 
           Size: [1 1] 
           Type: 'ureal' 
    Occurrences: 3 
BlkStruct(3) 
ans = 
           Name: 'rho' 
           Size: [1 1] 
           Type: 'ureal' 
    Occurrences: 1 

Together, these mean Delta is a block diagonal augmentation of the normalized version of 3 uncertain atoms.

The first atom is named 'delta'. It is 1-by-1; it is of class ureal; and there are 2 copies diagonally augmented.

The second atom is named 'eta'. It is 1-by-1; it is of class ureal; and there are 3 copies diagonally augmented.

The third atom is named 'rho'. It is 1-by-1; it is of class ureal; and there is 1 copy,

The 4th output argument contains a cell array of normalized uncertain elements. The cell array contains as many occurrences of each element as there are occurrences in the original uncertain object A.

size(NormUnc) 
ans = 
     6     1 
NormUnc{1} 
Uncertain Real Parameter: Name deltaNormalized, NominalValue 0, 
variability = [-1  1] 
isequal(NormUnc{2},NormUnc{1}) 
ans = 
     1 
NormUnc{3} 
Uncertain Real Parameter: Name etaNormalized, NominalValue 0, 
variability = [-1  1] 
isequal(NormUnc{4},NormUnc{3}) 
ans = 
     1 
isequal(NormUnc{5},NormUnc{3}) 
ans = 
     1 
NormUnc{6} 
Uncertain Real Parameter: Name rhoNormalized, NominalValue 0, 
variability = [-1  1] 

Each normalized element has the string 'Normalized' appended to its original name to avoid confusion. By normalized,

The possible behaviors of Delta and blkdiag(NormUnc{:}) are the same. Consequently, the possible behaviors of A and lft(blkdiag(NormUnc{:}),M) are the same.

Hence, by manipulating M, BlkStruct and NormUnc, a power-user has direct access to all of the linear fractional transformation details, and can easily work at the level of the theorems and algorithms that underlie the methods.

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS