• 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. RF Design
  3. Query on Harmonic Port element in analogLib

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 64
  • Views 17968
  • 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

Query on Harmonic Port element in analogLib

engrvip
engrvip over 8 years ago

Hi


 In what applications is harmonic port required.

In user guide it mentions that this element is required when different impedance need to be set for different harmonics.

Can somebody tell application in which such requirement is needed in port element.

Regards

Vipul

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Vipul,

    In reality the termination is not going to be purely resistive at all frequencies, so being able to enter the resistive and reactive part can be important to better capture the termination. Equally, it's impossible to have a constant complex impedance at all frequencies, so this capability allows you to capture the fact that this impedance will be different at different harmonics of the fundamental. Because this is a frequency domain analysis, we don't have to necessarily have a representation that will be causal in the time domain (which you do for transient analysis) which allows this kind of frequency-domain modelling of the port impedance.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tawna
    Tawna over 8 years ago
    Hi Vipul,

    There are some examples in the documentation:
    Spectre Circuit Simulator and Accelerated Parallel Simulator RF Analysis User Guide, version 16.1 Nov 2016

    The harmonic port is used with loadpull simulation. (page 180). Another example starts on page 234. And another on page 1703.

    best regards,
    Tawna
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • engrvip
    engrvip over 8 years ago
    Hi Andrew and Tawna

    Thanks very much for you clarification to my query.

    Regards
    Vipul
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • palmrunner
    palmrunner over 8 years ago

    (Sorry for posting here, but I couldn't find any way to create my own thread. Maybe the moderator could help me here)

    I am trying to simulate the PSRR of an amplifier and estimate how much of the supply ripples are coming to the output. However, I want to see also the transfer function of the mixing products between a 2-tone large signal input and the small signal supply ripples. Therefore, I decided to go with hb/hbxf simulation.
    To enable hbxf, I just use hbnoise with Input source set to ‘none’ and ‘Do Noise’ turned off.

    As far I can see from the log file, hbxf is calculated and simulation finishes normally without any errors. The problem I see is that ‘hbxf’ doesn’t seem to appear in the ‘’Direct Plot” window? I see only ‘hb_mt’, but not ‘hbxf_mt’.

    If I use single tone input with everything else the same, ‘hb’ and ‘hbxf’ are both visible in the ‘’Direct Plot” window. Pss/pxf works also fine with 2-tones.

    Edit: I'm using Cadence IC6.1.6-64b.500.13.2


    Best Regards,
    palmrunner

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • palmrunner
    palmrunner over 8 years ago
    ok, I found a solution (workaround):
    If I set up an expression, e.g:
    db(getData("/V0" ?result "hbnoise_mt_xf"))

    then I can plot the transfer function from source V0 to the output.

    Anyway, the fact that 'hbxf_mt' doesn't appear in the 'Direct Plot' is a bug that has to be fixed.

    Best Regards,
    palmrunner
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Palmrunner,

    A quick double check before I test this - what IC subversion are you using? (Help->About in the CIW will tell you) and which spectre sub-version (this appears in the spectre log file)?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • palmrunner
    palmrunner over 8 years ago

    Hi Andrew,

    Thanks for your quick reply!
    I'm using Cadence IC6.1.6-64b.500.13.2

    From the log file I get this: Version 14.1.0.576.isr7 64bit -- 28 Apr 2015

    (Miraculously, a button 'New' appeared for me in the community forums. It was missing before :)

    Best Regards,
    palmrunner

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Hi palmrunner,

    Having done some experiments and some checks of the CCRs, this has been a long-standing issue with the "xf" being part of hbnoise. The good news is that in MMSIM15.1 together with IC617 ISR3 and later, there is now an explicit "hbxf" analysis on the Choose Analysis form, and if you run a multi-tone HB analysis together with this, you will get "hbxf_mt" on the Direct Plot form. 

    It was always an anomaly that if you just wanted to do an hb xf analysis you had to run hbnoise and turn noise off - not a great use model. Unfortunately it seems the original bug (multi-tone xf results not appearing in the direct plot form) has not been fixed in any version, but I think it's far more likely that people will use the explicit hbxf analysis as that's far more logical. 

    Of course, to access this you'll need to update to a new enough IC617 release, and also either MMSIM15.1 or SPECTRE16.1 (rather than MMSIM14.1 ISR7 which is what you're using currently).

    BTW, the "new" post button being missing was probably a symptom of a sporadic problem at the moment; I have a similar issue that the "rich text" support doesn't always show up and I sometimes have to force reload pages in the browser to make it work (I have a ticket open to try to fix this). As moderator I potentially could split out your post into a new thread - but since we're pretty much done now I'll leave it alone just in case it breaks...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • palmrunner
    palmrunner over 8 years ago
    Hi Andrew,

    Thanks for clarifying and confirming the issue.
    Unfortunately, I'm not privileged to do Cadence updates, but I will forward this info to the local CAD support, so they are aware of this.
    For this moment, the workaround is doing the job.

    Best Regards,
    palmrunner
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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