Error when trying to setup a feedback control loop in SimMechanics 2nd Gen

1 view (last 30 days)
I have built a suspension simulation in SimMechanics 2nd Gen and I would like to model an active suspension system using feedback control. The controller input is the normal force on the wheels and should control the suspension to equalize the forces on the wheels. When I connect the input, controller, plant, and feedback I get an error that "There is no Solver Configuration block connected to Physical Network with the following blocks:..." and it points to the blocks used in the feedback loop. I have never gotten this error before and if I remove the feedback control the error does not appear.
Any recommendations?

Answers (1)

Sebastian Castro
Sebastian Castro on 29 Jun 2015
As the error message mentions, you need to connect a Solver Configuration block anywhere on your model. The de facto standard is to place it in the same place as the World Frame and Mechanism Configuration (gravity) blocks in their SimMechanics models. Together, these 3 blocks acts as your "reference".
Note that if you have multiple Simscape/SimMechanics networks which are disconnected from each other, even if they have Simulink signals between them, you need one of those blocks for EACH network. Maybe that's another potential issue? (Guessing since we don't have a screenshot)
Hope this helps.
- Sebastian

Categories

Find more on Chassis Systems 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!