SlideShare a Scribd company logo
1 of 30
Download to read offline
Filters, DAC, and ADC

              Dr. Ashraf Saleem
Outlines of Filters




              input                       output
                        Filter

 Filtering:
      Certain desirable features are retained
      Other undesirable features are suppressed

                      Dr. Ashraf Saleem            2
Classification of Filters

                          Signal Filter

                   Analog Filter
                   A l Filt                 Digital Filter
                                            Di it l Filt


 Element Type              Frequency Band



Active   Passive         Low-Pass               Band-Pass        All-Pass

                                High-Pass              Band-Reject



                            Dr. Ashraf Saleem                               3
Classification of Filters

Filter classification according to
                               g
  implementation
  Active filters include RC networks and op-amps
     Suitable for low frequency, small signal
     Active filters are preferred since avoid the bulk and non-linearity
     of inductors. However, active filters require a power supply
                             ,               q       p       pp y
  Passive filters consist of RCL networks
     Simple, more suitable for frequencies above audio range, where
     active fil
        i filters are li i d b the op-amp b d id h
                      limited by h          bandwidth
  Digital filters

                              Dr. Ashraf Saleem                            4
Classification of Filters
Filter classification according to frequency response
   Low-pass filt
   L          filter
   High-pass filter
   Band pass
   Band-pass filter
   Band-stop (Notch) filter




                       Dr. Ashraf Saleem                5
State-
State-variable filters

 Also known as a Universal Active Filter
   Consists of one amplifier and t
   C    i t f         lifi     d two i t
                                     integrators
                                            t
   High-pass, low-pass and band-pass in the same IC
   Example below: Burr Brown UAF42
         p




                        Dr. Ashraf Saleem             6
Low Pass RC Filters

    The critical frequency (fc): is the frequency for which
                     q       y( )            q    y
   the ratio of the to the input voltage is approximately
   0.707. in terms of the resistor and capacitor, the
   critical frequency is given by:
                             1
                      fc =
                           2πRC
   The output-input voltage ratio can be computed by:

    Vout         1
         =
    Vin    1 + ( f / fc )2


                             Dr. Ashraf Saleem                7
Example:
    p

 A measurement signal has a frequency < 1
   kHz, but there is unwanted noise at
   about 1 MHz Design a low-pass filter
            MHz.           low pass
   that attenuates the noise to 1%. What is
   the effect on the measurement signal at
   its maximum of 1 kHz?




                  Dr. Ashraf Saleem           8
High Pass RC Filters

    High p
      g pass filter p
                    passes high frequencies and blocks
                             g     q
   low frequencies.

                              1
                       fc =
                            2πRC
   The output input voltage ratio can be computed by:
       output-input


    Vout
         =
             ( f / fc )
    Vin    1 + ( f / fc )2


                             Dr. Ashraf Saleem           9
Example:
    p

 Pulses for stepping motor are being
  transmitted at 2000 Hz. Design a filter to
  reduce 60-Hz noise but reduce the
           60 Hz
  pulses by no more than 3 dB




                   Dr. Ashraf Saleem       10
Band Pass RC Filters

   Band pass filter blocks frequencies below a low limit
         p                    q
   and above a high limit while passing frequencies
   between the limits.
                 1                    1
         fH =                 fL =
              2πRL C L             2πRH C H

   The output-input voltage ratio can be computed by:

    Vout                               fH f
         =
    Vin    ( f 2 − f H f L ) 2 + [ f L + (1 + ( RH / RL )) f H ]2 f 2

                               Dr. Ashraf Saleem                        11
Example:
    p

 A      signal-conditioning system uses a
        signal conditioning
     frequency variation from 6 kHz to 60 kHz
     to carry measurement information There
                            information.
     is a considerable noise at 120 Hz and 1
     MHz.
     MHz Design a band pass filter to reduce
     the noise by 90%.




                    Dr. Ashraf Saleem       12
