digital methods for the extraction of phase and amplitude … · l digital methods for the...

6
JOURNAL OF RESEARC H of the Nati onal Bureau of Standards- D. Radio Propa g ation Vol. 65D, No. 4, July·Augu st 1961 l Digital Methods for the Extraction of Phase and I Amplitude Information From a Modulated Signal 1 R. S. Lawrence, 1. L. Jespersen, and R. C. Lamb ( Nove mb er ii, 1961 ) A description is given of t hr ee digit al met hod s which hav e been used to reco ver a mpli- t ude a nd ph ase informa tion from a modulated sinusoid al signal sampled at equ al in te r va ls of n ot more than one-s ixth of a pe riod . Th e fir st met hod , t he "zero-cross in g" me thod , is econo mi ca l of co mpu te r t ime and, for modul at io n which is not too deep and does not co nta in fre qu encies near the carrier frequency, acc ur ate ly recovers the ph ase and a mp li tude modu - l at ion. Th e seco nd met hod, the "filter" me thod , is mor e laborious but it gives be tt er acc ur acy and will op erate with deeper a nd more ra pid modulation. Th e t hird met hod, a s tat i ti cal approach, will wo rk with severly overmodul at ed signals, bu t it yields only a s tat istica l s um - lllary of t he modul at ion. Th e methods were designed specifi ca ll y for analysis of radio-s ta r scin t ill at ion records but t hey may be appli ed to many ot her lllodulate d signals. 1. Introduction Thr ee digital methods ar e described which have been used to recover amplitud e and phase informa- I tion from a modulated sinusoidal sign n, l sampled at equal int erv als of not mor e th an on e-sixth of a period. Al though these m ethods were designed specifically for the purpose of analyzing the records described in the pr eceding paper, " Amplit ud e and angular scintillations of th e radio sour ce Cyg nus-A observ ed at Boulder, Colorado", th ey m ay be ap- plied to many other modul ated signals. In gene ral , th e desired modul at ion is imposed on a sinusoidal carri er of constan t frequ en cy and amplitud e. Th e sampl e int er val n, nd the carrier frequ ency must be chosen car efully with r eg ard to th e expected ra nge of moduh .ting fr equ encies, in order to avoid biasing th e r es ult s either by omission of or folding at fre- qu encies of in ter est . All t hr ee of the m ethods described herein were designed for use with the IBM- 650 digital compu ter I and its peripheral equipment which included an I automa t c graph plot ter. Th e inpu t da ta were I digital sampl es of th e modulat ed carri er, sampl ed to an accur acy of percent of full scale (six bits) and pun ched on paper tape. Th e first method of anal ysis, th e " zero-crossing me thod ", us es th e prop- CIties of th e signal only at the times wh en it passes through its av erage value. Phas e modulation is derived from vari ations in the int ervals between th ese times; amplitud e modulation is derived from th e slope of th e signal at th es e times. Th e second method, th e "filter method ", passes th e signal through appropriate digital filters which recov er th e phase and amplitude modulation. Th e last m ethod I is a sta ti stical one, used to analyze records which, b ec au se of ov ermodul ation in amplitude and /or phase, are not amenable to treatment by either th e I I Contribution from Central Radio Pro pagation La bora tol 'Y. Na tional Bure au of Staudards, Boulder, Col o. <'i s 261- 61-4 351 zero-crossing or fil ter methods. This statistical me thod cannot give amplitud e and ph ase as a func- tion of tim e, bu t produ ces r esult s which describe some statistical prop erti es of th ese qu antiti es. 2. Zero-Crossing Method In thi s pro ce dur e the comput er must deal with the modul ate d carri er at the t imes wh en it cro ses its average valu e. Th e fir st step is to replac e th e original sampl es by devi at ions from th eir average value. Sin ce drifts in the digit al recording system mi gh t cause the carri er to und ergo slow changes in average (d- c) level, changes unr el ate d to the modu - l at ion, it is uS lla,ll y better to use a moving average several periods in length than to use an average over the e ntir e r ecord . If a moving average is u ed, th e pro cess of replacing the original sampl es by devia- tions from the average is, in fact, a digi tal high-p as filter which removes th e d-c level and its slow vari a- tions, bu t does n ot a ppr eciabl y aff ect the carri er or its modula tion. For the radio-star obser vations, a moving average 30 samples in length (approximat ely 5 periods) proved satisfa ctory. Aft er th e filtering oper at ion, the compu ter can find th e points of in terest by searching for adjace nt samples with opposite signs. E ach such "crossing pair " of sampl es yield s, by linear interpolation, a good es timate of the exact time of zero cro ssing. In order to extract phase information, fir st differ- ences ar e taken of th e list of times of zero crossings. Each of th ese interval s is th en replaced by its devia- tion from th e mean in ter val. Th e cumulative sums of th ese devi at ions provid e a list of numb ers called th e phase ta ble. Th e phase tabl e is simply a tabu- l ation of instan taneous ph ase variations at half- period int erval s. From th e crossing pairs the compu ter derives anoth er se t of numb ers called the amp li tud e table. Thi s tabulation contains valu es propor tional to the a mplitud e of the modulating sign al. It is th e sum

