Design and Analysis of Mechatronics System