DC Circuits

Let’s start with the basics.  If you have ever experienced static shock, you had a direct-current (DC) electro-magnetic force (EMF), or voltage measured in volts (V) cause the static charge (measured in coulombs).  If the potential were sustained, so would the flow of electrons.  This rate of flow or DC current is measured in amperes (amps).  If you were a better conductor, the current would increase.  This is called Ohm’s Law.

V = I×R

Voltage is the product of current & resistance, where resistance is measured in ohms (W).  So, the greater the resistance is, the smaller the current.  That is precisely how resistors work as we massage Ohm’s law to illustrate.

I = V/R

Now suppose we have two resistors in series (R1 & R2).  The voltage source would see a resistance equal to their sum.  However, each resistor would only see a fraction of the source voltage (but share the exact same current).  This is why it’s called a voltage divider.  So, through some algebraic manipulation Ohm’s law looks like

V1 = V×R1/(R1+R2)
V2 = V×R2/(R1+R2)

Now let’s discuss parallel resistors.  Ideally, they act independently to share the exact same voltage.  Thus, each one draws its own additional current.  Thus, the effective resistance seen by the source is the reciprocal of the sum of the reciprocals:


R = 1/( 1/R1 + 1/R2 )

Thus, if the 2 resistors are the same value, the effective resistance is halved not unlike dual exhaust system on a car.  Also if one is much greater than the other, current seeks the path of least resistance & the effective resistance is just slightly less than the smaller one.  Electronic testing equipment works this way.  Their enormous resistance makes their intrusion imperceptible to the circuit.

OK, so say you have a circuit whose impedance needs to remain constant but you want to reduce its output.  This device is called an L-pad.  We put a resistor in series (Rs) with parallel (Rp) with the original resistor (R).  The Rp reduces the effective group resistance so that the additional Rs will have an effective resistance equal to the original R value.


R = RS + 1/( 1/R + 1/RP )

At this point I'd like to introduce decibels (dBs) because many use an L-Pad to uniformly reduce a driver's output without changing its crossover (XO) that is dependent upon the speaker's nominal impedance.  So, if you had a 2W speaker in the above example, you'll end up with half the source's voltage across the speaker.  Likewise, if you had an 8W speaker, Rp=8W & Rs=4W, you'd still half the voltage source.

Now how does that translate into sound pressure level (SPL)?  SPLs are measured logarithmically in deciBells (dB) named after the work Alexander Graham Bell (the telephone inventor) did on human hearing & deafness, who noticed that humans perceive sound 10 times as powerful as twice as loud & used it to measure signal loss in phone lines.  The equation is ...

SPL = 10 × Log[ P1/P ]

  ... where P is power defined as V×I.  Through more algebra we get ...

SPL = 20 × Log[ V1/V ]

  ... or -6dBs.  6dBs know it.  Remember it.  It is a common value in circuits & now you know what it means.  But, you say you want to cut a 4W speaker by -1dB hear are the equations. 

RS = R ×{ 1 - 10SPL/20 )

RP = R ×( R - RS )/ RS

You should've got Rs=0.435W & Rp=32.8W.

