headshot

Chris Verhoek -- Research

PhD candidate etc.


Home | Research | Personal

Back to blogs

Predictions with the Fundamental Lemma for LPV Systems

August 28, 2021

Our paper "Fundamental Lemma for Data-Driven Analysis of Linear Parameter-Varying Systems" (you can find the preprint here) has been accepted for the 60th IEEE Conference on Decision and Control!
In this post, we want to add some extra information regarding the final prediction example in terms of simulation data. Moreover, we add another example with a random static, affine LPV-IO system[1]. We first give additional figures regarding the example in the paper, then we will give the additional example. The additional example can also be found on the APROCS website (https://aprocs.eu).

Example in CDC paper

In this example, we use the system given below.

system
--- Static affine LPV system. ---
In our example we do not know the coefficients of the system. We only assume that we know the number of inputs (1), outputs (1) and scheduling signals (2). Next, we gather data from the system with a length of 193 samples. This is what we will be referring to as the "data-dictionary". The data we used in the example is shown in the plots below (click on the plots to enlarge).

In order to build up our simulation problem, we use the paper by Markovsky and Rapisarda [2]. See for more details our LPVS or CDC papers. We simulated an additional trajectory of length L + Tini, where L = 30 is the length of the prediction and Tini = 2 the length of the initial trajectory. In the simulation problem, the initial input, output and scheduling trajectories incorporate the initial conditions into the problem and ensure that the predicted output continues smoothly after the Tini'th time-step. In order to accurately predict the length L output, the associated inputs and scheduling signals are also incorporated into the problem. Hence, the future inputs and scheduling signals are assumed to be known. The simulation data we used in the example are shown in the plots below (click on the plots to enlarge), note that the output trajectory is only used to compare the prediction with the true output trajectory.

Using this data, the future output is predicted and compared to the simulated output shown above. The result is shown below, which is the same plot as in the CDC paper.

predicted output
--- Prediction results ---
This plot shows that the prediction is 100% accurate, and the maximum absolute difference between the simulated and predicted signal is around the numerical accuracy limit.

Additional MIMO example

In this example, we again have a simulation problem, but now for a random, static-affine MIMO LPV system, i.e.,

MIMO system
--- MIMO system ---
For this system we take the following parameters:

nu = 2, np = 4, ny = 3, na = 7, nb = 6, Tini = 7, L = 31, Nd = 894

The data dictionary is generated using random input and scheduling sequences. We will not show the data dictionary due to the large number of data points. We perform the prediction using the simulation data shown in the plots below (again, click on the plots to enlarge).

Using this data, the future output sequence is predicted and compared to the simulated output sequence shown in the above-right plot. Again, the data-dictionary does exactly represent the system, as all the outputs of the MIMO LPV system are predicted perfectly. The prediction result is shown in the figures below (click on the figure to enlarge).

The first, second and third plot correspond to the first, second and third output, respectively. In the plots, the gray line is the baseline output from the simulation data. The dash-dotted line is the initial trajectory that is used in the simulation problem to account for the initial condition while the dashed, darker colored line is the prediction of the nth output. The error between the baseline and the predicted output in the order of numerical accuracy.

  1. [1]: We might add an example with a different dependency in the future.
  2. [2]: I. Markovsky and P. Rapisarda,"Data-Driven Simulation and Control," International Journal of Control, vol. 81, no. 12, p. 1946-1959, 2008.

Back to top