,In this paper, a finite-impulse response (FIR) filter with phase compensation is proposed to design the digital controller for active noise cancellation in ducts. This method can overcome the influence of delay effects, which arise from the analog device