Educational Note: Measuring With Digital Storage Oscilloscopes
Educational Note: Measuring With Digital Storage Oscilloscopes
Educational Note: Measuring With Digital Storage Oscilloscopes
oscilloscopes
Educational note
Products:
ı R&S®HMO1002
8 Reference .......................................................................................... 49
A.1 Appendix 1 The training board .....................................................................................50
The following abbreviation are used in this Educational Note for Rohde & Schwarz test
equipment:
1 Basics
Oscilloscopes are among the most versatile test instruments available for analyzing
and testing analog and digital circuits. Because they can display and analyze a broad
spectrum of electronic signals, digital storage oscilloscopes are used for a wide variety
of research and development applications.
Although modern oscilloscopes support automated assignment of all parameters, it is
essential for users to develop a fundamental understanding of the function and
operation of the test instruments. The high degree of automation over the entire
measurement process leaves many users entirely dependent on the results delivered
by the instrument, while the logic behind the measurements remains a mystery to
these users. Thorough practical knowledge is needed in order to assess the validity of
results. The purpose of this educational note is to provide the foundation for the correct
performance of typical measurement tasks.
The descriptions and exercises are applicable for modern storage oscilloscopes. The
R&S®HMO1002 as shown in Fig. 1 was used for all theoretical descriptions and
practical exercises.
The contents for this chapter are drawn in part from the manual for the R&S®RTO
oscilloscope (1) CITATION Roh15 \l 1031 and from "Oscilloscope Fundamentals" from
Rohde & Schwarz (2) CITATION Roh \l 1031.
1.1 Operation
This section introduces the most important settings for oscilloscope measurements and
describes the instrument operation. The reader should also gain a feeling for the
selection of both a suitable test setup and the necessary hardware for obtaining
reproducible and accurate results.
The timebase is set in a similar fashion using the TIME/DIV rotary knob ( Fig. 2,
right). In the example provided in Fig. 2, 10 µs is the length of one grid square.
Consequently, the duration of the displayed signal is 10 µs * 12 = 120 µs. Unlike the
amplitude scaling, this setting applies to all channels. The rotary knobs labeled
POSITION set the offsets for the vertical and horizontal systems.
For example, Fig. 3 shows the measurement of two single-ended, square-wave signals
using the HMO1002. The timebase is 10 µs. As a result, one period of the signal
measured with channel 1 (yellow, top) is 20 µs in duration. This means that this is a
50 kHz signal. As mentioned above, the timebase applies to all channels. A visual
analysis will therefore immediately lead to the conclusion that the signal acquired with
channel 2 (blue, bottom) is at one-half the frequency. On the other hand, it can also be
observed that, as a result of the different vertical scalings, there is no distinction
between the two signals with respect to the maximum amplitude, even though the
amplitude of the signal acquired with channel 1 could appear larger at first glance.
where
𝑇𝑟 Rise time of the pulse
Depending on how much accuracy is desired, 𝑓𝑘𝑛𝑒𝑒 must then be multiplied by a
constant. If an accuracy of 20 % is sufficient, then 𝑓𝑘𝑛𝑒𝑒 can be set to be equal to the
oscilloscope bandwidth, while 𝑓𝑘𝑛𝑒𝑒 must be multiplied by 1.3 for an accuracy of 10 %.
(3) CITATION Joh93 \l 1031
It is also important to remember while performing measurements that the oscilloscope
is not the only source of signal distortion. The probes being used can also be a
possible source. This is why the bandwidth of the probes must be selected with an eye
toward preserving the signal integrity of the signal under test.
The following section discusses this in more detail.
1.1.3 Probes
In a test setup, probes represent the connection between the signal source, i.e. the
DUT, and the oscilloscope. Their primary objective is to transmit the signal to the
oscilloscope in as close to its true form as possible to ensure maximum signal integrity
and measurement accuracy. To meet these requirements, selection of the appropriate
probe to match the measurement task and the hardware in use is essential. This
section provides an overview of the most important probe parameters and
characteristics.
An ideal probe would have an infinite bandwidth that would not place a load on the
circuit under test during the measurement. This would make an unadulterated analysis
of the circuit's behavior possible. However, this is not possible using any hardware
available today. That is why a check should be made before each measurement to
determine whether the expected limitations are still acceptable or whether the
permissible frequency range was exceeded. A reliable assessment is possible based
on the bandwidth and impedance of the probes being used.
Bandwidth
The combination of oscilloscope and probe creates a new system with its own
bandwidth. This can be approximated as shown in (2):
2 2
1 1 1
= √( ) + ( ) (2)
𝐵𝑠𝑦𝑠𝑡𝑒𝑚 𝐵𝑝𝑟𝑜𝑏𝑒 𝐵𝑜𝑠𝑐𝑖𝑙𝑙𝑜𝑠𝑐𝑜𝑝𝑒
The use of 10:1 probes permits the dynamic of the system and the resistive input
impedance to be increased even further. This type of probe increases the input signal
by a factor of 10. The advantage is that the oscilloscope can now display signals with
ten times the amplitude as compared with measurements using a 1:1 probe. However,
the overall system loses sensitivity, making 1:1 probes preferred over 10:1 probes for
signals with amplitudes in the several millivolt range. Some probes offer selectable
attenuation ratios, including the probe shown in Fig. 6 used for these measurements,
the R&S®HZ154. The key point is that the attenuation ratio of the probe in use must be
known to the oscilloscope to ensure that the amplitudes are displayed correctly.
Passive probes are typically characterized by a low resistive load. For measurements
in the high megahertz range, however, active probes should be used because of the
increasing capacitive load.
The following factors make passive probes suitable for general measurements in a
wide variety of applications:
ı Favorable price
ı Ability to operate without an additional power supply
ı Robust design
Passive probes additionally require an adjustment before a measurement is started.
The adjustment for low frequencies differs from that for high frequencies. The low-
frequency adjustment matches the capacitance of the probe to the input capacitance
on the oscilloscope. For example, if a 10:1 attenuation ratio is selected for the probe,
the probe will have a resistance of 9 MΩ, which in combination with the 1 MΩ input
resistance on the oscilloscope creates a voltage divider. The input capacitance of the
oscilloscope generates a lowpass for which the frequency response can be
compensated by using a highpass with the same cutoff frequency. This is why
impedance matching of the highpass must be possible using an adjustable capacitor.
The impedance matching is performed by manually adjusting the probes. For
1.2 Configuration
Once the appropriate setup has been selected for the measurement task, the
measurement can be started. Fig. 8 shows two possible test setups. In addition to the
items discussed above, the oscilloscope must be configured to optimally meet the
requirements for the measurement. This section provides the background needed to
perform these steps.
When working with the input signal, the analog-to-digital converter (ADC) is the core
component of every digital oscilloscope. In the case of the HMO1002, the ADC is an 8-
bit converter. The ADC converts the measured signal into 28 = 256 values. The
smallest voltage difference that can be displayed, which also corresponds to the least
significant bit (LSB) on the ADC, is calculated as follows:
∆𝑈𝑖𝑛𝑝𝑢𝑡
𝑈𝑙𝑠𝑏 = (3)
2𝑛
where
∆𝑈𝑖𝑛𝑝𝑢𝑡 Input voltage range
Not only the resolution of the converter, but also its speed are key factors for many
measurement tasks. The ADC samples the continuous signal at regular intervals and
at defined times. The obtained digitized values are known as samples. The sample
rate is equal to the number of samples the oscilloscope can take per second. In the
case of the HMO1002, a maximum of 1 Gsample/s is possible for one channel and 500
Msample/s in two-channel mode.
The sample rate must be sufficiently high in order to display the signal correctly. If the
selected rate is too low, aliasing errors will occur and the signal will be displayed
incorrectly. This is known as undersampling. Fig. 10 shows how a low sample rate
affects a 10 kHz input signal.
In this example, the sampling points are linked linearly; oscilloscopes typically use a
sine(𝑥)
interpolation here. The sampling rate has to be at least 2.5 times the maximum
𝑥
bandwidth of the oscilloscope. In summary, a high sample rate results in the following:
ı More precise signal reconstruction
ı Better detection of short-term anomalies (glitches). It should be noted that only the
anomalies are located within the bandwidth of the oscilloscope can be detected.
ı Higher sampling density requires a higher memory requirement.
Bandwidth and sample rate are key characteristics for oscilloscopes, and the highest
possible values should be targeted for both. Even though the two characteristics are
not physically coupled, the correct dimensioning is critical here.
To be able to faithfully reproduce measured signals the double sampling rate, ie 2 ∙
fsignal, max, according to the Nyquist-Shannon theorem, is already sufficient. Due to the
non-ideal band limitation of the oscilloscope the sample rate should correspond in
practice at least 2.5 times the bandwidth of the oscilloscope.
However, it has been shown that square-wave signals, whose transitions are often
very fast and which contain frequency components significantly higher than the Nyquist
frequency, require several times the bandwidth for reproducible measurements. For
example, the HMO1002 is available with a maximum bandwidth of 100 MHz whereas
the maximum sample rate is 1 Gsample/s.
In this context, it is important to note the following:
ı A high bandwidth can be much less useful if only a low sample rate is available.
With all of the apparent advantages, it begs the question: Why not simply always use
the oscilloscope with the highest sample rate? In addition to the obvious cost factor
represented by the converter – a higher sample rate is obtained by using expensive,
faster ADCs or multiple converters that combine the samples – this question can be
answered by looking at the memory depth.
Memory depth
Once the samples have been taken, the oscilloscope processes the sample values as
defined by its current settings. The result is transferred to the test instrument's high-
speed storage. The memory depth defines how many of these values can be saved
and thus also defines the maximum acquisition period. If a large time range is to be
acquired at the full sample rate, the oscilloscope must possess an appropriately large
memory depth. Typically, the oscilloscope measurement speed is greatly reduced if the
entire storage space is used because of the large amount of processing power
required for large volumes of data. This leads to topic of blind time as described in the
next section.
In summary it can be said that a high sample rate requires not only a fast analog-to-
digital converter, but also sufficient memory depth on the oscilloscope for trouble-free
operation. Both factors drive up the price of an instrument significantly, which is why it
is advisable to be clear about the T&M requirements before purchasing an
oscilloscope.
Update rate and blind time
The concept of an update rate was introduced to provide users with a convenient value
that defines the frequency at which the oscilloscope can take measurements. The
higher the update rate, the more acquisitions the oscilloscope can perform per second.
However, it must be remembered that a digital oscilloscope spends only a fraction of
the time actually acquiring the signal. The rest of the time, the instrument is processing
and storing the incoming data stream. For example, the HMO1002 in combination with
the 8-bit ADC must process 8 Gsample/s of data to achieve the maximum sample rate
(1 Gsample/s). Interpolation of the readings and the user-defined math or analysis
functions additionally delay the next acquisition point. During this time, the test
instrument is "blind," i.e. no new measurements can be started. As a result of this blind
time, errors and deviations in the signal are more difficult to detect and analyze.
Fig. 11 shows the acquisition cycle for a digital oscilloscope. The fixed portion of the
blind time is specific to each instrument. On the other hand, the variable portion is
dependent on the settings that have been defined for the acquisition and processing. In
this example, the instrument is processing data 99.999 % of the time. (4)
Acquisition modes
Many oscilloscopes offer at least two different acquisition modes, each of which is
intended for different applications.
Realtime mode
Because the analog-to-digital converter has always the same speed, the number of
Samples will be reduced when the measurement is performed at a slow time basis. In
this case, the sampled values are used to reconstruct the signal directly. If a faster
timebase is selected, the acquired points from the ADC are supplemented with
interpolated values.
Equivalent time mode
This mode is used to analyze signals whose frequency is high above the sampling
frequency of the converter. However, this mode requires stable, repetitive signals. An
oscilloscope operating in equivalent time mode takes points from different acquisitions
that were sampled at different points of the periodic signal and combines them into a
single display.
On oscilloscopes, the trigger is used among other things to provide a stable display of
repetitive signals. Another important application is the synchronization of the
acquisition to specific points in the signal that are of particular interest. When the
trigger is initiated, the oscilloscope generates a snapshot at that precise moment of the
current signal.
The trigger settings can be used to define the precise conditions under which a trigger
should be initiated. The trigger point is set when all of the defined requirements are
met by the signal at the same time. The oscilloscope has already continuously
acquired data points, which are then used to fill in the pre-trigger portion of the
acquisition. Once triggered, the oscilloscope acquires as many samples as required to
complete the post-trigger portion, at which point the signal can be displayed on the
monitor. Fig. 12 shows a simplified version of a digital trigger. This type of trigger
system works directly with the ADC samples. (5)
Auto mode
In auto mode, the oscilloscope uses fist the selected trigger condition. If the trigger
condition will not be fulfilled, the oscilloscope generates an asynchronous trigger that
displays the signal at random times. The advantage of this mode is that a general
assessment can be made as to whether a signal is present and what amplitude it has.
Normal mode
In normal mode, on the other hand, the oscilloscope does not refresh the monitor until
the trigger conditions have been met again. This mode is preferred if the trigger event
occurs only very infrequently.
Fig. 13 lists several settings for the edge trigger on the HMO1002 and their effects.
The arrows along the edges of the images show the horizontal and vertical position of
the trigger, which is indicated by a red circle.
In image , the trigger system is not yet set correctly. The selected trigger level is too
high, which is why a valid trigger event is not present. This setting will not generate a
stable image. The oscilloscope is apparently in auto mode, as it is displaying the
asynchronously triggered signal. In image , the trigger was set to rising edge with a
trigger level of 0 V. In image , the trigger was changed to falling edge, but the
selected horizontal offset (–10 µs in this example) is such that at first glance, it appears
to be the same as image . The final image shows that the display can also combine
rising edge and falling edge triggers. This is useful for assessing the symmetry of a
signal, for example.
Passive probes require adjustment, and the attenuation ratio must be known in
the oscilloscope!
As described in section 1.1.3, all probes must be adjusted before being used in the
measurements. On the HMO1002, this is done by pressing the Setup button in the
General grouping. In the submenu, use PROBE ADJUST to open the adjustment
wizard. Once a probe is connected as described on the monitor, the appropriate
channel must be selected. Fig. 15 shows an LF adjustment on channel 1. To perform
the HF adjustment, select NEXT STEP.
► Perform the adjustment on both channels.
Once the adjustments have been successfully completed, a check must be made to
ensure that the correct attenuation ratio for the probes is known in the oscilloscope.
First check that the switch is set to 10:1 (x10) on both probes. In the grouping for the
vertical system, use the MENU key and select PROBE on the monitor (page 2) to set
the attenuation ratio. The channel can be changed by pressing the CH1 / CH2 key.
After every preset, the duty cycle must be set again!
Note: higher class Oscilloscopes, such as R&S® RTM200 or R&S® RTO offer with
suitable probes an automatic recognition of the division ratio.
Almost every modern oscilloscope offers an autoset function that automatically
performs all necessary settings on the instrument to optimally display the signal. While
this function can be very convenient for daily measurement tasks, to increase the
educational value of these exercises it is better not to use it here. Once you are
sufficiently comfortable working with oscilloscopes, you can use autoset to get an initial
overview of the measured signal. The HMO1002 offers an education mode that
deactivates the autoset function along with all automated measurements. If necessary
this mode can be password-protected.
► Use SETUP → EDUCATION MODE (page 3) to enter education mode.
Perform all exercises in education mode!
𝑆𝐴𝑉𝐸
Press the button and select DEVICE SETTINGS → DEFAULT SETT. to reset
𝑅𝐸𝐶𝐴𝐿𝐿
the oscilloscope to the default settings.
By performing a Preset, the instrument should be reset to the default settings
before every exercise!
Throughout the exercises, you will find thought-provoking questions that will lead to a
better understanding of the exercise. The questions are in italics and indicated by the
symbol . Most of the questions can also be answered beforehand in order to prepare
for the exercises.
3 Basic measurements
In spite of all the automation of measurements, manual setup and estimation of
measurement results are still an important part of an engineer's everyday life. This
chapter provides a practical introduction into the operation of a modern oscilloscope
and the completion of basic measurement and display procedures.
3.2 Exercise
► Set the oscilloscope to the default state (PRESET).
► Set the duty cycle for channel 1 to 1:1 and for channel 2 to 10:1; see also chapter 2.
The HMO1002 has both an integrated function generator and a test pattern generator.
The function generator whose output signal can be tapped on BNC jack AUX OUT is
used for the initial measurements.
► Connect a BNC cable from the function generator to the input for channel 1.
To switch on the generator, press the UTIL button in the VERTICAL grouping and then
select FUNCTION GEN. on the monitor.
► Switch on the function generator and then use the key to exit the menu.
The function generator generates a 1 kHz sine-wave signal with a peak-to-peak
voltage of 500 mV.
The crosshair in the center of the screen, in combination with the arrows at the left and
upper edges of the monitor, indicates the current trigger position.
► Set the horizontal and vertical scaling and the trigger threshold to generate a stable
image similar to Fig. 17 on the oscilloscope.
The display of the second channel can be removed by pressing the CH2 key twice.
Fig. 17: Measuring the period and the peak-to-peak voltage of a sine-wave signal.
► Read the frequency of the sine-wave signal by counting off the grid squares
multiplied by the horizontal scaling. (Do this even if you already know it!)
By varying the vertical offset, you can obtain a display as shown in Fig. 17 , which
makes it possible to read the amplitude of the signal more precisely.
► Determine the peak-to-peak voltage of the sine-wave signal and compare your
results against the settings in the function generator.
The method used above does not provide exact measurement results. While a visual
analysis is suitable for quick estimations, cursor measurements deliver significantly
more accurate results.
After it is reset to its default settings, the oscilloscope will automatically use the edge
trigger. As you have seen, when working with sine-wave signals it is useful to trigger
on the falling or rising edge. This type of trigger is suitable for square-wave signals as
well.
► Set the function generator to a pulse signal at a frequency of 10 kHz and leave the
other parameters unchanged. Use the KEYPAD button to set the frequency.
This signal is triggered correctly with the current settings, as well.
► Adjust the horizontal scaling for optimal measurement of one pulse width.
In the CURSOR/MENU grouping, locate the CURSOR MEASURE button.
► Open the cursor menu and select the time measurement.
You can show shift the displayed markers horizontally using the SELECT rotary knob.
𝐶𝑂𝐴𝑅𝑆𝐸
The key must be pressed for fine adjustments. Pressing the SELECT rotary
𝐹𝐼𝑁𝐸
knob switches between active cursors.
► Measure the pulse width; see Fig. 18 for an example. The pulse width is measured
at 50 % of the amplitude in the steady state.
The automated measurements are suitable for quick analyses. As you have seen here,
however, the user has very little influence on these measurements. It must therefore
always be remembered for these types of measurements that even if the measurement
is automated, the plausibility of the results must be manually checked at the very least!
It can sometimes be useful to measure two signals simultaneously. The HMO1002 has
two independent inputs for this purpose.
► As shown in Fig. 16, connect channel 2 to the output S0. Always remember to
connect the probe ground wire.
Press the CH2 key to select channel 2. Repeated pressing of the CH1 or CH2 key
displays or hides the respective channel.
► Display channel 2 and hide channel 1.
The signal under test is present on channel 2. The oscilloscope must therefore know to
apply the trigger to this channel.
► Under the TRIGGER grouping, use the SOURCE button to select CHANNEL 2.
The test pattern generator is used as the signal source for channel 2. This is designed
for higher frequencies than the signal generator on the HMO1002. As a result, the
signal edges are significantly steeper.
Like the signal generator, the test pattern generator is selected using the UTIL button.
► Switch on the PATTERN GENERATOR and select SQUARE WAVE. Accept the
remaining settings without modification.
► Perform another rise time measurement on this signal and calculate the required
oscilloscope bandwidth for 10 % accuracy.
Is the HMO1002 reliable enough to perform precise time measurements on
this signal?
Next, the effect of smaller bandwidths on the measured signal will be explored.
► Set the test pattern generator to the highest possible frequency and zoom in on a
falling edge via the scaling function. (Set the trigger to falling edge.)
Press the MENU key and reduce the channel bandwidth to 20 MHz.
► Observe how the signal display changes.
What advantages might bandwidth limitation have for measurements?
What is causing the ripple in the unfiltered signal (see Fig. 21)?
► Switch off the bandwidth limiting.
Fig. 21: Comparing measurements with full bandwidth and limited bandwidth.
On the HMO1002, use the UTIL key and select XY to change to XY mode.
► What is the phase angle for the signals on your monitor?
► Change the frequency on the signal generator in small increments. What do you see
in the standard display and in XY mode?
The images generated in XY mode are called Lissajous figures.
► Set frequency ratio 3:1 and watch the resulting changes.
4.2 Exercise
Storing a reference signal:
► Set the oscilloscope to the default state (PRESET). Don't forget to set the correct
duty cycle!
► Configure the test pattern generator so that a 100 kHz square-wave signal is
generated with a duty cycle of 50 %.
► Set several periods of this signal on the monitor with channel 2.
In practice, a generated signal – and in particular its edges – might not meet the
requirements for a product. One possible correction might be to use different filters.
References are a convenient way to compare the signals acquired using different
filters.
The menu for references is opened using the REF button in the VERTICAL subgroup.
► Open the reference signal menu and select RE1.
► Use SAVE to save the signal and the following parameter configuration:
TRACE CH2
STORAGE INTERNAL
Go up one level in the REFERENCES menu and select DISPLAY to make the
reference signal visible.
The display should now look something like Fig. 25. The white signal is the saved
reference.
The oscilloscope's integrated lowpass filter is useful for simulating a filter being
switched out.
The cutoff frequency for the filter can be set based on the current sample frequency.
To make the cutoff frequency as low as possible, the oscilloscope sample speed must
be reduced.
► In the HORIZONTAL grouping, press the ACQUIRE button and select the option
RECORD MODE → MAX. WFM. RATE.
This setting will reduce the sample rate to obtain the maximum trigger repetition rate.
► In the ACQUIRE menu, select the option ARITHMETIC → FILTER.
Use the SELECT rotary knob to set the cutoff frequency within the range defined by
the sample frequency.
The current display (see Fig. 26) can now be used to visually compare the two signals.
► Experiment with the settings to find out at which harmonics of the fundamental
frequency the square-wave signal is displayed satisfactorily.
► Use ACQUIRE to return the acquisition options to the default:
ARITHMETIC REFRESH
RECORD MODE AUTOMATIC
𝑆𝐴𝑉𝐸 𝐹𝐼𝐿𝐸
The button opens a menu that permits configuration of the button.
𝑅𝐸𝐶𝐴𝐿𝐿 𝑃𝑅𝐼𝑁𝑇
Before saving the signal, the acquisition should be stopped so that the maximum
number of values is used.
𝑅𝑈𝑁
► Use the button to stop the acquisition.
𝑆𝑇𝑂𝑃
► Return to the main menu and then under the option KEY, select TRACES.
𝐹𝐼𝐿𝐸
The button is now configured so that when it is pressed, the current ADC values
𝑃𝑅𝐼𝑁𝑇
are automatically saved to the USB flash drive.
𝐹𝐼𝐿𝐸
► Use the button to save the signal trace.
𝑃𝑅𝐼𝑁𝑇
The ADC values are now available in an Excel-readable .csv format on your USB stick.
If you have a computer available to perform the assessment, you can open the file in
Excel and generate a chart using the data as shown in Fig. 28.
Saving screenshot:
Even though screenshots cannot be loaded back into the instruments like the other
formats described above, they are still a very good format for documenting
measurements.
𝐹𝐼𝐿𝐸
The easiest method is to configure the button so that it saves a screenshot to the
𝑃𝑅𝐼𝑁𝑇
USB stick. The behavior of the button can be configured in the KEY submenu of the
𝑆𝐴𝑉𝐸
button.
𝑅𝐸𝐶𝐴𝐿𝐿
𝐹𝐼𝐿𝐸
► Configure the button as described and save a screenshot to the USB flash
𝑃𝑅𝐼𝑁𝑇
drive, similar to the example in Fig. 27.
5.2 Exercise
► Set the oscilloscope to the default state (PRESET). Don't forget to set the correct
duty cycle!
You already learned about the simplest and most frequently used trigger, and you have
used it in the exercises in section 1.2.3. The additional setting options for the edge
trigger are briefly discussed here before the other trigger types are introduced.
► Configure the signal generator so that the following signal is generated:
FUNCTION SINUS
FREQUENCY 1 kHz
AMPLITUDE 500 mV
OFFSET 400 mV
► Display the signal on the monitor.
Triggerfilter:
► Use the FILTER button to open the setup menu for the edge trigger and then select
option AC.
The display should resemble that in Fig. 30. In this mode, the DC component can be
changed at will. The AC filtering ensures that the threshold value for the trigger
remains constant and the signal appears to be triggered correctly. In addition, in auto
mode the threshold value is limited within the signal automatically, which results in a
stable display of the signal even though the trigger level actually does not appear to be
set correctly as shown in Fig. 30. In normal mode, the trigger level can be shifted
above the peak values for the signal.
suppression can be switched on, in which case a 100 MHz lowpass filter is inserted
before the trigger signal.
Triggering of data bursts:
► Hide the display of channel 1 and change the training board state to as defined in
Table 2 in Appendix A.1.
The board will generate a UART signal at 115.2 kbaud.
► Use the probe connected to channel 2 to tap into the output signal at the UART/LIN
output.
► Set the oscilloscope so that you can clearly identify the individual bit lengths of a
burst in the bus signal; see also Fig. 31.
Although the individual bit lengths are easily recognized in the above screenshot, this
type of display cannot be used to decode the information contained in the
transmission. This is because the oscilloscope triggers on random edges within the
burst. You could either press the SINGLE key in the TRIGGER grouping to initiate a
single acquisition and then use the oscilloscope memory for analysis or you could set a
hold-off time.
The hold-off setting permits the trigger to initiate only after a defined time period. This
ensures that the oscilloscope always triggers on the first falling edge (the start bit) of
the entire burst. In the example of the bus transmission, a time period should be
defined that lies between the length of a burst and the timespan between two bursts.
► Set the horizontal scaling to permit you to estimate the length of a burst and the
timespan between the bursts.
Use the TYPE key to set the trigger type and the hold-off time.
► Set the hold-off value to be a time lying between your two estimated values.
The bus transmission is now displayed with the correct triggering and you should also
be able to see the differences between individual bursts in the form of alternating bits.
The transmission acquired with a hold-off time is shown in Fig. 32.
► Turn off the hold-off time.
Another trigger form that can now be introduced is the pulse trigger.
This trigger is especially suited to square-wave signals. The many possibilities for
configuring this trigger make it possible to trigger on specific ranges within a
transmission.
The training board can simulate several bus standards as well as different types of
signal errors.
Complex digital circuits are prone to glitches. Glitches cause momentary false
interpretation in logic circuits and a temporary distortion of a Boolean function. They
arise because the signal transient times in the individual logic gates are never
completely equal or by crosstalk. ► Switch the board to state as shown in Table 2 in
Appendix A.1 and use the probe to tap into the signal at the SIGNAL output.
► Use the edge trigger to set the oscilloscope so that several pulses are displayed.
The glitch cannot be detected with these settings even though it appears 100 times per
second. If a glitch is suspected in a signal, the sample rate should be reduced in order
to achieve the highest possible rate of trigger events. This reduces the dead time3
between the measurements and increases the odds of acquiring even rare signal
errors. As described in section 4.2, the HMO1002 offers MAX. WFM. RATE mode.
► Switch to this mode for the maximum signal repetition rate.
The signal errors cannot be detected with the naked eye because of their very short
duration, even with this setting. The HMO1002 offers the option of continuing to display
signals on the monitor for a defined time after the trigger event. In this case, the display
is not updated with the latest acquisition after every trigger event. Instead, a static
image consisting of many acquisitions is displayed.
𝐼𝑁𝑇𝐸𝑁𝑆
This mode is called PERSISTENCE and can be called using the button.
𝑃𝐸𝑅𝑆𝐼𝑆𝑇
This makes it possible to identify the shape of a glitch. With this information, the pulse
trigger can be configured so that it reliably triggers on the transmission error.
► Make a note of the pulse width of a glitch at the height of the trigger threshold.
► Return all PERSISTENCE settings to their original values.
► Make the following settings for the trigger:
TYPE PULSE
FILTER POLARITY POSITIVE
COMPARISON ti < t
TIME t Width of the glitch < t < pulse width
The trigger will now search for a pulse that has a duration shorter than the specified
timespan. Because only the searched glitch matches this condition, the oscilloscope
reliably triggers on the interference, as seen in Fig. 34.
In the case of digital signals, runts can occur in addition to glitches. These are normally
shaped pulses that do not have the necessary amplitude. Runts can cause logical 1
not to be recognized correctly, leading to incorrect processing of a data message.
Because the signal errors occur only rarely, a maximum update rate should be used
once more.
► Switch the board to state as shown in Table 2 in Appendix A.1.
► Repeat the glitch analysis steps in order to get an idea of the error properties.
After you have an idea of the shape of the faulty pulse, the trigger must be set so that
the oscilloscope will reliably trigger on the runts.
Some oscilloscopes offer a special runt trigger for this situation, although this is not
offered by the HMO1002. The properties of runts make the procedure used for
triggering on glitches ineffective for runts. Runt triggers analyze the height of a pulse in
order to correctly initiate the trigger.
The following procedure can be used for the pulse trigger in this situation: If the trigger
threshold is set high enough, i.e. over the maximum amplitude of a runt pulse and
under the amplitude of the other pulses, then an unusually long time will pass without a
pulse. The trigger system evaluates this time period as a segment with negative
polarity.
► Turn off the PERSISTENCE settings and configure the pulse trigger so that a stable
image similar to that in Fig. 35 is generated.
6.2 Exercise
► Set the oscilloscope to the default state (PRESET). Don't forget to set the correct
duty cycle!
Before beginning the exercise, configure the oscilloscope to use the maximum sample
rate.
► Switch the oscilloscope to MAX. SA. RATE mode.
► Press the FFT button under the ANALYZE grouping.
The screen is split into two panes; see Fig. 37. The upper pane ( ) displays the
previously defined voltage-time trace for the measured signal and the settings for the
horizontal system.
The zoom and position information is displayed in between the two panes ( ). Only the
signal segment that is displayed on the monitor and bound by the two vertical white
lines is used for the FFT.
What does the frequency spectrum for a sine-wave signal look like if its
maximum amplitude lies far above the displayed range as a result of the
vertical system being set incorrectly?
The lower pane ( ) shows the result of the FFT analysis and the associated settings:
Span shows the size of the currently displayed frequency range. The span, timebase
and selected segment are directly linked to one another. As the selection for the
timebase and the range in the time domain displayed between the two vertical lines
increases, so too decreases the frequency band that can be set.
Center defines the frequency at the center of the segment displayed on the monitor.
The minimum step size ∆𝑓 can be set indirectly via the number of points.
Press the TIME/DIV rotary knob to switch between the panes. The currently active
pane (time domain, selected signal segment for the FFT or frequency domain) is boxed
in white. The rotary knobs are assigned different tasks depending on the currently
KNOB
MODE VOLTS/DIV + Offset TIME/DIV + Offset
Voltage range (total)
Time domain Timebase (s/div)+Position
of the signal segment
Voltage range (total) Width of the signal
Signal segment
of the signal segment segment for the FFT (ms)
Voltage scaling (V/div)
Frequency domain Frequency band (Hz)
in the spectral display
active pane:
Table 1: Controls in FFT mode
A sine-wave signal is initially measured as an output signal from the signal generator.
► Set the following on the function generator:
FUNCTION Sinusoid
FREQUENCY 50 kHz
AMPLITUDE 350 mV (Vpp)
► Set the timebase for the oscilloscope to 500 µs and select a maximum signal
segment for the FFT.
► Select the minimum frequency band for these settings and verify that the spectrum
of the sinusoidal signal is displayed correctly.
Press the FFT button to open the menu again.
► Display the result in dBV; see Fig. 38.
The HMO1002 offers four different window functions.
► Explain why the window functions are needed, and explain the differences between
the various functions. (For detailed information please see the HMO1002 manual)
► Compare how each of the window functions affects the spectrum.
Clocksignal:
The training board provides a 10 MHz clock in all operating modes. Use a probe to tap
into this clock pulse.
► Accept the following settings:
TIME BASE 1 µs
VOLT RANGE 500mV
SPAN 100 MHz
POINTS 131072
As can be assumed for a square-wave signal, only odd harmonics of the fundamental
frequency are present.
What is the rule that says that the amplitudes decrease for a square-wave
signal?
As seen in Fig. 39, FFT mode also supports cursor measurements.
► Measure the amplitudes of the harmonics and verify your assumptions.
MIC-Signal:
The training board is equipped with a microphone. This hardware can be used to make
acoustical signals visible on the oscilloscope and available for analysis using the FFT
function.
The output signal from the microphone is differential. Two outputs, MICP and MICN,
are therefore available. In the next chapter, you will learn how to measure these
signals differentially using the oscilloscope. For this exercise, it is sufficient to tap into
the MICP signal.
► Switch the board to state as shown in Table 2 in Appendix A.1.
The image at the left of Fig. 40 shows the measurement of a 1 kHz sine-wave signal
generated by a smartphone. The screenshot in the right half of the figure was acquired
during playback of an .mp3 file. In this image, the attenuation of the higher frequencies
by the format is visible.
If the source is located directly at the microphone, the volume can be set very low.
Fig. 40: Measuring different signals using the training board microphone.
The optimum settings depend on the signal source. For the measurements in Fig. 40,
the following configuration was used:
TIME BASE 10 ms
WINDOW WIDTH 78.64 ms
SPAN 50 kHz
CENTER 5 kHz
7.2 Exercise
► Set the oscilloscope to the default state (PRESET). Don't forget to set the correct
duty cycle!
UART-Bus:
As an example for a simple bus transmission, let us take a closer look at the UART
signal from section 5.2. The following values are defined for the transmission:
THRESHOLD 1.65V
BIT RATE 115.2Kbps
STOP BITS 1
DATA BITS 8
PARITY None
BIT ORDER LSB First
POLARITY Idle High
The CAN bus standard was developed in large part for use in the automotive arena.
For this application, immunity to noise is very important. Therefore, systems like the
RS232 interface are not possible here.
In the CAN bus, differential signals are used to suppress common-mode disturbances.
Even if the passive probes are designed only for measurements relative to the ground
potential, they can still be used to measure differential signals. Basically, when a
differential signal is received, the negative component is subtracted from the positive
component. This task can be undertaken using the oscilloscope test setup shown in
Fig. 41.
► Switch the training board to state as shown in Table 2 in Appendix A.1.
► Use channel 1 to measure the CAN_H signal and channel 2 to measure CAN_L.
Superimpose the two signal components on the oscilloscope display over the length of
the packet.
► Press the MATH key under the VERTICAL grouping on the edge of the monitor and
select SUB instead of ADD in the menu.
With these settings, the signal measured with channel 2 is subtracted from channel 1
and the actual bit sequence is displayed as a red signal; see Fig. 44.
What other advantages of differential transmission can be seen in Fig. 44?
► Calculate the bit rate for the transmission.
CAN bus signals also do not require a separate clock signal. Multiple nodes are
connected to the bus simultaneously. A wired AND connection makes it possible for
these nodes to detect conflicts and respond appropriately.
You can then analyze the previously analyzed CAN bus signals similar to the UART
transmission using the HMO1002.
► Set up an automated CAN bus measurement for the current signal on the
oscilloscope. Use your previously calculated bit rate for the configuration.
The current trigger settings will not permit a stable display of the CAN signal. However,
by using the automated bus measurements, a new trigger type is available:
The structure of a CAN frame is briefly described here based on Fig. 45.
A single, dominant bit indicates the start of a frame.
This is followed by the identifier (dID), which displays the content of the data message.
The identifier does not provide the destination; instead the receivers decide whether
the data message is relevant for them.
The identifier is followed by the control field, which specifies the number of bytes in the
current frame. In the example, the receiver is expecting two bytes of information that
the oscilloscope has identified as data.
Finally, a CRC code is sent for error detection. (6) CITATION Rob91 \l 1031
During the analysis of a bus transmission, faulty data packets are of particular interest.
The manual analysis of all received transmissions is not practicable in this case. The
HMO1002 offers special trigger settings for this purpose that permit reliable and rapid
detection of various types of errors.
► Set the oscilloscope up with the optimal trigger and acquisition mode to detect rare
events with the highest level of probability.
► Under FILTER, select the following for the current trigger type:
ERROR CRC
If you shift the horizontal trigger position slightly, you will get a display as shown in Fig.
46. With these settings, the oscilloscope reliably detects the faulty CRC sequence
received every three seconds.
8 Reference
[1] 1. Rohde & Schwarz GmbH & Co. KG. R&S®RTO Digital Oscilloscope - User
Manual. [Manual] München : s.n., 2015.
[2] 2. —. Oscilloscope Fundamentals - Primer. Columbia : s.n.
[3] 3. Johnson, Dr. Howard W. and Graham, Dr. Martin. High-speed Digital Design
– A Handbook of Black Magic. s.l. : Pearson Education, 1993.
[4] 4. Rohde & Schwarz GmbH & Co. KG. The Impact of Digital Oscilloscope Blind
Time on Your Measurements. München : Rohde & Schwarz GmbH & Co. KG,
2011.
[5] 5. —. Benefits of the R&S®RTO Oscilloscope's Digital Trigger. 2012.
[6] 6. Robert Bosch GmbH. CAN Specification Version 2.0. Stuttgart : s.n., 1991.
Fig. 47 shows the training board used in sections 3.2, 5.2, 6.2 and 7.2. The items used
in those sections are boxed in red and the used outputs (as well as the microphone
input) are identified on the board. To acquire the "Demo Board Time Domain
Measurements" (Service Part No. PW0002.9763.00), please contact the local Rohde &
Schwarz sales representative or service center.
www.rohde-schwarz.com