The wireless sensor network is a collection of diverse sensor nodes in which data is communicated via physical sensors and relayed using self-configured protocols. The network becomes congested because myriad nodes are involved in the sensing and data transmission. Congestion decreases the packet delivery ratio (PDR) virtue of significant packet drop and increases transmission delay. The lost packets are retransmitted at the cost of additional energy and time, which provokes the reduction in network performance and the extravagance of energy resources. Traditional techniques for congestion control are inflexible and lack adaptive capability. To overcome these constraints, this paper proposes a PFP-PID controller (Progressive Fuzzy Particle Swarm Optimization (PSO) Proportional Integral Derivative (PID)). The initial position of the reference particle is determined using fuzzy logic, which accelerates PSO convergence by escaping numerous initial iterations. Additionally, this hybrid mechanism based on PSO and fuzzy logic controller is employed to generate the ideal PID controller design with rapid convergence, resulting in an optimized transmission rate for sensor nodes. The PFP-PID is implemented to alleviate congestion by simulating it in network simulator (NS3) and comparing it to cuckoo fuzzy PID (CFPID), PSO-neural PID, fuzzy-PID, and traditional PID. The simulation results demonstrate that the PFP-PID is scalable and has outclassed existing mechanisms and significantly improved performance, increasing PDR by 4.89%, minimizing packet drop, delay, and active queue length deviation by 36.83%, 25.32%, and 10.84%, respectively, against CFPID.