您好,欢迎来电子发烧友网! ,新用户?[免费注册]

您的位置:电子发烧友网 > 电子威廉希尔官方网站 应用 > 汽车电子 >

Diagnosing Automotive Faults with Class D Audio Amplifiers(6)

2011年04月04日 09:11 www.obk20.com 作者:电子发烧友 用户评论(0

Shorted Load/Resistance Measurement Detection

This diagnostic can measure the resistance of the load so that shorted loads on any of the outputs can be detected. Since a resistance can be calculated from the diagnostic, this diagnostic can also be used as an alternate method to detect open load or to determine if the speaker is present. To detect shorted loads, place the device in normal mode; set the CTRL3.TW (tweeter/shorted load diagnostic select) bit to 0; set MAP.LCTM to 1 to map the active-low LOAD_ fault bits to the active-low CL0 pin; and apply a ≤ 20Hz sinusoidal signal or single half-sine signal pulse to the inputs under test. The amplitude of the signal will depend on application requirements. The device compares the load current to the shorted load-current threshold. If the load current exceeds the threshold, the corresponding STAT3./LOAD_ (load indicator) bit is set to 1, indicating that there is a shorted load. The shorted load-current threshold depends on the programmed current limit. (See the Electrical Characteristics table in the data sheet.) A similar procedure can be used to detect an open load by using a larger amplitude sinusoidal signal.

Note that the active-low LOAD_ bits do not latch high upon detecting a short. During zero crossings, the load current does not exceed the threshold and the active-low LOAD bits are cleared to 0. There are two ways to obtain the results of the shorted-load diagnostic:

  1. Continuously read the active-low LOAD_ bits to determine if any have been set high.
  2. Monitor the open-drain active-low CL0 output. Because active-low CL0 is the NORed function of the active-low LOAD bits, active-low CL0 pulls low if a short exists on any of the outputs.

Mask the active-low LOAD_ bits to the active-low CL0 output by setting the MAP.LCTM (tweeter and shorted load mask) bit to 0 when the shorted-load diagnostic is not longer running. Clearing this bit prevents active-low CL0 from being asserted when the shorted load-current threshold is exceeded during play.

A load-resistance-measurement diagnostic is done on all outputs. A shorted load is traceable to the output on which it exists by examining the active-low LOAD_ bits or injecting the sinusoidal signal into one channel at a time.

Step-by-Step Procedure (Figure 7)

  1. Enter PLAY mode by following the normal startup procedure.
  2. Select the low-current threshold by setting CTRL3.HCL = 0. This current is approximately 1.3A. (See the Electrical Characteristics table in the data sheet.)
  3. Map the diagnostic current threshold to the active-low CL0 pin by setting MAP.LCTM = 1.
  4. Set the current threshold to a high setting for short detection by setting CTRL3.TW = 0. If you are running an open test, set CTRL3.TW = 1 to select the lower current threshold setting.
  5. For each output [0 to 3]:
    • Generate a low-frequency sine wave (typically ≤ 20Hz) or single-pulse half-sine wave with the amplitude based on application requirements. If the amplitude of the sine wave is ramped until active-low CL0 is active, then the exact speaker impedance can be measured.
    • Monitor active-low CL0 or read OSTAT1.LOAD[3:0] to determine whether the current threshold is crossed. This status is not latched, so it will toggle on/off based on the signal amplitude. If monitoring active-low CL0, you must apply the input signal to one channel at a time. You can also read the active-low LOAD status bits through the I²C to determine which output caused the active-low CL0 pin to assert.
  6. Remove the diagnostic current threshold mapping by setting MAP.LCTM = 0.

There are several ways to measure the exact resistance of the load:

  1. Ramp up the sine wave or half-sine pulses slowly until the active-low CL0 pin is asserted for the first time. The resistance is then calculated by:
    Equation 1.
    Where:
    IT = Threshold current set by CTRL3.HCL
    VINP = Peak input voltage signal
    GAIN = Gain setting of the channel
     
  2. Use a sine wave or a single half-sine pulse with an amplitude guaranteed to trip the selected threshold current with expected load resistance. When the test signal is applied, measure the amount of time that active-low CL0 is low. From this the load resistance can be calculated as follows:
    Sine wave or half-sine pulses

    Equation 2.

Figure 7. Shorted-load diagnostic procedure.
Figure 7. Shorted-load diagnostic procedure.

 

非常好我支持^.^

(0) 0%

不好我反对

(0) 0%

( 发表人:爱电路 )

      发表评论

      用户评论
      评价:好评中评差评

      发表评论,获取积分! 请遵守相关规定!