4.1 Introduction

The estimation of future values of a time-dependent function, based on current and past values of a data sequence representing the function, is known as extrapolation. The estimation of function values between data points is known as interpolation. Both digital extrapolation and interpolation can play an important role in real-time digital simulation of dynamic systems. For example, digital extrapolation can be used to predict future values of a time-dependent function. This can be useful in compensating for delays in signals that are interfaced to the computer. Digital interpolation can be used in the simulation of a pure time delay, often called a transport delay.

 

One of the most important applications of digital extrapolation and/or interpolation occurs in the generation of a fast data sequence from a slow data sequence. This is necessary in the implementation of multi-rate integration, where a fast dynamic subsystem is integrated with a frame rate that is an integer multiple N of the frame rate used to integrate the slow subsystem. From the data sequence output of the slow subsystem it is necessary to derive a data sequence with N times the sample rate in order to provide the input to the fast subsystem. The use of multi-rate integration within a digital simulation can often be used to improve the accuracy of a real-time digital simulation, or to speed up a non real-time simulation in order to make it more economical to run. This is especially true in the case of many stiff systems, where the ratio of the largest to smallest eigenvalue magnitudes in a quasi-linear representation can be many orders of magnitude.

 

In this chapter we will develop a number of digital extrapolation and interpolation algorithms and analyze their accuracy in both the time domain and frequency domain. Because the data sequences representing the digital signals are assumed to have a fixed sample period, the method of Z transforms can be used for the frequency-domain analysis, which consists of determining formulas for the gain and phase errors associated with the algorithms. These gain and phase errors provide a basis for selecting the most appropriate algorithm for a given application. The specific case of extrapolation or interpolation to generate a fast data sequence from a slow data sequence is analyzed using a discrete Fourier series to represent the fast data sequence. When the slow data sequence is a sinusoid, this analysis provides formulas for the fundamental and harmonic components present in the fast data sequence. These formulas can in turn be used to estimate the dynamic errors present in the fast data sequence.

 

4.2 Linear Extrapolation Based on rn, and rn-1

As a first example, we consider digital extrapolation based on the current value, rn, and the immediate past value, rn-1, of a digital data sequence. Let h represent the time between samples. Then we can approximate the time function, r(t), represented by these two data points using the zeroth and first-order terms in a Taylor series expansion about t = nh. Thus we let the approximation  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image001.jpg  be given by

 

(4.1)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image002.jpg

Here  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image003.jpg   is the numerical approximation to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  , as obtained from a backward difference. From Eq. (4.1) we see that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image005.jpg    and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image006.jpg , so that the approximation function  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image007.jpg  passes through the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg

 

Next assume that we wish to extrapolate ahead in time by ah seconds, where a represents a dimensionless extrapolation interval. From Eq. (4.1) the extrapolated time function  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image010.jpg , which from now on we will designate as  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg , is given by

(4.2)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image012.jpg

 

For = 1 the prediction interval ah = h, and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image013.jpg , the extrapolated value of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  based on   /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg   and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg . Note that for -1 <a<0, Eq. (4.2) represents interpolation between  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg   and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg

 

The time domain error associated with  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  in Eq. (4.2) can be predicted analytically by the following Taylor series:

(4.3)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image015.jpg

 

For extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg   and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  we replace  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  with a formula based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg . This in turn is obtained from a Taylor series formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg . Thus

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image016.jpg

from which

(4.4)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image017.jpg

 

Substituting Eq. (4.4) into Eq. (4.3), we obtain

(4.5)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image018.jpg

 

The first two terms on the right side of Eq. (4.5) represent  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg , the estimate for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image019.jpg  based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg , as given in Eq. (4.2). With  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image020.jpg  replaced by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg ,  Eq. (4.5) can be rewritten as

(4.6)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image021.jpg

 

where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image022.jpg  is the error in the extrapolation formula and is proportional to h2. The error is also proportional to the second time derivative of r.

 

We now take the Z transform of the difference equation represented by (4.2) in order to obtain the formula for the extrapolator transfer function for sinusoidal inputs. Thus

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image023.jpg

where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image024.jpg  is the Z transform of the data sequence represented by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg . The extrapolator transform,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image025.jpg , is given by

(4.7)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image026.jpg

 

The extrapolator transfer function for a sinusoidal data input becomes

(4.8)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image027.jpg

 

An ideal extrapolator with a prediction interval ah has the transfer function  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image028.jpg .  For sinusoidal inputs the ideal extrapolator transfer function is given by

(4.9)      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image029.jpg

 

From Eqs. (4.8) and (4.9) we obtain the following formula for the fractional error in the digital extrapolator transfer function:

(4.10)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image030.jpg

 

When the exponential functions are expanded in power series, the following formula is obtained for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image031.jpg :

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image032.jpg

 

As noted previously in Eqs. (1.53) and (1.54), the real and imaginary parts of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image031.jpg  are equal, respectively, to the fractional gain error and the phase error of the extrapolator transfer function. Thus

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image033.jpg

 

(4.11)

 

Although the formulas in Eq. (4.11) are approximations based on the dimensionless frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg  being small compared with unity, they are reasonably accurate up to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image035.jpg  for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image036.jpg .  Of course, Eq. (4.10) is exact and can be used to calculate  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image037.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image038.jpg  for any specific  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg   and a. From the asymptotic formulas in Eq. (4.11) we note that the extrapolator gain error is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image039.jpg  and the phase error is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image040.jpg . Thus the predominant error will in general be the gain error for extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg , and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg .

 

