PNLSS 1.0 demo Koen Tiels Uppsala University Jan Decuyper Vrije - - PowerPoint PPT Presentation
PNLSS 1.0 demo Koen Tiels Uppsala University Jan Decuyper Vrije - - PowerPoint PPT Presentation
PNLSS 1.0 demo Koen Tiels Uppsala University Jan Decuyper Vrije Universiteit Brussel Toolbox available at http://homepages.vub.ac.be/~jschouk Goal: Capture nonlinear dynamic system behavior Error signal Input Output + System +
Goal: Capture nonlinear dynamic system behavior
System Model + Input Output Modeled
- utput
Error signal
+ –
2/13
Goal: Capture nonlinear dynamic system behavior
System Model + Input Output Modeled
- utput
Error signal
+ –
3/13
Goal: Capture nonlinear dynamic system behavior
System Model + Input Output Modeled
- utput
Error signal
+ –
4/13
Linear model in PNLSS form
x(t + 1) = ABLA x(t) + BBLA u(t) + E = 0 ζ(x(t), u(t)) y(t) = CBLA x(t) + DBLA u(t) + F = 0 η(x(t), u(t))
5/13
with e.g. ζ(x, u) = x2
1
x1x2 x1u . . . x2
2u
u3 . . .
Linear model in PNLSS form
x(t + 1) = ABLA x(t) + BBLA u(t) + E = 0 ζ(x(t), u(t)) y(t) = CBLA x(t) + DBLA u(t) + F = 0 η(x(t), u(t))
6/13
with e.g. ζ(x, u) = x2
1
x1x2 x1u . . . x2
2u
u3 . . . % Set which monomials are free for optimization model init.xactive = fSelectActive(’statesonly’,n,m,n,nx);
Linear model in PNLSS form
x(t + 1) = ABLA x(t) + BBLA u(t) + E = 0 ζ(x(t), u(t)) y(t) = CBLA x(t) + DBLA u(t) + F = 0 η(x(t), u(t))
7/13
with e.g. ζ(x, u) = x2
1
x1x2 x1u . . . x2
2u
u3 . . . % Set which monomials are free for optimization model init.xactive = fSelectActive(’statesonly’,n,m,n,nx); model init.yactive = fSelectActive(’empty’,n,m,p,ny);
Selection of best model on validation set
5 10 15 20 25 30 35 40 45 Successful iteration number
- 92
- 90
- 88
- 86
- 84
- 82
- 80
- 78
- 76
Validation error [dB] Selection of the best model on a separate data set
8/13
Estimation initial conditions x0, u0
500 1000 1500 2000 2500 Sample number
- 4
- 2
2 4 6 Output 10-4 Output Error with x0 = 0 Error with estimated x 0
9/13
model.x0active = [1:n]; % Select initial states to estimate model.u0active = [1:m]; % Select initial inputs to estimate % Levenberg-Marquardt optimization [model, y mod, models] = fLMnlssWeighted x0u0(u,y,model init,nIter,W,lambda);
Applications
10/13
Mechanical
combine harvester semi-active damper quarter car setup robot arm hydro-static drive-line
Electronics
crystal detector
Electrochemical
Li-ion battery
Medical
interaction insulin-glucose for diabetic patients
Fluid dynamics
vortex-induced vibrations (VIV)
VIV application
Modelling unsteady fluid dynamics: relate displacement to lift force
Cl = sin(2πfStt)
<latexit sha1_base64="wZsGeoNOlzFpB02JaBWSO6c0=">ACXicdVBNS8NAEN34bf2qevSyWAS9lCQGWw9CoRePFa0KTQmb7cYu3WzC7kQsoVcv/hUvHhTx6j/w5r9xYyuo6IOBx3szMwLU8E12Pa7NTU9Mzs3v7BYWlpeWV0r2+c6yRTlLVpIhJ1GRLNBJesDRwEu0wVI3Eo2EU4aBb+xTVTmifyDIYp68bkSvKIUwJGCsq4GQh8hH3N5a7rpxHQe4Du4H8FEYjDHtBuWJXD+sHrneA7apt1xzXKYhb8/Y97BilQAVN0ArKb34voVnMJFBtO4dgrdnCjgVLBRyc80SwkdkCvWMVSmOlu/vnJCO8YpYejRJmSgD/V7xM5ibUexqHpjAn09W+vEP/yOhlE9W7OZoBk3S8KMoEhgQXseAeV4yCGBpCqOLmVkz7RBEKJrySCeHrU/w/OXerjl1TrxKoz6JYwFtoW20ixUQw10jFqojSi6RfoET1Zd9aD9Wy9jFunrMnMJvoB6/UDLAqZXQ=</latexit><latexit sha1_base64="wZsGeoNOlzFpB02JaBWSO6c0=">ACXicdVBNS8NAEN34bf2qevSyWAS9lCQGWw9CoRePFa0KTQmb7cYu3WzC7kQsoVcv/hUvHhTx6j/w5r9xYyuo6IOBx3szMwLU8E12Pa7NTU9Mzs3v7BYWlpeWV0r2+c6yRTlLVpIhJ1GRLNBJesDRwEu0wV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Eo2EU4aBb+xTVTmifyDIYp68bkSvKIUwJGCsq4GQh8hH3N5a7rpxHQe4Du4H8FEYjDHtBuWJXD+sHrneA7apt1xzXKYhb8/Y97BilQAVN0ArKb34voVnMJFBtO4dgrdnCjgVLBRyc80SwkdkCvWMVSmOlu/vnJCO8YpYejRJmSgD/V7xM5ibUexqHpjAn09W+vEP/yOhlE9W7OZoBk3S8KMoEhgQXseAeV4yCGBpCqOLmVkz7RBEKJrySCeHrU/w/OXerjl1TrxKoz6JYwFtoW20ixUQw10jFqojSi6RfoET1Zd9aD9Wy9jFunrMnMJvoB6/UDLAqZXQ=</latexit>coupled PNLSS state nonlinearity ζ degrees 0,3,5,7
- utput nonlinearity η
degrees 0,3,5,7 # d.o.f 1396 erms validation realisation 0.06
11/13
VIV application – result
PNLSS model
5 10 15 20 25 30 35 40 Time (s)
- 1.5
- 1
- 0.5
0.5 1 1.5