Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

Chapter 15

Limit Testing

Specifying a Limit Using a Formula

You can specify limits using formulas. Such limits are best classified as segmented limits. Each segment is defined by start and end frequencies and a formula. For example, the ANSI T1-413 recommendation specifies the limits for the transmit and receive spectrum of an ADSL signal in terms of formula. Table 15-1, which only includes a part of the specification, shows the start and end frequencies and the upper limits of the spectrum for each segment.

Table 15-1. ADSL Signal Recommendations

 

 

Maximum (Upper Limit)

Start KHz

End KHz

Value (dBm/Hz)

 

 

 

 

 

 

0.3

4.0

–97.5

 

 

 

4.0

25.9

–92.5 + 21.5log2(f/4000)

 

 

 

25.9

138.0

–34.5

 

 

 

138.0

307.0

–34.5 – 48.0log2(f/138000)

 

 

 

307.0

1221.0

–90

 

 

 

The limit is specified as an array of a set of x and y points, [{0.3, 4.0}{–97.5, –97.5}, {4.0, 25.9}{–92.5 + 21.5log2(f/4000), {–92.5 + 21.5log2(f/4000)}, …, {307.0, 1221.0}{–90, –90}]. Each element of the array corresponds to a segment.

Figure 15-2 shows the segmented limit specified using formula as shown in

Table 15-1. The x axis is on a logarithmic scale.

Figure 15-2. Segmented Limit Specified Using Formula

© National Instruments Corporation

15-3

LabVIEW Measurements Manual

Chapter 15

Limit Testing

Limit Testing

After you define your mask, you acquire a signal using a DAQ device. The sample rate is set at 1/dx S/s. Compare the signal with the limit. In step 1, you create a limit value at each point where the signal is defined. In step 3, you compare the signal with the limit. For the upper limit, if the data point is less than or equal to the limit point, the test passes. If the data point is greater than the limit point, the test fails. For the lower limit, if the data point is greater than or equal to the limit point, the test passes. If the data point is smaller than the limit point, the test fails.

Figure 15-3 shows the result of limit testing in a continuous mask case. Here, the test signal falls within the mask at all the points it is sampled, other than points b and c. Thus the limit test fails. We do not test point d because it falls outside the mask.

Figure 15-3. Result of Limit Testing with a Continuous Mask

LabVIEW Measurements Manual

15-4

www.ni.com

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]