Laboratory Instrumentation and Circuit Prototyping
In questa pagina 8
When a circuit is built and tested on the bench, every number read from an instrument is a measurement: the comparison of a quantity with a homogeneous quantity taken as the unit. The operator, the method, the instrument and the environment all act on the result, so the number on the display is not the true valuevalue of the quantity at the moment of the measurement; it is never known and cannot be known of the measurand. One can only give an estimate and say how reliable it is. Basic bench instruments are described in Electrical Measurements - Voltmeter and MultimeterAnalog and electronic instruments (voltmeter, ammeter, ohmmeter, wattmeter) compare the measurand with the unit; the loading effect is a systematic error predicted by voltage and current dividers, and digital multimeters are specified by digits, resolution, input impedance and an accuracy of the form k1 times reading plus k2 times range.Electrical Measurements - Voltmeter and Multimeter → and The OscilloscopeThe oscilloscope displays the joint trend of two or more quantities; its functional blocks are input channels, trigger and synchronization, time base and acquisition and display, and its input impedance, bandwidth, rise time, coupling, hold-off and probe compensation determine how faithfully a signal is shown.The Oscilloscope →; probes and test signals are in Oscilloscope Probes and Test SignalsA passive probe is an Rp parallel Cp network in series with the oscilloscope input; it reduces the load on the circuit and attenuates the signal, and it is compensated when Ri Ci = Rp Cp; test signals (sinusoid, rectangular, triangular, modulated, sweep) are described by a few time-domain parameters read on the screen.Oscilloscope Probes and Test Signals → and Function Generators and AWGThe function generator produces test signals (sinusoid, square, triangular, pulses, modulations, sweep) and a sync signal through a 50 ohm output; the arbitrary waveform generator is a digital synthesizer made of a memory of 2^M samples, a phase accumulator, a DAC and a reconstruction filter, with output frequency f_out = PIR F_s / 2^L.Function Generators and AWG →.
Systematic and random errors
Repeating times the measurement of a constant quantity , each reading is
- is the systematic deviation: constant over all repetitions, it moves every reading in the same direction (for example the resistance of the leads in a two-wire resistance measurement, or an attenuation of the oscilloscope input). It cannot be seen by repeating the measurement: it can only be estimated from external information (calibrationperiodic comparison of the instrument with a reference standard, with possible adjustment, to reduce systematic deviations, a model of the instrument) and then corrected. A residual always remains because the reference standards are imperfect.
- is the random deviation: it changes at every measurement because of uncontrolled causes (noise, resolution, environmental variations), has zero mean and is reduced by averaging many measurements. If the variability is smaller than the instrument resolution, repetitions always give the same number and are useless.
The remaining systematic deviations are modelled with a random variable and described by its standard deviation (type B evaluation).
Example. A resistor is measured with two wires with leads of each: each reading is about instead of . The systematic deviation is known and correctable; the four-wire measurement removes it (see below).
Other terms used in specifications: resolution (smallest variation of the measurand the instrument can distinguish, the value of the last digit), repeatability (closeness of repeated measurements under the same conditions), reproducibility (closeness of measurements of the same quantity with different instruments, operators or conditions), accuracy (closeness between the measured value and the true value). Calibration reduces systematic deviations; the uncertainty analysis quantifies the dispersion.
Uncertainty and how to write a result
The measurement uncertainty is a parameter associated with the result that characterizes the dispersion of the values reasonably attributable to the measurand.
- the standard uncertainty quantifies the dispersion (for Gaussian distributions it is the standard deviation);
- the expanded uncertainty is the half-width of an interval that contains the true value with a given probability.
The result is the interval , written . The probability that the true value lies in it is the confidence levelprobability, typically 95% to 99%, that the true value belongs to the expanded uncertainty interval, related to the coverage factornumber by which the standard uncertainty is multiplied to obtain the expanded one : For a Gaussian distribution cover , , ; the usual levels are , , . In practice gives about and about . Without or the probability the confidence level is undefined. The uncertainty can never be made zero (instruments, standards, interaction between instrument and circuit, definition of the measurand).
Writing rules. A result has three elements: value, unit, uncertainty.
- the uncertainty is written without sign;
- the expanded uncertainty has one significant digit, rounded up (); a relative uncertainty has two;
- the value has the same number of decimals as the uncertainty and the same unit: , .
Example. A slope with a relative expanded uncertainty of has , written .
How small must it be. When a measurement verifies a tolerancemaximum deviation declared by the manufacturer between the nominal value and the actual value, the uncertainty should be an order of magnitude better: for a resistor within , measuring with or is enough; a smaller uncertainty is useless and costs more. For a resistor with tolerance (), an expanded uncertainty of makes the measurement meaningful.
Colour code example. Bands grey, red, orange, gold mean , , , : an resistor whose actual value lies between and .
Resistance measurement
The digital multimeter measures a resistance with an internal volt-ammeter method: a known, constant reference current (from an internal current generator) flows through the resistor and the ADC, which has a very high input impedance, measures the voltage across it: The resistor must be disconnected from the circuit, otherwise the equivalent resistance seen at the terminals would be measured. The current in each range must not heat the resistor (the power would alter its value).
Two-wire measurement
The same two connections carry the test current and sense the voltage. The lead resistances are in series with : It is a systematic error (constant and positive), with relative error , large for small . Example: , , leads of each: , the reading is , error (). With leads of the error is , i.e. . Lead resistance depends on temperature, (copper ), so the error varies: calibration corrects it only at the calibration temperature. The method is acceptable only if ( on is ); manuals give for two wires the four-wire specifications plus at most of offset.
Four-wire (Kelvin) measurement
The four-wire measurement separates the current leads from the voltage leads: two wires carry to , two other wires connect the ADC inputs directly to the terminals of . Since the ADC input impedance is very high, no current flows in these two wires () and their resistances produce no drop: The drops on the current leads do not appear because the sensing points are downstream. The systematic error of the leads is eliminated (only that of the leads, not that of the instrument). It is used for small resistances (ohms to milliohms: shunts, contact resistances) and for precision measurements.
| two-wire | four-wire | |
|---|---|---|
| connections | 2 | 4 |
| error of the leads | none | |
| specification | ||
| use | small , precision |
Example with specifications. Nominal resistor with tolerance, range, one year from calibration and ( of the reading and of full scale): two-wire (the leads dominate); four-wire , about twenty-four times smaller.
High resistances
For of the order of megaohms can exceed the ADC full scale. Example: , ADC full scale and up to : the voltage would be , six times the full scale. Typical problems: the voltage exceeds full scale; leakage currents (insulation, humidity) and the finite input impedance of the voltmeter introduce errors; noise and input bias currents weigh more.
Solution. A known resistance is placed in parallel with : the current divides and with : (From one gets .)
Sizing. The worst case is : impose , i.e. with , With , , : and ; a smaller commercial value, e.g. , gives for and (inside ). With and : , , choose with .
| () | reconstructed | ||
|---|---|---|---|
Error amplification. Since , a small denominator ( for ) amplifies uncertainties: relative errors on (hence on and ) are multiplied by ( for , ) and those on by (). So must be known accurately and should be neither much smaller than needed nor almost equal to .
Volt-ammeter method
To obtain one needs a voltage across and the current through it; with two multimeters (, ) there are two connections.
Scheme 1: voltmeter in parallel with , ammeter upstream. The ammeter measures the current of plus that of the voltmeter:
Scheme 2: ammeter in series with , voltmeter across both. The current is exact, but the voltmeter measures the voltage of plus that of the ammeter:
Which one. Scheme 1 is better when , i.e. (with ) With and the threshold is (smaller : scheme 1; larger: scheme 2). If and are known the error can be corrected: (scheme 1) or (scheme 2).
The multimeter as ammeter: the shunt
A voltmeter measures current if the unknown current flows through a known resistor , the shunt, and the voltage across it is measured: . The voltmeter is in parallel with the shunt and the shunt is in series with the circuit.
- an ideal ammeter has zero internal resistance: small, to avoid altering the current, i.e. a small voltage drop (the burden voltage );
- for a given current range, the minimum voltage full scale available is best: it minimizes and the power that heats the shunt.
Example. Voltmeter ranges , , , , and ammeter ranges , , , . For : , ; or , (acceptable but worse). For smaller currents always use the range with shunts of (), (), ().
Uncertainty budget. Specifications are expanded uncertainties . At the point of maximum absolute uncertainty (reading at full scale) the two terms add. With voltmeter and required ammeter : and . The contributions combine in quadrature (same ): , so The shunt must be guaranteed within (and stable in temperature).
The multimeter as ohmmeter
Scheme A: known test current. A current generator flows through and the voltmeter reads : . The uncertainty depends directly on that of the generator.
Scheme B: comparison with a reference resistor (ratiometric). and a known resistor are in series with the same current: the two voltages are measured and . The accuracy of and of the voltage ratio matter; the stability of the current is less critical.
Choice of . It is limited by the dissipated power: . With and : and . With and ranges , , , the voltage full scales are , , , , all available in the voltmeter.
Budget. Voltmeter , required ohmmeter . At full scale , and the added element (current generator or resistor ) must satisfy Practically all the specification is used by the added element.
Example with a shunt and an oscilloscope. A microcontroller system alternates an active phase () and a sleep phase (); the battery current is measured with a shunt. The mean current is the weighted mean With , (), , , : , . The oscilloscope is not suitable for the sleep current: , while the expanded uncertainty at the lowest range (, ) is : relative uncertainty .
Impedance meter
The impedance meter (LCR meter) measures at a given frequency, with and . A real component is represented with a series or parallel model:
- capacitor: in series with , or in parallel with . The loss factor says how non-ideal it is;
- inductor: or , with quality factor ;
- resistor: the series model includes the parasitic inductance of the terminals, the parallel model the parasitic capacitance.
The values depend on the measurement frequency, so frequency and signal level are declared with the result.
Example. A capacitor at : . With the losses correspond to in series (or in parallel) and , i.e. with phase .
Phasor volt-ammeter method. As in resistance measurement but with a sinusoidal signal and complex quantities. The current flows in a reference resistor in series with and two voltages are measured: With the capacitor above gives a ratio .
Self-balancing bridge. Commercial instruments use an operational amplifier (Ideal Operational Amplifier and Basic ConfigurationsThe operational amplifier (op-amp) is a differential amplifier with very high gain, vO = A (vNI - vINV); in the ideal model A is infinite, input resistance infinite, output resistance zero, bandwidth infinite, and with negative feedback to the inverting input the output settles where the differential voltage is zero (virtual short, no input current), which gives the non-inverting amplifier (gain 1 + R2/R1) and the inverting amplifier (gain -R2/R1, input resistance R1).Ideal Operational Amplifier and Basic Configurations →): the low terminal of goes to the inverting input, a virtual ground, and the current through is forced through the feedback resistor : with , so . Both terminals are at known potentials and the cable capacitances to ground do not alter the current.
Phasors from samples. A digital instrument acquires the voltages with an ADC and computes modulus and phase with phase-sensitive detection (lock-in): with samples at of a signal of frequency with integer (coherent sampling), This is one coefficient of the DFT at the measurement frequency; the product with the references followed by the average (a low-pass filter) rejects noise at other frequencies. With samples at (ten whole periods at ) and rms noise the example is reconstructed as and , against the true and .
Connections and uncertainty. For very small impedances the four-terminal connection separates current and voltage leads as in the four-wire resistance measurement. Open- and short-circuit compensation of leads and fixtures subtracts the residuals (parallel parasitic capacitance, series residual impedance). Specifications resemble those of the multimeter but depend on , frequency and signal level; the measurement is best when is close to the reference resistor of the selected range. Electrolytic capacitors and cored inductors need an explicit DC bias because their value depends on the operating point.
Common mistakes
- Saying "the error is " without distinguishing systematic (corrected) from random (averaged).
- Confusing standard () and expanded () uncertainty; giving more significant digits than the uncertainty justifies.
- Measuring a resistance still connected to the circuit; using two wires for a few ohms.
- Sizing only on full scale, forgetting the worst case ; writing (the direct parallel formula, not the inverse).
- Forgetting that in scheme 1 the ammeter also measures the voltmeter current, and in scheme 2 the voltmeter also sees .
- Choosing a large "for more signal"; adding voltmeter and shunt uncertainties linearly instead of in quadrature.
- Giving or without frequency and model; confusing with the phase.
Versione ripasso
Key statements and formulas
- Reading: . The systematic deviation is constant, invisible by repetition, corrected only by calibration; the random deviation has zero mean and is reduced by averaging.
- Result , with (: about , : about ); with one significant digit rounded up, value with the same decimals. Useful uncertainty is about of the tolerance to verify.
- Resistance with a reference current: , resistor disconnected from the circuit.
- Two-wire: , systematic error ; only for . Four-wire: (the sensing leads carry no current).
- High resistances: , ; sizing with ; errors amplified by .
- Volt-ammeter: scheme 1 measures (error ), scheme 2 measures (error ); scheme 1 if .
- Shunt: , , use the minimum voltage range. Uncertainties of voltmeter and added element combine in quadrature: .
- Ohmmeter: or ratiometric ; .
- Impedance meter: (phasors); , ; self-balancing bridge ; phasors by lock-in or DFT with coherent sampling.
Main steps of the examples
- Two wires, , , leads each: reads , error ; leads : error .
- Specifications: two-wire , four-wire .
- , , : , , take , .
- , : threshold .
- Shunt budget: . Ohmmeter budget: .
- Microcontroller current: , ; the oscilloscope fails on ( against uncertainty).
- at : , with .
Typical mistakes
- Confusing systematic and random errors, or with .
- Two wires for small resistances; measuring a resistor still in the circuit.
- Sizing without the worst case.
- Forgetting the instrument loading in the volt-ammeter schemes.
- Adding uncertainties linearly instead of in quadrature.
- Quoting or without frequency and model.
More points to remember
- Terms: resolution (value of the last digit), repeatability (same conditions), reproducibility (different instruments or operators), accuracy (closeness to the true value). Calibration acts on systematic deviations; the uncertainty analysis quantifies the dispersion. The uncertainty can never be zero.
- Coverage: cover , , for a Gaussian distribution; , , . Rounding: ; with is written .
- Tolerance check: a resistor within needs about ; a resistor with tolerance () is checked with . Colour code grey, red, orange, gold: , between and .
- Copper leads: , , so the two-wire error drifts with temperature and calibration corrects it only at the calibration temperature. Four-wire: because in the sensing leads.
- High resistances, other numbers: , gives , , take , . Table of reconstructed values: give . Error factors for , : on and on .
- Corrections of the volt-ammeter schemes: (scheme 1), (scheme 2).
- Shunt ranges: with gives , (with : , ); lower currents use the range with , , . Burden voltage .
- Ohmmeter with , : , voltage full scales , , , .
- Impedance meter: series model or parallel ; inductor ; resistor models include parasitic inductance (series) or capacitance (parallel). With the capacitor gives a ratio . Lock-in sums: , , (one DFT coefficient); open and short compensation of the leads; DC bias for electrolytic capacitors and cored inductors.