• 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. How to make an ideal diode model for diode from analogLib...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 125
  • Views 36559
  • 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

How to make an ideal diode model for diode from analogLib?

BaaB
BaaB over 8 years ago

I am trying to make a model and use it for ideal diode from analogLib library. However, I don't know how to modify the built-in potential (or forward voltage) of the diode. I tried to add VJ variable and set it to a small value like 0.1V. However, from I-V characteristic of simulation, it doesn't seem to have any effect on forward voltage at all. The built-in potential from the simulation is about 650mV. 

Can anybody tell me how to do that? I want the diode is like ideal (zero forward voltage and infinite slope).

Here is the model file I used (diode.scs):

simulator lang=spice

.model schottky D (LEVEL = 3 IS=1p RS=0 BV=40.0 IBV=1p VJ=0.1 CJO=0 M=0.5 N=1 TT=0 )


  • Cancel
Parents
  • BaaB
    BaaB over 8 years ago

    Thank you, Andrew Beckett! You are right I tried some ideal components before and faced convergence problem. For the diode, I don't need it to be perfectly idea but something close to that. However, as in the picture above, the forward voltage is too large and the slope is not that steep.

    I am trying to follow your method but I get stuck. You helped me with one similar example before as here.  This example is a bit different to me. 
    I created a model file named idealDiode.scs with content: 

    subckt idealDiode (a c)
    // note, the on resistance shouldn't be below 1mOhm
    D1 (a c a c) relay rclosed=1m vt1=0.0 vt2=1m

    Then created a diode symbol with two pins a, c and name as "idealDiode". And then do the all the things as the given link above. 
    however, where should I put this line "Dideal (n1 n2) idealDiode"?


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

    Thank you, Andrew Beckett! You are right I tried some ideal components before and faced convergence problem. For the diode, I don't need it to be perfectly idea but something close to that. However, as in the picture above, the forward voltage is too large and the slope is not that steep.

    I am trying to follow your method but I get stuck. You helped me with one similar example before as here.  This example is a bit different to me. 
    I created a model file named idealDiode.scs with content: 

    subckt idealDiode (a c)
    // note, the on resistance shouldn't be below 1mOhm
    D1 (a c a c) relay rclosed=1m vt1=0.0 vt2=1m

    Then created a diode symbol with two pins a, c and name as "idealDiode". And then do the all the things as the given link above. 
    however, where should I put this line "Dideal (n1 n2) idealDiode"?


    • 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