Two-way multiple detection has been the difficulty of WSN node anomaly detection based on artificial immune principle is presented based on the loop detector of WSN abnormality degrees two-way multiple detection method, this paper introduce artificial immune principle, designs the loop detector, using the loop detector can realize the abnormal signal classification, and according to the anomaly characteristics of the wavelet packet to extract the information of the signals, combining with the design of loop detector for testing, don't need to know parameters and characteristics of abnormal signal, as long as the normal signal samples can achieve early fault detection of WSN nodes, real-time early warning. Crossbow in the United States company's built-in vibration sensor of WSN node test, test results show that the inner and outer diameter of the loop detector in choosing appropriate, can accurately detect anomaly of WSN node detection accuracy is as high as 95% above, up about 35% higher than that of traditional system accuracy. Meet the requirement of the WSN system for WSN nodes, effective solve the problem of the abnormal bi-directional detection sensor network nodes.