Double-threshold high-speed rail signal handover method
By introducing the dual-threshold strategy and LSTM prediction model in high-speed rail signal handover, the handover timing is dynamically adjusted, which solves the ping-pong handover and hysteresis problems of traditional algorithms in high-speed environments, and improves communication quality and system efficiency.
Patent Information
- Application Number
- CN202410756186.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-23
AI Technical Summary
The traditional high-speed rail signal handover algorithm is prone to frequent ping-pong handovers and high handover lag in high-speed mobile environments, making it difficult to ensure seamless communication.
A dual-threshold strategy is adopted to predict the hysteresis threshold through a prediction model (LSTM recurrent neural network model), and set two thresholds, Mmin and Mmax, based on signal strength fluctuations to dynamically adjust the switching timing to improve switching flexibility and stability.
It reduces ping-pong handover and handover delays, improves communication quality and handover success rate, improves network resource utilization efficiency, enhances the stability and efficiency of high-speed rail communication systems, and ensures passenger experience and train operation safety.
Smart Images

Figure CN118540754A
Abstract
Description
Technical Field
[0001] The present invention relates to a double - threshold handover method for high - speed railway signals, belonging to the technical field of high - speed railway signal handover. Background Art
[0002] With the rapid expansion of the high - speed railway network, the performance of its communication system has received increasing attention. During the operation of high - speed trains, signal handover is one of the key technologies to ensure seamless communication. Traditional algorithms are mainly based on distance and signal strength, but these methods have limitations in dealing with handovers in high - speed mobile environments, such as frequent ping - pong handovers and high handover hysteresis. Summary of the Invention
[0003] In order to solve the problems existing in the prior art, the present invention provides a double - threshold handover method for high - speed railway signals to improve the handover success rate.
[0004] To achieve the above - mentioned purpose, the technical solution proposed by the present invention is as follows: A double - threshold handover method for high - speed railway signals, characterized by including the following steps:
[0005] Step 1: According to the historical hysteresis threshold data of high - speed railway signal handover, predict the hysteresis threshold Mk + 1 at the next moment through a prediction model;
[0006] Step 2: Set the double - threshold [Mmin, Mmax] of the hysteresis threshold; when the predicted hysteresis threshold Mk + 1 < Mmin, assign Mk + 1 to Mmin; when the predicted hysteresis threshold Mk + 1 > Mmax, assign Mk + 1 to Mmax; when the predicted hysteresis threshold Mmin < Mk + 1 < Mmax, keep the double - threshold unchanged;
[0007] Step 3: When the signal strength of the target base station received is within the fluctuation threshold range, use Mmin as the handover threshold for handover; when the signal strength of the target base station received is outside the fluctuation threshold range, use Mmax as the handover threshold for handover.
[0008] For the further design of the above - mentioned technical solution: In step 3, when entering the signal handover overlapping area, the train receives the signal value R1 of the target base station, and sets the threshold as K. As the train advances, when the received signal range is within [R1 - K, R1 + K], use Mmin as the handover threshold for handover, otherwise use Mmax as the handover threshold for handover.
[0009] The specific method for predicting the hysteresis threshold Mk + 1 at the next moment is as follows:
[0010] Obtain the historical hysteresis threshold data of high - speed railway signal handover and generate a data set;
[0011] The data set is divided into a training set and a test set. The prediction model is trained using the training set data and tested using the test set data. The trained prediction model is used to predict the hysteresis threshold value at the next moment.
[0012] The prediction model is an LSTM recurrent neural network model.
[0013] The core formulas of the gating units of the LSTM recurrent neural network model are:
[0014] f k is the output of the forget gate: f k =σ(W f ·[h k-1 ,x k ]+b f )
[0015] is the candidate memory state for the current time step:
[0016] Sigmoid layer of input gate: i k =σ(W i ·[h k-1 ,x k ]+b i )
[0017] Update of input gate:
[0018] Unit status update:
[0019] h k is the hidden state at the current time step: h k =(σ(W o ·[h k-1 ,x k ]+b o )·tanh(C k ));
[0020] Among them, σ is the sigmoid activation function, and the output is [0,1], which indicates the degree of door opening, W f is the weight matrix of the forget gate, h k-1 is the hidden state of the previous time step (k-1), x k is the input of the current time step (k), b f is the bias term of the forget gate, i k is the output of the input gate at the kth time step, W i is the weight matrix of the input gate, bi and bi are the bias items of the input gate, Wo is the weight matrix of the output gate, bo is the bias item of the output gate, tanh is the hyperbolic tangent activation function, the value range is [-1,1], and it is usually used to initialize the candidate unit state.
[0021] The RMSE evaluation index is used to evaluate the prediction ability of the model. The RMSE formula is as follows:
[0022]
[0023] Where r is the total number of samples, Tk is the kth actual observation value, and T'k is the kth predicted value.
[0024] Compared with the prior art, the present invention has the following advantages:
[0025] The present invention adjusts the double threshold values [Mmin, Mmax] by predicting the hysteresis threshold, and controls the timing of switching more accurately through the fluctuation of the received signal strength; the method enhances the flexibility and stability of switching by using two different threshold values, reduces ping-pong switching and switching delay, thereby improving the overall communication quality and the switching success rate, reducing unnecessary frequent switching, and improving the utilization efficiency of network resources. It can improve the stability and efficiency of the high-speed rail communication system, which is of great significance for improving passenger experience and ensuring the safety of train operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of the high-speed rail signal inter-zone switching method of the present invention;
[0027] Figure 2 Predicting network structure diagram for handover parameters;
[0028] Figure 3 This is a cell diagram of the LSTM recurrent neural network. DETAILED DESCRIPTION
[0029] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0030] Example
[0031] like Figure 1 The high-speed rail signal handover algorithm of this embodiment is shown, which includes the following steps:
[0032] S1. Obtain historical hysteresis threshold data of high-speed rail signal handover and generate a data set;
[0033] The method for obtaining the historical hysteresis threshold data of handover is as follows: set the base station spacing to 3km, the base station coverage radius to 2.8km, etc., simulate the signal quality indicators such as RSRP and RSRQ, and then use fuzzy logic to generate the hysteresis threshold sequence according to the historical driving information.
[0034] Divide the dataset into a training set and a test set, use the training set data to train a prediction model, and use the test set data for testing. Use the trained prediction model to predict the value of the hysteresis threshold Mk+1 at the next moment;
[0035] S2. Set the double threshold [Mmin, Mmax] of the hysteresis threshold;
[0036] When the predicted hysteresis threshold Mk+1 < Mmin, assign Mk+1 to Mmin; when the predicted hysteresis threshold Mk+1 > Mmax, assign Mk+1 to Mmax; when the predicted hysteresis threshold Mmin < Mk+1 < Mmax, keep the double threshold unchanged;
[0037] S3. When the high-speed train enters the signal handover overlapping area, the train receives the signal value R1 of the target base station. Set the threshold as K. As the train moves forward, the received signal range is within [R1 - K, R1 + K]. Use Mmin as the handover threshold for cell change. If it is outside the above range, use Mmax as the handover threshold for cell change;
[0038] Suppose the signal strength R1 of the target base station received when the train enters the overlapping area is -75 dBm, and set the fluctuation threshold: K = 3 dB, that is, the signal range is [-78, -72] dBm. The train moves forward at a certain speed, and we record the signal strengths at the following time points: At time point T1, the signal strength is -75 dBm, initially judged as a small fluctuation; at time point T2 (the train continues to move forward a certain distance), the signal strength is -77 dBm, judged as a small fluctuation; at time point T3 (the train is exactly at the midpoint of the signal coverage of two base stations), the signal strength is -66 dBm, judged as a large fluctuation; at time point T4 (the train approaches the next base station), the signal strength is -72 dBm, judged as a small fluctuation.
[0039] The decision formula for the train to perform handover is as follows. If the received signal power R1 of the target base station and the received signal power R2 of the source base station satisfy the following formula, then perform the handover:
[0040] R1 - R2 > Mmin R1 ∈ [R1 - K, R1 + K]
[0041]
[0042] S4. Adjust the values of the hysteresis double threshold according to the prediction results, and evaluate the prediction ability of the prediction model through evaluation indicators such as RMSE, that is, the degree of closeness between the predicted value and the actual value, and use the Adam optimizer. The Adam optimizer is a very effective algorithm to calculate the adaptive learning rate to update the parameters of the model.
[0043]
[0044]
[0045] m t is the first moment of the gradient (momentum estimate),
[0046] V t is the second moment of the gradient (variance estimate),
[0047] β1 and β2 are the decay rates for the first-order moment and the second-order moment, respectively, and take values [0,1].
[0048] is the gradient of the loss function with respect to the parameter w at time step t,
[0049] α is the learning rate,
[0050] ε is a small constant used to avoid the denominator being zero.
[0051] like Figure 2 As shown in the figure, it is a network structure diagram for handover parameter prediction, where M1, M2, ...M k is the first k hysteresis threshold value sequence set {M1,M2,...M k} to learn, so as to obtain the hysteresis threshold parameter M at the k+1th moment k+1 The prediction model (LSTM recurrent neural network) adopts the training and testing method, taking the first 80% of the time steps of the generated handover hysteresis threshold data set as the training set and the last 20% of the time steps as the test set to ensure that the model can make effective predictions in future time steps. The hysteresis threshold parameter M at the k+1th time is obtained. k+1 Then the RMSE evaluation index was used for evaluation.
[0052] The RMSE formula for evaluating the predictive ability of the model is as follows:
[0053]
[0054] Among them, r is the total number of samples, Tk is the kth actual observation value, and T'k is the kth predicted value.
[0055] like Figure 3 As shown in the figure, the cell diagram of the LSTM recurrent neural network. The hysteresis threshold needs to be changed according to the high-speed driving environment, and the memory needs to be forgotten through the forget gate. k is the output of the forget gate, indicating the degree of forgetting the historical hysteresis threshold, f k is the output of the forget gate: f k =σ(W f ·[h k-1 ,x k ]+b f )
[0056] is the candidate memory state for the current time step:
[0057] Sigmoid layer of input gate: i k =σ(W i ·[h k-1 ,x k ]+b i )
[0058] Update of input gate:
[0059] Unit status update: h k is the hidden state at the current time step: h k =(σ(W o ·[h k-1 ,x k ]+b o )·tanh(C k ))
[0060] Among them, σ is the sigmoid activation function, the output is [0,1], indicating the degree of opening of the gate, Wf is the weight matrix of the forget gate, hk-1 is the hidden state of the previous time step (k-1), xk is the input of the current time step (k), bf is the bias term of the forget gate, ik is the output of the input gate at the kth time step, Wi is the weight matrix of the input gate, bi and bi are both the bias terms of the input gate, Wo is the weight matrix of the output gate, bo is the bias term of the output gate, tanh is the hyperbolic tangent activation function, the value range is [-1,1], and it is usually used to initialize the candidate unit state
[0061] The high-speed rail signal handover algorithm of this embodiment can improve the stability and efficiency of the high-speed rail communication system through its dynamic learning and prediction capabilities, which is of great significance for improving passenger experience and ensuring train operation safety.
[0062] The technical solutions of the present invention are not limited to the above-mentioned embodiments, and any technical solutions obtained by equivalent replacement methods fall within the scope of protection required by the present invention.
Claims
1. A double-threshold high-speed railway signal handover method, characterized in that: It includes the following steps: Step 1: Predict the hysteresis threshold Mk+1 at the next moment through a prediction model according to the historical hysteresis threshold data of high-speed rail signal handover across zones; Step 2: Set the double thresholds [Mmin, Mmax] of the hysteresis threshold; When the predicted hysteresis threshold Mk+1 < Mmin, assign Mk+1 to Mmin; when the predicted hysteresis threshold Mk+1 > Mmax, assign Mk+1 to Mmax; when the predicted hysteresis threshold Mmin < Mk+1 < Mmax, keep the double thresholds unchanged; Step 3: When the signal strength of the target base station received is within the fluctuation threshold range, use Mmin as the handover threshold across zones, and when the signal strength of the target base station received is outside the fluctuation threshold range, use Mmax as the handover threshold across zones.
2. The double-threshold high-speed railway signal handover method according to claim 1 is characterized in that: In Step 3, when entering the signal handover overlapping area, the train receives the signal value R1 of the target base station, and the set threshold is K. As the train advances, the received signal range is within [R1 - K, R1 + K], and use Mmin as the handover threshold across zones, otherwise use Mmax as the handover threshold across zones.
3. The double-threshold high-speed railway signal handover method according to claim 1 is characterized in that: The specific method for predicting the hysteresis threshold Mk+1 at the next moment is: Obtain the historical hysteresis threshold data of high-speed rail signal handover across zones and generate a data set; Divide the data set into a training set and a test set, use the training set data to train the prediction model, and use the test set data for testing, and use the trained prediction model to predict the hysteresis threshold value at the next moment.
4. The double-threshold high-speed railway signal handover method according to claim 3 is characterized in that: The prediction model is an LSTM recurrent neural network model.
5. The double-threshold high-speed rail signal handover method according to claim 4 is characterized in that: The core formulas of the gating units of the LSTM recurrent neural network model are respectively: f k is the output of the forget gate: f k =σ(W f ·[h k-1 ,x k ]+b f ) is the candidate memory state for the current time step: Sigmoid layer of input gate: i k =σ(W i ·[h k-1 ,x k ]+b i ) Update of input gate: Unit status update: h k is the hidden state at the current time step: h k =(σ(W o ·[h k-1 ,x k ]+b o )·tanh(C k )); Among them, σ is the sigmoid activation function, and the output is [0,1], which indicates the degree of door opening, W f is the weight matrix of the forget gate, h k-1 is the hidden state of the previous time step (k-1), x k is the input of the current time step (k), b f is the bias term of the forget gate, i k is the output of the input gate at the kth time step, W i is the weight matrix of the input gate, bi and bi are the bias items of the input gate, Wo is the weight matrix of the output gate, bo is the bias item of the output gate, tanh is the hyperbolic tangent activation function, the value range is [-1,1], and it is usually used to initialize the candidate unit state.
6. The double-threshold high-speed railway signal handover method according to claim 5 is characterized in that: Use the RMSE evaluation index to evaluate the model prediction ability, and the RMSE formula is as follows: Where r is the total number of samples, Tk is the kth actual observation value, and T’k is the kth predicted value.
