Features of calculating computing time when designing digital filters on STM32F103 microcontrollers from STMicroelectronics Corporation

The article is devoted to the creation of a method for estimating the frequency range of signals when designinga digital filter (DF) by measuring the calculation time of the current reference in the system of a digital low-pass filter(LPF) with a finite impulse response (FIR) on the STM32F103C8T6 microcontroller.A setup for studying the filter has been developed, which includes: a generator of sinusoidal signals; an inputcircuit to ensure the supply of positive values to the ADC input; the STM23F103C8T6 microcontroller module itself,which processes the input signal in real time and implements the filtering function.The microcontroller timer is configured to generate interrupts for sampling the input signal with a samplingfrequency of 35.15 kHz. A program code has been created to ensure the minimum conversion time during the filteringprocess.A software implementation of the FIR low-pass filter with a cutoff frequency of 800 Hz has been performed. Theimplementation of a filter with an order from units to hundreds is provided. The amplitude-frequency characteristics(AFC) of low- and high-order filters have been analyzed. A method has been developed for determining the period ofexecution of the convolution calculation by the microcontroller, which is the basis of the filtering process. A timersetting code has been developed for measuring time and displaying the result on the display in real time.The simplest convolution calculation algorithm has been selected and implemented in the C++ programminglanguage. The results of measurements of the convolution calculation time by the STM32F10С8Т6 microcontroller havebeen obtained depending on different orders of the digital filter. The results can be used to determine the requiredperiod (frequency) of signal sampling. Accordingly, they allow us to estimate the maximum frequency range of thesignal that can be processed in real time by a digital filter of the selected order.

Authors

Institutions

Publication Details

Journal
Communication informatization and cybersecurity systems and technologies
Published
2025-05-15
DOI
https://doi.org/10.58254/viti.7.2025.04.44
Primary Topic
Engineering Technology and Methodologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Features of calculating computing time when designing digital filters on STM32F103 microcontrollers from STMicroelectronics Corporation

А. Н. Королев, D. Luxurious, A. Matsayenko
Communication informatization and cybersecurity systems and technologies
Engineering Technology and Methodologies
article

Features of calculating computing time when designing digital filters on STM32F103 microcontrollers from STMicroelectronics Corporation

А. Н. Королев, D. Luxurious, A. Matsayenko
article en

Abstract

The article is devoted to the creation of a method for estimating the frequency range of signals when designinga digital filter (DF) by measuring the calculation time of the current reference in the system of a digital low-pass filter(LPF) with a finite impulse response (FIR) on the STM32F103C8T6 microcontroller.A setup for studying the filter has been developed, which includes: a generator of sinusoidal signals; an inputcircuit to ensure the supply of positive values to the ADC input; the STM23F103C8T6 microcontroller module itself,which processes the input signal in real time and implements the filtering function.The microcontroller timer is configured to generate interrupts for sampling the input signal with a samplingfrequency of 35.15 kHz. A program code has been created to ensure the minimum conversion time during the filteringprocess.A software implementation of the FIR low-pass filter with a cutoff frequency of 800 Hz has been performed. Theimplementation of a filter with an order from units to hundreds is provided. The amplitude-frequency characteristics(AFC) of low- and high-order filters have been analyzed. A method has been developed for determining the period ofexecution of the convolution calculation by the microcontroller, which is the basis of the filtering process. A timersetting code has been developed for measuring time and displaying the result on the display in real time.The simplest convolution calculation algorithm has been selected and implemented in the C++ programminglanguage. The results of measurements of the convolution calculation time by the STM32F10С8Т6 microcontroller havebeen obtained depending on different orders of the digital filter. The results can be used to determine the requiredperiod (frequency) of signal sampling. Accordingly, they allow us to estimate the maximum frequency range of thesignal that can be processed in real time by a digital filter of the selected order.

Communication informatization and cybersecurity systems and technologiesVol. 1(7)
Weatherford College (US)
Openalex Percentile: Top 83%
Engineering Technology and Methodologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.