Ball on Plate Control is not like expected
Show older comments
I'm implementing a ball on plate system with simscape. i had some "normal" troubles modelling the system but after searching i could finally bring the joints in a good position where there DoF are not violating each other. When i simulate the motor control in a simple model it works fine, but now when i simulate the whole system the control mechanism works to slow and the simulating time is very slow. Changing the parameters of the PID seems not to be helpful. I thought this could be the DoF of the Joints but when i measure a misplacement its close to zero (~1e-15).
Does anyone have a different idea for a solution?
File is attached
Thank you!
2 Comments
Sam Chak
on 26 Sep 2022
Not sure what went wrong. Most likely it is due to the Simscape model and your previous Mathematical model are different. In other words, even though the PID law is succussfully designed to stabilize the previous model, it does not guarantee the stability of the Simscape model. Can you double-check if both models are mathematically the same?
Jonas Winkler
on 7 Oct 2022
Accepted Answer
More Answers (0)
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!