You are here

Frequency Domain Problems

2 June, 2016 - 15:17

Problem 4.1: Simple Fourier Series

Find the complex Fourier series representations of the following signals without explicitly calculating Fourier integrals. What is the signal's period in each case?

  1. s (t) = sin(t)
  2. s (t) = sin2 (t)
  3. s (t) = cos(t) + 2cos (2t)
  4. s (t) = cos (2t) cos (t)
  5. s\left ( t \right )=cos\left ( 10\pi t +\frac{\pi }{6}\right )\left ( 1+cos\left ( 2\pi t \right ) \right )
  6. s (t) given by the depicted waveform (Figure 4.18)
media/image515.png
Figure 4.18 depicted waveform

Problem 4.2: Fourier Series

Find the Fourier series representation for the following periodic signals (Figure 4.19). For the third signal, find the complex Fourier series for the triangle wave without performing the usual Fourier integrals. Hint:
How is this signal related to one for which you already have the series?
 

media/image516.png
Figure 4.19 Fourier Series

Problem 4.3: Phase Distortion

We can learn about phase distortion by returning to circuits and investigate the following circuit (Figure 4.20).
 

media/image517.png
Figure 4.20 Phase Distortion
  1. Find this filter’s transfer function.
  2. Find the magnitude and phase of this transfer function. How would you characterize this circuit?
  3. Let vin (t) be a square-wave of period T. What is the Fourier series for the output voltage?
  4. Use Matlab to find the output's waveform for the cases T =0.01 and T =2. What value of T delineates the two kinds of results you found? The software in fourier2.m might be useful.
  5. Instead of the depicted circuit, the square wave is passed through a system that delays its input, which applies a linear phase shift to the signal's spectrum. Let the delay τ be \frac{T}{4} . Use the transfer function of a delay to compute using Matlab the Fourier series of the output. Show that the square wave is indeed delayed.

Problem 4.4: Approximating Periodic Signals

Often, we want to approximate a reference signal by a somewhat simpler signal. To assess the quality of an approximation, the most frequently used error measure is the mean-squared error. For a periodic signal s (t),
\in ^2=\frac{1}{T}\int_{0}^{T}(s(t)-\tilde{s}(t))^2dt
where s (t) is the reference signal and \bar{s}(t)its approximation. One convenient way of finding approximations for periodic signals is to truncate their Fourier series.

\tilde{s}(t)=\sum_{k=-K}^{K}\left ( c_ke^{j\frac{2\pi k}{T}t \right )}
The point of this problem is to analyze whether this approach is the best (i.e., always minimizes the mean-squared error).

  1. Find a frequency-domain expression for the approximation error when we use the truncated Fourier series as the approximation.
  2. Instead of truncating the series, let's generalize the nature of the approximation to including any set of 2K +1 terms: We'll always include the c0 and the negative indexed term corresponding to ck. What selection of terms minimizes the mean-squared error? Find an expression for the mean-squared error resulting from your choice.
  3. Find the Fourier series for the depicted signal (Figure 4.21). Use Matlab to find the truncated approximation and best approximation involving two terms. Plot the mean-squared error as a function of K for both approximations.
media/image522.png
Figure 4.21 Approximating Periodic Signals

Problem 4.5: Long, Hot Days

The daily temperature is a consequence of several effects, one of them being the sun's heating. If this were the dominant effect, then daily temperatures would be proportional to the number of daylight hours. The plot (Figure 4.22) shows that the average daily high temperature does not behave that way.
 

media/image523.png
Figure 4.22 Long, Hot Days

In this problem, we want to understand the temperature component of our environment using Fourier series and linear system theory. The file temperature.mat contains these data (daylight hours in the first row, corresponding average daily highs in the second) for Houston, Texas.

  1. Let the length of day serve as the sole input to a system having an output equal to the average daily temperature. Examining the plots of input and output, would you say that the system is linear or not? How did you reach you conclusion?
  2. Find the first five terms (c0, ... , c4) of the complex Fourier series for each signal. Use the following formula that approximates the integral required to find the Fourier coefficients.   c_k=\frac{1}{366}\sum_{n=0}^{366}s(n)e^{-(j\frac{2\pi nk}{366})}
  3. What is the harmonic distortion in the two signals? Exclude c0 from this calculation.
  4. Because the harmonic distortion is small, let's concentrate only on the first harmonic. What is the phase shift between input and output signals?
  5. Find the transfer function of the simplest possible linear model that would describe the data. Characterize and interpret the structure of this model. In particular, give a physical explanation for the phase shift.
  6. Predict what the output would be if the model had no phase shift. Would days be hotter? If so, by how much?

