Choosing a speaker and amplifier for an HMI audio output

7 min read · Published November 11, 2026

Treat the sound path as three interfaces to match from documentation: the panel's audio output, the amplifier input and the speaker load. The standard cabinet build is a line-level feed into a 24 VDC amplifier module and a 2-1/2 in surface-mount speaker in a standard 22 mm (7/8 in) hole. Reserve about 2 A of rail capacity for the amplifier.

A set of computer speakers dismantled and screwed into the bottom of a control cabinet is the build that keeps disappointing: audible on a quiet bench, lost once the floor is running, and too much fuss to mount well. The parts were never the problem. Computer speakers are built and rated for a desk at arm's length, while a cabinet alarm has to carry over machine noise at the operator position. Treat the sound path as three interfaces and match each from its documentation: the panel's audio output, the amplifier input and the speaker load. The build that holds up is a line-level feed into a 24 VDC amplifier module and a 2-1/2 in passive surface-mount speaker set in a standard 22 mm (7/8 in) panel hole, powered from the rail the cabinet already runs.

The sound path is three interfaces

Speaker projects fail when the three connections get treated as one purchase. Each interface has its own numbers, and each pair is matched from documentation:

  • Panel output to amplifier input: signal type (line or headphone), signal level, connector, balanced or unbalanced.
  • Amplifier output to speaker: speaker impedance and power rating against the module's rated output at that impedance.
  • Both to the cabinet: supply voltage and current, mounting holes, volume access.

A plug that fits the jack is not a match. The level and the load come off datasheets, and a cabinet has no room for whatever is left in the drawer.

What decides the choice

Four things decide the build.

Signal. The panel manual states the audio output's type, level and connector. The amplifier datasheet states the input's signal type and sensitivity. Those two lines decide whether the pair connects directly.

Power. A control cabinet already runs a 24 VDC rail for controls, so an amplifier that accepts 12 to 24 V DC slots into existing power. Computer speakers instead demand their own outlet or a USB feed, which is where the improvised builds begin.

Loudness. Sound pressure from a small speaker drops about 6 dB each time distance doubles, the inverse-square law in free air. OSHA's hearing-conservation program applies at 85 dB(A) averaged over an 8-hour shift, so a machining area is loud by design. Size the speaker for the operator position, doors closed, machines running.

Mounting. The clean install uses one hole standard for both parts: a 22 mm chassis punch, the same cutout industrial pushbuttons use, takes the 2-1/2 in surface-mount speaker and the volume knob.

Speaker and amplifier options for a cabinet

Option What it is Where it wins Check first
Repurposed computer speakers Active speakers with a line input and their own power A bench or a quiet room, nothing to buy Input level, power source, audibility at the operator position
Powered speaker with line input One box, amplifier and speaker together One listening spot with power nearby That its input accepts the panel's signal level, and its supply voltage
Amplifier module plus passive speaker A small module fed from the cabinet rail, driving a 2-1/2 in surface-mount speaker The standard cabinet build: rail power, standard holes, reachable volume knob Input sensitivity, supply current, speaker impedance
PA amplifier with 70 V line speakers A larger amplifier and transformer-tapped speakers Several speakers, long runs, a loud floor Amplifier wattage against the sum of the speaker taps

Matching the panel output to the amplifier input

Read the panel manual first. It names the audio output's type and level. Small amplifier inputs are built for consumer line level, which is typically an unbalanced connection on a 3.5 mm plug, so panel jack and amplifier input usually meet as 3.5 mm plugs. The exact sensitivity, meaning the input voltage the amplifier wants, is printed in its datasheet; most AUX inputs land in the 0.1 to 1 V region.

The electrical side is forgiving in one direction: a line input is high impedance, tens of kilohms, so it loads the panel output lightly. It is unforgiving about run length: unbalanced audio picks up noise, so keep the cable short and inside the cabinet, route it with signal wiring, away from drive output and power wiring, and cross power at right angles where a crossing is unavoidable.

If the panel has no audio output at all, that is the first job: adding an audio output to an HMI or shop floor display covers it.

Example: powering a 30 W speaker from the rail

Inputs. Speaker power: 30 W, the rating a typical cabinet amplifier module is sold to drive a speaker at, from the listings found while researching this article. Supply: 24 VDC, the control rail a cabinet like this already runs; amplifier modules sold for the cabinet accept 8 to 24 V DC. Speaker impedance: 8 Ω, the common value for small cabinet and PA speakers.

The rule in words. An ideal amplifier draws supply current equal to speaker power divided by supply voltage. A real amplifier draws more, because audio conversion is not lossless, so the budget gets margin. The power rating also has a ceiling fixed by the supply voltage: into a resistive speaker, a bridged output cannot exceed supply voltage squared divided by twice the impedance, and a single-ended output cannot exceed supply voltage squared divided by eight times the impedance.

