Simulink Simscape Model |
5 Bar Parallel Robot Diagram |
Simulink Diagram |
Solidworks Base Drawing |
Solidworks Link Drawing |
5 bar mechanism is an efficient and simple design to observe human-robot interactions. As an actuator, brushless DC Motors or stepper motors can be chosen. This project is generally used to observe the human-robot relationship. Thanks to MATLAB/Simscape, I created the parts I drew in Solidworks with Simulink diagram and solved them to the system by using the movements of the joints that are connected to each other as input. The torque in the joints was calculated automatically and I introduced the mouse to the system as analog thanks to Simulink Desktop Real-Time Toolbox. By converting the linear movements of the mouse to angular movements, I made the end-effector of the 5 Bar Parallel Robot follow the mouse. The angle at each joint was calculated by the system using inverse kinematics equations. There are also equations of forward and backward kinematic movements in the .m file.
* MATLAB 2023a
* Simulink
* Simscape Multibody
* Simulink Desktop Real-Time
* Solidworks 2021 (If you want to edit the structure of the mechanism.)
- Download 2R folder, 5Bar_m_.m and 5bar_Sim.slx files.
- Put these files into your MATLAB folder which is located in Documents.
- Open the .m file and Simulink model. Then evaluate the first section of .m file.
- Play Simulink model and you will see the Simscape model.
- The end-effector of the mechanism will be controlled by your mouse.
- Enjoy!
Please share your comments and ideas about the project with me. Thank you for your time.