Next Article in Journal
Aluminum Surface Quality Prediction Based on Support Vector Machine and Three Axes Vibration Signals Acquired from Robot Manipulator Grinding Experiment
Previous Article in Journal
High-Efficiency Direct Torque Control of Induction Motor Driven by Three-Level VSI for Photovoltaic Water Pumping System in Kairouan, Tunisia: MPPT-Based Fuzzy Logic Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Integrated Mathematical Model for Ensuring Train Traffic Safety in a Centralised Dispatching System Based on Control Theory, Based on Finite-State Automata

by
Sunnatillo T. Boltayev
*,
Bobomurod B. Rakhmonov
,
Obidjon O. Muhiddinov
,
Sohibjamol I. Valiyev
,
Muxammadaziz Y. Xokimjonov
,
Eldorbek G. Khujamkulov
,
Sherzod F. Kholboev
and
Egamberdi Sh Joniqulov
Department of Automation and Remote Control, Tashkent State Transport University, Tashkent 100167, Uzbekistan
*
Author to whom correspondence should be addressed.
Automation 2026, 7(2), 54; https://doi.org/10.3390/automation7020054
Submission received: 28 January 2026 / Revised: 2 March 2026 / Accepted: 13 March 2026 / Published: 24 March 2026
(This article belongs to the Section Smart Transportation and Autonomous Vehicles)

Abstract

This paper presents an integrated mathematical model to improve the safety and operational efficiency of train traffic in centralised railway dispatching systems. The proposed approach combines the alternative graph model with a Mealy automaton to synchronously address route planning, delay minimisation, and strict compliance with safety requirements. Formal control theory based on finite-state automata is employed to describe routing logic and signal control through state transitions, while the alternative graph model represents scheduling constraints and resource conflicts. To enhance real-time adaptability, a tabu search algorithm is implemented for train schedule optimisation, enabling dynamic rescheduling under changing operational conditions. The mathematical formulation incorporates blocking time parameters, a system of discrete constraints, and automaton-based safety conditions governing train movements and route authorisation. The integrated model explicitly formalises the processes of block section occupation and release, ensuring consistency between control logic and scheduling decisions. Practical testing and computational experiments demonstrate that the proposed approach effectively reduces train delays, improves the reliability of dispatch control, and increases system resilience to dynamic disturbances. The results confirm that the developed model can be implemented within existing centralised dispatching infrastructures without requiring a complete system overhaul. Overall, the proposed framework expands the functional capabilities of centralised dispatch systems by enabling efficient schedule generation, minimising the propagation of delays, and ensuring reliable command exchange between central control posts and field-level railway infrastructure.

1. Introduction

Centralised dispatch control systems play a crucial role in the organisation of train traffic and the assurance of operational safety in railway transport [1]. The primary objectives of such systems include the efficient coordination of train movements [2], the prevention of conflicts, and the timely response to disruptions while maintaining strict compliance with safety regulations. In recent years, the rapid growth of railway traffic volumes, increasing network density, and the integration of high-speed and conventional rail services have significantly increased the complexity of dispatch control tasks [3]. As a result, dispatchers are required to process large volumes of heterogeneous data and make real-time decisions under conditions of uncertainty and time pressure [4].
One of the major challenges in modern railway operations is the minimisation of train delays while simultaneously managing route [5] assignments and resource utilisation. Disturbances such as equipment failures, infrastructure constraints, and unplanned changes in traffic demand can propagate through the network and negatively affect overall system performance [6]. Traditional dispatching methods, which are often based on fixed rules or manual intervention, are limited in their ability to respond effectively to such dynamic situations, particularly in large-scale and heavily utilised networks [7]. This limitation has motivated the development of formal mathematical models that provide systematic and computationally efficient support for dispatch decision-making [8].
From an applied mathematics perspective, railway dispatch control can be formulated as a discrete-event scheduling and control problem with multiple conflicting constraints [9]. The problem involves the allocation of shared resources, such as tracks and stations, the determination of precedence relations among trains, and the enforcement of safety constraints that govern train separation and routing [10]. Mathematical modelling of these processes enables a rigorous analysis of system behaviour and facilitates the development of algorithms capable of generating feasible and near-optimal solutions in real time.
Among the mathematical tools employed for such purposes, the alternative graph model has been widely used to represent scheduling problems characterised by conflicts and choices [11]. This model provides a compact and expressive framework for describing precedence constraints, resource-sharing relationships, and feasible routing options [12]. In parallel, formal control theory based on finite-state automata offers a well-established method for modelling control logic through state transitions triggered by events and system inputs. The use of automata allows the formalisation of safety rules, operational protocols, and decision-making logic in a mathematically precise manner.
The integration of the alternative graph model with formal control theory based on finite-state automata creates a unified mathematical framework that combines structural network modelling with dynamic control mechanisms. This integration enables the systematic resolution of conflicts, the prioritisation of routes, and the enforcement of safety constraints within a single computational framework [13]. Moreover, such a combined approach supports the development of optimised algorithms capable of responding rapidly to changes in operating conditions, which is essential for real-time dispatch control.
This paper develops optimised algorithmic approaches for centralised railway dispatch control based on the integrated use of the alternative graph model and formal control theory based on finite-state automata. The proposed methods are designed to support real-time decision-making by enabling efficient processing of large data sets, minimising train delays, and ensuring safe and reliable train operations. In addition to the theoretical formulation, the paper discusses practical aspects of implementing the proposed algorithms within existing dispatch control systems [14]. The presented results demonstrate the potential of the developed approach to enhance the performance, robustness, and scalability of modern railway dispatch systems, contributing to the advancement of applied mathematical methods in transport control and optimisation.
The novelty of this work lies in the formal integration of alternative graph-based scheduling with Mealy automaton-based safety control, enabling synchronised optimisation and verification within a single mathematical framework.

