Ohmic Audio

3.2 Enclosure Design and Port Tuning

🔰 BEGINNER LEVEL: Enclosure Types Explained

Why Enclosures Matter

A subwoofer without an enclosure sounds terrible. Here's why:

Without enclosure: - Front wave and rear wave cancel each other - No bass output below ~200 Hz - Driver uncontrolled (damages easily)

With enclosure: - Rear wave isolated or utilized - Deep bass output possible - Driver controlled and protected

Think of enclosure as an instrument that plays the driver.

Three Main Enclosure Types

1. Sealed Enclosure (Acoustic Suspension)

Illustration note: Simple sealed box diagram showing driver, sealed chamber, and air spring effect

How it works: - Driver in sealed box - Air inside acts as spring - Controls cone movement - Smooth, accurate bass

Pros: - Simple to build - Small size - Accurate sound - Forgiving of errors - Works with many drivers

Cons: - Less efficient (needs more power) - Less maximum output - Gentle rolloff (can seem weak)

Best for: - Sound quality - Limited space - Musical accuracy - Rock, jazz, classical

2. Ported Enclosure (Bass Reflex)

Illustration note: Ported box showing driver, port tube/slot, and resonance principle

How it works: - Driver in box with port (hole or tube) - Port resonates at tuning frequency - Adds output at tuning point - More efficient than sealed

Pros: - More output (3-6 dB more) - Less power needed - Extended low bass - Popular for music

Cons: - Larger box required - Harder to build correctly - Port noise if too small - Driver unprotected below tuning

Best for: - Maximum output - Hip-hop, EDM, bass-heavy music - Efficiency important - Have space available

3. Bandpass Enclosure

Illustration note: 4th-order bandpass showing sealed rear chamber, ported front chamber, and sound path through port only

How it works: - Driver between two chambers - Sealed chamber behind driver - Ported chamber in front - Sound exits only through port

Pros: - Maximum SPL at tuned frequency - Driver protected from damage - Impressive bass impact

Cons: - Very large enclosure - Narrow frequency range - Poor sound quality - Difficult to design/build

Best for: - SPL competition - Single-note bass demos - Maximum impact - NOT for sound quality

Enclosure Volume Basics

How much space does the driver need?

Every driver has recommended volume range: - Too small: Sounds harsh, limited output - Too large: Sounds loose, boomy - Just right: Optimal performance

Check manufacturer specifications!

Typical volumes: - 10" subwoofer: 0.75 - 1.5 cubic feet - 12" subwoofer: 1.0 - 2.5 cubic feet - 15" subwoofer: 2.0 - 4.0 cubic feet

Net volume vs Gross volume:

Gross: Total box size (outside dimensions) Net: Actual air space (subtract driver, port, bracing)

Example: - Gross volume: 2.0 cubic feet - Driver displacement: 0.15 cubic feet - Port displacement: 0.10 cubic feet - Bracing: 0.05 cubic feet - Net volume: 1.7 cubic feet

Always design for NET volume!

🔧 INSTALLER LEVEL: Practical Enclosure Design

Sealed Enclosure Design

Step-by-Step Process:

Step 1: Gather Driver Parameters

From manufacturer or measurement: - Vas (equivalent volume) - Qts (total Q) - Fs (resonant frequency)

Step 2: Determine Target Volume

Optimal sealed volume:

V_box = 0.7 to 1.0 × Vas

Example driver: - Vas = 50 liters - Target: 35-50 liters (1.2 - 1.8 cubic feet)

Step 3: Predict Response

System Qtc (Q in box):

Qtc = Qts × √(1 + Vas/Vb)

Target Qtc: - 0.5: Underdamped, boomy - 0.707: Critically damped, flat response (Butterworth) - 1.0: Overdamped, tight but weak

Example: - Qts = 0.6, Vas = 50L, Vb = 35L

Qtc = 0.6 × √(1 + 50/35) = 0.6 × 1.4 = 0.84

Slightly overdamped - tight, accurate bass.

Step 4: Calculate Frequency Response

F3 (frequency at -3dB):

F3 = Fs × √(Qtc/Qts)

Example: - Fs = 35 Hz, Qts = 0.6, Qtc = 0.84

F3 = 35 × √(0.84/0.6) = 35 × 1.18 = 41 Hz

System plays flat to 41 Hz, then rolls off smoothly.

Step 5: Build the Box

Internal dimensions to achieve 35 liters:

Try: 18" wide × 14" deep × 12" tall

Volume calculation:

V = L × W × H
V = 18 × 14 × 12 = 3,024 cubic inches
V = 3024 / 1728 = 1.75 cubic feet
V = 1.75 × 28.3 = 49.5 liters

Too large! Try smaller:

16" × 13" × 11" = 2,288 in³ = 1.32 ft³ = 37.4 liters ✓

Subtract driver displacement (assume 2.5L): Net = 37.4 - 2.5 = 34.9 liters ✓ Perfect!

Ported Enclosure Design

Step-by-Step Process:

Step 1: Determine Tuning Frequency

Rule of thumb:

