• 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. RE : calculating the output power of a Quartz oscillato...

Stats

  • Locked Locked
  • Replies 32
  • Subscribers 64
  • Views 16703
  • 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

RE : calculating the output power of a Quartz oscillator

david j james
david j james over 2 years ago

Help !

I am designing a Crystal Oscillator ( which is a complex load) and trying to calculate Output power (to avoid over loading the crystal). I am using pss to simulate it and I get a tran waveform.

The power is complex so it is not easy to calculate. For example in a transient simulation phase information isn't readily available.

When I create calculations in calculator tool  get several different answers, and I am not sure which to trust

How should I calculate the output power?

What is the 'recommended' method?

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

    Why would you use PSS and then use the time-domain waveform? Wouldn't it make more sense to use the frequency-domain output - that's complex after all?

    Also, for a crystal oscillator, you might also want to consider using harmonic balance (unless the output is very square).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • david j james
    david j james over 2 years ago in reply to Andrew Beckett

    The two simulations (pss and hb ) give different (slightly) results.

    Do the following setups make sense?

    PSS input.scs

    simulatorOptions options psfversion="1.4.0" reltol=1e-3 vabstol=1e-6 \

        iabstol=1e-12 temp=27 tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 \

        gmindc=1e-15 rforce=1 maxnotes=5 maxwarns=5 digits=5 cols=80 \

        pivrel=1e-3 sensfile="../psf/sens.output" checklimitdest=both  \

        sqldb_violating_ratio=yes

    pss  (  vout  gnda  )  pss  flexbalance=yes  fund=10M  harms=100

    +    errpreset=moderate  oscic=lin  oscmethod=onetier  tstabmethod=trap

    +    annotate=status

     

    Calculator function : ymax(leafValue( hb_spec_Pout "Design_Point" 1 )) gives 86uW

     

     

    Harmonic Balance : input.scs

    simulatorOptions options psfversion="1.4.0" reltol=1e-3 vabstol=1e-6 \

        iabstol=1e-12 temp=27 tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 \

        gmindc=1e-15 rforce=1 maxnotes=5 maxwarns=5 digits=5 cols=80 \

        pivrel=1e-3 sensfile="../psf/sens.output" checklimitdest=both  \

        sqldb_violating_ratio=yes

    hb  (  vinv_xto_inv  vinv_xti_inv  )  hb  saveinit=yes  autoharms=yes

    +   autotstab=yes  oversample=[1]  fundfreqs=[(10M)]  maxharms=[5]

    +   errpreset=moderate  oscic=lin  oscmethod=onetier  annotate=status

     

    Calculator function : ymax(pvi('pss "/vinv_xto_inv" 0 "/V_xosc/PLUS" 0)) gives 76.4uW

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to david j james

    You mentioned that the output is pretty square, so I rather doubt that 5 harmonics would be enough - although you have "autoharms" set to yes, so I don't know how many it actually chose (the log file would show that). Understanding this is hard without seeing it, so I suggest you contact customer support - that's what it's for (submit a support case after logging in). Then maybe you can share the example, we can look at log files, and see what accuracy controls are affecting the difference (your expressions are different between the two and you have them the wrong way around, and the hb expression doesn't seem to actually include the output power expression).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • david j james
    david j james over 2 years ago in reply to Andrew Beckett

    My comment was misleading. The output of the osc, the clock to the digital, is quite square but I case about power into the crystal. But the Quartz waveform is quite sinusoidal. The calculator functions are from the Main Results Viewer.

    Results → Direct Form → Main form

    Select pss (of hb), select power, select Terminal ( an ideal zero volt source) on input to crystal.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • david j james
    david j james over 2 years ago in reply to david j james

    Is measuring the Power into a Quartz crystal by simulating the power into a terminal (of an ideal voltage source) a valid method in pss or hb?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • david j james
    david j james over 2 years ago in reply to david j james

    Is measuring the Power into a Quartz crystal by simulating the power into a terminal (of an ideal voltage source) a valid method in pss or hb?

    • 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