2. Problems of Real-Time Train Control and Monitoring

Real-time train control has been available since the inception of rail transport [15]. Currently, train movement is almost universally monitored and regulated [16] primarily through signalling, interlocking, and blocking systems (SIBs). SIBs can perform important tasks such as selecting the direction of travel and determining a safe distance between trains. Train safety depends on defining a safe zone in real time around each train and ensuring that no other trains are within these zones [17]. A train route on a railway can be viewed as a sequence of track sections. Each track section is shown to be occupied, and the travel time is calculated in the literature. These intermediate values depend on the length, speed, stopping time, and many other factors of the moving train. In rail transport, due to the limited number of track sections and sections, it is advisable to take into account or calculate the time after the train begins moving to its destination. This allows for the assessment of the impact of unexpected train delays on the movement of other trains [18]. A pressing issue in train traffic management on a section is the need to determine the route sequence and make planning decisions to minimise the impact of delays.
The main goal of automating the centralised dispatch system (CDS) is to improve train schedules and expand the capabilities of station route generation based on them [19]. At the same time, taking into account train priority, it will be necessary to reduce the mutual influence of train schedules and eliminate various types of interference [20]. This will minimise train schedule delays [21].
When operationally managing train traffic on rail transport, it is necessary to consider train routes, track occupancy times, and potential conflict situations [22]. To this end, alongside expanding the functionality of train dispatcher (DNC) traffic management systems [23] that manage transportation processes [24], several mathematical models and algorithmic methods are used to model the process and solve problems [25]. First, we will examine how a system based on the mathematical theory of blocking time, an alternative graph model, and search algorithms enables the detection and resolution of conflict situations that arise in train traffic [26].
Train traffic safety involves creating a safe zone around each train and preventing other trains from entering this zone [8]. Railroad traffic can be viewed as a sequence of sections and segments [27]. Each section and segment takes a certain amount of time, which depends on the train’s length, speed, stopping time, and other factors [28]. A key task in traffic management is to minimise the impact of one train’s delays on the movement of others. Mathematical models are used for this purpose, including blocking time theory, the alternative graph model, and the tabu search algorithm [12,25]. These methods allow for the identification and resolution of potential traffic conflicts. According to safety requirements, when a train passes through a certain section of track, that section is completely blocked and cannot be used by other trains. Blocking time is defined as the interval from the moment a train occupies the blocking section until it is completely cleared and a safe distance is established. For the mathematical description, the model takes into account additional time intervals:
driver’s perception and reaction time τ k r ;
traffic light change time τ s v ;
reserve time τ r e s .
Their sum forms the value of the blocking time for each section in the following Expression (1). τ b t is considered as
τ b t = τ k r + τ s v + τ r e s
To incorporate the above laws into a mathematical model, we use the alternative graph theory. This model is one of the main mathematical models for constructing train schedules. It was first proposed by Mascis and Pacciarelli [14]. In alternative graph theory, the events of each train entering and leaving a block section are described by a separate graph. The train’s sequential passage through block sections along the route is regulated by directional arcs (arcs reflect the duration of the train’s travel along the block section). If the calculation determines that two or more trains will arrive at a certain section simultaneously, a pair of arcs with opposite directions is added to account for possible conflicts (Figure 1).
Figure 1. Alternative graph model.
Figure 1. Alternative graph model.
Automation 07 00054 g001
  • where A i n ,   B i n —the event of Trains A and B arriving at the block section, and A o u t ,   B o u t —the event of Trains A and B leaving the block section. Arcs directed in different directions represent two different options:
