On-line diagnostics of washing machines: design issues for the optimization of the measurement set-up