to create a wsn network by deploying nodes. Original target trajectory is found using kalman filter. Then using particle filter tracking is done .Then difference between original and determined is found. And mean square error is found. Then using particle swarm otimiztion technique clustering is done and energy consumption is reduced . Pso is applied on cluster heads and PFis applied on sink heads.