This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS5751M-TAS5733L-SW: AGL 4 (full band)

Part Number: TAS5751M-TAS5733L-SW
Other Parts Discussed in Thread: TAS5733, TAS5733L, TAS5805

We are developing a product using the TAS5733 and would like to use AGL 4 (full band AGL after Vol 1 and Vol 2 blocks) for limiting volume at high levels in order to prevent clipping as described briefly on page 18 of the datasheet. However it seems that whenever the volume reaches the attack threshold value (the "T" parameter, register 0x44) the audio just becomes severely distorted. With the default settings for the AGL, distortion occurs at relatively low volumes and increasing T allows for higher volumes to be achieved before the distortion occurs. It seems as if the AGL stage itself is causing the distortion as soon as it becomes active. The distortion actually sounds much more severe than what would occur from regular clipping alone.

The following register settings are set during initialisation:

reg 0x1B := 0x00 (osc trim)
reg 0x05 := 0x42 (shutdown)
reg 0x25 := 0x01132045 (set D = +CH1, C = -CH1, B = -CH2, A = +CH2)
reg 0x06 := 0x03 (soft muting)
reg 0x07 := 0x00C0 (master volume 0dB)
reg 0x50 := 0x0F700010 (use L CH EQ coefficients for R CH)
reg 0x46 := 0x00000028 (turn on AGL 4 (full band AGL), leave AGLs 1..3 (multi-band AGLs) off)
...
reg 0x05 := 0x02
reg 0x06 := 0x00

Registers 0x08 and 0x09 are used for controlling volume and balance. All 11 biquads on the input are configured for a gain of 1 (b0 = 0x00800000, all other coefficients = 0). The sample rate is 48kHz.

As previously mentioned, programming register 0x44 allows higher volumes to be achieved before the distortion occurs. Setting register 0x45 for very long attack and release times did not seem to make any difference. The alpha and omega parameters are insufficiently explained in the documentation to know how to program these settings but one would expect the default parameters to produce a good result in most cases.

Please offer assistance.

  • Hi David,
    What is the input signal? Sinewave? How much is the frequency? Make sure the softenign time is not too short. The attack time can be set to a lower value to respond to signals quickly, while the release time can be a little longer to achieve better THD performance.
    Unfotrunately there is special document for TAS5733L AGL, but TAS5805 also has AGL block. Please refer to the introduction in the section 3.7 in this document: www.ti.com/.../sloa263.pdf There is another document that is about DRC introduction(DRC is simliar to AGL but not the same): www.ti.com/.../sloa148.pdf
    Best regards,
    Shawn Zheng
  • Thank you that information was helpful and I was able to get it to work. The input signal was regular audio, i.e. music, etc.

    I was using larger and larger values for the attack and release time settings to try to slow down the AGL but the larger values increase the reaction rate rather than decrease it. Since the audio was badly distorted when using the default parameters it was not obvious that my settings were making it worse. The documentation does not explain these parameters at all and a comment such as the one from the document that you posted "Higher values will cause the compressor to respond to signals quickly, while lower values will decrease the response time." would have made things clearer). It is also not obvious is that the release time parameter is a negative number. Determining the appropriate values seems to be best done by trial and error since no formulae are provided.