Electronic Design
part2promo.jpg

Oscilloscope Triggering Advanced Course: Advanced Trigger Modes, Part 2

This second entry in the Oscilloscope Triggering Advanced Course focuses on advanced edge-based trigger modes as well as several other modes.

Download this article in .PDF format
This file type includes high-resolution graphics and schematics when applicable.

Welcome to the Oscilloscope Triggering Advanced Course! In this series, I will walk you through the details of every corner of real-time oscilloscope trigger systems, and by the time we’re done, you’ll never need that AutoScale button again! Your co-workers will be stuck in the lab staring at auto-triggers all weekend while your scope is catching glitches and protocol packets automagically and emailing you the results! 

We’re going to start off by talking about advanced trigger modes. These are the different operational modes you choose first when setting up your trigger, with each mode having different options. Broadly speaking, most advanced trigger modes fall into three categories—pulse modes, pattern modes, and edge modes—and we’ll discuss each in detail. Part 1 focused on pulse and pattern modes. In Part 2, I’ll focus on advanced edge-based trigger modes as well as a few other common advanced modes that don’t really fall into any of the other categories. Ready to get started?

Edge Modes

Unlike pulse- and pattern-based modes, which are fairly standardized, edge-based trigger modes are a little tougher to cover in-depth because they differ quite a bit from scope to scope. In general, advanced edge-based trigger modes fall into three categories:

• Single edge

• Timed edge

• N-edge

The names and available input parameters for these modes vary significantly from scope to scope, as does their availability in general. I’ll discuss each category briefly and provide a few examples.

Single edge

So, I know what you’re thinking—regular old edge trigger is hardly “advanced”—and you’re absolutely right.  However, a few options for single-edge trigger modes on newer scopes provide advanced functionality worth mentioning here:

Either/alternating edge: Typically selected as an option when setting up regular edge trigger, either/alternating-edge functionality allows you to specify that the scope should trigger on either edge (rising or falling), or that it should alternate between edge polarities for each trigger event (e.g., rising/falling/rising/falling, etc.). Either edge mode can be handy when you don’t really know what the signal is going to do, but you want to make sure you catch it. Alternating edge mode is useful for looking at rising and falling transitions plotted on top of each other (it’s also used under-the-covers to plot real-time eye diagrams!).

OR’d edges: Often simply called “OR” mode, this mode allows users to specify different edge polarities on different input channels and trigger whenever there’s an occurrence of any of these events. I classify this as a single-edge trigger because even though the user may specify many inputs, only one of those inputs generates a particular trigger event.

1. Here, the OR trigger mode is being configured on a Keysight InfiniiVision 4000 X-Series oscilloscope. Note from the edge-pattern definition in the lower left corner that we have told the scope to trigger any time a rising edge occurs on channel one, a rising edge or falling edge occurs on channel three, or a falling edge occurs on digital channel D5.

 

Timed edge

Of all the advanced edge-based modes, timed edge, also referred to as “edge transition,” “risetime,” and “slew rate,” is the most common across different scope models. The user specifies an input channel, an edge polarity, two vertical thresholds, at least one time parameter, and a parameter that defines how the measured edge transition time should be compared with the input time parameter(s). This mode is actually quite similar to pulse-width mode, but instead of applying the time comparison to a pulse width, we’re applying it to an edge transition time.

2. The Trigger setup dialog on a Keysight Infiniium S-Series oscilloscope is configured for edge transition trigger mode (one of the names for the timed-edge class of modes). We’re specifying that the scope only trigger when a rising edge passes through the low threshold (–320.0 mV) followed by the high threshold (320.0 mV) and the time it takes to transition between them is less than (as selected in the “Trigger On” dropdown) 300 ps.

 

3. This screenshot shows the edge-transition trigger configured in Fig. 2 on the Infiniium S-Series oscilloscope. Note the “Th” and “Tl” vertical threshold markers.

 

N-edge

This is where things get a bit confusing. Most newer oscilloscope models provide at least one trigger mode based on the idea of counting multiple edges. The names of these modes, their features, and available configurations vary significantly from scope to scope. In general, these modes typically have an “arm” event followed by a “trigger” event. They may also have an intermediate delay event in between the arm and trigger events. This probably sounds familiar to those accustomed to trigger sequences (we’ll talk about trigger sequences in depth in a later article). Various scopes refer to these trigger modes as “edge-then-edge,” “nth edge,” “interval,” “dropout,” etc.

4. This figure shows the Trigger setup dialog for edge-then-edge trigger mode on an Infiniium S-Series oscilloscope. Edge-then-edge mode is one example of an n-edge trigger mode and can be configured to catch a variety of complex conditions. In this example, we only want the scope to trigger if it sees one falling edge on channel one, followed by 20 rising edges on channel 3, followed by one rising edge on channel two. Note that this mode doesn’t include any reset functionality. Therefore, the scope will still trigger as soon as all of the conditions are met, in order, regardless of any other events occurring or the amount of time that passes between the arm, delay, and trigger conditions becoming true.

 

5. We see the edge-then-edge trigger we configured in Fig. 4. The final “trigger on” event will always be the trigger point.

 

Other Advanced Modes

Two fairly common advanced trigger modes don’t cleanly fall into any of the above categories: timeout and window.

Timeout mode

Timeout trigger mode is similar to pulse-width mode, with the greater-than time condition locked in. The main difference is that with timeout, a trigger will be generated after an edge is detected, when no other transition is detected for a duration of time greater than a time parameter (the “timeout” time). The user specifies the input channel, vertical threshold, polarity (“high-too-long,” “low-too-long,” etc.), and time parameter.

6. This screenshot shows the Trigger setup dialog for timeout trigger mode on an S-Series oscilloscope. We’re specifying that we only want the scope to trigger if channel one rises above –250.0 mV and doesn’t fall back below –250.0 mV for greater than 4.0 ns.

 

7. This is the timeout trigger we configured in Fig. 6 on the S-Series oscilloscope. Note that the trigger point is the “timeout” point—the instant that the timeout time parameter expires (in this case, 4.0 ns after the rising edge).

 

Window mode

Window mode, like pattern mode, is somewhat of a “super mode”—in some scopes, it can encompass many different variants. The general idea with window mode is that the user specifies an input channel and two vertical thresholds. The area between the two thresholds is the “window.” Depending on the scope, the user will be able to choose to trigger when the signal “enters” the window (when it transitions from outside the region bounded by the thresholds to inside it), exits the window, or is inside or outside the window for greater or less than a specified amount of time.

8. Shown is the Trigger setup dialog for window trigger mode on an S-Series oscilloscope. We’re specifying that we only want the scope to trigger if the signal on channel one transitions from outside of the region (the “window”) bounded by the specified low and high thresholds (–200.0 mV and 50.0 mV, respectively) to inside it (hence “entering,” as selected in the “Trigger On” dropdown).

 

9. In this case, we see the window-enter trigger configured in Fig. 8. Note the two vertical threshold markers “Th” and “Tl.” The trigger point here is when the signal on channel one rises past the lower threshold marked by Tl.

 

Conclusion

By now you probably think you know all there is to know about oscilloscope triggering. However, this review of common advanced trigger modes really only scratches the surface. In the next article, we’ll dive into protocol triggering. Stay tuned!

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish