You CAN Do Digital Filtering with an MCU!
|
|
- Griffin Pitts
- 6 years ago
- Views:
Transcription
1 You CAN Do Digital Filtering with an MCU! Kevin P King - Senior Staff Application Engineer Class ID: CC13B Renesas Electronics America Inc.
2 Kevin P King Senior Staff Application Engineer RX DSP Library Development Team Numerous Motor Control and Medical App notes 2010 Patent Award for Motor Control Education Electrical Engineering, University of Lowell (Edward B Van Dusen Award for Academic Achievement) Thirty years of Embedded Design Experience (x86, HC05, HC11, 8051, Philips XA, Atmel AVR, Hitachi, Mitsubishi, etc... Five years of Emulator design for MetaLink COP8, 68HC05, 68HC11, 8051 (multi-vendors), National CR16, Hitachi H8/500, etc... Multiple Quality Awards for Embedded Software & Hardware Development. Specialty is Embedded System Design - MCU firmware & hardware 2
3 Renesas Technology & Solution Portfolio 3
4 8/16-bit 32-bit Microcontroller and Microprocessor Line-up DMIPS, Superscalar Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby 500 DMIPS, Low Power Automotive & Industrial, 90nm 600µA/MHz, 1.5µA standby 165 DMIPS, FPU, DSC Industrial, 90nm 200µA/MHz, 1.6µA deep standby 25 DMIPS, Low Power Industrial & Automotive, 150nm 190µA/MHz, 0.3µA standby 10 DMIPS, Capacitive Touch Wide Industrial Format & LCDs Automotive, 130nm 350µA/MHz, 1µA standby 1200 DMIPS, Performance Automotive, 40nm 500µA/MHz, 35µA deep standby 165 DMIPS, FPU, DSC Industrial, 40nm 200µA/MHz, 0.3µA deep standby Embedded Security, ASSP Industrial, 90nm 1mA/MHz, 100µA standby 44 DMIPS, True Low Power Industrial & Automotive, 130nm 144µA/MHz, 0.2µA standby 4
5 Magnitude in db Enabling The Smart Society Challenge: More and More Sensors are required by our Smart devices and reliable filtering is required to separate the signal from the noise. 20 Inphase Filter Frequency Response Doctor, your patient is in distress Frequency in khz Wireless Module Solution: This lecture will introduce you to some of the basic concepts of Digital Filtering, low-cost Filter tools and help you avoid some of the more common pitfalls when implementing filters on the Renesas processor of their choice. 5
6 Agenda System Block Diagram analog filter FIR vs IIR Sampling theorem Anti-aliasing Oversampling Triggering skew ADC interrupt overhead Decimation Fixed point and floating point principles Fixed point vs. floating point benchmark Summary 6
7 Example Filter Applications Instrument Board MCU Sensor Cabling 60 Hz Filter ADC Microphone Voice Recorder 4 khz LowPass MCU ADC 7
8 Filter Applications The Boxcar Filter Very common to perform a running average Sum n samples, scale the output (usually divide by n) Recalculate each time one new sample comes in Very simple FIR called boxcar All coefficients equal to 1 Example of 8 khz sampling rate, 8 tap FIR 8
9 Filter Types - FIR Typically the gain = 1 Does not always have Decimation Decimation can be on front or back end X [n] Z -1 X [n-1] Z -1 X [n-2] Z -1 Z -1 X [n-n] b 0 b 1 b 2 b 3 b M Y [n] nd Y [n] X[n] Input samples nd Decimation Factor Y [n] Decimated Output B[n] Coefficients (multiplies) Z -1 Delay elements (storage array) 9
10 Filter Types - IIR In addition to a forward path there is a feedback path Z -1 Z -1 b k 1 b k 2 X [n] b k Y k [n] -a k 2 -a k 1 Z -1 Z -1 X[n] Input samples Y k [n] Output b k [n] Feed forward Coefficients (multiplies) -a k [n] Feedback Coefficients (multiplies) Z -1 Delay elements (storage array) 10
11 FIR versus IIR* FIR Phase-linear Simple instructions, single loop Suited for Multi-rate (decimation or interpolation allows some calculations to be omitted) Desirable Numeric properties (finite-precision can usually be implemented using lower number of bits) Possible to implement with coefficients less then 1.0 May require more memory and calculations than the IIR Some responses are just impractical to implement in FIR IIR Less memory and calculations for a given filtering characteristic Arithmetic errors compounded by feedback Harder to implement using fixed point Not as easy to do multi-rate (decimation and interpolation) Not phase-linear * and 11
12 Designing the Filter Programs like ScopeFIR, ScopeIIR or WinFilter simplify the task of designing a filter 12
13 Identifying the Noise Programs like ScopeDSP allows inputting ADC data and running FFT 13
14 Identifying the Noise The FFT clearly identifies a 1k,2K,4K and 8K component 14
15 Sampling Theorem Nyquist-Shannon Sampling Theorem If a function x(t) contains no frequencies higher than B hertz, it is completely determined by giving its ordinates at a series of points spaced 1/(2B) seconds apart. 1 Simply stated: A signal can only be properly sampled if it contains no frequencies greater than one-half the sampling frequency Sometimes this is incorrectly stated: To not lose information you must sample at twice the highest frequency you are concerned with in a signal 15
16 Aliasing Problem Record voice data and store Limit voice bandwidth to 4 khz Sample at 8 khz Problem - Audio contains energy above 4 khz Anti-aliasing filter Adjust corner for 4 khz 16
17 Anti-aliasing filter 0 7K 7K 4 nf - + Output (db) nf Frequency (khz) - 12 db is only an attenuation of 1/4 17
18 R1-P / db Anti-aliasing filter Actual Response of 2 nd Order 4 khz Filter Output (db) k 2k 3k 4k 5k 6k 7k 8k 9k 10k Frequency / Hertz Frequency (khz) 18
19 Frequency Response of 8 Tap 4 khz Filter -12dB line 20 db attenuation at 8 khz compared to 12 for analog filter 19
20 Improved 4 khz Filter By using 14 taps notice the improved attenuation at 6 khz 20
21 Oversampling and digital filtering Sample at 32 khz instead of 8 khz Only signals 16 khz or greater will alias Could use simple RC or no anti-aliasing filter 21
22 Oversampling and digital filtering Decimate results Store every 4 th sample Only calculate filter at 8 khz Sampling at 32 khz rate Signal to Sample S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 Data Point1 = X1*S1+X2*S2..+X8*S8 Data Point2 = X1*S5+X2*S6..+X*S12 X1,X2 are filter coefficients 22
23 Multi-rate and Decimation Temp cannot change more than 1 degree/ hour Required sampling rate for 1 degree logging Noise with 1 second period, averages out in 4 readings Sampling rate for noise x x x x x x x x x x x x x x x x x x x x Temperature 23
24 ADC Considerations - Skew Problems: Interrupt Skew 32 khz requires sampling every us Software start ADC possibility of sample skew Other interrupts in the system Long instructions required to complete Solutions: Possible - Make the start interrupt highest system priority Preferred - Use ADC system that can be triggered by timer Some devices may have to loop a timer to ADC trigger 24
25 ADC Considerations - Overhead Problem: Interrupt Overhead Storing ADC Data Assume ADC ISR takes 40 cycles context save + data save and pointer adjust + context restore Sampling at 32 khz BW to store data = 1.28 million cycles Solutions: Use a DMA controller 4-5 cycles or less per transfer CPU BW to store data <200 thousand cycles 25
26 ADC Considerations - Benchmark Example RX allows triggering ADC from GPT/MTU2/MTU3 (timer) DMAC transfers data to buffer MTU2 Channel 0 AD Trigger (160kHz) AD Complete AN7 ADC0 DMAC Channel Complete Intr (PING/PONG Rdy)* Memory PING/PONG Buffer Data to Filter Task HW assist to acquire/transfer data to buffer saves* ~3% at 200kHz rate / 5K samples ~13% at 400kHz rate / 5K samples ~26% at 500kHz rate / 5K samples * DevCon RX Performance lab 26
27 Calculating the Filter Design 4 khz, 8 tap, lowpass filter Sampling rate 32 khz Passband 4 khz Stopband 8 khz Stopband attenuation 12 db actual 20 db Passband ripple = 2 db - actual 0.76 Coefficients:
28 Implementing the Filter Could calculate the filter as: result=0; for (index = 0; index < taps; index++) { result += data[index] * coeff[index]; } The problem is the coefficients are all fractional values 28
29 Options to Calculate the Filter Use an MCU with an FPU RH Bit RISC High Performance RISC RX600 High Performance CISC SH2A like SH7269 High Performance RISC Use Floating Point Libraries Can be very slow Use Fixed Point Math A little more complicated than floating point 29
30 Floating Point Numbers S Exponent 8 bits Significand part 23 bits (implied 1) Radix point Floating point value = (-1) sb + (1+Fraction) x 2 (exponent bias) The exponent is expressed in biased form: e = E + bias Precision is function of fraction bits Floating supports a very large dynamic range Parameter Total bit Width Single Precision 32bits Double Precision 64bits Sign bit 1bit 1bit Exponent field 8bits 11bits Significand 23bits 52bits Precision 24bits 53bits Bias Emax Emin
31 Floating Point Hardware Single Precision Min Value = 5.88 x 10e-39, Max value = 3.4 x 10e S Exponent 8 bits Significand part 23 bits (implied 1) Radix point Double Precision Min Value = ~2.0 x 10e-308, Max value = ~2.0 x 10e S Exponent 11 bits Significand part 20/52 bits (implied 1) Radix point 31 0 Significand part 32/52 bits (implied 1)
32 Fixed Point Fraction value is shifted (multiplied) by a value to make an integer Example Represent using 16 bit fixed point 1 bit for the sign 19 requires 5 bits in binary 10 bits left to represent fraction Multiply the value by 1024 (shift left 10) Could allocate more bits for integer and less for fraction S Example : Calculate a 4 tap box filter using fixed point Assume ADC samples are 0x100 (256), 0x200 (512), 0x120(288), 0x150(336) Coefficients are all 0.25 Solution Scale coefficients to be integers by multiplying by 4 (shift left 2) Multiply coefficients time ADC values 1*0x *0x *0x *0x150 = 0x570 (1392) Restore proper scaling (shift right 2) = 0x15C (348) 32
33 Precision Requirements How many bits of coefficient are required? Do not want round-off error to cause an LSB error For 10 bit ADC need 10 bits coefficient Each tap could accumulate error Additional bits depends on number taps 8 taps add 3 LSB 16 taps add 4 LSB Etc 33
34 Pop Quiz: Assuming: 12 bit ADC, 7 tap FIR filter QUESTION: Is 16 bit Fixed Point enough resolution? 8 taps add 3 LSB, for a total of 15 bits Don t forget the sign bit! 16 bit total 34
35 Some Benchmark Results Using RL78/G14 (16 bit, 32 MHz MCU ) 8 Tap Filter 216 cycles (27 cycles per tap) 22 Tap Filer 594 cycles (27 cycles per tap) 8 taps at 8 khz = ~1.73 million cycles (approximately 5.4% 32 MHz) Each tap calculation requires Multiply Sum Two Pointer Increments 35
36 A MAC Really Helps Really need a MAC RX has RMPA (software MAC), RL78 has MACH Unit RL samples/64 Tap Filter 354,000 cycles RX 200 samples/64 Tap Filter 33,000 cycles RX average 2.6 cycles per tap* RL78 average 27.6 cycles per tap* *From DSP and DSCL library test results 36
37 Circular Buffer Bottleneck Most DSPs can handle circular buffers, MCUs typically do not Inefficient to put pointer check in loop Classical Implementation Circular Buffer Implementation X0 X4 X1 X2 X3 C0 C1 C2 C3 X1 X2 X3 X4 New Data C0 C1 C2 C3 37
38 Double Coefficient Loops Loop1 X0 X1 X2 X3 C0 C1 C2 C3 C0 C1 C2 C3 Loop2 X4 X1 X2 X3 C0 C1 C2 C3 C0 C1 C2 C3 Loop3 X4 X5 X2 X3 C0 C1 C2 C3 C0 C1 C2 C3 38
39 IIR Filters 39
40 IIR Z -1 Z -1 b k 1 b k 2 X [n] b k Y k [n] -a k 2 -a k 1 Z -1 Z -1 X k [n] Input Samples, Y k [n] Output Samples, b k [n]/a k [n] Filter Coefficients, Z -1 Delay Line Since round-off error in output feeds back IIR requires greater precision 16 bit precision typically sufficient for FIR IIR requires 32 bit precision 1 Floating point simplifies math 40
41 Magnitude in db Why use IIR 20 Inphase Filter Frequency Response Design 5 khz bandpass Sampling rate 44 khz Center Frequency - 5 khz Passband - 1 khz Stopband attenuation 40 db Passband ripple = 2 db FIR filter requires 59 taps: IIR filter only requires 17 taps (13 non-zero) Forward coefficients 1,0,-4,0,6,0,-4,0,1 Feedback coefficients , , , , Frequency in khz 41
42 Some Benchmark Results Calculating the previous filter Using RX 59 tap FIR 645 Cycles ( MHz) 28% BW if 44 khz RX 17 tap IIR 353 cycles ( MHz) 15% BW if 44 khz Tools like the RX DSP Library and RL78 DSC Library help simplify the calculations / implementation. 42
43 Summary System Block Diagram analog filter FIR vs IIR Sampling theorem Anti-aliasing Oversampling Triggering skew ADC interrupt overhead Decimation Fixed point and floating point principles Fixed point vs. floating point benchmark 43
44 Questions? 44
45 Enabling The Smart Society in Review Challenge: More and More Sensors are required by our Smart devices and reliable filtering is required to separate the signal from the noise. This lecture will introduce them to some of the basic concepts of Digital Filtering, low-cost Filter tools and help you avoid some of the more common pitfalls when implementing on the Renesas processor of their choice. Do you agree that we accomplished the above statement? 45
46 Please Provide Your Feedback Please utilize the Guidebook application to leave feedback or Ask me for the paper feedback form for you to use 46
47 Appendix: Additional Information 47
48 Resources ScopeFir and ScopeDSP The Scientist and Engineer's Guide to Digital Signal Processing, copyright by Steven W. Smith. For more information visit the book's website at: C. E. Shannon, "Communication in the presence of noise", Proc. Institute of Radio Engineers, vol. 37, no. 1, pp , Jan Reprint as classic paper in: Proc. IEEE, vol. 86, no. 2, (Feb. 1998) Signal Processing tfor Communications ( ) 48
49 A visual look at Aliasing x(t) = cos(2π * 8400t) solid line Fs = 8000Hz 400 Hz (dots) not distinguishable from 8000Hz 49
50 Renesas Electronics America Inc.
A13C: Performing Digital Filtering on an MCU
A13C: Performing Digital Filtering on an MCU Renesas Electronics America Inc. Kevin P King Senior Staff Applications Engineer 13 October 2010 Version 1.2 1 Kevin P King Senior Staff Application Engineer
More informationADC Resolution: Myth and Reality
ADC Resolution: Myth and Reality Mitch Ferguson, Applications Engineering Manager Class ID: CC19I Renesas Electronics America Inc. Mr. Mitch Ferguson Applications Engineering Manager Specializes support
More informationSensorless Vector Control and Implementation: Why and How
Sensorless Vector Control and Implementation: Why and How Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2013 32-bit 8/16-bit
More informationSensorless Vector Control with RL78G14
Sensorless Vector Control with RL78G14 John Pocs, Applications Engineering Manager Class ID: 7L02I Renesas Electronics America Inc. John Pocs Sr. Application Engineering Manager Application focus: motor
More informationSensorless Vector Control with RL78G14
Sensorless Vector Control with RL78G14 Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2013 32-bit 8/16-bit 1200 DMIPS, Superscalar
More informationREAL TIME DIGITAL SIGNAL PROCESSING. Introduction
REAL TIME DIGITAL SIGNAL Introduction Why Digital? A brief comparison with analog. PROCESSING Seminario de Electrónica: Sistemas Embebidos Advantages The BIG picture Flexibility. Easily modifiable and
More informationAppendix B. Design Implementation Description For The Digital Frequency Demodulator
Appendix B Design Implementation Description For The Digital Frequency Demodulator The DFD design implementation is divided into four sections: 1. Analog front end to signal condition and digitize the
More informationMoving Forward Efficiently HEV/EV Traction Motor Lab
Moving Forward Efficiently HEV/EV Traction Motor Lab A traction motor is an electric motor providing the primary rotational torque of a machine, usually for conversion into linear motion (traction). Renesas
More informationMoving Forward Efficiently HEV/EV Traction Motor Lab
Moving Forward Efficiently HEV/EV Traction Motor Lab Mark Ramseyer, Staff Technical Application Engineer Terry Downs, Staff Technical Application Engineer A traction motor is an electric motor providing
More informationFYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5
FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2015 Lecture #5 Bekkeng, 29.1.2015 Content Aliasing Nyquist (Sampling) ADC Filtering Oversampling Triggering Analog Signal Information
More informationEECS 452 Midterm Closed book part Winter 2013
EECS 452 Midterm Closed book part Winter 2013 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: # Points Closed book
More informationEECS 452 Midterm Exam (solns) Fall 2012
EECS 452 Midterm Exam (solns) Fall 2012 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: # Points Section I /40 Section
More informationAutoBench 1.1. software benchmark data book.
AutoBench 1.1 software benchmark data book Table of Contents Angle to Time Conversion...2 Basic Integer and Floating Point...4 Bit Manipulation...5 Cache Buster...6 CAN Remote Data Request...7 Fast Fourier
More informationEECS 452 Midterm Exam Winter 2012
EECS 452 Midterm Exam Winter 2012 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: # Points Section I /40 Section II
More informationPart One. Efficient Digital Filters COPYRIGHTED MATERIAL
Part One Efficient Digital Filters COPYRIGHTED MATERIAL Chapter 1 Lost Knowledge Refound: Sharpened FIR Filters Matthew Donadio Night Kitchen Interactive What would you do in the following situation?
More informationPower Factor Correction Why and How?
Power Factor Correction Why and How? Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2013 32-bit 8/16-bit 1200 DMIPS, Superscalar
More informationSubra Ganesan DSP 1.
DSP 1 Subra Ganesan Professor, Computer Science and Engineering Associate Director, Product Development and Manufacturing Center, Oakland University, Rochester, MI 48309 Email: ganesan@oakland.edu Topics
More informationFYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5
FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2017 Lecture #5 Bekkeng, 30.01.2017 Content Aliasing Sampling Analog to Digital Conversion (ADC) Filtering Oversampling Triggering
More informationAdvantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.
Analog Signals Signals that vary continuously throughout a defined range. Representative of many physical quantities, such as temperature and velocity. Usually a voltage or current level. Digital Signals
More informationLecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications
EE4900/EE6720: Digital Communications 1 Lecture 3 Review of Signals and Systems: Part 2 Block Diagrams of Communication System Digital Communication System 2 Informatio n (sound, video, text, data, ) Transducer
More informationMultirate DSP, part 1: Upsampling and downsampling
Multirate DSP, part 1: Upsampling and downsampling Li Tan - April 21, 2008 Order this book today at www.elsevierdirect.com or by calling 1-800-545-2522 and receive an additional 20% discount. Use promotion
More informationInterpolated Lowpass FIR Filters
24 COMP.DSP Conference; Cannon Falls, MN, July 29-3, 24 Interpolated Lowpass FIR Filters Speaker: Richard Lyons Besser Associates E-mail: r.lyons@ieee.com 1 Prototype h p (k) 2 4 k 6 8 1 Shaping h sh (k)
More informationDesign and Implementation of Efficient FIR Filter Structures using Xilinx System Generator
International Journal of scientific research and management (IJSRM) Volume 2 Issue 3 Pages 599-604 2014 Website: www.ijsrm.in ISSN (e): 2321-3418 Design and Implementation of Efficient FIR Filter Structures
More informationDIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS
DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS Item Type text; Proceedings Authors Hicks, William T. Publisher International Foundation for Telemetering Journal International Telemetering Conference Proceedings
More informationTeam proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.
Lecture 8 Today: Announcements: References: FIR filter design IIR filter design Filter roundoff and overflow sensitivity Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations
More informationLab 4 Digital Scope and Spectrum Analyzer
Lab 4 Digital Scope and Spectrum Analyzer Page 4.1 Lab 4 Digital Scope and Spectrum Analyzer Goals Review Starter files Interface a microphone and record sounds, Design and implement an analog HPF, LPF
More informationLOW SAMPLING RATE OPERATION FOR BURR-BROWN
LOW SAMPLING RATE OPERATION FOR BURR-BROWN TM AUDIO DATA CONVERTERS AND CODECS By Robert Martin and Hajime Kawai PURPOSE This application bulletin describes the operation and performance of Burr-Brown
More informationProblem Point Value Your score Topic 1 28 Filter Analysis 2 24 Filter Implementation 3 24 Filter Design 4 24 Potpourri Total 100
The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1 Date: March 8, 2013 Course: EE 445S Evans Name: Last, First The exam is scheduled to last 50 minutes. Open books
More informationEE233 Autumn 2016 Electrical Engineering University of Washington. EE233 HW7 Solution. Nov. 16 th. Due Date: Nov. 23 rd
EE233 HW7 Solution Nov. 16 th Due Date: Nov. 23 rd 1. Use a 500nF capacitor to design a low pass passive filter with a cutoff frequency of 50 krad/s. (a) Specify the cutoff frequency in hertz. fc c 50000
More informationEEM478-WEEK8 Finite Impulse Response (FIR) Filters
EEM478-WEEK8 Finite Impulse Response (FIR) Filters Learning Objectives Introduction to the theory behind FIR filters: Properties (including aliasing). Coefficient calculation. Structure selection. Implementation
More informationCyber-Physical Systems ADC / DAC
Cyber-Physical Systems ADC / DAC ICEN 553/453 Fall 2018 Prof. Dola Saha 1 Analog-to-Digital Converter (ADC) Ø ADC is important almost to all application fields Ø Converts a continuous-time voltage signal
More informationECE 6560 Multirate Signal Processing Lecture 9
Multirate Signal Processing Lecture 9 Dr. Bradley J. Bazuin estern Michigan University College of Engineering and Applied Sciences Department of Electrical and Computer Engineering 193. Michigan Ave. Kalamazoo
More informationApplication Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods
Application Note 7 App Note Application Note 7 Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods n Design Objective 3-Way Active Crossover 200Hz/2kHz Crossover
More informationDigital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10
Digital Signal Processing VO Embedded Systems Engineering Armin Wasicek WS 2009/10 Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing
More informationA DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM
A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM Item Type text; Proceedings Authors Rosenthal, Glenn K. Publisher International Foundation for Telemetering Journal International Telemetering Conference
More information2) How fast can we implement these in a system
Filtration Now that we have looked at the concept of interpolation we have seen practically that a "digital filter" (hold, or interpolate) can affect the frequency response of the overall system. We need
More informationAnalogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals
Analogue Interfacing What is a signal? Signal: Function of one or more independent variable(s) such as space or time Examples include images and speech Continuous vs. Discrete Time Continuous time signals
More informationfor amateur radio applications and beyond...
for amateur radio applications and beyond... Table of contents Numerically Controlled Oscillator (NCO) Basic implementation Optimization for reduced ROM table sizes Achievable performance with FPGA implementations
More informationSCUBA-2. Low Pass Filtering
Physics and Astronomy Dept. MA UBC 07/07/2008 11:06:00 SCUBA-2 Project SC2-ELE-S582-211 Version 1.3 SCUBA-2 Low Pass Filtering Revision History: Rev. 1.0 MA July 28, 2006 Initial Release Rev. 1.1 MA Sept.
More informationDesign Implementation Description for the Digital Frequency Oscillator
Appendix A Design Implementation Description for the Frequency Oscillator A.1 Input Front End The input data front end accepts either analog single ended or differential inputs (figure A-1). The input
More informationAnalog to digital and digital to analog converters
Analog to digital and digital to analog converters A/D converter D/A converter ADC DAC ad da Number bases Decimal, base, numbers - 9 Binary, base, numbers and Oktal, base 8, numbers - 7 Hexadecimal, base
More informationDesign Of Multirate Linear Phase Decimation Filters For Oversampling Adcs
Design Of Multirate Linear Phase Decimation Filters For Oversampling Adcs Phanendrababu H, ArvindChoubey Abstract:This brief presents the design of a audio pass band decimation filter for Delta-Sigma analog-to-digital
More informationSystem on a Chip. Prof. Dr. Michael Kraft
System on a Chip Prof. Dr. Michael Kraft Lecture 5: Data Conversion ADC Background/Theory Examples Background Physical systems are typically analogue To apply digital signal processing, the analogue signal
More informationDigital Filters Using the TMS320C6000
HUNT ENGINEERING Chestnut Court, Burton Row, Brent Knoll, Somerset, TA9 4BP, UK Tel: (+44) (0)278 76088, Fax: (+44) (0)278 76099, Email: sales@hunteng.demon.co.uk URL: http://www.hunteng.co.uk Digital
More informationME 461 Laboratory #3 Analog-to-Digital Conversion
ME 461 Laboratory #3 Analog-to-Digital Conversion Goals: 1. Learn how to configure and use the MSP430 s 10-bit SAR ADC. 2. Measure the output voltage of your home-made DAC and compare it to the expected
More informationAN2668 Application note
Application note Improving STM32F101xx and STM32F103xx ADC resolution by oversampling Introduction The STMicroelectronics Medium- and High-density STM32F101xx and STM32F103xx Cortex -M3 based microcontrollers
More informationPulsed VNA Measurements:
Pulsed VNA Measurements: The Need to Null! January 21, 2004 presented by: Loren Betts Copyright 2004 Agilent Technologies, Inc. Agenda Pulsed RF Devices Pulsed Signal Domains VNA Spectral Nulling Measurement
More informationHello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which
Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which behaves like ADC with external analog part and configurable
More informationECE 6560 Multirate Signal Processing Chapter 13
Multirate Signal Processing Chapter 13 Dr. Bradley J. Bazuin Western Michigan University College of Engineering and Applied Sciences Department of Electrical and Computer Engineering 1903 W. Michigan Ave.
More informationDesigning with STM32F3x
Designing with STM32F3x Course Description Designing with STM32F3x is a 3 days ST official course. The course provides all necessary theoretical and practical know-how for start developing platforms based
More informationSIGMA-DELTA CONVERTER
SIGMA-DELTA CONVERTER (1995: Pacífico R. Concetti Western A. Geophysical-Argentina) The Sigma-Delta A/D Converter is not new in electronic engineering since it has been previously used as part of many
More informationOne-Bit Delta Sigma D/A Conversion Part I: Theory
One-Bit Delta Sigma D/A Conversion Part I: Theory Randy Yates mailto:randy.yates@sonyericsson.com July 28, 2004 1 Contents 1 What Is A D/A Converter? 3 2 Delta Sigma Conversion Revealed 5 3 Oversampling
More informationAN2182 Application note
Application note Filters using the ST10 DSP library Introduction The ST10F2xx family provides a 16-bit multiply and accumulate unit (MAC) allowing control-oriented signal processing and filtering widely
More informationInside the Delta-Sigma Converter: Practical Theory and Application. Speaker: TI FAE: Andrew Wang
Inside the Delta-Sigma Converter: Practical Theory and Application Speaker: TI FAE: Andrew Wang Converter Resolution (bits) ADC Technologies 32 24 ~ 20 Delta Sigma 16 12 SAR Pipeline 8 10 100 1K 10K 100K
More informationFFT Analyzer. Gianfranco Miele, Ph.D
FFT Analyzer Gianfranco Miele, Ph.D www.eng.docente.unicas.it/gianfranco_miele g.miele@unicas.it Introduction It is a measurement instrument that evaluates the spectrum of a time domain signal applying
More informationFundamentals of Data Converters. DAVID KRESS Director of Technical Marketing
Fundamentals of Data Converters DAVID KRESS Director of Technical Marketing 9/14/2016 Analog to Electronic Signal Processing Sensor (INPUT) Amp Converter Digital Processor Actuator (OUTPUT) Amp Converter
More informationDigital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title
http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 2017 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date
More informationNoise removal example. Today s topic. Digital Signal Processing. Lecture 3. Application Specific Integrated Circuits for
Application Specific Integrated Circuits for Digital Signal Processing Lecture 3 Oscar Gustafsson Applications of Digital Filters Frequency-selective digital filters Removal of noise and interfering signals
More informationIntroduction to Real-Time Digital Signal Processing
Real-Time Digital Signal Processing. Sen M Kuo, Bob H Lee Copyright # 2001 John Wiley & Sons Ltd ISBNs: 0-470-84137-0 Hardback); 0-470-84534-1 Electronic) 1 Introduction to Real-Time Digital Signal Processing
More informationImproving Loop-Gain Performance In Digital Power Supplies With Latest- Generation DSCs
ISSUE: March 2016 Improving Loop-Gain Performance In Digital Power Supplies With Latest- Generation DSCs by Alex Dumais, Microchip Technology, Chandler, Ariz. With the consistent push for higher-performance
More informationOptimized Digital Filtering for the MSP430
Optimized Digital Filtering for the MSP430 Kripasagar Venkat MSP430 Applications Engineer Texas Instruments 006 Texas Instruments Inc, Slide 1 Agenda Broad classification of Filters Number representations
More informationProblem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Improving Signal Quality 3 24 Filter Bank Design 4 24 Potpourri Total 100
The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1 Date: March 7, 2014 Course: EE 445S Evans Name: Last, First The exam is scheduled to last 50 minutes. Open books
More informationImplementation of Decimation Filter for Hearing Aid Application
Implementation of Decimation Filter for Hearing Aid Application Prof. Suraj R. Gaikwad, Er. Shruti S. Kshirsagar and Dr. Sagar R. Gaikwad Electronics Engineering Department, D.M.I.E.T.R. Wardha email:
More informationMultirate Filtering, Resampling Filters, Polyphase Filters. or how to make efficient FIR filters
Multirate Filtering, Resampling Filters, Polyphase Filters or how to make efficient FIR filters THE NOBLE IDENTITY 1 Efficient Implementation of Resampling filters H(z M ) M:1 M:1 H(z) Rule 1: Filtering
More informationBrief Introduction to Signals & Systems. Phani Chavali
Brief Introduction to Signals & Systems Phani Chavali Outline Signals & Systems Continuous and discrete time signals Properties of Systems Input- Output relation : Convolution Frequency domain representation
More informationMusic 270a: Fundamentals of Digital Audio and Discrete-Time Signals
Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals Tamara Smyth, trsmyth@ucsd.edu Department of Music, University of California, San Diego October 3, 2016 1 Continuous vs. Discrete signals
More informationMultirate DSP, part 3: ADC oversampling
Multirate DSP, part 3: ADC oversampling Li Tan - May 04, 2008 Order this book today at www.elsevierdirect.com or by calling 1-800-545-2522 and receive an additional 20% discount. Use promotion code 92562
More informationEMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS
EMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS Diaa ElRahman Mahmoud, Abou-Bakr M. Youssef and Yasser M. Kadah Biomedical Engineering Department, Cairo University, Giza,
More informationTHIS work focus on a sector of the hardware to be used
DISSERTATION ON ELECTRICAL AND COMPUTER ENGINEERING 1 Development of a Transponder for the ISTNanoSAT (November 2015) Luís Oliveira luisdeoliveira@tecnico.ulisboa.pt Instituto Superior Técnico Abstract
More informationImplementation of CIC filter for DUC/DDC
Implementation of CIC filter for DUC/DDC R Vaishnavi #1, V Elamaran #2 #1 Department of Electronics and Communication Engineering School of EEE, SASTRA University Thanjavur, India rvaishnavi26@gmail.com
More informationAn Efficient and Flexible Structure for Decimation and Sample Rate Adaptation in Software Radio Receivers
An Efficient and Flexible Structure for Decimation and Sample Rate Adaptation in Software Radio Receivers 1) SINTEF Telecom and Informatics, O. S Bragstads plass 2, N-7491 Trondheim, Norway and Norwegian
More informationSAMPLING AND RECONSTRUCTING SIGNALS
CHAPTER 3 SAMPLING AND RECONSTRUCTING SIGNALS Many DSP applications begin with analog signals. In order to process these analog signals, the signals must first be sampled and converted to digital signals.
More informationChannelization and Frequency Tuning using FPGA for UMTS Baseband Application
Channelization and Frequency Tuning using FPGA for UMTS Baseband Application Prof. Mahesh M.Gadag Communication Engineering, S. D. M. College of Engineering & Technology, Dharwad, Karnataka, India Mr.
More informationRTTY: an FSK decoder program for Linux. Jesús Arias (EB1DIX)
RTTY: an FSK decoder program for Linux. Jesús Arias (EB1DIX) June 15, 2001 Contents 1 rtty-2.0 Program Description. 2 1.1 What is RTTY........................................... 2 1.1.1 The RTTY transmissions.................................
More informationCMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals
CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 16, 2006 1 Continuous vs. Discrete
More informationEE445L Fall 2015 Quiz 2 Page 1 of 5
EE445L Fall 2015 Quiz 2 Page 1 of 5 Jonathan W. Valvano First: Last: November 20, 2015, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,
More informationContinuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals
Continuous vs. Discrete signals CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 22,
More informationUsing High Speed Differential Amplifiers to Drive Analog to Digital Converters
Using High Speed Differential Amplifiers to Drive Analog to Digital Converters Selecting The Best Differential Amplifier To Drive An Analog To Digital Converter The right high speed differential amplifier
More informationSelect the Right Operational Amplifier for your Filtering Circuits
Select the Right Operational Amplifier for your Filtering Circuits 2003 Microchip Technology Incorporated. All Rights Reserved. for Low Pass Filters 1 Hello, my name is Bonnie Baker, and I am with Microchip.
More informationDiscrete-Time Signal Processing (DTSP) v14
EE 392 Laboratory 5-1 Discrete-Time Signal Processing (DTSP) v14 Safety - Voltages used here are less than 15 V and normally do not present a risk of shock. Objective: To study impulse response and the
More informationII Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing
Class Subject Code Subject II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing 1.CONTENT LIST: Introduction to Unit I - Signals and Systems 2. SKILLS ADDRESSED: Listening 3. OBJECTIVE
More informationDigital Filters - A Basic Primer
Digital Filters A Basic Primer Input b 0 b 1 b 2 b n t Output t a n a 2 a 1 Written By: Robert L. Kay President/CEO Elite Engineering Corp Notice! This paper is copyrighted material by Elite Engineering
More informationLow Power Microphone Acquisition and Processing for Always-on Applications Based on Microcontrollers
Low Power Microphone Acquisition and Processing for Always-on Applications Based on Microcontrollers Architecture I: standalone µc Microphone Microcontroller User Output Microcontroller used to implement
More informationTime Matters How Power Meters Measure Fast Signals
Time Matters How Power Meters Measure Fast Signals By Wolfgang Damm, Product Management Director, Wireless Telecom Group Power Measurements Modern wireless and cable transmission technologies, as well
More informationRapid Design of FIR Filters in the SDR- 500 Software Defined Radio Evaluation System using the ASN Filter Designer
Rapid Design of FIR Filters in the SDR- 500 Software Defined Radio Evaluation System using the ASN Filter Designer Application note (ASN-AN026) October 2017 (Rev B) SYNOPSIS SDR (Software Defined Radio)
More informationElectrical & Computer Engineering Technology
Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:
More informationASN Filter Designer Professional/Lite Getting Started Guide
ASN Filter Designer Professional/Lite Getting Started Guide December, 2011 ASN11-DOC007, Rev. 2 For public release Legal notices All material presented in this document is protected by copyright under
More informationData Logger Subsystems Mark Buccini February 2012
Data Logger Subsystems Mark Buccini February 2012 Full Disclosure Mark E. Buccini ULP Staff at TI 25+ years strategy, applications, marketing, sales, and management experience Lead MSP430 worldwide introduction
More informationAn Overview of Linear Systems
An Overview of Linear Systems The content from this course was hosted on TechOnline.com from 999-4. TechOnline.com is now targeting commercial clients, so the content, (without animation and voice) is
More informationExploring Decimation Filters
Exploring By Arash Loloee, Ph.D. An overview of decimation filters, along with their operation and requirements. Introduction Delta-sigma analog-to-digital converters (ADCs) are among the most popular
More informationGUJARAT TECHNOLOGICAL UNIVERSITY
Type of course: Compulsory GUJARAT TECHNOLOGICAL UNIVERSITY SUBJECT NAME: Digital Signal Processing SUBJECT CODE: 2171003 B.E. 7 th SEMESTER Prerequisite: Higher Engineering Mathematics, Different Transforms
More informationGrundlagen Microcontroller Analog I/O. Günther Gridling Bettina Weiss
Grundlagen Microcontroller Analog I/O Günther Gridling Bettina Weiss 1 Analog I/O Lecture Overview A/D Conversion Design Issues Representation Conversion Techniques ADCs in Microcontrollers Analog Comparators
More informationSummary Last Lecture
Interleaved ADCs EE47 Lecture 4 Oversampled ADCs Why oversampling? Pulse-count modulation Sigma-delta modulation 1-Bit quantization Quantization error (noise) spectrum SQNR analysis Limit cycle oscillations
More informationLesson 7. Digital Signal Processors
Lesson 7 Digital Signal Processors Instructional Objectives After going through this lesson the student would learn o Architecture of a Real time Signal Processing Platform o Different Errors introduced
More informationAUTOMATIC IMPLEMENTATION OF FIR FILTERS ON FIELD PROGRAMMABLE GATE ARRAYS
AUTOMATIC IMPLEMENTATION OF FIR FILTERS ON FIELD PROGRAMMABLE GATE ARRAYS Satish Mohanakrishnan and Joseph B. Evans Telecommunications & Information Sciences Laboratory Department of Electrical Engineering
More informationASC-50. OPERATION MANUAL September 2001
ASC-5 ASC-5 OPERATION MANUAL September 21 25 Locust St, Haverhill, Massachusetts 183 Tel: 8/252-774, 978/374-761 FAX: 978/521-1839 TABLE OF CONTENTS ASC-5 1. ASC-5 Overview.......................................................
More informationSignal Processing. Naureen Ghani. December 9, 2017
Signal Processing Naureen Ghani December 9, 27 Introduction Signal processing is used to enhance signal components in noisy measurements. It is especially important in analyzing time-series data in neuroscience.
More informationDSP-BASED FM STEREO GENERATOR FOR DIGITAL STUDIO -TO - TRANSMITTER LINK
DSP-BASED FM STEREO GENERATOR FOR DIGITAL STUDIO -TO - TRANSMITTER LINK Michael Antill and Eric Benjamin Dolby Laboratories Inc. San Francisco, Califomia 94103 ABSTRACT The design of a DSP-based composite
More informationDigital Channelized Wide Band Receiver Implemented with a Systolic Array of Multi-Rate FIR Filters
Wright State University CORE Scholar Browse all Theses and Dissertations Theses and Dissertations 2006 Digital Channelized Wide Band Receiver Implemented with a Systolic Array of Multi-Rate FIR Filters
More informationFinal Exam Solutions June 14, 2006
Name or 6-Digit Code: PSU Student ID Number: Final Exam Solutions June 14, 2006 ECE 223: Signals & Systems II Dr. McNames Keep your exam flat during the entire exam. If you have to leave the exam temporarily,
More information