Fb (box tuning) = 0.8 to 1.0 × Fs

Example: - Fs = 35 Hz - Target Fb = 30-35 Hz - Choose Fb = 32 Hz (common for music)

Step 2: Calculate Box Volume

For ported:

Vb = 1.5 to 2.5 × Vas

Example: - Vas = 50L - Target Vb = 75-125L (2.6 - 4.4 cubic feet) - Choose 90L (3.2 cubic feet)

Step 3: Design Port

Port area rule of thumb:

Ap (port area) = 12-16 square inches per cubic foot

For 3.2 cubic feet:

Ap = 14 × 3.2 = 45 square inches

Round port: 4" diameter (12.6 sq in) - need 4 ports or Slot port: 3" × 15" = 45 sq in ✓

Step 4: Calculate Port Length

Simplified formula:

Lv = [(23562.5 × Ap) / (Fb² × Vb)] - (1.463 × √Ap)

Where: - Lv = port length (inches) - Ap = port area (square inches) - Fb = tuning frequency (Hz) - Vb = box volume (cubic inches)

Example: - Ap = 45 sq in - Fb = 32 Hz - Vb = 3.2 ft³ = 5,530 cubic inches

Lv = [(23562.5 × 45) / (32² × 5530)] - (1.463 × √45)
Lv = [1,060,312 / 5,662,720] - (1.463 × 6.7)
Lv = 0.187 × 12 - 9.8
Lv = 187 - 9.8 = 177 inches... WRONG!

Recalculating correctly:

Lv = [(23562.5 × 45) / (1024 × 5530)] - 9.8
Lv = [1,060,312 / 5,662,720] - 9.8
Lv = 18.7 - 9.8 = 8.9 inches ✓

Port length needed: 9 inches (add 0.75 × port width for each end inside box)

Step 5: Verify with Software

Use WinISD or BassBox to verify: - Frequency response curve - Group delay - Excursion limits - Power handling

Adjust if needed before building!

Port Design Details

Port Velocity:

High air velocity through port creates noise (chuffing).

Target: Keep velocity under 30 m/s (98 ft/s)

Port velocity calculation:

Vp = (Sd × Xmax × Fb) / Ap

Where: - Sd = driver effective area (m²) - Xmax = linear excursion (m) - Fb = tuning frequency (Hz) - Ap = port area (m²)

Example: - 12" subwoofer: Sd = 0.0486 m² - Xmax = 15mm = 0.015m - Fb = 32 Hz - Ap = 45 sq in = 0.029 m²

Vp = (0.0486 × 0.015 × 32) / 0.029
Vp = 0.0233 / 0.029 = 0.8 m/s

This is very low - no port noise!

If velocity >30 m/s: increase port area

Port Shapes:

Round ports (PVC, Sonotube): - Easy to find/buy - Smooth airflow - Consistent tuning - Calculate using diameter

Slot ports (wood): - Build yourself - Efficient use of space - Can be any dimension - More internal volume used

Flared ports: - Reduces turbulence - Lowers port velocity - More expensive - Professional designs

Bandpass Enclosure Design

4th Order Bandpass (Most Common):

Illustration note: Detailed cross-section showing sealed rear chamber dimensions, ported front chamber dimensions, driver mounting, and port specifications

Two chambers: - Sealed chamber (behind driver) - Ported chamber (in front of driver)

Design steps:

Step 1: Divide total volume

Sealed chamber: 0.7 × Vas Ported chamber: 1.5 × Vas

Step 2: Tune ported chamber

Same process as regular ported design, but: - Tuning typically higher (45-60 Hz) - Narrower bandwidth - Peak output at tuning frequency

Step 3: Build carefully

Bandpass Characteristics:

Pros: - 6-10 dB more output at tuned frequency - Driver mechanically protected - Impressive single-note bass

Cons: - Poor frequency response (one-note wonder) - Large enclosure - Difficult to tune correctly - Not musical

Use case: SPL competition only!

⚙️ ENGINEER LEVEL: Advanced Enclosure Theory

Sealed Enclosure Transfer Function

Complete system model:

Electrical impedance:

Ze(s) = Re + Le×s + (Bl)²/(Mms×s + Rms + Cms/s)

Acoustic impedance:

Za(s) = ρ₀c²/(jω×Vb)

Total mechanical impedance:

Zm(s) = Mms×s + Rms + Cms/s + Sd²×Za(s)

Transfer function (SPL output):

H(s) = (jω × ρ × Sd × Bl × I) / (r × Zm(s))

Simplified for sealed box:

System resonance:

Fc = Fs × √[(Vas + Vb) / Vb]

System Q:

Qtc = Qts × √[(Vas + Vb) / Vas]

Second-order high-pass response:

H(s) = s² / (s² + (ωc/Qtc)×s + ωc²)

Where ωc = 2πFc

Frequency response magnitude:

|H(jω)| = (ω/ωc)² / √[(1 - (ω/ωc)²)² + (ω/(ωc×Qtc))²]

Response characteristics:

Qtc = 0.5: Underdamped - Peak at resonance - Boomy sound - Extended deep bass but resonant

