A mode-switching control for motion control and its application to disk drives: design of optimal mode-switching conditions | Synapse