Post Go back to editing

Variable band-stop / notch filters

For a feedback suppression algorithm I am looking to implement variable gain / rejection / frequency notch or band-stop filters.

On other words, I need to be able to control the center frequency and amount of rejection dynamically.

What would be the best way to implement this on an ADAU 1761?

Parents
  • Roman, there is another component that could work if you can live with stepped frequency centers (as opposed to a continuously variable frequency center):  the "IdxSelectable Indp. Multiple Band Filter" block.  This doesn't use too many instructions, just some parameter RAM for each set of filter coefficients.

    If you look at Bob's spreadsheet you'll see that filter coefficient calculation is very expensive for a SigmaDSP; it uses an exponent (I think those can be simplified if your filter doesn't vary in magnitude) and several trig functions, in addition to multiplication/division.  Since you don't need those calculations run for each sample (I hope!), it's better to have an MCU to manage that if required.

Reply
  • Roman, there is another component that could work if you can live with stepped frequency centers (as opposed to a continuously variable frequency center):  the "IdxSelectable Indp. Multiple Band Filter" block.  This doesn't use too many instructions, just some parameter RAM for each set of filter coefficients.

    If you look at Bob's spreadsheet you'll see that filter coefficient calculation is very expensive for a SigmaDSP; it uses an exponent (I think those can be simplified if your filter doesn't vary in magnitude) and several trig functions, in addition to multiplication/division.  Since you don't need those calculations run for each sample (I hope!), it's better to have an MCU to manage that if required.

Children
No Data