The Oscilloscope
In questa pagina 7
Purpose and main features
The main function of the oscilloscope is to display, on a graph with an appropriate reference coordinate system, the joint trend of two (or more) quantities. Important features:
- finite observation interval;
- synchronization of the instrument with the variation of the observed signal;
- bandwidth up to a few GHz, which is significant for the cost of the instrument; 100 MHz can be considered typical for general-purpose instruments;
- measurement uncertainty of the order of ;
- update speed sufficiently high to identify rapid changes of the displayed signal.
Functional scheme
Block diagram: two signals (signal 1, signal 2), each into an input channel; each channel feeds a trigger circuit; the two trigger circuits and an external trigger input go into the generation of the synchronization command, which drives the time base; the time base and both input channels go into the block acquisition and display, which draws the traces.
signal 1 -> [INPUT CHANNEL] ----------------------------------\
| [TRIGGER CIRCUIT] \
external trigger -> [GENERATION OF SYNC COMMAND] -> [TIME BASE] -> [ACQUISITION & DISPLAY] -> screen
| [TRIGGER CIRCUIT] /
signal 2 -> [INPUT CHANNEL] ----------------------------------/- Input channel: circuits that give amplification or attenuation of the signal and create an input impedance of a specified value.
- Synchronization generation: identifies a reference point in the waveform, used to synchronize the instrument, and produces the actual synchronization command. In the slide figure the reference points are the crossings of the trigger level with positive slope or negative slope; each selected crossing produces a pulse of the trigger signal.
- Time base: generates time intervals of known duration, allowing different horizontal scaling factors and guaranteeing their calibration. In digital oscilloscopes the time base is the internal clock, which can be a quartz oscillator guaranteeing, at reasonable cost, relative uncertainties of the order of .
- Acquisition and display: receives the signals and any time reference generated by the time base and synchronized with the signals, and turns them into the traces on the screen. In digital oscilloscopes this is a complex high-speed digital signal acquisition and processing system run by a set of high-performance processors.
Input channel
An oscilloscope typically has two or four input channels. Each is made of coupling circuits, attenuators and electronic amplifiers with adjustable settings: analog electronic circuits whose settings are controlled numerically, so that the instrument adapts to the variety of observable signals. Block diagram: coupling (a capacitor with a bypass switch) then variable attenuator then variable-gain amplifier.
Equivalent model of the channel:
- a voltage generator controlled by the input voltage, giving towards data acquisition and display;
- an equivalent input impedance across the input ;
- the proportionality coefficient (gain) accounts for the amplifications and attenuations undergone by the signal;
- the factor determines the scaling factor of the vertical axis, so it acts as a calibration constant.
Input impedance
One input terminal is connected to the ground reference, so the measurement gives the voltage between any point and the ground reference of the oscilloscope. The equivalent input impedance is the parallel of a resistor (standard value) and a capacitor of the order of ten pF.
- At low frequencies almost coincides with , so the loading effect on the source is in many cases negligible.
- As the frequency increases the total input impedance decreases significantly, because of the progressive reduction of the reactance
which is inversely proportional to the frequency and is in parallel with the resistance. (See 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 → for the loading effect of a voltmeter with .)
Frequency response
The input channel has a finite bandwidth that depends on its circuits; its behaviour is described by the frequency response .
- With DC coupling the static gain is exactly .
- Specifications give the bandwidth . By definition, at the maximum frequency the amplitude attenuation is approximately 30%: a sinusoid at that frequency would not be measured correctly.
Rise time
For signals with steep edges one checks that the rise time of the step response of the instrument is at most of the same order of magnitude as the edges of the measured signal. is inversely proportional to the bandwidth:
(See also the ideal-filter discussion on step response in Signal Acquisition - Sampling, Conditioning and FilteringAcquiring a signal means conditioning it, sampling it uniformly at Fs at least twice the (filtered) bandwidth to avoid aliasing, quantizing it and, when needed, reconstructing it by interpolation.Signal Acquisition - Sampling, Conditioning and Filtering →.)
Coupling modes
- DC coupling: most common use; the entire signal, including its direct component, is acquired and displayed.
- AC coupling: the instrument acquires only the alternating component. The circuit places a coupling capacitor in series with the input, followed by in parallel with to ground; the switch labelled DC/AC bypasses for DC coupling.
The AC coupling circuit introduces strong attenuation at low frequencies. The amplitude readings of an AC-coupled oscilloscope are generally reliable only for frequencies at least one order of magnitude above the cut-off frequency, i.e. from around 50-100 Hz. (Slide plot: gain versus normalized frequency on a log axis from to ; the gain rises from about 0.3 at to about 1 around , stays flat at 1, and drops to near zero just above .)
Trigger circuit
The trigger produces trigger events, one at each level crossing of the chosen slope. The instrument needs only one of these pulses per acquisition.
- Other pulses from the trigger must not be considered until the acquisition and recovery (reset) phase are finished.
- The hold-off command disables the start of new acquisitions.
- A simple pre-set disable time is not always sufficient to identify univocally the synchronism for a repetitive waveform. If multiple pulses per signal period are generated, the displayed trace may be unstable: after the acquisition and restoration time the new synchronization command is generated at the first trigger pulse that arrives, valid whatever its position in the signal period, even if it is not the same as in the previous acquisition.
Slide example: a pulse train with three trigger pulses (1, 2, 3) per signal period. With only the fixed disable time, the first acquisition starts on pulse 1, the next on pulse 3 and the next on pulse 2, so the superimposed screen traces (solid and dashed) do not overlap and the display is unstable.
Adjustable hold-off: all oscilloscopes include an adjustable hold-off mechanism. When the trigger circuit gives multiple pulses per period, the duration of the disable time must be adjustable. In recent oscilloscopes it is carried out in two successive phases, with two coordinated disabling signals:
- a first adjustable signal that sets a minimum separation between consecutive trigger pulses (hold-off);
- a further disabling signal of fixed duration, equal to the sum of the acquisition and reset times, to correctly manage the operating cycle of the instrument.
In the slide example, with a suitably chosen hold-off only pulse 2 of each period starts an acquisition, so every acquisition begins at the same point of the waveform and the displayed trace is stable.
Probes
A probe is any device able to acquire the signal of interest and bring it to the input connectors of the instrument. It is an integral part of the measurement circuit and contributes to its overall accuracy.
Passive probes
- For frequency components below a few MHz the connection can be represented as a simple electrical network with lumped parameters between the source and the instrument input.
- The most significant effect is the cable capacitance , which in commonly used coaxial cables is 0.5-2 pF/cm, in parallel with the input impedance of the instrument.
- The overall impedance seen by the source is the parallel of and .
- To reduce the loading effect, different types of high-impedance probes are used. Passive probes typically introduce a voltage attenuation of a factor 10, allowing an increase of the input impedance by a factor 10.
A passive probe consists of a tip, containing a passive compensation network made as the parallel of a resistor and a variable capacitor , and a coaxial cable. In the slide circuit: probe tip () with output voltage reference , then a coaxial cable modelled by and , a compensating capacitance (variable) at the instrument end, and the instrument input with voltage ; the ground conductor runs along with the cable.
Analog oscilloscope
The slide shows the cathode-ray tube schematic with the labelled parts F, C, G, the electrodes A1, A2, A3, the deflection plates X and Y, the screen E, the beam axis Z and a supply with a resistive divider and a potentiometer to ground; no explanatory text accompanies the figure. A second slide shows a bench analog oscilloscope (20 MHz, two channels): screen with graduated grid, intensity and focus knobs, vertical mode keys (CH1, CH2, ALT, CHOP, ADD), VOLTS/DIV knobs, horizontal SEC/DIV knob, sweep mode, trigger source and coupling selectors, two BNC inputs.
Digital oscilloscope
- High-speed acquisition system: a very high trace update rate matters; rates of several thousand traces per second are reached.
- Memory depth: maximum number of samples associated with each channel.
- ADC with resolution typically 8 bits (256 levels).
- Bandwidth typically 100 MHz but often much higher (up to a few GHz).
- Sampling frequencies from a few hundred MHz to a few tens of GHz.
Visualization
The screen has the same characteristics as a digital monitor, with in addition a graduated grid and cursors for measuring parameters. The resolution of a cursor measurement is the minimum achievable position variation.
- Vertical axis: the resolution depends on the number of quantization levels of the ADC and corresponds to the quantization step (see Analog-to-Digital ConversionAnalog-to-digital conversion consists of sampling (sample-and-hold), uniform quantization with step Delta and error uniformly distributed in plus or minus Delta over 2, and binary coding; flash, successive-approximation and integrating converters trade speed against resolution.Analog-to-Digital Conversion →).
- Horizontal axis: the time resolution is determined similarly; the axis, whose extension coincides with the observation interval , can be considered divided into a number of intervals, called time slots.
Slide figures: a sinusoid in time with a vertical and a horizontal dashed cursor and readouts ( mV, ns), and an XY-mode ellipse with cursors and readouts ( mV, mV).
Acquisition system
- The time base interacts with both the ADC converters and the acquisition memory. It provides the sampling clock to the ADC and ensures that the measurement information has a correct time reference.
- With observation interval and memory depth , each sample is distant from the next (or previous) one by
- Changing the scaling factor is equivalent to considering observation intervals of different length, so the time distance between samples in consecutive cells can change: the instrument may thus acquire at an effective sampling rate lower than .
- Without synchronism signals the system is in continuous acquisition and the memory is managed as a FIFO (first-in, first-out) queue or circular buffer.
- The synchronism command sets the time reference of the time axis: the trigger event corresponds to the instant that appears on the screen as . The operator chooses the position of this point on the time axis; the time base block adapts the acquisition accordingly.
- The acquisition buffer of samples is divided into samples acquired before the trigger (pre-trigger) and samples acquired after it (post-trigger). In the slide figure the memorization stops samples after the trigger instant ; in the circular-buffer picture the oldest and last samples are marked next to the pre-trigger part.
Memory and visualization
At the input of the acquisition memory there is a continuous flow of samples, interrupted only during the reset phase, when the acquired data are transferred to the waveform memory. The screen is like a computer monitor: scanning is by successive lines (raster scan) and the information to build the image is in a graphic memory organized as a matrix of pixels. Block chain: acquisition memory, post-processing memory, graphic memory, screen.
Versione ripasso
- Purpose: display on a reference coordinate system the joint trend of two or more quantities. Features: finite observation interval; synchronization with the signal; bandwidth up to a few GHz (100 MHz typical for general purpose); measurement uncertainty of the order of ; update speed high enough to show fast changes.
- Functional blocks:
- input channels: amplification or attenuation and a specified input impedance;
- trigger circuits and external trigger, feeding the synchronization command generation (reference point: crossing of the trigger level with positive or negative slope);
- time base: time intervals of known duration, with calibrated scaling; in digital scopes a quartz clock with relative uncertainty about ;
- acquisition and display: high-speed digital acquisition and processing, traces on the screen.
- Channel model: an input impedance across , and a controlled source towards acquisition. is the gain; is the vertical scale factor, a calibration constant.
- Input impedance: , with (standard) and of about ten pF.
- low frequency: , loading negligible;
- high frequency: the capacitive reactance falls, so the loading grows with frequency.
- see 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 → for the loading effect.
- Bandwidth: the bandwidth . At the maximum frequency the amplitude is attenuated by about 30 %, so a sinusoid at is not measured correctly. With DC coupling the static gain is .
- Rise time:
The instrument rise time must be of the same order as the edges of the signal, or shorter. Ideal-filter discussion: Signal Acquisition - Sampling, Conditioning and FilteringAcquiring a signal means conditioning it, sampling it uniformly at Fs at least twice the (filtered) bandwidth to avoid aliasing, quantizing it and, when needed, reconstructing it by interpolation.Signal Acquisition - Sampling, Conditioning and Filtering →.
- Coupling:
- DC: the whole signal, including the offset;
- AC: a coupling capacitor in series with the input removes the DC; strong attenuation at low frequency. Reliable amplitude readings start about one decade above the cut-off, i.e. around 50-100 Hz.
- Trigger:
- one trigger pulse per level crossing of the chosen slope; only one pulse is used per acquisition;
- hold-off disables new triggers until the acquisition and reset phases are over;
- with several pulses per period a fixed disable time is not enough and the trace is unstable. Adjustable hold-off works in two phases: a minimum separation between pulses, and a fixed disable time equal to acquisition plus reset time. With the right hold-off only one pulse per period starts an acquisition, so the trace is stable.
- Probes: part of the measurement circuit, so they affect accuracy.
- up to a few MHz the connection is a lumped network; the main effect is the cable capacitance (0.5-2 pF/cm), in parallel with ;
- a passive probe attenuates by 10 and raises the input impedance by 10;
- the tip has a compensation network (variable ); at the instrument end a compensating capacitor is adjusted.
- Digital oscilloscope:
- ADC typically 8 bits (256 levels); the vertical resolution is the quantization step (Analog-to-Digital ConversionAnalog-to-digital conversion consists of sampling (sample-and-hold), uniform quantization with step Delta and error uniformly distributed in plus or minus Delta over 2, and binary coding; flash, successive-approximation and integrating converters trade speed against resolution.Analog-to-Digital Conversion →);
- sampling from a few hundred MHz to tens of GHz; memory depth = maximum samples per channel; traces updated several thousand times per second;
- the horizontal axis is divided into time slots; the time resolution is set in the same way.
- Acquisition system:
- the time base gives the sampling clock to the ADC and the time reference to the memory;
- with observation interval and memory depth the sample spacing is ;
- changing the scale changes the spacing, so the effective rate can be lower than ;
- without trigger the memory is a FIFO / circular buffer in continuous acquisition;
- the trigger event is ; the buffer keeps samples before the trigger (pre-trigger) and after it (post-trigger).
- Display: the screen works like a monitor, with raster scan and a graphic memory organised as a pixel matrix. Chain: acquisition memory, post-processing memory, graphic memory, screen.
- Typical errors:
- measuring near the bandwidth limit, where the amplitude is about 30 % low;
- using AC coupling on slow signals or DC offsets;
- ignoring probe compensation and cable capacitance;
- unstable traces from a wrong hold-off.
Teoria collegata
- Arduino in the Microelectronics Laboratory
- Function Generators and AWG
- Laboratory Instrumentation and Circuit Prototyping
- Oscilloscope Probes and Test Signals
- Course Overview and Measurement Fundamentals
- Instrumentation and Measurement Technologies
- Lab 3 - Using the Oscilloscope
- Signal Acquisition - Sampling, Conditioning and Filtering