• 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 reversely perform transient simulation?

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 125
  • Views 14603
  • 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 reversely perform transient simulation?

Baiyuzhong
Baiyuzhong over 11 years ago

     I have a circuit with serveral transistors and wish to perform backward transient simulation, i.e., for a given final condition for each node, wish to guess/calculte the initial node voltage. Seems that in cadence transient simulation setup it doesn't allow the inital time to be less than the final time. So I'm wondering  anybody know how to do this? Thank you very much.

  • Cancel
  • FormerMember
    FormerMember over 11 years ago

     Dear Baiyuzhong,

     >  wish to perform backward transient simulation, i.e., for a given final condition for each node,

    > wish to guess/calculte the initial node voltage.

    What is the motivation for performing a "backwards transient simulation"? I can't imagine why this is needed. There cannot be a unique solution without knowing some starting point. I have not heard of such a thing.

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

    Maybe he's invented a time machine?

    I've never heard of anyone wanting to do this before.  

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tom Volden
    Tom Volden over 11 years ago

    The time stepping algorithms used for transient simulation always run forward in time.  I don't think there is a way to do what you propose.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Baiyuzhong
    Baiyuzhong over 11 years ago

    smlogan said:

     Dear Baiyuzhong,

     >  wish to perform backward transient simulation, i.e., for a given final condition for each node,

    > wish to guess/calculte the initial node voltage.

    What is the motivation for performing a "backwards transient simulation"? I can't imagine why this is needed. There cannot be a unique solution without knowing some starting point. I have not heard of such a thing.



     Thanks for the quick reply. I want to explore how the initial condition evolve in time domain (whether any initial condition can converge to the same final).   Now the starting point is the stabe state and I actually don't want unique solution, I want it to be every possible initial condition.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Baiyuzhong
    Baiyuzhong over 11 years ago

    Andrew Beckett said:

    Maybe he's invented a time machine?

    I've never heard of anyone wanting to do this before.  

    Andrew 

     

     

     Wow, I wish I could invent a time machine. That would be great!!!

    Here I just want to explore the convergence problem. To see whether any initial condition can converge to the same final.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Baiyuzhong
    Baiyuzhong over 11 years ago

    Tom Volden said:

    The time stepping algorithms used for transient simulation always run forward in time.  I don't think there is a way to do what you propose.

     

     

    You're right.  The transient simulation is basically solving ODE eqations, right? Then if somehow I can change the time variable  't' to '-t', it would be reversely solving the ODE equations (In fact, I tried to use matlab to solve ODE like this, it works). The things I don't know how to access the the ODE model and change the variable. 

     

     

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

    Well, this is not possible, and I'm sure we wouldn't implement such a capability. For a start, there are too many assumptions that time goes forward, and some components are not modelled via ODE (eg delays, nport, transmission lines). I suspect with a huge amount of work it might be feasible but one big problem would be how you would solve the end point that you are starting from. Right now we can do that with a dc operating point which works by finding a solution with all the capacitances and inductances removed, but for an arbitrary end point that you'd want to go backwards from, you'd have to solve for potentially part charged capacitances and inductances without being able to work out how you got there. I think the elements involving delay would be a problem too. 

    Regardless of this, I seriously doubt it would help you understand anything about convergence.

    So no, you can't do this and there is no prospect of this being implemented.

    Regards,

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Baiyuzhong
    Baiyuzhong over 11 years ago

    Andrew Beckett said:

    Well, this is not possible, and I'm sure we wouldn't implement such a capability. For a start, there are too many assumptions that time goes forward, and some components are not modelled via ODE (eg delays, nport, transmission lines). I suspect with a huge amount of work it might be feasible but one big problem would be how you would solve the end point that you are starting from. Right now we can do that with a dc operating point which works by finding a solution with all the capacitances and inductances removed, but for an arbitrary end point that you'd want to go backwards from, you'd have to solve for potentially part charged capacitances and inductances without being able to work out how you got there. I think the elements involving delay would be a problem too. 

    Regardless of this, I seriously doubt it would help you understand anything about convergence.

    So no, you can't do this and there is no prospect of this being implemented.

    Regards,

    Andrew 

    Thanks for your reply. I still got some questions about this.

    (1) what if all the components in the circuit that I'm interested can be modeled by ODE, I think it can be solved reversely by setting 't' to '-t' or setting all capacitances to be minus. Right? 

    (2) for the end point, I can use DC simulation to obtain the final state and slightly change this final state to get certain number of end points, (so it's not arbitrary). Then start the backwards from these end points; in each backward, when any node voltage reaches 'vdd' or 'gnd', terminate  and get a solution. Finally obeserve how these solutions distribute.

    (3) I didn't quite understand  the statement "you'd have to solve for potentially part charged capacitances and inductances without being able to work out how you got there“. What did you mean by "potentially part charged capacitances and inductances"

     

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

    I already explained that there is no way of doing this, so I'm not quite sure what the point of persisting with these questions is. If you are starting from a DC operating point (my assumption was that you wanted to do this from some arbitrary condition), I fail to see how doing a reverse time simulation would tell you anything useful, even if it was possible, which it isn't.

    • 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