corrections(mom)

This commit is contained in:
David Bailey 2024-09-11 10:14:26 +02:00
parent 5f99ab12e4
commit 6fd9cf67a3
9 changed files with 251 additions and 185 deletions

View file

@ -265,10 +265,13 @@ def perform_bandwidth_normalization(plot_data, plot_config):
for step in plot_data['steps']:
y_data = step[plot_config['y_key']]
y_adjust = y_data[0] - plot_config.get('bandwidth_zero', 0)
new_y_data = []
for datapoint in y_data:
new_y_data.append(datapoint - y_data[0])
new_y_data.append(datapoint - y_adjust)
step[plot_config['y_key']] = new_y_data

View file

@ -111,6 +111,7 @@ plots:
xmin: 10
xmax: 1000000
ymax: 0.00000000000008
yformatter: engineering
yplaces: 1
@ -219,8 +220,9 @@ plots:
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 160
ylabel: Normalisierte Verstärkung (dB)
ylabel: Verstärkung ($dB\Omega$)
legend_title: Ausgang
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -231,7 +233,7 @@ plots:
xmin: 10000
xmax: 5000000
ymin: -40
ymin: 120
ofile: V1_Measurements/V1.1-a1/2M4/bandwidths.png
- loadtype: multicsv
@ -245,8 +247,9 @@ plots:
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Normalisierte Verstärkung (dB)
ylabel: Verstärkung ($dB\Omega$)
legend_title: U2A-Verstärkung
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -257,7 +260,7 @@ plots:
xmin: 100
xmax: 1000000
ymin: -25
ymin: 120
ofile: V1_Measurements/V1.1-a1/CascadeSeries/bandwidths.png
- loadtype: multicsv
@ -268,7 +271,9 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
legend_title: U2A-Filterkapazität
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -280,7 +285,7 @@ plots:
xmin: 100
xmax: 1000000
ymin: -25
ymin: 120
ofile: V1_Measurements/V1.1-a1/midcap_bandwidth_effect.png
@ -293,7 +298,8 @@ plots:
- normalize_bandwidth
legend_title: TIV
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -304,7 +310,7 @@ plots:
xmin: 100
xmax: 1000000
ymin: -25
ymin: 120
ofile: V1_Measurements/V1.1-a1/bandwidth_consistency.png
@ -318,7 +324,8 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -329,7 +336,7 @@ plots:
xmin: 100
xmax: 1000000
ymin: -25
ymin: 120
ofile: V1_Measurements/revision_compare_bandwidth.png
@ -377,7 +384,7 @@ plots:
xmin: 500
# xmax: 1000000
ymin: 0
ymax: 0.00004
ymax: 0.000025
yformatter: engineering
yplaces: 2
@ -470,7 +477,8 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -481,7 +489,7 @@ plots:
xmin: 100
xmax: 1000000
ymin: -25
ymin: 120
ofile: V1_Measurements/V1.1-a1/bandwidths.png
- loadtype: multicsv
@ -495,7 +503,8 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 2 Magnitude (dB)"]
@ -506,7 +515,7 @@ plots:
xmin: 100
xmax: 1000000
ymin: -25
ymin: 120
ofile: V1_Measurements/V1.1-a1/bandwidths_ch2.png
- loadtype: multicsv
@ -571,7 +580,8 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -592,7 +602,8 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -603,7 +614,7 @@ plots:
xmin: 100
xmax: 500000
ymin: -25
ymin: 100
ofile: V1_Measurements/bandwidth.png
@ -617,7 +628,8 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 2 Magnitude (dB)"]
@ -628,7 +640,7 @@ plots:
xmin: 100
xmax: 500000
ymin: -25
ymin: 100
ofile: V1_Measurements/bandwidth_ch2.png
- loadtype: multicsv
@ -640,7 +652,8 @@ plots:
data_processing_steps:
- normalize_bandwidth
ylabel: Normalisierte Verstärkung (dB)
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
load_values: ["Frequency (Hz)","Channel 1 Magnitude (dB)"]
@ -651,7 +664,7 @@ plots:
xmin: 100
xmax: 500000
ymin: -25
ymin: 100
ofile: V1_Measurements/bandwidth_filter_compare.png
@ -746,7 +759,13 @@ plots:
y_key: V(vout) dB
title: Impedanzverläufe verschiedener Widerstände bei gleichbleibendem $C_p$
ylabel: Normalisierte Verstärkung (dB)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: Parasitics/Rf_series_shielded.txt
loadtype: ltspice
legend_title: $C_{\mathrm{shield}}$
@ -758,7 +777,11 @@ plots:
y_key: V(vout) dB
title: Impedanzverläufe verschiedener Widerstände bei gleichbleibendem $C_p$
ylabel: Normalisierte Verstärkung (dB)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: Parasitics/Examples_R_Cp_RSweep.txt
loadtype: ltspice
legend_title: $R$
@ -782,7 +805,11 @@ plots:
y_key: V(n002) dB
title: Verstärkung bei konstantem $R_f = 1G\Omega$ und varriertem $C_{f}$
ylabel: Normalisierte Verstärkung (dB)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: Parasitics/SingleStage_Rf_Sweep.txt
loadtype: ltspice
step_unit: $\Omega$
@ -795,7 +822,11 @@ plots:
y_key: V(n002) dB
title: Verstärkung bei konstantem $C_{f} = 100fF$ und varriertem $R_{f}$
ylabel: Normalisierte Verstärkung (dB)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: Parasitics/SingleStage_Aol_Sweep.txt
loadtype: ltspice
step_unit: " "
@ -807,7 +838,11 @@ plots:
y_key: V(n002) dB
title: Verstärkung bei $C_{f} = 3fF$, $C_\mathrm{in} = 10~\mathrm{pF}$ und variieter Verstärkung
ylabel: Normalisierte Verstärkung (dB)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: Parasitics/SingleStage_Rf_Sweep_Noise.txt
loadtype: ltspice
step_unit: $\Omega$
@ -882,7 +917,12 @@ plots:
title: Verstärkung bei variiertem GBWP
legend_title: GBWP
ylabel: Normalisierte Verstärkung (dB)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: DesignEstimate/CompositeStage_ADA4817_StageAmpSweep_bandwidth.txt
loadtype: ltspice
@ -896,7 +936,12 @@ plots:
y_key: V(n002) dB
title: Verstärkung bei variiertem GBWP
ylabel: Verstärkung (dB$\Omega$)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: DesignEstimate/OpAmp_GBWP_Sweep.txt
loadtype: ltspice
step_unit: Hz
@ -909,11 +954,17 @@ plots:
y_key: V(n002) dB
title: Verstärkung bei variiertem GBWP
ylabel: Verstärkung (dB$\Omega$)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)
- load: Parasitics/SingleStage_Cin_Sweep.txt
loadtype: ltspice
step_unit: F
xmin: 1000
legend_title: $C_\mathrm{in}$
ofile: Parasitics/SingleStage_Cin_Sweep.png
@ -922,4 +973,8 @@ plots:
y_key: V(vout) dB
title: Verstärkung bei variierter Eingangskapazität
ylabel: Normalisierte Verstärkung (dB)
data_processing_steps:
- normalize_bandwidth
bandwidth_zero: 180
ylabel: Verstärkung ($dB\Omega$)