System Identification Of MIMO
Show older comments
I have a mechanical system. It is a double pendulum with 2 perpendicular joints. I have a robot link attached on the first joint. It imposes forces on the system. I am trying to get state-space linear model of it. I assumed my inputs are Forces in X,Y, and Z direction, for now, I just considered accelerations of the link as inputs signal.
Output signals are a relative angular position of each joint. First joint around Z and the second joint around X.
I collected the data and extract accelerations as inputs [3] and angular positions as outputs [2].
I need to obtain state-space model. I used the System Identification Tool to extract A, B, C matrices. But the model deviates from the given data.
The objective is to get model and then apply MPC control routine.
See figures. I am looking for any insight or hints to get my model.
The System is like this https://www.youtube.com/watch?v=vEDStEcFWZ0
the difference is my inputs are imposed on the point where the person holds it.

acceleration in x [input 1]

acceleration in y [input 2]
![acceleration in Z [input]](https://www.mathworks.com/matlabcentral/answers/uploaded_files/415463/acceleration%20in%20Z%20[input].png)
acceleration in Z [input 3]

angular position of first joint [output 1]

angular position of second joint [output 2]

model vs measurements of first output signal

model vs measurements of second input
6 Comments
Siddharth Jawahar
on 16 Nov 2020
Hi Anas,
Can you share more about your steps you took to estimate and validate the state-space model with the System Identification toolbox? It would be good to keep in mind that the inputs you use to validate the model should not take it out of the operating region within which the estimated model is valid.
If you are not already aware you can use these documentation links to troubleshoot and validate you estimates system model:
Best,
Sid
Anas Abulehia
on 16 Nov 2020
Edited: Anas Abulehia
on 16 Nov 2020
Anas Abulehia
on 17 Nov 2020
Siddharth Jawahar
on 18 Nov 2020
Hi Anas,
If the model did not turn out good, we can probably look at the data you have and the steps you took to get the model with the toolbox. Can you share those reproduction steps?
Sid
Anas Abulehia
on 18 Nov 2020
Debraj Bhattacharjee
on 25 Jul 2022
Hi Anas,
The reason you acheived a good fit with the 1-step prediction method is explained in this article:
Thanks,
Debraj
Answers (0)
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!