Upload: truongmien

Post on 24-May-2018

218 views

Category:

Documents


2 download

TRANSCRIPT

JOURNAL O F RESEARCH of the National Burea u of Standards- D. Radio Propagation Vol. 65D, No. 4, July·August 1961

l Digital Methods for the Extraction of Phase and I Amplitude Information From a Modulated Signal 1

R. S. Lawrence, 1. L. Jespersen, and R. C. Lamb

(November ii, 1961)

A descrip tion is give n of t hree digita l methods which have been used to reco ver a mpli­t ude and phase inform ation from a modula ted sinusoida l signal sa mpled at equ a l in te rvals of not more t ha n one-sixth of a period. The first method, t he "zero-crossing" method , is economi cal of co mputer t ime and, for modulation which is no t too deep a nd does not co ntain frequencies near the ca rrier frequ ency, accurately recovers t he phase a nd a mp li t ud e modu­lation . The seco nd method, t he " filter" method, is more la borious bu t it gives better accuracy a nd will operate wit h deeper and more rapid modu lation . The t hird method, a stat i t ical app roach, will work wi th se verly overmodulated s ignals, but it y ie lds only a stat ist ical sum­lll a ry of t he modulat ion . The met hods were des ign ed specifi ca lly fo r a nalysis of r adio-s tar scin t ill at ion reco rds bu t t hey may be applied to many other lllodu lated signals.

1. Introduction

Three digital methods are described which have been used to recover amplitude and phase informa-

I tion from a modulated sinusoid al signn,l sampled at equal intervals of no t more th an one-sixth of a period. Al though these methods were designed specifically for th e purpose of analyzing th e r ecord s described in the preceding paper , " Ampli tude and angular scin tilla tions of the radio source Cygnus-A observed a t Boulder , Colorado" , they may be ap­plied to many ot her modula ted signals. In general, the desired modulation is imposed on a sinusoidal carrier of constant frequency and amplitude. Th e sample interval n,nd the carrier frequency must be chosen carefully wi th regard to the expected range of moduh.ting frequencies, in order to avoid biasing th e r esults either by omission of or folding at fre­quencies of in terest.

All three of the m ethods described h erein were designed for use with the IBM- 650 digital computer

I and its peripheral equipment which included an I automat c graph plotter. The input data were

I digital samples of th e modulated carrier , sampled to an accuracy of 1 ?~ percen t of full scale (six bits) and punched on paper tape. The first method of analysis, the " zero-crossing method" , uses the prop­CIties of the signal only a t the times when it passes through its average value. Phase modulation is derived from variations in th e intervals between these times; amplitude modulation is derived from the slope of the signal at these times. The second method, the "filter method", passes the signal through appropriate digital filters which recover the phase and amplitude modulation. The last m ethod

I is a sta tistical one, used to analyze records which, because of overmodulation in amplitude and/or phase, are no t amenable to trea tment by either the

I I Contribution from Central Radio Propagation Laboratol'Y. National Bureau of Staudards, Boulder, Colo.

<'is 261- 61-4 351

zero-crossing or fil ter methods. This s ta tis tical method cannot give amplitude and phase as a func­tion of time, but produces results which describe some statistical properties of these quan tities.

2. Zero-Crossing Method

In this procedure the computer must deal with the modulated carrier at the times when i t cro ses i ts average value. The first s tep is to r eplace the original samples by deviations from their average value. Since drif ts in th e digital r ecording system migh t cause the carrier to undergo slow changes in average (d-c) level , changes unrelated to th e modu­lation, it is uSlla,lly bet ter to use a moving average several period s in length than to use an aver age over the entire r ecord. If a moving average is u ed, the process of replacing the original samples by devia­tions from the average is, in fact, a digital high-pas filter which removes the d-c level and i ts slow varia­tions, bu t does not appreciably affect the carrier or its modulation. For the radio-star observations, a moving average 30 samples in length (approximately 5 periods) proved sa tisfactory .