Data Acquisition System

 Mechatronic systems use digital data acquisition for a
                y              g        q
   variety of purposes such as:
   process condition monitoring and performance
   evaluation,
       l ti
   fault detection and diagnosis,
   product quality assessment
                    assessment,
   dynamic testing,
   system identification ( , experimental modeling), and
    y                    (i.e., p                  g),
   feedback control.



                        Dr. Ashraf Saleem                  13
Data Acquisition System
Block Diagram




                Dr. Ashraf Saleem   14
A/D Converter: Input Signal
                 p     g

   Analog
     Signal is continuous
      Example: strain gage. Most transducers
                       gage
     produce analog signals


   Digital
     Signal is either ON or OFF
     Si   l i ith
      Example: light switch.

                    Dr. Ashraf Saleem          15
Digital-
Digital-Analog Converter (DAC)
Weighted Resistor DAC




                                    ⎡        bn − 2         b0 ⎤ vref
                                v = ⎢bn −1 +        + ... + n −1 ⎥
                                    ⎣         2            2 ⎦ 2

                   Dr. Ashraf Saleem                                16
Digital-
Digital-Analog Converter (DAC)
Ladder DAC (2R-R)
             (2




                                       ⎡        bn − 2         b0 ⎤ vref
                                   v = ⎢bn −1 +        + ... + n −1 ⎥
                                       ⎣         2            2 ⎦ 2




                   Dr. Ashraf Saleem                                       17
Example 1
    p

 What is the output voltage of a 10-bit
  Ladder DAC with a 10 V reference
  voltage if the input is 00101101012.




                   Dr. Ashraf Saleem      18
Conversion Resolution
  The conversion resolution is a function of the
  reference voltage and the number of bits in the
  word. The more bits, the smaller the change in
  analog output for a 1-bit change in binary word.
        g   p                   g          y

                                           −n
                ΔVout = VR 2
  Where ∆Vout = smallest output change
        VR = reference voltage
         n    = number of bits in the word


                       Dr. Ashraf Saleem             19
Example 2:
    p

 Determine how many bits a D/A converter
  must have to provide output increments
  of 0 04V or less. The reference is 10V
     0.04V less




                 Dr. Ashraf Saleem         20
Example 3:
    p
 A control valve has a linear variation of opening as the
                                            p    g
   input voltage varies from 0 to 10V. A microcomputer
   outputs an 8-bit word to control the valve opening
   using an 8-bit DAC to generate the valve voltage.
       g                   g                       g

 a- Find the reference voltage required to obtain a full
    open valve (10V)
                (10V).

 b- Find the percentage of valve opening for a 1-bit
    change in the input word.



                          Dr. Ashraf Saleem                 21
DAC Error Sources

  Code Ambiguity. In many digital codes (e.g., in the straight
  binary code), i
  bi        d ) incrementing a number by an LSB will involve
                           ti          b b               ill i l
  more than one bit switching. If the speed of switching from 0-1
  is different from that for 1-0, and if switching pulses are not
  applied to the switching circuit simultaneously, the switching of
      li d t th      it hi    i it i lt           l th        it hi f
  the bits will not take place simultaneously.
  Settling Time. The circuit hardware in a DAC unit will have
  some dynamics, with associated time constants and perhaps
  oscillations (underdamped response). Hence, the output voltage
  cannot instantaneously settle to its ideal value upon switching.
  The time required for the analog output to settle within a certain
  band (say :t2% of the final value or :t resolution), following the
  application of the digital data, is termed settling time.
   pp                   g                           g

                            Dr. Ashraf Saleem                     22
DAC Error Sources

    Parametric Errors. resistor elements in a DAC might not
    be
    b very precise, particularly when resistors within a wide
                  i        ti l l h         i t      ithi       id
    range of magnitudes are employed, as in the case of
    weighted-resistor DAC. These errors appear at the
    analog output. Furthermore, aging and environmental
            output Furthermore
    changes (primarily, change in temperature) will change
    the values of circuit parameters, resistance in partic-ular.
    This also will result in DAC error.
    Reference Voltage Variation: Since the analog output of
    a DAC is proportional to the reference voltage vref, any
    variations in the voltage supply will directly appear as an
    error. Thi problem can b overcome b using stabilized
           This     bl         be            by i         t bili d
    voltage sources with sufficiently low output impedance.



                           Dr. Ashraf Saleem                         23
