Skip to content
ELECTRONICS ENGINEERINGelectronics-engineering.com
Electrical Measurements Short Theses in Italian

Electrical measurements report: uncertainty, BJT and spectrum

Electrical measurements report from a university lab: uncertainty from instrument specifications, propagation in indirect measurements, BJT characteristics and spectrum analysis.

https://www.electronics-engineering.com/en/electrical-measurements-report-uncertainty-bjt-spectrum/

Was this page useful? Rate it:
average 4.0 from 1 rating
tester
misure elettriche. tester

This is the report of a university laboratory in electrical measurements: multimeter, oscilloscope, characterization of a bipolar transistor, parameter estimation in MATLAB and a spectrum analyser in LabVIEW. Reading it you learn how to state correctly the result of a measurement with its uncertainty, how to calculate it from the manufacturer’s specifications, how to propagate it in indirect measurements and how to choose the right window in spectral analysis. At the bottom of the page you will find the complete report in PDF.

Measurement and uncertainty

The result of a measurement never coincides exactly with the true value of the quantity: it is affected by errors that fall within an interval defined by the uncertainty. For this reason every result must be written together with its uncertainty, for example R = (102{,}60 \pm 0{,}09)\ \Omega.

  • Direct measurements: the uncertainty is obtained from the accuracy specifications provided by the manufacturer of the instrument.
  • Indirect measurements (a quantity calculated from other measured ones): the uncertainty is obtained by propagating those of the direct measurements.

In the report the uncertainties are calculated as maximum error (worst case). Today the international reference is the GUM (JCGM 100:2008) of the BIPM, which expresses the uncertainty as a standard deviation: a maximum error E with uniform distribution corresponds to a standard uncertainty u = E/\sqrt{3}.

Instruments used

In the laboratory we used the HP 54600B digital oscilloscope, the HP 974A digital multimeter, the Wavetek FG3A waveform generator, 10X compensated probes, crocodile clip leads and a breadboard with the circuit to be analysed. To compare different instruments and to learn to read specifications written in different ways, the uncertainties were also calculated using the specifications of other instruments, as if the measurement had been repeated with them:

  • HP 974A, Fluke 8060A and Norma D1216 multimeters;
  • HP 54501A and HP 54600B digital oscilloscopes;
  • National Instruments NB-A2000 and Lab-PC+ acquisition cards.

The calculations are in Excel tables, with functions written in VBA that describe the behaviour of each instrument: the code is given in the report next to each table.

Structure of the report

  • Test B: multimeter as continuity detector, diode test and precision ohmmeter; oscilloscope with two traces in normal and XY mode; characterization of the BJT with manual (XY mode) and automatic (normal mode) measurements.
  • Test C: automatic estimation of the BJT parameters with a MATLAB program.
  • Test D: digital spectrum analyser built in LabVIEW.

Test B: continuity, earthing and circuit

Single-ended and earthed instruments

With the continuity test the generator and the oscilloscope were classified from the point of view of earthing. Both are single-ended: there is continuity between the outer shells of the BNC connectors of the oscilloscope (and between those of the generator outputs), so all the channels share the same reference. Both are also connected to earth: there is continuity between those shells and the earth conductor of the plug.

The circuit on the breadboard

Diagram of the BC107 BJT test circuit with isolation transformer, resistors R1-R4, battery E and base ammeter
Schematic diagram of the breadboard circuit: the generator v(t) feeds the collector through the isolation transformer TR; the voltage across R1 is proportional to the collector current.
  • R1: 100 Ω resistor, 5 % tolerance, 1/4 W;
  • R2: 120 Ω resistor, 5 % tolerance, 1/4 W;
  • R3: 470 Ω logarithmic potentiometer, 1/4 W;
  • R4: 10 kΩ logarithmic potentiometer, 1/4 W;
  • TR: isolation transformer; E: battery;
  • BJT: NPN transistor under test (BC107).

The continuity test also verified the isolation of the transformer: there is no continuity between primary and secondary. The transformer is needed because the oscilloscope grounds are connected to earth: without it, connecting the probe ground to a point of the circuit that is not at earth potential would create a short circuit through the earth conductor. The isolated secondary leaves the circuit floating and lets us choose the reference point.

Measuring the resistances

The multimeter replaces the tolerance range with the much narrower range of the measurement uncertainty. Values measured with the HP 974A:

