The page you are reading is part of a draft (v2.0) of the "No bullshit guide to math and physics."

The text has since gone through many edits and is now available in print and electronic format. The current edition of the book is v4.0, which is a substantial improvement in terms of content and language (I hired a professional editor) from the draft version.

I'm leaving the old wiki content up for the time being, but I highly engourage you to check out the finished book. You can check out an extended preview here (PDF, 106 pages, 5MB).


AC stuff

Math review


AC currents are all about the sin function, its amplitude and its phase.  
This is a little question-based referesher course on the sin and cos funcitons.


Q1.
consider the funciton psi of x :
 ѱ(x) = sin(kx),
where k is some constant (wavenumber)

what is the wavelength of this wave?
what is ѱ'(x) ?
what is ѱ''(x) ?
what is ѱ'''(x) ?
see a pattern?
bonus: what is the 1000 th derivative ѱ(x) ?








Q2.
sin(kx)+sin(kx + d) = 0
for what values of d is the above equation true?





Q3.
sin(kx)+sin(kx + c) = 2sin(kx)
for what values of c is the above equation true?




Q4.
sin(x)+cos(x) = Asin(x+B)
what are the values of A and B ?





Q5.
sin(x)+cos(x) = Ccos(x+D)
what are the values of C and D ?




Q6.
sin(x+a) = Esin(x) + Fcos(x)
What are the values of E and F (expressed in terms of a) ?





Hint:
the only thing you need to know to derive all of the
above is the following three formulas:

(1)     sin^2 x + cos^2 x + 1
(2)     sin(a+b) = sin(a)cos(b) + sin(b)cos(a)
(3)     cos(a+b) = cos(a)cos(b) - sin(a)sin(b)

Eqns (2) and (3) come witha little mnemonic
 sin --> sico sico
 cos --> coco - sisi  (the negative sign because it is not good to be a sissy)

If you know (1), (2), (3) you kick ass !

Alternating current circuits

New kid on the block:

  |  +
 (~)
  |  -

This is a source of alternating current. It may sound fancy, and soon you will see that it involves some trigonometric functions like sin and cos, but don't worry about that for now. Now I want you to tell me where you can see one of the above objects in your daily life?

I will give you a hint. It lives on walls. It often comes in pairs, and it has three holes.

North American wall outlet. Yes. Your wall outlet. The mains. Hydro-Quebec, or whatever your local electric company is called. They give you a two prong “voltage source” that keeps changing. Sometimes the voltage on the + terminal is higher than the - terminal and sometimes the polarity changes. If you were to connect a voltmeter accross the two slots in the wall you would see \[ v(t) = 150\sin\left( 120\pi t \right), \] where $\omega=2\pi f$ is the anglular frequency. I am assuming you are in North America and the $f=60Hz$. The alternating current your power company is sending you is changing polarity 60 times per second.

At first you might think, what's the point of having somethign oscillate like that? I mean, the average electricity user probably just wants to run his computer, or heat their house. What good is this wobbly electrycity that keeps alternating?

The reason while AC is better than DC, is that you can convert AC very easily using a transformer. If you have a 1.5V battery it is quite complicated to to make into a 300V battery, but if you have a 1.5V AC source you can turn it into a 300V AC source simply by using a transformer with 200 times more windings on the output side than the inputs side.

Concepts

  • $i(t)$: Current as a function of time. Measured in Amperes $[A]$.
  • $v(t)$: Voltate as a function of time. Measured in Volts [V].
  • $R$: The resistance value of some resistor. Measured in Ohms [$\Omega$].
  • $\omega=2\pi f$: Angular frequency = the coefficient in front ot $t$ inside $\sin$.
  • $f$: Frequency of the AC current/voltages
  • $p(t)$: power consumed/produced by some component. Measured in Watts [W].

I want to also give you some intuition about the units we normally see for circuit quantities. The voltage that is used for power transport over long distances is on the order of 50000$[V]$ – this is why they call them high-tension lines. The voltage amplitude of the wall outlets in North America is 150V, but the effective voltage as far as power is concerened is $\frac{1}{\sqrt{2}}$ of the maximum amplitude of the sine wave, which gives: \[ V_{rms}=110 \approx \frac{150}{\sqrt{2}}. \]

On a saftery note, note that it is not high voltage that kills, it is high current.

Circuit components

The basic building blocks of of circuits are called electic components.

The most basic are the following:

  • Wire: Can carry any current and has no voltage drop accross it.
  • Resistor: Can carry any current $I$, and has a voltage accross its terminals of $V=RI$ where $R$ is the resistance measured in Ohmns [$\Omega$]. The energy of the electrons (the voltage) right before netering the resistor is $IR$ [V] higher than when they leave the resistor. It is important to label the positive and negative terminals of the resistor. The positive temrinal is where the current enters, the negative where the current leaves.
  • AC voltage source: Provides you with $v(t) = A\sin(2\pi f t)$ [V]

Then there are the energy storing ones:

  • Capacitor:

\[ q(t) = \int i(t) dt = Cv(t), \qquad \Leftrightarrow \qquad \frac{dq(t)}{dt} = i(t) = C \frac{dv(t)}{dt} \]

  • Inductors:

\[ \int v(t) dt = Li(t), \qquad \Leftrightarrow \qquad \frac{d\Phi(t)}{dt} = v(t) = L \frac{di(t)}{dt} \]

Formulas

Discussion

AC circuits

In North America the electric voltage of wall outlets looks like this: \[ v(t) = 150\cos\left( 120\pi t \right), \] where $\omega=2\pi f$ is the angular frequency.

Some smart people invented phasor notation because they found it annoying to always write down the cos part each time they had to solve calculate something in an AC circuit. In DC circuits, you could just write $150V$ next to a voltage source, but in AC circuits you need to write the whole function

In an AC circuit all quantities (voltages and currents) are oscillating at a frequency of 60Hz so we might as well skip the cos part! Instead of writing the whole expression for $v(t)$ we will write just: \[ \vec{V} = \vec{150}, \] where any quantity with an arrow is called a phasor. The oscillating part (cos term, possibly with some phase) is implicit in the phasor notation.

Concepts

First, let's introduce the main players. The objects of study.

  • $i(t)$: Current the circuit as a function of time. Measured in Amperes $[A]$.
  • $v(t)$: Voltage as a function of time. Measured in Volts [V].
  • $v_{\mathcal{E}}(t)$: Voltage provided by some AC voltage source like the wall power outlet.

In North America and Japan $v_{\mathcal{E}}$ is 110 [V]rms.

  The symbol $\mathcal{E}$ comes from the name //Electromotive force//. 
  This name has since decreased in usage. Do you see yourself asking your friend "Hey Jack, please plug in my laptop power supply into the electromotive force source"?
* $v_{R}(t)$: The voltage as a function of time across some //resistive load// $R$, like an electric heater. 
  Measured in Ohms [$\Omega$]s. The //current-voltage relationship// for a resistive element is 
  $v_{R}(t)=Ri(t)$, where $i(t)$ is the current flowing through the resistor.
* $P(t)=v(t)i(t)$: power consumed/produced by some component. Measured in Watts [W].

Every current and voltage in an AC circuit is oscillating. Current flows in one direction, then it stops, then it flows in the other direction, stops and turns around again, and does this 60 times per second. This is why we call it alternating.

  • $f$: Frequency of the AC circuit. Measured in $[Hz]=[1/s]$.
  • $\omega=2\pi f$: Angular frequency = the coefficient in front ot $t$ inside $\cos$.

We will use the phasor notation in order to deal with cos terms and sin terms in all our equations. The name phasor comes from the fact that this notation allows us to represent not only the magnitude but also the phase of the sinusoid. The examples below are shown correspond to a frequency of $f=60$ [Hz], which gives us an angular frequency of $\omega \equiv 2\pi f = 120 \pi$.

  • $150 \equiv 150\angle 0$: The phasor notation for $150\cos\left( 120\pi t \right)$
  • $150\angle 90$: The phasor notation for $150\sin\left( 120\pi t \right)=150\cos\left( 120\pi t -90 \right)$.
  • $A\angle 0$: The phasor notation for $A\cos\left( 120\pi t - 0 \right)$
  • $A\angle -90$: Is the negative sin function $-A\sin\left( 120\pi t \right)=A\cos\left( 120\pi t +90 \right)$

The following shorthands are very useful:

  • $j \equiv 1\angle{90}$: The shorthand notation for $1\sin\left( \omega t \right)\equiv\cos\left( \omega t - 90 \right)$
  • $-j\equiv 1\angle-90=-1\angle 90$: The shorthand notation for $-1\sin\left( \omega t \right)\equiv\cos\left( \omega t + 90 \right)\equiv-\cos\left( \omega t - 90 \right)$
  • $150j\equiv 150\angle 90$: Equivalent to $150\sin\left( 120\pi t \right)=150\cos\left( 120\pi t -90 \right)$.

You can think of phasors as vector-like, and like vectors they have the component notation and the magnitude-direction notation.

  • $\vec{A}$: Some phasor. Could be a voltage $\vec{V}$[V], a current$\vec{I}$[A], or the impedance $\vec{Z}$[$\Omega$] of an inductor, a capacitor or a resistor.
  • $\vec{A}=(A_r,A_j)$: The phasor which corresponds to $A(t) = A_r+A_jj = A_r\cos(\omega t)+A_j\sin(\omega t)$.
  • $A_r$: The resistive part of $\vec{A}$.
  • $A_j$: The rective part of $\vec{A}$.
  • $\vec{A}= A\angle \phi = |\vec{A}| \angle \phi_{A}$: The phasor $\vec{A}$ expressed in magnitude-direction notation.
  • $|\vec{A}|=A$: The magnitude of the phasor $\vec{A}$. $|\vec{A}| = \sqrt{ A_r^2 + A_j^2}$. Sometimes we will simply refer to it as $A$, so that writing $\vec{A}=A \angle \phi_A$.
  • $\phi_{A}=\tan^{-1}\left(A_j/A_r\right)$: The phase of $\vec{A}$

The circuit components which are commonly used in circuits are the following.

  • $R$: Resistor. Measured in Ohms [$\Omega$]. We can think of resistance as a physical property of some device or as an operational interpretation: the voltage to current ratio of some device. Indeed, we have $R=V/I$.
  • $\vec{Z}$: Impedance is a generalization of the concept of resistance that allows us to treat resistors, capacitors and inductors on the same footing.

The impedance of some device is defined as its voltage to current ratio

  \[
    \vec{Z}\equiv \frac{ \vec{V} }{ \vec{I} }.
  \]
* $\vec{Z}=(Z_r,Z_j)=R+Xj$: Every impedance has a //resistive// part $R$ and a //reactive// part $X$. You can think of these as the two components of the vector $\vec{Z}$: $Z_r$ is the first component, $Z_j$ is the second component.
* $\vec{Z}=|\vec{Z}|\angle \theta=Z\angle \theta$: An can also impedance has a //resistive// part $R$ and a //reactive// part $X$. You can think of these as the two components of the vector $\vec{Z}$: $Z_r$ is the first component, $Z_j$ is the second component.
* $\vec{Z}_C=\frac{-j}{\omega C}$: The impedance of a capacito.  $\vec{Z}_C=(0,X_C)=0-\frac{1}{\omega C}j$
* $\vec{Z}_{eq}$: The equivalent impedance of several circuit elements taken together. Similar to $R_{eq}$, but a little more complicated since we now have resistive and reactive parts. Adding p like vectors.   more general n  how difficult it is to get current through this device. Recall the  The definition of impedance  the type of resistance that a load  circuit element to refits 

impedance

For most purposes in AC circuits we will not talk about the amplitude of the voltage source but its power-average.

  • $\vec{V}=150$: Amplitude phasor which corresponds to $v(t)=150\cos\left( 120\pi t \right)$
  • $\vec{V}_{rms}=110$: Root-mean squared phasor which corresponds the voltage $v(t)=150\cos\left( 120\pi t \right)$

\[ V_{rms} \equiv \frac{V}{\sqrt{2}}. \]

sin and cos

They are brothers in arms. Every time sin is in the house, cos is there too.

I want to also give you some intuition about the units we normally see for circuit quantities.

Suppose the voltage source was actually source: Provides you with $v(t) = A\sin(2\pi f t)$ [V]

check for yourself if you don't trust me.

The derivative of $\sin(\omega t)$ is $\cos(\omega t)$ \[ \frac{d}{dt}\sin(\omega t) = \omega \cos(\omega t) \]

\[ \frac{d}{dt} \vec{j} = \omega 1 \]

Phasor arithmetic

adding

\[ (a + bj) + (c+dj) = (a+c) + (b+d)j \]

subtract

multiply \[ (aj)(bj) = ab(j^2) = -ab \]

divide \[ \frac{1}{j} = \frac{j}{j^2} = \frac{j}{-1} = -j \]

Types of impedance

Resistor

Resistor Resistor: Can carry any current $I$, and has a voltage accross its terminals of $V=RI$ where $R$ is the resistance measured in Ohmns [$\Omega$]. The energy of the electrons (the voltage) right before netering the resistor is $IR$ [V] higher than when they leave the resistor. It is important to label the positive and negative terminals of the resistor. The positive temrinal is where the current enters, the negative where the current leaves.

Then there are the energy storing ones:

Capacitor

Capacitor Two plates \[ \vec{Z}_C = 0 + X_Cj = \frac{-j}{\omega C} \]

\[ q(t) = \int i(t) dt = Cv(t), \qquad \Leftrightarrow \qquad \frac{dq(t)}{dt} = i(t) = C \frac{dv(t)}{dt} \]

Inductor

Inductor The impedance of an inductor is \[ \vec{Z}_L = 0 + X_Lj = j \omega L \] An inductor is given by the \[ \int v(t) dt = Li(t), \qquad \Leftrightarrow \qquad \frac{d\Phi(t)}{dt} = v(t) = L \frac{di(t)}{dt} \]

Formulas

There is only one really

\[ \vec{V} = \vec{Z} \vec{I}, \] where $Z$ is called the impedance.

It used to be $V=RI$, and actually it still is for resistors, but now we have also capacitors and inductors to deal with.

The way we defined $Z_C$ and $Z_L$ above, however, we can deal with them just as if they were resistors.

Impedances in series

\[ Z_{eq} = Z_1 + Z_2 \]

So for example if you have a resistor of 200[$\Omega$] in series with a capacitor of 60[$\mu F$] in an AC circuit at $f=60$[Hz], then the equivalent impedance will be:

\[ \vec{Z}_{eq} = Z_R + Z_C = Z_R + X_Cj = R + \frac{-1}{\omega C}j = 200 - 44.2j. \]

The magnitude of the impedance is: \[ Z = |\vec{Z}_{eq}| = \sqrt{200^2 + 44.2^2} = 204.83. \]

Thus, if I told you that the amplitude of the current is 1[A], and I asked you to find the maximum value of the voltage, then you could use:

\[ V_{max} = Z I_{max} \] and tell me that the amplitude of the voltage is 204.83[V].

Impedances in parallel

\[ Z_{eq} = \frac{Z_1Z_2}{Z_1 + Z_2} \]

Examples

LC circuit

RLC circuit

Combination of R L and C alskj \



The phasor Z_eq The resulting phasor $\vec{Z}_{eq}$

RMS Voltage and AC Power

Power is voltage times current \[ P=VI. \] For a resistive element, we can also write $P=VI=RI^2=V^2/R$.

In DC we were just muliplying numbers, but in AC circuits the current and the veoltage are oscillating funcitons, so the power will also be oscillating \[ p(t) = v(t)i(t) = V_{mac}\cos(\omega t) I_{max}\cos(\omega t) = V_{mac}I_{max}\cos^2(\omega t). \]

Two observations:

  1. The power is oscillating—humming. There is no clean continuous flow of electric energy, but a shaky 120Hz bumpy transfer. This shakyness in the power delivery would be a serious problem for devices that consume a lot of power. This is why Nicola Tesla had to follow up his invetion of alternating currents on two wires into an upgraded version: alternating currents on three wires or three-phase AC.
  2. The maximum power is $P_{max} = V_{mac}I_{max}$, but this is not what Hydro will charge you for. Hydro calculates the average power consmption over some time period. At $t=0,t=\pi,t=2\pi,\ldots$ the power consumption is maximum $P_{max}$, but at times $t=\frac{\pi}{2},t=\frac{3\pi}{2}$ the power consumption is zero. To calculate the average power consumption we need to integrate $\cos^2(x)$ over some representative interval, say $[0,2\pi]$:

\[ \frac{1}{2\pi}\int_0^{2\pi} |\cos(t)|^2 dt = \frac{1}{2}, \]

This means that \[ P_{avg} = \frac{P_{max}}{2 } = \frac{V_{max} I_{max}}{2} =\frac{V_{max}}{\sqrt{2}}\frac{I_{max}}{\sqrt{2} } \]

\[ V_{rms} \equiv \sqrt{ \mathop{avg}_t \{ |v(t)|^2 \} } \]

This is what Hydro charges you for.

The voltage amplitude of the wall outlets in North America is 150V, but the effective voltage as far as power is concerened is $\frac{1}{\sqrt{2}}$ of the maximum amplitude of the sine wave, which gives $V_{rms}=110 \approx \frac{150}{\sqrt{2}}$.

Note that it is not high voltage that kills, it is high current.

ELI ICE

E before I in L=inductor
I before E in C=capacitor

Discussion

Links

[ Alternating currents module in the US Navy Training Series ]
http://jacquesricher.com/NEETS/14174.pdf

 
home about buy book