Analog to Digital Converters (ADC)

  The formulae of analog to digital conversion is as
  following:
                 −1         −2                  −n     Vin
             b1 2 + b2 2 + ......... + bn 2          =
                                                       Vr
    Where   b1b2b3….bn = n-bit digital output
                       Vin = analog input voltage

                      Vr = analog reference voltage

   The output uncertainty/resolution can be given by:

                           ∆V=Vr2-n

                           Dr. Ashraf Saleem                 24
Example 1:
    p

 Temperature is measured by a sensor with
  an output of 0.02 V/oC. Determine the
  required ADC reference and word size to
  measure 0o to 100oC with 0.1oC
  resolution




                 Dr. Ashraf Saleem          25
Example 2:
    p

 Find the digital word that results from a
   3.127 V input to a 5-bit ADC with a 5V
   reference?




                   Dr. Ashraf Saleem         26
Successive Approximation ADC




                Dr. Ashraf Saleem   27
Example 3:
    p

 Find the successive approximation ADC
   output for a 4-bit converter to a 3.217V
   input if the reference is 5V
                             5V.




                   Dr. Ashraf Saleem          28
Dual-
Dual-Slope ADC




                 Dr. Ashraf Saleem   29
Example 4:
    p

 A dual-slope ADC as shown previously
   dual slope
   has R=100 kΩ and C=0.01μF. The
   reference is 10V and the fixed
                 10V,
   integration time is 10 ms. Find the
   conversion time for a 6 8V input
                          6.8V input.




                  Dr. Ashraf Saleem      30

More Related Content

What's hot (20)

Active Filter (Low Pass)
Active Filter (Low Pass)Active Filter (Low Pass)
Active Filter (Low Pass)
 
Multivibrators
MultivibratorsMultivibrators
Multivibrators
 
DSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignDSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter Design
 
Filters
FiltersFilters
Filters
 
Transmission lines
Transmission linesTransmission lines
Transmission lines
 
Filters
FiltersFilters
Filters
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
 
Active filters
Active filtersActive filters
Active filters
 
Voltage regulators
Voltage regulatorsVoltage regulators
Voltage regulators
 
Attenuator unit iv
Attenuator unit ivAttenuator unit iv
Attenuator unit iv
 
Comm8(exp.3)
Comm8(exp.3)Comm8(exp.3)
Comm8(exp.3)
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windows
 
Low pass filters
Low pass filtersLow pass filters
Low pass filters
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Signal Filtering
Signal FilteringSignal Filtering
Signal Filtering
 
7.Active Filters using Opamp
7.Active Filters using Opamp7.Active Filters using Opamp
7.Active Filters using Opamp
 
Butterworth filter
Butterworth filterButterworth filter
Butterworth filter
 
FET AMPLIFIER
FET AMPLIFIERFET AMPLIFIER
FET AMPLIFIER
 
Wave Propagation In Lossy Dielectrics
Wave Propagation In Lossy Dielectrics Wave Propagation In Lossy Dielectrics
Wave Propagation In Lossy Dielectrics
 

Viewers also liked

adc dac converter
adc dac converteradc dac converter
adc dac converterGaurav Rai
 
Saddleback Publications - 2013
Saddleback Publications - 2013Saddleback Publications - 2013
Saddleback Publications - 2013K.C. Boyd
 
Труд медицинских работников в годы ВОВ
Труд медицинских работников в годы ВОВТруд медицинских работников в годы ВОВ
Труд медицинских работников в годы ВОВИрина Колдышева
 
Перспективы продления жизни - Последние научные достижения (И. Артюхов)
Перспективы продления жизни - Последние научные достижения (И. Артюхов)Перспективы продления жизни - Последние научные достижения (И. Артюхов)
Перспективы продления жизни - Последние научные достижения (И. Артюхов)Matvey Ezhov
 
