Salta al contenuto
Note per Studenti Instrumentation and Measurement Technologies Report

Instrumentation and Measurement Technologies

In questa pagina 11

Purposes and technologies

Measurement systems must meet different initial requirements depending on the application. In general a measurement system is used to:

  • measure a quantity of some kind (for information engineering, electrical quantities: voltage, current, resistance, ...);
  • visualize the trend of a signal (in particular electrical signals);
  • acquire and process a signal, also electrical;
  • acquire and process measurements of various physical parameters in an integrated way;
  • acquire and process measurements and physical parameters of various types in real time, remotely and from multiple devices simultaneously.

Corresponding measurement technologies:

Purpose Technology
Measure electrical quantities laboratory instruments (multimeter)
View signals time domain: oscilloscope; frequency domain: spectrum analyzer
Acquire signals and process/store them Data Acquisition boards (DAQ)
Integrated acquisition of signals, measurement of various parameters, use for automatic control and actuation microcontroller-based sensor platforms
Distributed measurement microcontroller platforms interconnected via wired/wireless technologies (Internet of Things)

Measuring electrical parameters

The measurement of electrical quantities gives an instant numerical indication of current, voltage, resistance, impedance, and so on. It is fundamental to:

  • quantitatively determine the properties of an object (the resistance of a resistor, the voltage across a battery);
  • monitor a process or the operating state of a device (the output voltage of a circuit, the current drawn by a device).

It is also fundamental because variations of electrical parameters are very often a consequence of variations of other physical phenomena: measuring the electrical parameters gives an estimate of those phenomena (see transducers in Measurement Systems - Architecture and Operating PrinciplesArchitecture of analog and digital measurement systems (sensor, conditioning, processing, conversion, display and transmission) and the three comparison principles of measurement: direct comparison, indirect comparison and comparison by substitution, with the uncertainty sources of each.Measurement Systems - Architecture and Operating Principles →).

The multimeter

Details of the instrument and its measurement methods are 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 →; the introduction given here:

  • The multimeter measures various types of electrical parameters and offers an instant numerical indication.
  • Handheld multimeters (also called testers) can be used in a variety of contexts; bench multimeters are designed for laboratory use with higher performance.
  • Most multimeters today are digital, with a seven-segment display; in traditional analog models the indication is given by a dial with a pointer (galvanometer).
  • It measures in both direct and alternating current. The measurement is made via one or more pairs of probes (tips) that connect the instrument to the element under test.
  • A selector chooses the physical quantity, and with it the connection method: to measure a voltage the multimeter is placed in parallel to the circuit, to measure a current it is placed in series. The selector also chooses between different orders of magnitude (ranges) of the parameter.
  • Measurable quantities: at least DC and AC current, DC and AC voltage, and resistance. Other functions: effective (rms) voltages, capacitance and inductance, frequency, diode test, continuity test (typically with a sound), temperature.

Instruments shown on the slides:

  • an analog multimeter with a mirrored multi-scale dial and a selector (ranges for AC voltage, DC voltage, DC current, AC current and resistance);
  • a handheld digital multimeter with an LCD (showing 00.0), POWER and HOLD buttons, a range selector and input terminals (A, mA, V/Hz/ohm, COM);
  • a bench digital multimeter, 5 1/2 digits (Agilent 34450A). The display shows a main reading of 05.5000 V DC (range 10 V) and a secondary reading of 0.50000 A DC (range 1 A), mode AUTO. Keys: DCV, ACV, resistance (2W/4W), Cont (continuity/diode), DCI, ACI, Freq, Temp, Null, Math, Data Log, Store/Recall, and range and resolution arrows. Terminals: input (V, ohm), Sense (4-wire ohm), 10 A and 100 mA; labelled limits 1000 VDC / 750 VAC, CAT II 300 V;
  • two selector close-ups showing positions such as DCV, ACV, DCmA, ohm ranges, OFF; and a handheld meter with HOLD, MINMAX and RANGE buttons and positions for Hz, V, mV, temperature, ohm/capacitance, continuity/diode, mA and A.

Visualizing a signal in the time domain

The visualization of a signal in the time domain allows an immediate evaluation of its characteristics. Main purposes for an electronic designer:

  • detection of waveforms: accurate measurement of the signal trend and of parameters such as amplitude and waveform, to learn how the devices affected by the signal work or to verify that the trend stays within pre-established limits; it improves understanding of the phenomenon that originates the signal;
  • diagnostics: verifying that a device works correctly or detecting any anomaly that might require maintenance or, for a prototype, a revision of the project or of the circuit.

