• 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 use PSS+PSTB or PSS+PAC to simulation the loop gain...

Stats

  • Locked Locked
  • Replies 20
  • Subscribers 128
  • Views 30555
  • 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 use PSS+PSTB or PSS+PAC to simulation the loop gain of the amplifier in the MDAC in each clock phases

ringamplifier
ringamplifier over 9 years ago

Hello, everyone!

I am currently designing  a amplifier for the multiplying dac (MDAC) for the pipeline ADC. The circuit diagram is show in Fig. 1. This circuit operates  in two clock phases: phi1 and phi2. In phi1, the amplifier is auto-zeroing and its offset will be sampled in capacitor Cc. Vin is sampled in C1 and C2. In phi2, the amplifier will do the amplification. Clearly, the feedback factor of the amplifier in phi1 and phi2 is different. So I want to simulation the loop gain in phi1 and phi2 separately and also want to see the effect of different feedback factors.

Since this circuit is a discrete time circuit, it seems that I should use PSS analysis to find its operation point and do the small signal analysis to analysis the loop gain. 

I also found a slide in the internet to teach how to use the PSS+PSTB simulation to analysis the loop gain of switched capacitor CMFB. The link is   

lumerink.com/.../Loop%20Stability%20Analysis.pdf

However, I have a question about the method using in this slide. For better description, pls see Fig. 2 (actually page 28 of the slide). The SC CMFB also operates in two clock phases. The feedback capacitor of the CMFB circuit is different is each phase. So the question is how can the PSS analysis distinguish two clock phases and PSTB simulation results is corresponding to which clock phase?

So I want to make a clear statement of my question:

How to use PSS+PSTB or PSS+PAC to simulation the loop gain in each clock phase

Fig. 1

