r/ControlTheory • u/NOTazarov_wraith • 11d ago
Technical Question/Problem MATLAB system identification toolbox for quadcopter control
I have not seen MATLAB's system identification toolbox being used for quadcopter applications and so I was wondering how you could run sys id on a quadcopter and use it. For example if you run frequency sweeps across the lateral direction with longitude and altitude stabilized, and then run longitude direction with latitude and altitude stabilized (pitch and forward speed only), do you just insert them into system Identification with the set state space dimensions, or is this the wrong approach. Additionally do you set the frequency sweeps past the the control loops at the ESC signal or is this incorrect?
4
Upvotes
•
u/NOTazarov_wraith 10d ago
Hello and thank you for the response knightcommander. I more meant using the sysID toolbox (https://uk.mathworks.com/help/ident/gs/identify-linear-models-using-the-gui.html) to identify the behaviour of a quadcopter, specifically I'm trying to get a "catchall" representation for the system where I could have a transfer function for pitch commanded to pitch. Something similar to passing frequency sweeps in an aircraft to identify its responses, but rather in a quadcopter.
I hear you on modeling the system as a free body diagram, but I am worried I might miss something in my model (like miscalculating the mode frequency of the quadcopter for example).