Problem 4.6: Fourier Transform Pairs

Find the Fourier or inverse Fourier transform of the following.

\begin{align*} 1.\ &x\left ( t \right )=e^{-(a|t|)}\\ 2.\ &x\left ( t \right )=te^{-\left ( at \right )}u\left ( t \right )\\ 3.\ &X\left ( t \right )=\left\{\begin{matrix} 1\ if \left | f \right |< W & \\ 0\ if \left | f \right | > W & \end{matrix}\right.\\ 4.\ &x\left ( t \right )=e^{-\left ( at \right )}cos\left ( 2\pi f_{0}t \right )u\left ( t \right )\\ \end{align*}

Problem 4.7: Duality in Fourier Transforms

"Duality" means that the Fourier transform and the inverse Fourier transform are very similar. Consequently, the waveform s (t) in the time domain and the spectrum s (f) have a Fourier transform and an inverse Fourier transform, respectively, that are very similar.

  1. Calculate the Fourier transform of the signal shown below (Figure 4.23(a)).
  2. Calculate the inverse Fourier transform of the spectrum shown below (Figure 4.23(b)).
  3. How are these answers related? What is the general relationship between the Fourier transform of s (t) and the inverse transform of s (f)?
media/image529.png
Figure 4.23 Duality in Fourier Transforms

Problem 4.8: Spectra of Pulse Sequences

Pulse sequences occur often in digital communication and in other fields as well. What are their spectral properties?

  1. Calculate the Fourier transform of the single pulse shown below (Figure 4.24(a)).
  2. Calculate the Fourier transform of the two-pulse sequence shown below (Figure 4.24(b)).
  3. Calculate the Fourier transform for the ten-pulse sequence shown in below (Figure 4.24(c)). You should look for a general expression that holds for sequences of any length.
  4. Using Matlab, plot the magnitudes of the three spectra. Describe how the spectra change as the number of repeated pulses increases.
media/image530.png
Figure 4.24 Spectra of Digital Communication Signals 1

One way to represent bits with signals is shown in Figure 4.25. If the value of a bit is a "1", it is represented by a positive pulse of duration T. If it is a "0", it is represented by a negative pulse of the same duration. To represent a sequence of bits, the appropriately chosen pulses are placed one after the other.
 

media/image531.png
Figure 4.25 Spectra of Digital Communication Signals 2
  1. What is the spectrum of the waveform that represents the alternating bit sequence "...01010101..."?
  2. This signal's bandwidth is defined to be the frequency range over which 90% of the power is contained. What is this signal's bandwidth?
  3. Suppose the bit sequence becomes "...00110011..." Now what is the bandwidth?

Problem 4.10: Lowpass Filtering a Square Wave

Let a square wave (period T ) serve as the input to a first-order lowpass system constructed as a RC filter. We want to derive an expression for the time-domain response of the filter to this input.

  1. First, consider the response of the filter to a simple pulse, having unit amplitude and width\frac{T}{2} . Derive an expression for the filter's output to this pulse.
  2. Noting that the square wave is a superposition of a sequence of these pulses, what is the filter's response to the square wave?
  3. The nature of this response should change as the relation between the square wave's period and the filter's cutoff frequency change. How long must the period be so that the response does not achieve a relatively constant value between transitions in the square wave? What is the relation of the filter's cutoff frequency to the square wave's spectrum in this case?

Problem 4.11: Mathematics with Circuits

Simple circuits can implement simple mathematical operations, such as integration and differentiation. We want to develop an active circuit (it contains an op-amp) having an output that is proportional to the integral of its input. For example, you could use an integrator in a car to determine distance traveled from the speedometer.

  1. What is the transfer function of an integrator?
  2. Find an op-amp circuit so that its voltage output is proportional to the integral of its input for all signals.

Problem 4.12: Where is that sound coming from?

We determine where sound is coming from because we have two ears and a brain. Sound travels at a relatively slow speed and our brain uses the fact that sound will arrive at one ear before the other. As shown here (Figure 4.26), a sound coming from the right arrives at the left ear τ seconds after it arrives at the right ear.
 

media/image533.png
Figure 4.26 Where is that sound coming from?

Once the brain fnds this propagation delay, it can determine the sound direction. In an attempt to model what the brain might do, RU signal processors want to design an optimal system that delays each ear's signal by some amount then adds them together. Δl and Δr are the delays applied to the left and right signals respectively. The idea is to determine the delay values according to some criterion that is based on what is measured by the two ears.

  1. What is the transfer function between the sound signal s (t) and the processor output y (t)?
  2. One way of determining the delay τ is to choose Δl and Δr to maximize the power in y (t). How are these maximum-power processing delays related to τ?

Problem 4.13: Arrangements of Systems

Architecting a system of modular components means arranging them in various confgurations to achieve some overall input-output relation. For each of the following (Figure 4.27), determine the overall transfer function between x (t) and y (t).
 

media/image534.png
Figure 4.27 Arrangements of Systems

The overall transfer function for the cascade (first depicted system) is particularly interesting. What does it say about the effect of the ordering of linear, time-invariant systems in a cascade?

Problem 4.14: Filtering

Let the signal s (t)= sin(πt πt) be the input to a linear, time-invariant filter having the transfer function shown below (Figure 4.28). Find the expression for y (t), the filter's output.
 

media/image535.png
Figure 4.28 Filtering

Problem 4.15: Circuits Filter!

A unit-amplitude pulse with duration of one second serves as the input to an RC-circuit having transfer function
H(f)=\frac{j2\pi f}{4+j2\pi f}

  1. How would you categorize this transfer function: lowpass, highpass, bandpass, other?
  2. Find a circuit that corresponds to this transfer function.
  3. Find an expression for the filter's output.

Problem 4.16: Reverberation

Reverberation corresponds to adding to a signal its delayed version.

  1. Assuming τ represents the delay, what is the input-output relation for a reverberation system? Is the system linear and time-invariant? If so, find the transfer function; if not, what linearity or time invariance criterion does reverberation violate.
  2. A music group known as the ROwls is having trouble selling its recordings. The record company's engineer gets the idea of applying different delay to the low and high frequencies and adding the result to create a new musical effect. Thus, the ROwls' audio would be separated into two parts (one less than the frequency f0, the other greater than f0), these would be delayed by τl and τh respectively, and the resulting signals added. Draw a block diagram for this new audio processing system, showing its various components.
  3. How does the magnitude of the system's transfer function depend on the two delays?

Problem 4.17: Echoes in Telephone Systems

A frequently encountered problem in telephones is echo. Here, because of acoustic coupling between the ear piece and microphone in the handset, what you hear is also sent to the person talking. That person thus not only hears you, but also hears her own speech delayed (because of propagation delay over the telephone network) and attenuated (the acoustic coupling gain is less than one). Furthermore, the same problem applies to you as well: The acoustic coupling occurs in her handset as well as yours.

  1. Develop a block diagram that describes this situation.
  2. Find the transfer function between your voice and what the listener hears.
  3. Each telephone contains a system for reducing echoes using electrical means. What simple system could null the echoes?

Problem 4.18: Effective Drug Delivery

In most patients, it takes time for the concentration of an administered drug to achieve a constant level in the blood stream. Typically, if the drug concentration in the patient's intravenous line is Cdu (t), the concentration in the patient's blood stream is Cp( 1 e(at))u (t).

  1. Assuming the relationship between drug concentration in the patient's drug and the delivered concentration can be described as a linear, time-invariant system, what is the transfer function?
  2. Sometimes, the drug delivery system goes awry and delivers drugs with little control. What would the patient's drug concentration be if the delivered concentration were a ramp? More precisely, if it were Cdtu (t)?
  3. A clever doctor wants to have the flexibility to slow down or speed up the patient's drug concentration. In other words, the concentration is to be Cp( 1 e(bt))u (t), with b bigger or smaller than a. How should the delivered drug concentration signal be changed to achieve this concentration profile?

Problem 4.19: Catching Speeders with Radar

RU Electronics has been contracted to design a Doppler radar system. Radar transmitters emit a signal that bounces of any conducting object. Signal diferences between what is sent and the radar return is processed and features of interest extracted. In Doppler systems, the object's speed along the direction of the radar beam is the feature the design must extract. The transmitted signal is a sinsusoid: x (t)= Acos (2πfct). The measured return signal equals Bcos (2π ((fc + Δf) t + ϕ)), where the Doppler offset frequency Δf equals 10v, where v is the car's velocity coming toward the transmitter.

  • Design a system that uses the transmitted and return signals as inputs and produces Δf.
  • One problem with designs based on overly simplistic design goals is that they are sensitive to unmodeled assumptions. How would you change your design, if at all, so that whether the car is going away or toward the transmitter could be determined?
  • Suppose two objects traveling different speeds provide returns. How would you change your design, if at all, to accomodate multiple returns?

Problem 4.20: Demodulating an AM Signal

Let m (t) denote the signal that has been amplitude modulated.
x(t)=A(1+m{t}))sin(2\pi f_ct)
Radio stations try to restrict the amplitude of the signal m (t) so that it is less than one in magnitude. The frequency fcis very large compared to the frequency content of the signal. What we are concerned about here is not transmission, but reception.

  1. The so-called coherent demodulator simply multiplies the signal x (t) by a sinusoid having the same frequency as the carrier and lowpass filters the result. Analyze this receiver and show that it works. Assume the lowpass filter is ideal.
  2. One issue in coherent reception is the phase of the sinusoid used by the receiver relative to that used by the transmitter. Assuming that the sinusoid of the receiver has a phase φ, how does the output depend on φ? What is the worst possible value for this phase?
  3. The incoherent receiver is more commonly used because of the phase sensitivity problem inherent in coherent reception. Here, the receiver full-wave rectifes the received signal and lowpass filters the result (again ideally). Analyze this receiver. Does its output difer from that of the coherent receiver in a signifcant way?

