Lecture06 New Signal Conditioning - Filterx

Embed Size (px)

Citation preview

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    1/35

    0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    2/35

    A A (( )) ,,

    .. ::

    0

    bb

    2211

    1122

    RRRR

    VVRRVVRR

    outoutaaVV ++++++++

    ++++++++========

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    3/35

    A A ,, ((00))

    2211

    22

    RRRR VVininRR

    outoutVV ++++++++========

    0

    1

    2

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    4/35

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    5/35

    0

    . .

    .

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    6/35

    Three types of filterThree types of filter low, high and bandlow, high and band--pass filterspass filters

    0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    7/35

    CLASSIFICATION OF FILTERSCLASSIFICATION OF FILTERSSignal Filter

    Analog Filter Digital Filter

    0

    emen ype requency an

    Active Passive Low-Pass

    High-Pass

    Band-Pass

    Band-Reject

    All-Pass

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    8/35

    : C : C

    A plot of H(f) transfer function is a powerful way to analyse

    Bode plot magnitude and phase

    Magnitude Bode plot of a LPF.

    0

    y axis: absolute value ofH(f) = |H(f)|

    fC is the frequency on one

    side of which H(f)~0 orthe circuit blocks thosefrequencies. It is thecutoff frequency.

    fC

    ~70.7%

    Blocked

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    9/35

    A A

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    10/35

    A A , ,

    // = = CC/(/(++CC)) = =

    == 1 C = 1 C = 11 C = 1 C = 1 CC == 11

    Vout

    Vin

    )|( j|H

    0 0

    As fincreases from 0 onwards, VOUT/VIN (the TRANSFERFUNCTION) goes from 1 to 0. Thus high frequencies are

    attenuated. Thus this is a LOW PASS FILTER.

    ++++++++========

    ++++++++

    ========fRCfRCjj

    VV

    fCfCjjRR

    fCfCjjVVVV ININININOUTOUT

    2211

    11

    22

    11

    22

    11p s

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    11/35

    FIGURE 2.13 Circuit for the low-pass RCfilter.

    0 Curtis Johnson

    Process Control Instrumentation Technology, 8e]

    Copyright 2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

    All rights reserved.

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    12/35

    ResponseResponse of the lowof the low--passpass RCRCfilter as a function of the frequency ratio.filter as a function of the frequency ratio.

    0 Curtis Johnson

    Process Control Instrumentation Technology, 8e]

    Copyright 2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

    All rights reserved.

    X-axis log of ratio of input signal freq to critical frequency

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    13/35

    B B

    C C / / 0.7070.707

    RCfc

    2

    1=

    0

    outout

    22//1122

    11

    11

    ++++++++

    ========

    cc

    inin

    ff

    ffVV

    VV

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    14/35

    C C 11 1 1

    0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    15/35

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    16/35

    A A

    0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    17/35

    A A , ,

    VVOUTOUT/V/VININ = Z= ZRR/(Z/(ZRR+Z+ZCC))

    ZZRR = R= R

    ZZCC = 1/CD = 1/Cs = 1/= 1/CD = 1/Cs = 1/jjCC == 1/1/j2fCj2fCVout

    Vin

    )|( j|H

    0

    As fincreases from 0 onwards, VOUT/VIN (the TRANSFERFUNTION) goes from 0 to 1. Thus low frequencies are

    attenuated. Thus this is a HIGH PASS FILTER.

    s p

    ++++++++========

    ++++++++

    ======== VV

    fCfCjjRR

    VVVV ININININOUTOUT

    fRCfRCjj 2211

    22

    11

    RR fRCfRCjj 22

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    18/35

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    19/35

    FIGURE 2.16 Response of the high-pass RCfilter as a function of frequency ratio.

    0 Curtis JohnsonProcess Control Instrumentation Technology, 8e]

    Copyright 2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

    All rights reserved.

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    20/35

    C C A A B B C C / / 0.7070.707

    ffcc

    11========

    0 0

    outout

    22//1122

    11

    //

    ++++++++

    ========

    cc

    cc

    inin

    ff

    ff

    ffff

    VV

    VV

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    21/35

    C C

    0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    22/35

    Low pass filter using op ampLow pass filter using op amp

    Cf

    RfI1 I2

    I3

    I2

    I3

    0

    Summation of current at summing point

    I1 + I2 + I3 = 0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    23/35

    Therefore

    += outf

    f

    outin

    sVCR

    V

    R

    V

    1

    outf

    ffin VR

    sRC

    R

    V

    +=

    1

    1

    0

    Hence, he output voltage is given as

    in

    ff

    f

    out V

    sRCR

    RV

    +

    =

    1

    1

    1

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    24/35

    At high frequency, the capacitive reactance isgetting smaller.

    Gain is getting smaller

    The cutoff frequency is given as

    or 11==

    0

    s = j, the filter gain is

    ffff

    ( )

    +

    ==2

    1 1

    1

    ff

    f

    in

    out

    RCR

    R

    V

    VG

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    25/35

    A AC A AC

    R1

    RF

    C2( ) ( )

    22 2

    11CR

    fCR F

    cF

    c ==

    The -3 dB cut-off frequency:

    1RR

    G Fo =

    The overall filter Gain:

    0

    Design a low pass filter withcut-off frequency of 5kHz,

    and DC gain of 10:

    Two equations, three unknowns

    -

    +

    Vin

    Vout

    A

    B

    Transfer Function:Transfer Function:

    ))))))))RR ++++++++outout

    22(((((((( )))))))) ((((((((

    ++++++++========

    ================

    1122

    11 //11

    11

    11

    11

    cc

    ff

    ffff

    ff

    inin RR

    RR

    RRCC

    RR

    VV

    VVGG

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    26/35

    : :

    A A

    Rf

    I1 I2

    0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    27/35

    = = 11,, = =

    11 11 22 11,,

    == ++

    11

    11

    1111111111

    11

    1111II

    ssCC

    ssRRCCIIRRII

    ssCCVVinin

    ++++++++========++++++++========

    0

    22 , ,

    11 ++ 22 = 0= 0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    28/35

    ::

    out

    f

    in VRVsRC

    sC 1

    1 11

    1

    =+

    inf

    out VsRC

    sCRV11

    1

    1+=

    0

    CC

    //

    112

    1

    CRfc

    =

    11

    1CR

    c =

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    29/35

    jRC

    jCR

    V

    V f

    in

    out

    11

    1

    1+=

    CR

    0

    ,

    ( )2111 RC+=

    1R

    RG

    f

    o =

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    30/35

    A AC A AC

    -R1

    RFC1

    The -3 dB cut-off frequency:

    The filter Gain:

    ( ) ( )1111 2

    11CR

    fCR cc

    ==

    1RR

    G F=

    0 0

    Vout+

    Vin

    A

    B

    wo equa ons, ree un nowns

    Select one component based on

    other conditions, and

    determine the values of the

    other two components.Transfer Function:Transfer Function:

    (((((((( )))))))) (((((((( ))))))))22221111

    11

    //11

    //

    11 cc

    ccff

    inin

    outout

    RRCC

    CCRR

    VV

    VV

    ++++++++========

    ++++++++========

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    31/35

    : :

    BA A BA A

    CfI2

    0

    f

    1

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    32/35

    Current I1:

    Current I2:

    in

    VsRC

    sCI

    11

    1

    1

    1+=

    out

    f

    ff

    VR

    sCR

    I

    +

    =

    12

    0

    I1 = -I2 outf

    ff

    in VR

    sCRVsRC

    sC +=

    +

    1

    111

    1

    ( )( ) inff

    f

    out VsRCsCR

    sCRV

    11

    1

    11 ++=

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    33/35

    The upper and lower cut-off frequency for

    the bandpass filter:

    and Gain:

    112

    1

    CR

    fcl

    =

    ffch CR

    f2

    1=

    V

    0

    For cl

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    34/35

    0

  • 8/10/2019 Lecture06 New Signal Conditioning - Filterx

    35/35

    0