The arithmetic.

  • Ideal current: 30 W ÷ 24 V = 1.25 A. With margin for losses and full volume, budget 2 A of rail capacity.
  • Bridged ceiling: 24 V × 24 V ÷ (2 × 8 Ω) = 576 ÷ 16 = 36 W.
  • Single-ended ceiling: 576 ÷ (8 × 8 Ω) = 9 W.

Result. At that supply voltage into 8 Ω, a module sold as a 30 W driver is a bridged design working near the physics ceiling, and a single-ended module tops out near 9 W.

Decision. Reserve 2 A on the rail and run the amplifier from it. Treat a listing claiming hundreds of watts from a 24 V rail as a peak number: above 36 W into 8 Ω the rail voltage has to rise, not the module. If the build stays single-ended, size the speaker for 9 W, and plan on a higher supply voltage for a louder floor.

Cutting, mounting and wiring the cabinet

Holes. One 7/8 in hole for the speaker, a second for the volume control, both cut with a chassis punch in de-energized sheet steel. Check what sits behind the cut before punching.

Placement. Put the speaker on the face nearest the operator, close to ear height, clear of parts and documents that block it. Surface-mount grilles take paint well, so the speaker can match the enclosure.

Signal wiring. Keep the audio run short, with signal wiring, away from power and drive output cables; cross at right angles where crossing is unavoidable.

Power. Tap the rail through a fuse sized to the amplifier's rated current, using the budget from the example. If the rail is tight, add a dedicated feed: sizing a separate 24 VDC supply for HMI inrush current works the same arithmetic for a panel, and a DIN-rail supply is the tidy way to mount one; our accessories range includes a 24 VDC rail-mount supply.

Set the level and test it

Set the amplifier volume low, then play the real alarm tone through the panel. With doors closed and the machines around the cell running, listen at the operator position and raise the gain until the tone stands clear with headroom to spare. The volume knob should be reachable without keys or panel removal.

Two panel-side behaviors sit upstream of the speaker. What the panel does when a second alarm message fires while the first is still playing is decided in its audio settings; overlapping HMI audio when a second alarm message fires walks through it. Where the ladder needs to know the tone finished, that is a sound-done bit signalled from the HMI to the PLC.

When to pick something else

  • Quiet air, a bench or a storeroom: repurposed computer speakers cost nothing and work fine.
  • One listening spot with an outlet nearby: a powered speaker with a line input replaces two boxes with one, once its input is verified against the panel's level.
  • Several speakers around a cell, or a speaker far from the cabinet: a PA amplifier driving 70 V line speakers, each on its transformer tap, keeps cable small and sums the taps within the amplifier's rating.
  • A floor that needs more than the single-ended 9 W ceiling from the example: the limit belongs to the supply, so raise the rail voltage and pick a module and speaker rated for it.

What to ask for before ordering

Bring one line back from each datasheet:

  • Panel manual: audio output type, level, connector.
  • Amplifier module: input type and sensitivity, supply voltage range, rated output at the speaker's impedance, current draw.
  • Speaker: impedance, power rating, mounting hole diameter.
  • Cabinet: spare rail current, sheet thickness for the punch, a reachable spot for the volume knob.

A blank line means that interface is still unmatched, and the quiet-speaker problem returns with new parts.

Recommendation: For a cabinet alarm that must carry on a working floor, build the path from matched parts: confirm the panel's audio output in its manual, feed an amplifier module from the 24 VDC rail whose input accepts that signal level, and mount a 2-1/2 in passive speaker in a standard 22 mm (7/8 in) hole at the operator position with the volume control in a second 7/8 in hole, reserving 2 A on the rail. Choose a powered speaker, or a 70 V PA line, when the sound must move away from the cabinet or multiply into several speakers.

Questions

Can the panel's audio output drive a passive speaker directly?

A panel audio output is built to feed an amplifier input, or to drive small headphones when the manual calls it a headphone output. Neither job includes a speaker sized for shop noise. A passive speaker needs watts; even a faint tone through a big speaker means the output stage is working far outside its rating. Put an amplifier between the panel and the speaker and the problem disappears.

Do I need two amplifiers for stereo?

Check the amplifier datasheet before assuming stereo. Many small cabinet modules are single-channel, so a stereo panel signal means two modules and two speakers. For alarms, mono is usually the better build anyway: one speaker carries the tone, and there is one less module to wire, fuse and adjust.

The speaker distorts when the volume rises. What is happening?

Clipping. The amplifier is being asked for more power than its supply voltage can deliver into that speaker, so the tops of the waveform are cut off. Turn the gain down, or accept the ceiling from the worked example. If it distorts even at low volume, the panel output is too hot for the amplifier input; use the panel-side volume control first or pad the signal down.

Planning information, not legal or engineering advice. Rules differ by place: check codes and permits with your local authority and your licensed trades.

Keep reading

Build your signAsk for a quote