Development of a real-time active pipeline integrity detection system