Hi all , How can i Check current at any node in this circuit ?
p
Hi all , How can i Check current at any node in this circuit ?
k
Hi @Piyush Dwivedi, the common way to do so is to put a voltage source of value 0 (Vx for example) and then just run the simulation and print or plot I(Vx)
s
In addition if you add the instruction
.option savecurrents
(before the .control section) all MOS drain/source/body currents are saved.
Copy code
.option savecurrents
.control
...
...
tran 0.1n 100n
remzerovec
write xxxx.raw
.endc
🌍 1
there is no 'node current' concept. current is referred to a circuit branch. xschem has the
devices/ammeter.sym
symbol that is actually a 0V voltage source. Add these ammeters in any branch you want the current to be saved.
If you use the
.option savecurrents
and after a .op simulation you go to
Simulation->Annotate operating point into schematic
and ensure
View->Show hidden texts
is enabled xschem willl show the MOS currents in the schematic directly:
👍 1
🌍 1
p
@Stefan Schippers How to check noise of this LDO circuit ?
s
I am not very expert on noise simulations, so may be some other sky130 user might answer, or you can try to go through the ngspice user manual.
p
okay stefan thank you for this much help
@Stefan Schippers hey stefan could you please tell me how to sweep line regulation and load regulation for LDO circuit