4.3 Linear extrapolation based on /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image041.jpg  and /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image042.jpg 

Another method for linear extrapolation is based on using  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg , instead of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg . This is possible when both  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  are state variables, since under these conditions  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  is available at the start of the nth integration frame. In this case the extrapolation formula becomes

(4.12)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image043.jpg

From Eq. (4.12) it is clear that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image044.jpg . If we let  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image045.jpg , the prediction interval, then from Eq. (4.12) we obtain the following formula for the extrapolated data point  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg :

(4.13)     /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image046.jpg

 

Taking the Z transform of Eq. (4.13), we have

(4.14)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image047.jpg

 

For a sinusoidal data sequence with  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image048.jpg , it follows that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image049.jpg  and Eq. (4.14) becomes

(4.15)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image050.jpg

 

Thus the digital extrapolator transfer function for sinusoidal inputs is given by

(4.16)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image051.jpg

 

Dividing  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image052.jpg  in Eq. (4.16) by the ideal extrapolator transfer function  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image053.jpg in Eq. (4.9), we obtain the following formula for the fractional error in extrapolator transfer function:

(4.17)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image054.jpg

 

Expanding the exponential functions in a power series, we obtain the formula

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image055.jpg

 

It follows that the asymptotic formulas for the fractional error in gain and the phase error are given by

(4.18)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image056.jpg

 

From Eq. (4.18) we see that here again the extrapolator gain error predominates and is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image039.jpg , whereas the phase error is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image040.jpg . Comparison of Eq. (4.13) with the exact power series formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image019.jpg  in Eq. (4.3) shows that the extrapolator time-domain error,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image022.jpg , is given by

(4.19)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image057.jpg

 

As in the case of extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg , the error here for extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image058.jpg  and also the second time derivative of r. For a sinusoidal data sequence we note that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image059.jpg . In this case the extrapolator error in Eq. (4.19), when normalized through division by r, becomes  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image060.jpg . This in turn is just the fractional error in transfer function gain, as given above in Eq. (4.18). Similarly, for a sinusoidal input with extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg   and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg , reference to Eqs. (4.6) and (4.11) shows that the normalized extrapolator time-domain error becomes the same as the fractional error in transfer function gain.

In Figure 4.1 the transfer function gain errors, as obtained from the asymptotic formulas in Eqs. (4.11) and (4.18) and normalized through division by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image039.jpg , are plotted versus the dimensionless extrapolation interval a for extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg .  For extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg we note that -1 < a< 0 actually represents interpolation between  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  rather than extrapolation beyond  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg . Figure 4.1 shows that interpolation is in general more accurate than extrapolation when using  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg .

 

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image061.jpg

Figure 4.1. Gain error coefficient, /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image062.jpg, versus dimensionless extrapolation interval a for linear extrapolation algorithms.

 

It should be noted that both  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  extrapolation can produce gains appreciably greater than unity when  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg  exceeds unity. From the exact formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image063.jpg  in Eq. (4.8) it can be shown that the gain  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image064.jpg  for a given prediction interval a peaks for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  extrapolation at  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image065.jpg . The corresponding peak gain is equal to 1 + a. For extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  it is apparent from Eq. (4.15) that the gain is equal to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image066.jpg . Ideally, the extrapolator gain should be equal to unity for all frequencies. In general one does not expect significant frequency components above  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image067.jpg  in the data sequence corresponding to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg . But any such components can become amplified appreciably when using the first-order extrapolation algorithms considered here.

 

4.4 Quadratic Extrapolation Based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image068.jpg 

In this and the following two sections we analyze several quadratic extrapolation algorithms. First we consider extrapolation based on the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg . When a quadratic function of time is passed through these three points, the following formula results:

(4.20)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image070.jpg

 

Here the coefficient of (t – nh) is a backward difference approximation to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg , while the coefficient of (t – nh)2 is a backward difference approximation to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image071.jpg .  If we let t = nhah in Eq. (4.20), where ah is the prediction-time interval, we obtain the following formula for the extrapolated data point,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg :

(4.21)     /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image072.jpg

 

Note that for -2 < a< 0, Eq. (4.21) represents quadratic interpolation between  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg .

 

Following the procedure used in Section 4.2, we take the Z transform of Eq. (4.21) and let  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image073.jpg  to obtain  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image074.jpg . Next we divide by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image075.jpg , the ideal extrapolator transfer function, to obtain the formula for the ratio  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image076.jpg . Thus

(4.22)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image077.jpg

 

Using power series expansions for the exponential functions in Eq. (4.22) and retaining terms to order h4, we obtain the following formula for the approximate fractional error in the extrapolator transfer function:

(4.23)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image078.jpg

 

It follows that the asymptotic formulas for the fractional error in gain and the phase error are given by

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image079.jpg

(4.24)
Here the phase error predominates for small  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg  and is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image080.jpg , whereas the gain error is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image081.jpg

.

To obtain the formula for the time-domain error in  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg , we utilize the power series formula of Eq. (4.3) for the exact  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image019.jpg . Additional Taylor series expansions for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg  about  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  are written, from which we can determine formulas for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image082.jpg  in terms of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg . Substituting these formulas into Eq. (4.3), we obtain the following series representation for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image019.jpg :

(4.25)     /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image083.jpg

 

Comparison with Eq. (4.21) shows that the extrapolator time-domain error,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image022.jpg , is given by

(4.26)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image084.jpg