Problem 4.21: Unusual Amplitude Modulation

We want to send a band-limited signal having the depicted spectrum (Figure 4.29(a)) with amplitude modulation in the usual way. I.B. Different suggests using the square-wave carrier shown below (Figure 4.29(b)). Well, it is different, but his friends wonder if any technique can demodulate it.

  1. Find an expression for X (f), the Fourier transform of the modulated signal.
  2. Sketch the magnitude of X (f), being careful to label important magnitudes and frequencies.
  3. What demodulation technique obviously works?
  4. I.B. challenges three of his friends to demodulate x (t) some other way. One friend suggests modulating x (t) with cos(\frac{\pi t}{2}), another wants to try modulating with cos(\frac{3\pi t}{2}) and the third thinks cos 2 will work. Sketch the magnitude of the Fourier transform of the signal each student's approach produces. Which student comes closest to recovering the original signal? Why?
media/image539.png
Figure 4.29 Unusual Amplitude Modulation

Problem 4.22: Sammy Falls Asleep...

While sitting in ELEC 241 class, he falls asleep during a critical time when an AM receiver is being described. The received signal has the form r (t)= A(1 + m (t)) cos (2πfct + φ) where the phase φ is unknown. The message signal is m (t); it has a bandwidth of W Hz and a magnitude less than 1 (|m (t) | < 1). The phase φ is unknown. The instructor drew a diagram (Figure 4.30) for a receiver on the board; Sammy slept through the description of what the unknown systems where.
 

