• 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. Open loop gain and open loop phase for an oscillator

Stats

  • Locked Locked
  • Replies 18
  • Subscribers 125
  • Views 24505
  • 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

Open loop gain and open loop phase for an oscillator

Pictou
Pictou over 12 years ago

 Hello,

I'm designing an oscillator with a quartz (Pierce model). The circuit is basically an amplifier and the quartz. I would like to measure the open loop gain and phase however I'm not sure about the method.

 First method I tried is the following :

I disconnected the loop at the gate of the MOS amplifier inverter. Put a vac source and set the AC amplitude to 1V.I copied the schematic of  the amplifier and pasted it at the output of the crystal, this way the crystal will see the same load as if it was in closed-loop. Then I measure the gain at the output of the crystal using a HB analysis.

 

Second method is :

I used the middlebrook analysis, which is stb in cadence. However I'm skeptical about this method as stb is to check the stability of the system. And, as I'm using an oscillator, I'm not supposed to be stable. However I'm still measuring an open loop gain and phase with stb analysis.

 

My question is which method is correct? I really have no idea on how to answer that question, so I'm here.

 

Thank you.

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 12 years ago

    Hi Pictou,

    You are asking  a number of questions that are really outside the scope of this forum I think - but I will let Andrew make that judgement. The questions are really appropriate for a forum on quartz oscillator design. Nevertheless, I will provide my insights since I do quartz oscillator design,

    I'm not sure if my results are correct or not.

    I examined your simulation schematic and it appears you are following the methdology correctly - very good! However, your schematic suggests you are using a value of 750 fF for the quartz crystal unit C0. This is a very low value and I think it may not be correct, Most quartz crystal units in the 40 MHz range will have a C0 (which includes both the capacitance of the resonator and the packaging and board) in the range of 2 pf to 5 pf. The vendor will usually specify its value on the data sheet (without your board parasitic) - but it is usually specified as a value far in excess of the value for any speciifc frequency. Often, you need to contact the vendor to get the specific value for the frequency and package type of interest. The value of C0 will significantly impact the value of negative resistance you simulate at 40 MHz. Hence, I suspect the -880 ohm value you observed will be less in absolute value when the proper value of C0 is used.

    My result is -881Ohm at Fosc (40MHz), my gain is then equal to : 880/R1 (which is 21.58), 880/21.58 = 41.

    My question is the following, I found on the internet that the result should be around 4-8 times the motional resistance R1, am I not a little too high?

    How should I assess this result? What can I say about it?

    I think that this result means that if I wanted my oscillator to oscillate at 40MHz, I could do it because I have enough gain. Am I correct?

     Your basic calculation methodology for oscillator open loop gain is correct for the specific simulation you performed. 

    First, I do not know if you have considered what the minimum absolute value of negative resistance is over all process, supply voltage, and temperature conditions. I also noted that you appear to bias one transistor with an ideal voltage source. If you are trying to determine the minimum absolute value of negative resistance, you must examine all cases and exclude ideal bias elements. As mentioned above, I think if you use a more realistic value of C0, this will also significantly reduce the magnitude of your measured negative resistance at 40 MHz.

    Second, there are many other considerations that one must weigh when choosing the proper value of negative resistance. A rule of thumb is not appropriate. For example, how does the negative resistance saturate as the amplitude of oscillation increases? How temperature and voltage sensitive is the negative resistance? How much quartz crystal resonator drive level sensitivity exists? How much frequency trim capacitance is required and how does that impact negative resistance? Hence, you need to answer these questions to determine how much margin is required for your circuit. 

    EDIT : My colleage asked me a question that I couldn't answer to. Why is the gain the ratio between the negative resistance and the motional resistance? Thank you.

     I think my answer to this is outside the scope of this forum. Andrew, if you feel otherwise, I will respond.

    Shawn

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 12 years ago

    Hi Pictou,

    You are asking  a number of questions that are really outside the scope of this forum I think - but I will let Andrew make that judgement. The questions are really appropriate for a forum on quartz oscillator design. Nevertheless, I will provide my insights since I do quartz oscillator design,

    I'm not sure if my results are correct or not.

    I examined your simulation schematic and it appears you are following the methdology correctly - very good! However, your schematic suggests you are using a value of 750 fF for the quartz crystal unit C0. This is a very low value and I think it may not be correct, Most quartz crystal units in the 40 MHz range will have a C0 (which includes both the capacitance of the resonator and the packaging and board) in the range of 2 pf to 5 pf. The vendor will usually specify its value on the data sheet (without your board parasitic) - but it is usually specified as a value far in excess of the value for any speciifc frequency. Often, you need to contact the vendor to get the specific value for the frequency and package type of interest. The value of C0 will significantly impact the value of negative resistance you simulate at 40 MHz. Hence, I suspect the -880 ohm value you observed will be less in absolute value when the proper value of C0 is used.

    My result is -881Ohm at Fosc (40MHz), my gain is then equal to : 880/R1 (which is 21.58), 880/21.58 = 41.

    My question is the following, I found on the internet that the result should be around 4-8 times the motional resistance R1, am I not a little too high?

    How should I assess this result? What can I say about it?

    I think that this result means that if I wanted my oscillator to oscillate at 40MHz, I could do it because I have enough gain. Am I correct?

     Your basic calculation methodology for oscillator open loop gain is correct for the specific simulation you performed. 

    First, I do not know if you have considered what the minimum absolute value of negative resistance is over all process, supply voltage, and temperature conditions. I also noted that you appear to bias one transistor with an ideal voltage source. If you are trying to determine the minimum absolute value of negative resistance, you must examine all cases and exclude ideal bias elements. As mentioned above, I think if you use a more realistic value of C0, this will also significantly reduce the magnitude of your measured negative resistance at 40 MHz.

    Second, there are many other considerations that one must weigh when choosing the proper value of negative resistance. A rule of thumb is not appropriate. For example, how does the negative resistance saturate as the amplitude of oscillation increases? How temperature and voltage sensitive is the negative resistance? How much quartz crystal resonator drive level sensitivity exists? How much frequency trim capacitance is required and how does that impact negative resistance? Hence, you need to answer these questions to determine how much margin is required for your circuit. 

    EDIT : My colleage asked me a question that I couldn't answer to. Why is the gain the ratio between the negative resistance and the motional resistance? Thank you.

     I think my answer to this is outside the scope of this forum. Andrew, if you feel otherwise, I will respond.

    Shawn

     

    • 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