Title: A theoretical approach to mechatronics design