# Time/Frequency Domain Representation of Signals

Electrical signals have both time and frequency domain representations. In the time domain, voltage or current is expressed as a function of time as illustrated in Figure 1. Most people are relatively comfortable with time domain representations of signals. Signals measured on an oscilloscope are displayed in the time domain and digital information is often conveyed by a voltage as a function of time.

Figure 1. Time domain representation of an electrical signal.

Signals can also be represented by a magnitude and phase as a function of frequency. Signals that repeat periodically in time are represented by a power spectrum as illustrated in Figure 2. Signals that are time limited (i.e. are only non-zero for a finite time) are represented by an energy spectrum as illustrated in Figure 3.

Figure 2. Power spectrum of a periodic signal.

Figure 3. Energy spectrum of a time-limited (transient) signal.

Frequency domain representations are particularly useful when analyzing linear systems. EMC and signal integrity engineers must be able to work with signals represented in both the time and frequency domains. Signal sources and interference are often defined in the time domain. However, system behavior and signal transformations are more convenient and intuitive when working in the frequency domain.

## Linear Systems

Linear system theory plays a key role in the engineering analysis of electrical and mechanical systems. Engineers model a wide variety of things including circuit behavior, signal propagation, coupling and radiation as linear transformations. Therefore, it is important to review exactly what we mean by a linear system so that we recognize how and when to take advantage of the powerful linear system analysis tools available to us.

Fig. 4 illustrates a system with one input, x(t), and one output, y(t)=H[x(t)]. If an input, x1(t) produces an output y1(t), and an input x2(t) produces an output y2(t), then the system is a linear system if and only if,

(1)

where a and b are constants. In other words, scaling the input by a constant will produce an output scaled by the same constant; and combining (summing) two inputs will produce an output that is the sum of the outputs produced by the individual inputs.

Figure 4: A linear system.

### Quiz Question

Which of the following equations describes the relationship between the output y(t) and the input x(t) of a linear system?

1. y=5x
2. y(t)=0
3. y=8x+3
4. y=x2
5. y(t)=5t x(t)
6. y=sin x
7. y(t)=5 δ/δt [x(t)]

Of the choices above, only a, b and g are linear system transformations. y=0 is not a very interesting system, because its output is always zero, but it is linear. Simple derivative and integral operators are linear, because they satisfy the conditions in Equation (1). The remaining choices are not linear operations. Note that y=8x+3 is the equation of a straight line, but it does not describe a linear system because it has a non-zero output when there is no input.

## Frequency Domain Analysis of Linear Systems

Linear systems have the unique property that any sinusoidal input will produce a sinusoidal output at exactly the same frequency. In other words if the input is of the form,

. (2)

then the output will have the form,

. (3)

In general, the magnitude and phase of the sinusoidal signal may change, but the frequency must be constant. This provides us with a very powerful analysis tool for analyzing linear systems. If we represent an input signal as the sum of its components in the frequency domain, then we can express the output as a simple scaling of the magnitudes and shifting of the phases of these components.

### Phasor Notation

To facilitate the analysis of linear system responses to sinusoidal inputs, it is convenient to represent signals in an abbreviated form known as phasor notation. Consider an input of the form,

. (4)

This can be represented as,

. (5)

where Re{• } indicates the real part of a complex quantity. Recognizing that the frequency ω will be the same throughout the system, we don't need to specifically write the term ejωt as long as we remember that it's there. The same applies to the Re{• } notation. This allows us to express a sinusoidal signal simply in terms of its magnitude and phase as,

. (6)

The expression in (6) is the signal in (4) expressed using phasor notation. Note that we must know the frequency of a signal in order to covert from phasor notation to the time domain representation.

### Quiz Question

Write the following signals using phasor notation:

1. x(t) = 5 cos(wt) volts
2. y(t)=5 sin(wt) amps
3. z(t) = 5t sin(wt) volts

The first signal expressed in phasor notation is simply x = 5 volts. To obtain the phasor notation for the second signal, we recognize that sin(ωt) = cos(ωt + π/2) so y = 5ej(π/2). The third signal is not a sinusoid and therefore cannot be expressed using phasor notation.

### Fourier Series

Of course many of the inputs to linear systems we would like to analyze are not sinusoidal. In this case, it is desirable to represent more arbitrary signal waveforms as a sum of sinusoidal frequency components. We then analyze each component individually and apply the concept of superposition to reconstruct the output signal.

A periodic signal can be represented as a sum of its frequency components by calculating its Fourier series coefficients. A periodic signal with period T can be written,

. (7a)

where

. (7b)

If x(t) is a real time domain signal, the coefficients cn and c-n are complex conjugates (i.e. ) and we can rewrite Equation (7) in the form,

. (8)

In this form, we see that the Fourier series coefficients consist of a DC component, c0, and positive harmonic frequencies, nω0 (n = 1,2,3, …). This is a one-sided Fourier series and the coefficients, , correspond to the amplitudes of the frequency harmonics that would be measured using a spectrum analyzer.

