Building a Digital Filter: How it works + Simulation + Example
Robert Feranec
Everything important you need to know to start designing your own digital filters. Thank you very much C. Daniel Boschen.
Links:
- Daniel's Linked In: https://www.linkedin.com/in/danboschen/
- PCB Simulation vs. Real Board - DC Currents and Voltage drop https://youtu.be/LQ20GBonRmA
- FEDEVEL courses: https://fedevel.com/courses
Links to Dan Boschen's Courses: https://ieeeboston.org/courses/ https://www.dsprelated.com/courses
Other relevant links: Microchip MPLAB: https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide Anaconda Distribution (includes Python tools and Jupyter Notebook): https://www.anaconda.com/download SAM E51 Curiosity Nano Evaluation Kit: https://www.microchip.com/en-us/development-tool/ev76s68a PMOD I2S2 ADC/DAC: https://digilent.com/reference/pmod/pmodi2s2/
Music used in the demo: ISRC: USUAN1900041 Uploaded: 2019-12-18 credits: "Adding the Sun" Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 4.0 License http://creativecommons.org/licenses/by/4.0/
Chapters: 00:00 What is this video about 00:40 Our example explained 04:19 How filters work 07:48 What is a digital filter 10:46 Basic elements of digital filters 13:08 How filters manipulate with signal 15:00 Feed-forward (FIR) filter 19:39 Feed-back (IIR) filter 23:36 Biquad - Second Order Section (SOS) 28:49 The hardware we used 33:09 DMA explained 42:30 Audio file before filtering 44:16 Calculating filter coefficients 47:03 Our filter frequency response 48:59 Audio file after filtering 49:59 Explained how our filter works 54:52 C code of our filter 57:49 Daniel's courses 1:00:35 Setup for simulation - Jupyter and anaconda 1:05:14 Simulation - Initialization 1:10:38 Simulation - Showing the spectrum 1:13:04 Simulation - The filter 1:22:35 Simulation - Filtering audio file 1:25:47 Simulation - C code of filter 1:28:06 Explaining the code in microcontroller 1:34:33 The filter in C code of microcontroller 1:37:50 How to do this by yourself
Would you like to support me? It's simple:
- Sign up for online courses hosted on our platform: https://fedevel.com/
- You can also support me through Patreon: https://www.patreon.com/robertferanec
- FEDEVEL Discord: https://discord.gg/8a8dUcHmrx
It is much appreciated. Thank you,
- Robert ... https://www.youtube.com/watch?v=Aq_SOvR1Sxs
327788821 Bytes