Development and validation of a mechatronics system trainer