On 03/01/2017 11:47 AM, John Larkin wrote:
> On Wed, 1 Mar 2017 10:30:54 -0500, Phil Hobbs
> <
pcdhSpamM...@electrooptical.net> wrote:
>
>> On 03/01/2017 10:18 AM, John Larkin wrote:
>>> On Wed, 1 Mar 2017 06:00:12 -0800 (PST),
pcdh...@gmail.com wrote:
>>>
>>>>> But LT Spice doesn't calculate input referred noise.
>>>>
>>>> Sure it does--INOISE is just V(ONOISE)/GAIN.
>>>
>>> I can do that. How do I get Spice to do that?
>>>
>>> And GAIN is not a number, it's a function of frequency.
>>>
>>> My circuit is a transconductance amp, so GAIN is in ohms.
>>>
>>>
>>
>> Select the plot window, go ctl-A and type "inoise" into the dialogue box.
>>
>> Cheers
>>
>> Phil Hobbs
>
> OK, tried that. It shows V(inoise) as bigger than V(onoise), both in
> units of volts; my named input is a current source. The circuit has a
> gain of 3, 150 ohms Gm, so that makes no sense.
>
> Hey, this is fun. I went to "edit simulation command" for noise and
> entered
>
> V(AMP) as the output and
>
> I(Ipd) as the input.
>
> That made the thing go bezerk and made nonsense out of the sim
> parameters. Yes, it should have been V(AMP) and Ipd.
Sure, the parser isn't very smart--it bumps you down to the next field
when it gets confused.
>
> This is what it did to my setup:
>
>
https://dl.dropboxusercontent.com/u/53724080/Spice/Noise_Sim.jpg
>
> This is the second time I managed to tie LT Spice in knots by entering
> an incorrect expression. Last time, I crashed it with mismatched
> parentheses, and Mike fixed it.
>
>
> I can name a power supply as the input noise source, and it calculates
> my output noise as usual. If I then do the ctrl/A thing, I get a very
> weird input noise graph, a huge noise floor and a giant spike about 16
> MHz.
There's probably a null in the transfer function. I nearly always have
to change the vertical scale or do something like min(inoise, 100f) in
the plot expression (that prevents the autoranging from screwing up the
display when you re-run the sim).
>
> I think I'll ignore the input noise thing. I have to name some source
> to get it to run, but apparently I can name anything. The calculated
> output noise does seem to make sense.
I usually inoise in preference to onoise, because onoise is much harder
to relate to the fundamental physics, which is what I usually care
about. Inoise works fine.
Another nice thing is that LTspice does the right thing when you add
noise contributions. For instance, in a front end with two parallelled
JFETs Q1 and Q2, you can plot V(Q1)+V(Q2) and it comes out sqrt(2) times
larger than just V(Q1) instead of doubled.