Preview

Russian Technological Journal

Advanced search

Analysis of time software and hardware delays in audio module circuits with cyber-physical SPICE emulation

https://doi.org/10.32362/2500-316X-2025-13-5-51-62

EDN: NOGIBI

Abstract

Objectives. The study sets out to parametrically investigate the impact of time delays within cyber-physical emulation circuits for signal audio modules. Specifically, it examines how delays introduced by analog-to-digital and digital-to-analog converters of the hardware/software interface, the central processor, and the visual graphical emulation (VGE) software environment are influenced by factors like the selected data input-output protocol and the VGE block preset configurations such as sampling rate, buffer size and time, and the number of channels.
Methods. Used methods of architectural SPICE3 modeling of electrical circuits on the VGE Simulink software platforms leverage the resources of the Simscape library and LiveSPICE. Additional methods include those for incorporating differential equations in the numerical analysis of SPICE models designed for analog circuits and techniques for processing experimental data generated from cyber-physical emulation using the built-in Simulink environment and associated laboratory radio measurement tools.
Results. The study introduces a novel approach to emulate analog audio devices using cyber-physical SPICE modeling. Through the use of digital twins, the study investigates the impact of modifiable parameters on signal delays within audio module circuits during cyber-physical emulation. Based on these findings, technical guidelines are provided for selecting appropriate delay correction settings between 20 and 120 ms to ensure efficient highspeed audio signal post-processing.
Conclusions. By configuring the VGE software block’s settings identically to the ASIO4 data input/output protocol prevalent in audio interface technology (44.1 kHz sampling frequency, 8 buffer size) substantially decreased latency in typical audio module circuit nodes is achieved with cyber-physical emulation built into the VGE LiveSPICE environment. The achieved time delays of 5 ms direct transmission circuit contrast with the 7 ms latency observed in the cyber-physical emulation of the SPICE circuit when both are benchmarked within the VGE Simulink environment. The successful implementation of cyber-physical emulation for SPICE models is achieved through the use of particular settings, such as a 44.1 kHz sampling frequency, buffer sizes ranging from 512 to 1024 samples, and the use of the ASIO data input/output protocol.

About the Authors

N. R. Levchenko
MIREA – Russian Technological University
Russian Federation

Nikita R. Levchenko, Assistant, Department of Radio Wave Processes and Technologies, Institute of Radio Electronics and Informatics

78, Vernadskogo pr., Moscow, 119454


Competing Interests:

The authors declare no conflicts of interest



M. S. Kostin
MIREA – Russian Technological University
Russian Federation

Mihail S. Kostin, Dr. Sci. (Eng.), Associate Professor, Head of the Department of Radio Wave Processes and Technologies, Deputy Director, Institute of Radio Electronics and Informatics

78, Vernadskogo pr., Moscow, 119454


Competing Interests:

The authors declare no conflicts of interest.



References

1. Çilingiroğlu Uğur. Analog Integrated Circuit Design by Simulation: Techniques, Tools, and Methods. 1st ed. New York: McGraw-Hill Education. 2019. 576 p.

2. Anumba C.J., Akanmu A., Yuan X., Kan C. Cyber–physical systems development for construction applications. Front. Eng. Manag. 2021;8(1):72‒87. https://doi.org/10.1007/s42524-020-0130-4

3. Levchenko N.R., Kostin M.S. Stand for cyberphysical prototyping of signal audio modules. In: Actual Problems and Prospects of Development of Radio Engineering and Infocommunication Systems (RADIOINFOCOM-2024): Proceedings of the 8th International Scientific and Practical Conference. Moscow: RTU MIREA; 2024. Р. 507–511 (in Russ.).

4. Levchenko N.R. Plugin for cyberphysical prototyping of signal audio modules. In: Fundamental, Exploratory, Applied Research and Innovative Projects: Proceedings of the 3rd National Scientific and Practical Conference. Moscow. 2024. Р. 344–350 (in Russ.). https://elibrary.ru/omggfz

5. Levchenko N.R. Software interfaces for audio data transmission for cyber-physical SPICE-signal prototyping of audio modules. In: Fundamental, Exploratory, Applied Research and Innovative Projects: Proceedings of the National Scientific and Practical Conference. Moscow. 2023. Р. 394–398 (in Russ.). https://elibrary.ru/pbtjgd

6. Levchenko N.R., Kostin M.S. Cyberphysical prototyping of signal audio modules. In: Actual Problems and Prospects of Development of Radio Engineering and Infocommunication Systems (RADIOINFOCOM-2023): Proceedings of the 7th International Scientific and Practical Conference. Moscow: RTU MIREA; 2023. Р. 347–350 (in Russ.). https://www.elibrary.ru/oykued

7. Cordell B. Designing Audio Power Amplifiers. Routledge; 2019. 792 p.

8. Petlenko D.B., Yarlykov A.D., Boikov K.A. Analogo-tsifrovye preobrazovateli signal’nykh audiointerfeisov (Analog-to-Digital Converters of Signal Audio Interfaces). Moscow: Reglet; 2023. 65 p. (in Russ.).

9. Self D. Small Signal Audio Design: 4th ed. Focal Press; 2023. 846 p. https://doi.org/10.4324/9781003332985

10. Bennett C.L. Digital Audio Theory: A Practical Guide: 1st ed. Focal Press; 2020. 254 p. https://doi.org/10.4324/9780429297144

11. Steiglitz K. A Digital Signal Processing Primer: with Applications to Digital Audio and Computer Music. New York, USA: Dover Publications Inc.; 2020. 320 p.

12. Petlenko D.B., Yarlykov A.D., Boikov K.A. Tsifrovye metody sekvensornoi ekvalizatsii audiosignalov radioakusticheskikh system (Digital Methods of Sequencer Equalization of Audio Signals of Radioacoustic Systems). Moscow: Reglet; 2023. 109 p. (in Russ.).

13. Collins K. Studying Sound: A Theory and Practice of Sound Design. London, England: The MIT Press; 2020. 248 p.

14. Kamenov A. Digital Signal Processing for Audio Applications: 2nd ed. RecordingBlogs; 2014. 348 p.

15. Cipriani A., Giri M. Electronic Music and Sound Design: Theory and Practice with Max 8. V. 2. 3rd ed. ConTempoNet; 2020. 748 p.

16. Kovalgin Yu.A., Vakhitov Sh.Ya. Akustika (Acoustics). Moscow: Goryachaya liniya – Telekom; 2022. 660 p. (in Russ.).

17. Pirkle W.C. Designing Audio Effect Plugins in C++: for AAX, AU, and VST3 with DSP Theory: 2nd ed. New York, USA: Routledge; 2019. 704 p.

18. Gevorsky A.V., Kostin M.S., Boikov K.A. Software-architectural configuration of the multifunctional audio digital signal processor module for signal mediatesting of audio devices. Russ. Technol. J. 2024;12(1):30–58. https://doi.org/10.32362/2500-316X-2024-12-1-30-58

19. Oney W. Programming the Microsoft® Windows® Driver Model: 2nd ed. Microsoft Press; 2002. 880 p.

20. Yosifovich P. Windows Kernel Programming. Independently published; 2021. 461 p.


Review

For citations:


Levchenko N.R., Kostin M.S. Analysis of time software and hardware delays in audio module circuits with cyber-physical SPICE emulation. Russian Technological Journal. 2025;13(5):51-62. https://doi.org/10.32362/2500-316X-2025-13-5-51-62. EDN: NOGIBI

Views: 14


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2782-3210 (Print)
ISSN 2500-316X (Online)