Linearizing a Simscape model with Model Linearizer
5 次查看(过去 30 天)
显示 更早的评论
Dear community,
I´m trying to develop a model of a furuta pendulum with a DC motor in Simscape. Unfortunately I do struggle quite a lot with the Model Linearizer. As you can see from the screenshot, the tool creates five states of which the last one is completely unknown to me. When I click on it, the solver configurations block is highlighted, but I can´t figure out how it is related or how I can get rid of this state.
The aim is to implement a state feedback controller with the linearized model.
Does someone have an idea how to solve that problem?
The model is attached to this post if needed.
0 个评论
采纳的回答
Vasco Lenzi
2020-7-10
编辑:Vasco Lenzi
2020-7-10
Hi Jooo
I am almost certain that state is the filter that you can check or uncheck in the solver configuration block when connecting 1D with 3D component. Unfortunately your attached model misses all the CAD files so it doesn't run or compile, so I cannot confirm it.
solver configuration block:
You had the right idea on how to setup the kinematic connection between Simscape 1D Motor and 3d Multibody joint, but there is a more refined variant of your method that may remove the need to filter between 1D and 3D. Look up this package on the file Exchange:
There are really nice example and there is even a DC Motor model that you can apply to your rotational joint:
When you work on a project with multiple files such as with CAD files for Multibody, I recommend to setup and work within a Project. Projects allow you to relate all files with one another and export a working environment as a single Project Archive, that other user can easily open and work with.
Link: Projects Page
Hope this all helps, good luck!
Vasco
3 个评论
Vasco Lenzi
2020-7-16
Hi Jooo
The predefined, more complex DC motor block from Simscape Electrical can be configured for initial condition. This may clash with the kinematic loop established by the Angular Speed sources and therefore it needs a filter in between.
My suggestions is to use the simplified block from the Multiphysics library, because that works without adding filters (initial conditions are optionals) and you can create your state space control.
Once the control is created, if you prefer to use the more complex model, you can switch it back - the 1d/3d filtering shouldn't have an impact.
Hope this helps
Vasco
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!