After the filtering operation, th e computer can find the points of interest by searching for adj acent samples wi th opposite signs. E ach such "crossing pair" of samples yields, by linear interpolation, a good estimate of the exact time of zero crossing. In order to extract phase information, first differ­ences are taken of the list of times of zero crossings. Each of these intervals is then replaced by its devia­tion from the mean in terval. The cumulative sums of these deviations provide a list of numbers called the phase table. The phase table is simply a tabu­lation of instantaneous phase variations at half­period intervals.

From the crossing pairs the compu ter derives another se t of numbers called the ampli tude table. This tabulation contains values proportional to the amplitude of the modulating signal. It is the sum

of the absolute values of the two samples involved in each crossing pail' , and measures the instantaneous amplitud e at half-period intervals. It will be demonstrated later tha t this simple m ethod, which migh t be expected to be inaccurate, is, in fact , an effective means for extracting the envelope of the sinusoidal trace. Figure 1 gives examples of actual amplitud e and phase plots, made by an au tom atic plo tter from the amplitude and phase tables. E ach plot represents 600 points (10 min) of da ta and has been expanded to occupy the full scale. The fu ll­scale range of each phase plot is shown in electrical degr ees. The r eliability and sensitivity, together with a brief description of the drawbacks, of the zero-crossing method will be discussed in the follow­ing sections.

3. Filter Method

Amplitude and phase tables may also be obtained by passing the data through a system of digital fil ters. This analysis procedure is based upon a method suggested by N. R. Goodman [1960] , of Space Technology Laboratories.

Consider a modula ted sine wave which is sampled once every to seconds to produce a t ime sequ en ce of n data points, which we designate Xi ' We are inter­es ted in the amplitude (i.e ., envelope), and phase of this record . A possible represen tation of the amplitude A (t ) and phase aCt) is

A(t) exp [ia (t ) ]= X(t ) + i Y (t )

where X(t) and yet ) are the real and imaginary parts of the complex represen tation of the power and phase . ",Ve may let the X i represen t a set of sampled points from the X(t) process. If we can somehow construct from the X i a set of Y i which will be a good

AMPLITUDE

representa tion of the y et) process, then we may I

compute A(t ) and a Ct) from the relations

A(t ) = [X2(t ) + P (t )]1 /2

a(t)= sin- 1 [Y(t)/A(t) ] = cos- 1 [X(t )/A(t) ] .

One possible represen tation of the Y i in term s of the X i is

8= Q)

Yi= ~ asx!+s (1) 8=- 00

where the as have suitable values. There are several ways in which one migh t evaluate the as. Goodman shows that for the presen t purpose the as should be chosen in such a way tha t , over the frequency range of in terest, th e spectral density ma trix of the result­ing (X i, Y i) process is a good approximation to the spectral density matrix of th e actual [X(t) , yet ) ] I process. Following this line of though t , a set of as were chosen t o satisfy that cri terion. For the case where the sampling rate was about 6 samples per period , the following as proved satisfactory .

ao = 0.16 al = .15 a2 = - .13 a3 = - .20 a4 = - .06 a5 = .03 a6 = .00 a7 = -.02 as = .03 ag = .05 a lO = .02 au = - .01 a12= - .03 as = 0,8> 12

OC TOBER 28,1958, CYGNU S - A , EL EVATION ANGLE' 1 8 ~ DEPTH INDE X' 4, 108 Me/.

AMPLI TUDE : :~: ~ PHASE ii' \ L .. rJi I

SEPTEM BE R 21,1958 , CYG NUS- A , E LE VAT IO N ANGLE '38°, DEPTH INDE X ' 2 108 Me/.

FIGURE 1. Examples of amplitude and phase plots obtained f rom the com puter . E ach record is 600 samples (1 0 min) in length , '1'he bot tom edge of the amplitude plot represents zero signal, and tbe plot has been norm alized to occupy the I

full scale. Tbe scale of tbe pbase plot , a , giveu on tbe fi gure, is in electrical degrees.

352

These as were Lhen used in co njunction with (1) to evaluate t he y ;.

