Several tips for flexibly using the trigger function of an oscilloscope

Publisher:cxx7848653Latest update time:2015-08-13 Source: ck365Keywords:Oscilloscope Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
When every engineer first starts using an oscilloscope, they start by measuring the signal quality of the most basic digital signal. Find a board, connect a clock signal, a data signal, and measure their maximum/minimum voltage (Max/Min), setup/hold time (Setup/Hold Time), rise/fall time (Rise/Fall Time) and other basic parameters. Experienced engineers are familiar with the measurement of these basic parameters and know how to measure them, but many friends don’t know that if they can flexibly use the various trigger functions of the oscilloscope to assist, the measurement time will be greatly shortened and the measurement results will be more accurate. Let’s take a look at some classic applications of the oscilloscope’s trigger function in signal quality measurement.

The oldest and most classic trigger - the inspiration brought to us by edge trigger

Edge triggering has been inseparable from oscilloscopes since their birth. The earliest analog oscilloscopes only had one trigger function, which is edge triggering. Edge triggering is very simple and commonly used, so many engineers have used oscilloscopes for several years without realizing that it is a trigger function. Edge triggering includes rising edge triggering and falling edge triggering. Taking rising edge triggering as an example, the trigger of the oscilloscope will compare the voltages of the two points before and after the trigger level (Trigger Level). When the voltage of the latter point is higher than the former point, it will be judged as a rising edge trigger; the opposite is true for falling edge triggering.

Measuring the maximum/minimum voltage (Max/Min) of a signal is a common measurement item. There are two commonly used methods. One is to use the automatic measurement of the oscilloscope directly, turn on the statistics function, and find the maximum/minimum value. The second is to turn on the infinite afterglow of the oscilloscope, accumulate for a period of time, and then use the cursor to measure the maximum/minimum value. However, both methods have a small disadvantage, that is, it is impossible to intuitively see the waveform corresponding to the Max/Min voltage. For debugging, it is more desirable to clearly see the worst waveform so as to find debugging ideas. Using traditional edge triggering, by adjusting the trigger level of the edge trigger, we can easily see the waveform corresponding to the maximum/minimum voltage and measure it.

Select rising edge trigger and set the trigger mode to Normal (Note 1). Then slowly increase the trigger level until the trigger event becomes very rare (the on/off interval of the Trig'd green indicator on the oscilloscope panel becomes significantly longer or the screen waveform refresh speed becomes significantly slower), which means that the voltage rise is at the limit position, and the waveform at the trigger point is the waveform of the maximum voltage. Similarly, select falling edge trigger and lower the trigger level to accurately locate the waveform corresponding to the minimum voltage.

 

 

Figure 1: When measuring, the trigger level is usually at 50% of the peak-to-peak value, making it difficult to trigger the waveform corresponding to the maximum/minimum voltage

 

 

Figure 2: By adjusting the trigger level, the maximum voltage can be clearly seen.

Tips for Setup/Hold Time Measurements

Setup/hold time measurement is a very troublesome project. This measurement is too random. You may get a very good result this time, but the next time you measure it, it may be far beyond the specification. What test engineers are most worried about is that their measured results are inconsistent with the customer's measurement results and are questioned. How can they find the worst condition as the measurement result and leave the customer speechless? Many engineers use the method of repeating the measurement several times and taking the worst value as the measurement result. This limited enumeration method has certain desirability, but it is still very random. A better way is to use the setup/hold time violation trigger function of the Tektronix oscilloscope to directly find the worst setup/hold time. It can not only greatly save measurement time, but also ensure the persuasiveness of the measurement results. [page]

The principle of setup/hold trigger of Tektronix oscilloscope is that when the trigger detects a violation of setup time or hold time of the data signal (less than the set value), the oscilloscope will trigger. When we need to measure setup time, set the hold time limit to 0 (to ensure that the hold time will not be violated), slowly lower the setup time limit, and when the trigger event becomes rare, the worst setup time can be located, and then we can measure. Similarly, when measuring hold time, set the setup time limit to 0, and adjust the hold time limit to locate the worst hold time.

 

 

Figure 3: Setup/Hold trigger is a great aid in measuring setup/hold time

Another way to measure rise/fall time

The measurement of rise/fall time can also be assisted by triggering to intuitively see the waveform with the worst rise/fall time. Select the trigger mode as Transition trigger, enter the low voltage and high voltage values, and select the trigger condition as "Greater Than", that is, trigger when the transition edge time is greater than the set value. Then slowly increase the set value until the trigger event becomes rare, and you can accurately trigger the waveform with the largest rise/fall time.

 

 

Figure 4: Using edge time triggering to locate the worst rise/fall time waveform

Finding long pattern events in high-speed serial buses

The code patterns in high-speed serial buses are complex and changeable. Different code patterns often have different signal characteristics. For example, at the receiving end, the voltage amplitude of the transition bit is often low, while the amplitude of the non-transition bit is high. Too long continuous 1 or continuous 0 may cause voltage drops. Sometimes we hope to observe and measure the status of some specific code patterns, such as the code pattern when there are more than 4 consecutive "1" or "0". At this time, we can use the pulse width trigger (Pulse Width Trigger) or the timeout trigger (Timeout Trigger) to locate the code pattern of interest.

The so-called pulse width trigger means setting the upper and lower limits of the pulse width respectively. When the pulse width is between the upper and lower limits, the oscilloscope will trigger. Taking the PCI-E generation 2.5Gbps signal as an example, when we want to trigger more than 4 consecutive "1", we can set a lower limit (such as 1.4ns) that is less than 1.6ns (the standard pulse width of 4 bits in a row) and greater than 1.2ns (the standard pulse width of 3 bits in a row), set an upper limit greater than 1.6ns, and select the positive pulse as the pulse type, and then it can be accurately triggered. The timeout trigger is similar to the pulse width trigger, the difference is that the timeout trigger only needs to set the lower limit of the width, without setting the upper limit. In this example, both triggering methods are feasible.

 

 

Figure 5 Using pulse width trigger to locate long "1" pattern

Keywords:Oscilloscope Reference address:Several tips for flexibly using the trigger function of an oscilloscope

Previous article:How to distinguish between analog bandwidth and digital real-time bandwidth of oscilloscope
Next article:Application of Tektronix Mixed Domain Oscilloscope in Embedded Systems with Wireless Function

Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号