UDC 656.25 UDC 004.451

ADAPTATION OF THE LINUX OPERATING SYSTEM KERNEL FOR MICROPROCESSOR-BASED INTERLOCKING SYSTEM Adaptation of the Linux Operating System Kernel for Microprocessor-Based Interlocking System

Published in Transport automation research · Volume 12, Issue 3, 2026 · Pages 193–201 · Rubric: VIABILITY, RELIABILITY, SAFETY
DOI: https://doi.org/10.20295/2412-9186-2026-12-03-193-201
Received: 18.09.2026 Accepted: 20.09.2026 Published: 20.09.2026
Authors
the article examines the specific aspects of using the Linux operating system in a microprocessorbased interlocking system built on microcomputers and programmable controllers using industrial controllers with x86 architecture processors. Particular attention is paid to ensuring the required timing characteristics of the software platform necessary for the operation of a duplicated central logic controller structure based on the 2oo2 architecture. It is shown that the use of a standard Linux configuration is not optimal for a specialized industrial system with stringent responsetime requirements. The approaches to scaling the Linux kernel, enabling kernel preemption using CONFIG_PREEMPT, using high-resolution timers, and applying the realtime scheduling policy SCHED_FIFO for timecritical application processes are considered. To evaluate the timing characteristics of the software platform, both the standard cyclictest benchmark and specialized test software performing data exchange between central logic controllers via Ethernet are proposed. An approach to the experimental evaluation of operating system response time and the interaction time between application processes is presented.
Linux, CONFIG_PREEMPT, SCHED_FIFO, high-resolution timer, real-time system, system response time, railway automation and remote control systems, safety-critical control systems, train control system
Text References
Text (PDF)
Read Download

1. Sapozhnikov V. V., Nikitin A. B. Mikroprocessornaya sistema elektricheskoy centralizacii MPC-MPK // Nauka i transport. 2009. № S. S. 18–21. EDN VBNHVV

2. Daud A., Kvashnin V. M. Linux v sistemah real'nogo vremeni: podhody, vozmozhnosti i analiz proizvoditel'nosti // Vestnik nauki. 2024. T. 4, № 12 (81). S. 1580–1591. EDN DKXHYC

3. Yakushev A. Ya., Plaks A. V., Oparina E. V. Povyshenie bezopasnosti mikroprocessornoy podsistemy upravleniya apparatami elektropodvizhnogo sosta- va // Izvestiya Peterburgskogo universiteta putey soobscheniya. 2015. № 4 (45). S. 85–92. EDN VJKBYT

4. Volosatova T. M., Kiselev I. A., Knyazeva S. V. Mnogo- potochnaya obrabotka v POSIX-standarte // Vostochno- Evropeyskiy nauchnyy zhurnal. 2021. № 12–3 (76). S. 37–39. DOI:https://doi.org/10.31618/ESSA.2782-1994.2021.3.76.214. EDN CDWIMS

5. Linux Kernel Documentation. High-ResolutionTimersand Dynamic Ticks Design Notes. URL: https://docs.kernel. org/timers/highres.html (data obrascheniya: 25.05.2026).

6. Linux Kernel Documentation. Hrtimers — Subsystem for High-Resolution Kernel Timers. URL: https://docs. kernel.org/timers/hrtimers.html (data obrascheniya: 25.05.2026).

7. Devyanin P. N., Telezhnikov V. Yu., Horoshilov A. V. Formirovanie metodologii razrabotki bezopasnogo sistemnogo programmnogo obespecheniya na primere operacionnyh sistem // Trudy Instituta sistemnogo programmirovaniya RAN. 2021. T. 33, № 5. S. 25–40. DOI:https://doi.org/10.15514/ISPRAS-2021-33(5)-2. EDN WBXBTQ

8. Linux Kernel Documentation. RealTime Preemption (PREEMPT_RT). URL: https://docs.kernel.org/core-api/ realtime/ (data obrascheniya: 25.05.2026).

9. Linux Kernel Documentation. How Realtime Kernels Differ. URL: https://www.kernel.org/doc/html/latest/ corapi/realtime/differences.html (data obrascheniya: 25.05.2026).

10. Overview of CPU Scheduling. Linux Man-Pages. URL: https://man7.org/linux/man-pages/man7/sched.7.html (data obrascheniya: 25.05.2026).

11. Linux Kernel Documentation. Clock Sources, Clock Events, Sched_Clock() and Delay Timers. URL: https://docs.ker- nel.org/timers/timekeeping.html (data obrascheniya: 25.05.2026).

12. Cyclictest. High-Resolution Test Program. URL: https:// github.com/jlelli/rt-tests/blob/master/src/cyclictest/ cyclictest.8 (data obrascheniya: 25.05.2026).

13. Real-Time Field Bus Systems with Linux. URL: https://pub. tik.ee.ethz.ch/students/2015-HS/SA-2015-21.pdf (data obrascheniya: 25.05.2026).

14. Overview of CPU Scheduling. Linux Man-Pages. URL: https://man7.org/linux/man-pages/man7/sched.7.html (data obrascheniya: 25.05.2026).

15. An EEVDF CPU Scheduler for Linux. URL: https://lwn.net/ Articles/925371/ (data obrascheniya: 25.05.2026).