• 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. INL simulation issue for temperature sensor

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 124
  • Views 16689
  • 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

INL simulation issue for temperature sensor

wgtkan
wgtkan over 5 years ago

Hello,

I would like to determine the temperature error of my temperature sensor circuit by using a viva function integral non-linearity of a dc temperature simulation. I want to show the output voltage of the sensor against temperature. 

The temperature is swept from -20 to 100C using the DC sweep. And the simulation is working by plotting the output voltage vs temperature. But when I do the INL simulation to determine the temperature error through the viva function, I am getting what seems the temperature error against voltage but not temperature.

Here is what I have in my viva calculator function:

inl(VS("/vot2") 1 ?mode "auto" ?crossType "rising" ?delay 0.0 ?units "abs" ?nbsamples 120)

Instead of getting a plot that looks like this: 

I am getting wrong plot that looks like this:


My cadence virtuoso version is :
Version IC6.1.8-64b.500.9
Spectre spectre191

Thank you so much in advance for your cooperation with this question.

  • Cancel
  • wgtkan
    wgtkan over 4 years ago in reply to ShawnLogan

    Hello Shawn,

    I did the simulation-based the calculation you provided which goes like this:

    (waveVsWave(?x waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))) ?y (waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))) - abBestFit(waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2")))))) - (0.5 * (ymax(waveVsWave(?x waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))) ?y (waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))) - abBestFit(waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))))))) + ymin(waveVsWave(?x waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))) ?y (waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))) - abBestFit(waveVsWave(?x VS("/vot2") ?y xval(VS("/vot2"))))))))))

    And I get the attached plot which is not quite as I expected. 

    Can you let me know if we are missing anything?

    Thanks, Shawn.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to wgtkan

    Dear wgtkan,

    [[quote userid="289980" url="~/cadence_technology_forums/f/custom-ic-design/46607/inl-simulation-issue-for-temperature-sensor/1369471"][/quote]

    And I get the attached plot which is not quite as I expected. 

    Can you let me know if we are missing anything?

    Maybe I did not understand what your intentions were? However, to me, the plot appears totally consistent with what I expected. For each of the three cases you have plotted (yellowfins, red, and green), the peak positive and peak negative magnitudes of each respective curve have the same absolute values over the -20C to +100C range. For example, the green peak positive value is about +780 and its peak negative value is about -780 (I'm not sure of the y-axis units...milli LSB?). In my prior post, I included the following "

    Unknown said:
    I think, instead, you might want the plot to have symmetrical maximum and minimum INL values for each curve in order that you might easily compare the maximum INL value each case provides.

    It appears to me this is exactly what the curve fits provide. Let me know if I misunderstood your actual intent.

    Shawn

    • 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