DYNAMICS OF MECHATRONICS SYSTEMS