<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Bench 7 - Medium]]></title>
        <description><![CDATA[A spread of electrical, computer, and software engineering writings and projects. - Medium]]></description>
        <link>https://medium.com/bench-7?source=rss----35bf745b3d1c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Bench 7 - Medium</title>
            <link>https://medium.com/bench-7?source=rss----35bf745b3d1c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:54:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/bench-7" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[An Introduction to Electrical Impedance]]></title>
            <link>https://medium.com/bench-7/an-introduction-to-electrical-impedance-33f2da88f2c5?source=rss----35bf745b3d1c---4</link>
            <guid isPermaLink="false">https://medium.com/p/33f2da88f2c5</guid>
            <category><![CDATA[electrical-engineering]]></category>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[fourier-transform]]></category>
            <category><![CDATA[impedance]]></category>
            <category><![CDATA[sinewave]]></category>
            <dc:creator><![CDATA[Wes Hileman]]></dc:creator>
            <pubDate>Sun, 30 Aug 2020 00:48:10 GMT</pubDate>
            <atom:updated>2020-08-30T17:41:04.625Z</atom:updated>
            <content:encoded><![CDATA[<h4>The intuition behind the illusive quantity</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*2qAdsNB-i-b7A4tLm-OyWA.jpeg" /><figcaption>A printed circuit board containing resistors, capacitors, and transistors. Photo by <a href="https://unsplash.com/@lazycreekimages">Michael Dziedzic</a> on <a href="https://unsplash.com/">Unsplash</a>.</figcaption></figure><h3>The Riddle</h3><p>Before I learned to analyze analog circuits in a university setting, I regularly tried to sort out the meaning of <em>impedance</em>. What was this mysterious quantity, ubiquitous among electrical engineers, that had bested me at every confrontation? Every explanation I heard seemed a riddle, full of half-truths and missing information. “Impedance is like resistance for capacitors and inductors.” “Impedance is the measure of a circuit’s opposition to current flow expressed as a complex quantity.” “Impedance is the effective resistance of a component to alternating current.” Without a solid background in electronics, these statements drove me to bewilderment.</p><p>It’s possible to understand and apply impedance without months or years of study at a university. This article introduces and explores the concept for the learner trapped in the “impedance rut”. The only prerequisites are algebra, basic calculus, and electronics (voltage, current, and resistance.)</p><h3>A Reconciliation</h3><p>Engineers apply the term “impedance” to several seemingly different quantities in electronics, but the harmonizing definition is this:</p><p><strong>In the general sense, impedance is the quantity that relates the voltage present across a component (<em>however that voltage may be expressed</em>) to the current flowing through the component (<em>however that current may be expressed</em>) in a time-independent fashion.</strong></p><p>In mathematical form, a component’s impedance is the time-independent quantity <em>Z</em> such that</p><figure><img alt="V = Z*I" src="https://cdn-images-1.medium.com/max/392/1*qsdaC_Mh3d0bC4ql-xWLLA.png" /></figure><p>where <em>V</em> is the representation of the voltage across the component and <em>I</em> is the representation of the current flowing through the component. When <em>V</em> is the voltage across a resistance <em>R</em>, <em>I</em> the current through <em>R</em>, and <em>Z=R</em>, the formula collapses into Ohm’s law, showing that resistance is a form of impedance. In fact, impedance generalizes the concept of resistance and is always expressed in Volts/Amp, or equivalently, Ohms (Ω).</p><p>Take care to note the impedance equation is <em>decoupled with time</em>. That is, the time variable <em>t</em> does not appear in the equation and <em>Z</em> in no way depends on time. <em>V</em> and <em>I</em> may evolve with time, <em>V=V(t)</em> and <em>I=I(t)</em>, but they are related in a strictly instantaneous sense. <em>V(t)</em> in no way depends on past values of <em>I(t)</em>－the voltage across the component at a particular instant depends only on the current flowing through the component at that same instant. The <em>V</em>-<em>I</em> relationship of a resistor, as described by Ohm’s law, meets the time independence constraint.</p><p>Why is impedance, defined in this way, a useful concept? Consider a purely resistive circuit. With Ohm’s law come a wide assortment of algebra-based circuit analysis techniques: series and parallel resistance reductions, delta-to-wye conversion, voltage-to-current source transformation, Thévinin and Norton equivalent circuits, and the node-voltage method to name a few. By generalizing the concept of resistance, we can apply resistor analysis techniques to circuits containing other components, using impedance in place of resistance.</p><h3>A Glitch</h3><p>The natural next step is to apply the impedance equation to a capacitor or inductor. Under this line of action, however, we quickly reach an impasse. Consider an inductor’s voltage-current relationship:</p><figure><img alt="V = L*di/dt" src="https://cdn-images-1.medium.com/max/620/1*HVs5QrBOlS_yIkKmtSHfNw.png" /></figure><p>Here, <em>V</em> is the voltage across the inductor with inductance <em>L</em>, <em>I</em> is the current flowing through <em>L</em>, and <em>t</em> is the time variable－and also the first hint of trouble. The equation reveals that the voltage across an inductor depends not on the flow of current itself, but on its <em>time derivative</em>－the current’s rate of change or slope with time. As such, we cannot possibly define <em>Z</em> so that the impedance equation, independent of time, reduces to the inductor voltage-current equation. Alas, our plan is foiled!</p><p>Does this mean an inductor’s impedance is undefined? No, as it turns out, but we must stress our wit and change the way that we represent voltage and current. If we restrict <em>V</em> and <em>I</em> to vary <em>sinusoidally</em>－that is, as pure sine waves－the impedance of an inductor or capacitor (or other two-terminal component) can be defined as such:</p><p><strong>In the common sense, impedance is the quantity that relates the sine-wave voltage present across a component to the sine-wave current flowing through the component.</strong></p><p>Why should we restrict ourselves to sinusoidal signals? And how can we represent sine-wave voltage and current such that the impedance equation is valid? The next two sections address these issues.</p><h3>A Ubiquitous Wave</h3><p>The prominence of the sine wave in electronics (and physics in general) is unarguable. From analysis of signals and circuits to radio transmissions, the sinusoid is present. In our case, we define impedance with the sinusoid. Just why is the sine wave the <em>de facto</em> standard?</p><p><strong>As it turns out, most signals can be thought of as sums of sine waves, though those sums could be infinite and uncountable.</strong></p><p>In this way, the sinusoid serves as the “building block” of general signals, and a restriction to sine waves is in effect not a restriction at all. This may be difficult to imagine, so let’s ponder the issue with several examples.</p><h4><strong>A Warble</strong></h4><p>First, let’s build a signal by adding two sine waves. Give them frequencies of 95 and 105Hz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*8SldMR12R85evXFaRwMrZw.png" /></figure><p>Combining two similar sinusoids in this way, we might expect a waveform not too different from the component sine waves themselves. Plotting the waveform, however, reveals a surprise:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3_ZduIqbncoqWfR-j4tqg.png" /></figure><pre># warble.py <br><strong>import</strong> math <br><strong>import</strong> numpy <strong>as</strong> np<br><strong>import</strong> matplotlib.pyplot <strong>as</strong> plt  </pre><pre>tt = np.arange(0, 0.3, 0.0001, dtype=np.float32) <br>ww = np.sin(2*math.pi*95*tt) + np.sin(2*math.pi*105*tt) <br>plt.plot(tt, ww) <br>plt.show()</pre><p>Although the signal’s base is a 100Hz sinusoid, matching our expectation, the signal also fades in and out regularly－the base sinusoid’s amplitude is <em>modulated</em> by a sine wave with a frequency of 10Hz, which is equal to the difference between the frequency components 105Hz and 95Hz. This signal is known as a <em>beat</em>.</p><h4>A Triangle</h4><p>Let’s step up our ambition and create a signal by adding an <em>infinite</em> number of sine waves. For this to work, the amplitudes of the sine waves must continually become closer to zero as we add additional terms; otherwise, the sum <em>diverges</em>, failing to reach a stable limit. (This condition is necessary, but not sufficient, to guarantee convergence.) Define the sum as such:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*BEvrlMTCrInanU2mu7F75Q.png" /></figure><p>The amplitudes of the summed sinusoids vary as <em>1/k²</em> and their frequencies as <em>10k</em>; the <em>(−1)^(k-1)/2</em> factor alternates the sign of each sinusoid in the sum. We obtain a curious result plotting an approximation of this infinite-sum signal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rVTQciZyzp3tEUCyuL4j2w.png" /></figure><pre># triangle.py<br><strong>import</strong> math<br><strong>import</strong> numpy <strong>as</strong> np<br><strong>import</strong> matplotlib.pyplot <strong>as</strong> plt</pre><pre># Number of terms used to approximate infinite sum<br>NTERMS = 100</pre><pre>tt = np.arange(0, 0.3, 0.0001, dtype=np.float32)<br>rr = np.zeros(len(tt), dtype=np.float32)<br><strong>for</strong> k <strong>in</strong> range(1, NTERMS*2, 2):<br>    amp = (-1) ** int((k - 1)/2)<br>    amp *= 1/(k ** 2)<br>    rr += amp * np.sin(2*math.pi*10*k*tt)</pre><pre>plt.plot(tt, rr)<br>plt.show()</pre><p>We’ve built a triangle wave with sharp edges from smooth sinusoids! How is this possible? The key is infinite number of sine waves in the sum; each additional sinusoid sharpens the edges of signal, resulting in a triangle as the number of terms in the sum approaches infinity.</p><h4>A Damped Oscillation</h4><p>Finally, let’s combine an <em>uncountable</em> number of sine waves to generate a signal. To do this, we’ll leverage the integral from calculus. Suppose we add all unity-amplitude sinusoids with frequencies from 0 to 10Hz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*8ZT1uebz_B31q8n7IICCjg.png" /></figure><p>Plotting an approximation of the signal yields yet another incredulity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c9dRIfNP7ekZy1Y8e0icgQ.png" /></figure><pre># damp_osc.py<br><strong>import</strong> math<br><strong>import</strong> numpy <strong>as</strong> np<br><strong>import</strong> matplotlib.pyplot <strong>as</strong> plt</pre><pre># The df to use when approximating the integral<br>DF_HZ = 0.001</pre><pre>tt = np.arange(0, 0.7, 0.0001, dtype=np.float32)<br>dd = np.zeros(len(tt), dtype=np.float32)<br><strong>for</strong> k <strong>in</strong> range(0, round(10/DF_HZ)):<br>    f = DF_HZ*k<br>    dd += np.sin(2*math.pi*f*tt) * DF_HZ</pre><pre>plt.plot(tt, dd)<br>plt.show()</pre><p>This time, we’ve created a non-repeating (aperiodic) signal from sinusoids, repetitive (periodic) by nature! The key here is that it takes an uncountable number of sinusoids to generate the aperiodic signal.</p><p>We’ve shown we can build both periodic and aperiodic signals with sinusoids. But how do we find a sinusoidal decomposition of an arbitrary signal? That is, given a signal we’re interested in, like a square wave or exponential signal, how can we find a sine-wave sum or integral that converges to the signal? The <em>Fourier transform</em> is the answer and you can read more about it in <a href="https://en.wikipedia.org/wiki/Fourier_transform">this Wikipedia article</a>.</p><p>Seeing the versatility of the sine wave, we move to the problem of representing a sinusoid for use in the impedance equation.</p><h3>A Simplification</h3><p>The impedance equation, <em>V=Z⋅I</em>, requires voltage and current expressed as single quantities, namely <em>V</em> and <em>I</em>. If voltage and current vary as sinusoids, how is this possible? After all, <em>three</em> quantities describe a sine wave, frequency (<em>f</em>), amplitude (<em>A</em>), and phase offset (<em>ϕ</em>):</p><figure><img alt="x(t) = A*sin(2pi*f*t+phi)" src="https://cdn-images-1.medium.com/max/376/1*yyKsL39-NaiOHkhXjYiN6A.png" /></figure><p>Somehow, we must squeeze these quantities into one for use in the impedance equation; we need to create a quantity that encapsulates a sinusoid’s frequency, amplitude, and phase.</p><p>Before we attempt to find such a quantity, we can simplify the issue by making an observation about the behavior of circuits created with <em>linear and time-invariant (LTI)</em> components (ideal resistors, inductors, capacitors, and operational amplifiers among others.) When we drive such a circuit with sine-wave voltages and currents of a given frequency <em>f</em>, all other voltages and currents in the circuit must vary sinusoidally <em>with the same frequency</em> <em>f</em> (in steady-state operation.)</p><p><strong>A circuit built entirely of linear and time-invariant components (resistors, inductors, capacitors, op amps, etc.) affects only the amplitude and phase of the sine-wave voltages and currents applied to it.</strong></p><p>Given that frequency is constant in a circuit driven by sinusoidal voltages and currents, we need not specify it for <em>every</em> voltage and current in the circuit; rather, we write the incident frequency in the margin and represent individual sinusoids with their amplitudes and phase offsets.</p><h3>A Gain and a Shift</h3><p>To express sine-wave voltages and currents for use in the impedance equation, we now need find a quantity encapsulating only two quantities: amplitude and phase. <em>Vectors</em>－in the context of linear algebra－offer one solution. A single 2-vector suffices to contain the amplitude <em>A</em> and phase <em>ϕ</em> of a sine wave <em>x(t)</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*oI4E4jJGvMDbXLynrPSaog.png" /></figure><p>The column vector <em>X</em> encapsulates all of the dynamic information stored in the sinusoid <em>x(t)</em>, and it appears we’ve found a suitable single-quantity representation for sinusoids. But there’s a hiccup: if we represent voltage <em>V</em> and current <em>I</em> with 2-vectors, how do we express the impedance <em>Z</em> to properly relate the vectors by multiplication in the impedance equation? And how do we define multiplication on vectors in the first place?</p><p>To find out, we must determine the nature of the relationship between the vector-voltage and vector-current across a circuit component such as a resistor, an inductor, a capacitor, or any LTI element in general.</p><h4>Resistors</h4><p>Ohm’s Law relates the voltage <em>V</em> across a resistance <em>R</em> at any point in time <em>t</em> to the current through that resistance at <em>t</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/1*phN6-lxwurhXpVRALJg8cg.png" /></figure><p>When the voltage and current across a resistor vary as sine-waves, this means the voltage sinusoid equals the current sinusoid scaled by the resistance <em>R</em>. In mathematical form, when</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*XC86hQoBD4WVci4dQhy8Iw.png" /></figure><p>then Ohm’s Law requires</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*oPnFtCoONzI8AUSSihHO-g.png" /></figure><p>Equating these sinusoids’ amplitudes, phase shifts, and frequencies, we arrive at the conclusion that the amplitude of the voltage sine-wave equals that of the current sine-wave scaled by <em>R</em> and the phase offsets of the two waves are equal. After noting the frequency <em>f</em> of the two waves remain constant as expected, we write this in 2-vector form as such:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*0EcmRCPJwYJFrxslCWTY5Q.png" /></figure><p>Here’s the graphical relationship between the voltage and current in a 10Ω resistor when the current varies as a sine-wave with <em>A=1</em> ampere, <em>ϕ=π/6 </em>radians, and <em>f=100</em> Hertz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rrj_hOfC1l3JwE5u-dJbZQ.png" /></figure><h4>Inductors</h4><p>The inductor voltage/current equation relates the voltage <em>V</em> across an inductance <em>L</em> to the current <em>I</em> flowing through the inductance at any time <em>t</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*qZGMnEVQArrTdx5ww9ulcg.png" /></figure><p>When the voltage and current vary sinusoidally, the above equation requires:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*MaNxbOKl997exe6RmD41BA.png" /></figure><p>(Note the application of the chain rule for differentiation and the trigonometric identity <em>cos(θ)=sin(θ+π/2)</em>.)</p><p>A key observation here is that differentiating a sinusoid with a given frequency produces another sinusoid of the same frequency, but modified amplitude and phase. This means that when the current in an inductor varies sinusoidally, the voltage also varies sinusoidally with the same frequency and vice versa.</p><p>Equating the voltage and current sinusoids of the inductor <em>L</em>, we find the amplitude of the voltage wave equals that of the current wave scaled by the factor <em>2πfL</em>; also, the phase of the voltage wave is offset by <em>π/2</em> radians from the current wave:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*lMUxqPQs1KmxsbeKUZWpMA.png" /></figure><p>Does this finding agree with our mental model of an inductor? To find out, let us examine a few of the implications in turn. But first, a brief venture into the physical meaning of inductance:</p><p>When current flows through the coils of an inductor, it creates a magnetic field that intersects the area enclosed by those coils. <em>Magnetic flux linkage</em> is a measure of the amount and strength of magnetic field that intersects (or “links”) the coils and is often measured in <em>Webers (Wb)</em>. When we take the ratio of the magnetic flux developed through the coils of an inductor over the amount of current flowing through those coils, we arrive at a constant called the inductance <em>L </em>of the inductor<em> </em>with units of <em>Wb/A </em>or <em>Henries</em> (<em>H</em>).</p><p>Based on this definition of inductance, the magnetic flux linkage developed through the coils of an inductor equals the inductance <em>L</em> multiplied by the current flowing in the inductor <em>I</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/188/1*SU7b-V3fxAjYpZEXHRClBQ.png" /></figure><p>When the current through <em>L</em> varies sinusoidally, this linear relationship tells us the flux also varies sinusoidally with the same frequency and phase, but with amplitude equal to <em>L·Ai</em>. By<em> </em><a href="https://en.wikipedia.org/wiki/Faraday%27s_law_of_induction">Faraday’s Law of induction</a>, the rate of change of inductor flux linkage with time equals the voltage induced across the inductor. This means that if we differentiate both sides of the above equation over time, we arrive at the inductor voltage/current relation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*qZGMnEVQArrTdx5ww9ulcg.png" /></figure><p>With an understanding of inductance and flux linkage, we’re ready to justify the implications of the inductor impedance equation:</p><ol><li><strong>Increasing the inductance <em>L</em> increases the voltage amplitude <em>Av</em>. </strong>As we’ve seen, the amplitude of the sinusoidal flux developed through the inductance <em>L</em> is <em>L·Ai</em>. This means the higher <em>L</em> is, the <em>steeper</em> the change in flux with time in-between the sine-wave peaks and valleys. Since the voltage across an inductor equals the rate of change of flux with time, the voltage amplitude also increases with <em>L</em>.</li><li><strong>Increasing the frequency <em>f</em> increases the voltage amplitude <em>Av</em>.</strong> The flux developed through the coils of <em>L</em> varies sinusoidally with the same frequency as the current. Thus, increasing the current frequency <em>f</em> increases the steepness of the flux variance between the sine-wave peaks and valleys. This increases the voltage amplitude <em>Av</em>.</li><li><strong>Increasing the current amplitude <em>Ai</em> increases the voltage amplitude </strong><em>Av</em><strong>.</strong> The amplitude of the sinusoidal flux developed through the inductance <em>L</em> is <em>L·Ai</em>. This means the higher <em>Ai</em>, the steeper the change in flux with time between peaks and valleys and hence the higher the voltage amplitude.</li><li><strong>Peaks in the voltage sinusoid always come before peaks in the current sinusoid by <em>π/2 </em>radians.</strong> The inductor voltage-current equation stipulates the voltage across an inductor depends directly on the rate of change of current flowing through the inductor; therefore, the voltage peaks at the points in time where the current is the steepest. This corresponds to an offset of <em>π/2</em> radians.</li></ol><p>Here’s a plot of the voltage and current in an <em>L=3</em> mH inductor when the current varies as a sine-wave with <em>A=1</em> ampere, <em>ϕ=π/6</em> radians, and <em>f=100</em> Hz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*82WAX9x7Otf2jBS-igBtAg.png" /></figure><h4>Capacitors</h4><p>We follow the same procedure as in the inductor case to find the relationship between the vector-voltage and vector-current of a capacitor. However, we must invert the result since the capacitor current-voltage equation relates current to voltage (as opposed to voltage to current in the case of an inductor):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/268/1*F7TB0CDXWNlBImJrgGFKyw.png" /></figure><p>When the voltage and current vary sinusoidally the above equation stipulates:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*AlUmuCmoHmVeE2NthTvvPA.png" /></figure><p>Equating the amplitudes of phases of the sinusoids on either side of the equation, we arrive at the vector-current/vector-voltage relationship for the capacitor:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*6LI-2fIXsvx1nxtYVRnP1A.png" /></figure><p>Re-arranging the equality yields the vector-voltage/vector-current relationship; since <em>Ai=Av⋅2πfC</em> and <em>ϕi=ϕv+π/2</em>, we can equivalently write <em>Av=Ai/(2πfC)</em> and <em>ϕv=ϕi−π/2 </em>so that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*F0UBIlfJ0cnuSl1hay3aXw.png" /></figure><p>Here’s a plot of the voltage and current in an <em>C=1 </em>mF capacitor when the current varies as a sine-wave with <em>A=1</em> ampere, <em>ϕ=π/6</em> radians, and <em>f=100</em> Hz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ewzIUwlHoag9CxmO6biWiA.png" /></figure><h4>LTI Elements in General</h4><p>At this point, we can speculate the relationship between the sine-wave voltage and current of a general LTI component using our specific equations for resistors, inductors, and capacitors. Comparing the vector-voltage/vector-current equations previously written for each basic circuit component, the amplitude of the voltage sine-wave always equals that of the current sine-wave scaled by some factor, and the phase of the voltage wave equals that of the current wave shifted by some additive amount (zero in the case of the resistor). By logical induction, we write the general vector-voltage/vector-current relationship for an LTI component as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*3piSB0xISGmK_96RZ8RJUA.png" /></figure><p>where <em>|Z|</em> and <em>∠Z</em> are constants that depend on the nature of the component and possibly the sine-wave oscillation frequency. Though arrived at through induction here, this equation does indeed hold for all LTI components.</p><p>Engineers call the factor <em>|Z|</em> the component’s <em>impedance magnitude</em> and <em>∠Z</em> the component’s <em>impedance angle</em>. These two quantities constitute the impedance of the component, denoted <em>Z</em>; together, they relate the sine-wave voltage present across the component to the sine-wave current flowing through the component by amplitude gain and phase shift. Combining these two quantities in 2-vector form, we can write a component’s impedance as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/1*hCfLaIwTkECn7z6mo8aW2Q.png" /></figure><p>It looks like we’ve found the impedance of a general LTI component, but there’s one last snag.</p><h3>A Convenient Capsule</h3><p>While we can represent sine-wave voltage, sine-wave current, and impedance using 2-vectors, there’s a hiccup. Impedance is defined as the quantity that relates the voltage across a component to the current in that component through <em>multiplication</em> — but how do we multiply 2-vectors so that the impedance equation works? We multiply the magnitude parts and add the angle parts of the vectors:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*5mJoDcYcJkNv9gD-dlslHQ.png" /></figure><p>This is clumsy to write, and we can better represent impedance and sine-wave voltage/current with <em>complex numbers</em>.</p><p><strong>While we could invent a 2-vector space and define vector operations to satisfy the behavior of LTI components, complex numbers offer a convenient solution for representing impedance.</strong></p><p>Like a 2-vector, a complex number consists of two parts: a magnitude and an angle. A complex number <em>X</em> with a magnitude <em>A</em> and an angle <em>ϕ</em> is written as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/1*vDwMRjmNd1B1avHS1VRJ9A.png" /></figure><p>where <em>∠</em> reads as “angle”. In the <em>complex plane</em>, <em>X</em> is drawn at angle <em>ϕ</em> counterclockwise from the horizontal axis and distance <em>A</em> from the origin:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*As1xVxe0jxlZ5XZSfllSLA.png" /></figure><p>This is the polar form of a complex number. The horizontal and vertical axes of the complex plane represent rectangular components of a complex number, called the real and imaginary parts. We can write <em>X</em> in rectangular form using some trigonometry:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*9pDbHTr3lIm9LdK6e51WYg.png" /></figure><p>were <em>j=√(−1)</em> is the imaginary unit representing a unit of distance along the vertical axis.</p><p><a href="https://en.wikipedia.org/wiki/Euler%27s_formula">Euler’s Formula</a> lets us write a complex number in a third form called the complex exponential form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*c1mRoKQ5w2es3sgfYT8SFA.png" /></figure><p>where <em>e=2.71828…</em> is Euler’s number. We can see an important property of complex numbers using the complex exponential form.</p><p><strong>Multiplying a complex number </strong><em>X₁=A₁</em><strong><em>·</em></strong><em>e^(j</em><strong><em>·</em></strong><em>ϕ₁)</em><strong> by another complex number </strong><em>X₂=A₂</em><strong><em>·</em></strong><em>e^(j</em><strong><em>·</em></strong><em>ϕ</em>₂<em>)</em><strong> multiplies the magnitude of </strong><em>X₁</em><strong> by the magnitude of </strong><em>X₂</em><strong> and shifts the phase of </strong><em>X₁</em><strong> by the phase of </strong><em>X₂ </em><strong>as a result of the rules of algebra for multiplying exponentials:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*514ofgNlGJZ9cRbHWRMIbw.png" /></figure><p>If we represent the sine-wave voltage, current, and impedance in the impedance equation using complex numbers, this property “automatically” multiplies the magnitudes and adds the phases. There is no need to define a special way to multiply the quantities.</p><p>As a complex numbers, we write the sine-wave voltage across an LTI component <em>V</em>, the sine-wave current through the LTI component <em>I</em>, and impedance of the LTI component <em>Z</em> as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*YRhfWgLHJI2UeV0Kwm_UyQ.png" /></figure><p>Then the impedance equation gives</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*znByjmBbLFyF3DW9ycTmsQ.png" /></figure><p>which is exactly the result we expect from our knowledge of the behavior of LTI components.</p><h3>The Resolution</h3><p>Using complex numbers and the previous results, we can now write the impedance of the basic passive components (resistors, inductors, and capacitors):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*TCLQTRK4BwETP-kgfiawOg.png" /></figure><p>As expected, the resistor’s impedance does not have an imaginary part (<em>j</em> does not appear in the expression) since the voltage across and current through the component are in phase. By contrast, the impedances of the inductor and capacitor are entirely imaginary, indicating the <em>±π/2</em> radian phase difference between the voltage and current sine waves. The inductor’s and capacitor’s impedances also vary with frequency, and being aware of this frequency-dependent behavior is handy when working with analog circuits.</p><p><strong>The impedance of an inductor increases with frequency (it blocks high-frequency sine waves, but passes low-frequency sine waves) and the impedance of a capacitor decreases with frequency (it passes high-frequency sine waves, but blocks low-frequency sine waves.)</strong></p><p>At last we’ve arrived at a single quantity that efficiently describes the relationship between the sine-wave voltage and sine-wave current in general LTI circuit components (resistors, inductors, and capacitors, among others.) Using impedance as a resistance-like quantity, we can apply Ohm’s law and techniques like Thévinin equivalent circuits and the node-voltage method to examine LTI circuits.</p><p><strong>In the tangible sense, impedance is the quantity that relates the sine-wave voltage present across a component to the sine-wave current flowing through the component. Impedance generalizes the concept of resistance in Ohm’s law to include elements such as inductors and capacitors, provided they are driven by sinusoidal voltages and currents.</strong></p><p>(The tangible qualifier means “physically observable” and distinguishes this flavor of impedance from another type that doesn’t have a direct physical interpretation: “s domain” impedance defined in terms of the <a href="https://en.wikipedia.org/wiki/Laplace_transform">Laplace transform</a>, which is useful when working with transfer functions.)</p><p>I hope this article helps you illuminate the statements “Impedance is like resistance for capacitors and inductors,” “Impedance is the measure of a circuit’s opposition to current flow expressed as a complex quantity,” and “Impedance is the effective resistance of a component to alternating current”. All of these statements are in fact true. Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33f2da88f2c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bench-7/an-introduction-to-electrical-impedance-33f2da88f2c5">An Introduction to Electrical Impedance</a> was originally published in <a href="https://medium.com/bench-7">Bench 7</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>