Portal Educativo Xunta
Portal Educativo XuntaPortal Educativo Xunta
Portal Educativo Xuntapcuestacefore
 
Macul2011 text
Macul2011 textMacul2011 text
Macul2011 textelizkeren
 
Tabela inss 2011
Tabela inss 2011Tabela inss 2011
Tabela inss 2011Joaoce2011
 
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...Καλλιεργώ / Kalliergo
 
Marcas más Populares México Febrero2012
Marcas más Populares México   Febrero2012Marcas más Populares México   Febrero2012
Marcas más Populares México Febrero2012IAB México
 
15 Top Web Design Trends for 2014
15 Top Web Design Trends for 201415 Top Web Design Trends for 2014
15 Top Web Design Trends for 2014mbeatrizoliveira
 

Viewers also liked (20)

adc dac converter
adc dac converteradc dac converter
adc dac converter
 
Saddleback Publications - 2013
Saddleback Publications - 2013Saddleback Publications - 2013
Saddleback Publications - 2013
 
Puddles
PuddlesPuddles
Puddles
 
Труд медицинских работников в годы ВОВ
Труд медицинских работников в годы ВОВТруд медицинских работников в годы ВОВ
Труд медицинских работников в годы ВОВ
 
KLEENEZE Uk Text Ewb 24
KLEENEZE Uk Text Ewb 24KLEENEZE Uk Text Ewb 24
KLEENEZE Uk Text Ewb 24
 
Перспективы продления жизни - Последние научные достижения (И. Артюхов)
Перспективы продления жизни - Последние научные достижения (И. Артюхов)Перспективы продления жизни - Последние научные достижения (И. Артюхов)
Перспективы продления жизни - Последние научные достижения (И. Артюхов)
 
Ch07 5
Ch07 5Ch07 5
Ch07 5
 
EGYPT-I-OGJ
EGYPT-I-OGJEGYPT-I-OGJ
EGYPT-I-OGJ
 
Kleeneze 2011 ewb 10
Kleeneze 2011 ewb 10Kleeneze 2011 ewb 10
Kleeneze 2011 ewb 10
 
Portal Educativo Xunta
Portal Educativo XuntaPortal Educativo Xunta
Portal Educativo Xunta
 
Details of website
Details of websiteDetails of website
Details of website
 
Macul2011 text
Macul2011 textMacul2011 text
Macul2011 text
 
Tabela inss 2011
Tabela inss 2011Tabela inss 2011
Tabela inss 2011
 
Iconografia Da RepúBlica Beatriz
Iconografia Da RepúBlica   BeatrizIconografia Da RepúBlica   Beatriz
Iconografia Da RepúBlica Beatriz
 
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
 
Monitorizare mai 2013
Monitorizare mai 2013Monitorizare mai 2013
Monitorizare mai 2013
 
Marcas más Populares México Febrero2012
Marcas más Populares México   Febrero2012Marcas más Populares México   Febrero2012
Marcas más Populares México Febrero2012
 
Healthy Hilltowns
Healthy Hilltowns Healthy Hilltowns
Healthy Hilltowns
 
Pt 175 rc-web
Pt 175 rc-webPt 175 rc-web
Pt 175 rc-web
 
15 Top Web Design Trends for 2014
15 Top Web Design Trends for 201415 Top Web Design Trends for 2014
15 Top Web Design Trends for 2014
 

Similar to Filters DAC and ADC (20)

Exp passive filter (6)
Exp passive filter (6)Exp passive filter (6)
Exp passive filter (6)
 
Exp passive filter (3)
Exp passive filter (3)Exp passive filter (3)
Exp passive filter (3)
 
09 rc filters
09 rc filters09 rc filters
09 rc filters
 
Exp passive filter (7)
Exp passive filter (7)Exp passive filter (7)
Exp passive filter (7)
 
14 activefilters
14 activefilters14 activefilters
14 activefilters
 