Since Lhe v; are a moving linear combination of the X;, they are in fact the result of passing the Xi through a lineal' digital filter. T lli s filter (y filter ) has a narrow pass b and, approximately unit gain, and 7r j2 phase shift in its pass band. The phase shift, uniform over the pass band , is accomplished by mak­ing the filter an t i-symmetric; i. c., as= - a_s, and ao = O. Noise outside the pass band of the filter may be removerl from the X; by means of a similar

I filter (x fil ter) with zero phase shift. This will be a symmetric filter, as= a _s•

The amplitude and phase Lables produced by either the "zero-crossing" or "filter " methods may be used for such subsequent pUTposes as speeLral analysis and cross correlftt ion bctween ampli tude and phase.

In order to test the ability of the "zero-crossing" and "filter " mcthods to reproduce accurately the ampliLude and phase flu ctufttions inh erent in the data, an ftr tificiftlrecord with known amplitude and phase variaLions was analyzed using each method. The known ampli tude and phase variations are shown by the heavy curves in figures 2 and 3. The ligh t curves labeled "two-fil Ler method" show the resul ts of using both the x and y filters. To assess the possibility of noise contamination, the same artificial record was a,nalyzed using only the y filter . The result of this analysis is shown in the figure labeled "one-ftlter method. "

Al though bo th methods reproduce the known amplitude and p]Hl,Se varia tions quite well, t he one­

I fil ter method ineludes a high-frequency component which is not evident in the two-fil ter method, indi­cating the existence of noise outside Lhe pass band

I of the filter. The heavy curves (inpu t) are tilLed sligh tly with

respect to t he light curves (output). This is because the inpu t data is passed through a high-pass fil ter which removes trends.

The figures la beled " zero-crossing ll1ethod" shO\v the corresponding resul ts produ ced by the zero­crossing method when it is applied to the artificial data.

