Assignment 2: Loudspeaker Protection Plug-In Development
Total Page:16
File Type:pdf, Size:1020Kb
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Sydney eScholarship ASSIGNMENT 2: LOUDSPEAKER PROTECTION PLUG-IN DEVELOPMENT Chris Stedman 420066431 Digital Audio Systems, DESC9115, Semester 1 2012 Graduate Program in Audio and Acoustics Faculty of Architecture, Design and Planning, The University of Sydney ABSTRACT Limiters are commonly found in a variety of forms: As dedicated hardware devices; as dsp functions within system The assignment examines the necessity of dynamic range processors, amplifiers or mixing consoles; or implemented in compression, specifically limiting, as it applies to loudspeaker dsp and packaged with the amplifier in a ‘self-powered’ protection in the live production industry. The issues loudspeaker. surrounding current practice and products are also presented. A In the latter case, the limiter has been set by the theoretical case is made for the development of a new limiting manufacturer of the loudspeaker, matched to the performance of product, based upon a matlab function created in a previous amplifier and driver. In most circumstances, the driver is very assignment. well protected. In situations where non-powered speakers are used (i.e. 1. PROBLEM DESCRIPTION speakers and amplifiers are physically separated), a limiter must be employed for speaker protection in some other form. Current In the field of live sound production, equipment at all stages popular practices have some shortcomings: of the signal path is required to be reliable, and robust, often • Many limiters work on either the peak or rms of a having to stand up to both physical and electrical abuse. The signal, rarely both. As described above, to loudspeaker drivers, being the final step in the signal path, can properly minimize speaker damage a limiter must often become damaged due to misuse – either intentional or inspect both aspects. unintentional. A damaged loudspeaker driver will almost • The threshold value of a typical limiter is certainly require replacement or repair, with both options being presented in dB. Sometimes this is calibrated to costly, time consuming, and result in the loudspeaker concerned the professional audio standard +4dBu, sometimes being out of service for some time, possibly resulting in lost to dBFS of the unit. Downstream, the amplifiers revenue for a venue or production supplier. they feed have a dB gain value and are commonly A loudspeaker can become damaged in two ways during specified as producing x Watts into y Ohms. operation: over-excursion, and through heating. Over-excursion Speaker power handling ability is typically occurs when a transient signal is sent to the speaker with an specified in Watts, and commonly values will be instantaneous voltage much larger than the speaker can handle. given for both long term and peak power Such a transient may be caused by faulty equipment or cabling, handling. Many sound practitioners lack the or by a microphone being dropped or hit. Physical damage can mathematical ability and understanding to result to the cone and edge surround and in extreme cases the correlate these numbers into a meaningful limiter voice coil may leave the voice coil gap, destroying the speaker. setting. Often limiters are set by ‘feel’ or Heating results when the rms (average) signal is beyond the experience, which can result in a too conservative speaker’s limits. The effect occurs over time, as the result of the setting, reducing the dynamic range of the system speaker system being driven too loud. The voice coil becomes unnecessarily, or a too large setting – providing overheated, possibly warped, causing friction through contact no system protection at all. inside the voice coil gap. The coil may go open circuit or in • Commonly a single limiter is applied to a multi- extreme cases may catch fire. The loudspeaker driver is way system. In reality the power handling of destroyed in either case. These effects apply to all sizes of subwoofer drivers will be different than the high speakers from subwoofers to tweeters/compression drivers, frequency compression drivers, and efficiency can though the power required to damage a smaller driver is be gained by limiting each aspect of a system typically much less than for a larger one. individually. The conventional way to minimize loudspeaker damage is While it is becoming more commonplace to see speaker to insert a limiter in the signal path before the amplifier and manufacturers market processors and amplifiers with settings speakers. Limiting is a form of extreme dynamic range tailored to specific speaker models, there remains a market for compression. When presented with an audio signal at its input, easy to use and reliable limiters that can be implemented where the limiter will function as a variable gain device, not allowing processors, amplifiers and speakers are brand unrelated. its output to exceed a user-defined threshold. That is: For input below threshold: 2. SPECIFICATION Output = Input (1) For a limiter to be valuable it must have the following qualities: For input above threshold: • It must protect a loudspeaker driver from signals Output = Threshold (2) exceeding both the long term power handling and peak power handling capabilities of the driver console, a system processor or an amplifier with digital input independently. stage. This will eliminate the requirement of an extra piece of • It must be easy for a user to set the thresholds in a physical equipment in the signal chain, as well as avoiding the number of ways. i.e. in traditional dB values, or added latency of an extra stage of ADC/DAC. The advantage of by taking the speaker manufacturers power placing the limiter in the system processor or amplifiers is that handling data in conjunction with the amplifiers separate thresholds can be set for the protection of each type of output capabilities. loudspeaker. i.e. subwoofers, mid frequency drivers, and high • It must provide visual feedback indicating when frequency compression drivers. the system is being limited and by how much – The threshold on the limiters is set using a dBFS value, i.e. either as a display on the unit or as a computer 0dB is the maximum signal level before digital clipping. The interface. flexibility of the limiter shall be its ability to calculate threshold • It must only reduce the gain of a signal when the levels from readily available specifications for the loudspeakers threshold has been exceeded. Additional sonic and amplifiers. An example of this concept is presented: colouration is unacceptable, during gain reduction Loudspeaker power handling: 400W, 1600W Peak or otherwise. Loudspeaker nominal impedence: 8 ohms • It must be easily applied to a multi-way system, Amplifier Gain: 35dB involving different loudspeaker drivers. Loudspeaker max voltage: • It must be able to integrate simply as a dsp algorithm or plug-in into a system processor, V = Power ! Im pedance console or amplifier. long Vlong = 400 !8 3. IMPLEMENTATION Vlong = 56.6V The proposed limiter will be based upon the compression algorithm as presented in the matlab function multiComp.m. As Vpeak = Power ! Im pedance it stands the function works upon an input sound file, and as such will require development to allow it to function in real Vpeak = 1600 !8 time with minimal latency. The function operates by examining the input signal and Vpeak =113.1V creating a gain reduction curve in a side-chain. This gain reduction is then applied to the input signal by way of a simple Amplifier maximum input voltage can be calculated sample-wise multiplication. Figure 2 shows a flow diagram. knowing the amplifier’s gain: Vinputlong = 56.6V ! 35dB 35 V = 56.6 ÷ 10 20 inputlong ( ) Vinputlong =1.0V Vinput peak =113.1V ! 35dB 35 V =113.1÷ 10 20 input peak ( ) Figure 1. A flow diagram illustrating the basic Vinput peak = 2.0V functioning of the routine. The envelope detection and gain reduction curve comprise the side-chain. The limiter can then set its threshold values such that output peaks do not exceed 2.0V and the average level does not exceed 1V. This approach does not take into account speaker Importantly, the function has the ability to derive a gain impedance changes over frequency, and it also relies heavily on reduction curve based upon either the peak amplitude, or the accurate specifications presented on speaker data sheets. It is average level of the input signal. The proposed limiter will however a simple and understandable approach, that can easily utilize both of these detection mechanisms in parallel, providing be set in the field. fast acting response to transients, and a slower acting average It should be noted that while this limiter is a form of based response, with separately assignable thresholds. dynamic range compression, it will be designed purely for the For ease of use, the limiter’s response times, or attack and protection of loudspeakers within a system. It will not be release, will be preset to optimal values for speaker protection, designed to maximize the overall loudness of the signal, or to and factored into the averaging buffer used in the limiter’s side provide other artistic effects. The occurrence of gain reduction chain. by this limiter is a last line defence and suggests that some The function as developed to this point also contains changes to the signal ought be made upstream, such that the routines for clip limiting, and a variable output gain stage. limiter need not be functioning. As such the limiter will include Neither of these features shall be required in the proposed a real time display in the form of a readout or lights to alert the loudspeaker protection limiter. user of limiting. Being a DSP algorithm, the limiter shall be implemented in a pre-existing digital environment such as a digital mixing 4.