Jump to content
  • 0

AD2 Network Analyzer Differential Sweep


Nurseda

Question

Hello,

is it possible to sweep both channels of the Waveform Generator (W1 and W2) where  W2 = - W1 (synchronized) and choose W1 for the transmission line relative to Channel2. I need this for the Bode plot of an op amp circuitry with a differential Input stage.

Many thanks in advance,

Nurseda

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi @Nurseda

You could select in Network Analyzer, Wavegen/External and configure a synchronized slow sweep in Wavegen for the two channels. With the same configuration but setting negative amplitude for one channel, like this:
image.thumb.png.15e517a80672bd90e73f6ca32c1d0d0e.png

 

For logarithmic bode on more decades you can use the following script to adjust the sweep range:

function setFreq(hz1, hz2){
    Wavegen1.Channel1.Sweep.Frequency.Start.value = hz1
    Wavegen1.Channel2.Sweep.Frequency.Start.value = hz1
    Wavegen1.Channel1.Sweep.Frequency.Stop.value = hz2
    Wavegen1.Channel2.Sweep.Frequency.Stop.value = hz2
}
Network1.run()
for(var hz = Network1.Frequency.Start.value; hz < Network1.Frequency.Stop.value; hz *= 10){
    setFreq(hz, hz*10)
    Wavegen1.run()
    wait(Wavegen1.States.Run.value)
}
Network1.stop()

image.thumb.png.12fb26d89201f2731dd9ea63457d9eb9.png

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...