DC brush motor control solution