Passivity-based hierarchical sliding mode control/observer of underactuated mechanical systems