How to get oscillatory motion for a solid in simscape?
1 view (last 30 days)
I was quite fascinated with simscape and I am trying to learn it. I am considering a basic parallel mechanism or five bar mechanism as shown in figure. As of now I have
made two set of links in simscape (L2 = light blue or black; L3 = Green) (L5 = purple or red; L4 = Dark blue). I am trying to give motion to L2 and L5 and check the trajectory of point "D". In the attached excel sheet I have computed few set of angles for L2 and L5 such that the point "D" will move in a semicircle trajectory (pink color).
The angles mentioned in the excel sheet will make oscillatory motion but in the simscape model which I made, the links are rotating completly for 360 degrees. Could anyone kindly figure out how to give input to the mechanism such that the mechanism at point "D" will make a semicircle according to the angles mentioned in the excel sheet.
Juan Sagarduy on 9 Mar 2021
In order to do the work, I'd recommend to use Simscape Multibody to build the five-bar linkage mechanism. In Multibody, you can prescribe the motion in the joints (kinematic mode) so that they fulfill a given duty cycle. This gives info on the actuation torque needed. So what you need to do once the model is created is to apply the motion patterns you have obtained in Excel. We have training for Simscape Multibody you may find rewarding. Modeling Multibody Mechanical Systems with Simscape | MATLAB and Simulink Training (mathworks.com)
Best of Luck / Juan