GX LII-2 – Experimental Characterization of the Measurement System

by giux Electronics, Test equipment 13 min read

Where I am starting from

In the previous article I described the construction of the injection system and the first tests, initially performed on an LM358-based active circuit and later on several resistive networks of the calibration bench.

The measurements on the dividers revealed an interesting behavior. Reversing the transformer secondary connections produces two different responses, which I called measurement A and measurement B. Under some conditions, averaging the two measurements compensates for this asymmetry very effectively, while increasing the impedance of the test circuit leaves an error component that is not removed by the simple A/B average.

The case of the approximately 33 kΩ + 33 kΩ divider clearly showed this second behavior and left open the need to better understand which parameters affect the measurement.

To continue the characterization, I had decided to use a constant generator amplitude of 300 mVpp, in order to eliminate at least one variable when comparing different configurations.

However, the first subsequent measurements showed that this choice itself deserves experimental verification.

The injection-amplitude problem

The amplitude set on the generator does not necessarily match the amplitude of the signals subsequently measured on the two sides of the injection point.

Depending on the network impedance and frequency, VOUT and VSENSE can become very small. This phenomenon was already visible with the 33 kΩ + 33 kΩ divider and becomes even more evident with the lower-impedance divider, approximately 3.3 kΩ + 3.3 kΩ.

Keeping Vgen rigidly fixed at 300 mVpp may therefore not always be the best choice: a signal that is too small worsens the signal-to-noise ratio and makes it more difficult to obtain an accurate magnitude measurement and, above all, an accurate phase measurement.

The question therefore becomes:

is it really necessary to keep Vgen constant, or can I adapt its amplitude to the conditions of the circuit being measured?

How to verify whether Vgen can be varied

If the system operates in its linear region, changing the amplitude of the excitation signal should not change the measured transfer function.

I can therefore measure the same circuit using different Vgen values and compare the results. If magnitude and phase remain essentially unchanged while only the amplitude of the acquired signals increases, raising Vgen is not altering the behavior I want to measure.

There is, however, a second check that can be performed directly on the acquired data.

The GNU Octave script I use to process the oscilloscope CSV files does not only fit the fundamental. It can also include the first harmonics and returns, for each channel, their levels, THD, and the fit residual.

This makes it possible to observe whether significant harmonic components begin to appear as Vgen is increased and therefore to experimentally identify the approach to a nonlinear operating condition.

The criterion I intend to use will therefore not simply be to obtain an apparently clean sine wave on the oscilloscope, but to verify simultaneously:

  • stability of the measured magnitude;
  • phase stability;
  • harmonic behavior;
  • THD;
  • fit residual;
  • actual amplitude of the VOUT and VSENSE fundamental components.

A small change to the setup

I decided to modify the trigger setup.

When the measured signals become very small, using one of them directly as the trigger source can make the horizontal display unstable. I therefore used the second channel of the function generator as a synchronized reference and connected it to oscilloscope CH3, using it exclusively as the trigger source.

CH1 and CH2 therefore remain dedicated to VSENSE and VOUT respectively, and the data processing does not change, while the waveforms are more stable on screen even when their amplitude is low.

Measurement results

For this comparison I used the acquisitions already made during the previous measurement session and today added the series on the 3.3 kΩ + 3.3 kΩ divider with Vgen fixed at 300 mVpp.

In today’s acquisitions, as mentioned, I used oscilloscope CH3 as the trigger source, driving it with the synchronized second channel of the function generator. With this configuration I used a memory depth of 300 kpts instead of 600 kpts. Despite the shorter acquisition window, the greater trigger stability made the signals much steadier and easier to read, especially under conditions where their amplitude is low.

The following gallery collects the magnitude and phase plots for the available series, including measurements A and B, their average, and the LTspice reference.

  • Partitore 3,3 kΩ + 3,3 kΩ – Vgen = 300 mVpp, fase. Confronto tra misura A, misura B, media A/B e riferimento LTspice.

Summary data

The following tables collect, for the two dividers, the Vgen values used and the parameters obtained from the harmonic analysis, directly comparing the acquisitions performed at 300 mVpp with those performed using variable Vgen.

3.3 kΩ – 3.3 kΩ divider
fFixed VgenFixed THD CH1 A/B ; CH2 A/BFixed H2 [dBc] CH1 A/B ; CH2 A/BFixed H3 [dBc] CH1 A/B ; CH2 A/BVariable VgenVariable THD CH1 A/B ; CH2 A/BVariable H2 [dBc] CH1 A/B ; CH2 A/BVariable H3 [dBc] CH1 A/B ; CH2 A/B
10 kHz0.31.48/1.94 ; 0.97/0.74-36.70/-34.55 ; -40.57/-60.57-53.54/-45.98 ; -52.09/-42.72
20 kHz0.30.55/1.30 ; 1.53/1.04-45.33/-38.05 ; -36.69/-39.71-59.76/-49.42 ; -47.01/-61.58
30 kHz0.30.37/0.85 ; 1.47/0.23-50.13/-41.59 ; -37.97/-54.30-54.34/-54.87 ; -42.47/-58.190.83.93/2.02 ; 2.02/3.91-28.22/-34.33 ; -34.34/-28.21-44.51/-44.22 ; -43.84/-47.30
50 kHz0.30.67/0.59 ; 2.04/1.60-45.00/-44.99 ; -38.48/-37.85-48.76/-54.93 ; -35.64/-40.340.82.50/1.01 ; 1.20/2.31-32.28/-41.32 ; -39.35/-32.87-44.97/-45.55 ; -45.62/-47.36
80 kHz0.31.13/1.22 ; 2.06/2.91-41.50/-41.48 ; -36.13/-33.53-42.43/-41.07 ; -37.41/-33.961.23.78/3.25 ; 2.93/3.41-28.60/-30.80 ; -32.01/-29.42-43.22/-36.48 ; -36.44/-47.61
100 kHz0.31.53/0.49 ; 3.07/3.74-38.86/-53.19 ; -33.07/-31.18-39.77/-47.06 ; -33.46/-31.961.21.48/1.21 ; 1.19/1.48-36.78/-38.99 ; -39.17/-37.48-49.90/-46.99 ; -46.99/-43.99
120 kHz0.32.23/1.08 ; 5.09/2.67-39.66/-44.38 ; -30.21/-32.09-34.12/-41.02 ; -27.85/-40.241.30.99/0.93 ; 1.15/1.13-41.09/-41.33 ; -39.84/-40.04-46.93/-49.18 ; -45.39/-45.53
150 kHz0.32.56/2.26 ; 3.42/1.71-33.42/-37.62 ; -31.47/-36.99-37.03/-34.73 ; -33.42/-40.411.71.23/1.50 ; 1.45/1.15-39.16/-37.58 ; -37.95/-40.36-45.27/-42.91 ; -42.90/-44.04
180 kHz0.32.49/2.36 ; 4.84/1.86-34.82/-36.17 ; -28.00/-36.26-35.39/-35.02 ; -31.23/-39.671.91.36/1.07 ; 1.00/1.00-42.10/-40.37 ; -41.06/-40.80-39.05/-46.30 ; -46.47/-47.70
200 kHz0.33.34/5.13 ; 5.15/1.38-32.49/-27.33 ; -25.80/-44.44-32.57/-31.07 ; -47.02/-38.081.91.15/0.81 ; 0.69/0.91-48.14/-42.40 ; -43.94/-43.25-39.32/-51.00 ; -51.32/-44.54
250 kHz0.33.80/8.02 ; 5.34/3.14-31.00/-22.55 ; -25.50/-30.52-31.88/-30.57 ; -44.11/-40.132.51.62/0.97 ; 0.97/1.32-42.64/-41.68 ; -42.04/-39.61-36.79/-45.78 ; -44.87/-41.96
300 kHz0.34.54/9.27 ; 2.58/3.53-29.86/-24.36 ; -32.52/-30.18-29.88/-23.06 ; -39.81/-35.493.02.45/1.21 ; 1.10/1.03-37.86/-40.35 ; -42.05/-42.73-33.61/-42.74 ; -42.29/-42.80
350 kHz0.33.05/9.27 ; 6.62/3.02-34.00/-25.50 ; -24.95/-31.49-32.72/-22.38 ; -29.29/-36.92
400 kHz0.34.65/3.00 ; 8.75/4.60-29.96/-38.87 ; -22.14/-27.80-29.39/-31.14 ; -28.11/-33.403.02.56/0.41 ; 0.34/0.96-43.03/-49.94 ; -52.52/-43.04-32.16/-51.54 ; -52.45/-43.76
450 kHz0.34.22/19.77 ; 11.37/4.68-29.82/-17.47 ; -19.60/-26.90-31.31/-16.74 ; -27.07/-38.30
500 kHz0.36.98/27.82 ; 10.83/7.44-25.96/-12.84 ; -20.43/-23.13-26.31/-15.94 ; -25.74/-31.743.01.60/0.23 ; 0.21/0.78-44.00/-53.53 ; -55.53/-44.59-36.62/-59.85 ; -58.48/-45.94
550 kHz0.33.62/11.26 ; 10.52/3.68-30.16/-20.58 ; -21.96/-29.77-34.64/-24.05 ; -23.27/-35.18
600 kHz0.39.74/18.54 ; 8.68/4.68-23.14/-16.59 ; -22.49/-27.42-23.34/-19.04 ; -27.20/-34.24
650 kHz0.35.50/12.00 ; 7.56/4.43-26.90/-19.63 ; -24.26/-28.19-30.09/-24.55 ; -27.09/-33.48
700 kHz0.35.10/12.43 ; 7.57/3.55-27.02/-19.35 ; -24.82/-30.02-32.11/-24.17 ; -26.15/-35.81
33 kΩ – 33 kΩ divider
fFixed VgenFixed THD CH1 A/B ; CH2 A/BFixed H2 [dBc] CH1 A/B ; CH2 A/BFixed H3 [dBc] CH1 A/B ; CH2 A/BVariable VgenVariable THD CH1 A/B ; CH2 A/BVariable H2 [dBc] CH1 A/B ; CH2 A/BVariable H3 [dBc] CH1 A/B ; CH2 A/B
10 kHz0.320.53/9.19 ; 0.88/2.33-19.35/-23.08 ; -50.31/-34.34-15.15/-24.52 ; -41.64/-37.550.84.34/4.17 ; 10.60/6.68-27.89/-28.04 ; -20.40/-26.25-35.90/-37.75 ; -26.76/-26.81
20 kHz0.32.47/3.87 ; 0.74/1.54-32.93/-30.65 ; -43.65/-37.45-39.92/-31.97 ; -49.43/-42.380.83.60/3.35 ; 8.28/6.62-29.35/-29.79 ; -23.28/-25.18-38.76/-41.52 ; -26.66/-28.69
30 kHz0.32.62/2.32 ; 1.34/1.75-49.90/-33.84 ; -41.83/-35.24-31.70/-39.07 ; -39.47/-50.620.94.53/3.87 ; 9.45/8.07-27.52/-28.60 ; -21.95/-23.15-35.52/-39.43 ; -25.96/-27.77
50 kHz0.30.73/1.03 ; 1.51/1.92-43.04/-39.77 ; -39.50/-34.96-55.17/-63.12 ; -39.41/-43.131.03.96/3.09 ; 7.67/6.96-28.70/-30.70 ; -23.34/-25.14-36.63/-39.93 ; -29.05/-27.50
80 kHz0.31.69/0.65 ; 0.79/2.01-35.81/-43.97 ; -42.68/-35.89-46.21/-56.30 ; -50.43/-38.301.12.09/1.79 ; 3.47/3.52-33.95/-35.82 ; -30.74/-30.19-44.62/-42.38 ; -34.39/-35.47
100 kHz0.30.76/1.11 ; 0.62/1.07-45.79/-43.38 ; -51.50/-39.72-44.97/-41.16 ; -45.00/-50.501.21.82/1.06 ; 2.46/2.30-35.15/-39.53 ; -33.64/-34.27-46.18/-58.79 ; -37.63/-38.11
120 kHz0.32.36/1.05 ; 1.93/0.94-36.92/-41.52 ; -35.70/-41.83-34.53/-44.04 ; -39.83/-46.601.41.63/1.88 ; 2.28/2.67-36.19/-34.95 ; -34.29/-32.54-45.94/-44.93 ; -38.28/-38.02
150 kHz0.30.82/1.14 ; 0.71/0.75-42.46/-39.04 ; -44.44/-42.94-49.54/-52.06 ; -48.57/-52.471.71.88/2.47 ; 2.50/2.42-35.00/-33.14 ; -32.59/-33.24-44.37/-39.10 ; -41.31/-39.47
180 kHz0.30.45/0.61 ; 0.32/0.45-48.30/-44.50 ; -50.64/-47.53-52.92/-56.31 ; -58.02/-55.592.02.04/2.97 ; 2.44/2.62-34.69/-31.91 ; -33.07/-33.31-41.09/-36.25 ; -39.98/-36.56
200 kHz0.30.27/0.81 ; 0.26/0.66-53.65/-49.23 ; -52.63/-52.43-55.36/-42.65 ; -59.52/-44.292.01.05/1.60 ; 1.16/1.26-39.78/-37.01 ; -38.96/-39.38-52.61/-42.38 ; -50.86/-43.61
250 kHz0.35.68/0.28 ; 8.47/0.23-24.94/-52.12 ; -21.52/-55.60-48.61/-57.35 ; -39.03/-55.592.41.60/1.19 ; 2.25/1.00-36.10/-39.08 ; -33.05/-42.84-49.60/-47.49 ; -49.65/-43.14
300 kHz0.30.31/0.90 ; 0.18/1.20-55.54/-42.30 ; -60.57/-41.33-51.60/-46.55 ; -55.95/-41.513.01.31/1.64 ; 1.46/1.68-38.84/-37.27 ; -38.32/-36.24-43.80/-40.86 ; -41.76/-43.63
350 kHz0.30.61/0.48 ; 0.53/0.54-45.71/-47.48 ; -46.04/-47.42-49.86/-53.18 ; -55.24/-49.753.00.60/1.16 ; 0.72/1.04-45.27/-39.04 ; -44.11/-39.80-52.19/-50.18 ; -48.66/-54.64
400 kHz0.30.62/0.56 ; 0.55/0.44-46.30/-45.11 ; -50.06/-47.73-48.26/-60.08 ; -46.89/-56.333.00.38/0.55 ; 0.52/0.72-48.96/-46.99 ; -46.35/-43.03-57.68/-49.98 ; -53.59/-58.14
450 kHz0.31.40/0.74 ; 2.22/0.82-37.30/-45.39 ; -33.18/-45.26-49.71/-45.83 ; -49.57/-44.363.00.24/0.43 ; 0.42/0.62-52.94/-49.14 ; -47.82/-44.21-63.54/-51.99 ; -58.87/-62.29
500 kHz0.30.27/0.56 ; 0.41/0.52-53.23/-46.55 ; -47.94/-45.96-55.67/-50.26 ; -62.59/-57.263.00.41/0.35 ; 0.55/0.52-49.77/-52.20 ; -46.18/-45.76-52.03/-52.16 ; -51.94/-61.91
550 kHz0.30.64/0.29 ; 0.85/0.18-44.18/-54.67 ; -45.21/-55.75-55.22/-52.81 ; -43.75/-62.853.00.26/0.32 ; 0.36/0.52-52.08/-50.13 ; -49.40/-45.88-61.64/-63.77 ; -58.81/-59.22
600 kHz0.30.76/0.43 ; 1.89/0.43-43.17/-47.65 ; -34.78/-47.50-50.25/-57.94 ; -45.88/-63.963.00.20/0.26 ; 0.35/0.44-54.89/-55.24 ; -49.38/-47.09-60.53/-54.30 ; -62.82/-69.40
650 kHz0.30.40/0.41 ; 0.18/0.34-49.34/-48.01 ; -57.14/-49.85-53.95/-58.53 ; -58.81/-60.403.00.18/0.23 ; 0.28/0.40-56.97/-56.54 ; -51.18/-47.87-58.92/-55.00 ; -63.24/-74.06
700 kHz0.30.30/0.23 ; 0.07/0.17-50.34/-52.80 ; -63.35/-56.19-76.76/-69.13 ; -70.68/-63.733.00.20/0.25 ; 0.32/0.43-56.03/-55.28 ; -49.93/-47.41-57.71/-55.17 ; -74.24/-71.76

Comparison of signal levels and distortion

To make the comparison between the different test conditions easier to read, I collected the results in four separate tables: one for each combination of divider value and Vgen setting method.

For each frequency, the Vgen value, the fundamental amplitudes measured on the two channels, and the corresponding THD are reported, keeping acquisitions A and B.

The tables therefore make it possible to directly compare what happens when moving from Vgen fixed at 300 mVpp to a frequency-adjusted Vgen, while simultaneously observing the actual level of the acquired signals and any change in distortion.

In the variable-Vgen series, the generator amplitude was progressively increased to a value slightly below the level at which clear signs of distortion began to appear. For the 3.3 kΩ + 3.3 kΩ divider, the variable series includes only the frequencies that were actually measured.

3.3 kΩ + 3.3 kΩ divider — Vgen = 0.3 Vpp
f [kHz]Vgen [Vpp]A Vpp1 [mV]A Vpp2 [mV]A THD1 [%]A THD2 [%]B Vpp1 [mV]B Vpp2 [mV]B THD1 [%]B THD2 [%]
100.349.9448.721.480.9748.6649.821.940.74
200.349.2746.470.551.5346.7549.561.301.04
300.348.3943.620.371.4743.8148.410.850.23
500.344.5937.610.672.0437.8844.500.591.60
800.338.1028.781.132.0629.6937.711.222.91
1000.334.0224.631.533.0725.4533.850.493.74
1200.330.5921.392.235.0921.6030.231.082.67
1500.326.5017.662.563.4217.1426.362.261.71
1800.323.8114.512.494.8414.1223.402.361.86
2000.322.1912.593.345.1512.1621.875.131.38
2500.319.469.053.805.348.6519.148.023.14
3000.317.686.204.542.585.9717.359.273.53
3500.316.624.543.056.624.1116.649.273.02
4000.315.903.044.658.753.3315.513.004.60
4500.315.482.764.2211.372.9015.3619.774.68
5000.315.163.186.9810.833.4714.6027.827.44
5500.315.244.173.6210.524.4615.0011.263.68
6000.314.974.859.748.685.3314.7518.544.68
6500.315.065.765.507.566.0714.7512.004.43
7000.315.136.575.107.577.0915.1512.433.55
3.3 kΩ + 3.3 kΩ divider — variable Vgen
f [kHz]Vgen [Vpp]A Vpp1 [mV]A Vpp2 [mV]A THD1 [%]A THD2 [%]B Vpp1 [mV]B Vpp2 [mV]B THD1 [%]B THD2 [%]
300.8117.44126.243.932.02131.22112.882.023.91
500.8100.85117.842.501.20121.9998.021.012.31
801.2117.78146.903.782.93152.20114.063.253.41
1001.2102.15134.831.481.19139.5299.771.211.48
1201.394.78131.900.991.15136.4492.850.931.13
1501.799.68149.561.231.45154.5497.921.501.15
1801.990.69149.721.361.00154.6689.151.071.00
2001.979.63141.001.150.69145.7578.080.810.91
2502.574.87163.031.620.97167.9273.920.971.32
3003.063.59178.802.451.10183.5063.111.211.03
4003.035.79161.742.560.34166.7534.490.410.96
5003.037.13155.801.600.21159.2333.410.230.78
33 kΩ + 33 kΩ divider — Vgen = 0.3 Vpp
f [kHz]Vgen [Vpp]A Vpp1 [mV]A Vpp2 [mV]A THD1 [%]A THD2 [%]B Vpp1 [mV]B Vpp2 [mV]B THD1 [%]B THD2 [%]
100.36.43100.0320.530.889.09100.559.192.33
200.312.5493.972.470.7415.8194.803.871.54
300.316.6885.252.621.3422.0489.972.321.75
500.322.8166.190.731.5129.8277.421.031.92
800.326.2742.451.690.7933.3661.290.652.01
1000.326.6733.030.760.6233.6253.381.111.07
1200.326.2227.052.361.9332.3647.191.050.94
1500.326.5422.470.820.7131.3540.701.140.75
1800.326.1021.060.450.3230.2236.650.610.45
2000.326.0221.090.270.2630.0735.280.810.66
2500.325.5020.325.688.4728.4231.250.280.23
3000.325.0521.600.310.1827.2329.010.901.20
3500.325.0422.040.610.5326.9427.680.480.54
4000.324.8022.390.620.5526.7126.880.560.44
4500.323.9022.521.402.2225.7525.840.740.82
5000.324.4422.730.270.4125.8925.460.560.52
5500.324.2722.880.640.8525.9025.260.290.18
6000.323.5123.680.761.8925.9125.050.430.43
6500.324.4823.320.400.1825.6524.900.410.34
7000.324.6023.500.300.0725.7324.610.230.17
Divider 33 kΩ + 33 kΩ — variable Vgen
f [kHz]Vgen [Vpp]A Vpp1 [mV]A Vpp2 [mV]A THD1 [%]A THD2 [%]B Vpp1 [mV]B Vpp2 [mV]B THD1 [%]B THD2 [%]
100.8257.1819.594.3410.60258.6916.084.176.68
200.8251.4939.943.608.28244.7429.503.356.62
300.9262.2961.054.539.45246.2545.083.878.07
501.0251.2590.693.967.67212.7569.603.096.96
801.1225.30115.092.093.47158.4890.781.793.52
1001.2215.45125.321.822.46137.31101.571.062.30
1201.4224.24143.491.632.28131.30119.901.882.67
1501.7236.64166.451.882.50134.37143.252.472.42
1802.0249.55187.902.042.44147.44165.662.972.62
2002.0237.19184.611.051.16146.85165.361.601.26
2502.4256.52214.231.602.25176.67195.111.191.00
3003.0296.74258.581.311.46225.81240.911.641.68
3503.0284.02254.350.600.72231.23240.071.161.04
4003.0274.25249.950.380.52235.32238.180.550.72
4503.0266.38246.740.240.42238.27236.980.430.62
5003.0264.53247.540.410.55239.45236.730.350.52
5503.0257.37243.370.260.36240.01236.180.320.52
6003.0254.41242.070.200.35241.72235.950.260.44
6503.0252.12241.120.180.28242.57235.640.230.40
7003.0250.09240.180.200.32243.21235.270.250.43

THD versus frequency

To make the comparison between acquisitions with Fixed Vgen and those with variable Vgen, I also plotted THD as a function of frequency.

The plots separately show the values calculated on the two channels CH1 (VSENSE) and CH2 (VOUT), while also keeping acquisitions A and B. This makes it possible to directly compare, for each divider, the series performed at 300 mVpp with those in which the injection amplitude was adjusted during the measurement.

As can be seen, using an adjustable Vgen generally makes it possible to keep THD lower, especially in the regions where, with 300 mVpp, one of the acquired signals becomes very small.

The following gallery shows the plots for the 3.3 kΩ + 3.3 kΩ and 33 kΩ + 33 kΩ.

  • Partitore 33 kΩ + 33 kΩ – THD in funzione della frequenza. Confronto tra le acquisizioni A e B sui canali CH1 (VSENSE) e CH2 (VOUT), per Vgen = 300 mVpp e Vgen variabile. Alle basse frequenze sono particolarmente evidenti gli elevati valori di THD associati alle condizioni in cui uno dei segnali acquisiti presenta ampiezza molto ridotta.

Comparison of the final measurement

In addition to the distortion of the individual signals, it is useful to directly verify how much the choice of Vgen affects the final result obtained after combining measurements A and B.

In the following tables I therefore compare, at the same frequency, the final magnitude and the final phase obtained with Vgen = 300 mVpp and with variable Vgen. To facilitate comparison, the phases are shown on the same branch around +180° when necessary.

3.3 kΩ + 3.3 kΩ divider

The values for the 300 mVpp series and the variable-Vgen series come from the respective tables PROCESSED RESULTS A / B / FINAL.
FrequencyFinal dB 0.3 VFinal phase 0.3 VFinal dB variable VgenFinal phase variable Vgen
10 kHz-0.005178.062°
20 kHz-0.001180.833°
30 kHz-0.017179.912°-0.340180.035°
50 kHz-0.039179.646°-0.274180.337°
80 kHz-0.180179.411°-0.294180.366°
100 kHz-0.165179.401°-0.251180.415°
120 kHz-0.093179.118°-0.236180.435°
150 kHz+0.108178.849°-0.219180.564°
180 kHz+0.041178.630°-0.216180.633°
200 kHz+0.090179.672°-0.230181.034°
250 kHz+0.123178.867°-0.184180.635°
300 kHz+0.090177.930°-0.145180.620°
350 kHz+0.445176.261°
400 kHz-0.507176.444°-0.294178.434°
450 kHz-0.248173.374°
500 kHz-0.540174.126°-0.553179.975°
550 kHz-0.361176.676°
600 kHz-0.473174.744°
650 kHz-0.314177.573°
700 kHz-0.326177.358°

33 kΩ + 33 kΩ divider

Here too, the values Final dB and Final phase from the two campaigns are compared directly.
FrequencyFinal dB 0.3 VFinal phase 0.3 VFinal dB variable VgenFinal phase variable Vgen
10 kHz+22.35295.096°-23.246262.258°
20 kHz+16.528100.890°-17.180259.084°
30 kHz+13.194104.316°-13.705254.490°
50 kHz+8.769112.981°-9.278245.916°
80 kHz+4.726124.800°-5.337233.539°
100 kHz+2.937132.313°-3.663224.817°
120 kHz+1.773140.698°-2.334217.652°
150 kHz+0.410151.458°-1.250207.260°
180 kHz-0.094159.682°-0.726199.303°
200 kHz-0.219163.655°-0.573195.290°
250 kHz-0.572171.643°-0.351189.149°
300 kHz-0.367173.944°-0.317185.670°
350 kHz-0.438175.762°-0.316183.648°
400 kHz-0.417176.750°-0.351182.629°
450 kHz-0.246177.661°-0.356182.229°
500 kHz-0.388178.092°-0.338182.023°
550 kHz-0.365178.479°-0.313181.465°
600 kHz-0.116178.672°-0.321181.256°
650 kHz-0.340178.946°-0.320181.095°
700 kHz-0.392179.025°-0.320180.979°

