The Simplest Digital Filter (STM32 Implementation) - Phil's Lab #92
82.1 هزار بار بازدید -
2 سال پیش
-
How to implement a simple
How to implement a simple digital filter (low-pass and high-pass exponential moving average (EMA)) on a real-time embedded system (STM32 + audio codec). Useful for noise reduction, removing DC offsets, and more in simple situations.
Discussion on filter basics, advantages & disadvantages, theory, implementation in C, and real-time time- and frequency-domain tests.
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab
PCBs manufactured and assembled by PCBWay: https://www.pcbway.com
Patreon: Patreon: phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
https://github.com/pms67
[LINKS]
Instagram: Instagram: philslabyt
[TIMESTAMPS]
00:00 Introduction
00:44 Altium Designer Free Trial
01:15 What We'll Look At
01:47 EMA Filter Basics
03:40 Digital Filter Basics
05:03 Low-Pass Filter Theory
08:36 Filter Coefficient Effect on Frequency Response (Alpha)
09:57 Software Implementation in C (Low-Pass)
13:11 Low-Pass Filter Real-Time Test
16:39 High-Pass Filter Theory
18:32 Filter Coefficient Effect on Frequency Response (Beta)
19:11 Software Implementation in C (High-Pass)
20:23 High-Pass Filter Real-Time Test
23:04 Outro
Discussion on filter basics, advantages & disadvantages, theory, implementation in C, and real-time time- and frequency-domain tests.
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab
PCBs manufactured and assembled by PCBWay: https://www.pcbway.com
Patreon: Patreon: phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
https://github.com/pms67
[LINKS]
Instagram: Instagram: philslabyt
[TIMESTAMPS]
00:00 Introduction
00:44 Altium Designer Free Trial
01:15 What We'll Look At
01:47 EMA Filter Basics
03:40 Digital Filter Basics
05:03 Low-Pass Filter Theory
08:36 Filter Coefficient Effect on Frequency Response (Alpha)
09:57 Software Implementation in C (Low-Pass)
13:11 Low-Pass Filter Real-Time Test
16:39 High-Pass Filter Theory
18:32 Filter Coefficient Effect on Frequency Response (Beta)
19:11 Software Implementation in C (High-Pass)
20:23 High-Pass Filter Real-Time Test
23:04 Outro
2 سال پیش
در تاریخ 1401/11/01 منتشر شده
است.
82,182
بـار بازدید شده