Hi, I have a quad-rotor in x configuration attached to a test bench system with 3 degrees of freedom which is stabilized by PID controllers.
In order to run system identification, I've tried to use logged experimental data: 2 inputs (outputs of two PID controllers) and 2 IMU outputs (roll, pitch ).
The issue is that the identified state model using MATLAB n4sid function isn't responding as expected, even though the goodness of fit is more than 80 %.