Information
-
Patent Application
-
20020183952
-
Publication Number
20020183952
-
Date Filed
April 12, 200123 years ago
-
Date Published
December 05, 200222 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
A data path evaluation system and method is described wherein the data path can be a voice signal path and the reference signal can contain white gaussian noise.
Description
BACKGROUND
[0001] This embodiment of the invention relates to evaluation of data paths in devices, and more particularly to evaluation of voice data paths in telephony network devices.
[0002] As new hardware designs are implemented, both in data processing networks in general and in telephony voice processing networks in particular, it is important to be able to validate the reliability and integrity of the data path. In digital telephone emulation systems a significant portion of the hardware front-end is dedicated to handling the voice data path. With the high complexity of such hardware, the likelihood of loss of signal integrity is increased. Generally, a listening test does not provide enough information to validate the reliability and integrity of this path. Errors in this processing may go undetected by typical subjective audio quality tests. In addition, a listening test rarely provides information to what the source of a problem may be.
[0003] Therefore, it would be highly desirable to quantitatively evaluate the hardware design in a manner which enables identification of the source of the problems.
BRIEF DESCRIPTION OF THE DRAWING FIGURES
[0004]
FIG. 1 is a block diagram of a general form of a data path evaluation system according to one embodiment of the invention;
[0005]
FIG. 2 is a block diagram of a data path evaluation system according to one embodiment of the invention;
[0006]
FIGS. 3 and 4 are block diagrams illustrating an alternative form of a data path evaluation system according to one embodiment of the invention;
[0007]
FIG. 5 is a block diagram illustrating another alternative form of a data path evaluation system according to one embodiment of the invention;
[0008]
FIG. 6 is a block diagram illustrating a data path evaluation method according to one embodiment of the invention;
[0009]
FIG. 7 is a graph including waveforms further illustrating the alignment stage in a method according to one embodiment of the invention; and
[0010]
FIGS. 8A and 8B are schematic block diagrams further illustrating a filter compensation stage in a method according to one embodiment of the invention.
DETAILED DESCRIPTION
[0011]
FIG. 1 shows a general form of the data path evaluation system according to the invention. A device under test 10 (DUT) has a data path or channel 12 therethrough which may have two ends. Device 10 also may have a plurality of ports, two of which are designated 14 and 16 in FIG. 1. The system of FIG. 1 also includes a device 20 to provide a signal path of the type to which the DUT 10 will be operatively coupled during use. In a telephony application, device 20 can comprise a telephone switch such as a private branch exchange (PBX). In a telephony emulation application, device under test 10 is the front end hardware having a PBX interface portion 24 and a system interface portion 26. Port 16 of DUT 10 may be connected via a signal path 30 to port 32 of device 20. Device 20, of course, may have other forms such as the Internet or any device providing an appropriate signal transmission path or channel.
[0012] The data path evaluation system of FIG. 1 further comprises a host arrangement to provide a test signal and to define play and record paths. In the system shown, the host arrangement may include the combination of a device under test host (DUT Host) 40, a test or captive host 42 and a test or captive device 44. The DUT Host 40 may be a personal computer or an embedded processor. The test host 42 in the system shown may be a separate host, although as will be shown presently it may be the DUT Host. The test or captive device 44 may be the same device as DUT 10, an additional device similar to DUT 10 or another device that interfaces to PBX 20 and that can capture voice signals and put voice signal patterns on the line. An example of the latter is the voice product commercially available from the Voice Technologies Group division of Dialogic Corporation under the trademark iPOD. In a manual rather than automated approach, host 40 and device 44 could even be the combination of a scope and a signal generator and vice-versa. The DUT Host 40 may be connected to port 14 of DUT 10. Test host 42 and capture device 44 may be operatively connected as shown, and capture device 44 may be connected to port 48 of PBX 20.
[0013] The data path evaluation system and method evaluates a device under test based on captured data at both the input and output of the device while the device is not in normal service. This data is captured for two cases in order to test both the transmit hardware and the receive hardware. The evaluation applies signal processing algorithms on the audio samples, as will be described in detail presently, in order to provide objective results. Thus, in the arrangement of FIG. 1, once a test connection is established, the setup should have the ability to record voice signals from both sides of DUT 10 as well as to play voice signals from both sides of DUT 10.
[0014] It may be desirable to have access to the data at points adjacent both ends of DUT 10. However, for physical accessibility reasons, this may sometimes be difficult to obtain. Additionally, it is ideal if the path through device 20 does not affect the voice data. Again, this may not always be the case. In particular, when device 20 is a PBX the signal transmission path will have some acceptable amount of distortion or degradation. For these reasons, the tests must be able to allow for that amount of degradation. In other words, the tests should not interpret this amount of degradation as being unacceptable. The test device 44 and test host 42 may be used in order to capture the data while host 40 generates the data, and their roles may be reversed. Any equipment that can perform this same function may replace these.
[0015] The tests carried out using the system and method make the following assumptions. The foregoing acceptable amount of distortion provided by PBX 20 may consist of DC offsets and AC gains with small amounts of noise, filtering, or other disturbances. The PBX 20 must pass data through such that audio quality degradation is minimal. The algorithms should handle any distortion that the PBX 20 adds. Additional devices, such as voice processing boards, which are in or connected to the test setup, pass the data through either unmodified, or with typical 300 to 3000 Hz filtering.
[0016] Several alternatives are available for data collection. These may be target dependent. One method is to use the computer file containing the test signal exactly as is for the source. However, this may not be ideal since the data may get changed before it is presented to the input of DUT 10. Another method would be to capture the data at the input of DUT 10, using a logic analyzer. A logic analyzer is a device designed to capture patterns of data or voice signals. This method provides a good data source, however it may require custom setup of the logic analyzer, which is system dependent.
[0017] The sink or DUT output may be captured in ways much like the source. One option is to capture the data through the PC, i.e., DUT Host 40, and some sort of record operation. Again there could be some difference between the captured data computer file and the DUT output that does not get accounted for. The advantage with this method is the ease of implementation. The other methods of capturing directly on the DUT output are equivalent to the source capture methods of DUT input.
[0018] An example of a setup of these tests is shown in FIG. 2. This setup assumes a multi-port DUT 60 that is capable of making a connection from one port to another. In this setup, an audio computer file may be played on the first port while being recorded on the second port. The computer files may be compared directly on the DUT Host 62. The ports of DUT 60 may be connected to DUT Host 62 and to PBX 64 as shown.
[0019] In cases where the setup of FIG. 2 cannot be used, the arrangement of FIGS. 3 and 4 provides an alternative. The device under test (DUT) 70 has a data path 72 therethrough, PBX 74 is similar to PBX 20 of FIG. 1 and PBX 64 of FIG. 2, and capture device 76 is a device that interfaces to PBX 74 and that can capture voice signals and put voice signal patterns on the line. An example of device 76 is the voice product commercially available from Voice Technologies Group division of Dialogic Corporation under the trademark iPOD. DUT host 80 may be a personal computer or an embedded processor. Test host 82 may be a separate host and likewise may be a personal computer or embedded processor.
[0020]
FIG. 3 illustrates a sink setup wherein capture device 76 may be used to record from DUT 70. In this setup, DUT host 80 may provide a play signal function 84 and test host 82 may provide a record signal function 86. FIG. 4 illustrates a source set up wherein capture device 76 is used to play into DUT 70. In this setup, DUT host 80 may provide a record signal function 90 and test host 82 may provide a play signal function 92. In both setups, the computer files containing the voice signals of interest may be collected on either DUT host 80 or test host 82.
[0021] The setup of FIGS. 3 and 4 also may be used in situations where the data path passes through the transmit and receive of the device under test and it is desired to isolate these paths in order to track down a problem.
[0022] The setup of FIGS. 3 and 4 requires connecting a capture device like device 76 to the same PBX as the device under test. For cases where connecting a capture device like device 76 to the same PBX as the DUT is not possible, the setup of FIG. 5 provides an alternative. In this setup, the two DUTs 100 and 102 may be used to perform the test. Both DUTs 100 and 102 are identical and are connected to PBX 104. Identical DUT hosts 106 and 108 are provided and connected to the DUTs 100 and 102, respectively. DUT hosts 106 and 108 may be personal computers or embedded processors. DUT host 106 may provide a record signal function 110 and DUT host 108 may provide a play signal function 112.
[0023] Evaluation of the voice data path requires that two samples of audio be obtained. A source signal should be played into one end of the data path and then recorded at the other end. The formats of the computer files containing the signals should be similar and should represent what is seen at the endpoints of the DUT as best as possible. The source signal should be white gaussian noise (WGN) where the length of the computer file is much greater than the expected time between errors. A WGN signal is chosen such that it can properly be aligned. The standard deviation of the signal should be set to ½ of the maximum single-ended range. Also, any random values that fall outside the maximum signal range should not clipped, but rather, regenerated until they fall inside the allowed range. Finally, the recording should be started before the source signal is played and stopped after the source signal is stopped. It is also advantageous if the source computer file hits all possible values of data at least once.
[0024] This test may be used in order to capture errors of the following types: random bit errors, data dependant bit errors, lost samples, repeated samples, synchronization problems (data shifted). This test may be designed to catch errors that are difficult to capture because of their uncommon occurrence.
[0025] Once the signals are acquired, they may be presented to the analysis system and method illustrated in FIG. 6 which contains several algorithms which will be described. Inputs to the system 120 shown in FIG. 6 may be the reference signal on path 122 and the captured signal on path 124. The system 120 may include an alignment stage 130, followed by an optional automatic gain control stage 132, then an optional filter compensation stage 134, followed by a normalization stage 136 and finally a comparison stage 138. The output of comparison stage 138 either may be returned via a path 140 to alignment stage 130 for a purpose to be described, or it may be input to a stage 142 for utilizing the result of the comparison.
[0026] Turning first to the alignment stage 130, it performs the first operation in the process which is to align the signals. Since a WGN signal was used as a source, this operation may be performed by a correlation. The correlation may be performed by taking a block of the source signal and sliding it across the captured signal. The source block that is used is the first block of the source file that contains significant power. By significant power is meant power that exceeds or distinguishes from background noise. This block may be correlated against the captured signal and the result saved in an array. In addition, the energy of the source signal block may be computed as well as the energy of the overlapping part of the captured signal. Next, the array may be searched in order to find the maximum value. The index of this value may be used to adjust the captured signal such that it aligns properly with the source block. An additional check is to make sure that when the foregoing maximum value is squared, it is very close to the product of the two energies computed for the blocks of the correlation input. This ensures that a true match has been found.
[0027] The foregoing is illustrated in further detail as follows. The source and captured signals are represented by the waveforms 150 and 152, respectively, in FIG. 7. The correlation with the captured signal is performed by taking the first block of significant power of the source signal. This is represented by the waveform 154 in FIG. 7. The next operation is taking the same block in time of the captured signal 152. That block is represented by the rectangle 156 in FIG. 7. For each sample in the source signal (s[i]) and captured signal (c[i]) the following product sum is obtained:
1
[0028] where N is the block length, i.e. the length of rectangle 156 in FIG. 7. The value of the product sum is stored in an array:
y[j]=y
[0029] The foregoing operations are repeated for a shifted version of the captured signal. Thus, the rectangle 156 would be shifted slightly to the right as viewed in FIG. 7, but this is only for the captured signal, the same block being used. This would be represented by the following:
2
[0030] for all j (1 through the length of the source) which means:
34
[0031] and so on, i.e. y[1], y[2], y[3] etc. to the end of the file containing the signal.
[0032] The next operation is to use the array y[j] and find the maximum value where j is 1 through L, where L is the length of the signal (the length of the file containing the signal). For example, if the maximum y[j] is at y[55] then the index of the maximum is 55. The location of the maximum is the location of the best fit.
[0033] Finally, taking the maximum index the source signal is shifted to the left as viewed in FIG. 7 by the number of samples equal to the maximum index. This means the first x samples are discarded:
s[j] s[j+x]
[0034] where x is the maximum index and for all j from 1 to L where L is the length of the file containing the signal. The signals now are aligned.
[0035] The next stage in system 120 is the automatic gain control (AGC) stage 132 wherein AGC may be optionally compensated for by removing a fixed amount of data from the beginning of each computer file containing the reference and captured signals. This allows the system time to adjust the gain, without substantially affecting the comparison.
[0036] An optional filter compensation may be performed in stage 134 if the audio path is known to contain filtering. The two signals are used to feed a channel estimator, beginning at the alignment point. The channel estimator provides a model of the channel in the form of a channel filter. The resulting channel filter is then applied to the source signal. Thus, as shown in FIG. 6, the filter component of stage 134 is variable and controlled by the equalization component. This compensation may cause some types of analog errors to go undetected. These analog errors are specifically defined as circuit errors that affect the audio filtering. Errors in the analog portion of the digital modulation still will be detected.
[0037] Thus, the operation in stage 134 may be viewed as finding the “filter” which was applied to the captured signal so it can be applied to the reference signal to provide the compensation. Since the transmitted signal, i.e. the source or reference signal, may be filtered by the PBX 170 shown in FIG. 8A, the captured signal is then a filtered version of the source:
c=f
(s)
[0038] where f(s) is a filter applied to s.
[0039] Before a comparison of the reference (source) and captured signals is performed it may be desirable to filter the source signal s by the same filter. This is illustrated in FIG. 8B where fPBX(s) is a filtering of the source (reference) signal s using an estimated filter. Stage 134 compensates this way, in order to ignore differences due to “allowed” filtering. The function fPBX( ) is estimated using c, s and the well known least means squares (LMS) algorithm.
[0040] After the signals have been aligned, they should be normalized in order to remove any gain and bias that the system may have added. Normalization is performed in stage 136. The method is to use linear estimation in order to find the most likely system gain and bias. These estimates may be used to adjust the captured signal. This method assumes constant gains and DC offsets over the entire length of the captured signal.
[0041] In particular, in order to compensate for a gain and DC offset the source signal is normalized by
Si
new
=A·C+B
[0042] Optimal linearization shows that A and B are optimally given by:
5
[0043] where s=source signal and c=captured signal and
6
[0044] which is the mean of s
{overscore (c)}=mean of c
[0045]
7
[0046] mean of the product
8
[0047] product of the mean
[0048] where L is the length over which the averaging occurs which in this case is the length of the file containing the signal.
[0049] The signals may then be compared in stage 138 and if the difference falls outside some tolerable range, an error may be declared. Once an error is found, a re-alignment may be performed via path 140. This may be accomplished by correlating a source block of length equal to the length where the differences are out of range, up to some maximum. This block is correlated until a maximum correlation is found. Then the signal alignment is adjusted and the algorithm continues. Errors are flagged for later evaluation.
[0050] After all errors are found, they may be individually evaluated. All errors are evaluated by using the alignments before and after the error. If the alignments are the same, it is called sample errors. Otherwise, the difference in alignment is reported as samples missed or added.
[0051] The system and method of FIG. 6 may be in the form of software run on a PC which can be in the DUT host. Alternatively, it may be run on a software layer in a section of the DUT which is not being tested. The software may be in the form of a program of instructions to evaluate the data path, and the program may be embodied in a program storage device readable by a machine such as the foregoing PC or section of the DUT host and which instructions are executable by the machine.
[0052] While embodiments of the invention have been described in detail, that is done for the purpose of illustration, not limitation.
Claims
- 1. A data path evaluation system comprising:
a) a device under test having a data path; b) a device to provide a signal path to the device under test; c) a host arrangement operatively coupled to the signal path providing device to provide a test signal and to provide play and record signal functions; and d) the device under test being connected to the host arrangement and to the signal path providing device so that the test signal can be played and recorded in the data path for comparing the played and recorded signals to evaluate the data path.
- 2. The system according to claim 1, wherein the host arrangement includes a first host connected to the device under test, a second host and a capture device operatively connected to the second host and to the signal path providing device to provide a signal path therebetween.
- 3. The system according to claim 2, wherein a play signal function is provided in the first host and a record signal path is provided in the second host.
- 4. The system according to claim 2, wherein a record signal function is provided in the first host and a play signal function is provided in the second host.
- 5. The system according to claim 2, wherein each of the first and second hosts comprises a processor and the capture device is a device which is identical to the device under test.
- 6. The system according to claim 2, wherein each of the first and second hosts comprises a processor and the capture device has the capability of capturing the test signal and placing signal patterns in the path therethrough.
- 7. The system according to claim 1, wherein the host arrangement comprises a single host having a first port operatively associated with a signal play path and a second port operatively associated with a signal record path and wherein the device under test has a first port connected to the first port of the host arrangement, a second port connected to the second port of the host arrangement and a pair of ports connected to the signal path defining device.
- 8. The system according to claim 5, wherein one of said first and second hosts includes a play signal function and the other of said first and second hosts includes a record signal function.
- 9. The system according to claim 1, wherein the data path of the device under test is a voice signal path.
- 10. The system according to claim 1, wherein the test signal provided by the host arrangement contains white gaussian noise.
- 11. The system according to claim 1, wherein the device to provide the signal path is of the type to which the device under test will be operatively coupled during use.
- 12. The system according to claim 1, wherein the data path of the device under test has two ends and wherein the test signal is played into one end of the data path and recorded from the other end.
- 13. A method of evaluating the data path in a device comprising:
a) sending a first signal through the data path; b) receiving a second signal from the data path; c) aligning the first and second signals; d) normalizing the aligned signals to remove gain and bias; and e) comparing the normalized signals to determine whether any difference exists between the signals.
- 14. The method according to claim 13, further including realigning the compared first and second signals if the difference exceeds the predetermined threshold.
- 15. The method according to claim 13, further including compensating for any AGC gain present in the aligned signals.
- 16. The method according to claim 13, further including compensating the first and second signals for any filtering present in the data path.
- 17. The method according to claim 13, wherein the data path is a voice signal path.
- 18. The method according to claim 13, wherein the first signal contains white gaussian noise.
- 19. The method according to claim 13, wherein the first signal is a reference signal played into one end of the data path and the second signal is recorded from the other end of the data path to provide a captured signal.
- 20. The method according to claim 19, wherein the reference and captured signals are acquired prior to being aligned.
- 21. A program storage device readable by a machine, embodying a program of instructions executable by the machine to evaluate the data path in a device, the instructions comprising:
a) playing a reference signal into one end of the data path and recording the signal from the other to provide a captured signal; b) acquiring the reference and captured signals; c) aligning the reference and captured signals; d) normalizing the aligned reference and captured signals to remove any gain and bias added during the foregoing operations; and e) comparing the normalized reference and captured signals to determine whether any difference exists between the signals.
- 22. The program storage device according to claim 21, wherein the data path is a voice signal path.
- 23. The program storage device according to claim 21, wherein the reference signal is white gaussian noise.
- 24. The program storage device according to claim 21, further embodying the instructions of:
a) compensating for any AGC gain present in the aligned reference and captured signals; and b) compensating the reference and captured signals for any filtering present in the data path.