Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to determine the number of harmonic in a ADC FFT figure?

Status
Not open for further replies.

urian

Full Member level 3
Joined
Sep 3, 2009
Messages
159
Helped
10
Reputation
20
Reaction score
6
Trophy points
1,298
Activity points
2,517
Hi,there
When we checking the SFDR of an ADC, we usually apply FFT to the result and locate the 3rd HD magtitude. But in my case, I find that the 3rd HD is not the largest harmonic, e.g. in my 8b 100M pipeline ADC with 41.4MHz input, the FFT shows that the 3rd HD(24.2MHz) is -67dBc, but the bin 17.3MHz is -57dBc, I dont know wether this is a HD and the number of it. How to calculate the HD number with FFT plot?

Regards
urian
 

jgk2004

Full Member level 5
Joined
Dec 1, 2009
Messages
279
Helped
76
Reputation
152
Reaction score
72
Trophy points
1,308
Location
Munich Germany
Activity points
3,377
Are you using an anti-aliasing filter? I think you are not and this is my reasoning. If your ADC is clocked at fs=100MHz, and you put in a tone at 41.4MHz, below Nyquist a good thing, your harmonics I think are aliasing down. So your HD2 is 82.8MHz, the alias would be 100MHz-82.8MHz=17.2MHz. If you have a HD3, this would be at 41.4MHz*3=124.2MHz, therefore, 200MHz-124.2MHz=75.8MHz, alias again, =>100MHz-75.8MHz=24.2MHz. Since it is a double aliasing of the HD3 thats why it is smaller. Does this make sense?

JGK
 
  • Like
Reactions: urian

    urian

    points: 2
    Helpful Answer Positive Rating

urian

Full Member level 3
Joined
Sep 3, 2009
Messages
159
Helped
10
Reputation
20
Reaction score
6
Trophy points
1,298
Activity points
2,517
Hi,jgk
There is no anti-aliasing filter in my design. For HD3, my calculation is 41.4MHz*3 -100 =24.2MHz. I wonder whether this way is wrong in concept comparing with your method. Should it be first subtracted from 200MHz and then calculate the alias again to get the 24.2MHz result? And if there is anti-aliasing filter, the HD will not fold back in the 1st nyquist zone?

Regards
urian
 

jgk2004

Full Member level 5
Joined
Dec 1, 2009
Messages
279
Helped
76
Reputation
152
Reaction score
72
Trophy points
1,308
Location
Munich Germany
Activity points
3,377
Hello Urian,

I am sure you can't just subtract 100 to get 24.2MHz. You have to always subtract which fs multiple first. since the third harmonic is above 100.. you have to look at 200 first. Just try this. Put in your input tone at 10MHz, you should have your HD2 at 20MHz and HD3 at 30MHz. Then put in another tone at 22MHz, HD2 will be at 44MHz and your HD3 will alias down since it will be at 66MHz, therefore in your band, you would see 100MHz-66MHz=34MHz.

Hope this helps
JGK
 
  • Like
Reactions: urian

    urian

    points: 2
    Helpful Answer Positive Rating

urian

Full Member level 3
Joined
Sep 3, 2009
Messages
159
Helped
10
Reputation
20
Reaction score
6
Trophy points
1,298
Activity points
2,517
Hi,jgk
I got it. I should always subtract HD from the multiple of fs instead of reverse order to get the aliasing HD. Thx

Regards
urian
 

kripacharya

Banned
Joined
Dec 28, 2012
Messages
1,209
Helped
182
Reputation
360
Reaction score
175
Trophy points
1,343
Location
New Delhi
Activity points
0
Hi,jgk
I got it. I should always subtract HD from the multiple of fs instead of reverse order to get the aliasing HD. Thx

Regards
urian
This is correct imho too. For fft though, the bins will only go upto Fs/2, so you would have to 'fold' it into an Fs/2 multiple.
apologies for jumping in...
 

jgk2004

Full Member level 5
Joined
Dec 1, 2009
Messages
279
Helped
76
Reputation
152
Reaction score
72
Trophy points
1,308
Location
Munich Germany
Activity points
3,377
No problem for jumping in! So this is why I was saying you subtract off of fs, so if your at say 75MHz and your fs is 100MHz you get an alias (folding down) at 25MHz. Just like if you put something in at say 51MHz, you get the fold at 49MHz.

JGK
 
  • Like
Reactions: urian

    urian

    points: 2
    Helpful Answer Positive Rating
    V

    points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top