media/image540.png
Figure 4.30 Sammy Falls Asleep...
  1. What are the signals xc(t) and xs (t)?
  2. What would you put in for the unknown systems that would guarantee that the final output contained the message regardless of the phase?   HINT: Think of a trigonometric identity that would prove useful.
  3. Sammy may have been asleep, but he can think of a far simpler receiver. What is it?

Problem 4.23: Jamming

Sid Richardson college decides to set up its own AM radio station KSRR. The resident electrical engineer decides that she can choose any carrier frequency and message bandwidth for the station. A rival college decides to jam its transmissions by transmitting a high-power signal that interferes with radios that try to receive KSRR. The jamming signal jam (t) is what is known as a sawtooth wave (depicted in Figure 4.31) having a period known to KSRR's engineer.
 

media/image541.png
Figure 4.31 Jamming

Find the spectrum of the jamming signal.

Can KSRR entirely circumvent the attempt to jam it by carefully choosing its carrier frequency and transmission bandwidth? If so, find the station's carrier frequency and transmission bandwidth in terms of T , the period of the jamming signal; if not, show why not.

Problem 4.24: AM Stereo

A stereophonic signal consists of a "left" signal l (t) and a "right" signal r (t) that conveys sounds coming from an orchestra's left and right sides, respectively. To transmit these two signals simultaneously, the transmitter first forms the sum signal s+ (t)= l (t)+ r (t) and the difference signal s− (t)= l (t) − r (t). Then, the transmitter amplitude-modulates the difference signal with a sinusoid having frequency 2W , where W is the bandwidth of the left and right signals. The sum signal and the modulated difference signal are added, the sum amplitude-modulated to the radio station's carrier frequency fc, and transmitted. Assume the spectra of the left and right signals are as shown (Figure 4.32).
 

media/image542.png
Figure 4.32 AM Stereo
  1. What is the expression for the transmitted signal? Sketch its spectrum.
  2. Show the block diagram of a stereo AM receiver that can yield the left and right signals as separate outputs.
  3. What signal would be produced by a conventional coherent AM receiver that expects to receive a standard AM signal conveying a message signal having bandwidth W ?

Problem 4.25: Novel AM Stereo Method

A clever engineer has submitted a patent for a new method for transmitting two signals simultaneously in the same transmission bandwidth as commercial AM radio. As shown (Figure 4.33), her approach is to modulate the positive portion of the carrier with one signal and the negative portion with a second.
 

media/image543.png
Figure 4.33 Example Transmitter Waveform

In detail the two message signals m1 (t) and m2 (t) are bandlimited to W Hz and have maximal amplitudes equal to 1. The carrier has a frequency fc much greater than W . The transmitted signal x (t) is given by
media/image544.png
In all cases, 0 <a< 1. The plot shows the transmitted signal when the messages are sinusoids: m1 (t)= sin (2πfmt) and m2 (t) = sin (2π2fmt) where 2fm <W . You, as the patent examiner, must determine whether the scheme meets its claims and is useful.

Problem 4.26: A Radical Radio Idea

An ELEC 241 student has the bright idea of using a square wave instead of a sinusoid as an AM carrier. The transmitted signal would have the form
x(t)=A(1+m(t))sqT(t)
where the message signal m (t) would be amplitude-limited: |m (t) | < 1
 

  1. Assuming the message signal is lowpass and has a bandwidth of W Hz, what values for the square wave's period T are feasible. In other words, do some combinations of W and T prevent reception?
  2. Assuming reception is possible, can standard radios receive this innovative AM transmission? If so, show how a coherent receiver could demodulate it; if not, show how the coherent receiver's output would be corrupted. Assume that the message bandwidth W =5 kHz.

 

Problem 4.27: Secret Communication

An amplitude-modulated secret message m (t) has the following form.
r(t)=A(1+m(t))cos(2\pi (f_c+f_0) t)
The message signal has a bandwidth of W Hz and a magnitude less than 1 (|m (t) | < 1). The idea is to offset the carrier frequency by f0 Hz from standard radio carrier frequencies. Thus, "of-the-shelf" coherent demodulators would assume the carrier frequency has fc Hz. Here, f0 <W .

  1. Sketch the spectrum of the demodulated signal produced by a coherent demodulator tuned to fc Hz.
  2. Will this demodulated signal be a "scrambled" version of the original? If so, how so; if not, why not?
  3. Can you develop a receiver that can demodulate the message without knowing the offset frequency fc?

Problem 4.28: Signal Scrambling

An excited inventor announces the discovery of a way of using analog technology to render music unlistenable without knowing the secret recovery method. The idea is to modulate the bandlimited message m (t) by a special periodic signal s (t) that is zero during half of its period, which renders the message unlistenable and superficially, at least, unrecoverable (Figure 4.34).
 

media/image545.png
Figure 4.34 Signal Scrambling
  1. What is the Fourier series for the periodic signal?
  2. What are the restrictions on the period T so that the message signal can be recovered from m (t) s (t)?
  3. ELEC 241 students think they have "broken" the inventor's scheme and are going to announce it to the world. How would they recover the original message without having detailed knowledge of the modulating signal?