User Tools

Site Tools


columbia_ee_dqe

Columbia EE DQE

This page collects notes for the Columbia University Electrical Engineering Doctoral Qualifying Exam. The sections correspond to those listed here.

Circuits and Electronics

H+H refers to “The Art of Electronics”, 2nd Edition, by Horowitz and Hill.

Resistors, capacitors, inductors, ideal transformers, independent sources, dependent sources and operational amplifiers

“The current through a metallic conductor is proportional to the voltage across it (Ohm's Law): <math>R = V/I</math>.” H+H p.4

“The resistance of two resistors in series is <math>R = R_1 + R_2</math>, in parallel <math>R = \frac{1}{1/R_1 + 1/R_2}</math>.” H+H p.6

For a voltage divider, <math>V_{out} = \frac{R_2}{R_1 + R_2}V_{in}</math>. H+H p.8

“A perfect (independent) voltage source maintains a fixed voltage drop across its terminals, regardless of load resistance.” (same for current) H+H p.9

“Thevenin's theorem states that any two-terminal network of resistors and voltage sources is equivalent to a single resistor resistor in series with a single voltage source.” This resistance is the equivalent internal resistance, which will cause the voltage output to change under load. H+H p.11

“Capacitors are devices that might be considered simply frequency-dependent resistors.” <math>I = C\frac{dV}{dt}</math> H+H p.20

“The rate of current change in an inductor depends on the voltage applied across it.” <math>V = L\frac{dI}{dt}</math> “An inductor is, in a real sense, the opposite of a capacitor.” H+H p.28

“A transformer is a device consisting of two closely coupled coils (called primary and secondary). An AC voltage applied to the primary appears across the secondary, with a voltage multiplication proportional to the turns ratio of the transformer and a current multiplication inversely proportional to the turns ratio.” H+H p.28

“Both capacitors and inductors are linear devices… the output of a linear circuit, driven with a sine wave at some frequency f, is itself a sine wave at the same frequency (with, at most, changed amplitude and phase).” O+S p.29

For a capacitor, the current is <math>I = \frac{V}{1/\omega C}</math> - it be haves like a frequency-dependent resistor <math>R = 1/\omega C</math>, but in addition the current is 90 degrees out of phase with the voltage. H+H p.30 The complex reactance for a capacitor is <math>X_C = -j/\omega C = 1/j\omega c</math>; for an inductor, <math>X_L = j\omega L</math>.

Ohm's law for impedance is <math>V = IZ</math>; <math>Z</math> is some impedance - a resistance or a reactance. H+H p.32

For reactive circuits and AC voltages, the power is defined as <math>P = \frac{1}{T}\int_0^T V(t)I(t) dt</math> because it fluctuates over time. The average power is given by the real part of <math>VI^\ast</math>. H+H p.34

A voltage divider for impedance is the same: <math>V_out = V_in\frac{Z_2}{Z_1 + Z_2}</math>. H+H p.35

Operational amplifiers are “very high gain dc-coupled differential amplifiers with single-ended outputs.” “The output goes positive when the noninverting input (+) goes more positive than the inverting input (-), and vice versa.” H+H p.176

Op amp rules: “The output attempts to do whatever is necessary to make the voltage difference between the inputs zero. The inputs draw no current.” H+H p.177

The op amp rules “will be obeyed only if the op-amp is in the active region, i.e. inputs and outputs not saturated at one of the supply voltages, the feedback must be arranged so that it is negative, there must always be feedback at DC in an op-amp circuit, and many op-amps have a relatively small maximum differential input voltage limit.” H+H p.182

The ideal op amp: “1. Input impedance = infinity, 2. Output impedance (open loop) = 0, 3. Voltage gain = infinity, 4. Common-mode voltage gain = 0, 5. <math>V_{out} = 0</math> when both inputs are at  the same voltage, output can change instantaneously (infinite slew rate).” H+H p.185

Charge, current, voltage, and power

“The voltage between two points is the cost in energy (work done) required to move a unit of positive charge from the more negative point (lower potential) to the more positive point (higher potential).” H+H p.2

“Current is the rate of flow of electric charge past a point.” H+H p.2

“The power (work per unit time) consumed by a circuit device is <math>P = VI</math>.” H+H p.3

Kirchhoff's voltage and current laws

“The sum of currents into a point in a circuit equals the sum of the currents out… for a series circuit, the current is the same everywhere.” H+H p.3

“Things hooked in parallel have the same voltage across them.” H+H p.3

Node and Mesh Analysis

Analysis of RL, RC and RLC circuits (up to second order) using differential equations

For a resistor and capacitor in parallel, <math>C\frac{dV}{dt} = I = -\frac{V}{R}</math>, which is a differential equation with solution <math>V = Ae^{-t/RC}</math>, where <math>RC</math> is the time constant of the circuit. For a resistor and capacitor “voltage divider”, the current at the junction is <math>I = C\frac{dV}{dt} = \frac{V_i - V}{R}</math> which has solution <math>V = V_i + Ae^{-t/RC}</math>. For a general <math>V_i</math>, the output voltage is <math>V(t) = \frac{1}{RC}\int_{-\infty}^t V_i(t)e^{t-\tau)/RC d\tau</math> - the input averages past voltage history with a weighting factor <math>e^{-\Delta t/RC}</math> (integrator). For a capacitor and resistor “voltage divider”, the output is approximately proportional to the rate of change of the input signal (differentiator).

Diodes and diode circuits

A diode has a forward voltage drop - as current flows from the anode to cathode, the voltage drops by this amount. The diode will not allow hardly any current to flow from cathode to anode, until you reach the reverse breakdown voltage. H+H p.44

Basic logic gate circuits (CMOS, TTL, ECL)

For nMOS switch, source (bottom leg) is typically tied to ground and is used to pull signals down: when Gate = 1, Out = 0, when Gate = 0, Out = Z (high impedance). For pMOS switch, source (top leg) is typically tied to Vdd, used to pull signals up: when Gate = 0, Out = 1 (Vdd) when Gate = 1, Out = Z (high impedance). Reference

Circuits using operational amplifiers

Inverting amplifer: voltage gain = <math>-R_f/R_i</math>, input impedance <math>R_i</math>. H+H p.178

Noninverting amplifier: gain = <math>1 + R_f/R_i</math>, input impedance theoretically infinite. H+H p.178

Signals, Systems, and Communications

O+S refers to “Discrete-Time Signal Processing”, 2nd Edition, by Oppenheim and Schafer.

Continuous-time and discrete-time systems

“Continuous-time signals are defined along a continuum of times and thus are represented by a continuous independent variable. Continuous-time signals are often referred to as analog signals. Discrete-time signals are defined at discrete times, and thus, the independent variable has discrete values; i.e. discrete-time signals are represented as sequences of numbers. Signals such as speech or images may have either a continuous- or a discrete-variable representation, and if certain conditions hold, these representations are entirely equivalent.” O+S p.8

Linear time-invariant systems

“A discrete-time system is defined mathematically as a transformation or operator that maps an input sequence with values <math>x[n]</math> into an output sequence with values <math>y[n]</math>.” O+S p.16

If <math>x_1[n]</math> and <math>x_2[n]</math> are the inputs to a system <math>T</math>, it is linear if and only if <math>T\{ax_1[n] + bx_2[n]\} = aT\{x_1[n]\} + bT\{x_2[n]\}</math> O+S p.18

“A time-invariant system … is a system for which a time shift or delay of the input sequence causes a corresponding time shift in the output sequence. Specifically, suppose that a system transforms the input sequence values <math>x[n]</math> into the output sequence with valus <math>y[n]</math>. Then the system is said to be time-invariant if, for all <math>n_0</math>, the input sequence with values <math>x_1[n] = x[n - n_0]</math> produces the output sequence with values <math>y_1[n] = y[n - n_0]</math>. O+S p.20

“A linear time-invariant system is completely characterized by its impulse response <math>h[n]</math> in the sense that, given <math>h[n]</math>, it is possible to … compute the output <math>y[n]</math> due to any input <math>x[n]</math>” by <math>y[n] = \sum_{k = -\infty}^{\infty} x[k]h[n-k]</math>. O+S p.23

“Two LTI systems in cascade correspond to an LTI system with an impulse response that is the convolution of the impulse responses of the two systems.” O+S p.29

“The connection of two LTI systems in parallel is equivalent to a single system whose impulse response is the sum of the individual impulse responses” O+S p.30

“LTI systems are stable if and only if the impulse response is absolutely summable, i.e., if <math>S = \sum_{k=-\infty}^{\infty} |h[k]| < \infty</math>.” O+S p.30

An LTI system is causal if <math>h[n] = 0</math> when <math>n < 0</math>. O+S p.31

LTI systems with an impulse response with only a finite number of nonzero samples are FIR; they are always stable. An IIR system has an impulse response of infinite length, and may not be stable. O+S p.32

“If a LTI system has impulse response <math>h[n]</math>, then its inverse system (if it exists) has impulse response <math>h_i[n]</math> defined by the relation <math>h[n] \ast h_i[n] = \delta[n]</math> (an impulse)”. O+S p.34

“Complex exponential sequences are eigenfunctions of LTI systems and the response to a sinusoidal input is sinusoidal with the same frequency as the input and with amplitude and phase determined by the system.” O+S p.40 If the input <math>x[n]</math> to an LTI system is <math>e^{j\omega n}</math> then the output (via convolution with the impulse response) is <math>y[n] = \sum_{k = \infty}^\infty h[k]e^{jw(n-k)} = \left(\sum_{k=-\infty}^{\infty} h[k]e^{j\omega k}\right)e^{j \omega n} = H(e^{j\omega})e^{j\omega n}</math>. <math>H(e^{j\omega})</math> is the eigenvalue (called the frequency response of the system) for eigenfunction <math>e^{j\omega n}</math>. O+S p.40

“The frequency respons of discrete LTI systems is always a periodic function of the frequency variable <math>\omega</math> with period <math>2\pi</math>.” O+S p.42

Convolution

The convolution of two discrete-time signals <math>x_1[n]</math> and <math>x_2[n]</math> is <math>x_1[n] \ast x_2[n] = \sum_{k=-\infty}^{\infty} x_1[k]x_2[n-k]</math>. It's the sum, over all lags, of <math>x_1</math> time <math>x_2</math> flipped. Convolution is commutative and additive. The output of an LTI system can be computed as the input convolved with its impulse response. O+S p.23-28

Fourier series

Continuous-time Fourier transform

Discrete-time Fourier transform

“Many sequences can be represented by a Fourier integral of the form <math>x[n] = \frac{1}{2\pi} \int_{-\pi}^\pi X(e^{j\omega})e^{j\omega n} d\omega</math> where <math>X(e^{j\omega}) = \sum_{n=-\infty}^{\infty}x[n]e^{-j\omega n}</math>.” O+S p.48

“The frequency response of an LTI system is simply the Fourier transform of the impulse response.” O+S p.49

<math>X(e^{j\omega})</math> exist only when <math>x[n]</math> is absolutely summable. “Any FIR system will be stable and therefore will have a finite and continuous frequency response.” O+S p.51

For any sequence <math>x[n]</math> with Fourier Transform <math>X(e^{j\omega})</math>, we have <math>x^\ast[n] \rightarrow X^\ast(e^{-j\omega})</math> and <math>x^\ast[-n] \rightarrow X^\ast(e^{j\omega})</math>. So, for real <math>x[n]</math>, the Fourier transform is conjugate symmetric (<math>X(e^{j\omega}) = X^\ast(e^{-j\omega})</math>, so the real part and magnitude are even and the imaginary part and phase are odd.

The Fourier transform is linear. O+S p.59

Shifting/delaying in time results in a linear phase term in the Fourier Transform: <math>x[n-n_d] \rightarrow e^{-j\omega n_d}X(e^{j\omega})</math>. O+S p.59

Shifting by frequency <math>e^{j\omega_0 n}</math> results in a frequency shift in the frequency domain: <math>e^{j\omega_0 n}x[n] \rightarrow X(e^{j(\omega - \omega_0)})</math>. O+S p.59

Reversing a signal in time corresponds to reversing it in the frequency domain, and for real signals, corresponds to taking the conjugate. O+S p.60

Convolution in the time domain corresponds to multiplication in the frequency domain, and multiplication in the time domain corresponds to convolution in the frequency domain. O+S p.60

Filters and difference and differential equations

A subclass of LTI systems are those that can be expressed as an <math>N</math>th-order linear constant-coefficient difference equation of the form <math>\sum_{k=0}^N a_ky[n-k] = \sum_{m=0}^Mb_mx[n-m]</math>. O+S p.34

A difference equation's output can only be determined uniquely if the prior <math>N</math> output values are supplied - it is a recursive relation. O+S p.37

If a system is specified (through its auxiliary conditions - the previous values of <math>y[n]</math>) to ensure linearity, time-invariance, and causality, the solution to the equation is unique. This is typically done by specifying that the system be at rest initially. O+S p.39

One-sided and two-sided Laplace transforms (including the handling of initial conditions)

One-sided and two-sided z-transforms (including the handling of initial conditions)

“The (two-sided) z-transform of a sequence <math>x[n]</math> is defined by <math>Z\{x[n]\} = X(z) = \sum_{n=-\infty}^{\infty} x[n]z^{-n}</math>” with <math>z</math> being a complex variable. O+S p.94

“The one-sided or unilateral z-transform is defined as <math>\mathcal{X}(z) = \sum_{n=0}^{\infty}x[n]z^{-n}</math>. Clearly, the bilateral and unilateral transforms are equivalent if and only if <math>x[n] = 0</math> for <math>n < 0</math>.” O+S p.95

“For <math>|z| = 1</math>, the z-transform corresponds to the Fourier transform.” O+S p.95

“We can express the complex variable <math>z</math> in polar form as <math>re^{j\omega}</math>” giving <math>X(re^{j\omega}) = \sum_{n=-\infty}^{\infty}(x[n]r^{-n})e^{-j\omega n}</math>, which can be interpreted as the Fourier transform of the product of <math>x[n}</math> with the exponential sequence <math>r^{-n}</math>. O+S p.95

“For any given sequence, the set of values <math>z</math> for which the z-transform converges is called the region of convergence.” “Convergence of the z-transform depends only on <math>|z|</math>” so the inner and outer boundaries of the ROC will be circles (potentially including <math>|z| = 0</math> and <math>|z| = \infty</math>). O+S p.96

“The z-transform and all its derivatives must be continuous functions of <math>z</math> within the ROC.” O+S p.97

When <math>X(z) = \frac{P(z)}{Q(z)}</math>, <math>P(z)</math> and <math>Q(z)</math> polynomials, is a rational function inside the ROC, values of <math>z</math> where <math>X(z) = 0</math> are the zeros and values of <math>z</math> where <math>X(z) = \infty</math> are the poles. O+S p.98

“Any sequence that can be represented as a sum of exponentials can equivalently be represented by a rational z-transform and can be determined to within a constant multiplier by its poles and zeros.” O+S p.98

The z-transform is linear, so finding the z-transform often involves describing it in terms of common z-transform pairs. The ROC of a sum of sequences is at least the intersection of the ROC of each sequence. O+S p.104

The ROC can't contain any poles because <math>X(z)</math> is infinite at poles. O+S p.105

If <math>x[n]</math> is finite-duration, the ROC is the entire z-plane. If <math>x[n] = 0</math> for <math>n < N_1 < \infty</math>, the ROC extends outward from the largest magnitude finite pole in X(z). If <math>x[n] = 0</math> for <math>n > N_2 > -\infty</math>, the ROC extends inward from the smallest magnitude pole. If <math>x[n]</math> is two-sided, the ROC will be a ring in the z-plane bounded by two poles and containing no poles. O+S p.105

Computing an inverse z-transform can be done by inspection (based on common z-transform pairs). O+S p.111

If a z-transform can be expressed as the ratio of two polynomials (of <math>z^{-1}</math>), it can also be expressed as the product of terms of the form <math>\frac{1 - c_kz^{-1}}{1 - d_kz^{-1})}</math>, which can be expressed as a sum of terms of the form <math>\frac{A_k}{1 - d_kz^{-1}}</math> where <math>A_k = (1 - d_kz^{-1})X(z) \st_{z = d_k}</math>. O+S p.112

Time shifting: <math>x[n - n_0] \leftrightarrow z^{-n_0}X(z)</math>, where the ROC is the same except there may be more or less poles at <math>z = 0</math> or <math>z = \infty</math>. O+S p.120

Multiplication by an exponential: <math>z_0^nx[n] \leftrightarrow X(z/z_0)</math>, with ROC scaled by <math>|z_0|</math>. O+S p.121

Diffentiating <math>X(z)</math>: <math>nx[n] \leftrightarrow -z\frac{dX(z)}{dz}</math> with the same ROC. O+S p.122

Conjugation: <math>x^\ast \leftrightarrow X^\ast(z^\ast)</math> with the same ROC. O+S p.123

Time reversal: <math>x^\ast[-n] \leftrightarrow X^\ast (1/z^\ast)</math>; the ROC is inverted. O+S p.123

Convolution: <math>x_1[n]\ast x_2[n] \leftrightarrow X_1(z)X_2(z)</math>, ROC is the intersection of both sequences. O+S p.124

A causal sequence has <math>x[0] = \lim_{z \leftarrow \infty} X(z)</math>. O+S p.126

Time and frequency characteristics of linear time-invariant systems

“The frequency response <math>H(e^{j\omega})</math> of an LTI system is the complex gain (eigenvalue) that the system applies to the complex exponential input (eigenfunction) <math>e^{j\omega n}</math>. The Fourier transforms of the system input and output are related by <math>Y(e^{j\omega}) = H(e^{j\omega})X(e^{j\omega})</math>.” O+S p.241

The ideal filter has frequency response with magnitude 1 for some frequencies and 0 elsewhere, and has a phase response of zero, but is non-causal and not computationally feasible. O+S p.242

A linear phase response corresponds to a simple delay, so it can be acceptable. The group delay approximates the delay (in samples) of the amplitude envelopes across frequency as <math>\frac{-d\angle H(e^{j\omega})}{d\omega}</math>. O+S p.243

Linear, constant-coefficient difference equation systems with initial rest conditions of the form <math>\sum_{k=0}^{N}a_ky[n-k] = \sum_{k=0}^{M} b_k x[n-k]</math> have transfer functions of the form <math>H(z) = \frac{Y(z)}{X(z)} = \frac{B(z)}{A(z)} = \frac{\sum_{k=0}^{M} b_kz^{-k}}{\sum_{k=0}^{N}a_k z^{-k}} = \left(\frac{b_0}{a_0}\right) \frac{\prod_{k=1}^M (1 - c_kz^{-1})}{\prod_{k=1}^{N}(1 - d_kz^{-1})}</math>. O+S p.246

If we assume a difference equation system is stable and causal, its ROC is uniquely specified to have an ROC including the unit circle and outside the outermost pole respectively. O+S p.247

An inverse system <math>H_i(z)</math> for <math>H(z)</math> is one for which <math>H(z)H_i(z) = 1</math>. For a linear constant coefficient difference equation system, <math>H_i(z) = \left(\frac{a_0}{b_0}\right) \frac{\prod_{k=1}^N (1 - d_kz^{-1})}{\prod_{k=1}^{M}(1 - c_kz^{-1})}</math>. If the inverse is causal and stable, its ROC is <math>|z| > \max_k|d_k|</math>, so we must have <math>|z| > \max_k|c_k|</math> and <math>\max_k|c_k| < 1</math> - all poles and zeros must be inside the unit circle, called minimum phase systems. O+S p.248

If at least one nonzero pole of <math>H(z)</math> is not canceled by a zero, the impulse response will be of infinite length (IIR). If a system has no poles (excluding cancelled ones) except at <math>z = 0</math>, the impulse response is finite in length (FIR). O+S p.251

The frequency response of a system is the z-transform evaluated at <math>z = e^{j\omega}</math>.

For a zero, the response at some frequency is affected by the vector from the zero to the point on the unit circle corresponding to that frequency. The gain is this vector's magnitude, and the phase is the difference of this vector's phase and the angle at that frequency. As a result, the gain gets small for frequencies close to the zero's frequency, and the phase approaches <math>\pi/2</math> as it approaches the zero's frequency, then crosses zero at the zero's frequency such that it symmetric about the zero's frequency. The behavior for a pole is the inverse for magnitude, and the negative for phase. O+S p.258

For systems with more than one pole or zero, the magnitude response for a frequency will be the product of the magnitude responses for each pole and zero. O+S p.266

The frequency response magnitude at frequency <math>\omega</math> is given by the product of the lengths of vectors drawn from the zeros to the point <math>e^{j\omega}</math> divided by the product of the lengths of vectors drawn from the poles to <math>e^{j\omega}</math>. The phase response is obtained from the sum of the angles of all the lines from the zeros to <math>e^{j\omega}</math> minus the angle of each line from each poles to <math>e^{j\omega}</math>.

Frequency domain analysis

Transfer function

Sampling Theorem

“A sequence of samples <math>x[n]</math> is obtained from a continuous-time signal <math>x_c(t)</math> according to the relation <math>x[n] = x_c(nT)</math>, <math>-\infty < n < \infty</math>”. <math>f_s = 1/T</math> is the sampling rate. O+S p.140

Because sampling is equivalent to multiplying the continuous-time signal with an impulse train, the Fourier spectrum is the input spectrum convolved with the impulse train. The resulting periodic spectral copies will not overlap if the continuous-time signal is bandlimited to 1/2 the sampling rate. This allows for perfect reconstruction using a perfect lowpass filter at 1/2 the sampling rate. O+S p.143

The ideal lowpass filter for reconstruction has impulse response <math>h_r(t) = \frac{\sin(\pi t/T)}{\pi t/T}</math>. O+S p.150

Sampling rate reduction (downsampling) by a factor of <math>M</math> can be done by defining a new sequence <math>x_d[n] = x[nM]</math>. This will result in aliasing if the signal is not appropriately bandlimited. O+S p.170

Upsampling can be done by downsampling in the frequency domain, which is equivalent to constructing the signal <math>x_e[n] = x[n/L], n = 0, \pm L, \pm 2L, \ldots; 0 \mathrm{otherwise}</math>. The aliased copies of the signal in the frequency domain can be removed by interpolating. O+S p.172

Frequency response, Bode plots

A bode plot is a simple way of approximating the phase and log-magnitude response of a continuous LTI system on a log-frequency scale based on the poles and zeros. For the magnitude plot, at each <math>n</math>th order pole/zero, the slope decreases/increases <math>20n</math> dB per decade. The initial dB is calculated based on the magnitude at the initial frequency; the initial slope is calculated based on poles and zeros appearing before the initial frequency. For the phase plot, at each <math>n</math>th order pole/zero, the slope decreases/increases <math>45n</math> degrees per decade starting one decade before the pole/zero frequency. The initial phase slope is determined by whether the pole-zero representation has positive or negative sign. Wikipedia

Filtering, allpass, minimum-phase, linear phase systems

“A system for which the frequency-response magnitude is a constant is called an all-pass system”, <math>H_{ap}(z) = \frac{z^{-1} - a^\ast}{1-az^{-1}}</math>. O+S p.274

A minimum-phase system is a stable and causal system for which the inverse system is stable and causal - its poles and zeros are all inside the unit circle. O+S p.280

“Any rational system function can be expressed as <math>H(z) = H_{min}(z)H_{ap}(z)</math>.” O+S p.280 “We can form a minimum-phase system from a nonminimum-phase system by reflecting all zeros lying outside the unit circle to their conjugate reciprocal locations inside.” O+S p.281 “The reflection of zeros of <math>H_{min}(z)</math> from inside the unit circle always decreases the continuous phase.” O+S p.288 A minimum-phase representation also has the minimum group delay. O+S p.188

“A linear-phase system has impulse response <math>H(e^{j\omega}) = |H(e^{j\omega})|e^{j\omega\alpha}</math>.. A system is referred to as a generalized linear-phase system if its frequency response can be expressed in the form <math>H(e^{j\omega}) = A(e^{j\omega})e^{-j\alpha\omega + j\beta}</math> where <math>\alpha</math> and <math>\beta</math> are constants and <math>A(e^{j\omega})</math> is a real function of <math>\omega</math>.. If we ignore any discontinuities that results from the addition of constant phase over all or part of the band <math>|\omega| < \pi</math> then such a system can be characterized by constant group delay.” O+S p.295 If <math>h[n] = h[M-n], 0 \le n \le M, 0 \mathrm{otherwise}</math> (type I for even <math>M</math>, type II for odd) or <math>h[n] = -h[M-n], 0 \le n \le M, 0 \mathrm{otherwise}</math> (type III for even <math>M</math>, type IV for odd), the system is linear phase. O+S p.297 “The system function for any FIR linear-phase system can be factored into a minimum-phase term, a maximum-phase term, and a term containing only zeros on the unit circle.” O+S p.308

columbia_ee_dqe.txt · Last modified: 2015/12/17 21:59 (external edit)