Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation of MOSFET noise with ngspice #207

Open
0y8w1x opened this issue Sep 22, 2024 · 9 comments
Open

Simulation of MOSFET noise with ngspice #207

0y8w1x opened this issue Sep 22, 2024 · 9 comments
Labels
question Further information is requested

Comments

@0y8w1x
Copy link

0y8w1x commented Sep 22, 2024

Environment

  • Klayout Version: not applicable
  • OS/Platform: Ubuntu 22.04

Actual Behavior

I tried to do a noise simulation of a single common source transistor, but found the noise to be 0. In case the schematic is incorrect or I use the noise analysis wrong, please let me know. A simple DC analysis works just fine, so the general setup should be working.

My circuit looks like this:
Screenshot from 2024-09-22 20-55-08

And when I plot the onoise_spectrum/inoise_spectrum aswell as the total integrated noise I get the following:
Screenshot from 2024-09-22 20-56-23

@bmurmann
Copy link

You are measuring the output noise at a node that is pinned to 1V, so I am not surprised that the result is zero. What are you trying to do?

@0y8w1x
Copy link
Author

0y8w1x commented Sep 29, 2024

You are measuring the output noise at a node that is pinned to 1V, so I am not surprised that the result is zero. What are you trying to do?

Oh yeah that was a stupid mistake. I want to measure the intrinsic noise of the MOSFET

@KrzysztofHerman
Copy link
Contributor

@0y8w1x could you please provide a correct testbench with some results. After that we could close the issue with a working example.

@dwarning
Copy link
Contributor

dwarning commented Oct 9, 2024

Maybe these qucs-s/ngspice (NGSPICE_OSDI_DIR env variable have to be set) examples can help to close the issue:
Bildschirmfoto vom 2024-10-09 17-43-31
Bildschirmfoto vom 2024-10-09 17-44-03

lv_nmos_NOISE_id.sch.txt
lv_nmos_NOISE_vd_vg.sch.txt

@KrzysztofHerman
Copy link
Contributor

@dwarning we provide a sample .spiceinit, which sets the location of the OSDI file so you do not have to reference it on the schematic. The only thing you have to do is to create a symbolic link to this file under your $HOME direcory. I will also add some more controls to setup the noise plot type.

@dwarning
Copy link
Contributor

Sorry, it was not the emphasis of my post. Anyway - thanks for hint.
What about induced gate noise. There are data and test benches available?

@0y8w1x
Copy link
Author

0y8w1x commented Oct 12, 2024

thanks @dwarning for the example, I reproduced it and it works great.
Screenshot from 2024-10-12 17-44-16

@dwarning
Copy link
Contributor

Another test case in a 50 Ohm environment NF, NFMIN and Rgn =f(Freq)
Bildschirmfoto vom 2024-10-14 13-56-15

@sergeiandreyev sergeiandreyev added the question Further information is requested label Oct 22, 2024
@sergeiandreyev
Copy link
Contributor

Hi @0y8w1x, do you have additional questions, or we can close the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants