SlideShare a Scribd company logo
1 of 1
Download to read offline
DESIGN                                                                                                                                                                                                                                                                                             DESIGN
REVIEW                                                                                                                                                                                                                                                                                             REVIEW


CONNECTING
                                                                                                                                                           Design considerations for the               Programming the Digital Potentiometers                    Resources
                                                                                                                                                         anti-aliasing filter                          The potentiometers are programmed from an                 [1] Software drivers for the AN16 module
                                                                                                                                                       The frequency plots in Fig.1 provide a          I2C serial bus with two allocated to each filter          together with full code listings of sample



ThE aNalOGUE
                                                                                                                                                   graphical representation of aliasing. In this       controlling the resistive components which set            programs can be downloaded from the EDP
                                                                                                                                                  example we are going to sample a signal              the cut-off frequency. [1] Advantage is taken             Design Centre on the DesignSpark website at:
                                                                                                                                                  which has a maximum frequency component              of a simplification of the Sallen-Key filter which        http://www.designspark.com/design-centre.
                                                                                                                                                  of fmax (the band in green) using a sampling         occurs when the two resistances and two



WORlD TO
                                                                                                                                                  frequency of fs. The plot on the left shows          capacitances are in the ratio 2 to 1. [2]                 [2] Analysis of the Sallen-Key Architecture, TI
                                                                                                                                                  all the new frequencies present in the non-                                                                    Application Report, SLOA024B.
                                                                                                                                                  aliased sampled signal. Note that we now




RS EDP
                                                                                                                                                  have new bands of frequencies (in blue) each
                                                                                                                                                  with a width of 2 x fmax and centred on the                                                                    Share your views on this article
                                                                                                                                                  sampling frequency ƒs and its harmonics. This                                                                  at www.designspark.com
                                                                                                                                                  is a correctly sampled signal because fs > 2 x
                                                                                                                                                  fmax. By contrast the plot on the right shows
                                                                                                                                                  extensive aliasing where the various bands
                                                                                                                                                  overlap leading to the production of erroneous
                                                                                                                                                  frequencies in the green baseband.                          dB

analogue Input module: Setting up the anti-aliasing filter                                                                                                                                                     0                                                                   2-Pole Filters, AN0 or AN1
                                                                                                                                                  The practical problem is that few ‘raw’ signals                                                                                   Roll-off = -40dB/decade
                                                                                                                                                  have a nice, clean fmax. In order to avoid
                                                                                                                                                  aliased components being produced, a low-                    -

Get the Specification                                                                                                                             pass anti-aliasing filter needs to be placed in             20
                                                                                                                                                                                                                                                                                           4-Pole Filter, AN0 + AN1
                                                                                                                                                  circuit before the ADC.                                                                                                                  Roll-off = -80dB/decade
Before the considering the analogue input               f > 2f          : No aliasing                                    f < 2f      : aliasing
                                                        S         max                                                      S    max
to a digital system, the designer must have                                                                                                                                                                    -

available a certain amount of numerical data:                                                                                                     Fig.2 shows the trade-off between sampling                  40
                                                    Signal Power                                            Signal Power                          rate and the order of the low-pass filter. The
  • The maximum frequency component of                                                                                 Aliased Frequencies        designer can massively over-sample and then                  -
    the analogue signal                                                                                                                           use a simple low-order filter or select a lower             60
                                                                                                                                                  rate and then be faced with the need for a
  • The Dynamic Range of the analogue                                                                                                             complex multi-pole type. However the ability
    signal (ratio of the maximum to the                                                                                                           of the DSP device to process the algorithm
    minimum input signal level)                                                                                                                   between consecutive samples must be                              100             1000                10000        100000       1000000                        f Hz
  • The required Signal-to-Noise ratio of the                                                                                                     considered before the sampling rate is set.                                             Filter cut-off range

    digitized signal                                                                                                                              It can save a lot of trouble later if the DSP                                               AN0 or AN1

                                                                                                                                                  program is tested and timed on a suitable
                                                                                                                                                                                                       fig. 3 frequency response of digitally-controlled filters on aN0 and aN1
                                                                                                                                                  development system before the sampling rate
The first point is what concerns us here when                                                                                                     is fixed and the filter designed.
deciding on the cut-off frequency of the input   fig.1 aliasing
analogue low-pass-filter.                                                                                                                         anti-aliasing filters on the analogue
                                                                                                                                                  Input module (EDP-am-aN16)
                                                      Signal Power
Decide on the sampling rate                                                                    Sampling rate mUCh greater than Nyquist            Sallen-Key filters are used on the Analogue
The sampling rate is set according to the                                                                                                         Input module which provides filter circuits for
Nyquist criterion which states that it must be                                                                                                    up to 16 input channels. Eight have simple
                                                                                        Lower Order, shallow roll-off LPF required                                                                        Rf = 6772556u/Fcut_off;                        /* Calculate filter R2 resistor value */
at least twice that of the maximum frequency                                                                                                      passive 1-pole filters, six have fixed cut-off          R2_Pot = 12000u*Rf/(12000u-Rf);                /* Digital pot in parallel with 12k resistor */
component present in the analogue signal. This                                                                                                    (12kHz) 2-pole Sallen-Key filters with a roll-off       R1_Pot = R2_Pot/2u;                            /* R1 resistor value = R2/2 */
ensures accurate reproduction of the signal,                                                                                                      of -40dB/decade and two have 2-pole filters
but a much higher rate will ease the design                                                                                                       whose cut-off frequency can be set by digital           Set_resistance(1u,R1_Pot);                     /* Call AN16 driver and set Pot channel 1 */
of a vital circuit that precedes the ADC:                                                                                                         potentiometers. These two filters on channels           Set_resistance(2u,R2_Pot);                     /* Call AN16 driver and set Pot channel 2 */
the Anti-Aliasing filter.                                                                                                                         AN0 and AN1 can be cascaded by means of
                                                      Signal Power                                                                                a solder-link to provide a single 4-pole filter on
                                                                                                                                                  AN0 with -80dB/decade roll-off.                      listing 1. C code for calculating the aN0 filter resistance values
                                                                                               Sampling rate JUST greater than Nyquist


                                                                                                      High Order, steep roll-off LPF required




                                                                                                                                                   Get more online...
                                                 fig.2 Designing the anti-aliasing filter: Cut-off and Roll-off                                      See the latest on EDP at www.designspark.com/theme/rs-edp


24    eTech - ISSUE 6                                                                                                                                                                                                                                                                           eTech - ISSUE 6        25

More Related Content

What's hot (20)

Infosat
InfosatInfosat
Infosat
 
Lightspeed Preprint
Lightspeed PreprintLightspeed Preprint
Lightspeed Preprint
 
Ld2519361941
Ld2519361941Ld2519361941
Ld2519361941
 
Panasonic AG-HMC151E
Panasonic AG-HMC151EPanasonic AG-HMC151E
Panasonic AG-HMC151E
 
Feature transmission
Feature transmissionFeature transmission
Feature transmission
 
Gq2411921196
Gq2411921196Gq2411921196
Gq2411921196
 
H055 Sellsheet
H055 SellsheetH055 Sellsheet
H055 Sellsheet
 
Video Compression Basics by sahil jain
Video Compression Basics by sahil jainVideo Compression Basics by sahil jain
Video Compression Basics by sahil jain
 
AG-HMC151
AG-HMC151AG-HMC151
AG-HMC151
 
Spark
SparkSpark
Spark
 
Kps Environment 2 D3 D Wind Profiling
Kps Environment 2 D3 D Wind ProfilingKps Environment 2 D3 D Wind Profiling
Kps Environment 2 D3 D Wind Profiling
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Metabox
MetaboxMetabox
Metabox
 
Topfield
TopfieldTopfield
Topfield
 
Af32216223
Af32216223Af32216223
Af32216223
 
Quality enhamcment
Quality enhamcmentQuality enhamcment
Quality enhamcment
 
Scct2013 topic4 video
Scct2013 topic4 videoScct2013 topic4 video
Scct2013 topic4 video
 
YSChen: Dissertation Defense
YSChen: Dissertation DefenseYSChen: Dissertation Defense
YSChen: Dissertation Defense
 
simple video compression
simple video compression simple video compression
simple video compression
 
RCIM 2008 - Allocation Relocation
RCIM 2008 - Allocation RelocationRCIM 2008 - Allocation Relocation
RCIM 2008 - Allocation Relocation
 

Similar to eTech 6 - Connecting the analouge world to RS EDP

A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...MDC_UNICA
 
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...IDES Editor
 
FPGA Based Design of High Performance Decimator using DALUT Algorithm
FPGA Based Design of High Performance Decimator using DALUT AlgorithmFPGA Based Design of High Performance Decimator using DALUT Algorithm
FPGA Based Design of High Performance Decimator using DALUT AlgorithmIDES Editor
 
Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...
Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...
Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...IDES Editor
 
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...IRJET Journal
 
Technical Documentation_Embedded_Acoustic_DSP_Projects
Technical Documentation_Embedded_Acoustic_DSP_ProjectsTechnical Documentation_Embedded_Acoustic_DSP_Projects
Technical Documentation_Embedded_Acoustic_DSP_ProjectsEmmanuel Chidinma
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
2 GHz Patch Antenna/Array Design
2 GHz Patch Antenna/Array Design2 GHz Patch Antenna/Array Design
2 GHz Patch Antenna/Array DesignRashad Alsaffar
 
Vesda vls laser scanner data sheet
Vesda vls laser scanner data sheetVesda vls laser scanner data sheet
Vesda vls laser scanner data sheetsanzen enterprises
 
IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...
IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...
IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...IDES Editor
 
2GHz Patch Antenna/Array Design
2GHz Patch Antenna/Array Design2GHz Patch Antenna/Array Design
2GHz Patch Antenna/Array DesignRashad Alsaffar
 
2 GHz RF Patch Antenna/Array Design
2 GHz RF Patch Antenna/Array Design2 GHz RF Patch Antenna/Array Design
2 GHz RF Patch Antenna/Array DesignRashad Alsaffar
 

Similar to eTech 6 - Connecting the analouge world to RS EDP (20)

241 250
241 250241 250
241 250
 
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
 
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
 
115 118
115 118115 118
115 118
 
FPGA Based Design of High Performance Decimator using DALUT Algorithm
FPGA Based Design of High Performance Decimator using DALUT AlgorithmFPGA Based Design of High Performance Decimator using DALUT Algorithm
FPGA Based Design of High Performance Decimator using DALUT Algorithm
 
Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...
Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...
Design And Performance of Finite impulse Response Filter Using Hyperbolic Cos...
 
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...
 
Sensors & Robots Projects
Sensors & Robots ProjectsSensors & Robots Projects
Sensors & Robots Projects
 
(Ebook photo) a-z of digital photography
(Ebook photo)   a-z of digital photography(Ebook photo)   a-z of digital photography
(Ebook photo) a-z of digital photography
 
Sudormrf.pdf
Sudormrf.pdfSudormrf.pdf
Sudormrf.pdf
 
Technical Documentation_Embedded_Acoustic_DSP_Projects
Technical Documentation_Embedded_Acoustic_DSP_ProjectsTechnical Documentation_Embedded_Acoustic_DSP_Projects
Technical Documentation_Embedded_Acoustic_DSP_Projects
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
G010513644
G010513644G010513644
G010513644
 
2 GHz Patch Antenna/Array Design
2 GHz Patch Antenna/Array Design2 GHz Patch Antenna/Array Design
2 GHz Patch Antenna/Array Design
 
Beamforming antennas (1)
Beamforming antennas (1)Beamforming antennas (1)
Beamforming antennas (1)
 
Vesda vls laser scanner data sheet
Vesda vls laser scanner data sheetVesda vls laser scanner data sheet
Vesda vls laser scanner data sheet
 
IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...
IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...
IFKSA-ESPRIT - Estimating the Direction of Arrival under the Element Failures...
 
2GHz Patch Antenna/Array Design
2GHz Patch Antenna/Array Design2GHz Patch Antenna/Array Design
2GHz Patch Antenna/Array Design
 
2 GHz RF Patch Antenna/Array Design
2 GHz RF Patch Antenna/Array Design2 GHz RF Patch Antenna/Array Design
2 GHz RF Patch Antenna/Array Design
 
167 169
167 169167 169
167 169
 

More from RS Components Malta

RS Malta - Product Guide to Electronics
RS Malta - Product Guide to ElectronicsRS Malta - Product Guide to Electronics
RS Malta - Product Guide to ElectronicsRS Components Malta
 
