Question about SimHydraulics/SimScape multibody
11 views (last 30 days)
Show older comments
Hi guys! ,
So I was looking at how to connect hydraulic systems to mechanical system in simulink, I found some good models in Mathworks libraries, such as the backhoe model: https://se.mathworks.com/matlabcentral/fileexchange/39520-backhoe-model-in-simscape and hydraulic lift https://se.mathworks.com/matlabcentral/fileexchange/39120-lift-table-model-in-simscape. But the thing i do not understand in both of these models, is the connection between the pristmatic joint from simscape multibody and the hydraulic cylinder from SimHydraulics. I have included some pictures showing this connection. Looking at the pictures, how does the combination of motion coming from the hydraulic cylinder and the velocity from the prismatic joint convert into Force? Why is it setup this way?
1:
2:
3:
1 Comment
Answers (2)
Steve Miller
on 23 Mar 2019
When you connect a 3D mechanical model in Simscape Multibody to any 1D Simscape domain, we recommend letting Simscape calculate the force applied to the mechanical system, actuating the joint in Simscape Multibody with that force and synchronizing the mechanical motion of the 1D system using a 1D velocity source in Simscape. This is simplest way to connect the two systems that will avoid an algebraic loop.
If you need to synchronize the initial mechanical positions of the two systems, we recommend passing the position of the joint to the Simscape 1D network. This will also help avoid numerical drift between the two systems, which is typically only a problem if your tolerances are too low and you have high frequency cyclic motion.
You can find many examples that show the different methods for connecting 3D models and 1D models in the File Exchange entry Simscape Multibody Multiphysics Library.
omar almasri
on 21 Feb 2020
Hey
I have the same problem as you. I'm doing my master thesis. I can't progress because of this problem, I have already finished and simulated my mechanical system and my hydraulic system.
I want to link the two together and simulate them together.
I have tried to connect the prismatic joint directly to the cylinder. But it did not work.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!