Home > Community > Forums > Custom IC Design > Spectrum THD issue

## Email

Recipients email * (separate multiple addresses with commas)

Message *

 Send yourself a copy

## Subscribe

Intro copy of the newsletter section here, some intro copy of the newsletter. Instruction of how to subscribe to this newsletter.

First Name *

Last Name *

Email *

Company / Institution *

 Send Yourself A Copy

# Spectrum THD issue

Last post Wed, Jul 17 2013 5:38 AM by The Setlaz. 2 replies.
 Started by The Setlaz 04 Jul 2013 09:01 AM. Topic has 2 replies and 427 views
• #### Thu, Jul 4 2013 9:01 AM

• The Setlaz
• Joined on Wed, Dec 5 2012
• Saggart, Dublin
• Posts 36
• Points 520
Spectrum THD issue
 Hi, I'm facing an issue with Cadence VIVA Spectrum Tool (6.1.5-64b.500.16.2) and THD/SNR calculation.If I take an ADC/DAC with single-tone signal input close enough from the Nyquist frequency so that its natural harmonics fall above Fs/2, hence they get folded back into the Nyquist band, it seems those frequencies are not taken into account in the calcul of THD. Hence, THD is wrong and SNR is wrong as well since it considers these "folded-harmonics" as noise bins and not harmonics (SNR should not take into account harmonics). Thus, we end-up with SNR=SNDR (since it is not able to make difference between what is "noise" and what is "folded harmonics") and very close to SFDR (since the spurs are considered as noise and not folded harmonics from the input tone)  Concrete example :Fs = 1.2MHzFs/2=600kHzFin = 280kHz @ -0.5dB.H2= 560kHz @ -110dBH3= 840kz @ -75dB => folded back to 360kHz Noise floor = around -85dB  VIVA report :THD = -110dB => WRONG(should be worse than -75dB ..) SNR = -75dB   => WRONG (should be around -85dB)SNDR = -75dB => WRONG - SEEMS good, but same as SNR but SNR is already wrong no contribution from THD since it is completely off. Was this bug already report ? Is there any fix available ? Thanks,Damien
• Post Points: 20
• #### Thu, Jul 4 2013 9:22 AM

Re: Spectrum THD issue
 Damien,Maybe - I would suggest trying IC616 - there have been some fixes related to spectrumMeasurement there - but I'm not sure whether they've been backported.You may just be best reporting this to customer support and then we can look at your data (I do have an example, but don't really have time right now to sit down and carefully check it).Regards,Andrew.
• Post Points: 20
• #### Wed, Jul 17 2013 5:38 AM

• The Setlaz
• Joined on Wed, Dec 5 2012
• Saggart, Dublin
• Posts 36
• Points 520
Re: Spectrum THD issue
 My mistake, I was using it wrong. Sorry about that. Damien
• Post Points: 5