For a sinusoidal data sequence we note that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image085.jpg . In this case the extrapolator error in Eq. (4.26), when normalized through division by r, becomes  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image086.jpg .  This in turn is just the transfer function phase error,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image038.jpg , as given above in Eq. (4.24).

 

4.5 Quadratic extrapolation based on /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image041.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image087.jpg and /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image042.jpg 

Next we consider extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg . This is possible when both  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  are state variables, since under these conditions  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  is available at the start of the nth integration frame. The formula is based on a quadratic that passes through  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg , and matches the slope  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg   at t = nh. The resulting equation is given by

(4.27)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image088.jpg

 

Here the coefficient of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image089.jpg  is the numerical approximation to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image071.jpg . Substitution of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image090.jpg into Eq. (4.27) leads to the following formula for the extrapolated data point,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg :

(4.28)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image091.jpg

 

For -1 < a < 0, Eq. (4.28) represents quadratic interpolation between  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg . Following the procedure used in Section 4.2, we take the transform of Eq. (4.28) and let  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image073.jpg  to obtain  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image092.jpg .  Next we divide by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image075.jpg , the ideal extrapolator transfer function, to obtain the formula for the ratio  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image076.jpg . Thus

(4.29)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image093.jpg

 

Expanding the exponential functions in power series, we obtain the formula for the fractional error in extrapolator transfer function in series form. From the real and imaginary parts of the series, respectively, we obtain the following asymptotic formulas for the fractional error in gain and the phase error:

(4.30)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image094.jpg

 

Here the phase error predominates for small  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg and is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image080.jpg , whereas the gain error is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image081.jpg , which is the same result we obtained for the quadratic extrapolator of the previous section.

 

To obtain the formula for the time-domain error in  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg , we again utilize the power series expansion of Eq. (4.3) for the exact  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image019.jpg . An additional Taylor series expansion for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  about  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  is written, from which we can determine a formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image082.jpg  in terms of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  to substitute into Eq. (43). From this result we obtain the following formula for the extrapolator time-domain error,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image022.jpg :

 

For a sinusoidal data sequence we note that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image085.jpg .  In this case the extrapolator error in Eq. (4.31), when normalized through division by r, becomes  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image095.jpg . This in turn is just the transfer function phase error  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image038.jpg , as given above in Eq. (4.30).

 

4.6  Quadratic extrapolation based on /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image096.jpgand /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image097.jpg 

Finally we consider quadratic extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image098.jpg . This becomes of interest when r is a state variable but  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image099.jpg is not. In this case  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  will in general not be available for extrapolation over the nth frame, since it will not yet have been calculated. Here the quadratic time function passes through  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg , and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg , and matches the slope  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image098.jpg at  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image100.jpg . The extrapolator formula is given by

(4.32)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image101.jpg

 

Following the same Z-transform procedure used in the previous two sections, we obtain the following asymptotic formulas for the fractional error in gain and the phase error of the extrapolator transfer function for sinusoidal inputs:

(4.33)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image102.jpg

 

As in the case of the other two quadratic extrapolation formulas, here the phase error predominates for small  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg and is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image080.jpg , whereas the gain error is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image081.jpg .

 

As before, the time-domain error in  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image098.jpg is determined from the power series expansion of Eq. (4.3). Additional Taylor series expansions for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image098.jpg are written, from which we can determine formulas for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image082.jpg  in terms of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image098.jpg to substitute into Eq. (4.3). From these results we obtain the following formula for the extrapolator time- domain error,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image022.jpg :

(4.34)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image103.jpg

 

Again, for a sinusoidal data sequence,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image104.jpg , and the extrapolator error in Eq. (4.34), when normalized through division by r, becomes  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image105.jpg . This is just the transfer function phase error  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image038.jpg , as given above in Eq. (4.33).

 

In Figure 4.2 the transfer function phase errors, as obtained from the asymptotic formulas in Eqs. (4.24), (4.30) and (4.33) and normalized through division by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image080.jpg , are plotted versus the extrapolation interval for the three quadratic extrapolation algorithms considered here. Again we note that 0 < < 1 represents extrapolation and -1 < < 0 represents interpolation. Clearly, interpolation is much more accurate than extrapolation. It is also evident that the algorithm based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  produces the most accurate results.

 

4.7 Cubic extrapolation based on /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image106.jpg and /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image107.jpg 

Although there are a number of possible cubic extrapolation algorithms, in this section we will consider only one, which is based on a cubic function that passes through the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image108.jpg

Figure 4.2. Phase error coefficient, /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image109.jpg, versus dimensionless extrapolation interval a for quadratic extrapolation algorithms.

 

and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg and matches the slopes  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image098.jpg . In this case the formula for the extrapolated data point,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg , is given by

(4.35)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image110.jpg

 

If  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg are state variables in the simulation, then  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image098.jpg are available for the algorithm. Following the same procedure used in Section 4.3 for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image111.jpg in extrapolation, we can derive the extrapolator transfer function for sinusoidal inputs,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image074.jpg . After dividing by the ideal extrapolator transfer function,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image112.jpg ,  we obtain the following formula for the ratio  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image076.jpg :

(4.36)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image113.jpg

 

The asymptotic formula for the fractional error in extrapolator transfer function is obtained by subtracting 1 from the right side of Eq. (4.36) and replacing the exponential functions with power series. Retaining terms up to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image114.jpg , we obtain the following asymptotic formulas for the fractional error in gain and the phase error from the real and imaginary parts of the series:

(4.37)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image115.jpg

 