Exp passive filter (5)
Exp passive filter (5)Exp passive filter (5)
Exp passive filter (5)
 
Exp passive filter (4)
Exp passive filter (4)Exp passive filter (4)
Exp passive filter (4)
 
Cauan
CauanCauan
Cauan
 
16971168.ppt
16971168.ppt16971168.ppt
16971168.ppt
 
Exp1 (passive filter) agdon
Exp1 (passive filter)   agdonExp1 (passive filter)   agdon
Exp1 (passive filter) agdon
 
Exp passive filter (2)
Exp passive filter (2)Exp passive filter (2)
Exp passive filter (2)
 
Cauan (2)
Cauan (2)Cauan (2)
Cauan (2)
 
Pagara
PagaraPagara
Pagara
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanual
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanual
 
Filter dengan-op-amp
Filter dengan-op-ampFilter dengan-op-amp
Filter dengan-op-amp
 
Bani
BaniBani
Bani
 
3 (3)
3 (3)3 (3)
3 (3)
 
Pula
PulaPula
Pula
 
final pcj 1.pdf
final pcj 1.pdffinal pcj 1.pdf
final pcj 1.pdf
 

More from Rendy Ardiwinata (20)

Hoopers a. kamasutra. sex positions-dk
Hoopers a. kamasutra. sex positions-dkHoopers a. kamasutra. sex positions-dk
Hoopers a. kamasutra. sex positions-dk
 
4 plc-dasar-dasar-pemrograman-new-6
4 plc-dasar-dasar-pemrograman-new-64 plc-dasar-dasar-pemrograman-new-6
4 plc-dasar-dasar-pemrograman-new-6
 
Jst part6
Jst part6Jst part6
Jst part6
 
Jst part5
Jst part5Jst part5
Jst part5
 
Jst part4
Jst part4Jst part4
Jst part4
 
Jst part3
Jst part3Jst part3
Jst part3
 
Jst part2
Jst part2Jst part2
Jst part2
 
Jst part1
Jst part1Jst part1
Jst part1
 
Fuzzy logic part7
Fuzzy logic part7Fuzzy logic part7
Fuzzy logic part7
 
Fuzzy logic part6
Fuzzy logic part6Fuzzy logic part6
Fuzzy logic part6
 
Fuzzy logic part4
Fuzzy logic part4Fuzzy logic part4
Fuzzy logic part4
 
Fuzzy logic part3
Fuzzy logic part3Fuzzy logic part3
Fuzzy logic part3
 
Fuzzy logic part2
Fuzzy logic part2Fuzzy logic part2
Fuzzy logic part2
 
Fuzzy logic part1
Fuzzy logic part1Fuzzy logic part1
Fuzzy logic part1
 
Fuzzy logic part5
Fuzzy logic part5Fuzzy logic part5
Fuzzy logic part5
 
Customer ptcpi for lifting process
Customer ptcpi for lifting processCustomer ptcpi for lifting process
Customer ptcpi for lifting process
 
1 n4148 1n4448
1 n4148 1n44481 n4148 1n4448
1 n4148 1n4448
 
Hukum tajwid
Hukum tajwidHukum tajwid
Hukum tajwid
 
Bridge circuits
Bridge circuitsBridge circuits
Bridge circuits
 
Bab 2 kontrol sekuensial PLC
Bab 2 kontrol sekuensial PLCBab 2 kontrol sekuensial PLC
Bab 2 kontrol sekuensial PLC
 

Recently uploaded

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 

