The invention discloses an online modeling and control method for a
narrowband active noise control system, which comprises the following steps of: (1) performing frequency
estimation on a
signal picked up by a reference
microphone by using a triangular
cascade adaptive notch
filter algorithm, and calculating an online estimated value of a
signal-to-
noise ratio by using energy of an input
signal and an output signal of a notch filter; (2) when the online estimated value of the signal-to-
noise ratio is larger than a preset value, modeling and control are started, a reference signal and auxiliary
noise are generated based on the estimated frequency, and a
control signal is calculated; (3) estimating auxiliary secondary sound by using the auxiliary noise; (4) estimating the sum of the primary sound and the secondary sound of the
error signal at the noise frequency by using the reference signal; (5) updating the
estimation of the
frequency response of the secondary path at the auxiliary noise frequency and the
frequency response of the auxiliary filter at the narrow-band noise frequency; (6) obtaining the
estimation of the
frequency response of the secondary path at the
narrowband noise frequency in an interpolation mode; (7) updating the filter coefficient of the controller; and (8) outputting a
control signal to drive a secondary source
loudspeaker to produce sound, propagating the sound through a secondary path, and coherently superposing the sound with the initial noise signal at the error
microphone to realize a
noise reduction function. According to the method, the secondary path can be accurately modeled online, compared with an existing
algorithm, the auxiliary
noise energy is low, the convergence speed is high, the
noise reduction effect is good, meanwhile, the problem that the same parameter operation results are different in a traditional auxiliary
white noise online modeling
algorithm is solved, and the
algorithm stability is better.