Direct comparison of the final measurement

To make the comparison between the two test methods more immediate, I used the values reported in the previous tables to build two additional summary plots.

The first shows the final magnitude, the second the final phase. In both cases, the left panel refers to the 3.3 kΩ + 3.3 kΩ divider, while the right panel shows the behavior of the 33 kΩ + 33 kΩ divider. Within each panel, the series performed with Vgen = 300 mVpp is directly compared with the series obtained by adjusting Vgen as a function of frequency.

The plots therefore do not introduce any new data processing: they are simply the frequency-domain representation of the Final dB and Final phase columns reported in the previous tables. For the 3.3 kΩ divider, the variable-Vgen series contains only the frequencies that were actually acquired.

An important detail about the 33 kΩ divider

In the panel for the 33 kΩ + 33 kΩ divider, the two curves appear almost mirror images, especially at low frequencies. This behavior, however, requires clarification.

The orientation of the injection-transformer terminals was not the same in the two measurement campaigns. As a result, in one series the transfer function was evaluated in one orientation, while in the other it was effectively evaluated as its reciprocal.

Denoting by

H = VOUT VSENSE

the transfer function used in the processing, reversing the orientation gives

H′ = 1 H

This does not mean that the magnitude expressed in dB should simply be treated as an absolute value. The linear magnitude |H| is always positive, but its value in decibels is

MdB = 20 log10 |H|

and can therefore correctly be either positive or negative.

Taking the reciprocal:

20 log10 1 |H| = -20 log10 |H|

so the correct transformation is

M′dB = −MdB

Similarly, the phase changes sign:

φ′=−φ

and can subsequently be shifted by multiples of 360° to place it on the same branch as the other measurement.

The point at 10 kHz is particularly illustrative. In the variable-Vgen campaign, the final result is −23.246 dB and −97.742°. Correcting the orientation gives:

