Fixed correction terms for detectors using input filters having fixed attack/release times or other detector types are commonly used in AC voltage measurement equipment like Multimeters or audio measurement systems like “Audio Precision”.
Various types of audio level meters exist, like e.g., the VU (Volume Unit) Meter and the Peak Program Meter, whose readings differ for the same input signal and are not easy to compare with each other. This is due to the fact that an audio level meter shall serve two conflicting purposes. On the one hand, it shall indicate the perceived loudness of an audio signal, which is related to the signal power. On the other hand, it shall also indicate the headroom that is still left before the system goes into saturation as this would cause audible distortions. In this regard, further distinguishing is needed between an analog and a digital system. An analog system overloads relatively gradually whereas a digital one overloads abruptly. Therefore, an object of the invention is to correct the output level so that it displays the true signal power, whatever the internal settings of the audio level meter, for a sinusoidal signal being supplied to the input.
The invention is directed to an apparatus and a method for determining the difference between the true signal power and an audio level meter reading for various types of audio level meters, including audio level meters that, at their inputs, produce the square of the input signal or the absolute value of the input signal, as presented in claims 1 and 6. Further advantageous embodiments and developments of the invention are presented in the dependent claims.
The invention is based upon the finding that, for a sinusoidal input signal, the difference between the true signal power and the reading of an audio level meter substantially only depends from three variables: The treatment of the input signal, i.e. determining the absolute value or squaring the input signal, the attack time of a lowpass filter used in the audio level meter and the release time of that filter.
In a corresponding equation phi_0 is the phase angle, for which the rising and decaying portions of a signal under test are equal.
In the case of a squared input signal, phi_0 is determined according to the following equation:
(b−a)*sin(2*phi—0)−2*(b−a)*phi—0*cos(2*phi—0)−a*pi*cos(2*phi—0)=0
In the case of the absolute value of the input signal being determined, phi_0 is determined according to the following equation:
(a−b)*phi—0*sin(phi_0)+(a−b)*cos(phi—0)+b−a*pi/2*sin(phi—0)=0
wherein a=1−exp(−1/(τa·fs)), b=1−exp(1/(τr·fs)) and fs is the sampling frequency.
When dividing the equations by ‘a’ it will become obvious that phi_0 depends merely on the ratio b/a. If τa>>1/fs and τr>>1/fs b/a is substantially equal to τa/τr.
The output signal is then calculated as
output_level=A*sin(phi—0)
wherein A corresponds to the amplitude of the input signal. The desired reading should, however, correspond to output_level_sin=A*sin(pi/4).
This results in a difference, expressed in dB, as follows: Delta_dB=20*log10(output_level/output_level_sin), or Delta_dB=20*log10(sin(phi_0))+3. (Note: sin(pi/4)̂2=0.5)
As indicated in the block diagram in
where a=1−exp(−1/(τa·fs)), b=1−exp(−1/(τr·fs)) and fs is the sampling frequency. In other words, the two differential equations represent a rising or a falling input signal, respectively. Finally, the result is converted from linear scale to logarithmic scale in decibels by correspondingly applying a logarithm, i.e., ydB(k)=20 log10 y(k) or ydB(k)=10 log10 y(k) depending on whether the input signal was rectified or squared in the first step. Therefore, there are in total three internal parameters, which influence the output of an audio level meter: rectification/squaring, attack time τa and release time τr. Note that an exception to this signal flow is represented by audio level meters that shall solely indicate the maximum of the signal to prevent any overload from occurring. They either hold a maximum for a preset time or they let it decrease exponentially.
Sinusoidal input signals are commonly used as test signals. Especially for non-professional users, it is likely to be rather distracting if the reading of the audio level meter does not match the applied signal power. As sinusoids are, however, completely defined by their amplitude and frequency (and, strictly speaking, also their phase), the output of an audio level meter can be calculated relatively easy for the steady state (at least approximately and as long as the attack and release times are sufficiently large compared with the input period). Thus, the output can be corrected to reflect the true signal power in this case. The analysis results in nonlinear equations, which need to be solved numerically. To avoid that such a complex task needs to be performed online, look-up tables with linear interpolation between the entries are used instead. Fortunately, the output level is independent of the frequency of the input sinusoid. Furthermore, it only depends on the ratio between the release and the attack time and not on their individual values. Finally, the level offset, or difference, in dB is also independent of the amplitude of the input signal. Therefore, two equations, one for a rectified and one for a squared signal, are sufficient to calculate the offset that needs to be applied. Using only the indicated sampling points with linear interpolation in between, the maximal error remains below approximately 0.1 dB for the complete range of time ratios. Note that an alternative implementation could consist in replacing the additive correction downstream of the logarithm stage by a corresponding multiplicative one upstream thereof.
Number | Date | Country | Kind |
---|---|---|---|
06300863.5 | Aug 2006 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2007/058206 | 8/7/2007 | WO | 00 | 1/30/2009 |