Distortion detector

Information

  • Patent Application
  • 20040160278
  • Publication Number
    20040160278
  • Date Filed
    December 11, 2003
    20 years ago
  • Date Published
    August 19, 2004
    20 years ago
Abstract
A distortion detector comprises a clip detector to generate a distortion pulse, processing means to calculate the duty cycle of the distortion pulse and comparator means for supplying a control signal when the calculated duty cycle exceeds a certain threshold value. This control signal can be used, for example, the reduce the volume of audio reproduction.
Description


[0001] The present invention relates to a distortion detector.


[0002] Distortion detectors are well known. Very often, a simple analogue signal clip detector in the form of a single transistor is used when distortion occurs at the output of the power amplifier of an audio set. The distortion information can then be used, for example, to reduce automatically the volume of the audio reproduction. The distortion information, however, can also be used to control other distortion sensitive parameters, such as the bassboost. The main problem with such distortion detectors is that they detect distortion by detection of the point at which signal clipping occurs. As a consequence, it may happen that even a very small distortion triggers the detector, while in practice a higher amount of distortion is acceptable.


[0003] In the known distortion detectors a clipping signal in the form of a distortion pulse is generated; the clipping signal is active from the point at which clipping occurs to the point where the clipping ends. The time during which the clipping signal is active is called the clipping time ΔTcl. The higher the amount of distortion, the longer is the clipping time and thus the length of the distortion pulse. However, the distortion pulse behavior is dependent on the frequency of the distorted signal: a sine wave at lower frequency and with lower distortion may have the same distortion pulse length as a somewhat higher frequency with a higher distortion. Therefore, the clipping time is not ambiguously a measure for the amount of distortion.


[0004] The purpose of the invention is to overcome the above problems and to provide for a distortion detector by means of which a signal, independent of the frequency of the clipped signal, can be obtained that can reliably be used, for example, to reduce automatically the volume of audio reproduction, taking into account an acceptable and adjustable amount of distortion.


[0005] According to the invention the distortion detector comprises a clip detector to generate a distortion pulse, processing means to calculate the duty cycle of the distortion pulse and comparator means for supplying a control signal when the calculated duty cycle exceeds a certain threshold value. This control signal can for example be used to reduce automatically the volume of audio reproduction. The invention is based on the insight that the so-called THD (total harmonic distortion) is a function of the duty cycle of the distortion pulse. The information about the THD is not derived from the level of the clipped signal as for example in U.S. Pat. No. 5,430,409, but from the duty cycle thereof.






[0006] In the following with reference to the drawing an embodiment of the invention will be described in more detail. In the drawing:


[0007]
FIG. 1 shows a sinusoidal input signal with no clipping and a clipping pulse if said input signal would be clipped at a certain level; and


[0008]
FIG. 2 a schematic diagram of the distortion detector according to the invention.






[0009]
FIG. 1 shows a sinusoidal input signal Asign.sin ωt, with Asign the level of the non-clipped signal. If this signal is clipped at level Acl a distortion pulse, indicated by the dotted line, is obtained. The length of this distortion pulse is ΔTcl=Tcl−2tl with Tcl the period of the distortion signal.


[0010] The duty cycle of the distortion pulse is ΔTcl/Tcl=1−2/π.arcsin[Acl/Asign]. As it is already known that the THD is a function of the ratio[Acl/Asign], the THD is also a function of the duty cycle ΔTcl/Tcl.


[0011]
FIG. 2 shows a clip detector 1 to supply a distortion pulse, means 2 to calculate the duty cycle ΔTcl/Tcl thereof and comparator means 3 for supplying a control signal when the calculated duty cycle exceeds a certain threshold value. The control signal is used to control the volume of audio reproduction. The calculating means comprise a unit 4 to detect the time at which the leading edge of a distortion appears and a unit 5 to detect the time at which the trailing edge of a distortion signal appears. At the leading edge of a distortion pulse a ΔTcl-counter 6 and a Tcl-counter 7 are started. At the trailing edge of the distortion pulse the ΔTcl-counter 6 is stopped and read out. As soon as the leading edge of the next distortion pulse is detected, the Tcl-counter 7 is read out, while both counters are reset and a next cycle will be started. The position of the counters 6 and 7 is registered in divider unit 8, while therein the duty cycle ΔTcl/Tcl is calculated. The calculated duty cycle is supplied to the comparator means 3. The comparator means 3 may comprise a table of the percentage THD against the duty cycle of the distortion pulse; this table can be determined via numerical FFT analysis. A specific percentage of distortion to be acceptable can than be adjusted. When a calculated duty cycle exceeds an adjusted threshold value of when the percentage of distortion corresponding with a calculated duty cycle exceeds an adjusted percentage, a control signal is supplied to reduce the volume of audio reproduction.


[0012] Although the calculations in the distortion detector can be done in hardware, it is convenient to perform the functions of the calculating and comparator means in software, as mostly a microprocessor will already be present in the device in which the distortion detector is applied, for example an audio device.


[0013] The invention is not limited by the embodiment described with reference to the accompanying drawing, but comprises all modifications which fall within the scope of the following claims.

Claims
  • 1. Distortion detector comprising a clip detector to generate a distortion pulse, processing means to calculate the duty cycle of the distortion pulse and comparator means for supplying a control signal when the calculated duty cycle exceeds a certain threshold value.
  • 2. Distortion detector according to claim 1, characterized in that the calculating means comprise detection units for detecting the occurrence of the leading and trailing edges of distortions pulses and counters controlled by the output signals of the detection units to determine the distortion pulse length and the period of the distortion pulses and divider means to calculate from the distortion pulse length and the period of the distortion pulses the duty cycle of the distortion pulses.
  • 3. Distortion detector according to claim 1 or 2, characterized in that the comparator means comprise a memory with a table of distortion percentages against duty cycle values and means to determine whether the distortion percentage, corresponding with a calculated duty cycle, exceeds an adjusted distortion percentage.
  • 4. Distortion detector according to any one of the preceding claims, characterized in that the calculating-en comparator means are implemented in a microprocessor.
  • 5. Audio implement, provided with a distortion detector according to any one of the preceding claims to reduce the volume of audio reproduction when the calculated duty cycle exceeds a certain threshold value.
Priority Claims (1)
Number Date Country Kind
01202434.5 Jun 2001 EP
PCT Information
Filing Document Filing Date Country Kind
PCT/IB02/02510 6/20/2002 WO