Recently uploaded (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 

Filters DAC and ADC

  • 1. Filters, DAC, and ADC Dr. Ashraf Saleem
  • 2. Outlines of Filters input output Filter Filtering: Certain desirable features are retained Other undesirable features are suppressed Dr. Ashraf Saleem 2
  • 3. Classification of Filters Signal Filter Analog Filter A l Filt Digital Filter Di it l Filt Element Type Frequency Band Active Passive Low-Pass Band-Pass All-Pass High-Pass Band-Reject Dr. Ashraf Saleem 3
  • 4. Classification of Filters Filter classification according to g implementation Active filters include RC networks and op-amps Suitable for low frequency, small signal Active filters are preferred since avoid the bulk and non-linearity of inductors. However, active filters require a power supply , q p pp y Passive filters consist of RCL networks Simple, more suitable for frequencies above audio range, where active fil i filters are li i d b the op-amp b d id h limited by h bandwidth Digital filters Dr. Ashraf Saleem 4
  • 5. Classification of Filters Filter classification according to frequency response Low-pass filt L filter High-pass filter Band pass Band-pass filter Band-stop (Notch) filter Dr. Ashraf Saleem 5
  • 6. State- State-variable filters Also known as a Universal Active Filter Consists of one amplifier and t C i t f lifi d two i t integrators t High-pass, low-pass and band-pass in the same IC Example below: Burr Brown UAF42 p Dr. Ashraf Saleem 6
  • 7. Low Pass RC Filters The critical frequency (fc): is the frequency for which q y( ) q y the ratio of the to the input voltage is approximately 0.707. in terms of the resistor and capacitor, the critical frequency is given by: 1 fc = 2πRC The output-input voltage ratio can be computed by: Vout 1 = Vin 1 + ( f / fc )2 Dr. Ashraf Saleem 7
  • 8. Example: p A measurement signal has a frequency < 1 kHz, but there is unwanted noise at about 1 MHz Design a low-pass filter MHz. low pass that attenuates the noise to 1%. What is the effect on the measurement signal at its maximum of 1 kHz? Dr. Ashraf Saleem 8
  • 9. High Pass RC Filters High p g pass filter p passes high frequencies and blocks g q low frequencies. 1 fc = 2πRC The output input voltage ratio can be computed by: output-input Vout = ( f / fc ) Vin 1 + ( f / fc )2 Dr. Ashraf Saleem 9
  • 10. Example: p Pulses for stepping motor are being transmitted at 2000 Hz. Design a filter to reduce 60-Hz noise but reduce the 60 Hz pulses by no more than 3 dB Dr. Ashraf Saleem 10
  • 11. Band Pass RC Filters Band pass filter blocks frequencies below a low limit p q and above a high limit while passing frequencies between the limits. 1 1 fH = fL = 2πRL C L 2πRH C H The output-input voltage ratio can be computed by: Vout fH f = Vin ( f 2 − f H f L ) 2 + [ f L + (1 + ( RH / RL )) f H ]2 f 2 Dr. Ashraf Saleem 11
  • 12. Example: p A signal-conditioning system uses a signal conditioning frequency variation from 6 kHz to 60 kHz to carry measurement information There information. is a considerable noise at 120 Hz and 1 MHz. MHz Design a band pass filter to reduce the noise by 90%. Dr. Ashraf Saleem 12
  • 13. Data Acquisition System Mechatronic systems use digital data acquisition for a y g q variety of purposes such as: process condition monitoring and performance evaluation, l ti fault detection and diagnosis, product quality assessment assessment, dynamic testing, system identification ( , experimental modeling), and y (i.e., p g), feedback control. Dr. Ashraf Saleem 13
  • 14. Data Acquisition System Block Diagram Dr. Ashraf Saleem 14
  • 15. A/D Converter: Input Signal p g Analog Signal is continuous Example: strain gage. Most transducers gage produce analog signals Digital Signal is either ON or OFF Si l i ith Example: light switch. Dr. Ashraf Saleem 15
  • 16. Digital- Digital-Analog Converter (DAC) Weighted Resistor DAC ⎡ bn − 2 b0 ⎤ vref v = ⎢bn −1 + + ... + n −1 ⎥ ⎣ 2 2 ⎦ 2 Dr. Ashraf Saleem 16
  • 17. Digital- Digital-Analog Converter (DAC) Ladder DAC (2R-R) (2 ⎡ bn − 2 b0 ⎤ vref v = ⎢bn −1 + + ... + n −1 ⎥ ⎣ 2 2 ⎦ 2 Dr. Ashraf Saleem 17
  • 18. Example 1 p What is the output voltage of a 10-bit Ladder DAC with a 10 V reference voltage if the input is 00101101012. Dr. Ashraf Saleem 18
  • 19. Conversion Resolution The conversion resolution is a function of the reference voltage and the number of bits in the word. The more bits, the smaller the change in analog output for a 1-bit change in binary word. g p g y −n ΔVout = VR 2 Where ∆Vout = smallest output change VR = reference voltage n = number of bits in the word Dr. Ashraf Saleem 19
  • 20. Example 2: p Determine how many bits a D/A converter must have to provide output increments of 0 04V or less. The reference is 10V 0.04V less Dr. Ashraf Saleem 20
  • 21. Example 3: p A control valve has a linear variation of opening as the p g input voltage varies from 0 to 10V. A microcomputer outputs an 8-bit word to control the valve opening using an 8-bit DAC to generate the valve voltage. g g g a- Find the reference voltage required to obtain a full open valve (10V) (10V). b- Find the percentage of valve opening for a 1-bit change in the input word. Dr. Ashraf Saleem 21
  • 22. DAC Error Sources Code Ambiguity. In many digital codes (e.g., in the straight binary code), i bi d ) incrementing a number by an LSB will involve ti b b ill i l more than one bit switching. If the speed of switching from 0-1 is different from that for 1-0, and if switching pulses are not applied to the switching circuit simultaneously, the switching of li d t th it hi i it i lt l th it hi f the bits will not take place simultaneously. Settling Time. The circuit hardware in a DAC unit will have some dynamics, with associated time constants and perhaps oscillations (underdamped response). Hence, the output voltage cannot instantaneously settle to its ideal value upon switching. The time required for the analog output to settle within a certain band (say :t2% of the final value or :t resolution), following the application of the digital data, is termed settling time. pp g g Dr. Ashraf Saleem 22
  • 23. DAC Error Sources Parametric Errors. resistor elements in a DAC might not be b very precise, particularly when resistors within a wide i ti l l h i t ithi id range of magnitudes are employed, as in the case of weighted-resistor DAC. These errors appear at the analog output. Furthermore, aging and environmental output Furthermore changes (primarily, change in temperature) will change the values of circuit parameters, resistance in partic-ular. This also will result in DAC error. Reference Voltage Variation: Since the analog output of a DAC is proportional to the reference voltage vref, any variations in the voltage supply will directly appear as an error. Thi problem can b overcome b using stabilized This bl be by i t bili d voltage sources with sufficiently low output impedance. Dr. Ashraf Saleem 23
  • 24. Analog to Digital Converters (ADC) The formulae of analog to digital conversion is as following: −1 −2 −n Vin b1 2 + b2 2 + ......... + bn 2 = Vr Where b1b2b3….bn = n-bit digital output Vin = analog input voltage Vr = analog reference voltage The output uncertainty/resolution can be given by: ∆V=Vr2-n Dr. Ashraf Saleem 24
  • 25. Example 1: p Temperature is measured by a sensor with an output of 0.02 V/oC. Determine the required ADC reference and word size to measure 0o to 100oC with 0.1oC resolution Dr. Ashraf Saleem 25
  • 26. Example 2: p Find the digital word that results from a 3.127 V input to a 5-bit ADC with a 5V reference? Dr. Ashraf Saleem 26
  • 27. Successive Approximation ADC Dr. Ashraf Saleem 27
  • 28. Example 3: p Find the successive approximation ADC output for a 4-bit converter to a 3.217V input if the reference is 5V 5V. Dr. Ashraf Saleem 28
  • 29. Dual- Dual-Slope ADC Dr. Ashraf Saleem 29
  • 30. Example 4: p A dual-slope ADC as shown previously dual slope has R=100 kΩ and C=0.01μF. The reference is 10V and the fixed 10V, integration time is 10 ms. Find the conversion time for a 6 8V input 6.8V input. Dr. Ashraf Saleem 30