• 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. zvcvs parameters for S&H, in ac, implementation

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 63
  • Views 7902
  • 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

zvcvs parameters for S&H, in ac, implementation

agaurav
agaurav over 13 years ago

Hi,

I want to make an ac model which has got sample and hold (zero-order). I found the block, zvcvs, for that. Can somebody suggest the suitable parameters' values to implement that.

I tried Polynomial argument = z or inversez

S to Z Transformation = default (I assume it means none)

Specification type = polynomial

And then I tried various polynomails (order 1 or 2) to get sample-and-hold fft output for a simple wideband spectrum signal-input but seems I am doing something somewhere wrong. I am not very good at digital and z and bilinear transforms, so I think the capability is there but somehow I am not able to implement it using zvcvs. Can somebody please help me with it - implementing sample and zero-order hold using zvcvs. 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    You can do an implementation of 1/(1-z^-1) by using:

    //
    vsin (samp 0) vsource type=sine ampl=1 freq=20k
    r1 (samp 0) resistor r=1k
    sh (hold 0 samp 0) zvcvs ts=1u numer=[1] denom=[1 -1]
    r2 (hold 0) resistor r=1k

    tran tran stop=3/20k

    For example. Note that you can't simulate this in an "ac" analysis - this doesn't make any sense. And you can't simulate this with pss/pac (which might make some sense because it has a periodic operating point) because the z-domain controlled sources are not supported in the Shooting Newton method because they have "hidden states". It's not clear to me if that's what you wanted anyway...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    You can do an implementation of 1/(1-z^-1) by using:

    //
    vsin (samp 0) vsource type=sine ampl=1 freq=20k
    r1 (samp 0) resistor r=1k
    sh (hold 0 samp 0) zvcvs ts=1u numer=[1] denom=[1 -1]
    r2 (hold 0) resistor r=1k

    tran tran stop=3/20k

    For example. Note that you can't simulate this in an "ac" analysis - this doesn't make any sense. And you can't simulate this with pss/pac (which might make some sense because it has a periodic operating point) because the z-domain controlled sources are not supported in the Shooting Newton method because they have "hidden states". It's not clear to me if that's what you wanted anyway...

    Andrew.

    • 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