The oscilloscope

Full treatment in 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 →. From this lecture:

  • The oscilloscope is the instrument for visualization and analysis of signals in the time domain.
  • As in any measurement there is a finite observation interval, so the instrument must be synchronized with the evolution of the observed signal.
  • It displays, on a plane with a reference coordinate system, the joint trend of two (or more) quantities; usually Cartesian axes (other systems such as polar are possible but less common). Typically it acquires at least two signals simultaneously, so several traces can be shown and compared.
  • The slide shows a bench digital oscilloscope (Tektronix TBS 1202B-EDU) with two channels: the display shows two sinusoids and menu buttons (Type Edge, Source Ch2, Slope Rising, Mode Auto); front panel groups: Vertical (position, menu, scale of channel 1 and 2), Horizontal, Trigger, with two input connectors and an external trigger input. The badge reads 200 MHz and 2 GS/s (small print, partly illegible on the image).

Display modes

  1. Amplitude as a function of time: requires an internal time reference (timebase), which gives the horizontal axis its calibration.
  2. XY mode: two distinct signals are acquired and the amplitude of one is shown as a function of the other; each point on the screen corresponds to a pair of values at the same instant. Time is not explicitly shown: it can only be imagined as the movement of the point that draws the curve. The slide shows an ellipse as an example.

Grid, cursors and scale factors

  • The screen has a grid of 8 vertical and 10 horizontal divisions for a first approximate evaluation.
  • For the actual measurement, cursors (horizontal or vertical lines positioned by the operator) are used; the instrument computes the numerical value of their position from the set scale factors and shows a calibrated indication with units on the screen.
  • A screenshot (Tektronix style) shows channel 1 menu entries: Coupling DC, BW Limit (On/Off, 200 MHz), Volts/Div Coarse, Probe 1X Voltage, Invert Off; status bar: channel 1 at 500 mV per division, timebase M 25.0 ns, trigger level 622 mV, 20.0000 MHz, "Trig'd" and "M Pos: 0.000 s".

Setting up an observation

To analyze one or more signals as functions of time you need to:

  1. Set the duration of the observation interval by adjusting the horizontal scale factor.
  2. Adjust the amplitude scale (vertical scale factor), which corresponds to setting the amplification or attenuation of the input channel.
  3. Synchronize the acquisition so that the part of the signal of interest falls in the observation interval.

Single event: the scope must capture the input in the interval where the event occurs; for simplicity the synchronization command starts the acquisition. With a command before the event the acquisition window includes the rise and the decay (left plot on the slide: ramp, peak, damped oscillation); if the command comes later, the window shows only the tail of the event (right plot).

Repetitive signal: the displayed trace must be updated to show changes, so the acquisition must be repeated with the portion of signal displayed always the same; hence the need for synchronization. Each cycle has:

  • Acquisition phase: duration tAt_A, set by the observation interval chosen by the user.
  • Set-up phase (reset): duration tBt_B, prepares the oscilloscope for a new acquisition and depends only on the instrument. During it the scope cannot acquire, so a minimum time tA+tBt_A + t_B must elapse between two consecutive acquisitions.
  • Wait phase: duration tct_c, used so that the next acquisition phase coincides with the interval where the significant part of the signal is present again.

Acquiring and processing a signal

Often it is not enough to display a signal: its trend must be acquired for a given time interval. Once acquired and stored in digital form, the signal can be processed with a computing tool (typically a computer) to:

  • extract the information it contains;
  • carry out various analyses (for example spectral analysis);
  • make it available for control operations;
  • eliminate harmful components such as noise.

Data acquisition boards (DAQs)

More in Data Acquisition SystemsA DAQ module multiplexes several analog inputs through a programmable gain amplifier into one ADC, stores the samples in a buffer and hands them to a PC, with sampling timing, trigger modes (digital, analog level, window, pre-trigger) and input configuration (differential or referred to ground) that the user must know.Data Acquisition Systems →.

Pictures on the slides: two National Instruments USB boards with screw terminals, labelled "USB-6251, 16 inputs, 16-bit, 1.25 MS/s multifunction I/O" (small print, only partly legible) and "USB-6008, 8 inputs, 12-bit, 10 kS/s multifunction I/O"; and a LabVIEW virtual instrument with a waveform chart (a sine wave and a horizontal line), two analog gauges "Channel 1" and "Channel 2" (range -10 to 10), a Stop button, a DeviceDriver field and SampleRate 1000.

