Analysis and design of I/O based variable structure adaptive control