Multi-body Simulator for Bicycle Stability

This model file includes the main Sim-Multibody model, the initialization file, along with the necessary contact force library.
418 Downloads
Updated 5 Dec 2018

View License

This video is an introduction and use instruction to the simulator which was created within a seminar project by us at the University of Kaiserslautern (TUK).

The simulator model contains a planar vehicle model to which an inverted pendulum with a CMG is attached.

Use this simulator for :
1) Simulation and experimental validation of your balance control algorithms using the CMG by setting the vehicle velocity to zero.
2) Simulation and experimental validation of your vehicle motion control, by setting the pendulum angle to 180[deg] and the fly wheel speed to zero.
3) Simulation and experimental validation of your bicycle motion control algorithms.

By:
Dinesh Thirumurugan, Bhavesh Kataria, Allauddin Shaikh

Cite As

Dinesh Thirumurugan (2024). Multi-body Simulator for Bicycle Stability (https://www.mathworks.com/matlabcentral/fileexchange/69620-multi-body-simulator-for-bicycle-stability), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Simscape Multibody Contact Forces Library

Community Treasure Hunt

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

Start Hunting!

SimpleMBS

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Cam_Follower

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Cam_Follower/UI

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Geneva_Drive

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Geneva_Drive/CAD/Export

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Spinning_Boxes

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Gripper_2Belts

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Robot_2_Whl

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Libraries

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Libraries/Help

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Scripts_Data

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Scripts_Data/Doc

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Scripts_Data/Extrusions

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Cam_Follower

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Cam_Follower/UI

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Cam_Follower_Constraint

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Geneva_Drive

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Geneva_Drive/CAD/Export

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Spinning_Boxes

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Gripper_2Belts

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Robot_2_Whl

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Libraries

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Libraries/Help

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Scripts_Data

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Scripts_Data/Doc

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Scripts_Data/Extrusions

SimpleMBS/include

SimpleMBS

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Cam_Follower

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Conveyor_Belts

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Geneva_Drive

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Geneva_Drive/CAD/Export

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/2D/Spinning_Boxes

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Gripper_2Belts

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Robot_2_Whl

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Examples/3D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17a_v3p7/Libraries

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Cam_Follower

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Cam_Follower_Constraint

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Conveyor_Belts

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Geneva_Drive

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Geneva_Drive/CAD/Export

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/2D/Spinning_Boxes

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Gripper_2Belts

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Robot_2_Whl

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Simple/Collision

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Examples/3D/Simple/Friction

SimpleMBS/SM_Contact/SM_Contact_Forces_Lib_R17b_v3p9/Libraries

Version Published Release Notes
1.0.0