Fig. 2

  • Cancel
  • ringamplifier
    ringamplifier over 8 years ago
    Hello Christian,
    That problem is still unsolved. I agree with you that PSTB averages the loop gain during two phases. But as I have more works in the chopper amplifier, I think that the PSS+PSTB analysis may not suitable to measure the loop gain within a single phase. Because PHI1 and PHI2 are total two different phases. It's not like the case in chopping: chopping works in two clock phases but still the same loop same circuit. That's why you can find some articles talk about the PSS+PSTB method to simulate the loop gain of a DC-DC converter but seldom in Switched Capacitor (SC) circuit. For SC circuit, I only see the PSS+PSTB method in simulating the loop gain of SC common mode feedback (CMFB) circuit. Although SC-CMFB circuit is actually different in two clock phases (because the value of feedback capacitor is different), they are approximately the same loop and same circuit.
    So If we really want to simulate the loop gain of the amplifier in the SC feedback. I think we can do something like what we do in SC-CMFB. But I did't try it before.
    Yan
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MikeHarris
    MikeHarris over 8 years ago

    Unknown said:
    Hello Christian,
    That problem is still unsolved. I agree with you that PSTB averages the loop gain during two phases. But as I have more works in the chopper amplifier, I think that the PSS+PSTB analysis may not suitable to measure the loop gain within a single phase. Because PHI1 and PHI2 are total two different phases. It's not like the case in chopping: chopping works in two clock phases but still the same loop same circuit. That's why you can find some articles talk about the PSS+PSTB method to simulate the loop gain of a DC-DC converter but seldom in Switched Capacitor (SC) circuit. For SC circuit, I only see the PSS+PSTB method in simulating the loop gain of SC common mode feedback (CMFB) circuit. Although SC-CMFB circuit is actually different in two clock phases (because the value of feedback capacitor is different), they are approximately the same loop and same circuit.
    So If we really want to simulate the loop gain of the amplifier in the SC feedback. I think we can do something like what we do in SC-CMFB. But I did't try it before.
    Yan

    Interestingly I have the exact same problem. My circuit auto zeros on phase 1 and amplifies on phase 2. When I run a pstb sim using either the diffstbprobe probe or the cmdmprobe (I put it only in the autozero path since that's the worst case for stability)  I get an open loop gain less than 1 and it reports that the loop is unstable. I have compensated it by optimizing the step response so I know its probably got a phase margin around 60 degrees and a gain margin probably over 15dB but I haven't found a way to actually measure it. One problem I have is I'm using a switched capacitor feedback loop so I have to run for a few cycles to get it to stabilize so I can't run an ac type stability analysis. I've tried stripping out the common mode loop and replacing it with an ideal CMFB structure but that results don't make sense either. I suspect there is some interaction between the differential and common mode loops.

    Andrew, you mentioned something about a way to run an AC analysis around a bias point set by a transient sim. Is that correct? If so, can you describe this method. Thanks for your help!

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

    I suggest you contact customer support so we can actually look at your setup (and spend more time on it than I can, especially given upcoming vacation).

    Running a stb analysis at a transient bias point is unlikely to give you a useful answer (because it's not the time-averaged loop gain you're observing, rather an instantaneous loop gain - assuming there even is an instance where the loop is closed). You do that simply by setting in the stb analysis and then on the transient analysis you specify acnames=stb and actimes=the time (or times) you want the stb analysis to be run at.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MikeHarris
    MikeHarris over 8 years ago

    Thanks Andrew. To clarify, you are saying that specifying the transient times in the stb analysis *will* work? I tried to run a transient right up until the end of phase 1 and then write a node set file. Then I had the stb sim read the node set. It did report that the loop was stable, but it gave an open loop gain of barely greater than 1. I'll try the method you suggested. Thanks!

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

    I didn't say that. I said it would be unlikely to give you a useful answer, but it depends on the circuit. The setup is on the transient analysis options form - you define the times it runs the stb at, not the other way around:

    However, the issue is whether you actually have a time during the period where the loop is closed and the loading is representative. Normally in a periodic circuit like this, only the time-averaged loop gain makes sense (which is what pstb computes). So that's why it may not necessarily make sense - and why I suggested contacting customer support so that an Application Engineer can take a look at your setup and see what's going on.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MikeHarris
    MikeHarris over 8 years ago

    I guess I'm not following. If I set the time to be right at the end of phase 1, why wouldn't the switches be guaranteed to be in the positions I want. The bias point should be exactly correct it seems to me and the loop gain should be calculated around that bias point no? I actually left on vacation myself and haven't had a chance to try that method but it can't hurt to try it when I get back. If that doesn't work I'll have my cad team contact Cadence Support. Thanks for your help.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago
    Because I have no visibility of your circuit - it might be OK, or it might not. If there is a point in the period where the loop is closed, then it could be useful - but I didn't know that for certain because I haven't seen your circuit. That said, I would still expect the time-averaged loop gain to be more useful as a metric, but as I said, a better answer could be given by somebody who can see the topology of your circuit.

    Enjoy your vacation!

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • nraf
    nraf over 3 years ago in reply to Andrew Beckett

    Hi Andrew or Mike - was there any closure on this issue? I have a "simple" amp with an AZ (unity gain) phase and then a capacitive feedback phase (gain=Cin/Cf) - does the transient/stb method work for independent phases?

    thanks, Neil.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to nraf

    Neil,

    I can't answer your question - since I don't know what happened after my last append. I already explained why doing this with a switching feedback circuit may not make sense (i.e. looking at the loop gain at an instantaneous bias point if there is no feedback loop at that time).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • nraf
    nraf over 3 years ago in reply to Andrew Beckett

    For the record, running an stb analysis at transient bias points based towards the end of each phase *seems* to give me sensible results....however, as you have pointed out above, this gives an instantaneous loop gain and not 'time-averaged'. (Also, as stated above, the auto-zero AZ path is giving wc results for PM, the probe is on the output of the amp).

    Neil.

    • 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