ΣSigmaStudio Ask AI Русский Log in

adaptive filters

SigmaDSP & SigmaStudio harishsharma Jun 1, 2022 00:00 8 replies Original on forum ↗
Thread Summary

Thread Summary

The user is working on the EVAL-ADAU1467Z evaluation board and is trying to use adaptive filters in Sigma Studio to extract a specific tone from a mixed signal. The final answer explains that the error signal should not contain any output, and a very small alpha value (adaptation rate) can cause the filter to not converge, leading to a tone in the error signal. The user is advised to check the configuration and ensure the alpha value is appropriate for the desired adaptation rate.
AI Generated Content
Subscribe
harishsharma Question
Jun 1, 2022 00:00

Hi,

i am working on EVAL-ADAU1467Z evaluation board. I am working of filters. is there any documentation available on adaptive filters and their use in sigma studio.

Thank you

Harishgowtham Reply
Jun 2, 2022 00:00

Hi harishsharma,

I hope you have gone through the wiki page for adaptive filters, It has the basic view and control over the block and its functioning. There are few posts on the forum regarding adaptive filters where our experts discussed and you can find it by searching in the forum. Here are the few posts where adaptive filters are used by customers for their application. If you want anything in specific then feel free to post a question.

Using an NLMS filter for background tones/beeps - Q&A - SigmaDSP Processors and SigmaStudio Development Tool - EngineerZone (analog.com)

Help with Modified FxLMS/FxNLMS in an ANC application - Q&A - SigmaDSP Processors and SigmaStudio Development Tool - EngineerZone (analog.com)

Regards,

Harish

harishsharma Reply
Jun 2, 2022 00:00

Hello Harishgowtham,

i have already gone through wiki page. i am trying to extract a tone from mixed tone signal.

tone_extract.dspproj

at the filtered output i think i am getting desired signal. but not getting anything at error signal. if i decrease the value of alpha to 0.00001 then i am getting tone at error signal. i don't know the way i am following to extract a tone from mixed frequency tones is right or not.

Harishgowtham Reply
Jun 9, 2022 00:00

Hello harishsharma,

You are not supposed to get anything at the error signal. That is the way it works. The alpha is an adaptation rate that is the rate at which it adapts the step size. If you keep on decreasing that it doesn't converge. So it's not gonna do what it is supposed to .

The alpha is so small , so its not adapting so that you are getting a tone in the error signal.

Regards,

Harish

harishsharma Reply
Jun 18, 2022 00:00

Hello Harishgowtham,

with NLMS filter we can extract desired signal frequency from mixed frequency signal. i am trying to do feed forward ANC. we need to generate 180 degree out of phase noise signal. if i feed directly by inverting the signal to speaker that does not give that much good ANC effect. i think that is because of we don't know exact amplitude of noise. can i use NLMS filter to do it. in this case input signal is not mixed frequency signal.

Thank you

harishsharma Reply
Jun 18, 2022 00:00

Hello Harishgowtham,

i am trying to do Active Noise Cancellation using FxLMS filter. i connected two pdm mic. one is for error signal and other is for noise signal.ANC.dspproj

i have a doubt regarding filtered reference signal. i don't know i am following right way. i am feeding white noise at filtered reference signal. is secondary path internal there in FxLMS filter. what i did i connected err mic inside the cup of headphone and other mic outside the headphone.

Thank you

bitmechanic Reply
Jun 23, 2022 00:00

Hello,

What is your expected output? If you want to remove 120 from the mix of 120 + 600 then you need to swap the FIR in and Desired in signals as shown below. The output is the NLMS error output. See the plot below, the 120 has been removed from the mix.

ztemp2.jpg
ztemp2.jpg
ztemp1.jpg
ztemp1.jpg
harishsharma Reply
Jun 24, 2022 00:00

Hello bitmechanic,

expected output was 120Hz at filtered output pin. so i connected 120Hz at desired signal pin. mixed frequency at pin0(input to FIR).

you connected 120Hz at input to FIR and mixed frequency at desired signal pin. how you drawn that plot . in my system i can not draw frequency more than 5 Hz.

Thank you

bitmechanic Reply
Jun 27, 2022 00:00

Hello,

Ok I see. I go back to your original schematic. The NLMS FIR out will be 120, and the error will go to zero as shown in the plot below.

ztemp3.jpg
ztemp3.jpg