Details

Analiza napajalnega toka mikrokrmilnikov
ID Drešar, Nik (Author), ID Tuma, Tadej (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (3,24 MB)
MD5: 6966AF6A0D77C0BE4D4881D26788698E

Abstract
Merjenje napajalnega toka je pri razvoju vgrajenih sistemov ključnega pomena, saj omogoča analizo energetskega profila naprave v njenih različnih stanjih delova- nja. Mikrokrmilniki običajno večino časa preživijo v stanju nizke porabe (spanja), kjer se poraba meri v mikroamperih (µA), ob prebujanju in izvajanju nalog pa tok nenadno naraste na več deset ali sto miliamperov (mA). Zajem tako visoko dinamične porabe je s klasičnim ampermetrom nemogoč, profesionalne naprave za tovrstne meritve pa so cenovno težko dostopne. Cilj naloge je bil zasnovati namensko merilno napravo, ki omogoča analizo tokovnega profila mikrokrmilnikov brez uporabe drage profesionalne opreme. V ta namen sta bila načrtovana namensko tiskano vezje in programska koda. Sis- tem temelji na uporabi več merilnih uporov in logiki samodejnega preklapljanja merilnih območij na mikrokrmilniku, pri čemer je za hitrejše zaznavanje tokovnih konic uporabljen strojni analogni čuvaj (angl. analog watchdog). Delovanje razvite naprave je bilo preizkušeno na baterijskem merilniku tem- perature in vlage ter na razvojni ploščici mikrokrmilnika ESP32-C3 z enostavnim testnim programom. Z uporabo merilnika je bila poraba ploščice ESP32-C3 v stanju spanja postopoma znižana s prvotnih 350 µA na zgolj 7 µA. Zmanjšanje porabe je bilo doseženo najprej z odstranitvijo indikatorske svetleče diode (LED) za napajanje, pozneje pa še z odstranitvijo linearnega napetostnega regulatorja.

Language:Slovenian
Keywords:analiza porabe, napajalni tok, merilni upor, nadvzorčenje, STM32
Work type:Bachelor thesis/paper
Organization:FE - Faculty of Electrical Engineering
Year:2026
PID:20.500.12556/RUL-191475 This link opens in a new window
Publication date in RUL:19.11.2026
Views:36
Downloads:4
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Analysing Microcontroller Supply Currents
Abstract:
Measuring supply current is crucial in the development of embedded systems, as it enables the analysis of a device’s energy profile across its various operating states. Microcontrollers usually spend the majority of their time in low-power (sleep) states, where consumption is typically measured in microamperes (µA). However, upon waking up and executing tasks, the current suddenly spikes to tens or hundreds of milliamperes (mA). Capturing such highly dynamic power con- sumption is impossible with a conventional ammeter, and professional equipment for these measurements is typically cost-prohibitive. The objective was to design a dedicated measuring device that allows for the analysis of microcontroller current profiles without relying on expensive pro- fessional equipment. To this end, a custom printed circuit board (PCB) and accompanying software were developed. The system is based on multiple shunt resistors and automatic range-switching logic on the microcontroller, utilizing a hardware analog watchdog for the rapid detection of current spikes. The operation of the developed device was tested on a battery-powered tem- perature and humidity meter, as well as on an ESP32-C3 microcontroller devel- opment board running a simple test program. With the help of the developed meter, the sleep-mode current of the ESP32-C3 board was gradually reduced from an initial 350 µA to just 7 µA. This reduction in consumption was achieved first by removing the power indicator light-emitting diode (LED), and later by removing the linear voltage regulator.

Keywords:power analysis, supply current, shunt resistor, oversampling, STM32

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back