So, where does almost all of that power go?  It's usually said that it's dissapated, but it's done so by being converted into heat flux energy.  That's why even solid-state amplifiers (that don't have heaters) can get hot.  Often, they're called I²×R losses.  This must be accounted for in circuitry.  Certainly, one can easily see the sensitivity of current, since heat quadruples as current doubles.  This is why voltage-source amplifiers overheat & why some have fuses that blow at a couple amperes to prevent it.  This protects the amplifier from burning-up due to accidental short circuits like if the speaker cables touch, drastically reducing impedance load, causing a corresponding current spike, generating enormous amounts of heat.


AC Circuits

However, we are dealing with audio signals which are alternating-current (AC).  Ideal resistors react just the same regardless of the amplitude or frequency (cycles per second measured in hertz).  This is not the same with all components. 

Capacitors (caps or "C" measured in farads) for example are devices that accumulate current into static charges much like the aforementioned static discharge.  In fact, some industrial caps can discharge a mortal charge.  They work up until their breakdown voltage or rated voltage is exceeded.  They basically are parallel plates separated by an isolator.  When, a charge collects on one plate, it attracts an opposing on the other plate.  This absorption of charge from the downstream line creates an absence of that opposing charge or a specter of the original signal, but all this accumulation (integration) of current takes time.  Thus, the cap’s reaction isn’t operating synchronous (in phase) with the signal.  This discrepancy means resistance is no longer applicable for its operation.  Here in the AC realm we speak of ohms in terms of impedance (Z) instead.  Also, the amplitude is a function of frequency.  This can easily see demonstrated by imagining a 0Hz (DC) signal which sees a cap as a broken wire (open-circuit).  The same cap that conducts in AC doesn’t in DC.  An ideal cap varies linearly with the reciprocal of frequency (measured in seconds per cycle or period).  This is why high-pass filters use a single capacitor in line (series) with the tweeter.  The bass low-frequencies (long-periods, long-wavelengths) LFs are impeded more than treble high-frequencies (short-periods, short-wavelengths) HFs.

Zc = 1/(2×p×f×C) @ -90°

FWIW, we can use the same equations for parallel & series resistances, but substitute Zc for R.  Here's where we discover a seeming contradiction.  You see the equations for equivalent capacitance look reversed.  However, that's because capacitance is inversely proportional to its impedance.  The effective capacitance for series caps look like... (note: don't ever do this without huge bypass resistors to drain the enclosed DC voltage)

C = 1/( 1/C1 + 1/C2 )

OTOH, parallel caps are used all the time.  They reduce the less than ideal series resistance in real world caps while accumulating capacitance.  Why you ask?  It's called a RC time constant.

t = 1/(R×C)

This is why small caps are faster than large ones.  Another similar concept using this phenomena is a bypass capacitor.  You put a huge cap in parallel with a small small one.  You effectively couple the large capacitance with the smaller resistance.  However, the different time constants in the signal path spark a controversy among audiophiles, but remains commonplace none the less.

So, what precisely is this phase (measured in degrees) that everyone speaks about?  It's a measure of asynchronism that sinuous signals under go.  Here we have a simple circuit to determine what is happening.  The following parallel circuit can be used to determine these components independently.

The following shows the voltage supplied to each vs. resultant current of each.

What would happen if we change the frequency?  Well, the phase is identical but the amplitude changes.  Why?  Because, as I already indicated these new devices change impedance with frequency.  The larger the impedance is, the less current is allowed.  Here's a plot of the frequency dependent impedance's magnitude.

Take note of the equivalent impedance (Zeq) of the combined circuit.  This is the load that the source would see.

1st order crossover

So, let's look at a simple crossover (XO) at 1kHz between 2 ideal 8W loads.  Below is the high-pass filter portion.  It is called a 1st-order because that's the highest order of the polynomial in the transfer function (equation in the complex plane predicting behavior).  However, most layman prefer to count caps & coils used.  This has only one.  Thus, 1st-order.  It is serendipitous & convenient.  However, in complicated circuits it is incorrect, but we can tackle that later.  Here we must determine the value of the cap required.  The proper value has an impedance magnitude equal to the resistor.

C = 1/(2×p×f×R)

So, how does it work?  Well, the too short of an answer is like a voltage divider the cap allows greater voltage to reach the load at HFs because its impedance is much smaller than the resistor's.  Also, vice versa, at LFs the load sees very little voltage because the cap's impedance is comparatively much larger than the load.  How fast does it cut-off?  It changes 6dB between the octave from 1kHz to 2kHz.  That is an octave being a span between harmonics (factor of 2).

Why did I say "too short of an answer"?  It excluded phase.  What is the phase?  Well, phase here is dictated by the conglomerate impedance.  While each component is a constant, each weights its own value by its own magnitude.  Thus, the output's phase is frequency dependent.  Although, please notice as each circuit does less filtering, the phase zeros.

How does one obtain the value at each point?  Well, each value is obtained through vector addition.  It is a simple way to do the same trigonometry as the more obscure arithmetic on phased sinuous waves.  Below we calculate the total equivalent impedance @ 1kHz.  Since output is the resistance with no phase divided by the this component with positive phase.  The output voltage’s phase is negative.

Inductors (coils or "L" measured in henries) convert the change (differential) in current into a magnetic field & vice versa which makes it's sensitive to acquiring nearby fluctuating magnetic fields called mutual inductance.  (This also explains why some have ferrous cores as iron is a superior conductor for magnetic fields.  This means less loops of wire comprising a coil would be required to induce a magnetic field.  So, less wire translates into less resistance in the inductor.  However, it's innate nature of staying magnetized creates distortion called hysteresis.)  A coil is the natural antithesis of a capacitor.  It is a short under DC operation.  Thus, ideally, its impedance varies linearly with frequency.  Also, the coil phases the signal in the opposite direction.  Now you can understand why a series coil is used on a woofer.  It impedes high-frequencies (HFs) where the woofer cone breaks-up (vibrates uncontrollably). 

ZL = 2×p×f×L @ +90°

This 1st-order low-pass filter also requires its reactive component (namely the coil's impedance) to equal the magnitude of the resistor.

L = R/(2×p×f)

What happens when they add together?  Well, you get a synchronous output with the input as you add (blend) equal contributions of -3dB @ ±45°.  FYI, the fact it doesn't phase means it can ideally reproduce a square wave as one can easily see by adding the 2 transients components shown below.

2nd order crossover

The easiest introduction to 2nd-order XOs right now is a band-pass filter.  It is comprised of a LF 1st-order high-pass filter & A HF 1st-order low-pass filter, as such it's the only 6dB/octace 2nd-order filter.  It passes everything inside that band.

Here's an introduction into the fact that more complex rules determine things here.  Why you ask?  Well, we just put a 1kHz high-pass together with a 1kHz low-pass.  Did you expect this?

We combined 2 filters each of which was cut -3dB @ 1kHz & got one that wasn't cut at all @ 1kHz.  That happens because of something called reactive power.  That's when caps & coils store real power only to assist when needed.  This comes with a control penalty which can range from inaudible to ringing.  It all depends on personal tastes, perception, system, & Q.  No, not the character from ST:TNG TV series.  Q is a measurement of this frequency response behavior & also has lingering transient repercussions.  Q's should be above critical damping of ½ lest it sound slow & less than unity lest it sound resonant.  Common Q's are ...

Q
Linkwitz-Riley 1/2
Bessel Sqrt[1/3]
Butterworth Sqrt[1/2]
Chebychev 1

In a bandpass, it is defined as ...

Q = Sqrt[L/C] / R

Plus, regardless of components used, 0dB cut will occur at midband defined as ...

f0 = 1 /( 2×p×Sqrt[C×L] )

The bandwidth is defined between these -3dB cut frequencies ...

f31 = ( Sqrt[4×L/C + R²] - R )/( 4×p×L )
f32 = ( Sqrt[4×L/C + R²] + R )/( 4×p×L )

So, you say that you have a load & want the values to make a bandpass between f1 & f2

L = R/(2×p×( f2 - f1 ))
C = ( f2 - f1 )/(R×2×p×f2×f1 ))

  ... with a Q of ...

Q = Sqrt[f1×f2] /( f2 - f1 )

Now, how many octaves does this band cover?

octave = Log[f2/f1] / Log[2]

What does a family of 1kHz bandpass filters look like?

OTOH, here's a real eye opener.  See how the larger bandpass bandwidth contributes more in the step function yet never reaches unity due to the overdamping as shown below.

Here's the relationship between Q versus bandwidth measured in octaves

Now, let's make a 2nd-order high-pass filter.  We know that a series cap worked in a 1st-order XO.  If we strap a coil in parallel to the output resistive load, we know it will reduce it's equivalent impedance especially as the frequencies lower.  Thus, the impedance ratio will increase to greater effect.  That's responsible for doubling the cut-off ratio to 12dB/octave. 

IOW, during LFs where the capacitor impedance is comparatively large with respect to the output resistance while the inductor impedance is comparitively small, therefore the output resistor's voltage is dictated by the current draw through its shunt inductor. 

Furthermore, during HFs, the inductor seems huge & the capacitor seems small, which makes the high-pass filter virtually invisible.

Do you want a certain Q?  This depicts the sharpness of the knee in the response graph among other things as stated above.  And, like the above bandpass filter, the high the Q the more abrupt the transition.

L = R /( 2×p×fx×Q )
C = Q /( 2×p×fx×R )

How about calculating the fx & Q of a given circuit ...

fx = 1 /( 2×p× Sqrt[L×C] )
Q = R × Sqrt[C/L]

Here's what a family of curves of different Q resemble. 


You can guess as well as I that a 2nd-order low-pass filter looks like ...



  ... but you what isn't obvious is the same L & C equations are applicable here.

Here's where phase begins to be important.  Suppose we wanted a 2nd-order 2-way XO.  Let's compare the phase of the high-pass versus the low-pass filters at the XO.

Not only are they 180° (out-of-phase) apart at the XO point, if the two filters have the same Q they always are 180° apart.  So what, you say?  If you recall the above definition of phase, that means one signal is the complete opposite synchronization of the other.  Thus, at the XO frequency where signal's amplitude is split equally, the 2 are equal & opposite.  Thus, we have complete cancellation (destructive interference).  This is also known as a null, or no combined output signal. 

Is all lost?  No.  If we simply invert any one of the two they are in complete synchronization with each other.  So, if you want the phase to sweep like the high-pass filter, invert the woofer's polarity (& vice versa).  Perhaps you have heard of a phase aligned XO.  Does it matter which Q we use?  Let's see ...



Here's the accompanying family of impedance curves for which an arbitrary R=10W value is used to make these curves more visible on the log-log plot.  Take note that the impedance doubles @ the XO for the LR, while its output is ruler flat.

So, why would anyone prefer a 2nd-order Linkwitz-Riley (LR) XO over a 1st-order Butterworth?  Why deal with all those phase problems just to be unable to reproduce a step function when you're done?  Let's compare ...

Both of these 2-way XOs have a pancake flat response.  Yet, because the output from LR is synchronous, it affords you 3dB more isolation between the treble & midbass.  On speakers this means you can purchase a tweeter that extends higher & a woofer that extends lower, because each driver is so isolated from the other's operation.  Also, a 12dB/octave (2nd-order) high-pass filter is a natural excursion limiting circuit.  You see LFs require more volumetric displacement than HFs at the same loudness.  Given a fixed diaphragm piston area on a driver, that translates into more excursion.  So, this protects tweeters from the damage as it attempts to reproduce LFs. 

3rd order Butterworth crossover

This is a flexible XO.  It can sweep an entire 360° of phase as it crosses over from an in-phase woofer to an in-phase tweeter.  It also can sweep 180° of phase as it crosses over between drivers of which one is inverted.  Additionally, a Butterworth XO has an impedance load that is ruler flat resistive load (no reactive load; an impedance without phase).


L0 = R /( 2×p×fx ) C0 = 1 /( 2×p×fx×R )

a1 = 1/2 a2 = 3/4 a3 = 3/2

L1 = a1 × L0
C2 = C0 / a2
L3 = a3 × L0

C1 = C0 / a1
L2 = a2 × L0
C3 = C0 / a3

4th order Linkwitz-Riley crossover

  This is self-synchronized XO (no polarity need be inverted).  It sweeps an entire 360° of phase as it crosses over from an in-phase woofer to an in-phase tweeter.  Plus, as a LR XO is has an impedance spike at the XO point where the impedance doubles.


L0 = R /( 2×p×fx ) C0 = 1 /( 2×p×fx×R )

a1 = 2×Sqrt[2] a2 = 2×Sqrt[2]/3 a3 = 4×Sqrt[2]/9 a4 = 4×Sqrt[2]/3

C1 = C0 / a1
L2 = a2 × L0
C3 = C0 / a3
L4 = a4 × L0

L1 = a1 × L0
C2 = C0 / a2
L3 = a3 × L0
C4 = C0 / a4

ORDER cut-off phase diff impedance Q needed SPL @ fx wired
1st 6dB/oct +90°;-270° flat Sqrt[1/2] -3dB in-phase
2nd 12dB/oct ±180° doubling spike 1/2 -6dB out of phase
3rd 18dB/oct +270°;-90° flat Sqrt[1/2] -3dB either
4th 24dB/oct doubling spike 1/2 -6dB in-phase

Notch filters

Time to go full circle.  Remember the 1st LRC circuit?  How about the voltage divider?  Well, we’re about to implement them.  What for you ask?  Well, some distortion like diaphragm break-up is obtrusive but happens over a very small bandwidth.  So, if you install a very high Q LRC circuit the circuit resonance won’t discolor the break-up but will smooth out the sound over this harsh region.  You already know what value the resistor will be.  It will be the value necessary to dive the voltage.  Only now the parallel L & C components short values not within the band (the cap will short out HFs & the coil will short out the LFs). 

RN = Z ×( 10-SPL/20 – 1 )

Let’s make an arbitrary example where a 10dB spike occurs at 1kHz.  The bandwidth is defined by the frequencies f1 & f2 at the mid amplitude (5dB). 

CN = Sqrt[( RN + Z )/ Z] / ( 2×p×( f2 - f1 )×RN ) LN = 1 /( 4×p²×f1×f2×CN )

Here's an example where the f1=800Hz & f2=1250Hz on the 10dB spike @ 1kHz...

I can hear you now.  But, that high Q of a notch will setup an electronic resonance.  Trust me.  If you need a notch like this you already have a type of mechanical resonance at this frequency as a glimpse at the driver's waterfall plot would illustrate.  That's why you need the notch in the 1st place.  The only difference is this one will be more musical while restoring the acoustic frequency response.