The Barkhausen method for residual strss control