I'm simulating active opamp filters. I have a first order equalizer in my system (corrects the gain at DC), so in my Monte Carlo analysis I'm unconcerned about the variation in low frequency gain from unit to unit.

I would like to normalize each trace in the Monte Carlo analysis to it's own first frequency point, so I can more clearly see the variation in ripple and corner frequency. Is there an automated way to do this in the equation editor or some other place?

thank you,

Alan

I would like to normalize each trace in the Monte Carlo analysis to it's own first frequency point, so I can more clearly see the variation in ripple and corner frequency. Is there an automated way to do this in the equation editor or some other place?

thank you,

Alan

There's a hard way and an easy way.

The hard way is to postprocess the montecarlo run. You can absolutely do that and it's "robust" but takes more math.

The easy way is to use the built-in equations in GENESYS. Almost all fields can be an equations (especially measurements). Hence, just use a normalized measurement for the MC analysis.

I'm not sure how you're measuring gain, but as an example:

Load the Monte Example.wsx file from the Examples\\Tutorial folder (Help / Open Example - browse to Tutorial, or use the splash screen (top left button) Open Example button.

Double-click the MonteCarlo1 analysis and change the measurement from S[2,1] to

S[2,1]/max(mag(S[2,1]))and when you run the montecarlo everything will be normalized to a gain of 1.If you want to normalize to the gain at the first frequency point, just use

S[2,1]/mag(S[1,2,1]). Because S is swept, S[2,1] is the swept S21. S[1,2,1] is S21 at the first coordinate.If you want to normalize at a specific frequency, you could use

S[2,1]/mag(S[ F @ myfreq, 2, 1]). Try 850 for myfreq in the Monte Example.Mark