For this cubic extrapolation algorithm the predominant error is the gain error, which is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image081.jpg . Figure 4.3 shows a plot of the error coefficient,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image116.jpg , as given in Eq. (4.37), versus the dimensionless extrapolation interval a. In the case of this third-order algorithm the difference between the interpolation errors (-1 < a< 0) and the extrapolation errors (0 < a< 1) is very substantial. For example, the peak gain-error magnitude for interpolation, which occurs at /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image117.jpg , is

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image118.jpg

Figure 4.3. Gain error coefficient, /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image119.jpg, versus dimensionless extrapolation interval a for third-order extrapolation based on /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image106.jpg and /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image107.jpg

 

equal to 1/384. By comparison, the peak gain-error magnitude, which occurs at a = 1, is equal to 1/6.

 

From the appropriate Taylor series expansions the following formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image022.jpg , the time-domain error of the third-order extrapolator, can be derived:

(4.38)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image120.jpg

 

For a sinusoidal data sequence,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image121.jpg , and the extrapolator error in Eq. (4.38), when normalized through division by r, becomes  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image122.jpg . This is just the transfer function gain error  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image037.jpg given above in Eq. (4.37).

 

From the exact formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image063.jpg  the transfer function gain,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image064.jpg , can be determined from Eq. (4.36) for the case where the input frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg is not small compared with unity. For a = 1 and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image123.jpg , the gain increases rapidly with increasing  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg . For example, for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image124.jpg . Since the gain for a < 1 is proportional to a2, it will be considerably less for smaller extrapolation intervals a. In the unlikely event that the data sequence corresponding to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  has significant frequency components for which  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image123.jpg , although  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image034.jpg  can never exceed  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image125.jpg  (see Section 5.10), the third-order extrapolation algorithm considered here will amplify such high-frequency components appreciably.

 

4.8 Summary Tables of Extrapolator Formulas and Transfer Function Errors

The extrapolator formulas developed in Sections 4.2 through 4.7 are summarized in Table 4.1. Table 4.2 presents the asymptotic formulas for the gain and phase errors of the corresponding extrapolator transfer functions.

Table 4.1

Summary of Extrapolator Formulas

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image126.jpg

 

Table 4.2

Summary of Extrapolator Transfer Function Gain and Phase Errors

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image127.jpg

4.9 Generation of Multi-rate Data Sequences

In this section we consider the generation of fast data sequences from slow data sequences, i.e., the generation of multi-rate data sequences. In Section 4.1 we have already noted that this is required in the implementation of multi-rate integration, where a fast dynamic subsystem is simulated with an integration frame rate that is an integer multiple N times the integration frame rate used to simulate the slow subsystem. From the data sequence output of the slow subsystem it is necessary to produce a data sequence with N times the sample rate in order to provide the data sequence input to the fast subsystem. Multi-rate data sequences can also be used to drive D to A (Digital to Analog) converters to reduce the dynamic errors and discontinuities associated with D to A outputs in a hardware-in-the loop simulation. This application of multi-rate data-sequence generation will be considered in Chapter 5.

 

Consider the dynamic system illustrated in Figure 4.4, where the slow subsystem is simulated with an integration step size equal to T and the fast subsystem is simulated with an integration step size equal to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image128.jpg . Here N is an integer which represents the frame ratio of the multi-rate integration. Let  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image129.jpg be a data sequence from the slow subsystem with sample period T, where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg serves as an input to the fast subsystem. Assume that the fast subsystem integration algorithm requires inputs  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image130.jpg   over the nth slow frame. The only way these fast data-rate sequence values can be calculated from the slow data-rate sequence data points,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image131.jpg  is through extrapolation. If  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image132.jpg  are state variables, then  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image133.jpg  , are also available for the extrapolation formulas. If  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg is a state variable and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image099.jpg is integrated during

the nth frame to obtain  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  before the N integration steps of the fast subsystem are mechanized, then  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg is available as well as  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image134.jpg . In this case interpolation can be used to compute  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image135.jpg .  Figure 4.5 shows three examples of the generation of a fast data sequence  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image136.jpg  from a slow data sequence  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image129.jpg with N = 5. This means that the data rate of the fast data sequence is 5 times the data rate of the slow data sequence. In Figure 4.5a the fast data sequence is obtained by extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg . In Figure 4.5b the extrapolation is based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  and is more accurate. In Figure 4.5c the fast data sequence is obtained by interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg . Clearly the interpolation algorithm provides a more accurate representation of the fast data sequence than either of the extrapolation algorithms shown in Figure 4.5.

 

 

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image137.jpg

Figure 4.4.  Multi-rate integration with extrapolator (or interpolator) to generate the multi-rate input to the fast subsystem from the slow subsystem output.

 

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image138.jpg

Figure 4.5. Generation of fast data sequence from slow data sequence, N = 5.

Consider the specific case where N = 5 and we use first-order extrapolation, as in Figure 4.5a. Then we need to compute estimates for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image139.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image140.jpg  using  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg , and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg .  These estimates, along with  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg , constitute the 5 data points in the  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image136.jpg  data sequence over the interval  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image141.jpg , where the sample period of the fast data sequence is given by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image142.jpg . In Eq. (4.2) for extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  we set a = 0, 1/5, 2/5, 3/5 and 4/5, which leads to the following formulas for the fast data sequence:      /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image143.jpg

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image144.jpg

(4.39)

 

Let us now write the formulas for the fast data sequence points for the general case where the frame multiple is N and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  designates the extrapolated data point with extrapolation interval aT. Then the equations become

(4.40)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image145.jpg

It follows that

(4.41)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image146.jpg

 

We next consider a sinusoidal input data sequence.  Thus we let

(4.42)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image147.jpg

 

The extrapolator response  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  to the sinusoidal input  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  is given simply by

(4.43)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image148.jpg

 

where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image149.jpg  represents the extrapolator transfer function for sinusoidal inputs for the dimensionless extrapolation interval a. Here we have designated the transfer function  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image149.jpg  rather than simply  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image052.jpg  in order to indicate its dependence on the interval a. Substituting Eq. (4.43) into (4.41), we obtain

(4.44)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image150.jpg

 

We note that

(4.45)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image151.jpg

 

 

Here  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image152.jpg  and represents the ideal transfer function for the extrapolation interval a, first introduced as  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image153.jpg  in Eq. (4.9). but now designated as  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image154.jpg  to indicate its dependence on the dimensionless extrapolation interval a. Replacing T by Nhn by k/N , and a by m/N in Eq. (4.45), we see that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image155.jpg .   When Eq. (4.45) is then substituted into Eq. (4.44), we obtain

(4.46)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image156.jpg

 

For all integer values k > 0 we rewrite Eq. (4.46) as

(4.47)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image157.jpg

 

Where

(4.48)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image158.jpg

 

It is clear that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image159.jpg  in Eq. (4.47) is simply a sinusoidal data sequence with sample period h, the integration step size for the fast subsystem.  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg  is equal to the ratio of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image161.jpg , the extrapolator transfer function, to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image162.jpg the ideal extrapolator transfer function; for both transfer functions the dimensionless extrapolation interval is m/N. We have already derived formulas for this transfer-function ratio in Sections 4.2 through 4.7 for a number of different extrapolation algorithms. From Eq. (4.48) we see that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg  represents a periodic data sequence with period Nh, i.e.,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image163.jpg . This means that we can represent  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg  by means of a discrete Fourier series.* Thus we let

(4.49)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image164.jpg

 

Here  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg  is given by the sum of N sinusoidal data sequences of frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image165.jpg , where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image166.jpg , i.e., the frequency in radians per second of the fundamental component of the Fourier series.

 

To obtain the Fourier coefficients Cq we multiply both sides of Eq. (4.49) by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image167.jpg and sum from k =0 to /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image168.jpg . Then

(4.50)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image169.jpg

 

Interchanging the order of summation on the right side of Eq. (4.50), we obtain

(4.51)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image170.jpg

 

The exponential function  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image171.jpg  is a complex number which can be represented as a unit vector in the complex plane. The polar angle of the unit vector is equal to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image172.jpg , where both p and q are integers ranging between 0 and N-1.  As k is indexed from 0 to N-1, it is easy to show that the sum of the unit vectors will add to zero except when p = q, in which case the sum is N. Shown below are several specific cases for illustrative purposes.

* Oppenheim, A.V., and R.V. Schafer, Digital Signal Processing, Prentiss-Hall, Englewood Cliffs, New Jersey, 1975.

 

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image173.jpg

 

It therefore follows that

(4.52)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image174.jpg

 

Thus the double summation on the right side of Eq. (4.51) reduces simply to CqN and the formula for the Fourier coefficients becomes

(4.53)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image175.jpg

In particular /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image176.jpg the discrete Fourier series coefficient for the zero frequency component of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg , is given by

(4.54)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image177.jpg

 

Thus  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image176.jpg  is simply the average of the N extrapolator transfer function ratios  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image178.jpg corresponding, respectively, to the N extrapolation intervals  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image179.jpg

 

Substituting the discrete Fourier series representation for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg , as given in Eq. (4.49), into Eq. (4.47), we have

(4.55)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image180.jpg

 

This is the representation of the kth data point in the extrapolator output multi-rate data sequence with sample period h. The extrapolator input is the sinusoidal data sequence of Eq. (4.42) with sample period T (= Nh). The right side of Eq. (4.55) consists of N sinusoidal data sequences of frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image181.jpg  where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image182.jpg , the slow data-sequence sample frequency. When we let the input frequency take on negative as well as positive values, as required in the exponential representation of sinusoids, then the frequencies contained in  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image183.jpg   become  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image184.jpg . However, the amplitude Cq of the component with frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image185.jpg , where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image186.jpg , is normally small compared with the amplitude  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image176.jpg  of the component at the original input frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image187.jpg .  To show this we let

(4.56)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image188.jpg

where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image189.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image190.jpg  represent, respectively, the real and imaginary parts of the extrapolator transfer function ratio  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg . For  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image191.jpg   and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image192.jpg , we have shown in Eqs. (1.52) and (1.53) that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image193.jpg is approximately equal to the fractional error in gain of the transfer function and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image190.jpg is approximately equal to the phase error of the transfer function. In Sections 4.2 through 4.7 we have derived exact and approximate formulas for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image193.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image190.jpg for a number of extrapolation algorithms, as summarized in Tables 4.1 and 4.2. In accordance with Eq. (4.48) k merely designates the appropriate dimensionless extrapolation interval a.  Thus

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image194.jpg

 

Substituting Eq. (4.56) into Eq. (4.53), we obtain the following formula for the coefficient Cq in the discrete Fourier series representation of  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image160.jpg :

(4.57) /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image195.jpg

From Eq. (4.52) we see that this can be rewritten as

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image196.jpg

(4.58)

 

and

(4.59)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image197.jpg

 