ResistanceMeasured valueNominal value
R1102.6 Ω100 Ω
R2119.0 Ω120 Ω
R3 (maximum)521 Ω470 Ω
R4 (maximum)9.87 kΩ10 kΩ

R1 and R2 are within the 5 % tolerance. The specifications of the HP 974A as an ohmmeter (4½ digits, 50 000 counts) on the 500 Ω range are: resolution 10 mΩ, accuracy ±(0.06 % + 2 counts). In the report the maximum absolute error is

    \[ E = E_G\,x + E_Q + E_{o+inl}, \qquad Q = \frac{R_{FS}}{N_{punti}}, \quad E_Q = \frac{Q}{2}, \quad E_{o+inl} = 2Q \]

where E_G is the gain error (the percentage part), E_Q the quantization error and E_{o+inl} the offset and non-linearity error (the counts of the specification multiplied by Q).

Worked example: direct and indirect measurement

For R1 = 102.6 Ω on the 500 Ω range: Q = 500/50\,000 = 0{,}01\ \Omega, so E = 0{,}0006 \cdot 102{,}6 + 0{,}005 + 0{,}02 \approx 0{,}087\ \Omega, that is 0.084 %. For R2 = 119.0 Ω one obtains E \approx 0{,}096\ \Omega (0.081 %).

In indirect measurements, for a difference the absolute errors are added, for a ratio the relative ones:

    \[ E_{x'-x''} = E' + E'', \qquad e_{x'/x''} = e' + e'' \]

So R_2 - R_1 = 16{,}4\ \Omega with E \approx 0{,}18\ \Omega, and R_1/R_2 = 0{,}8622 with a relative error of 0.165 %, that is \pm 0{,}0014. Note how the difference of two close values has a relative uncertainty (about 1.1 %) much larger than that of the single measurements.

BJT characteristics with the oscilloscope

The voltage across R1 is proportional to the collector current (V_R = R_1 I_C) and goes to one channel; the collector-emitter voltage goes to the other. In XY mode the screen directly traces the output characteristic I_C(V_{CE}) for the base current set with R3 and R4 and read on the ammeter. In normal mode the two traces are acquired over time and saved for automatic processing.

Test C: BJT parameters in MATLAB

A MATLAB program estimates the transistor parameters from the data saved by the oscilloscope in test B, with a simplified model of the output characteristic derived from the Ebers-Moll model with the Early effect: collector current with open base I_{CE0}, product \eta V_T between emission coefficient and thermal voltage, current gain \beta_F and Early voltage V_A. For V_{CE} above about 1 V the exponential term is negligible and the characteristic is a straight line, estimated by least squares; the exponential term is then estimated with a second linear regression on the logarithm. The gain obtained almost coincides with the one measured in the first part.

Test D: spectrum analyser in LabVIEW

In the last test a digital spectrum analyser was built in LabVIEW: a signal generator (sine, square, triangular), a noise generator (uniform or Gaussian white), a block that applies the window and computes the spectrum with the FFT, and a block that estimates the amplitude and frequency of the main line. The choice of window decides the trade-off between amplitude accuracy and frequency resolution; its equivalent noise bandwidth (ENBW, in bins) is used to correct the estimates:

WindowENBW (bins)Typical use
Rectangular1.00signals with frequency exactly on one bin
Hann1.50general use
Hamming1.36close lines
Blackman1.73lines of very different amplitude
Blackman-Harris (4 terms)2.00large dynamic range
Flat-top3.77precise amplitude measurement

In the report the Hann window is called by its old name “Hanning”. The original project was written with LabVIEW 6.

The instruments today

The HP measuring instruments passed to Agilent in 1999 and then to Keysight in 2014; the NB-A2000 (NuBus bus) and Lab-PC+ cards have long been out of production and today USB or Ethernet acquisition modules are used. The methods, however, are the same: read the specifications, calculate and propagate the uncertainty, choose the window.

In summary

  • Every measurement is stated with its uncertainty; for direct measurements it is obtained from the manufacturer’s specifications.
  • In indirect measurements the absolute errors add up for sums and differences, the relative ones for products and ratios.
  • Single-ended, earthed oscilloscopes and generators require an isolation transformer to measure on a floating circuit.
  • In XY mode the oscilloscope traces the output characteristic of the BJT; MATLAB estimates its parameters by least squares.
  • In spectral analysis the window (and its ENBW) determines amplitude accuracy and resolution.

Complete report (PDF)

Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
1
0
Would love your thoughts, please comment.x
()
x