• 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. Nonlinearity Separation

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 126
  • Views 18554
  • 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

Nonlinearity Separation

itos
itos over 8 years ago

This is with 95% a question without solution but I still try it .. maybe there is something out there.

For noise the different sources are visible in the results browser and noise summary so I can identify the devices/sources which kill noise performance.

I would be looking for something similar for linearity (e.g. IIP3, HD3, IM3, ...).

The issue: A simple differential pair (PMOS with NMOS loads or reverse).

The IIP3 versus VGS, VDS, GM/ID etc looks arbitrary and I have no control what is limiting linearity.

I can get a relatively accurate expression for IIP3 for drain current linearity but this is 30-40 dB (!!) better than what I get. So I assume I am limited by ids/vds linearity. But is it the gm transistor or the load? And what know to dial to get a handle on this?

Some sort of "nonlinearity" separation could confirm that I may neglect the common ids/vgs nonlinearity and just plot IIP3 vs. VDS of a single transistor.

  • Cancel
Parents
  • itos
    itos over 8 years ago

    Hi Andrew & Frank,

    Awesome, this is pretty incredible! Wouldn't have expected a solution for this!

    I am trying to wrap my head around the "Distortion(dB)" output for quite some time and I just do not understand it.

    Consider this simple circuit: pvccs with an IIP3 of 0dBm (in my example: c1=10 and c3=-400/3) and acmag=1mV.

    Then the Nonlinear Mag at 1st frequency is given as: a3*3/4*V^3 = (400/3) * 3/4 * 1m^3 = 100nV
    This matches perfectly the simulation. Similarly for the third harmonic: a3/4*V^3 = (400/3)/4*1m^3 = 33.3333nV

    However, "Distortion(dB)" (the second column) shows 86.86udB (!). This does not make sense to me at all!

    The Total Distortion in dB would be the squared sum of the above numbers: 10*log10(100e-9^2 + 33.3333e-9^2) = -139.5424 dB

    Even if I normalize this this by the ideal output of the fundamental in some way ((a1*V)^2 = (10*1e-3)^2 = 100e-6) the result is -99.5424 dB. I do not see how this column can be "zero dB" at all.

    If I use acmag=1, then the first column is 20.83 dB. This is close to 10*log10((100^2 + 33.333^2)/10^2) = 20.4576 dB, but since the third and last column match (and it is only a single ideal pvccs) I would expect this to match precicely as well.

    I just wanted to mention that I consulted the docs as well (spectreref.pdf, spectreRF.pdf, spectreuser.pdf, a.o.) but I did not find a description how this first column is calculated (except vague statements like "the total distortion").

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • itos
    itos over 8 years ago

    Hi Andrew & Frank,

    Awesome, this is pretty incredible! Wouldn't have expected a solution for this!

    I am trying to wrap my head around the "Distortion(dB)" output for quite some time and I just do not understand it.

    Consider this simple circuit: pvccs with an IIP3 of 0dBm (in my example: c1=10 and c3=-400/3) and acmag=1mV.

    Then the Nonlinear Mag at 1st frequency is given as: a3*3/4*V^3 = (400/3) * 3/4 * 1m^3 = 100nV
    This matches perfectly the simulation. Similarly for the third harmonic: a3/4*V^3 = (400/3)/4*1m^3 = 33.3333nV

    However, "Distortion(dB)" (the second column) shows 86.86udB (!). This does not make sense to me at all!

    The Total Distortion in dB would be the squared sum of the above numbers: 10*log10(100e-9^2 + 33.3333e-9^2) = -139.5424 dB

    Even if I normalize this this by the ideal output of the fundamental in some way ((a1*V)^2 = (10*1e-3)^2 = 100e-6) the result is -99.5424 dB. I do not see how this column can be "zero dB" at all.

    If I use acmag=1, then the first column is 20.83 dB. This is close to 10*log10((100^2 + 33.333^2)/10^2) = 20.4576 dB, but since the third and last column match (and it is only a single ideal pvccs) I would expect this to match precicely as well.

    I just wanted to mention that I consulted the docs as well (spectreref.pdf, spectreRF.pdf, spectreuser.pdf, a.o.) but I did not find a description how this first column is calculated (except vague statements like "the total distortion").

    Thanks!

    • 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