+23.246 dB, +97.742°

while the measurement performed at 300 mVpp gives +22.352 dB and +95.096°. The two results are therefore very close, even though they appear on opposite sides in the raw plot. The original values of the two series are those returned directly by the A/B processing.

The same phenomenon continues at higher frequencies. As the frequency increases, both campaigns converge toward 0 dB and 180°, and the difference caused by orientation becomes progressively less visible.

I nevertheless kept the values in the plots exactly as obtained in the two campaigns rather than retroactively correcting one of the curves. In this way the figure faithfully documents the acquired data; in the interpretation, however, a correct comparison for the 33 kΩ divider requires accounting for the reversed orientation.

What the two plots show

For the 3.3 kΩ + 3.3 kΩ divider, where the orientation can be compared directly, the two campaigns provide relatively close final values despite the large difference in the Vgen amplitude used. In particular, the variable-Vgen series remains very close to 0 dB and 180° even when the injection signal is increased substantially.

For the 33 kΩ + 33 kΩ divider, however, directly reading the two curves is misleading until the inversion of the ratio is taken into account. Once the H→1/H transformation is mentally applied, a much closer correspondence between the two campaigns emerges here as well.

These plots are therefore useful for two distinct reasons: they show at a glance the effect of changing Vgen on the final result and, at the same time, highlight how important it is to maintain—or at least record—the transformer orientation and the transfer-function convention when comparing acquisitions made in different sessions.

Standardizing the A/B orientation

These tests also highlighted the need to make the injection-transformer orientation unambiguous. To prevent the reversal observed in the previous data from recurring in future campaigns, I therefore permanently labeled the two secondary terminals A and B and established a fixed convention for all subsequent acquisitions.

I will always consider OUT as the high side of the network and SENS as the low side. The convention will therefore be:

  • measurement A: transformer terminal A connected to OUT and terminal B connected to SENS;
  • measurement B: terminal B connected to OUT and terminal A connected to SENS.

In this way, future A and B series will always have the same meaning, and plots obtained in different sessions can be compared directly without having to reconstruct the orientation used afterward.

A first conclusion about injection amplitude

The main result of this work session concerns the choice of injection-signal amplitude.

Initially I had decided to use Vgen = 300 mVpp in all measurements, thinking that keeping the generator amplitude constant would help make the different tests comparable. Today’s results instead indicate that this precaution is unnecessary and, under some conditions, can even be counterproductive.

When Vgen is too low, one of the two acquired signals can fall to a few tens of millivolts or even less. Under these conditions the relative contribution of noise increases and the harmonic analysis becomes less clean. The THD plots show that, in general, acquisitions performed using a Vgen adjusted as a function of frequency show lower distortion values than the corresponding measurements performed with the generator kept at 300 mVpp.

At the same time, comparison of the final results shows that increasing Vgen, as long as the system remains in its linear region, does not significantly alter the transfer function I am trying to measure. I can therefore use a higher injection signal to obtain larger-amplitude waveforms and a better signal-to-noise ratio, without being forced to work with signals of only about 20 mV.

The procedure I will adopt from now on will therefore be to progressively increase Vgen before acquisition, looking for the highest usable level without entering a nonlinear condition. Harmonic analysis also provides a quantitative check: if increasing the amplitude begins to produce real distortion, it becomes visible through the increase in harmonic components and THD.

The practical conclusion from this first part of the characterization is therefore that Vgen does not necessarily have to be kept constant. It is preferable to adapt it to the measurement conditions, using a level high enough to obtain clean, easily measurable signals while remaining below the threshold at which distortion begins to appear.

The second issue that emerged during the tests remains open: the dependence of the measurement on DUT impedance. This will be the subject of the next characterization phase, again using the calibration bench to better understand the origin of the error and how to manage it.

#A/B measurement #analog circuits #Bode plot #calibration bench #DUT impedance #frequency response #GNU Octave #GX LII-2 #harmonic analysis #injection amplitude #injection transformer #Loop Gain #LTspice #magnitude measurement #phase measurement #THD

Leave a Reply

Your email address will not be published. Required fields are marked *