Other useful laboratory instruments

Benchtop power supply

  • It transforms alternating current (or voltage) into direct current, generating DC currents (and voltages).
  • It powers components in a specific voltage range and is comparable to an ideal voltage (or current) generator.
  • The voltage is selected in a range, usually up to a few tens of volts (for example 30 V); the current has a maximum of a few amperes (for example 5 A).
  • The key parameter is the maximum output power. Bench supplies typically have two or more outputs.
  • Instrument shown (Sorensen XDL 35-5TP DC power supply): displays 35.000 V / 3.000 A and 15.000 V / 5.000 A; outputs Output 1, Auxiliary (with a 2.7 V / 3.3 V / 5.0 V selector) and Output 2; front panel ratings 15 V 5 A, 35 V 3 A, 35 V 500 mA.

Signal generator

  • It generates periodic signals of various types.
  • Sinusoids are important to test circuits that, within their operating limits, behave linearly: the response is still a sinusoid at the same frequency but with different amplitude and phase.
  • A periodic square wave can be used to detect the step response of a linear system using oscilloscope measurements.
  • Generators usually produce, besides sinusoids, triangular, square and impulsive waveforms; digital generators can synthesize any waveform very accurately.
  • Instrument shown (Agilent 33120A, 15 MHz function/arbitrary waveform generator): display 1.000,000,0 kHz; keys AM, FM, FSK, Burst, Sweep, Noise, Arb; Freq, Ampl, Offset, Single, Recall; SYNC and OUTPUT connectors with the 50 ohm output marking.

Acquiring signals in an integrated way

  • Measurement activities are crucial in infinite applications, and the acquisition of numerical data about physical phenomena is often functional to integrated visualization and control systems with built-in computation tools that process the measured values in real time.
  • Such systems are part of daily life (the home thermostat, digital scales).
  • The measurement devices are very often transducers that convert the physical quantity into an electrical signal, then acquired and processed by various computation tools.
  • The measurement activity must be accompanied by prototyping and engineering activity, at software and hardware level, to implement the whole system.

Embedded systems

Full treatment in Embedded Systems and MicrocontrollersAn embedded system is a computing system built for one specific function inside a larger system, made of a powering system, a processing unit (microcontroller or system-on-chip), memory, sensors and actuators, human-machine interfaces and transceivers.Embedded Systems and Microcontrollers →.

  • Integrated systems based on miniaturized computing platforms, customized at hardware and software level and designed for a specific purpose, are called embedded systems.
  • Their inputs are very often numerical data on physical-environmental parameters acquired via sensors.
  • The heart of an embedded system is the computing tool: microcontrollers or microprocessors.
  • Microcontrollers contain ADCs, so for signal acquisition they have functions similar to a DAQ.
  • An embedded system can therefore acquire and process a wide range of parameters thanks to analog or digital sensors interfaced with the input channels of the computing system.

Single Board Microcontrollers

The microcontroller chip

  • The same functions can be implemented with a bare microcontroller (the chip), but this needs harder prototyping: connections between peripherals and microcontroller are more complex.
  • Programming is also more complex because, unlike single board microcontrollers, the chip cannot be connected directly to a computer.
  • The advantage: the entire embedded system can be developed in an integrated layout and customized more easily for the final application scenario.
  • Chips shown: an Atmel MEGA32U4-AU (surface-mount, flat package) and a 16-pin through-hole package.

Distributed measurement systems

Wireless Sensor Networks (WSN)

  • A WSN is a network of measurement systems made of autonomous devices distributed in space that use sensors to monitor physical and environmental parameters in a coordinated manner and in multiple locations.
  • It is interconnected with a centralized structure, often in the Cloud, which receives the collected information, manages and reprocesses it.
  • Each node has one or more sensors, a radio transmitter (or another wireless device), a microcontroller and an energy source, normally a battery.
  • In practice they are embedded systems equipped with connectivity.

Internet of Things (IoT)

Versione ripasso

  • Purpose to technology:
Purpose Technology
measure electrical quantities multimeter
view signals oscilloscope (time domain), spectrum analyzer (frequency domain)
acquire signals and process/store them DAQ boards
integrated acquisition, control and actuation microcontroller-based sensor platforms
distributed measurement microcontroller platforms over wired/wireless links (IoT)

Teoria collegata