MPC robotic arm with stepper motor control
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, i am currently doing a robotic arm project and i am trying to implement the MPC controller on the stepper motor control of the robotic arm. The simulation works well when there is no stepper motor control involve where there is only robotic arm dynamics.
However, when i try to design the mpc system with feedback of encoder angle as a measured output (MO), this error occured;
"Plant model cannot be a pure direct feed-through system without additional dynamics error."
The file attached is my simulink model and the matlab m file for the encoder block.
Can anyone kindly give me some suggestion to modify on this model in order to control the stepper motor of robotic arm using arduino?
0 Commenti
Risposte (1)
Emmanouil Tzorakoleftherakis
il 23 Mag 2023
The prediction model you provided has direct feedthrough which is not currently supported by Model Predictive Control Toolbox. We are currently working towards adding this functionality at a future release. In the meantime, I suggest modifying the prediction model to remove the direct feedthrough (maybe you can add an additional state that incorporates a delay or something equivalent)
0 Commenti
Vedere anche
Categorie
Scopri di più su Robotics System Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!