Hart Analog Rate of Change

Embed Size (px)

Citation preview

  • 7/27/2019 Hart Analog Rate of Change

    1/4

  • 7/27/2019 Hart Analog Rate of Change

    2/4

  • 7/27/2019 Hart Analog Rate of Change

    3/4

    Application Note AN-106

    Rev. 0 | Page 3 of 4

    DVCC

    CAP2

    CAP1 AV DD

    AGND

    FAULT

    CLEAR 0.1FREFIN

    IOUT

    REFOUTLATCH

    SCLK

    SDIN

    SDOAD5420

    0.1F

    10F

    0.1F

    10F

    3.3V 24V

    10k

    500 DIGITAL TEST FILTERHCF_TOOL-31OSCILLOSCOPE ORTRUE RMS METER

    0 8 8 7 5

    - 0 0 4

    Figure 4. Measuring Noise During Silence

    Figure 5 shows the noise measured using the peak detect featureof a digital oscilloscope. The measurement displayed is4.128 mV rms. The digital test filter has a gain of 10, thus, thismeasurement should be divided by 10 to give a measurementresult of 0.4128 mV rms.

    As a means of supporting this measurement, the noise wasalso measured using an Agilent 3458A true rms meter wherethe measurement result was 0.085 mV rms, much less than theoscilloscope measurement. However, if the oscilloscope is setto normal sample mode, the result is 0.07 mV rms, as shown inFigure 6. The worst-case measurement of 0.4128 mV is wellbelow the requirement of 2.2 mV rms.

    0 8 8 7 5

    - 0

    0 5

    M100ms CH1 400V

    C1 RMS4.128mV

    CH1 2mV

    1

    TEK RUN 250S/sPk DETECT

    Figure 5. Noise at Output of HART Filter, Oscilloscope in

    Peak Detect Mode

    0 8 8 7 5 - 0 0 6

    M100ms CH1 400V

    C1 RMS700V

    CH1 2.00mV

    1

    TEK RUN 500S/sSAMPLE

    Figure 6. Noise at Output of HART Filter, Oscilloscope

    in Sample Mode

    Analog Rate of Change

    This specification ensures that when a device regulates current, themaximum rate of change of analog current does not interfere withHART communications. Step changes in current disrupt HARTsignalling. The test circuit is shown in Figure 4. For this test, theAD5420 is programmed to output a cyclic waveform switchingfrom 4 mA to 20 mA with no delay at either value to ensure themaximum rate of change. To meet the HART specifications, the

    waveform at the output of the filter must not exhibit a peak voltagegreater than 150 mV. Meeting this requirement ensures that themaximum bandwidth of the analog signalling is within thespecified dc to 25 Hz frequency band.

  • 7/27/2019 Hart Analog Rate of Change

    4/4

    AN-1065 Application Note

    Rev. 0 | Page 4 of 4

    The natural time for the output of the AD5420 to change from4 mA to 20 mA is about 10 s. This is obviously too fast andwould cause major disruption to a HART network. To reducethe rate of change, the AD5420 employs two features: con-necting capacitors at the CAP1 and CAP2 pins and a digitalslew rate control function (Refer to the AD5420 data sheet fordetails).

    It would require very large capacitor values connected at CAP1and CAP2 to reduce the bandwidth below 25 Hz; therefore, theoptimum solution is to use a combination of both connectingcapacitors and enabling the digital slew rate control function of the AD5420. The two capacitors, C1 and C2, that attenuate andac couple the HART signal to the AD5420 have the effect of reducing the rate of change of the analog signal, but notsufficiently to meet the specification. Enabling the slew ratecontrol feature offers the flexibility to set the rate of change.

    Figure 7 shows the output of the AD5420 and the output of theHART filter. The peak voltage at the output of the filter iswithin specification at 91 mV. The slew rate control settings areSR CLOCK = 3 and SR STEP = 2, setting the transition timefrom 4 mA to 20 mA at 120 ms, C1 = 2.2 nF and C2 = 22 nF,and C3 is unconnected. If this rate of change is too slow, theslew time can be reduced; however, this will have the effect of increasing the peak voltage at the output of the filter. Tocounteract this, a capacitor (C3) can be connected from theCAP1 pin to AV DD as shown in Figure 1.

    0 8 8 7 5

    - 0 0 7

    CH1 50mVCH3 2V

    M20ms CH3 6.84V

    1

    3

    C1 MAX91mV

    C1 MIN 91mV

    Figure 7. AD5420 and HART Filter Output Signals,SR CLOCK = 3, SR STEP = 2, C1 = 2.2 nF, C2 = 22 nF

    Figure 8 shows the results of inserting a 2.2 uF capacitor for C3and configuring the slew rate control with SR CLOCK = 0 andSR STEP = 3. The slew time for a 4 mA to 20 mA step takesapproximately 30 ms.

    The peak amplitude at the output of the filter can be reducedfurther by increasing the value of C3, configuring a slower slew rate, or a combination of both as shown in Figure 9 where SR CLOCK = 2, SR STEP = 2 and C3 = 2.2 F. This results in a 100ms slew time and voltage peaks at the filter output of 28 mV.

    0 8

    8 7 5

    - 0 0 8

    CH1 50mVCH3 2mV

    M10ms CH3 6.84V

    1

    3

    C1 MAX101mV

    C1 MIN 101mV

    TEK RUN 5kS/sSAMPLE

    Figure 8. AD5420 and HART Filter Output Signals,

    SR CLOCK = 0, SR STEP = 3, C1 = 2.2 nF, C2 = 22 nF, C3 = 2.2 F

    0 8 8 7 5

    - 0 0 9

    CH1 10mVCH3 2V

    M20ms CH3 6.84V

    1

    3

    C1 MAX28.6mV

    C1 MIN 23mV

    TEK RUN 2.5kS/sSAMPLE

    Figure 9. AD5420 and HART Filter Output Signals,

    SR CLOCK = 2, SR STEP = 2, C1 = 2.2 nF, C2 = 22 nF, C3 = 2.2 F

    The slew rate of the analog signalling can be set at the desiredlevel through a combination of selecting the values of the C1,C2, and C3 capacitors and programming the digital slew ratecontrol of the AD5420.

    2010 Analog Devices, Inc. All rights reserved. Trademarks andregistered trademarks are the property of their respective owners.

    AN08875-0- 3 /10(0)

    http://www.analog.com/AD5420http://www.analog.com/AD5420