A technique for in-situ detection of random failure in composite structures under cyclic loading