Let be a discrete signal consisting of samples of a continuous time signal . The samples are separated in time by a time interval . Define a discrete signal as follows:
In the equation above, the " " subscript indicates the present processing interval, and the " " subscript denotes the previous processing interval (from time ago). Suppose we want to be the time derivative of . In order to derive coefficients and , let us assume a discrete sinusoidal input signal , with angular frequency .
With a sinusoidal input signal, the ideal transfer function for a differentiator is (where is the imaginary unit). This transfer function reflects the fact that the derivative of a sinusoid is scaled by and advanced by degrees in time, relative to the input signal.
For the limiting case in which is very small, the coefficients yield the ideal sinusoidal transfer function . These coefficients correspond to the classic difference quotient. Since in this case, the discrete differentiator also completely rejects a constant signal in steady state.
Determine the coefficients and which yield the ideal sinusoidal transfer function for and . Enter your answer as .
Hint: Use the transform and its time-shift property. Then write in terms of and , and solve for the coefficients.
Bonus: For the differentiator with coefficients and , what is the response to a constant signal in steady state?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The ideal response is
y ( k T ) = ω cos ( ω k T )
Now, the response y ( k T ) = T 1 ( a ′ x ( k T ) + b ′ x ( ( k − 1 ) T ) , therefore,
T 1 ( a ′ sin ( ω k T ) + b ′ sin ( ω ( k − 1 ) T ) ) = ω cos ( ω k T )
⇒ a ′ sin ( ω k T ) + b ′ sin ( ω k T ) cos ( ω T ) − b ′ cos ( ω k T ) sin ( ω T ) = ω cos ( ω k T )
It follows that,
a ′ + b ′ cos ( ω T ) = 0
and
− b ′ sin ( ω T ) = ω
Plugging the given values of ω and T , we get
b ′ = − 1 . 0 6 8 9 6 and a ′ = 0 . 8 6 4 8 . Therefore, the answer is a ′ + b ′ = − 0 . 2 0 4 2 .