Next Article in Journal
A Source-to-Source Compiler to Enable Hybrid Scheduling for High-Level Synthesis
Previous Article in Journal
Hyperspectral Imaging System Applications in Healthcare
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Generator of Aperiodic Pseudorandom Pulse Trains with Variable Parameters Based on Arduino

by
Nebojša Andrijević
1,*,
Zoran Lovreković
2,
Marina Milovanović
3,
Dragana Božilović Đokić
4 and
Vladimir Tomašević
5
1
Faculty of Economics and Engineering Management, University Business Academy in Novi Sad, Cvećarska 2, 21102 Novi Sad, Serbia
2
Faculty of Technical Sciences, Department of Energy, Electronics and Telecommunications, University of Novi Sad, Dr Zorana Đinđića 1, 21000 Novi Sad, Serbia
3
Faculty of Informatics and Computing, Singidunum University, Danijelova 32, 11010 Belgrade, Serbia
4
Faculty of Computer Sciences, PIM University, 78012 Banja Luka, Bosnia and Herzegovina
5
School of Engineering Management, Bulevar Vojvode Mišića 43, 11000 Belgrade, Serbia
*
Author to whom correspondence should be addressed.
Electronics 2025, 14(23), 4577; https://doi.org/10.3390/electronics14234577 (registering DOI)
Submission received: 27 October 2025 / Revised: 16 November 2025 / Accepted: 20 November 2025 / Published: 22 November 2025

Abstract

Aperiodic pseudo-random impulse (APPI) trains represent deterministic yet reproducible sequences that mimic the irregularity of natural processes. They allow complete control over inter-spike intervals (ISIs) and pulse widths (PWs). Such signals are increasingly relevant for low-probability-of-intercept (LPI) communications, radar testing, and biomedical applications, where controlled variability mitigates adaptation and enhances stimulation efficiency. This paper presents a modular APPI generator implemented on an Arduino Mega platform, featuring programmable statistical models for ISI (exponential distribution) and PW (uniform distribution), dual-timing mechanisms (baseline loop and Timer/ISR, clear-timer on compare (CTC)), a real-time telemetry and software interface, and a safe output chain with opto-isolation and current limitation. The generator provides both reproducibility and tunable stochastic dynamics. Experimental validation includes jitter analysis, Kolmogorov–Smirnov tests, Q–Q plots, spectral and autocorrelation analysis, and load integration using a constant-current source with compliance margins. The results demonstrate that the Timer/ISR (CTC) implementation achieves significantly reduced jitter compared to the baseline loop, while maintaining the statistical fidelity of ISI and PW distributions, broad spectral characteristics, and fast decorrelation. Experimental verification was extended across a wider parameter space (λ = 0.1–100 Hz, PW = 10 µs–100 ms, 10 repetitions per condition), confirming robustness and repeatability. Experimental validation confirmed accurate Poisson/Uniform ISI generation, sub-millisecond jitter stability in the timer-controlled mode, robustness across λ = 0.1–100 Hz and PW = 10 µs–100 ms, and preliminary compliance with isolation and leakage limits. The accompanying Python GUI provides real-time control, telemetry, and data-logging capabilities. This work establishes a reproducible, low-cost, and open-source framework for APPI generation, with direct applicability in laboratory and field environments.
Keywords: aperiodic pseudo-random impulse trains (APPI); Arduino Mega; Poisson process; inter-spike interval (ISI); pulse width modulation; Timer/ISR (CTC) jitter reduction; constant-current stimulation; opto-isolation; low-probability-of-intercept (LPI) radar; neurostimulation aperiodic pseudo-random impulse trains (APPI); Arduino Mega; Poisson process; inter-spike interval (ISI); pulse width modulation; Timer/ISR (CTC) jitter reduction; constant-current stimulation; opto-isolation; low-probability-of-intercept (LPI) radar; neurostimulation

Share and Cite

MDPI and ACS Style

Andrijević, N.; Lovreković, Z.; Milovanović, M.; Božilović Đokić, D.; Tomašević, V. Generator of Aperiodic Pseudorandom Pulse Trains with Variable Parameters Based on Arduino. Electronics 2025, 14, 4577. https://doi.org/10.3390/electronics14234577

AMA Style

Andrijević N, Lovreković Z, Milovanović M, Božilović Đokić D, Tomašević V. Generator of Aperiodic Pseudorandom Pulse Trains with Variable Parameters Based on Arduino. Electronics. 2025; 14(23):4577. https://doi.org/10.3390/electronics14234577

Chicago/Turabian Style

Andrijević, Nebojša, Zoran Lovreković, Marina Milovanović, Dragana Božilović Đokić, and Vladimir Tomašević. 2025. "Generator of Aperiodic Pseudorandom Pulse Trains with Variable Parameters Based on Arduino" Electronics 14, no. 23: 4577. https://doi.org/10.3390/electronics14234577

APA Style

Andrijević, N., Lovreković, Z., Milovanović, M., Božilović Đokić, D., & Tomašević, V. (2025). Generator of Aperiodic Pseudorandom Pulse Trains with Variable Parameters Based on Arduino. Electronics, 14(23), 4577. https://doi.org/10.3390/electronics14234577

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop