• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. DFT parameters in spectrum emasurements

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 14799
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DFT parameters in spectrum emasurements

IcoNem
IcoNem over 6 years ago

Hi all,

I am trying to get the DFT of the output waveform to get SINAD and ENOB. There are some things I am not sure about when reading at the help section about spectrum:

At a certain point it says: "The Sample Count value must be greater than zero. By default, this field displays the number of data points in the selected signal." but if I am looking at a waveform that lasts 20.48 us and time step during simulation was 1 ns means that the trace has 20480 points, but by default I get 1024 in the Sample Count field, why is that?

At another point it says: "The number of input periods in the period of the Fourier transform needs to be an integer and a prime number, where the period of the Fourier transform is 1/ the fundamental frequency of the Fourier transform." So it is saying that the interval stop time-start time should be an integer number of periods of my waveform, and that is ok, but why should it also be a prime number?

Also I am not sure  about how the signal first harmonic is chosen, is it just the one with bigger amplitude?

Thanks a lot for your help

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I think the first is a mistake in the documentation. I don't think it's related to the number of points in the signal - there's just a default value which happens to be 1024

    The prime number part could also be better described. This is to ensure coherent sampling - see https://en.wikipedia.org/wiki/Coherent_sampling 

    The first harmonic would be 1/(stopTime-startTime) - in other words the period of the FFT defines the fundamental. For things like THD you can choose how many harmonics are used to compute the desired signal - which might be more than 1 if you have more than one period of your signal in the interval being FFT'd.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I think the first is a mistake in the documentation. I don't think it's related to the number of points in the signal - there's just a default value which happens to be 1024

    The prime number part could also be better described. This is to ensure coherent sampling - see https://en.wikipedia.org/wiki/Coherent_sampling 

    The first harmonic would be 1/(stopTime-startTime) - in other words the period of the FFT defines the fundamental. For things like THD you can choose how many harmonics are used to compute the desired signal - which might be more than 1 if you have more than one period of your signal in the interval being FFT'd.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information