r/chipdesign • • 3d ago

Switch capacitor feedback

I have designed on fully differential to be used as an integrator in a sigma delta, but is there someone that has worked with switched capacitor common mode feedback and what kind of simulation I have to use to extract the gain and phase ? Also what would be the right test bench. For example, in a simple single ended opamp, you would have it as a buffer and just break the loop via a probe and run stb ananysis, in double ended it would make sense to use the diffstbprobe and perhaps a pstb, but still i need someone who has experience with this

4 Upvotes

5 comments sorted by

1

u/RFchokemeharderdaddy 3d ago

PSS and PSTB. I believe Cadence has app notes or RAKs about this on their website.

It should be straightforward but remember that PSS is doing a couple dozen different tricks under the hood to get convergence, so start off by doing transient and PSS for a few conditions and get a sense for how well they match. Tweak the PSS settings appropriately. Only once you verify your PSS sims are valid should you then rely on it in any way.

Once you start putting the whole system together, like the real digital logic netlist, PSS won't really be able to converge to anything meaningful and you'll have to go back to long transients. But for analyzing and diagnosing the low level blocks before doing so, its a powerful tool.

1

u/CheerBus 3d ago

And what about how I should connect the opamp ?

1

u/RFchokemeharderdaddy 3d ago

This is the pdf almost everyone I work with references: https://www.eecis.udel.edu/~vsaxena/courses/ece614/Handouts/Loop%20Stability%20Analysis.pdf

It's the exact same thing but you do PSS and PSTB instead of DC and STB. Same guy also has a pdf on how to do PSS and PSTB sims: https://www.eecis.udel.edu/~vsaxena/courses/ece614/Handouts/SpectreRF%20Periodic%20Analysis.pdf

1

u/CheerBus 3d ago

Yeah I had already read the first one, thanks for the second one. My main issue was that in the case of the resistive cmfb, the opamp is set in a buffer topology with some resistors, but in the case of the switched capacitor I guess I would have to follow the second PDF

2

u/VOT71 3d ago

Diffstbprobe, pss+pstb