-
In the black directed arc, Train A goes first, and Train B follows;
-
In the green directed arc, Train B goes first, and Train A follows.
When one of the alternatively directed arcs is selected, the conflict is resolved, and the other directed arc is automatically rejected.
The tabu search algorithm has also been used in scientific research. Tabu search is one of the most common approaches to solving complex problems [2]. A special search method for rerouting trains has been described in the literature (Figure 2).
Initially, a planned train schedule is generated. In this case, the selected route is given priority to allow each train to pass through the station without stopping on the main track. The detection algorithm then selects an alternative route for each train. It also rebuilds the new schedule. If the result improves, it accepts it; otherwise, it moves on to another option. The reason for choosing this algorithm is that it includes tried options in a list of prohibited ones, thereby preventing the same solution from being tried twice. As a result, the calculation time is somewhat reduced.
Based on the above, the control problem in a distributed computing system can be expressed as a discrete optimisation problem. The goal is to minimise the longest path length in the graph, i.e., to minimise the longest delay.
Formal model of an automaton
We model the possibilities of installing each available route at a line station (LS), which is a station-level control object that includes switches, signals, and track sections managed as a single interlocking unit using control theory based on finite-state automata. Automata (2) consists of six components. We describe the collection as follows:
C = < Z , X , A , δ ,   λ ,   W >
where Z = { z 1 , z 2 ,   z n } —a set that defines the state of route objects in the LS (input alphabet); X = { x 1 , x 2 ,   x m } —multiple memory management; A = { a 1 , a 2 ,   a k } —set of states of the machine; δ —transition function; λ —output function; and W = { w 1 , w 2 ,   w p } —multiple output signals.
The route structure of the LS includes all information about switches, traffic lights, sections with and without switches, and paths. Z was collected into a set (Figure 3).
One railroad switch, as well as switch and non-switch sections, may participate in more than one route; this situation is illustrated by the shaded area in Figure 3.
The route structure of the LS includes all information about railway switches, signals, and sections with railway switches and without switches, as well as tracks. The Z elements are collected into a set.
Z = Z s w Z t l Z s e c
where Z s w —the state of the railway switch, Z t l —the state of the traffic light, and Z s e c —the state of the section and tracks.
A railway switch can be in five possible states (Table 1).
For the traffic lights, there are mainly two possible states: permissive ( Z t l = 1 ) and prohibitive ( Z t l = 0 ).
Sections and tracks can be in four possible states (Table 2).
The set of input signals Z represents a collection of discrete tele-signals received from the route objects of the line station and characterising their current physical state, including the occupancy of the railway switch and non-switch sections, the position and control of the railway switches, and the presence or absence of safety violations. These signals form the input alphabet of the Mealy automaton and are used to determine transitions between its states.
The generalised structural diagram of automaton C is shown in Figure 4.
In Figure 4, the automaton C consists of two functional blocks. The combinational circuit (KC) generates the automaton’s output signal and the memory control signal. The automaton memory is represented by a set of flip-flops.
When constructing a route, the state of the LS also depends on events occurring at the object. Since the output signal is directly related to the current input signal and state, we use a Mealy machine, given its ability to respond quickly. According to the Mealy machine, the transition and output functions are expressed as follows:
x ( t ) = δ ( a ( t ) , z ( t ) )
w ( t ) = λ ( a ( t ) , z ( t ) )
The set of states of machine A = { a 1 , a 2 , a 3 , a 4 } . Let us take a closer look. The main goal is to express combinations of previously established/unestablished routes and their compliance with safety requirements as formal cases for selected route segments. Within this model, we identify four main cases and describe them as shown in Table 3.
We create a transition table and output function for the machine (Table 4):
Using Table 4, a graphical representation of the machine shown in Figure 5 is provided.
The graph shows four states and transitions between them. The initial state a 1 is considered. If the route is specified in the LP, the machine makes a transition to the state a 1 a 2 . On the other hand, if a section of the route becomes occupied without any route being established or one of the switches involved in the route loses control, the machine goes into the state a 1 a 3 . Technically, switch or non-switch sections will not be blocked, and a section will not be occupied without a route established. In this model of the machine, the condition determines the impossibility of a direct transition from the state a 1 to the state a 4 . When the route is set and the train begins to sequentially occupy block sections, the machine makes a transition to the state a 2 a 4 , which reflects the formalisation of the route occupation process in the model. After the section is vacated by a train, the machine, in accordance with the adopted route release scheme, performs a transition, in the case of a route release, to the state a 4 a 2 , and when opened separately, to the state a 4 a 1 , which ensures the formalisation of the process of returning the system to an acceptable state. Thus, the Mealy automaton model allowed us to formally identify four main states and strictly define the patterns of their transitions. This made it possible to represent the process of preparing a selected route in the centralised dispatch system as a mathematical automaton model, which increases the accuracy and reliability of the analysis. The output signals of the automaton states are interpreted as follows: in state a 2 ,     w 2 = λ ( a 2 , z 2 ) , the signal shows a proceed (permissive) indication, allowing the train to move; in states a 1 and a 3 , w1 = w3, the signal shows a stop (prohibitive) indication. In state a 3 , the prohibitive signal remains on, but the train continues moving along the route.
Integrated Model: Variables and Constraints
Thus, two key components—the alternative graph model, which provides real-time traffic control, and the Mealy automaton, which formalises the logic of tele-signalling (TS) and remote control (RC) signals—are combined into a single integrated mathematical model. In this model, the times of occupation and release of switch and non-switch sections, as well as block sections, are considered as control variables of the dispatcher’s decisions; while the Mealy automaton introduces a system of constraints, the violation of which is excluded due to safety requirements.
Key variables: for each train and each block section, S t , b i n is the train reservation time for sections with and without switches and block sections on routes, and S t , b o u t is the clearance time. If, before entering block b, train t has successively passed through switch or switchless sections or block sections of route b − 1, a corresponding sequential blocking time is introduced to ensure safety.
S t , b i n S t , b 1 o u t + τ t , b 1
where τ t , b 1 —represents the time it takes a train to traverse a switch or switchless section or a block section of route b 1 . This inequality formalises the chronological consistency of each train route and ensures the correctness of the time sequence.
According to safety requirements, two trains cannot occupy the same block section at the same time. In the model, this requirement is expressed by choosing alternative edges in the alternatives graph. Formally, if trains   t and t   have the possibility of conflict on a switch or switchless section or block section of route b, a restriction is imposed in the form of condition (7):
S t , b i n S t , b 1 o u t + D t , t ( b ) S t , b i n S t , b o u t + D t , t ( b )
where D t , t ( b ) —denotes the minimum time interval that must be maintained after train t leaves a switch or switchless section or a block section of route b until the train enters t . . The value of this interval is determined by the blocking time, calculated depending on the characteristics of the components. The above logical “OR” ( ) the condition means that initially the train t passes first and t enters it after a specified time interval, or t first and then t . The model can introduce a suitable alternative variable for making this decision and represent both cases by a system of separate linear inequalities (7).
{ s t b i n s t , b o u t + t b t M · ( 1 x t , t , b ) s t , b i n s t , b o u t + t b t M · x t , t , b
where   x t , t , b { 0 , 1 } is the sequence of trains in a switch or switchless section or block section on route b, and M is a constant. Using the constant M , two alternative constraints are written down, representing a discrete choice, and only one of them becomes “active” depending on the value x t , t , b . The M value depends on the travel time of trains in a switch or switchless section or block section on route B. The M value is determined by Formula (9):
M = b B max t T ( τ t , b 1 )
where T is a set of trains operating on the section in question, and B is a multitude of switch and non-switch sections, as well as block sections included in the section under consideration.
As a result, for each pair of these representations, one arc with the opposite direction is selected, which guarantees the absence of cycles in the graph. This constraint constitutes a fundamental part of the train dispatcher’s decisions (DNC)—it is precisely what determines which train will be given priority.
An essential component of the model is the constraints associated with signal states. Their introduction is necessary to ensure compliance with the operating rules of the Mealy machine. The model identifies two main conditions that determine acceptable signal states:
1. Route Setting Condition: For a train to enter a switch or non-switch section or a block section, a route must be established in advance for that section (otherwise, the signal will not display a permissive aspect, and the train will not be able to proceed along the route). In the model, this condition is directly related to the conflict constraints between trains t and t′: if train t proceeds first, it means that before the arrival of train t′, the route for train t has already been established, and the corresponding switch or non-switch section or block section is occupied; otherwise, priority is given to train t′, and train t waits. The decision for the variable s t , b i n is allowed only when the route has been pre-established specifically for train t (state a2). According to the Mealy automaton, granting the train dispatcher permission to set a route for the train corresponds to a transition of the automaton from state a1 to state a2. If the model assigns a time s t , b i n   to train t without allocating the corresponding route, this is considered an inadmissible event (transition a 1 a 4 , which is forbidden), and such a solution is regarded as incorrect. Therefore, in constructing the model, the possibility of a direct transition to state a4 is excluded: the combined action of conflict constraints and route conditions eliminates this option.
2. The condition for the occupancy of a railway switch, switchless section or block section is formulated as follows: after a train enters a given section, until it is vacated, it is impossible to assign another train to pass the corresponding route elements. This condition follows directly from the system of conflicting inequalities: if train t is on route section b, then another train cannot be assigned a time s t b i n to pass the same section. In the logic of the Mealy machine, this situation corresponds to the state a 4 , the duration of which limits the possibility of transition to a state a 2 for other trains. In the integrated model, this constraint is guaranteed for all pairs of trains, since for any pair t , t , a time interval D must be observed between the moments of exit and entry, which excludes the possibility of simultaneous entry.
The above conditions are implemented in the integrated model in the form of state constraints formalised using mathematical functions of the automaton and graph constraints. Ultimately, the model combines two key components: (i) directed selection of train movement timing parameters based on an alternative graph approach; (ii) verification of each control command for compliance with safety requirements using Mealy automaton constraints.
The structure of the proposed system
The structural diagram of the system is shown in Figure 6.
The transmission system device shown in the diagram is part of a complex that provides communication between the central control station (CC) and the line station (LS). The DNC automated control system serves as an interface for monitoring train status along the section and as the central hub for generating control commands. Using signals received via the TS channel, a visual representation of the section status is generated. Information received from the LS is first processed by the DNC automated control system and then made available to the relevant personnel via the local network. It should be noted that the indications displayed on the electromechanical (SHN) control system are identical to those on the DNC automated control system. This enables monitoring of troubleshooting activities at the LS and provides a means for initial technical consultation.
Data on the train number, weight, length, destination, locomotive, and locomotive crew are received from the Train Schedule Server (TSS). This information is essential for determining the category and priority of each train. To support decision-making, additional information is generated by the fixed and variable criteria server, including the track profile, technological windows provided by the relevant companies, trackside warnings, and other operational data. All information affecting train movement is collected in the system’s decision-making server, where a route sequence is generated and transmitted to the DNC automated workstation. After the proposed decision is approved by the DNC, the corresponding command is sent from the DNC automated workstation to the LS via the transmission device and the RC channel.
To ensure reliable information exchange between the LS and the CP, additional communication protocols have been implemented, including packet verification using CRC codes and synchronous response mechanisms. For example, after a command is sent from the CP, the LS acknowledges its receipt and, upon execution, reports the result via the TC channel. The CP also periodically sends synchronous requests (SRs), enabling complete visualisation of the current state of the LS. Upon receiving such a request, the LS PLC aggregates key information (e.g., the occupancy of all track sections and the status of all signals) and transmits it to the CP in the form of an RC signal. Thus, the CP always maintains up-to-date information about the system state. If changes to the operational plan are required (for example, if a train is significantly delayed and track availability must be reassigned), the CP recalculates the solution using the alternative graph model and generates an updated decision. The corresponding sequence of commands is transmitted to the LS, where it is executed using Moore machine logic, ensuring secure and consistent signal exchange.
This centralised automated control forms a closed-loop structure: optimisation algorithm → commands → field devices → measurements → optimisation. As a result, the system adapts rapidly in real time to dynamic changes (such as delays or equipment malfunctions), ensuring safe and efficient traffic management.
Crossing two trains on a single-track section at one station
Let us consider a situation where two trains moving towards each other must cross on a single-track section within a station j (see Figure 7).
There is no established route at the station in question—the system is in a state a 1 . Within the alternative graph model, the question of which train will be allowed to proceed first is decided. Let us say that priority in the graph is given to Train A, while Train B is designated as waiting. The arrival times of the trains at the station are designated as S A , j i n and S B , j i n and are checked by the condition S A , j i n < S B , j i n . The model then automatically imposes the appropriate restrictions. Since Train B is considered waiting, it is accepted onto the side track, while Train A receives priority passage on the main track.
In this case, the Mili A machine is intended for the train.   a 1 a 2 moves automatically when Train A arrives at the station. a 2 a 3 Train A waits on the siding until Train A has fully entered the station. The conflict constraint in Model (8) guarantees exactly this order: Train A cannot depart until Train A has fully entered the station. In this situation, the Mealy automaton for Train A implements the transition to state a 1 a 2 , and after Train A enters the station, the transition to the state   a 2 a 3 . Until Train A fully enters the station, Train B is forced to wait on a side track. Conflict constraint (9) built into the model guarantees this order: until Train A is fully cleared, Train B is prevented from exiting:
S B , j , m i n S A , j , m o u t + D
where m —is the last common section on the route of Train A and the first common section on the route of Train B.
After Train A has cleared section m, the machine on its side at the moment of time S A , j , m o u t returns to state a 3 a 1 . For Train B, the conflict situation is resolved, and a command to open a route for Train B is transmitted from the central control unit to the central control unit, which causes the automatic control unit on its side to switch to the state a 1 a 2 . Train B starts moving and, having occupied the first section, switches the machine to the state a 2 a 4 . Once the section is released, the machine returns to the state a 4 a 1 . Thus, the integrated model demonstrates an optimal and safe solution: priority for Train A is determined by both safety requirements and the desirability of minimising delays. All commands are exchanged in strict accordance with the rules of the Mealy automaton. If the priority of Trains A and B changes and they cross, for example, at station j, Train A will be accepted onto the main track and wait.
Real-time schedule adjustments when a train is late
Another area of application for the model is dynamic adaptation to deviations from the original schedule. For example, of two trains scheduled to arrive at a station in sequence, one (Train 1) is delayed due to technical issues. According to the original schedule, Train 1 was supposed to enter the station first, with Train 2 following. However, due to the delay, Train 2 arrives earlier. In this situation, the integrated model in the centralised dispatch system promptly recalculates a new solution. According to the alternative graph, swapping the priority between the late Train 1 and the on-time Train 2 minimises delays, allowing Train 2 to proceed first and delaying Train 1 (with minimal impact on other trains). The model generates a route plan for Train 2 (selecting the corresponding alternative arc). As a result, the traffic lights near the station indicate that Train 2 is permitted to proceed. Train 2 passes the station, and then a track is opened for Train 1. The entire process is supported by constant communication with the central control centre: delays are monitored via the TS channel, the alternative schedule model is recalculated, and a decision is made, which is approved by the DNC dispatcher and transmitted via the TU channel. At the line station, the PLC ensures the safe execution of the command. This example demonstrates the ability of the integrated model to support adaptive dispatching decisions in real-world conditions. This ensures the interconnection between planning and control signals, allowing traffic to be organised even when changes occur on the line.

3. Theoretical Justification of the Model’s Stability and Adaptability

The proposed integrated dispatching framework is formulated as a discrete-time dynamic control system (11):
x k + 1 = f ( x k , u k , w k )
where x k —system state (route states, block occupancy, signal configuration); u k —control decision (priority selection, route assignment); and w k —external disturbance (traffic increase, delay, failure).
To further evaluate the stability and adaptability of the proposed integrated model based on the alternative graph and Mealy automaton, additional computational experiments were conducted under various operational scenarios.
Train intensity on the section is calculated based on the following Expression (12):
λ = N T ( train / hour )
If the initial train intensity on the section is assumed to be λ0 = 18 trains/hour and, due to an increase in traffic flow, the intensity rises to λ1 = 25 trains/hour, this condition is considered a high-train-traffic-intensity scenario.
To evaluate delay times, the following time indicators are taken into account (13):
T a v g = 1 N i = 1 N T i
where N —number of trains under analysis (units); T i —delay of the i-th train; and T a v g —overall average delay (minutes or seconds).
The delay time is determined using the following Expression (14):
T i = t i a c t t i p l a n
where t i p l a n —scheduled (planned) time (s or min); t i a c t —actual time (s or min).
If only train delays (late arrivals) are taken into account, the expression is written as follows: T i = max ( 0 , t i a c t t i p l a n ) .
This approach is more commonly used in operational analysis.
In addition, the variance of the delay time is calculated as follows (15):
σ 2 = 1 N i = 1 N ( T i T a v g ) 2
This indicates the degree of dispersion of train delays within the section: the smaller the value, the more stable the dispatching system operates.
If delays are detected on railway sections due to technical failures or signalling system malfunctions, train movement on the section is reorganised by introducing a rescheduling time parameter (16):
T r e s = 1 N k = 1 N t k c o m p
where t k c o m p —computation time of the algorithm in the k-th scenario (seconds); T r e s —average computation time (seconds).
This indicator evaluates the computational complexity of the train traffic control algorithm and its suitability for real-time operation.
In this case, determining the number of train conflict situations also allows assessment of the safety performance and overall efficiency of the dispatching system (17).
C = k = 1 T I ( c o n f l i c t k )
where I ( c o n f l i c t k ) —indicator function (equals 1 if a conflict occurs, otherwise 0); T —analysed time interval; and C —total number of conflicts (units).
Taking into account the factors affecting train movement on railway sections, the calculation of the throughput indicator reflects the ability of the dispatching system to operate while considering possible failures (18).
Q = N s e r v e d Δ t
where N s e r v e d —number of trains served; Δ t —time interval (hours); and Q —trains/hour.
The probability of safe operation of signalling, interlocking, and blocking systems is determined based on laboratory tests, taking into account the components that constitute the system and their interconnections. The smaller the value of the safety violation probability, the safer the system operates (19).
P v i o l = N v i o l N t o t
where N v i o l —number of safety rule violation cases; N t o t —total number of examined cases; and P v i o l —probability (dimensionless, in the 0–1 interval).
The calculation of the relative improvement (%) of the developed mathematical model demonstrates the efficiency of the proposed model compared to existing models (20).
I m p r o v e m e n t ( % ) = M b a s e l i n e M p r o p o s e d M b a s e l i n e × 100 %
where M b a s e l i n e —indicator of the conventional method; M p r o p o s e d —indicator of the proposed model.
The formal proof of the system stability is established based on the Lyapunov function (21):
V ( x ) = x T P x , P > 0
If
A T P + P A = Q , Q > 0
If V ˙ ( x ) = x T Q x < 0 , then the system is asymptotically stable. This guarantees the stability of the discrete system. The conducted mathematical modelling, formal proof, and numerical calculation results fully confirm the efficiency, stability, and safety of the proposed integrated (graph + Mealy automaton) model.
Dynamic stability was formally proven based on the Lyapunov function. The satisfaction of the spectral radius condition ρ ( A ) < 1 for the discrete system matrix ensures the asymptotic stability of the system. This theoretically guarantees reliable operation of the model even under high load and failure conditions.
The proposed integrated approach—combining graph theory and the Mealy automaton framework—unifies route planning, conflict resolution, and safety constraint enforcement within a single formal system.
From a theoretical perspective, the model was formulated as a discrete dynamic system, and its stability was proven based on the Lyapunov function. The satisfaction of the spectral radius condition ρ ( A ) < 1 ensures the asymptotic stability of the system. At the same time, by formally incorporating safety constraints into the optimisation problem, it is guaranteed that control decisions are generated outside the “forbidden state space.” This confirms the model’s ability to ensure safety not empirically but on a strict mathematical basis.
The results of numerical calculations and multi-scenario simulations demonstrated the robustness and adaptability of the integrated approach. Even under conditions of high traffic density and system disturbances, stable system operation was observed, along with a significant reduction in delays and a decrease in the number of conflicts. Comparative analysis results showed that the proposed model outperforms conventional and graph-based methods across all key performance indicators.
An important theoretical result is that the integration of automata theory with graph-based resource modelling made it possible to formulate the railway dispatching problem as a constrained discrete optimal control problem. This approach enables the development of a scalable, formally verifiable architecture compatible with digital control platforms.
Thus, the research findings provide a theoretical foundation for developing formal, safe, and efficient models in the field of intelligent railway traffic control. Future research is planned to investigate probabilistic stability analysis considering stochastic disturbances and to optimise computational complexity for large-scale networks.

4. Conclusions

In this paper, an integrated mathematical framework based on the alternative graph model and the Mealy automaton has been developed to address the problem of analysis and control in a centralised railway dispatch system. The proposed approach provides a formalised representation of the scheduling, routing, and control processes, allowing complex operational constraints to be modelled within a unified mathematical structure. By combining graph-based representations of alternative routes with automaton-based state transition mechanisms, the model ensures strict compliance with safety requirements while maintaining operational feasibility under dynamic and uncertain conditions.
The integration of the alternative graph model enables an explicit description of conflicts, precedence relations, and resource-sharing constraints among trains, whereas the Mealy automaton formalises control logic through well-defined state transitions driven by external events and system inputs. This mathematical coupling facilitates the efficient generation of feasible train schedules, supports systematic route prioritisation, and allows rapid adaptation to changes in traffic conditions or infrastructure availability. As a result, the dispatch system is capable of making timely and consistent decisions while preserving safety and reliability.
Computational experiments and practical testing conducted on representative railway scenarios demonstrate that the proposed framework leads to a measurable reduction in train delays and an improvement in overall system stability. The results confirm that the model enhances the robustness of dispatch decisions, particularly in high-load and conflict-prone situations, where traditional heuristic or rule-based methods often exhibit limited performance. The observed improvements highlight the effectiveness of the proposed mathematical formulation in managing discrete-event dynamics inherent in railway transport systems.
From an applied mathematics perspective, the developed model represents a scalable and theoretically grounded approach to solving complex discrete-event scheduling and control problems. Its modular structure allows for further analytical investigation, including complexity analysis, performance evaluation, and extension to stochastic or multi-agent formulations. Moreover, the generality of the proposed framework makes it applicable not only to railway dispatching but also to a broader class of large-scale, safety-critical systems, such as urban traffic control, logistics networks, and industrial automation systems. Future research may focus on incorporating uncertainty modelling, real-time optimisation techniques, and learning-based components to further enhance the adaptability and efficiency of the proposed approach.

Author Contributions

Software, S.T.B., B.B.R. and O.O.M.; validation, S.T.B., B.B.R., O.O.M., S.I.V., E.G.K. and E.S.J.; formal analysis, S.T.B., B.B.R., O.O.M., S.I.V., M.Y.X., E.G.K., S.F.K. and E.S.J.; resources, O.O.M., E.G.K. and E.S.J.; data curation, S.T.B.; writing—review and editing, S.T.B., O.O.M. and S.F.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

During the preparation of this manuscript, the authors used ChatGPT (versions 5.2 and 4.0) and Grammarly (version 1.155.0.0) for the purposes of language refinement and translation. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Sapozhnikov, V.V.; Gavzov, D.V.; Dreiman, O.K.; Kononov, V.A.; Nikitin, A.B. Centralized Dispatching Systems; Textbook for higher education institutions of railway transport; Route: Moscow, Russia, 2002; 407p. [Google Scholar]
  2. Qiu, J.; Helbig, R. A field study of work demands on railway traffic dispatchers in centralised centres. In Proceedings of 2012 International Conference on Quality, Reliability, Risk, Maintenance, and Safety Engineering; ICQR2MSE; IEEE: New York, NY, USA, 2012; pp. 1448–1451. [Google Scholar]
  3. Sun, Y.; Zhang, Q.; Yuan, Z.; Gao, Y.; Ding, S. Quantitative Analysis of Human Error Probability in High-Speed Railway Dispatching Tasks. IEEE Access 2020, 8, 56253–56266. [Google Scholar] [CrossRef] [Scilit]
  4. Khmelnitsky, E. On an optimal control problem of train operation. IEEE Trans. Autom. Control. 2000, 45, 1257–1266. [Google Scholar] [CrossRef] [Scilit]
  5. Muhiddinov, O.; Boltayev, S. Route management modelling of high-speed trains on the train dispatcher section. E3S Web Conf. 2023, 376, 04033. [Google Scholar] [CrossRef] [Scilit]
  6. Mukhiddinov, O.; Boltayev, S.; Yunusova, G.; Khidirov, E.; Yoldashev, I. Development of a route setting model in the dispatching centralisation system. E3S Web Conf. 2024, 515, 01011. [Google Scholar] [CrossRef] [Scilit]
  7. Gorbachev, R.; Novikov, A.; Kalinkin, A.; Cheranev, A.; Zakharova, E. Applying Virtual Modelling to Verify Control Systems Decision with Artificial Intelligence in Railway Transport. In Proceedings of the 2020 International Conference on Engineering and Telecommunication (En&T), Dolgoprudny, Russia, 25–26 November 2020; IEEE: New York, NY, USA, 2020; pp. 1–6. [Google Scholar]
  8. Ferrari, A.; Mazzanti, F.; Basile, D.; Ter Beek, M.H. Systematic Evaluation and Usability Analysis of Formal Methods Tools for Railway Signaling System Design. IEEE Trans. Softw. Eng. 2022, 48, 4675–4691. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, H.Q.; Xue, W.J. Development and application of the railway transportation management information system. Appl. Mech. Mater. 2013, 385–386, 1848–1851. [Google Scholar] [CrossRef] [Scilit]
  10. Pachl, J. Railway Operation and Control; VTD Rail Publishing: Mountlake Terrace, WA, USA, 2002. [Google Scholar]
  11. Zhao, G.; Lin, F.; Wang, L.; Wei, F.; Chen, J.; Liu, K.; Wang, M.; Li, H. Centralised Train Dispatch Control System and Control Method. EP3763598A1, 29 May 2019. [Google Scholar]
  12. Corman, F.; D’Ariano, A.; Pacciarelli, D.; Pranzo, M. A tabu search algorithm for rerouting trains during rail operations. Transp. Res. Part B Methodol. 2010, 44, 175–192. [Google Scholar] [CrossRef] [Scilit]
  13. Julich, P.; Wills, M. System and Method for Computer-Aided Dispatching Using a Coordinating Agent. US20040172174A1, 25 February 2004. [Google Scholar]
  14. Mascis, A.; Pacciarelli, D. Discrete Optimisation: Shop Floor Scheduling with Blocking and Waiting-Free Constraints. Eur. J. Oper. Res. 2002, 143, 498–517. [Google Scholar] [CrossRef] [Scilit]
  15. Berger, U.; James, P.; Lawrence, A.; Roggenbach, M.; Seisenberger, M. Verification of the European Rail Traffic Management System in Real-Time Maude. Sci. Comput. Program. 2018, 154, 61–88. [Google Scholar] [CrossRef] [Scilit]
  16. Wang, P.; Goverde, R.M.P.; Ma, L.A. Multiple-Phase Train Trajectory Optimisation Method under Real-Time Rail Traffic Management. In Proceedings of the IEEE Conference on Intelligent Transportation Systems; ITSC 2015-October; IEEE: New York, NY, USA, 2015; pp. 771–776. [Google Scholar]
  17. Cacchiani, V.; Huisman, D.; Kidd, M.; Kroon, L.; Toth, P.; Veelenturf, L.; Wagenaar, J. An overview of recovery models and algorithms for real-time railway rescheduling. Transp. Res. Part B Methodol. 2014, 63, 15–37. [Google Scholar] [CrossRef] [Scilit]
  18. Corman, F. Real-Time Rail Traffic Management: Dispatching on Complex, Large, and Congested Rail Networks. Ph.D. Thesis, Delft University of Technology, Delft, The Netherlands, 2010. [Google Scholar]
  19. Miao, Y. Research on the centralised dispatching system of rail transit. In Proceedings of the 3rd International Conference on Intelligent Transportation, Big Data and Smart City; ICITBS 2018; IEEE: New York, NY, USA, 2018; pp. 34–37. [Google Scholar]
  20. Shakibayifar, M.; Sheikholeslami, A.; Corman, F.; Hassannayebi, E. An integrated rescheduling model for minimising train delays in the case of line blockage. Oper. Res. Int. J. 2020, 20, 59–87. [Google Scholar] [CrossRef] [Scilit]
  21. Dong, H.; Ning, B.; Cai, B.; Hou, Z. Automatic train control system development and simulation for high-speed railways. IEEE Circuits Syst. Mag. 2010, 10, 6–18. [Google Scholar] [CrossRef] [Scilit]
  22. Corman, F.; D’Ariano, A.; Pacciarelli, D.; Pranzo, M. Centralised versus distributed systems to reschedule trains in two dispatching areas. Public Transp. 2010, 2, 219–247. [Google Scholar] [CrossRef] [Scilit]
  23. Shakibayifar, M.; Hassannayebi, E.; Mirzahossein, H.; Zohrabnia, S.; Shahabi, A. An integrated train scheduling and infrastructure development model in railway networks. Sci. Iran. 2017, 24, 3409–3422. [Google Scholar] [CrossRef] [Scilit]
  24. D’Ariano, A.; Pranzo, M.; Hansen, I.A. Conflict resolution and train speed coordination for solving real-time timetable perturbations. Trans. Intell. Transport. Syst. 2007, 8, 208–222. [Google Scholar] [CrossRef] [Scilit]
  25. Meng, X.; Wang, Y.; Xiang, W.; Jia, L. An integrated model for train rescheduling and station track assignment. IET Intell. Transp. Syst. 2021, 15, 17–30. [Google Scholar] [CrossRef] [Scilit]
  26. Sun, Y.; Ding, S.; Li, Z.; Ren, Y.; Sheng, K.; Yang, Y. Research on Human Reliability of the High-Speed Railway Intelligent Dispatching Centralised Traffic Control System. In Proceedings of the 2022 IEEE 7th International Conference on Intelligent Transportation Engineering; ICITE 2022; IEEE: New York, NY, USA, 2022; pp. 111–116. [Google Scholar]
  27. Xu, W.; Dai, X.; Zhao, C.; Tang, Y.; Cheng, J.; Qu, Z.; Zhang, T.; Lv, Y. Parallel Testing for Centralised Traffic Control Systems of Intelligent Railways. IEEE Trans. Intell. Veh. 2023, 8, 4249–4262. [Google Scholar] [CrossRef] [Scilit]
  28. Harrod, S.S. Railway Signal Digitalisation with the European Rail Traffic Management System and Positive Train Control: Industry 4.0 Expectations and Reality. Transp. Res. Rec. 2025, 2679, 1052–1065. [Google Scholar] [CrossRef] [Scilit]
Figure 2. Real-time route replanning architecture.
Figure 2. Real-time route replanning architecture.
Automation 07 00054 g002
Figure 3. Z graphical form of a set.
Figure 3. Z graphical form of a set.
Automation 07 00054 g003
Figure 4. Structural diagram of automaton C.
Figure 4. Structural diagram of automaton C.
Automation 07 00054 g004
Figure 5. Graphical representation of automaton C.
Figure 5. Graphical representation of automaton C.
Automation 07 00054 g005
Figure 6. Structural diagram of the system in the CPU.
Figure 6. Structural diagram of the system in the CPU.
Automation 07 00054 g006
Figure 7. Intersection of two trains on a one-way section at one station.
Figure 7. Intersection of two trains on a one-way section at one station.
Automation 07 00054 g007
Table 1. Five possible states of a railway switch.
Table 1. Five possible states of a railway switch.
StateControl Is LostThe Route Is Not Set in the Plus PositionThe Route Is Not Set in the Minus PositionThe Route Is Set in the Plus PositionThe Route Is Set in the Minus Position
Z s w 000010100011101
Table 2. Four possible states of sections and tracks.
Table 2. Four possible states of sections and tracks.
StateIn the Free State, the Route Is Not SetIn the Occupied State, the Route Is Not SetIn the Free State, the Route Is SetIn the Occupied State, the Route Is Set
Z s e c 000100110110
Table 3. Machine states.
Table 3. Machine states.
StateDescription
a 1 The selected route does not pass through the LS facilities and complies with safety requirements.
a 2 The selected route is defined by objects in the LS, and objects are blocked in the route, as well as empty ones.
a 3 The selected route does not pass through the LS facilities and does not meet safety requirements.
a 4 The route that will be selected is determined by the objects in the LS, and the objects are blocked in the route and occupied.
Table 4. The transition and exit function of automaton C.
Table 4. The transition and exit function of automaton C.
Transition TableOutput Table
δ a 1 a 2 a 3 a 4 λ a 1 a 2 a 3 a 4
z 1 a 1 a 1 a 1 a 1 z 1 w 1 w 1 w 1 w 1
z 2 a 2 a 2 a 2 z 2 w 2 w 2 w 2
z 3 a 3 a 3 a 3 z 3 w 3 w 3 w 3
z 4 a 4 a 4 a 4 z 4 w 4 w 4 w 4
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Boltayev, S.T.; Rakhmonov, B.B.; Muhiddinov, O.O.; Valiyev, S.I.; Xokimjonov, M.Y.; Khujamkulov, E.G.; Kholboev, S.F.; Joniqulov, E.S. An Integrated Mathematical Model for Ensuring Train Traffic Safety in a Centralised Dispatching System Based on Control Theory, Based on Finite-State Automata. Automation 2026, 7, 54. https://doi.org/10.3390/automation7020054

AMA Style

Boltayev ST, Rakhmonov BB, Muhiddinov OO, Valiyev SI, Xokimjonov MY, Khujamkulov EG, Kholboev SF, Joniqulov ES. An Integrated Mathematical Model for Ensuring Train Traffic Safety in a Centralised Dispatching System Based on Control Theory, Based on Finite-State Automata. Automation. 2026; 7(2):54. https://doi.org/10.3390/automation7020054

Chicago/Turabian Style

Boltayev, Sunnatillo T., Bobomurod B. Rakhmonov, Obidjon O. Muhiddinov, Sohibjamol I. Valiyev, Muxammadaziz Y. Xokimjonov, Eldorbek G. Khujamkulov, Sherzod F. Kholboev, and Egamberdi Sh Joniqulov. 2026. "An Integrated Mathematical Model for Ensuring Train Traffic Safety in a Centralised Dispatching System Based on Control Theory, Based on Finite-State Automata" Automation 7, no. 2: 54. https://doi.org/10.3390/automation7020054

APA Style

Boltayev, S. T., Rakhmonov, B. B., Muhiddinov, O. O., Valiyev, S. I., Xokimjonov, M. Y., Khujamkulov, E. G., Kholboev, S. F., & Joniqulov, E. S. (2026). An Integrated Mathematical Model for Ensuring Train Traffic Safety in a Centralised Dispatching System Based on Control Theory, Based on Finite-State Automata. Automation, 7(2), 54. https://doi.org/10.3390/automation7020054

Article Metrics

Back to TopTop