Th e principal difference between the filter method and the zero-crossing 111.ethod is that the former u tilizes consecu tive data points whereas the latter uses only pairs of consecutive points which h ave opposi te signs (crossing pairs). For t his reason the [uter method has a twofold advantage: (1) mod 27r ltlnbiguities are less likely to occur between consecutive points than b etween crossing p airs, and (2) higher frequency components are preserved by the fil ter method since its uses data points which arc spaced more closely in time. The two-filter method involves about four times as much computing Lime as do es the zero-crossing method, but the fidelity of the more lengthy method is better.

4. Statistic al Method

Both of the foregoing l1l.ethods have been applied to artificial dfttn, containing various amounts of amplitude and phase modulation. Although the

filter method is more capable of producing accurate amplitude and phase plots than is the zero-crossing method, both methods fail for some records. These highly modulated records contain significant phase and amplitude modulfttion with frequencies com­parable to the carrier frequen cy.

In order to analyze such records, a statistical ap­proach was taken . Thi s procedure does not give detailed amplitude and phase plots but instead gives two quftntities, P" and Ua , r elated r espectively to the magnitudes of the am pli t ude and phase flu ctua­tions.

P" is evaluated by flrst findin g the points on the actual modulated sine wave, P (t ), which lie above the peftks of a sin e wave having the same average ampli tude. The average value of t hese points, divided by the ftverage amplitud e, is defin ed as P". The sampled points which en ter in to the evaluation of P" all resul t from ampli tud e modulation , sin ce phftse modulation can never increase t he in stantan e­ous amplit ud e of the record above the peales o[ the equivalent sin e wave. Thu s, P " is a stfttistical measure or the amplit ude modulation on tIl e record ft nd is unaffected by the phase modulation. The stand ftrd deviation, Ua, or the in tervals between zero crossin gs, is a m.easure of the phase modulation alone sin ce amplitUd e mod ulation cannot affect t he time or zero crossings.

It i desirable to rela te th e qu an tities P" and U d to quan t it ies which are more commonly associated with ampli tude and phase effects. For example, the quantiti es

and U a were of interest in the preceding paper . H ere A i the ampli tude o[ the signal , A the m ean a,mpli tude, and U a is the standard deviation of the phase flu ctuations, a .

One possible way to relate P n and Ua to (IlA jA)2 and U a respectively, is to compute (ilA jA )2 and U a

from the variations in amplitude and phase for a particular record as given by t he " zero-crossing" or "fil ter" method , and then to find P n and Ua [or this sarne record. If enough r ecords are treated in this manner, it is possible to obtain regre sion curves of (ilA jA )2 versus P n and of U a versus U a . This pro­cedure not only gives the desired relations but yields confiden ce limits for P nand U a as measures of (ilA jA )2 and U a respectively. However , it cannot be applied to the highly modulated records for which the sta­t istical quantities P" and Ua were originally intro­duced. A better method is to compute P n and U a

from artiflcial records which h ave a predetermined value of (ilA jA )2 and U a, [or the particular example under consid eration .

The art ificial records were constructed in the fol­lowing way. A pair of random norm al deviates (m;, n ;) are used to compute the quantity

P;= (a+ m;)2+n~

where a is a constant. P ; may be thought of as the

353

square of the envelope of a signal at time t i which consists of the sum of a sine wave with amplitude a and noise with mean squ are amplitude of unity. The P i are then passed thro ugh a low-pass filter which auto-correlates them over a length of 30 points. The artificial data points, di' are then computed from the following expression:

di= P i sin (wot i+ ai),

where a i, the phase fluctuation , is normally dis­tributed with mean zero , standard deviation 0'" and au to-correlation length of 30; and We is some constant angular frequency, approximately 7r/3 per sample interval. The di are then normalized so that the ar tificial records will have the same range in value of the el i for any a.

The probability distribution function of the (P i )I / 2

constructed in this manner has been derived by S. O.

r- ONE MINUTE -1 ZERO -CR OSSI NG METHOD

e L-------~------~------~------~------~------~------~------~--------~----~ r ONE MINUTE ~1

r- ONE MINUTE -1

ONE· FILTER ME THOD

TWO-FILTER METHOD

AMPLITUDE INPUT­

OUTPUT -

FIGURE 2. A. n illustration, using artificial data, of the effectiveness of the zero-crossing and filter methods in reproduciny amplitude fluctuations inherent 1:n the original record.

354

Rice [1944 and 1945]. (The reason for constructing the artificial data in this particular way was, of course, dictated by knowledge of the sort of signal to be analyzed . Signals with differen t modulation characteristics would require differen t techniques for producing the artificial data. )

The method involving artificial data has the ad­van tage that it cannot be biased by mod 21T' am­biguities sin ce O"a is a predetermined quantity. Thus the artificial records may be nsed to extend empiri­cally the relation between O"d and O"a to regions where O"a is much greater than 1 radian. P n, measured on

"80·,--------------------------------------------------------------------------------,

0"

- 180·'L----'"-----'----...J.....---"'--'-----'-----"'----""--,----'----'-------'

ZERO- CROSSING METHOD

+ 180· ,-------------------------------------------------,

_1 80" L-___ ~ ___ ...J_ ___ _L_~ _ _'_ ___ _'_ ___ _"' ___ ~ ___ ___' ___ ~ ___ ___'

I- ONE MINUTE--j ONE-FILTER METH OD

+ 180·,------------------------------,,.-------------------

_180· L ___ l-___ -L-___ --L-__ L--L ___ -L ___ --'-___ --'-___ ---' ____ '--__ --'

I- ONE M I NU TE --j TWO- FILTER METH OD

PHA SE INPUT -

OUTPUT -

FIGURE 3. An illustration, using artificial data , of the effectiveness of the zero-crossing and filter methods in reproducing phase fluctuations inherent in the original record.

355

2.8

2.4

2.0

0.05 0.10 0.15 0.20 0.25 0.30

(6AA )'

FIGURE 4. The relationship, derived !Tom artificial data, between the statistical quantity P n and the actual value of (6.A / A)2.

356

the artificial records, can be reI a ted to (llA/ A)2 through the parameter a which is a known fUll ction of (llA/A)2 [Lawrence and Jespersen, 1959).

For values of (Fa as great as 3 radians, the lineal' rela tionship

(Fa= 0.55 (Fa

appears to hold. Figure 4 shows the observed relationship between (llA/A )2 and P n •

The developmen t of these digital methods was sponsored by the Ballistic Missile Division of the United States Air Force, under D. O. AF 04 (647)-134.

5. References Goodman, N. R., Advances in astronautical sciences, vol. 5,

pt. V (Plenum Press, 1960). Lawrence, R. S., and J . L. J espersen, A preliminary analysis

of amplitude scint illations of radio stars observed at Boulder, COlorado, T echnical Note No. 20, NBS Boulder Labs. (1959).

Rice, S. 0., Mathemat ical analysis of random noise, Bell System T ech. J . 23 & 2<1, 282- 332, and 46- 156 (1944 and 1945) .

(Paper 65D4- 138)