eTech 6 - DesignSpark takes design to another dimension
eTech 6 - DesignSpark takes design to another dimensioneTech 6 - DesignSpark takes design to another dimension
eTech 6 - DesignSpark takes design to another dimensionRS Components Malta
 
eTech 6 - Rapid power for the modern electronics system
eTech 6 -  Rapid power for the modern electronics systemeTech 6 -  Rapid power for the modern electronics system
eTech 6 - Rapid power for the modern electronics systemRS Components Malta
 
eTech 6 - Networker - an advanced web server with a micro
eTech 6 - Networker - an advanced web server with a microeTech 6 - Networker - an advanced web server with a micro
eTech 6 - Networker - an advanced web server with a microRS Components Malta
 
eTech 6 - Introduction to open source hardware
eTech 6 - Introduction to open source hardwareeTech 6 - Introduction to open source hardware
eTech 6 - Introduction to open source hardwareRS Components Malta
 
eTech 6 - How unlocking information from a fan is a blast
eTech 6 - How unlocking information from a fan is a blasteTech 6 - How unlocking information from a fan is a blast
eTech 6 - How unlocking information from a fan is a blastRS Components Malta
 
Manufacturing by RS Components Malta
Manufacturing by RS Components MaltaManufacturing by RS Components Malta
Manufacturing by RS Components MaltaRS Components Malta
 

More from RS Components Malta (16)

RS Malta - Product Guide to Electronics
RS Malta - Product Guide to ElectronicsRS Malta - Product Guide to Electronics
RS Malta - Product Guide to Electronics
 
eTech 6 - DesignSpark takes design to another dimension
eTech 6 - DesignSpark takes design to another dimensioneTech 6 - DesignSpark takes design to another dimension
eTech 6 - DesignSpark takes design to another dimension
 
eTech 6 - Rapid power for the modern electronics system
eTech 6 -  Rapid power for the modern electronics systemeTech 6 -  Rapid power for the modern electronics system
eTech 6 - Rapid power for the modern electronics system
 
eTech 6 - Networker - an advanced web server with a micro
eTech 6 - Networker - an advanced web server with a microeTech 6 - Networker - an advanced web server with a micro
eTech 6 - Networker - an advanced web server with a micro
 
eTech 6 - Introduction to open source hardware
eTech 6 - Introduction to open source hardwareeTech 6 - Introduction to open source hardware
eTech 6 - Introduction to open source hardware
 
eTech 6 - How unlocking information from a fan is a blast
eTech 6 - How unlocking information from a fan is a blasteTech 6 - How unlocking information from a fan is a blast
eTech 6 - How unlocking information from a fan is a blast
 
eTech 6 - The Power of Touch
eTech 6 - The Power of ToucheTech 6 - The Power of Touch
eTech 6 - The Power of Touch
 
eTech Magazine - Issue 6
eTech Magazine - Issue 6eTech Magazine - Issue 6
eTech Magazine - Issue 6
 
eTech Magazine - Issue 6
eTech Magazine - Issue 6 eTech Magazine - Issue 6
eTech Magazine - Issue 6
 
Stars
StarsStars
Stars
 
Manufacturing by RS Components Malta
Manufacturing by RS Components MaltaManufacturing by RS Components Malta
Manufacturing by RS Components Malta
 
eTech Magazine - Issue 4
eTech Magazine - Issue 4eTech Magazine - Issue 4
eTech Magazine - Issue 4
 
eTech Magazine - Issue 2
eTech Magazine - Issue 2 eTech Magazine - Issue 2
eTech Magazine - Issue 2
 
eTech Magazine - Issue 3
eTech Magazine - Issue 3 eTech Magazine - Issue 3
eTech Magazine - Issue 3
 
Etech5
Etech5Etech5
Etech5
 
eTech Magazine - Issue 1
eTech Magazine - Issue 1 eTech Magazine - Issue 1
eTech Magazine - Issue 1
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

