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

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?

답변 (1개)

Sebastian Castro
Sebastian Castro 2015년 6월 29일
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

카테고리

도움말 센터File Exchange에서 Simscape Driveline에 대해 자세히 알아보기

질문:

2015년 6월 29일

답변:

2015년 6월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by