Thus the amplitudes Cq of the harmonic frequencies  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image185.jpg  which are present in the extrapolated fast data sequence are indeed small for small  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image193.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image190.jpg . The coefficient C0 in Eq. (4.59) simply represents the effective extrapolator transfer function for the slow input data sequence of frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image187.jpg . It follows that

(4.60)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image198.jpg

and

(4.61)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image199.jpg

 

Here we have replaced  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image193.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image190.jpg with  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image200.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image200.jpg , respectively, where a = k/N. As a specific example, consider the case of first-order extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg . Letting a = k/N in Eq. (4.11), we obtain the following formulas for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image201.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image202.jpg  from Eqs. (4.60) and (4.61):

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image203.jpg

(4.62)

 

The same procedure is followed to obtain  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image201.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image202.jpg , the multi-rate extrapolator gain and phase errors, respectively, for other extrapolation algorithms. The actual errors depend on the frame-rate multiple N. For  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image204.jpg   the summations in Eqs. (4.60) and (4.61) are replaced by the following integrals:

(4.63)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image205.jpg

 

Table 4.3 summarizes the multi-rate extrapolator gain and phase errors for all of the extrapolator algorithms considered in this chapter. The table shows numerical values for the error coefficients when the frame multiple N = 2, 3, 4, 5, 6 and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image206.jpg . Note that the case of zero-order extrapolation is also included in the table. This is in effect equivalent to no extrapolation at all; i.e., the fast frame-rate system simply uses the same input  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  from the slow system for each of the N fast-system frames until  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg , the next input from the slow system is available. In this case the extrapolation algorithm is given by

(4.64)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image207.jpg

 

and the extrapolator transfer function  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image208.jpg  . After division by the ideal extrapolator transfer function,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image209.jpg and subtraction of 1, we obtain the following formulas for the exact and approximate fractional error in the zero-order extrapolator transfer function:

(4.65)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image210.jpg

 

It follows that the fractional error in gain and the phase error for the zero-order extrapolator are given , respectively, by

(4.66)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image211.jpg

 

These formulas are then used in Eqs. (4.60) and (4.61) with a=k/N to compute the fractional gain error,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image201.jpg , and the phase error,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image202.jpg , when zero-order extrapolation is used to generate the multi-rate data sequence.

 

Next we consider the dynamic errors in generating the multi-rate data sequences using interpolation instead of extrapolation. We note that the formulas for interpolation can be obtained from the formulas for extrapolation by simply replacing a with a– 1 and n with n + 1. For example, when these substitutions are made in Eq. (4.2), the following formula is obtained for interpolation over the nth frame based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg :

(4.67)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image212.jpg

 

Also, the asymptotic formulas for the gain and phase errors for interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg   and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg

Table 4.3

Summary of Multi-rate Extrapolator Gain and Phase Errors

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image213.jpg

 

are generated by replacing a with a-1 in Eq. (4.11) for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image037.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image038.jpg .  In this way we obtain

(4.68)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image214.jpg

 

where in this case rather than is designated as the step size. Note that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image037.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image038.jpg  now vanish in Eq. (4.68) at a= 1 as well as a = 0. Also, the gain-error coefficient in Figure 4.1 over the interval  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image215.jpg  for extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image216.jpg  becomes the gain-error coefficient over the interval

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image217.jpg  for interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg . It is then apparent that interpolator errors over the interval  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image217.jpg  are much smaller than extrapolator errors over the same interval.

 

The substitutions used to generate Eq. (4.67) from Eq. (4.11), namely n + 1 for n and a— 1 for a, can be used to convert all of the extrapolation formulas in Table 4.1 to interpolation formulas involving  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg . Substitution of a-1 for a can then be used to convert the corresponding formulas in Table 4.2 to transfer-function gain and phase errors for interpolation rather than extrapolation. These error formulas in turn allow us to calculate a table of multi-rate interpolator gain and phase errors similar to Table 4.3 for multi-rate extrapolator gain and phase errors. Clearly the multi-rate interpolator errors will in general be much smaller than the extrapolator errors illustrated in Table 4.3. However, utilization of interpolation for multi-rate data-sequence calculation over the nth frame does require the data point  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg . In the multi-rate simulation of Figure 4.4,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  can indeed be made available for generating the fast data sequence points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image183.jpg  if the nth slow-subsystem integration step is executed prior to executing the N fast-subsystem integration steps.

 

4.10 Quadratic Extrapolation Errors based on an AB-2 Reference Solution

Thus far in this chapter all the extrapolator (or interpolator) formulas for time-domain errors have been based on an ideal reference data sequence given by the Taylor series of Eq. (4.3), while all the frequency-domain errors have been based on an ideal sinusoidal reference data sequence with frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image187.jpg . In an actual simulation, however, data sequence points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image218.jpg  will be generated by numerical integration of state-variable derivative data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg . Of more significance in this case is the deviation of the extrapolated data-sequence value  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  from a reference data-sequence value  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image219.jpg  based on the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image218.jpg . To illustrate how this calculation is made, let us assume that the AB-2 predictor algorithm, which is often the preferred real-time method, is used to obtain the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image218.jpg  by numerical integration of the state-variable derivative data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg . We have seen in Eq. (1.14) that the AB-2 local integration truncation error is equal to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image220.jpg , where  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image221.jpg   and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image222.jpg .  Thus we can write             /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image223.jpg

(4.69)

 

In Eq. (4.69)  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  represent the data-sequence values resulting from exact integration of the specified input derivative function f(t), whereas  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image224.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image218.jpg  represent data points obtained using the AB-2 method for numerical integration of the state-variable derivative data sequence /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image225.jpg .

 

To make the accuracy of the algorithm used to calculate the extrapolated data point,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg , compatible with the step-by-step accuracy of the AB-2 integration, we assume that a quadratic extrapolation formula is utilized. Thus Eqs. (4.26), (4.29) and 4.34) all show that the extrapolation error when using quadratic methods is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image226.jpg   i.e.,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image227.jpg : the same as in Eq. (4.69) for the local integration truncation error when using the second-order AB-2 method. The following formula represents a numerical approximation to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image228.jpg  , i.e.,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image229.jpg ,  based on the exact data sequence values  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image230.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image231.jpg :

(4.70)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image232.jpg

 

 

The right side of Eq. (4.70) represents a backward difference approximation for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image233.jpg , where it is easy to show from Taylor series expansions for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image234.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image231.jpg about  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  that the error in the

 

approximation is proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image233.jpg  , i.e.,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image235.jpg ; It is useful to note that the numerator of the right side of Eq.(4.70) can be rewritten in terms of the AB-2 data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image236.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image237.jpg in the following way:

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image238.jpg or              /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image239.jpg

(4.71)

To examine the dependence of both truncation errors and quadratic extrapolation errors on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image227.jpg , we next let  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image240.jpg , which means that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image241.jpg   constant. Eq. (4.71) that the local truncation error will then be independent of the index n, which means that the local-truncation error terms on the right side of Eq. (4.71) will cancel each other. Thus we can write

(4.72)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image242.jpg

It follows that whether quadratic extrapolation uses the exact data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image230.jpg  or the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image243.jpg obtained by AB-2 integration, the third time derivative of r will be the same constant and hence the approximate quadratic extrapolation errors will be the same. This in turn means that the extrapolation error formula in Eq. (4.26), which assumed quadratic extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image244.jpg and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg , will apply equally well when the quadratic extrapolation is based on data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image243.jpg , as generated by AB-2 integration.

 

Next we consider quadratic interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image245.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg . As noted at the end of Section 4.9,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg can be made available in the nth integration frame for the multi-rate interpolation of Figure 4.4 if the slow subsystem integration step is executed prior to executing the N fast-subsystem integration steps. When using predictor integration methods such as AB-2,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  can always be made available at the start of the nth frame if both r and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image099.jpg  are state variables, since in this case  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image004.jpg  is available at the end of the n – 1 frame to implement the AB formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg . As noted earlier, we can obtain the formula for quadratic interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  by replacing a with a-1 and n with n + 1 in Eq. (4.21). In this way we obtain

(4.73)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image246.jpg

 

Substituting a -1 for a in Eq. (4.26), we obtain the following formula for the approximate time-domain error:

(4.74)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image247.jpg

 

Again substituting a-1 for a in Eq. (4.24), we obtain the following formulas for the fractional gain error and phase error for quadratic interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg :

(4.75)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image248.jpg

 

Note that the time-domain and frequency domain errors in Eqs. (4.74) and (4.75) now vanish for a = 1, 0 and -1, corresponding to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image249.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg , respectively.

 

An alternative to Eq. (4.73) for implementing quadratic interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image008.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  is to use the first three terms of the Taylor series of Eq. (4.3). Thus we have

(4.76)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image250.jpg

 

where

(4.77)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image251.jpg

 

Here the formulas in Eq. (4.77) represent central-difference approximations for the first and second time derivatives, respectively. In each case Taylor series expansions for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  can be used to show that the errors in the approximations are proportional to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image252.jpg . When the formulas in Eq. (4.77) are substituted into Eq. (4.76), Eq. (4.73) is obtained. The following formula represents a numerical approximation to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image228.jpg , i.e.,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image229.jpg  , based on the exact data sequence values based on the exact data sequence values  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image253.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg :

(4.78)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image254.jpg

 

Following the same procedure used to derive Eq. (4.72), we can show that

(4.79)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image255.jpg

It follows that whether quadratic interpolation uses the exact data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image253.jpg  or the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image256.jpg  obtained by AB-2 integration, the third time derivative of will be the same constant and hence the approximate quadratic interpolation errors will be the same. This in turn means that the error formulas in Eqs. (4.74) and (4.75), which assumed quadratic interpolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image253.jpg  will apply equally well when the quadratic interpolation is based on data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image256.jpg as generated by AB-2 integration.

 

In Figure 4.6 the quadratic extrapolation/interpolation errors given by Eqs. (4.26) and (4.74), made dimensionless through division by  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image252.jpg , are shown as a function of the dimensionless extrapolation interval a. We recall that the extrapolation for generating the fast data sequence  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image136.jpg  from the slow data sequence  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image129.jpg , as utilized to obtain the input to the fast subsystem in the multi-rate integration shown in Figure 4.4, requires a dimensionless extrapolation interval a that ranges from 0 to 1. Over this interval,  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image217.jpg , Figure 4.6 shows the much better accuracy of extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image245.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image009.jpg  (heretofore called interpolation) compared with extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image244.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg .

 

At this point it is useful to note that an estimate  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  can be calculated with quadratic extrapolation based on  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image244.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image069.jpg  by using Eq. (4.21) with = 1. Thus when we let = 1 in Eq. (4.21), we obtain

(4.80)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image258.jpg

 

When  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  is substituted for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  in Eqs. (4.76) and (4.77), the result is a quadratic extrapolation formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  that is the exact equivalent of the earlier formula in Eq. (4.21). From Eq. (4.26) we see that the error in  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  when calculated using Eq. (4.80) is equal to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image259.jpg , at least to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image260.jpg .  If we then add  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image226.jpg  from Eq. (4.78) to the right side of Eq. (4.80), the error of order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image260.jpg  in  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  will be cancelled. In this way we obtain the cubic extrapolation formula

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image261.jpg

 

 

Figure 4.6. Errors for quadratic extrapolation based on /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image262.jpg and /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image263.jpg.

which now represents an approximation to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  which is accurate to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image264.jpg . It follows that if we substitute  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  from Eq. (4.81) for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  in Eqs. (4.76) and (4.77), the resulting quadratic extrapolation for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image011.jpg  will to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image260.jpg  yield the same accuracy as that given by Eq. (4.74). Thus when  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg  is not available for extrapolation over the nth frame, we can still achieve the equivalent accuracy, at least approximately, by utilizing Eq. (4.81) to estimate  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image014.jpg .

 

Consider next the case where the cubic extrapolation formula of Eq. (4.81) is based on data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image243.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image237.jpg  as obtained by AB-2 integration of the data sequence  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image225.jpg . Then we can rewrite Eq. (4.81) in the following way:

(4.82)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image265.jpg

 

From the AB-2 integration formula we note that /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image266.jpg

(4.83)

 

In terms of the state-variable derivative data points /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image267.jpg , Eq. (4.82) can then be rewritten as

(4.84)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image268.jpg

 

Rewriting  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image269.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image270.jpg   using Taylor series expansions about fn and substituting the resulting formulas into Eq. (4.84), we obtain the following series representation of   /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image271.jpg :

(4.85)     /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image272.jpg

 

Again, using the Taylor series expansion about  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image267.jpg  for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image273.jpg  and substituting the resulting series into the AB-2 integration formula for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image224.jpg , we obtain

(4.86)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image274.jpg

Finally, we subtract Eq. (4.86) from Eq. (4.85) to obtain the formula for the difference between  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg , as obtained using the cubic extrapolation formula of Eq. (4.81), and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image224.jpg , as obtained using AB-2 integration. Thus

(4.87)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image275.jpg

As predicted earlier, when the cubic extrapolation formula of Eq. (4.81) is based on the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image236.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image237.jpg  as obtained by AB-2 integration, Eq. (4.87) shows that the extrapolated result  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg agrees with the AB-2 integration result  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image224.jpg  to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image260.jpg

 

Taking the Z transform of Eq. (4.87), we obtain

(4.88)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image276.jpg

 

For a sinusoidal data sequence with  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image277.jpg , it follows that  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image278.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image279.jpg .  Also, to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image280.jpg  . Thus  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image281.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image282.jpg  . Letting  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image073.jpg , we can then rewrite Eq. (4.88) as

/var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image283.jpg

or

(4.89)                            /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image284.jpg

 

Substituting the approximation  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image285.jpg for  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image286.jpg  and dropping terms of order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image287.jpg  and higher on the right side of Eq. (4.89), we obtain

(4.90)    /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image288.jpg

 

Here the left side of Eq. (4.90) represents the fractional error in the transfer function relating  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  as obtained from the data points  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image236.jpg  and  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image289.jpg  using the cubic extrapolation formula of Eq. (4.81), to  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image224.jpg  as obtained by AB-2 integration of the data sequence  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image225.jpg  . Again, we recall from Eqs. (1.53) and (1.54) that the real and imaginary parts of the fractional error in any transfer function represent, respectively, the fractional error in transfer-function gain and the transfer-function phase error. Therefore, from the right side of Eq. (4.90) we conclude that for sinusoidal inputs of frequency  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image187.jpg , the extrapolated result  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  matches the AB-2 result  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image224.jpg  except for a fractional gain error of approximately  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image290.jpg  , with zero phase error to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image114.jpg . Clearly  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image257.jpg  matches  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image224.jpg  exactly to order  /var/folders/gj/_qxhs_jx1gscpwjn24p833wr0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/image260.jpg , which is what we concluded earlier in deriving Eq. (4.81).

 

4.11 Summary of Extrapolation Methods

In this chapter we have derived extrapolation formulas for estimating future values of a time-dependent function based on current and past values of a data sequence representing the function. We have also presented formulas for the approximate time-domain error for each extrapolation method as a function of the dimensionless extrapolation interval a. Table 4.1 summarizes the formulas for linear, quadratic and cubic extrapolation. Formulas for the approximate gain and phase shift of the extrapolator transfer function for sinusoidal inputs are given in Table 4.2 for each extrapolation method. The higher-order extrapolation formulas, e.g., quadratic and cubic methods, produce more accurate results but require more calculations. They also respond less favorably to any discontinuities represented by the data sequence.

 

Because the generation of fast data sequences from slow data sequences, as required in multi-rate integration, constitutes one of the principle applications for digital extrapolation, we derived formulas in Section 4.9 for multi-rate extrapolator gain and phase errors for the different extrapolation methods. Again, the higher order methods are in general more accurate but require more calculations. It should also be noted that the higher order methods, when used for slow-to-fast subsystem interfacing in multi-rate integration, can lead to numerical instabilities for large integration step sizes when the slow and fast subsystems are tightly coupled in a closed loop. In particular, the cubic extrapolation represented by Eq. (4.81), while almost exactly matching the output of second-order integration one step in the future, should be used with care in multi-rate simulation of tightly-coupled systems.