Automatic gain control, compressor and limiter
Signal processing designed to maximize the usable dynamic range of your system.
Four types of signal processing control signal levels: compression, limiting, bass enhancement, and automatic gain control. Their common objective is to maximize usable audio system performance within its mechanical, electrical, and thermal limits.
When dynamics become a constraint
Input levels vary widely
Audio sources can differ in nominal level, dynamic range, and crest factor.
Speech, announcements, multimedia content, and communication signals can differ considerably in perceived level and place different demands on the electroacoustic system.
Operating limits at high signal levels
At higher signal levels, amplifier or transducer operating limits may be reached. Potential effects include electrical saturation, excessive excursion, thermal compression, and increased distortion.
Further increases in input signal level may then produce proportionally smaller increases in acoustic output. Sound reproduction quality may also decrease.
Bass output constraints associated with enclosure volume
In compact products, enclosure volume and radiating area can limit low-frequency efficiency.
Bass boost can result in excessive diaphragm excursion, increased distortion, and substantial power consumption.
Low-frequency output depends on available electrical drive and the mechanical, acoustic, and thermal limits of the transducer.
Four processes, one goal
The compressor
Compression reduces level differences between quiet and loud passages. This can improve perceived level consistency and reduce the need for manual volume adjustments.
The limiter
A limiter is designed to restrict the output signal level to a specified threshold. This helps protect the amplifier and loudspeaker from excessive signal peaks.
Bass enhancement
Our Bass Boost algorithm optimizes low-frequency output according to playback level. It accounts for loudspeaker operating limits to reduce the risk of damage.
Automatic gain control
Automatic gain control adjusts gain to maintain a more consistent output level as input levels vary, for example between different talkers.
From system characterization to embedded processing
Characterizing the electroacoustic chain
We characterize the system in its operating configuration, including the source, digital-to-analog conversion, amplifier stage, transducer, acoustic load, and mechanical integration.
We characterize available signal levels, system gain, saturation, frequency response, distortion, excursion, and thermal limits.Determining the operating margins
Using measurements and component data, we identify the main design constraints. These include available voltage and current, allowable power, maximum excursion, temperature rise, headroom, and operating frequency band.
We use these limits to determine operating thresholds for compression, limiting, bass enhancement, and automatic gain control.Designing the signal processing
We tune gain laws, thresholds, ratios, attack and release time constants, protection filters, and bass enhancement strategies based on measured system behavior.
The objective is to maximize usable dynamic range while controlling distortion and saturation within the system's mechanical, electrical, and thermal limits.Validating system behavior
We verify algorithm performance through bench testing and subsequent testing under representative operating conditions.
Validation combines electrical and acoustic measurements, distortion analysis, and perceptual assessments. We assess protection effectiveness and its impact on dynamics and sound quality.Porting to the target platform
We then optimize and integrate the signal processing algorithms into your product's embedded architecture.
During porting, we account for computational resources, available memory, numerical precision, latency, and real-time constraints of the audio chain.
Dynamics processing explained
What is the difference between a compressor and a limiter?
Compression reduces level differences between quiet and loud passages, which can improve perceived level consistency. A limiter is designed to restrict the output signal level to a specified threshold. This helps protect the amplifier and loudspeaker from excessive signal peaks. We tune both processors together based on measured system operating limits.
How are these four processes related?
All four processes modify signal levels. We tune these processes jointly. Bass enhancement without appropriate protection can increase the risk of loudspeaker damage. Compression alone may not compensate for input level differences between sources.
Is Bass Boost equivalent to low-frequency equalization?
Both approaches can increase low-frequency signal levels. The difference concerns how loudspeaker operating limits are incorporated into the processing. Conventional fixed equalization applies frequency-dependent gain without real-time estimation of loudspeaker operating conditions. Low-frequency gain applied to a compact transducer can increase power demand, diaphragm excursion, and distortion. Bass Boost adjusts gain according to the transducer's mechanical, electrical, and thermal limits. This helps control distortion.
How does the processing affect loudspeaker durability?
When properly configured, the processing can help protect the loudspeaker. The processing includes a high-pass filter, an excursion limiter, and thermal limit management. These functions help maintain operation within the transducer's mechanical and thermal limits. Tuning requires consideration of the transducer's operating limits. We therefore characterize the component before determining processing parameters.
Which products can benefit from this processing?
This processing is particularly relevant where integration space is limited and low-frequency output is important. Applications include compact loudspeakers, portable devices, embedded systems, and communication stations. Compact transducers can present greater challenges in achieving the required low-frequency acoustic output.
Show the technical details
Loudspeaker protection during bass enhancement
Bass Boost uses an electromechanical loudspeaker model to estimate diaphragm displacement in real time from the amplifier input signal. The estimate can also incorporate voltage and current measurements. The estimated displacement is compared with a setpoint below the maximum allowable excursion, Xmax.
The algorithm boosts low frequencies while the estimated displacement remains within the specified operating limits. As the estimated displacement approaches its limit, a control loop progressively reduces gain, modifies equalization, or increases the high-pass filter cutoff frequency. We tune attack and release time constants to provide rapid excursion control while minimizing audible pumping.
The control loop can also monitor voltage, current, and estimated voice coil temperature. Gain is adjusted to maximize low-frequency output within the loudspeaker's mechanical, electrical, and thermal limits. The objectives include limiting excursion to Xmax, avoiding excessive saturation, and reducing the risk of damage.
Physical constraints on algorithm tuning
Physical constraints include the resonance of the loaded transducer. Below resonance, acoustic output can decrease and the excursion required for a given output level can increase. Other constraints include linear excursion, clearance before the mechanical end stop, and allowable thermal power.
Inappropriate processing parameters can result in operation beyond these limits, increasing distortion and thermal compression. We therefore base algorithm tuning on transducer measurements. We characterize the component through bench testing before determining algorithm parameters. This methodology is described on our electroacoustic design page.