Switched/time-based adaptation for second-order sliding mode control