eTech 6 - Connecting the analouge world to RS EDP

  • 1. DESIGN DESIGN REVIEW REVIEW CONNECTING Design considerations for the Programming the Digital Potentiometers Resources anti-aliasing filter The potentiometers are programmed from an [1] Software drivers for the AN16 module The frequency plots in Fig.1 provide a I2C serial bus with two allocated to each filter together with full code listings of sample ThE aNalOGUE graphical representation of aliasing. In this controlling the resistive components which set programs can be downloaded from the EDP example we are going to sample a signal the cut-off frequency. [1] Advantage is taken Design Centre on the DesignSpark website at: which has a maximum frequency component of a simplification of the Sallen-Key filter which http://www.designspark.com/design-centre. of fmax (the band in green) using a sampling occurs when the two resistances and two WORlD TO frequency of fs. The plot on the left shows capacitances are in the ratio 2 to 1. [2] [2] Analysis of the Sallen-Key Architecture, TI all the new frequencies present in the non- Application Report, SLOA024B. aliased sampled signal. Note that we now RS EDP have new bands of frequencies (in blue) each with a width of 2 x fmax and centred on the Share your views on this article sampling frequency ƒs and its harmonics. This at www.designspark.com is a correctly sampled signal because fs > 2 x fmax. By contrast the plot on the right shows extensive aliasing where the various bands overlap leading to the production of erroneous frequencies in the green baseband. dB analogue Input module: Setting up the anti-aliasing filter 0 2-Pole Filters, AN0 or AN1 The practical problem is that few ‘raw’ signals Roll-off = -40dB/decade have a nice, clean fmax. In order to avoid aliased components being produced, a low- - Get the Specification pass anti-aliasing filter needs to be placed in 20 4-Pole Filter, AN0 + AN1 circuit before the ADC. Roll-off = -80dB/decade Before the considering the analogue input f > 2f : No aliasing f < 2f : aliasing S max S max to a digital system, the designer must have - available a certain amount of numerical data: Fig.2 shows the trade-off between sampling 40 Signal Power Signal Power rate and the order of the low-pass filter. The • The maximum frequency component of Aliased Frequencies designer can massively over-sample and then - the analogue signal use a simple low-order filter or select a lower 60 rate and then be faced with the need for a • The Dynamic Range of the analogue complex multi-pole type. However the ability signal (ratio of the maximum to the of the DSP device to process the algorithm minimum input signal level) between consecutive samples must be 100 1000 10000 100000 1000000 f Hz • The required Signal-to-Noise ratio of the considered before the sampling rate is set. Filter cut-off range digitized signal It can save a lot of trouble later if the DSP AN0 or AN1 program is tested and timed on a suitable fig. 3 frequency response of digitally-controlled filters on aN0 and aN1 development system before the sampling rate The first point is what concerns us here when is fixed and the filter designed. deciding on the cut-off frequency of the input fig.1 aliasing analogue low-pass-filter. anti-aliasing filters on the analogue Input module (EDP-am-aN16) Signal Power Decide on the sampling rate Sampling rate mUCh greater than Nyquist Sallen-Key filters are used on the Analogue The sampling rate is set according to the Input module which provides filter circuits for Nyquist criterion which states that it must be up to 16 input channels. Eight have simple Lower Order, shallow roll-off LPF required Rf = 6772556u/Fcut_off; /* Calculate filter R2 resistor value */ at least twice that of the maximum frequency passive 1-pole filters, six have fixed cut-off R2_Pot = 12000u*Rf/(12000u-Rf); /* Digital pot in parallel with 12k resistor */ component present in the analogue signal. This (12kHz) 2-pole Sallen-Key filters with a roll-off R1_Pot = R2_Pot/2u; /* R1 resistor value = R2/2 */ ensures accurate reproduction of the signal, of -40dB/decade and two have 2-pole filters but a much higher rate will ease the design whose cut-off frequency can be set by digital Set_resistance(1u,R1_Pot); /* Call AN16 driver and set Pot channel 1 */ of a vital circuit that precedes the ADC: potentiometers. These two filters on channels Set_resistance(2u,R2_Pot); /* Call AN16 driver and set Pot channel 2 */ the Anti-Aliasing filter. AN0 and AN1 can be cascaded by means of Signal Power a solder-link to provide a single 4-pole filter on AN0 with -80dB/decade roll-off. listing 1. C code for calculating the aN0 filter resistance values Sampling rate JUST greater than Nyquist High Order, steep roll-off LPF required Get more online... fig.2 Designing the anti-aliasing filter: Cut-off and Roll-off See the latest on EDP at www.designspark.com/theme/rs-edp 24 eTech - ISSUE 6 eTech - ISSUE 6 25