• 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. One testbench for PSS and Transient Simulation with different...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 63
  • Views 15150
  • 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

One testbench for PSS and Transient Simulation with different stimuli.

Thomas T
Thomas T over 11 years ago

Hi,

 I am trying to setup an all-purpose testbench for some amplifier circuits I need on a regular basis that can be used for all the simulations I normaly use: DC, AC, TRAN and PSS.

 The problem I have stems from the fact, that I need to test my circuit in a pulsed operating mode in the transient simulation: the circuit has a node called "powerdown" which is driven by a VPWL voltage source. This activates and deactivates the circuit for a certain amount of time, allowing me to observe the transient behaviour of the circuit with regards to settling time etc. in a pulsed operating mode.

For my PSS simulations, where I want to establish the 1dB-compression point for example, the powerdown-node needs to be set to a defined voltage, in my case 0 volt (or connected to ground) in order to avoid the frequency components of the powerdown source. Is there a way, to setup both in one testbench ? For DC-simulations, I can just set the DC value of the vwpl source to 0 and everything works as expected. I haven't found a way to do the same for PSS simulations which leads to me always having to make a copy of the testbench where I then statically connect the powerdown node to ground. This has lead to mistakes in the past and I would prefer a single testbench that just works and can be reused.

 Thanks !

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 11 years ago

     Dear Thomas,

    > . Is there a way, to setup both in one testbench ? For DC-simulations, I can just set the DC value

    > of the vwpl source to 0 and everything works as expected. I haven't found a way to do the same for

    > PSS simulations which leads to me always having to make a copy of the testbench where I then

    > statically connect the powerdown node to ground. This has lead to mistakes in the past and I would

    > prefer a single testbench that just works and can be reused.

     

    I had a thought that I often use in my test benches to allow them to be used for many analysese that might be helpful and allow you to use the same test bench for a PSS simulation. When there are multiple stimuli, I include a design variable for each source to define its delay. For example, in your test bench with a powerdown piecewise linear source, I might invlude a delay variable "delay_powerdown" in the definition of the source as shown in the attached example. In your pss simulation, if the value of delay_powerdown is set to a value that far exceeds the value of TSTAB,  the source will remain at 0 throughout your PSS simulation. For a transient simulation, you might set delay_powerdown to something less than the TSTOP time of your simulation to study the impact of powerdown.

    I hope I understood your queston!

    Shawn

    • example_vpwl_gui.JPG
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 11 years ago

     Dear Thomas,

    > . Is there a way, to setup both in one testbench ? For DC-simulations, I can just set the DC value

    > of the vwpl source to 0 and everything works as expected. I haven't found a way to do the same for

    > PSS simulations which leads to me always having to make a copy of the testbench where I then

    > statically connect the powerdown node to ground. This has lead to mistakes in the past and I would

    > prefer a single testbench that just works and can be reused.

     

    I had a thought that I often use in my test benches to allow them to be used for many analysese that might be helpful and allow you to use the same test bench for a PSS simulation. When there are multiple stimuli, I include a design variable for each source to define its delay. For example, in your test bench with a powerdown piecewise linear source, I might invlude a delay variable "delay_powerdown" in the definition of the source as shown in the attached example. In your pss simulation, if the value of delay_powerdown is set to a value that far exceeds the value of TSTAB,  the source will remain at 0 throughout your PSS simulation. For a transient simulation, you might set delay_powerdown to something less than the TSTOP time of your simulation to study the impact of powerdown.

    I hope I understood your queston!

    Shawn

    • example_vpwl_gui.JPG
    • View
    • Hide
    • 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