A few periodic signals and their frequency domain representations are illustrated in Figure 5. The frequency domain representation of a periodic signal is a line spectrum. It can only have non-zero values at DC, the fundamental frequency, and harmonics of the fundamental. Because periodic signals have no beginning or end, non-zero periodic signals have infinite energy but generally have finite power. The total power in the time domain signal,

. (9)

is equal to the sum of the power in each frequency domain component,

. (10)

Figure 5. Periodic signals in the time and frequency domain.

### Example 1: Frequency Domain Representation of a Pulse Train

Determine the frequency domain representation for the pulse train shown in Figure 6.

Figure 6: A pulse train.

In the time domain this signal is described by the following formula:

. (E1)

The coefficients of the Fourier series are then calculated using Equation (7b) as,

. (E2)

Note that as , our time domain signal looks like an impulse train and the amplitudes of all the harmonics approach the same value. As , the signal becomes a square wave and the magnitude of the harmonics becomes,

. (E3)

In this case, the amplitude of the even harmonics is zero and the odd harmonics decrease linearly with frequency (n).

### Fourier Transform

Transient signals (i.e. signals that start and end at specific times) can also be represented in the frequency domain using the Fourier transform. The Fourier transform representation of a transient signal, x(t), is given by,

. (11)

The inverse Fourier transform can be used to convert the frequency domain representation of a signal back to the time domain,

. (12)

Some transient time domain signals and their Fourier transforms are illustrated in Figure 7.

Figure 7. Transient signals in the time and frequency domain.

Note that transient signals have zero average power (when averaged over all time), but they have finite energy. The total energy in a transient time domain signal is given by,

. (13)

This must equal the total energy in the frequency domain representation of the signal,

. (14)

## Frequency Domain Representation of a Trapezoidal Signal

Let's examine the frequency domain representation of the periodic trapezoidal waveform illustrated in Figure 8. Examining the behavior of this waveform helps us to gain insight into the relationship between time and frequency domain representations in general. Also, the similarity between the trapezoidal waveform and common digital signal waveforms will be useful when we investigate EMC or signal integrity problems with digital systems.

Figure 8. A trapezoidal waveform.

Using the one-sided Fourier series, Equations (7b) and (8), we can represent this signal as the sum of its frequency components [1],

. (15)

where

. (16)

Equation (16) can be derived by noting that the trapezoidal waveform in Figure 7 can be obtained by convolving the pulse train in Figure 9 with another pulse train whose pulses have a width, tr, and an amplitude A/tr. Convolution in the time domain is equivalent to multiplication in the frequency domain, so we can simply multiply the two frequency domain representations of these pulse trains to obtain Equation (16).

Each term, , is the amplitude of the nth harmonic. If we assume that tr<<T, we note that the third term is approximately equal to for the lower harmonics. If (i.e. a 50% duty cycle), then the numerator of the second term is 1 for the harmonics (n = 1,3,5,…) and 0 for the even harmonics (n = 2,4,6,…). The amplitude of the lower harmonics is then inversely proportional to n (i.e. the amplitude of the lower harmonics decreases proportional to the frequency). At higher harmonics, the third term also begins to decrease proportional to frequency, so the overall amplitude of the upper harmonics decreases on average at a rate proportional to the square of the frequency. This frequency representation of a trapezoidal signal and its envelope are illustrated in Figure 9.

Figure 9: Frequency Domain representation of a trapezoidal signal

### Example 2: Harmonics of a Trapezoidal Signal

The waveform shown in Figure 10 below is measured on an oscilloscope in the lab. The rise and fall times are 0.8 ns.

a.) What is the fundamental frequency?

b.) Calculate the amplitudes of the harmonics at 50 MHz, 150 MHz, 250 MHz and 1.55 GHz.

If the rise and fall times are increased to 1.6 nanoseconds, then by how many dB will the harmonics at 50 MHz, 150 MHz, 250 MHz and 550 MHz be reduced?

Figure 10. Trapezoidal waveform for Example 2.

Noting that the period is 20 nsec, the fundamental frequency is easily determined to be . Therefore we are being asked to determine the amplitudes of the 1st, 3rd, 5th and 11th harmonics. Applying Equation (16) for n = 1,3,5 and 11 we get the amplitudes of these harmonics,

.

None of these harmonics are significantly affected by the risetime. They have virtually the same amplitude that they would have had if the risetime had been zero. Increasing the risetime to 1.6 ns however, significantly affects the amplitude of the upper harmonics,

.

Doubling the risetime from 0.8 to 1.6 ns reduces the first harmonic by only . The third harmonic is reduced by . The fifth harmonic is reduced by , while the eleventh harmonic is reduced by .

Note that changing the risetime can have a significant effect on the amplitude of the upper harmonics without changing the time domain representation of the signal significantly. Radiated EMI or crosstalk problems at the upper harmonic frequencies of a digital signal can often be solved by increasing the risetime of the digital signal waveform. Generally, a risetime that is equal to 10% of a bit length or more will still produce a very good digital signal while significantly limiting the amplitude of a signal at frequencies above the 10th harmonic.