Phasor (sine waves) 1256073 225869284 2008-07-15T19:55:55Z Wtshymanski 139104 rv v [[WP:UNDO|Undid]] revision 225814151 by [[Special:Contributions/82.108.118.146|82.108.118.146]] ([[User talk:82.108.118.146|talk]]) In [[physics]] and [[engineering]], a '''phasor''' is a representation of a [[sine wave]] whose amplitude ('''A'''), phase ('''θ'''), and frequency ('''ω''') are time-invariant. It is a subset of a more general concept called [[analytic signal|analytic representation]]. Phasors reduce the dependencies on these parameters to three independent factors, thereby simplifying certain kinds of calculations. In particular, the frequency factor, which also includes the time-dependence of the sine wave, is often common to all the components of a linear combination of sine waves. Using phasors, it can be factored out, leaving just the static amplitude and phase information to be combined algebraically (rather than trigonometrically). Similarly, [[linear differential equations]] can be reduced to [[algebraic]] ones. The term ''phasor'' therefore often refers to just those two factors. In older texts, a '''phasor''' is also referred to as a '''sinor'''. == Definition == [[Euler's formula]] indicates that sine waves can be represented mathematically as the sum of two complex-valued functions''':''' :<math>A\cdot \cos(\omega t + \theta) = A/2\cdot e^{j(\omega t + \theta)} + A/2\cdot e^{-j(\omega t + \theta)},</math> &nbsp; &nbsp;<ref> *'''j''' is the [[Imaginary unit]] (<math>j^2 = -1</math>).<br> *The frequency of the wave, in [[Hz]], is given by <math>\omega/2\pi</math>.</ref> or as the [[real part]] of one of the functions''':''' :<math> \begin{align} A\cdot \cos(\omega t + \theta) &= \operatorname{Re} \left\{ A\cdot e^{j(\omega t + \theta)}\right\} \\ &= \operatorname{Re} \left\{ A e^{j\theta} \cdot e^{j\omega t}\right\}. \end{align} </math> As indicated above, ''phasor'' can refer to either &nbsp;<math>A e^{j\theta} e^{j\omega t}\,</math> or just the complex constant, &nbsp;<math>A e^{j\theta}\,</math> &nbsp;. In the latter case, it is understood to be a shorthand notation, encoding the amplitude and phase of an underlying sinusoid. An even more compact shorthand is [[angle notation]]''':''' &nbsp;<math>A \angle \theta.\,</math> == Phasor arithmetic == === Multiplication by a constant (scalar) === Multiplication of the phasor ''A''•''e''<sup>&nbsp;''j'' θ</sup> by a complex constant, ''B''•''e''<sup>&nbsp;''j'' φ</sup>,&nbsp; produces another phasor. That means its only effect is to change the amplitude and phase of the underlying sinusoid''':''' :<math> \begin{align} \operatorname{Re}\{(A e^{j\theta} \cdot B e^{j\phi})\cdot e^{j\omega t} \} &= \operatorname{Re}\{(AB e^{j(\theta+\phi)})\cdot e^{j\omega t} \} \\ &= AB \cos(\omega t +(\theta+\phi)) \end{align} </math> Although ''B''•''e''<sup>&nbsp;''j'' φ</sup> has the form of the shorthand notation for a phasor, it is not a phasor. In electronics, it is an [[impedance]], and the phase shift is actually caused by the time-delay<!-- Gnashing of teeth over pick-able nit; please replace with something else, as most electronic components respond immediately, even if gradually, to change --> associated with a [[Reactance|reactive]] circuit element. The product of two phasors (or squaring a phasor) would represent the product of two sine waves, which is a non-linear operation and does not produce another phasor. === Differentiation and integration === The time derivative or integral of a phasor produces another phasor<ref> This results from''':''' &nbsp;<math>\frac{d}{dt}(e^{j \omega t}) = j \omega e^{j \omega t}</math> which means that the [[complex exponential]] is the [[eigenfunction]] of the [[derivative]] operation. </ref>. For example''':''' :<math> \begin{align} \operatorname{Re}\left\{\frac{d}{dt}(A e^{j\theta} \cdot e^{j\omega t})\right\} &= \operatorname{Re}\{A e^{j\theta} \cdot j\omega e^{j\omega t}\} \\ &= \operatorname{Re}\{A e^{j\theta} \cdot e^{j\pi/2} \omega e^{j\omega t}\} \\ &= \operatorname{Re}\{\omega A e^{j(\theta + \pi/2)} \cdot e^{j\omega t}\} \\ &= \omega A\cdot \cos(\omega t + \theta + \pi/2) \end{align} </math> Therefore, in phasor representation, the time derivative of a sinusoid becomes just multiplication by the constant, <math>j \omega = (e^{j\pi/2} \cdot \omega).\,</math>&nbsp; Similarly, integrating a phasor corresponds to multiplication by <math>\frac{1}{j\omega} = \frac{e^{-j\pi/2}}{\omega}.\,</math>&nbsp; The time-dependent factor, &nbsp;<math>e^{j\omega t}\,</math>,&nbsp; is unaffected. When we solve a [[linear differential equation]] with phasor arithmetic, we are merely factoring &nbsp;<math>e^{j\omega t}\,</math>&nbsp; out of all terms of the equation, and reinserting it into the answer. For example, consider the following differential equation for the voltage across the capacitor in an [[RC circuit]]''':''' :<math>\frac{d\ v_C(t)}{dt} + \frac{1}{RC}v_C(t) = \frac{1}{RC}v_S(t)</math> When the voltage source in this circuit is sinusoidal''':''' :<math>v_S(t) = V_P\cdot \cos(\omega t + \theta),\,</math> we may substitute''':''' :<math> \begin{align} v_S(t) &= \operatorname{Re} \{V_s \cdot e^{j\omega t}\} \\ \end{align} </math> :<math>v_C(t) = \operatorname{Re} \{V_c \cdot e^{j\omega t}\},</math> where phasor &nbsp;<math>V_s = V_P e^{j\theta},\,</math>&nbsp; and phasor <math>V_c\,</math> is the unknown quantity to be determined. In the phasor shorthand notation, the differential equation reduces to<ref> '''Proof:''' {{NumBlk|:| <math>\frac{d\ \operatorname{Re} \{V_c \cdot e^{j\omega t}\}}{dt} + \frac{1}{RC}\operatorname{Re} \{V_c \cdot e^{j\omega t}\} = \frac{1}{RC}\operatorname{Re} \{V_s \cdot e^{j\omega t}\}</math> |Eq.1}} Since this must hold for all <math>t\,</math>, specifically''':''' &nbsp;<math>t-\frac{\pi}{2\omega },\,</math>&nbsp; it follows that''':''' {{NumBlk|:| <math>\frac{d\ \operatorname{Im} \{V_c \cdot e^{j\omega t}\}}{dt} + \frac{1}{RC}\operatorname{Im} \{V_c \cdot e^{j\omega t}\} = \frac{1}{RC}\operatorname{Im} \{V_s \cdot e^{j\omega t}\}</math> |Eq.2}} It is also readily seen that''':''' :<math>\frac{d\ \operatorname{Re} \{V_c \cdot e^{j\omega t}\}}{dt} = \operatorname{Re} \left\{ \frac{d\left( V_c \cdot e^{j\omega t}\right)}{dt} \right\} = \operatorname{Re} \left\{ j\omega V_c \cdot e^{j\omega t} \right\}</math> :<math>\frac{d\ \operatorname{Im} \{V_c \cdot e^{j\omega t}\}}{dt} = \operatorname{Im} \left\{ \frac{d\left( V_c \cdot e^{j\omega t}\right)}{dt} \right\} = \operatorname{Im} \left\{ j\omega V_c \cdot e^{j\omega t} \right\}</math> Substituting these into '''(1)''' and '''(2)''', and multiplying '''(2)''' by <math>j\,</math>, and adding both equations gives''':''' :<math>j\omega V_c \cdot e^{j\omega t} + \frac{1}{RC}V_c \cdot e^{j\omega t} = \frac{1}{RC}V_s \cdot e^{j\omega t}</math> :<math>\left(j\omega V_c + \frac{1}{RC}V_c = \frac{1}{RC}V_s\right) \cdot e^{j\omega t}</math> :<math>j\omega V_c + \frac{1}{RC}V_c = \frac{1}{RC}V_s \quad\quad(QED)</math> </ref>''':''' :<math>j \omega V_c + \frac{1}{RC} V_c = \frac{1}{RC}V_s</math> Solving for the phasor capacitor voltage gives''':''' :<math> V_c = \frac{1}{1 + j \omega RC} \cdot (V_s) = \frac{1-j\omega R C}{1+(\omega R C)^2} \cdot (V_P e^{j\theta})\, </math> As we have see, the complex constant factor represents differences of the amplitude and phase of <math>v_C(t)\,</math>&nbsp; relative to <math>V_P\,</math>&nbsp; and <math>\theta.\,</math> In polar coordinate form, the factor is''':''' :<math>\frac{1}{\sqrt{1 + (\omega RC)^2}}\cdot e^{-j \phi(\omega)},\,</math>&nbsp; &nbsp; where &nbsp;<math>\phi(\omega) = \arctan(\omega RC).\,</math> Therefore''':''' :<math>v_C(t) = \frac{1}{\sqrt{1 + (\omega RC)^2}}\cdot V_P \cos(\omega t + \theta- \phi(\omega))</math> === Addition === The sum of multiple phasors produces another phasor. That is because the sum of sine waves of one frequency is also a sine wave''':''' :<math> \begin{align} A_1 \cos(\omega t + \theta_1) + A_2 \cos(\omega t + \theta_2) &= \operatorname{Re} \{A_1 e^{j\theta_1}e^{j\omega t}\} + \operatorname{Re} \{A_2 e^{j\theta_2}e^{j\omega t}\} \\ &= \operatorname{Re} \{A_1 e^{j\theta_1}e^{j\omega t} + A_2 e^{j\theta_2}e^{j\omega t}\} \\ &= \operatorname{Re} \{(A_1 e^{j\theta_1} + A_2 e^{j\theta_2})e^{j\omega t}\} \\ &= \operatorname{Re} \{(A_3 e^{j\theta_3})e^{j\omega t}\} \\ &= A_3 \cos(\omega t + \theta_3), \end{align} </math> where''':''' :<math> A_3^2 = (A_1 \cos(\theta_1)+A_2 \cos(\theta_2))^2 + (A_1 \sin(\theta_1)+A_2 \sin(\theta_2))^2 </math> :<math> \tan(\theta_3) = \frac{A_1 \sin(\theta_1)+A_2 \sin(\theta_2)}{A_1 \cos(\theta_1)+A_2 \cos(\theta_2)}. </math> In '''physics''', this sort of addition occurs when sine waves "[[interference|interfere]]" with each other, constructively or destructively. Another way to view the calculations above is that two '''vectors''' with coordinates <math>[A_1 \cos(\theta_1), A_1 \sin(\theta_1)]\,</math> and <math>[A_2 \cos(\theta_2), A_2 \sin(\theta_2)]\,</math> are added (see [[Vector (spatial)#Vector_addition_and_subtraction|vector addition]]) to produce a resultant vector with coordinates <math>[A_3 \cos(\theta_3), A_3 \sin(\theta_3)].\,</math> [[Image:destructive interference.png|thumb|right|Phasor diagram of three waves in perfect destructive interference]] The vector concept provides useful insight into questions like this''':''' "What phase difference would be required between three identical waves for perfect cancellation?" In this case, simply imagine taking three vectors of equal length and placing them head to tail such that the last head matches up with the first tail. Clearly, the shape which satisfies these conditions is an equilateral [[triangle]], and the angle between each phasor to the next is 120° (2π/3 radians), or one third of a wavelength <math>\lambda/3.</math> &nbsp;So the phase difference between each wave must also be 120°. In other words, what this shows is''':''' :<math>\cos(\omega t) + \cos(\omega t + 2\pi/3) + \cos(\omega t +4\pi/3) = 0.\,</math> In the example of three waves, the phase difference between the first and the last wave was 240 degrees, while for two waves destructive interference happens at 180 degrees. In the limit of many waves, the phasors must form a circle for destructive interference, so that the first phasor is nearly parallel with the last. This means that for many sources, destructive interference happens when the first and last wave differ by 360 degrees, a full wavelength <math>\lambda</math>. This is why in single slit [[diffraction]], the minima occurs when [[light]] from the far edge travels a full wavelength further than the light from the near edge. ---- === Phasor diagrams === Electrical engineers, electronics engineers, and electronic engineering technicians use phasor diagrams to visualize complex constants and variables (phasors). Like vectors, arrows drawn on graph paper or computer displays represent phasors. Cartesian and polar representations each have advantages. ---- '''Notes''' {{reflist}} == Circuit laws == With phasors, the techniques for solving [[Direct current|DC]] circuits can be applied to solve AC circuits. A list of the basic laws is given below. * '''Ohm's law for resistors:''' a resistor has no time delays and therefore doesn't change the phase of a signal therefore ''V''=''IR'' remains valid. * '''Ohm's law for resistors, inductors, and capacitors:''' ''V''=''IZ'' where ''Z'' is the complex [[electrical impedance|impedance]]. <!-- we probably want a justification of this somewhere--> * In an AC circuit we have real power (''P'') which is a representation of the average power into the circuit and reactive power (''Q'') which indicates power flowing back and forward. We can also define the [[complex power]] ''S''=''P''+''jQ'' and the apparent power which is the magnitude of ''S''. The power law for an AC circuit expressed in phasors is then ''S''=''VI''<sup>*</sup> (where ''I''<sup>*</sup> is the [[complex conjugate]] of ''I''). * [[Kirchhoff's circuit laws]] work with phasors in complex form Given this we can apply the techniques of [[analysis of resistive circuits]] with phasors to analyze single frequency AC circuits containing resistors, capacitors, and inductors. Multiple frequency linear AC circuits and AC circuits with different waveforms can be analyzed to find voltages and currents by transforming all waveforms to sine wave components with magnitude and phase then analyzing each frequency separately. ==Power engineering== In analysis of [[three phase]] AC power systems, usually a set of phasors is defined as the three complex cube roots of unity, graphically represented as unit magnitudes at angles of 0, 120 and 240 degrees. By treating polyphase AC circuit quantities as phasors, balanced circuits can be simplified and unbalanced circuits can be treated as an algebraic combination of symmetrical circuits. This approach greatly simplifies the work required in electrical calculations of voltage drop, power flow, and short-circuit currents. In the context of power systems analysis, the phase angle is often given in [[Degree (angle)|degree]]s, and the magnitude in [[Root Mean Square|rms]] value rather than the peak amplitude of the sinusoid. == References == * {{cite book | author=Douglas C. Giancoli | title=Physics for Scientists and Engineers | publisher=Prentice Hall | year=1989 | id=ISBN 0-13-666322-2}} == External links == * [http://www.jhu.edu/~signals/phasorapplet2/phasorappletindex.htm Phasor Phactory] * [http://resonanceswavesandfields.blogspot.com/2007/08/phasors.html Visual Representation of Phasors] * [http://www.allaboutcircuits.com/vol_2/chpt_2/5.html Polar and Rectangular Notation] [[Category:Electrical circuits]] [[Category:Electric power]] [[Category:Interference]] [[ca:Fasor]] [[de:Phasor]] [[es:Fasor (electrónica)]] [[fr:Phaseur (physique)]] [[gl:Fasor]] [[ko:페이저 (전자)]] [[it:Fasore]] [[he:פאזור (אלקטרוניקה)]] [[nl:Fasor]] [[ja:フェーザ表示]] [[pt:Fasor]] [[simple:Phasor]] [[sk:Fázor]] [[zh:相量]]