Unable to properly feedback an updated signal in simulink
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Anthony Maalouly
il 20 Ott 2020
Commentato: Anthony Maalouly
il 20 Ott 2020
Hello,
I'm trying to make a toy example work using simulink. I have a particle that i want to go in a circle. Basically what I want to do is to rotate progressively by 10 deg over 36 sec (so it makes a full circle).
How to code this in simulink? For the rotation, I used the 2d rotation matrix about z. I am basically having trouble feeding back the updated velocity as the new reference.
0 Commenti
Risposta accettata
Ameer Hamza
il 20 Ott 2020
If you directly feed it back, you will create an algebraic loop, which is sometimes difficult to solve. Feedback through a delay block https://in.mathworks.com/help/simulink/slref/delay.html. Give a delay of 1 between output and feedback input.
4 Commenti
Più risposte (1)
Paul
il 20 Ott 2020
Is there a reason why you wan to use a feedack loop where none really exists? Keep in mind that feedback loop is sampled and therefore the model is not integrating a continuous velocity. Why not just implement the equation for velocity directly, like so:
Vedere anche
Categorie
Scopri di più su General Applications 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!