makalah signal conditioning

64
Signal Conditioners and Transmission 2102-487 Industrial Electronics

Upload: w4w4ns3mk4n1s4

Post on 24-Sep-2015

281 views

Category:

Documents


17 download

DESCRIPTION

Makalah tentang signal conditioning

TRANSCRIPT

  • Signal Conditioners and Transmission

    2102-487 Industrial Electronics

  • Overview

    Amp V to I I to V Amp

    4-20 mA

    Motor/Power Arcing Lighting

    Noise Source

    Interference

    Field Control Room

  • Instrumentation Amplifier (IA)

    Instrumentation amplifiers a dedicate differential amplifier with extremely high input impedance. Its gain can be precisely se by a single internal or external resistor. The high common-mode rejection makes IA very useful in recovering small signals buried in large common-mode offsets or noise.IA consists of Two stages:

    The fist stage: high input impedance and gain controlThe second stage: differential amplifier (change differential signal to common to ground

    R

    R

    R+R

    R

    E Vout+

    Vdm/2

    Vdm/2Vcm +- +-

    +-

    R-

    R+

    Equivalent circuit for a Load cell Bridge circuit for sensor application

  • e1

    e2

    R

    R

    Rg

    +

    -

    +

    -

    Vo+

    -

    IA: The First Stage

    V1

    V2

    Rg = gain setting resistor

    +=

    go R

    ReeV 21)( 21

    Changing Rg will inversely alter the output voltage.

    11 eV =

    For Ideal op amp, no voltage difference between the inverting and noninverting inputs

    22 eV =and

    21 eeV gR =The voltage across Rg

    gR R

    eeIg

    21 =This current must flow through all three resistors because none of the current can flow into the op amp inputs

    ( )ggRo RRIV += 2

    IRg

  • IA: First + Second stage

    +

    -+

    -Vo

    R1R

    R

    Rg

    +

    -

    +

    -

    R1R1

    R1

    +=

    go R

    ReeV 21)( 211

    e2

    e1

    Vo1

    +

    -

    1oo VV =

    +=

    go R

    ReeV 21)( 12-1

    +

    gRR2121 ee

    V2

    V1

    1oV

    Without loading effect, we can applied the direct multiplication for the cascade system

    gRR21Gain +=

    +=

    go R

    ReeV 21)( 12

    The second stage of IA is a unit-gain differential amplifier

  • +-

    R2

    Rg

    +

    -

    +

    -

    +

    -

    +V

    -V

    VrefVref

    LoadReference

    Output

    Sense

    R1

    R1

    R2

    R2

    R2

    IA with Offset (Reference)

    +=

    go R

    ReeV 21)( 211

    e2

    e1

    refg

    o VRReeV +

    += 21)( 12

    refoo VVV += 1

    -1

    +

    gRR2121 ee 1oV +

    refV

    refg

    o VRReeV +

    += 21)( 12

    Vo1

    V1

    V2

  • Commercial IA: AD524

    AD524 Functional Block Diagram

    %20400001

    +=

    gRG Here Rg = 40, 404, 4.44 k or external

    resistor (connect: RG1 RG2)

    Features:Low Noise: 0.3 Vp-p 0.1 Hz to 10 HzLow Nonlinearity: 0.03% (G = 1)High CMRR: 120 dB (G = 1000)Low offset Voltage: 50 VGain Bandwidth Product: 25 MHzProgrammable Gain of 1, 10, 100, 1000

  • Commercial IA: AD524

    349

    Ex For the circuit, calculate Va, Vb, and Vout as well as the effect on the output of the 5-V common-mode signal.

    Vb Va

    Vout

    V 5supply21 == VVbV 4.99285V 10

    349350349 =

    +=aV

    ( )mV -715V) 5-V 4.99285(100 ==

    = baout VVGV

    For a gain of 100, CMRR = 100 dB

    cm

    dm

    GGCMRR log20=

    mV 5V 5001.0 ==cmcmVG001.0=cmG

    %7.0%100mV 715

    mV 5 =The common mode error is

  • Commercial IA: AD524

    Error Budget Analysis

    To illustrate how instrumentation amplifier specification are applied, we will now examine a typical case where an AD524 is required to amplify the output an unbalance transducer. Figure above shows a differential transducer, unbalance by 100 supplying a 0 to 20 mV signal to an AD524C. The output of the IA feeds a 14-bit A/D converter with a 0 to 2 Voltage range. The operating temperature is 25oC to 85oC. Therefore, the largest change in temperature T within the operating range is from ambient to +85oC (85oC - 25oC = 60oC)

  • Commercial IA: AD5241000ppm = 0.1%

  • Zero and Span Circuits

    The zero and span circuit adjust the output of a transducer to match the levels you want to provide to the controller or display.

    Ex. You may need a 0.01 mV/lb input to a digital panel meter, while the load cell provides a 20 V/lb reading with 18 mV output with no load.

    Ex. A/D converter needs a 0- to 5-V signal, while the temperature transducer output 2.48 to 3.90 V.

    Vout

    Vin

    Vout

    Vin

    Zero

    shifte

    d pos

    itively

    Zero

    shifte

    d neg

    ative

    lyOr

    igina

    lOr

    igina

    l

    Span

    dou

    ble

    Span H

    alf

  • Zero and Span: Inverting summer

    +

    -Ri

    Rf

    Rcomp

    ROS

    +

    -R

    R

    R/2

    ein

    V

    eu2

    eu1

    VRR

    eRR

    eOS

    fin

    i

    fu =1 12 uu ee =

    VRR

    eRR

    eOS

    fin

    i

    fu +=2

    Inverting summer Inverting amplifier

    Compare this to the eq. of straight line bmxy +=Here y = eu2, x = ein, m = Rf/Ri and b = Rf/Ros V ein

    eout

    VRR

    bOS

    f=

    i

    f

    RR

    m =

  • Zero and Span: Instrument AmplifierEx When the temperature in a process is at its minimum, the sensor outputs 2.48 V. At maximum temperature, it outputs 3.90 V. The A/D converter used to input these data into a computer has the range 0 to 5 V. To provide maximum resolution, you must zero and span the signal from the transducer so that it fills the entire range of converter.

    Vin

    Vout

    VRR

    bOS

    f=

    i

    f

    RR

    m =

    Vin = 2.48-3.90 V Vout = 0-5 V

    52.3V 48.2V 9.3

    V 0V 5(min)(max)(min)(max) =

    ==

    inin

    outout

    VVVVm

    V -8.73V 48.252.30 === inout mVVbThe gain, m is set by Rf/Ri , Rf relatively large, so that Riwill not load down the sensors

    Let Rf = 330 k === k 7.9352.3k 330

    mR

    R fi

    Select Rs as a 47 k fixed resistor with a series 100 k potentiometer. (m ~ 2.25-7.02)b is Rf/ROSV select V = -12 V =

    == k 454V 73.812V) )(-k 330(

    bVR

    R fOSSelect Rs as a 220 k fixed resistor with a 500 k potentiometer. (b ~ -18 - -5.5 V)

    == k 9.62//// 1 OSfcomp RRRR Select Rcomp = 56 kThe resistors in the 2nd stage should be in k range, this will not load the 1st stage, pick R = 2.2 k and so R/2 = 1.1 k

  • Zero and Span: Instrument Amplifier

    +

    -

    R2

    Rg

    +

    -

    +

    -

    +

    -

    +V

    -V

    VrefVref

    Reference

    Output

    Sense

    R1

    R1

    R2

    R2

    R2

    Vout

    8

    4

    5

    10

    96

    7

    2

    16

    13

    12

    11

    3

    1 -

    +

    AD524

    span

    ein

    +

    -

    Rg

    S

    R

    O

    +

    -

    +V

    -V

    Vref

    +V

    -V

    -V

    Vout

    zero

    +V

    span

    zero

    ( ) refg

    out VeeRV +

    += 12400001

  • Zero and Span: Instrument Amplifier

    Ex The output from a load cell changes 20 V/lb with an output of 18 mV with no load on the cell. Design a zero and span converter using an instrumentation amplifier which will output 0 Vdc when there is no load, and will change 10 mV/lb.

    Vsensor = 20V/lb x Load + 18 mVVout = 10mV/lb x Load = G Vsensor+ Vref8

    4

    5

    10

    96

    7

    2

    16

    13

    12

    11

    3

    1 -

    +

    AD524

    span

    Vsensor

    +

    -

    Rg

    S

    R

    O

    +

    -

    +V

    -V

    Vref

    +V

    -V

    -V

    Vout

    zero

    +V

    Vout = 20V G x Load + 18mV G + Vref500

    V/lb 20mV/lb 10 == G

    ( ) refg

    out VeeRV +

    += 12400001

    500400001 =+=gR

    G

    V 9=refV

    Select Rg as a 33 fixed resistor with a series 100 potentiometer. (G ~ 301-1213)

    refref VVG +=+= 500mV 18mV 180So tie one end of the potentiometer to ground and the other end to Vsupply. Select resistor and potentiometer values that will put approximately -10 V at one end and -8 V at the other end.

    = 2.80gR

  • +- +

    -

    load

    Rwire

    Rf

    +

    -ein

    R

    Voltage-To-Current Converters

    Signal voltage transmission presents many problems. The series resistance between the output of the signal conditioner and the load depends on the distance, the wire used, temperature, conditioner.

    inf

    o eRR

    V

    += 1

    owire

    VLoadR

    Load

    +

    Rwire Distance, wire type, temperature

  • V To I: Floating Load

    +

    -load

    Rwire

    +

    -ein

    R I

    I

    ein+

    -

    +V

    -V

    The most simple V to I actually is the non-inverting amplifier

    ReI in=

    Therefore, The resistance in the transmission loop (Rloop = Rwire + Rload) does not affect the transmitted current. However, the output voltage of the op amp is affected by the Rloop

    satinloop

    out VeRR

    V

  • +-

    load

    Rwire

    R

    I

    +V

    -V

    +

    -ein

    I

    Q1

    Q2

    V To I: Floating Load

    V to I with current booster

    ReI in=

    Add transistor forincrease current output

    Many transmission standard call for either 20 or 60 mA current. These values are beyond the capabilities of most general-purpose op amps. However, the transistor can be added to increase the transmission current capability.

    New op amp with high current output

  • V To I: Floating Load

    The signal at the load is inherently differential. So we can use difference or instrumentation amplifier to reject any common-mode noise.

    Open and short circuit in the transmission loop can be detected by checking Vout of the non-inverting amplifier (transmission side)

    open circuit : Vout = Vsatshort circuit : Vout = ein

    However, at the load side, with this circuit , if ein = 0, IL = 0, here it appears that the IL = 0 is the valid signal. If the open or short circuit fault occurs, ILwill fall to zero too. The load would respond as if ein = 0. Therefore a method has been advised to allow the load to differentiate between no signal (circuit failure)

    IL = 0 and ein = 0

    However, at the load side, with this circuit , if ein = 0, IL = 0, here it appears that the IL = 0 is the valid signal. If the open or short circuit fault occurs, ILwill fall to zero too. The load would respond as if ein = 0. Therefore a method has been advised to allow the load to differentiate between no signal (circuit failure)

    IL = 0 and ein = 0

    This can be achieved by adding an offset to IL when ein = 0ein = 0: IL > 0

    Ex. 4-20 mA standard in current transimission

  • Rwire

    R

    Q1

    -V+V10 k

    1 M

    1 M

    ein

    eref

    Iin IL

    load

    span

    zero

    -

    +

    -V

    +V

    V To I: Floating Load

    An example of 4-20 mA V to I converter (span + zero adjust)

    Re

    Re

    Ree

    I refinrefin222

    +=+= m = 1/2R, b = eref/2R

    ein

    I

    Re

    b ref2

    =

    Rm

    21=

  • Zero and Span: Instrument Amplifier

    Ex Design an offset voltage-to-current converter that will produce 4 mA with an input of -5 V and 20 mA with an input of 10 V

    Vin = -5 - 10 V

    V 8.810VmA) 20)( 469(22 === inref VRIV

    Select a 430 fixed resistor with a series 100 potentiometer.

    = 469R

    I (mA)

    Vin

    5

    10

    15

    20

    4

    - 5 5 100

    RV

    RVI refin

    22+=

    Iout = 4 - 20 mA

    V) 5(V 01mA 4mA 20

    (min)(max)(min)(max)

    21

    =

    ==inin

    outout

    VVII

    Rm

  • V To I: Grounded Load

    +

    -

    +

    -

    e1 e2

    R1

    R2R4 load

    R3

    Rs

    I

    I

    VL

    R1=R2=R3=R4=R

    Vout

    The current drive into the load is approximately equal to the current in Rs if RLoad

  • V To I: Grounded Load

    s

    ref

    s

    in

    s

    refinL R

    eRe

    Ree

    I =

    An example of 4-20 mA V to I converter (span + zero adjust)

    +

    -

    -V

    +V

    +

    -ein load

    100 k

    I

    VL

    RbRa

    100 k

    100 k

    100 kRs

    eref

    span

    zero

    m = 1/R, b = -eref/R

    ein

    I

    s

    ref

    Re

    b =

    sRm 1=

  • V To I: XTR110

    4 to 20 mA TransmitterSelectable input/output ranges: 0-5V or 0-10V Inputs

    4-20mA, 0-20mA, 5-25mA Outputs Required an external MOS transistor to transmit current to load

    Precision resistive network

    V to I converter

    I to I converter(current mirror)

    Reference voltage

  • V To I: XTR110

    R115k

    R320k

    R410k

    R25k

    16.25k

    R5

    VIN1(10V)

    VREF IN

    R762504mAspan

    R61562.5

    16mAspan

    +

    -

    +

    -

    R8500

    R950

    VIN2(5V)

    VCC 13.5-40V

    RL

    Io4-20mA

    16

    1

    3

    14

    89 10

    5

    3

    4

    IoIo/10

    Va

    Io/10

    Vb

    XTR110External MOS

    666 R

    VRVI abR ==

    The current IR6 is approximately equal to IR8

    68 RR II Since there is no voltage difference between the op amp inputs

    98 RR VV =

    89

    889 10 RRRo IR

    RIII ===

    6

    10RVI ao =

  • V To I: XTR110

    ( )span

    refinino R

    VVVI

    16/2/4/10 21 ++=

    The voltage at Va is defined by precision divider network and the voltage at Vin1, Vin2 and Vref . Using superposition

    Va due to Vin1 = Vin1/4Va due to Vin2 = Vin2/2Va due to Vref = Vref/16

    Therefore, the relation of the output current can be shown as

    16/2/4/ 21 refinina VVVV ++=

    This IC allows us to change the value of Rspan by using R6, R7 and external resistors so therefore the Io span can be set to 16mA, 4mA or arbitrary value.Ex if Vin2 = 0, Vref = 10 V, Vin1 varies from 0-10V and Use Rspan = R6 = 1562.5At Vin1 =0 V; Io = 4 mA at zero Vin1

    At Vin1 =0 V; Io = 20 mA at Vin1 = 10 V Zero+span = 4mA + 16 mA

    Zero = 4 mA

  • V To I: XTR110

    Va

    R115k

    R25k

    16.25k

    R5

    VIN1

    VREF IN

    VIN2

    5

    3

    4

    R320k

    R410k

    VaR115k R2

    5k

    16.25k

    R5

    VIN1

    R320k

    R410k

    R115k R2

    5k

    16.25k

    R5

    VIN2

    R410k

    R320k

    Va

    R115k

    R25k

    16.25k

    R5

    VREF IN

    R320k

    R410k

    Va

    IN141

    IN121543

    2154

    )////()////( VVRRRRR

    RRRRVa =+++= IN221IN2

    21534

    2153

    )////()////( VVRRRRR

    RRRRVa =+++= REF161 REF

    21

    2

    43215

    43

    //)//(// VV

    RRR

    RRRRRRRVa =+++=

    1 23

    1 2 3+ +

    REF161

    IN221

    IN141 VVVVa ++=

    k 27=inR k 22=inR k 20=inR

  • V To I: XTR110

    XTR110

    15

    12

    3

    4

    59 2

    16

    1

    13

    14

    0 to 10 V

    4 to 20 mA Out

    VLRL

    1 F15 V

    A basic 4 to 20 mA transmitter

    Pin connections for standard XTR110 input voltage/output current ranges

  • V To I: XTR110

    V 6400 += inout VVmV 10=sensorV V 102 =sensorV mA 204 =outI

    = 1250)4/(10 1in

    outVI

    +=

    12504/)6400(10 sensor

    outVI

  • Current-To-Voltage ConvertersGrounded Load I to V converter

    +

    -R2

    Rf

    Rcomp

    Ros

    +

    -R

    R

    R/2

    +

    -

    4 to20 mA

    RL Vout+

    -

    V

    Current is converted into a voltage by RL

    Span and Zero circuit

    Voltage follower is inserted to avoid the loading effect

    The grounded load converter has many problems with the common ground (use by many device) especially the noise source. To reduce this problem, we use a floating load.

    VRR

    IRRR

    VOS

    fL

    i

    fout += m = RfRL/Ri, b = Rf/ROSV

  • I To V Converters: Floating Load

    refspani

    fout VIRR

    RV += m = RfRL/Ri, b = Vref

    +

    -

    Rf

    R4

    +

    -

    Ri

    RiRspan

    Rf

    Rpot

    +V

    -V

    Vout+

    -

    4-20 mA

    Vref

    To prevent the loading effect be sure that Rspan

  • Ex Design a floating current-to-voltage converter that will convert a 4- to 20-mA current signal into 0- to 10-V ground-referenced voltage signal. If voltage-to-current converter, has +V = 12 V, Rspan V-I =312 , Imax = 20 mA What is the maximum allowable Rspan I-V

    Iin = 4 - 20 mA Vout = 0-10 V

    ==

    = 625mA 4mA 02V 0V 01

    (min)(max)(min)(max)

    inin

    outoutVspanI

    i

    f

    IIVVR

    RR

    Choose Rf/Ri =10 This seem arbitrary now, but well come to check it again

    Find Vref : ( )( ) V 5.25.62mA 4k 2.2k 220 === IR

    RR

    VV spani

    foutref

    refspani

    fout VIRR

    RV +=

    = 5.62VspanIRSince R i >> Rspan I-V, pick Ri = 2.2 k Rf = 22 k

    I To V Converters: Floating Load

  • IspanVVspanI IRIRV +++=+ 7.02

    Therefore, 62.5 resistor would work. However, if we had chosen R f/Ri =1 then Rspan I-V = 625 , which is too large. The op Amp in the voltage-to-curren converter would saturate before 20 mA would be reached.

    I To V Converters: Floating Load

    Rspan I-V

    I-

    +

    -V

    +V

    Rspan V-I

    +-

    +- +

    -

    IRspan I-V

    IRspan V-I

    +

    -

    I

    0.7 V

    2 V

    == 153mA 20)312)(mA 20(7.0212(max)VspanIR

  • Voltage-To-Frequency Converters

    To provide the high noise immunity, digital transmission must be used.

    V to F will convert the analog voltage from the sensor or signal conditioner to a pulse train. The pulse width is constant but the frequency varies linearly with the applied voltage

    inVf

    V to FVin fout

    fout

    Vin

    Ideal V to F characteristics

  • V-To-F: LM131

    Suitable for various applications:precision V to F convertersimple low-cost circuits for A/D conversionprecision F to V converterlong-term integrationlinear frequency modulation and demodulation

    LM131

  • Voltage-To-Frequency Converters

    RS

    3

    Comparator

    +

    - One shottimer

    Switchedcurrentsource

    RL

    CL

    Rt Ct

    Frequencyoutput

    Vlogic

    8VCC

    V1Input

    voltage7

    1 6

    25

    4

    ab

    Vin

    Vx

    Vout

    fout High Vin high fout Adjustment Low Vin low fout Adjust High Vin high foutt

    t

    t

    t

    Basic V to F block diagram

    ttL

    Sino CRR

    RVf 1V 09.2

    =ttL

    Sino CRR

    RVf 1V 09.2

    =

    Vx

  • Voltage-To-Frequency Converters

    RS

    3

    Comparator

    +

    - One shottimer

    Switchedcurrentsource

    RL

    CL

    Rt Ct

    Frequencyoutput

    Vlogic

    8VCC

    VinInput

    voltage7

    1 6

    25

    4

    Determine the timer of one shot

    Phase I: Charge CL with Iref within the specific time TOS from the one shot timer. At the end of this phase, VC reaches the value assigned as Vx

    Determine Iref

    ttOS CRT 1.1=

    Phase II: CL discharge through Iref until VC is equal to Vin. The time in this phase is defined as TII

    We can found that 1/(TOS + TII) = f Vin

  • Voltage-To-Frequency Converters

    Phase I: Charge CL with Iref within the specific time TOS determined from the one shot timer. At the end of this phase, VC reaches the value assigned as Vx

    Phase II: CL discharge through Iref until VC is equal to Vin. The time in this phase is defined as TII

    RL CLIref

    Initial condition: VC(0) = Vin( ) LreftLrefinC RIeRIVtV += /)(

    Assume RLCL >> TOS /1/ OST Te OS LLCR=

    ( ) OSinLrefinOSCx TVRIVTVV +== )(

    RL CLI

    Initial condition: VC(0) = Vx/)( txC eVtV

    = LLCR=

    Since RLCL >> TOS, Therefore Vx /Vin ~ 1

    /)( IITxIICin eVTVV==

    in

    xII V

    VT ln=1ln

    in

    x

    in

    x

    VV

    VV

    = 1

    in

    xII V

    VT

    1

    2

  • Voltage-To-Frequency Converters

    Combine eq.(1) and (2)

    Substitute Iref = 1.9 V/ Rs ,TOS = 1.1RtCt

    in

    OSLrefIIOS V

    TRITTT =+=

    OSLref

    in

    TRIV

    Tf == 1

    ( ) ttLsin

    ttL

    sin

    CRRRV

    CRRRVf

    1

    V .0921.1 V 9.1==

  • Ex Design a voltage-to-frequency converter that will output 20 kHz when the input is 5 V.

    s 50kHz 2011

    maxmin === fT

    At maximum frequency, the minimum period is

    ( ) ( )( )( )( )( ) === k 6.25V 5

    F .00470k .86k 100kHz 20V 2V 2 0in

    ttLs V

    CRRfR

    1.1 ttlow CRt =pick Ct = 0.0047 F (somewhat arbitrary, but suggested by manufacturer)

    V To F Converters

    We have to set the pulse width no wider than about 80% of the minimum period, otherwise, at the higher frequencies the pulse width may approach or exceed the period, which will not work.

    pick Rt = 6.8 k, since this is not a critical parameter, as long as it is not too big. This give tlow = 35 s. Pick RL = 100 K.

    Select a 22 k fixed resistor with a series 10 k potentiometer.

    ( )( )( )( ) === k 7.7F .004701.1

    s 058.01.1 tlow

    t CtR

  • Voltage-To-Frequency Converters

    ino Vf VoltkHz 1=

    Simple V to F converter

    ttL

    Sino CRR

    RVf 1V 09.2

    =

    Manufacturers recommended, RL = 100 k, Rt = 6.8 k, Ct = 0.01 F and RS = 14.2 k

    From A 200V 9.1

  • Ex Design a voltage-to-frequency converter that will output 20 kHz when the input is 5 V.

    s 50kHz 2011

    maxmin === fT

    At maximum frequency, the minimum period is

    ( ) ( )( )( )( )( ) === k 6.25V 5

    F .00470k .86k 100kHz 20V 2V 2 0in

    ttLs V

    CRRfR

    1.1 ttlow CRt =pick Ct = 0.0047 F (somewhat arbitrary, but suggested by manufacturer)

    V To F Converters

    We have to set the pulse width no wider than about 80% of the minimum period, otherwise, at the higher frequencies the pulse width may approach or exceed the period, which will not work.

    pick Rt = 6.8 k, since this is not a critical parameter, as long as it is not too big. This give tlow = 35 s. Pick RL = 100 K.

    Select a 22 k fixed resistor with a series 10 k potentiometer.

    ( )( )( )( ) === k 7.7F .004701.1

    s 058.01.1 tlow

    t CtR

  • Frequency-To-Voltage Converters

    Comparator

    RL

    8

    +

    -One shot

    timer

    Rt

    Ct

    7

    Iout

    VCC

    VCC

    1

    Vin

    RD

    CD

    Connect to low pass filter

    The amplitude of pulse current output is

    Vin

    Iouti

    T

    The average voltage output is

    ins

    LttLeavave fR

    RCRRIV 1.1 V 9.1 ==The average current output is

    sRi V .91=

    TRCR

    TitI

    s

    ttave

    1.1V .91 ==

  • Frequency-To-Voltage Converters

    inave fV kHzV 1=

    Simple F to V converter

    inS

    Lttave fR

    RCRV 1.1V 9.1 =

    RL = 100 k, Rt = 6.8 k, Ct = 0.01 F and RS = 14.2 k

    From

    Low pass filter for output current

    High pass filter for input frequency

  • Ex A reflective optical sensor is used to encode the velocity of a shaft. There are six pieces of reflective tape. They are sized and positioned to produce a 50% duty cycle wave. The maximum shaft speed is 3000 r/min. Design the frequency-to-voltage converter necessary to output 10 V at maximum shaft speed. Provide filtering adequate to assure no more than 10% ripple at 100 r/min

    The maximum frequency is Hz 300s 60

    min 1min

    rev 0003rev

    counts 6max ==f

    Select

    F To V Converters

    ms 33.3Hz 300

    1min ==T

    ( )( ) ms 664.2ms 33.38.08.0 min)( == TT highoutSelect Ct = 0.33 F ( )( )( )( ) === k 7.7F .004701.1

    s 058.01.1 tlow

    t CtR

    ms 67.15.0 min == TTpulse

    pick Rt = 6.8 k, This give tout(high) = 2.47 ms. We must set 5RDCD

  • At 100 r/min

    F To V Converters

    A 200A 135k 4.81V .91V .91

  • Cabling Cables are important because they are the longest parts of the system

    and therefore act as efficient antennas that pick up and/or radiate noise.

    There are three coupling mechanisms that can occur between fields and cables, and between cables (crosstalk).

    Capacitive or electric coupling (interaction of electric field and circuit)

    Inductive or magnetic coupling (interaction between of the magnetic field of two circuits.

    Electromagnetic coupling or radiation (RF interference)

  • Magnetic Coupling When a current flows in a closed circuit, it produce a magnetic flux,

    which is proportional to the current.

    When current flow in one circuit produces a flux in a second circuit, there is a mutual inductance M12 between circuits 1 and 2

    The voltage VN induced in circuit to 2 due to the current I1

    LI=

    1

    1212 I

    M =

    112IMjdtdiMVN == Assume i varies sinusoidal with time

    12 the current, geometry, and orientation

    Magnetic coupling between two circuits

  • Magnetic Coupling

    Separate the sensitive, input signal condition from the other portions of the electronics: Digital signal (high f), high power circuit, ac power (50 or 60 Hz line)

    place low level signal on the separate card board layout separate low level signal conduit or race way, from ac power line, communication or digital cable conduits.

    Reduce loop area (twisted pair)

    Use magnetic shield (effective at high frequency)

  • Magnetic Coupling

  • Capacitive Coupling The potential different between two conductors generates a proportional

    electric field. This will result in the redistribution or movement (current) of charge by external voltage source

    Capacitive coupling between two conductors Capacitive coupling with shield

    1212

    12

    )(1V

    CCRjRCjV

    GN ++=

    12212

    12

    )(1V

    CCCRjRCjV

    SGN +++=

    *The shield must be grounded.

  • Grounding is one of the primary ways of minimizing unwanted noise and pick up. (also bad grounding can cause the serious problem of interference)

    A well-designed system can provide the protection against unwanted interference and emission, without any addition per-unit cost to the product

    Grounds category: safety grounds (earth ground)signal grounds

    A signal ground (better definition) is a low-impedance path for current to return to the source.

    Grounding Problems

    A signal ground is normally defined as an equipotential point or plane that serves as a reference potential for a circuit or system (can not be realized in practical systems)

  • Ground SystemGround System can be divided into three categories.

    single-point groundsmultipoint groundshybrid grounds (frequency dependence)

    1 2 3 1 2 3 1 2 3

    Two types of single-point grounding connection

    Series connection Parallel connection Multipoint connection

  • Single-Point Ground System

    1 2 3R1 R2 R3

    I3I1+ I2+ I3 I2+ I3

    I3I2I1

    A series ground system is undesirable from a noise standpoint but has the advantage of simple wiring

    A B C

    1 2 3R1

    R2

    I2

    I1

    I3

    R3

    A parallel ground system provides good noise performance at low frequency but is mechanical cumbersome.

    A

    B

    C

    33

    232

    1321

    )()(

    RIVVVRIIVV

    RIIIV

    BAC

    AB

    A

    ++=++=

    ++=

    33

    22

    11

    RIVRIVRIV

    C

    B

    A

    ===

  • Single-Point Ground System

  • Ex Calculate Va and Vb resulting from the input signal and from the effects of the ground returns current under the following circumstances(a) Actuator off, Ic = 5 mA, Ip = 20 mA, Ia = 0;(b) Actuator on, Ic = 8 mA, Ip = 35 mA, Ia = 1 A;

    The voltage, Vb is determined by the 40-mV input signal and any voltage developed across the 50 m resistance by the ground return current.

    Where Va = (Ic+Ip+Ia)50m

    Single Point Grounding System

    ab VV

    ++= k 01

    M 11)mV 40(k 01

    M 1

    (a) Actuator off

    V 87.3)mV 25.1)(101()mV 40)(100( =+=bVmV 1.25)m 0)(50mA 20mA (5 =++=aV

    The error is about 3% compare to the correct value (-100)(40 mV) = -4 V

    (a) Actuator off

    V 25.1)mV 52)(101()mV 40)(100( =+=bVmV 25)m A)(50 1mA 20mA (5 =++=aV

    (b) Actuator on

    The large return current has raised the non-inverting input to 52 mV, and this causes the unacceptable error.

  • Single-Point Ground System

  • Multiple-Point Ground SystemGround loops can occur when the multiple ground points are separated by a large distance and connected to the ac power ground, or when low-level analog circuits are used.

    Plant ControlBuilding

    0-2000VGround difference

    signal wiring

    0-100 m

  • Multiple-Point Ground System

    circuit1

    circuit2

    Ground loop

    VN

    VG

    circuit1

    circuit2

    VN

    VG

    A ground loop between two circuits

    A ground loop between two circuits can be broken by inserting a common-mode choke

  • Multiple-Point Ground System

    A ground loop between two circuits can be broken by inserting an optical coupler

    A ground loop between two circuits can be broken by inserting a transformer

    circuit1

    circuit2

    VN

    VG

    circuit1

    circuit2

    VN

    VG

  • Isolation Amplifiers

    General concepts: Isolation Amplifier provides three important advantages over normal amplifiers. Safety issues for some industrial and medical applications: signal common isolation and common ground can be achieved Extremely high common-mode voltage tolerance (in general amp this is normally less than power supply) Very low failure currents

  • Transformer-coupled Amplifiers

    Block diagram of AD289 isolation amp

    Symbol of transformer-coupled amp.

  • Optically Coupled Amplifiers

    Transformer-coupled isolation amplifiers are expensive, bulky, bandwidth limited and slow response. Optically-coupled isolation amplifiers have less non-linear and isolation.

  • Optically Coupled Amplifiers

    Symbol of optically coupled amp. Simplified schematic diagram

    G

    in

    RVII == 21

    inG

    KKout VR

    RRIV == 2