Simscape/simMechanics simple acceleration control problem

Hi all,
I'm trying to solve a "simple" problem via Simscape.
The model is a mass with a pushing force and the problem wants me to counteract this force by measuring the acceleration of the mass (that must go to zero) with a proportional controller that controls a brake force to follow a pre-defined acceleration shape.
I've made a simplified model, positive pushing force and contrast force in opposite direction, with Simulink using Simscape's blocks but I'm already stuck.
I mean, I'm able to solve the problem but I can't counteract the force to follow the given acceleration. I can't even make that go to zero cause if I increase the gain of the control Simulink freaks out and stop working.
Anybody knows why I have this problem?
I share with you the model I've made. Any help will be very appreciated.

1 Commento

Your model seems to run properly. Can you elaborate a little more about what your issue is? It's not immediately clear how what you're seeing is different from what you expect to see.

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 6 Apr 2017

Commentato:

il 13 Apr 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by