Velocity control of a washing machine: a mechatronic approach