The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 2:09am
Pages: 1
Send Topic Print
Zero diagonal found in Jacobian error while running SCCMFB circuit simulation (Read 2188 times)
heavn007
New Member
*
Offline



Posts: 2

Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Aug 02nd, 2017, 4:45am
 
Hello everyone,
I am trying to implement sccmfb based fully differential opamp for Delta Sigma Modulator. I am using two non overlapping clock signals (clk1 and clk2, clk1 is for sensing phase and clk2 for charge sharing phase). I want to know DC gain, bandwidth, loop gain of this circuit, so I am trying to run PSS + PAC and PSS+PSTB analysis.
While, I run the PSS analysis with following setup configuration:

Beat frequency : 20
No. of Harminis : 0
Accuracy : moderate
tstab: 40u

Below errors are coming in output log.

Zero diagonal found in Jacobian at `I6.net17' and `I6.net17'.
Zero diagonal found in Jacobian at `I6.net22' and `I6.net22'.

WARNING (SPECTRE-16266): Error requirements were not satisfied because of convergence difficulties.


Also, I am not getting any result from direct plot form.
In short, I want to know how can I measure dc gain, bandwidth, loopgain of SCCMFB based fully differential opamp. My clock frequency is 50kHz and signal bandwidth is 50Hz.
Back to top
 

ideal_sccmfb.png
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Reply #1 - Aug 2nd, 2017, 5:25am
 
From the picture, and your statement that you have non-overlapping clocks, it's clear that, when both phi1 and phi2 are low, you have capacitor C2 and the two nets it is connected to (net17 and the unlabeled node on the other side of C2) just hanging out in complete isolation. The same problem happens with net22 and C5.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
heavn007
New Member
*
Offline



Posts: 2

Re: Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Reply #2 - Aug 2nd, 2017, 11:54pm
 
Hi Geoffrey_Coram,
Thank you for replying. I need to use non overlapping clock (NOC) for my design. Is there anyway I can remove the warning without modifying NOC and run PSS+PAC for analysis successfully. I would be grateful if you provide me any useful links regarding this matter.

I am attaching my test bench schematic.
Back to top
 

schematic_005.png
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Reply #3 - Aug 3rd, 2017, 12:54pm
 
Can you put a very large resistor from net17 to ground (and another from net22 to ground)?
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Reply #4 - Aug 5th, 2017, 1:57am
 
Although there should be a gmin resistor inserted by the simulator from there to ground anyway (I believe).

The snippet of the log file you sent doesn't sound severe enough to cause PSS to fail - and even if it did, there would be something else which might give more detail. Can you please post the whole spectre.out file?

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Reply #5 - Aug 7th, 2017, 6:07am
 
Interesting points, Andrew!

Andrew Beckett wrote on Aug 5th, 2017, 1:57am:
Although there should be a gmin resistor inserted by the simulator from there to ground anyway (I believe).


Would that gmin be inserted, even if it wasn't needed at time=0? Suppose the switch is closed for the dc/time=0 solution, providing a dc path, but later opens up. Would Spectre know to insert a gmin?


Quote:
The snippet of the log file you sent doesn't sound severe enough to cause PSS to fail - and even if it did, there would be something else which might give more detail. Can you please post the whole spectre.out file?


Interesting point! The original post included only warnings: Quote:
WARNING (SPECTRE-16266): Error requirements were not satisfied because of convergence difficulties.

Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Reply #6 - Aug 7th, 2017, 10:15am
 
Geoffrey_Coram wrote on Aug 7th, 2017, 6:07am:
Would that gmin be inserted, even if it wasn't needed at time=0? Suppose the switch is closed for the dc/time=0 solution, providing a dc path, but later opens up. Would Spectre know to insert a gmin?


Good point. I don't think it would.

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
pdirac
New Member
*
Offline



Posts: 4

Re: Zero diagonal found in Jacobian error while running SCCMFB circuit simulation
Reply #7 - Aug 7th, 2019, 3:13am
 
Actually as Geoffrey_Coram stated the capacitors C2 and C5 are floating during the time clocks are off. Therefore what you should do is add some parasitic capacitors on the net 17 and 22. For example, connect a 10aF capacitor to the floating nets and you'll be done. Hope it helps though it's a very late answer) Of course, it might help future readers..
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.