Qtc = 0.707: Butterworth (maximally flat) - Flat response to Fc - -3dB at Fc - Optimal for many applications

Qtc = 1.0: Chebyshev - Slight peak before rolloff - Good transient response - Tight bass

Group delay:

τg(ω) = Qtc / (ωc × [1 - (ω/ωc)²])

Maximum at resonance:

τg_max = Qtc / ωc

Example: Qtc = 0.7, Fc = 40 Hz

τg_max = 0.7 / (2π×40) = 2.8 ms

Acceptable for most applications (<5-10ms)

Ported Enclosure Helmholtz Resonance

Port acts as Helmholtz resonator:

Resonant frequency:

Fb = (c / 2π) × √(Sp / (Vb × Lv))

Where: - c = speed of sound (343 m/s) - Sp = port area (m²) - Vb = box volume (m³) - Lv = effective port length (m)

Effective length includes end corrections:

Lv = Lp + k1×√Sp + k2×√Sp

4th Order Response:

Ported enclosure acts as 4th-order high-pass filter.

Transfer function:

H(s) = s⁴ / [s⁴ + a₃s³ + a₂s² + a₁s + a₀]

Coefficients depend on: - Driver parameters (Qts, Fs, Vas) - Box volume (Vb) - Tuning frequency (Fb) - Port losses

Alignment types:

QB3 (Quasi-Butterworth): - Qtc = 0.4, Fb = Fs - Flat response - Good transient response

C4 (Chebyshev): - Qtc = 0.4, Fb = 0.8×Fs - Extended bass - Slight ripple

B4 (Bessel): - Qtc = 0.4, Fb = 1.2×Fs - Excellent transient response - Reduced bass extension

Port Air Mass and Compliance

Acoustic mass of port:

Map = ρ₀ × Lv / Sp

Acoustic compliance of box:

Cab = Vb / (ρ₀ × c²)

Resonance (alternative derivation):

Fb = 1 / (2π × √(Map × Cab))

Substituting:

Fb = c / (2π) × √(Sp / (Vb × Lv))

Same result as Helmholtz formula!

Port impedance:

Zp(ω) = j × ω × Map + Rap

Where Rap = port resistance (losses)

Port Q factor:

Qp = ω × Map / Rap

Typical: Qp = 20-50 (low loss)

Enclosure Loss Mechanisms

Real enclosures have losses:

1. Air absorption: - High frequencies absorbed more - Viscous and thermal losses - Minor effect

2. Panel vibration: - Energy lost to panel flexing - Most significant loss - Reduced by stiffness and damping

3. Port losses: - Turbulence in port - Boundary layer friction - Increases with air velocity

4. Internal damping: - Stuffing material (polyfill, acoustic foam) - Absorbs standing waves - Effectively increases box volume 10-20%

Loss modeling:

Add resistance terms to impedances:

Zm_lossy = Zm + Rlosses

Effect on response: - Smooths peaks - Reduces efficiency slightly - Improves transient response

Optimal damping:

Sealed: Light stuffing (0.5-1 lb/ft³) Ported: Minimal or none (affects tuning)

Transmission Line Theory

Quarter-wave resonance:

Resonant frequency:

Fr = c / (4 × L)

Where L = line length

For 40 Hz:

L = c / (4 × Fr)
L = 343 / (4 × 40) = 2.14 meters = 7 feet!

Transmission line requires very long enclosure!

Tapered vs uniform:

Uniform cross-section: - Simple to build - Strong resonance - Resonant coloration

Tapered (horn-loaded): - Smooth impedance transition - Less resonance - More natural response - Complex to design

Stuffing distribution:

Transfer function:

Distributed parameter model:

∂²p/∂x² = (1/c²) × ∂²p/∂t²

Solution involves hyperbolic functions - complex!

Practical design:

Advanced Computer Modeling

Finite Element Analysis (FEA):

Divides enclosure into small elements, solves wave equation for each.

Software: - COMSOL Multiphysics ($5000+) - ANSYS Acoustic ($10,000+) - Academic research tools

Capabilities: - 3D pressure distribution - Panel vibration modes - Port turbulence - Standing waves

Boundary Element Method (BEM):

Models surfaces only (not volume).

Advantages: - Faster than FEA for acoustics - Better for radiation problems

Used in commercial software: - LEAP (Linear Electric Acoustic Predictor) - AKABAK (freeware, powerful)

Lumped Parameter Models:

Simplify enclosure to equivalent circuit.

Software: - WinISD (free, excellent for bass reflex) - BassBox Pro ($200, user-friendly) - LSPCad ($500, very comprehensive) - Speaker Workshop (free)

Adequate for most designs: - Fast computation - Interactive design - Acceptable accuracy for bass

Measurement-Based Refinement:

After building:

  1. Measure in-box response
  2. Measure impedance curve
  3. Compare to model
  4. Identify discrepancies
  5. Adjust model parameters
  6. Validate design

Tools: - Room EQ Wizard (REW) - free - ARTA - $50 - Praxis CAD - $300