Sampling of discontinuous voltage and current signals in electrical drives: a system approach | Synapse