CN110807525B - Neural Network Flight Guarantee Service Time Estimation Method Based on Improved Genetic Algorithm - Google Patents
Neural Network Flight Guarantee Service Time Estimation Method Based on Improved Genetic Algorithm Download PDFInfo
- Publication number
- CN110807525B CN110807525B CN201911037529.XA CN201911037529A CN110807525B CN 110807525 B CN110807525 B CN 110807525B CN 201911037529 A CN201911037529 A CN 201911037529A CN 110807525 B CN110807525 B CN 110807525B
- Authority
- CN
- China
- Prior art keywords
- neural network
- service time
- time estimation
- genetic algorithm
- flight
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Business, Economics & Management (AREA)
- Biophysics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Human Resources & Organizations (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Biomedical Technology (AREA)
- Artificial Intelligence (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Marketing (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Development Economics (AREA)
- Quality & Reliability (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Physiology (AREA)
- Genetics & Genomics (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域Technical Field
本发明属于民用航空技术领域,特别是涉及一种基于改进遗传算法(AMGA)的神经网络航班保障服务时间估计方法。The invention belongs to the technical field of civil aviation, and in particular relates to a neural network flight support service time estimation method based on an improved genetic algorithm (AMGA).
背景技术Background Art
机场保障服务的管理者不仅要考虑到航班保障服务作业时间的约束,还要考虑到航空器对设备占用的排它性。特种车辆设备调度时需要考虑航空器机型、航班时刻、车辆行驶路线等因素,所以航班保障过程具有非线性、非平稳性和动态性的特点。一旦整体航班保障服务过程中的某一环节受到干扰,没有在标准规定的时间内完成该项作业,那么将会直接影响后续的航班保障服务环节,形成波及效应,甚至可能造成严重的后果。因此需要建立航班保障服务的数学模型与计算机仿真技术,通过对地面运行状态详细的刻画来提高航班运行效率,保证资源利用和设备使用的最大化。Managers of airport support services must not only consider the constraints of flight support service operation time, but also the exclusivity of aircraft to equipment occupancy. When dispatching special vehicle equipment, factors such as aircraft model, flight schedule, and vehicle route need to be considered, so the flight support process is nonlinear, non-stationary, and dynamic. Once a certain link in the overall flight support service process is disturbed and the operation is not completed within the time specified by the standard, it will directly affect the subsequent flight support service links, forming a ripple effect, and may even cause serious consequences. Therefore, it is necessary to establish a mathematical model and computer simulation technology for flight support services, and improve flight operation efficiency by detailed characterization of ground operation status, so as to ensure maximum resource utilization and equipment use.
BP神经网络求解复杂非线性问题时一部分是样本的正向传播,另一部分是误差的反向传播,对每一层的连接权值和阈值进行调整,以减少实际误差,如此反复循环,直到模型的输出误差小于精度要求,即达到模型输出结果与实际结果无限接近。但目前使用BP神经网络估计航班保障服务时间的方法较少。When BP neural network solves complex nonlinear problems, one part is the forward propagation of samples, and the other part is the back propagation of errors. The connection weights and thresholds of each layer are adjusted to reduce the actual error. This cycle is repeated until the output error of the model is less than the accuracy requirement, that is, the model output result is infinitely close to the actual result. However, there are few methods for estimating flight support service time using BP neural network.
发明内容Summary of the invention
为了解决上述问题,本发明的目的在于提供一种基于改进遗传算法的神经网络航班保障服务时间估计方法。In order to solve the above problems, the purpose of the present invention is to provide a neural network flight support service time estimation method based on an improved genetic algorithm.
为了达到上述目的,本发明提供的基于改进遗传算法的神经网络航班保障服务时间估计方法包括按顺序进行的下列步骤:In order to achieve the above object, the neural network flight support service time estimation method based on improved genetic algorithm provided by the present invention comprises the following steps performed in sequence:
步骤1:分析机场场面运行的航班保障服务流程,根据被控对象的不同,将航班保障服务分为三类,分别为航空器的服务、旅客的服务和行李货邮的服务;Step 1: Analyze the flight support service process of airport surface operation, and divide the flight support services into three categories according to the different objects being controlled, namely aircraft services, passenger services and baggage, cargo and mail services;
步骤2:从上述三类航班保障服务中选取n个标准动作节点,将每一个标准动作节点的时间变量作为一个原始变量,对原始变量进行降维而获得m个主成分并将m个主成分作为BP神经网络航班保障服务时间估计模型的输入变量,然后根据主成分个数构建BP神经网络航班保障服务时间估计模型;Step 2: Select n standard action nodes from the above three types of flight support services, take the time variable of each standard action node as an original variable, reduce the dimension of the original variable to obtain m principal components and use the m principal components as the input variables of the BP neural network flight support service time estimation model, and then build the BP neural network flight support service time estimation model according to the number of principal components;
步骤3:对上述输入变量相关的数据进行预处理与归一化处理,然后将所有处理后的数据随机分成训练样本与测试样本,之后将训练样本输入到BP神经网络航班保障服务时间估计模型中而对该模型进行训练,最后将测试样本输入到训练好的BP神经网络航班保障服务时间估计模型中;Step 3: Preprocess and normalize the data related to the above input variables, and then randomly divide all the processed data into training samples and test samples, and then input the training samples into the BP neural network flight support service time estimation model to train the model, and finally input the test samples into the trained BP neural network flight support service time estimation model;
步骤4:使用改进遗传算法对上述训练好的BP神经网络航班保障服务时间估计模型进行优化而获得优化后的改进遗传算法的神经网络航班保障服务时间估计模型;Step 4: Use the improved genetic algorithm to optimize the trained BP neural network flight support service time estimation model to obtain an optimized improved genetic algorithm neural network flight support service time estimation model;
步骤5:将任一机场的航班保障服务数据按照上述步骤1、2处理后输入到优化后的改进遗传算法的神经网络航班保障服务时间估计模型中,优化后的改进遗传算法的神经网络航班保障服务时间估计模型的输出即为该机场的航班保障服务时间的估计值。Step 5: Process the flight support service data of any airport according to the
在步骤1)中,所述的分析机场场面运行的航班保障服务流程,根据被控对象的不同,将航班保障服务分为三类,分别为航空器的服务、旅客的服务和行李货邮的服务的方法是:In step 1), the flight support service process of the airport field operation is analyzed, and the flight support service is divided into three categories according to different controlled objects, namely, aircraft service, passenger service and baggage cargo and mail service. The method is:
所述的航空器的服务主要包括:上轮挡、廊桥对接、客梯车对接、客舱清洁、垃圾处理、清污水、航食添加、航油加注、廊桥撤离、客梯车撤离、机务巡检、撤轮挡在内的作业;旅客的服务主要包括开客舱门、旅客下机、旅客登机、关客舱门在内的作业;行李货邮的服务主要包括开货舱门、卸货邮行李、装货邮行李、关货舱门在内的作业。The aircraft services mentioned above mainly include: adding wheel chocks, jet bridge docking, passenger ladder docking, cabin cleaning, garbage disposal, sewage cleaning, adding in-flight meals, refueling, jet bridge evacuation, passenger ladder evacuation, maintenance inspection, and removing wheel chocks; the passenger services mainly include opening the cabin door, passengers disembarking, passengers boarding, and closing the cabin door; the baggage, cargo and mail services mainly include opening the cargo door, unloading cargo and mail baggage, loading cargo and mail baggage, and closing the cargo door.
在步骤2)中,所述的从上述三类航班保障服务中选取n个标准动作节点,将每一个标准动作节点的时间变量作为一个原始变量,对原始变量进行降维而获得m个主成分并将m个主成分作为BP神经网络航班保障服务时间估计模型的输入变量,然后根据主成分个数构建BP神经网络航班保障服务时间估计模型的方法是:首先依据步骤1)分析所需的航班保障服务中选取标准动作节点作为原始变量,其次使用主成分分析方法对上述原始变量进行降维,将降维后的原始变量作为BP神经网络的输入层节点,并计算相应的隐藏层输出层的节点数量,最后构建BP神经网络航班保障服务时间估计模型。In step 2), n standard action nodes are selected from the above three types of flight support services, the time variable of each standard action node is used as an original variable, the original variable is reduced in dimension to obtain m principal components and the m principal components are used as input variables of the BP neural network flight support service time estimation model, and then the method of constructing the BP neural network flight support service time estimation model according to the number of principal components is: first, according to step 1), the standard action nodes are selected from the required flight support services as the original variables, and then the principal component analysis method is used to reduce the dimension of the above original variables, and the original variables after dimension reduction are used as the input layer nodes of the BP neural network, and the number of nodes of the corresponding hidden layer output layer is calculated, and finally the BP neural network flight support service time estimation model is constructed.
在步骤3)中,所述的对上述输入变量相关的数据进行预处理与归一化处理,然后将所有处理后的数据随机分成训练样本与测试样本,之后将训练样本输入到BP神经网络航班保障服务时间估计模型中而对该模型进行训练,最后将测试样本输入到训练好的BP神经网络航班保障服务时间估计模型中的方法是:首先从机场实际航班保障服务过程的真实数据中选取BP神经网络航班保障服务时间估计模型的输入变量相关的的数据,并使用归一化方法处理数据以减少部分数据缺失带来的影响,其次将归一化处理后的数据分为训练样本和测试样本,然后先后输入到BP神经网络航班保障服务时间估计模型中而对该模型进行训练和测试,最后得到训练好的BP神经网络航班保障服务时间估计模型。In step 3), the data related to the above-mentioned input variables are preprocessed and normalized, and then all the processed data are randomly divided into training samples and test samples. The training samples are then input into the BP neural network flight support service time estimation model to train the model. Finally, the test samples are input into the trained BP neural network flight support service time estimation model. The method is: first, data related to the input variables of the BP neural network flight support service time estimation model are selected from the real data of the actual flight support service process of the airport, and the data is processed using a normalization method to reduce the impact of missing data. Secondly, the normalized data is divided into training samples and test samples, and then successively input into the BP neural network flight support service time estimation model to train and test the model, and finally a trained BP neural network flight support service time estimation model is obtained.
在步骤4)中,所述的使用改进遗传算法对上述训练好的BP神经网络航班保障服务时间估计模型进行优化而获得优化后的改进遗传算法的神经网络航班保障服务时间估计模型的方法是:首先改进遗传算法的两层结构染色体,改进遗传算法的适应度函数,其次选择“最佳个体保存策略”和“随机联赛选择策略”的操作方法改进遗传算法的选择算子,避免挑选的概率太大导致遗传算法效率的降低破坏种群中的优秀个体,同时避免挑选的概率太小陷入“过早成熟”而设计自适应交叉概率和变异概率,最后完成改进遗传算法的神经网络航班保障服务时间估计模型。In step 4), the method of using the improved genetic algorithm to optimize the above-trained BP neural network flight support service time estimation model to obtain the optimized improved genetic algorithm neural network flight support service time estimation model is: first, improve the two-layer structure chromosome of the genetic algorithm, improve the fitness function of the genetic algorithm, and then select the operation methods of "best individual preservation strategy" and "random league selection strategy" to improve the selection operator of the genetic algorithm to avoid the probability of selection being too large, resulting in the reduction of genetic algorithm efficiency and the destruction of excellent individuals in the population, and at the same time avoid the probability of selection being too small and falling into "premature maturity" and designing adaptive crossover probability and mutation probability, and finally completing the improved genetic algorithm neural network flight support service time estimation model.
本发明提供的基于改进遗传算法的神经网络航班保障服务时间估计方法具有如下有益效果:在传统遗传算法的基础上,分别对染色体结构、适应度函数、选择算子、交叉算子、变异算子以及交叉变异概率进行设计,以实现对航班保障服务时间的准确估计,进而可提高航班保障服务效率。The neural network flight support service time estimation method based on improved genetic algorithm provided by the present invention has the following beneficial effects: on the basis of the traditional genetic algorithm, the chromosome structure, fitness function, selection operator, crossover operator, mutation operator and crossover mutation probability are designed respectively to achieve accurate estimation of flight support service time, thereby improving the efficiency of flight support service.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为具体的航班保障服务示意图。Figure 1 is a schematic diagram of a specific flight support service.
图2为本发明提供的BP神经网络基本结构示意图。FIG. 2 is a schematic diagram of the basic structure of the BP neural network provided by the present invention.
图3为本发明选取实例的航班保障服务作业流程。FIG. 3 is a flow chart of a flight support service operation according to an example of the present invention.
图4为本发明设计的两层阶梯结构染色体及其编码图。FIG. 4 is a two-layer ladder structure chromosome and its coding diagram designed by the present invention.
图5为本发明设计的改进遗传算法(AMGA)流程图。FIG5 is a flow chart of the improved genetic algorithm (AMGA) designed by the present invention.
图6为本发明设计的隐含层节点数变化图。FIG6 is a graph showing the variation of the number of hidden layer nodes designed by the present invention.
图7为改进遗传算法(AMGA)、传统遗传算法(GA)、未加算法的三种模型估计误差对比图。Figure 7 is a comparison chart of the estimation errors of the three models using the improved genetic algorithm (AMGA), the traditional genetic algorithm (GA), and no algorithm.
图8为航班保障服务时间估计值与实际值对比图。Figure 8 is a comparison chart of the estimated and actual values of flight support service time.
具体实施方式DETAILED DESCRIPTION
下面结合附图和具体实施例对本发明提供的基于改进遗传算法的神经网络航班保障服务时间估计方法进行详细说明。The neural network flight support service time estimation method based on the improved genetic algorithm provided by the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
本发明提供的基于改进遗传算法的神经网络航班保障服务时间估计方法包括按顺序进行的下列步骤:The neural network flight support service time estimation method based on the improved genetic algorithm provided by the present invention comprises the following steps performed in sequence:
步骤1:分析机场场面运行的航班保障服务流程,根据被控对象的不同,将航班保障服务分为三类,分别为航空器的服务、旅客的服务和行李货邮的服务;Step 1: Analyze the flight support service process of airport surface operation, and divide the flight support services into three categories according to the different objects being controlled, namely aircraft services, passenger services and baggage, cargo and mail services;
其中,航空器的服务主要包括:上轮挡、廊桥对接、客梯车对接、客舱清洁、垃圾处理、清污水、航食添加、航油加注、廊桥撤离、客梯车撤离、机务巡检、撤轮挡在内的作业;旅客的服务主要包括开客舱门、旅客下机、旅客登机、关客舱门在内的作业;行李货邮的服务主要包括开货舱门、卸货邮行李、装货邮行李、关货舱门在内的作业。由此可见,航班保障服务非常复杂,具体的航班保障服务示意图如图1所示,飞机在停机坪停放时,各项航班保障服务作业有时需要同步进行。Among them, aircraft services mainly include: wheel chock installation, jet bridge docking, passenger staircase docking, cabin cleaning, garbage disposal, sewage cleaning, in-flight food addition, aviation fuel filling, jet bridge evacuation, passenger staircase evacuation, maintenance inspection, and wheel chock removal; passenger services mainly include cabin door opening, passenger disembarkation, passenger boarding, and cabin door closing; baggage and cargo services mainly include cargo door opening, cargo and mail baggage unloading, cargo and mail baggage loading, and cargo door closing. It can be seen that flight support services are very complex. The specific flight support service diagram is shown in Figure 1. When the aircraft is parked on the apron, various flight support service operations sometimes need to be performed simultaneously.
航班保障服务包括若干作业,每个作业又需要使用若干种资源和设备,下面来对主要的航班保障服务作业涉及到的设备进行分析。旅客下机、旅客登机、机组登机作业主要用到廊桥、摆渡车、客梯车,在近机位时使用廊桥,在远机位时使用客梯车和摆渡车;航食添加作业主要用到航食车,为航空器提供餐食,用于对不同机型航空器服务;客舱清洁和清污水作业主要用到垃圾车用于清理食品垃圾,清水车用于补充航空器飞行过程中消耗的水,污水车用于排出飞行过程中产生的污水;航油加注作业主要用到航油车,航油车分为油罐车和油栓车,用于给航空器补充燃料;装卸行李和货邮作业主要用到传送带车、牵引车及平台车,以方便装卸行李货邮;航空器推出作业用到牵引车,牵引车又称拖车,用于牵引航空器服务设备。Flight support services include several operations, each of which requires the use of several resources and equipment. The following is an analysis of the equipment involved in the main flight support services. Passenger disembarkation, passenger boarding, and crew boarding operations mainly use jet bridges, shuttle buses, and passenger elevators. Jet bridges are used when the aircraft is close to the aircraft position, and passenger elevators and shuttle buses are used when the aircraft is far away. In-flight catering operations mainly use in-flight catering vehicles to provide meals for aircraft and serve different types of aircraft. Cabin cleaning and sewage cleaning operations mainly use garbage trucks to clean up food waste, water trucks to replenish water consumed during the flight of the aircraft, and sewage trucks to discharge sewage generated during the flight. Aviation fuel filling operations mainly use aviation fuel trucks, which are divided into fuel tankers and fuel plug trucks, which are used to refuel aircraft. Baggage loading and unloading and cargo and mail operations mainly use conveyor belt trucks, tractors, and platform trucks to facilitate the loading and unloading of baggage, cargo, and mail. Aircraft push-out operations use tractors, which are also called trailers and are used to tow aircraft service equipment.
通过对上述航班保障服务的研究,分析出整体航班保障服务作业的特点和单项航班保障服务作业的特点。从整体角度来考虑,单航班的航班保障作业流程大致可以划分为4个并行工作流程,分别是机务巡检服务、客舱服务、货舱服务、航油加注服务。部分并行工作流程中还含有一些串行的航班保障服务作业,其中货舱服务包括开货舱门、卸行李货邮、装行李货邮、关货舱门等保障作业;客舱服务中不仅包含串行作业,还包含并行作业。通过深入的分析研究,可将航班保障服务过程抽象为一个复杂的网络拓扑图,各个航班保障服务作业之间的关系错综复杂,具有强耦合性,不仅有时间上的先后顺序,而且有逻辑关系。根据《机场航班运行保障标准》的规定,每个具体的航班保障服务作业都有其约束条件,必须要在标准规定的时间内完成作业服务,其中客舱清洁和航食添加应该在旅客和机组下机以后才能够开始;清污水操作应该在航班计划关舱门前15分钟完成等。航班保障服务的管理者不仅要考虑到航班保障服务作业时间的约束,还要考虑到航空器对设备占用的排它性。特种车辆设备调度时需要考虑航空器机型、航班时刻、车辆行驶路线等因素,所以航班保障服务过程具有非线性、非平稳性和动态性的特点。假若整体航班保障服务过程中的某一环节受到干扰,没有在标准规定的时间内完成该项作业,那么将会直接影响到后续的航班保障服务作业,形成波及效应,甚至可能造成严重的后果。Through the study of the above flight support services, the characteristics of the overall flight support service operation and the characteristics of the single flight support service operation are analyzed. From an overall perspective, the flight support operation process of a single flight can be roughly divided into four parallel work processes, namely, maintenance inspection service, cabin service, cargo hold service, and aviation fuel filling service. Some parallel work processes also contain some serial flight support service operations, among which the cargo hold service includes opening the cargo door, unloading luggage and mail, loading luggage and mail, closing the cargo door and other support operations; the cabin service includes not only serial operations but also parallel operations. Through in-depth analysis and research, the flight support service process can be abstracted into a complex network topology diagram. The relationship between each flight support service operation is intricate and strongly coupled, with not only a temporal sequence, but also a logical relationship. According to the provisions of the "Airport Flight Operation Support Standards", each specific flight support service operation has its constraints and must be completed within the time specified by the standard. Among them, cabin cleaning and in-flight meal addition should only start after passengers and crew get off the plane; sewage cleaning operations should be completed 15 minutes before the flight is scheduled to close the cabin door, etc. Managers of flight support services must not only consider the constraints of flight support service operation time, but also the exclusivity of aircraft to equipment occupancy. When dispatching special vehicle equipment, factors such as aircraft model, flight schedule, and vehicle route need to be considered, so the flight support service process is nonlinear, non-stationary, and dynamic. If a certain link in the overall flight support service process is disturbed and the operation is not completed within the time specified by the standard, it will directly affect the subsequent flight support service operations, forming a ripple effect, and may even cause serious consequences.
步骤2:从上述三类航班保障服务中选取n个标准动作节点,将每一个标准动作节点的时间变量作为一个原始变量,对原始变量进行降维而获得m个主成分并将m个主成分作为BP神经网络航班保障服务时间估计模型的输入变量,然后根据主成分个数构建BP神经网络航班保障服务时间估计模型;Step 2: Select n standard action nodes from the above three types of flight support services, take the time variable of each standard action node as an original variable, reduce the dimension of the original variable to obtain m principal components and use the m principal components as the input variables of the BP neural network flight support service time estimation model, and then build the BP neural network flight support service time estimation model according to the number of principal components;
通过上述分析可知,航班保障服务过程是一个具有非线性和动态性特性的复杂系统,BP神经网络适合求解这类问题,其基本结构如图2所示。From the above analysis, we can see that the flight support service process is a complex system with nonlinear and dynamic characteristics. The BP neural network is suitable for solving this type of problem. Its basic structure is shown in Figure 2.
从上述三类航班保障服务中选取n个标准动作节点。在本发明中,如图3所示,标准动作节点的个数为21,分别为:上轮挡、廊桥对接、客梯车对接、开客舱门、开货舱门、旅客下机、卸货邮卸行李、客舱清洁、垃圾处理、清污水作业、航食添加、航油加注、机务巡检、机组登机、装货邮装行李、旅客登机、关客舱门、关货舱门、廊桥撤离、客梯车撤离和撤轮挡。在图3这个复杂的网状拓扑图中,按箭头所指方向依次进行,各个标准动作节点之间既有时间顺序,又有逻辑次序,不可进行颠倒,这样才能确保航班保障服务过程的合理性。将这21个标准动作节点的时间变量用X=(x1,x2,...xn)(n=1,2,…,21)表示,并将每一个标准动作节点的时间变量作为一个原始变量。Select n standard action nodes from the above three types of flight support services. In the present invention, as shown in FIG3 , the number of standard action nodes is 21, which are: wheel chock, bridge docking, passenger elevator docking, cabin door opening, cargo door opening, passenger disembarkation, unloading of mail and luggage, cabin cleaning, garbage disposal, sewage cleaning, in-flight food addition, aviation fuel filling, maintenance inspection, crew boarding, loading of mail and luggage, passenger boarding, cabin door closing, cargo door closing, bridge evacuation, passenger elevator evacuation and wheel chock removal. In the complex mesh topology of FIG3 , proceed in sequence according to the direction indicated by the arrow. There is both a time sequence and a logical order between each standard action node, which cannot be reversed, so as to ensure the rationality of the flight support service process. The time variables of these 21 standard action nodes are represented by X=(x 1 ,x 2 ,...x n )(n=1,2,…,21), and the time variable of each standard action node is used as an original variable.
为了简化BP神经网络航班保障服务时间估计模型的复杂程度,本发明采用主成分分析(PCA)方法对上述原始变量进行降维,主成分分析(PCA)方法是利用降维(线性变换)的思想,在很少丢失信息的情况下把多个原始变量转化为几个不相关的主成分,每个主成分都是原始变量的线性组合且各主成分之间互不相关。具体步骤如下:In order to simplify the complexity of the BP neural network flight support service time estimation model, the present invention adopts the principal component analysis (PCA) method to reduce the dimension of the above original variables. The principal component analysis (PCA) method uses the idea of dimensionality reduction (linear transformation) to transform multiple original variables into several unrelated principal components with little information loss. Each principal component is a linear combination of the original variables and the principal components are unrelated to each other. The specific steps are as follows:
(1)根据下式对上述原始变量进行标准化处理而获得归一化变量;(1) The above original variables are standardized according to the following formula to obtain normalized variables;
其中,n表示航班保障服务标准动作节点个数;p为航班保障服务各个标准动作节点的时间变量的输入次数;xij为第i个航班保障服务标准动作节点的时间变量的第j次输入;为第j次输入的航班保障服务的时间变量的均值;in, n represents the number of standard action nodes of flight support services; p is the number of inputs of the time variable of each standard action node of flight support services; x ij is the jth input of the time variable of the i-th standard action node of flight support services; is the mean value of the time variable of the flight support service input for the jth time;
(2)根据上一步得到的归一化变量计算出标准化矩阵的元素,由所有元素构造标准化矩阵Z;(2) Calculate the elements of the standardized matrix based on the normalized variables obtained in the previous step, and construct the standardized matrix Z from all the elements;
其中, in,
由所有元素构造标准化矩阵Z;Construct the normalized matrix Z from all elements;
(3)利用上述标准化矩阵Z求解出相关系数矩阵R;(3) Using the above-mentioned standardized matrix Z, the correlation coefficient matrix R is solved;
其中,ZT表示标准化矩阵Z的转置操作;in, Z T represents the transpose operation of the normalized matrix Z;
(4)求解上述相关系数矩阵R的特征方程|R-λIp|=0而得到p个特征值λj(j=1,2,…,p),根据公式计算出p个贡献率η,并按照累计贡献率公式计算出p个累计贡献率,然后从大到小对累计贡献率进行排序,最后选择出m个累计贡献率≥0.85的原始变量作为主成分X=(x1,x2,...xm),并将这些主成分作为BP神经网络航班保障服务时间估计模型的输入。(4) Solve the characteristic equation of the correlation coefficient matrix R above |R-λI p |=0 to obtain p eigenvalues λ j (j=1,2,…,p). According to the formula Calculate p contribution rates η and use the cumulative contribution rate formula Calculate p cumulative contribution rates, then sort the cumulative contribution rates from large to small, and finally select m original variables with cumulative contribution rates ≥ 0.85 as principal components X = (x 1 , x 2 , ... x m ), and use these principal components as inputs to the BP neural network flight support service time estimation model.
以上述利用PCA方法计算出的主成分个数m作为输入层节点个数而构建BP神经网络航班保障服务时间估计模型,在本发明中,输入层节点个数m为10,分别是航油加注时间、上轮挡时间、旅客下机时间、旅客登机时间、装卸货邮行李时间、廊桥对接时间、撤轮挡时间、廊桥撤离时间、垃圾处理时间和清洁配餐时间;隐含层节点个数是根据经验公式所假设的,常见的隐含层节点个数经验公式有三种:k=log2m、其中α为根据经验取的常数,在本发明中求得的隐含层节点个数k=14;根据所求问题,确定输出层节点个数q=1,即航班保障服务时间。因此在本发明中确定的BP神经网络航班保障服务时间估计模型的结构是10-14-1,最终由此构建成BP神经网络航班保障服务时间估计模型。The number of principal components m calculated by the PCA method is used as the number of input layer nodes to construct a BP neural network flight support service time estimation model. In the present invention, the number of input layer nodes m is 10, which are respectively the time for refueling, the time for loading and unloading blocks, the time for disembarking passengers, the time for boarding passengers, the time for loading and unloading cargo, mail and baggage, the time for docking bridge, the time for unloading blocks, the time for evacuating bridges, the time for handling garbage and the time for cleaning and preparing meals. The number of hidden layer nodes is assumed according to empirical formulas. There are three common empirical formulas for the number of hidden layer nodes: k = log 2 m, Where α is a constant obtained based on experience. The number of hidden layer nodes k=14 obtained in the present invention is determined according to the problem being solved. The number of output layer nodes q=1 is determined, i.e., the flight support service time. Therefore, the structure of the BP neural network flight support service time estimation model determined in the present invention is 10-14-1, and the BP neural network flight support service time estimation model is finally constructed.
在这个具有三层结构的BP神经网络航班保障服务时间估计模型中,输入层的m个输入变量为上述利用PCA方法选取出的m个主成分输入层的输出变量为隐含层的输入变量为隐含层的输出变量为输入层至隐含层的连接权重为wij(i=1,2,…,m;j=1,2,…,k);隐含层至输出层的连接权重vjt(j=1,2,…,k;t=1,2,…,q);隐含层各单元的输出阈值θj(j=1,2,…,q);输出层各单元的输出阈值γj(j=1,2,…,q);p是输入次数。在本发明中,输入变量中的x1表示航油加注时间,x2表示上轮挡时间,x3表示旅客下机时间,x4表示旅客登机时间,x5表示装卸货邮行李时间,x6表示廊桥对接时间,x7表示撤轮挡时间,x8表示廊桥撤离时间,x9表示垃圾处理时间,x10表示清洁配餐时间。用ci(i=1,2,…,14)表示隐含层中的各个节点,y代表航班保障服务时间。In this three-layer BP neural network flight support service time estimation model, the m input variables of the input layer are the m principal components selected by the PCA method. The output variable of the input layer is The input variables of the hidden layer are The output variable of the hidden layer is The connection weight from the input layer to the hidden layer is w ij (i=1,2,…,m; j=1,2,…,k); the connection weight from the hidden layer to the output layer is v jt (j=1,2,…,k; t=1,2,…,q); the output threshold value of each unit in the hidden layer is θ j (j=1,2,…,q); the output threshold value of each unit in the output layer is γ j (j=1,2,…,q); p is the number of input times. In the present invention, x 1 in the input variable represents the time for refueling, x 2 represents the time for on-block loading, x 3 represents the time for passengers to get off the plane, x 4 represents the time for passengers to board the plane, x 5 represents the time for loading and unloading cargo, mail and baggage, x 6 represents the time for docking with the bridge, x 7 represents the time for off-block loading, x 8 represents the time for evacuating the bridge, x 9 represents the time for garbage disposal, and x 10 represents the time for cleaning and catering. Use c i (i=1,2,…,14) to represent each node in the hidden layer, and y represents the flight support service time.
步骤3:对上述输入变量相关的数据进行预处理与归一化处理,然后将所有处理后的数据随机分成训练样本与测试样本,之后将训练样本输入到BP神经网络航班保障服务时间估计模型中而对该模型进行训练,最后将测试样本输入到训练好的BP神经网络航班保障服务时间估计模型中;Step 3: Preprocess and normalize the data related to the above input variables, and then randomly divide all the processed data into training samples and test samples, and then input the training samples into the BP neural network flight support service time estimation model to train the model, and finally input the test samples into the trained BP neural network flight support service time estimation model;
本发明中输入变量相关的数据选自某机场某一时段内实际航班保障服务过程中所记录的真实数据。但在机场实际记录过程中难免会因为特殊情况导致部分数据的缺失,因此需要对这些数据进行预处理,以减少部分数据缺失带来的影响。处理前的部分航班保障服务数据如表1所示。The data related to the input variables in the present invention are selected from the real data recorded in the actual flight support service process of a certain airport during a certain period of time. However, in the actual recording process of the airport, it is inevitable that some data will be missing due to special circumstances, so it is necessary to pre-process these data to reduce the impact of the missing data. Some flight support service data before processing are shown in Table 1.
表1、处理前的部分航班保障服务数据Table 1. Data of some flight support services before processing
先将航班保障服务作业的开始和结束时间的代号去除,例如表1中的[06];然后将航班进站以后的停机位号删除,因为停机位号与所要研究的内容关系不大,最后求出各个航班保障服务作业的持续时间,即各个作业结束时间减去开始时间。表1中以上轮挡作业为例,其他航班保障服务作业的处理与上轮挡作业类似,处理后的航班保障服务数据如表2所示。First, remove the start and end time codes of the flight support service operation, such as [06] in Table 1; then delete the parking position number after the flight arrives at the station, because the parking position number has little to do with the content to be studied, and finally find the duration of each flight support service operation, that is, the end time of each operation minus the start time. In Table 1, the wheel block operation is taken as an example, and the processing of other flight support service operations is similar to the wheel block operation. The processed flight support service data is shown in Table 2.
表2、处理后的保障服务数据Table 2. Processed security service data
为了提高BP神经网络航班保障服务时间估计模型估计的准确性,对该模型中的输出变量y1和输入变量x1、x2、x3、x4、x5、x6、x7、x8、x9、x10进行归一化处理,公式如下:In order to improve the accuracy of the BP neural network flight support service time estimation model, the output variable y1 and input variables x1 , x2 , x3, x4 , x5 , x6 , x7 , x8 , x9 , x10 in the model are normalized. The formula is as follows:
其中,u表示处理后的输入变量数据,xi表示处理前的输入变量数据,xmax表示最大输入变量数据;xmin表示最小输入变量数据;umax表示处理后的上限数据,umin表示处理后的下限数据,假设处理后的数据范围控制在[0,1],则umax=1,umin=0。Among them, u represents the input variable data after processing, xi represents the input variable data before processing, xmax represents the maximum input variable data; xmin represents the minimum input variable data; umax represents the upper limit data after processing, and umin represents the lower limit data after processing. Assuming that the data range after processing is controlled in [0, 1], then umax = 1, umin = 0.
将上述经过预处理与归一化处理后的数据按3:1的比例随机分成训练样本与测试样本,然后将训练样本输入到BP神经网络航班保障服务时间估计模型中而对该模型进行训练,之后将测试样本输入到训练好的BP神经网络航班保障服务时间估计模型中,并根据误差大小确定该模型是否满足精度要求。The preprocessed and normalized data are randomly divided into training samples and test samples in a ratio of 3:1. The training samples are then input into the BP neural network flight support service time estimation model to train the model. The test samples are then input into the trained BP neural network flight support service time estimation model, and whether the model meets the accuracy requirements is determined based on the error size.
步骤4:使用改进遗传算法对上述训练好的BP神经网络航班保障服务时间估计模型进行优化而获得优化后的改进遗传算法的神经网络航班保障服务时间估计模型;Step 4: Use the improved genetic algorithm to optimize the trained BP neural network flight support service time estimation model to obtain an optimized improved genetic algorithm neural network flight support service time estimation model;
其中,改进遗传算法是将传统遗传算法中的染色体表示为两层结构并改进相应算子,将传统变异概率设计为自适应交叉变异概率,优化网络结构和网络连接权重、阈值。具体步骤如下:Among them, the improved genetic algorithm is to represent the chromosome in the traditional genetic algorithm as a two-layer structure and improve the corresponding operator, design the traditional mutation probability as an adaptive crossover mutation probability, and optimize the network structure and network connection weights and thresholds. The specific steps are as follows:
(1)改进遗传算法的两层结构染色体设计:(1) Improved genetic algorithm two-layer structure chromosome design:
对传统的染色体进行改进,染色体的结构是由许多基因按照层次排列起来的,将染色体基因设计分为上下两层,包括对照基因和参数基因,对照基因处于上层,用于控制隐含层的节点数,优化BP神经网络的结构;参数基因在下层,用于优化BP神经网络的连接权重和阈值,并且下层的参数基因串由上层的对照基因来控制。对基因进行编码,对照基因的编码为二进制,“1”代表对应基因处于活化状态,与这个基因相联系的低层基因串有效;“0”代表对应基因处于失活状态,与这个基因相联系的低层基因串无效;参数基因编码为实数。设计的两层结构染色体及其编码图如图4所示。本发明所设计的染色体可以分为两个层次,对照基因的编码长度应该等于隐含层节点数量m,其位置应该处于染色体的上层;参数基因的位置应该处于染色体的下层,其编码长度应该等于染色体中连接权重和阈值的总数(n+1)*m+(m+1)*p。Improve the traditional chromosome. The structure of the chromosome is arranged in layers by many genes. The chromosome gene design is divided into two layers, including control genes and parameter genes. The control gene is in the upper layer, which is used to control the number of nodes in the hidden layer and optimize the structure of the BP neural network; the parameter gene is in the lower layer, which is used to optimize the connection weight and threshold of the BP neural network, and the parameter gene string of the lower layer is controlled by the control gene of the upper layer. Encode the gene, the coding of the control gene is binary, "1" represents that the corresponding gene is in an activated state, and the low-level gene string associated with this gene is valid; "0" represents that the corresponding gene is in an inactivated state, and the low-level gene string associated with this gene is invalid; the parameter gene is encoded as a real number. The designed two-layer structure chromosome and its coding diagram are shown in Figure 4. The chromosome designed by the present invention can be divided into two levels. The coding length of the control gene should be equal to the number of hidden layer nodes m, and its position should be in the upper layer of the chromosome; the position of the parameter gene should be in the lower layer of the chromosome, and its coding length should be equal to the total number of connection weights and thresholds in the chromosome (n+1)*m+(m+1)*p.
(2)改进遗传算法的适应度函数设计(2) Improve the fitness function design of genetic algorithm
改进遗传算法既要实现对BP神经网络结构的优化,又要实现对BP神经网络连接权重和阈值的优化,从而既能够使航班保障服务时间的估计误差最小,又能使所建立模型的复杂程度达到最优,这是一个双目标的优化问题。设计的适应度函数既应该能够反映BP神经网络结构的复杂性,又应该能够反映BP神经网络结构的估计精度。估计精度是由各个航班保障服务作业时间的实际训练样本数据的总体估计误差决定,而网络复杂程度是由所设计的BP神经网络结构的隐含层节点数所决定。适应度函数设计如下:The improved genetic algorithm should not only optimize the BP neural network structure, but also optimize the connection weights and thresholds of the BP neural network, so as to minimize the estimation error of the flight support service time and optimize the complexity of the established model. This is a dual-objective optimization problem. The designed fitness function should be able to reflect both the complexity of the BP neural network structure and the estimation accuracy of the BP neural network structure. The estimation accuracy is determined by the overall estimation error of the actual training sample data of each flight support service operation time, while the network complexity is determined by the number of hidden layer nodes of the designed BP neural network structure. The fitness function is designed as follows:
f=αfrmse+βfcom 0<α,β<1f=αf rmse +
式中,frmse∈[0,1]是航班保障服务的各个作业时间的实际训练样本数据的均方根误差(RMSE),fcom是网络结构复杂度,是航班保障服务时间的估算值,yi是航班保障服务时间的实际值,这两个值均由训练好的BP神经网络航班保障服务时间估计模型得出;N(1)、N(0)分别表示对照基因中活化和失活的神经元数量,即对照基因中1和0的数量;β和α分别表示BP神经网络结构复杂度的调整系数和BP神经网络估计精度的调整系数。Where frmse∈ [0,1] is the root mean square error (RMSE) of the actual training sample data at each operation time of the flight support service, fcom is the complexity of the network structure, is the estimated value of the flight support service time, and yi is the actual value of the flight support service time. Both values are obtained by the trained BP neural network flight support service time estimation model; N(1) and N(0) represent the number of activated and inactivated neurons in the control gene, that is, the number of 1 and 0 in the control gene; β and α represent the adjustment coefficient of the BP neural network structure complexity and the adjustment coefficient of the BP neural network estimation accuracy, respectively.
(3)改进遗传算法的选择算子(3) Improve the selection operator of genetic algorithm
传统的轮盘和基于适应度比例的一些方法通常会出现“过早成熟”或者“封闭的竞争”,使得没有可行的办法进行检索,最终容易导致陷于局部的极值点而非最值点。针对这个局限,选择“最佳个体保存策略”和“规模为2的随机联赛选择策略”的操作方法。Traditional roulette and some methods based on fitness ratio usually appear "premature maturity" or "closed competition", making it impossible to retrieve, and eventually it is easy to get stuck in local extreme points instead of the maximum points. In view of this limitation, the operation methods of "best individual preservation strategy" and "random league selection strategy of size 2" are selected.
1)最佳个体保存策略:选择父代群体中最适应的个体,把选定的个体直接选入下一代群体,这样不仅使上一代种群中的最佳个体得以保存下来,还确保了遗传算法的全局收敛。1) Best individual preservation strategy: Select the most adaptable individual in the parent population and directly select the selected individual into the next generation population. This not only preserves the best individuals in the previous generation population, but also ensures the global convergence of the genetic algorithm.
2)规模为2的联赛选择策略:对于除了上一代种群中最优解决方案之外的所有个体,随机挑选两个个体来对比他们的适应度,将具有更好适应度的个体选择进入到下一代群体中,并淘汰具有较差适应值的个体,直到产生完整的后代群组,这样可以保证具有相对较高质量的个体能够进入到下一代群体中。2) League selection strategy of size 2: For all individuals except the best solution in the previous generation population, two individuals are randomly selected to compare their fitness, and the individuals with better fitness are selected to enter the next generation population, and the individuals with poor fitness are eliminated until a complete offspring group is generated, which can ensure that individuals with relatively high quality can enter the next generation population.
(4)改进遗传算法的交叉算子和变异算子(4) Improve the crossover operator and mutation operator of genetic algorithm
在遗传算法中,染色体上层的对照基因层使用单点交叉算子和简单变异算子;染色体下层的参数基因层使用整体算数交叉算子和非均匀变异算子。整体算数交叉算子使用几何向量的叠加原理来计算相交上一代矢量的每一个分量,从而扩大了算法的搜索范围;非均匀变异算子使突变与群体的进化代数相关联,并且在进化过程的早期阶段精英个体数量比较少,使用的范围比较大。而在演化过程中的后期阶段,为了防止优秀个体被破坏,允许变化的范围的比较窄,这样能够获取局部最佳值。In the genetic algorithm, the control gene layer on the upper chromosome uses a single-point crossover operator and a simple mutation operator; the parameter gene layer on the lower chromosome uses a global arithmetic crossover operator and a non-uniform mutation operator. The global arithmetic crossover operator uses the superposition principle of geometric vectors to calculate each component of the intersecting previous generation vector, thereby expanding the search range of the algorithm; the non-uniform mutation operator associates mutations with the evolutionary generations of the population, and in the early stages of the evolutionary process, the number of elite individuals is relatively small, and the range of use is relatively large. In the later stages of the evolutionary process, in order to prevent the destruction of excellent individuals, the range of allowed changes is relatively narrow, so that the local optimal value can be obtained.
(5)改进遗传算法的自适应交叉概率和变异概率(5) Improve the adaptive crossover probability and mutation probability of genetic algorithm
因为交叉、变异概率的选择会导致遗传算法效率的降低,如果挑选的概率太大,它将轻松破坏种群中的优秀个体;如果挑选的概率太小,个体更新的速度会变慢很多,很容易陷入“过早成熟”。自适应交叉概率的计算公式如下:Because the selection of crossover and mutation probabilities will lead to a decrease in the efficiency of the genetic algorithm, if the selection probability is too high, it will easily destroy the excellent individuals in the population; if the selection probability is too low, the speed of individual updates will become much slower, and it is easy to fall into "premature maturity". The calculation formula for adaptive crossover probability is as follows:
式中,fc表示具有较小适应度值的交叉个体,fmin表示当前种群中的最小适应度值,fa表示当前种群适应度的平均值0<k1,k2≤1,为确保算法能够搜索全局,需要选取较大的自适应交叉概率,一般可取k1=1,k2=1。自适应变异概率的计算公式如下:In the formula, f c represents the crossover individual with a smaller fitness value, f min represents the minimum fitness value in the current population, and f a represents the average fitness value of the
式中,fm表示待变异个体的适应度值,fmin表示当前群体中的最小适应度值,fa表示当前群体的平均适应度值,0<k3,k4≤1。由于遗传算法中的交叉变异操作是对大自然中具有生命的物体在遗传过程中发生突变的模拟,所以自适应变异概率要取的比较小,一般可以取k3=0.5,k4=0.5。In the formula, fm represents the fitness value of the individual to be mutated, fmin represents the minimum fitness value in the current group, fa represents the average fitness value of the current group, 0< k3 , k4≤1 . Since the crossover mutation operation in the genetic algorithm is a simulation of the mutation of living objects in nature during the genetic process, the probability of adaptive mutation should be relatively small, generally k3 =0.5, k4 =0.5.
通过以上步骤完成改进遗传算法设计,设置群体的操作参数,总体数为N,最大进化代数G,开始假设的隐含层节点数(通常采用较大的值)等。随机产生N个个体组成初始种群,将种群分成2个子代群体并且将染色体编码为两层结构。解码个体以统计上层子代群体中单个基因串中1的数量,就是相应BP神经网络的隐含层节点数;将上层对照基因相联系的下层参数基因的实参数串分解成值1,得到隐含层节点最开始的连接权重和阈值;同时根据步骤(2)中计算公式训练BP神经网络计算适应值。将得到的连接权值和阈值赋给BP神经网络,使用训练样本训练BP神经网络,然后再使用测试样本测试BP神经网络,求出测试误差。根据每一个个体的不同适应值,按照步骤(4)中所设计的选择算子,进入下一代的精英个体,选定的个体利用自适应概率执行变异操作以生成后代群体。解码后代群体中上、下层个体,获得BP神经网络的结构和初始连接权重及阈值,多次训练网络,并计算它们的适应度值。确定最佳个体适应度值能否满足设定值,或者能否增加到最大进化数,解码具有最佳适应度值的个体,获得隐含层节点的最佳数量及其最佳初始连接权重和阈值。改进遗传算法流程图如图5所示。The above steps complete the design of the improved genetic algorithm, set the operation parameters of the population, the total number is N, the maximum evolutionary generation number G, the number of hidden layer nodes assumed at the beginning (usually a larger value), etc. Randomly generate N individuals to form the initial population, divide the population into 2 offspring groups and encode the chromosome into a two-layer structure. Decode the individual to count the number of 1s in a single gene string in the upper offspring group, which is the number of hidden layer nodes of the corresponding BP neural network; decompose the actual parameter string of the lower parameter gene associated with the upper control gene into the
将改进遗传算法计算得到的隐含层节点的最佳数量及其最佳初始连接权重和阈值分配给BP神经网络航班保障服务时间估计模型,改进遗传算法对BP神经网络优化后的结构参数确定如下:种群规模N=100;最大进化代数G=200;估计精度调整系数的适应度函数α=0.9,网络复杂调整系数β=0.1;自适应交叉、变异概率Pc、Pm中系数k1=1,k2=1,k3=0.5,k4=0.5、k3=0.5最终确定输入层节点数m=10,输出层节点数为1,隐含层节点数取m=14;连接权值wij、vjt和阈值θj、γ的取值范围为[-3,3]。如图6所示,经过103代演化,平均适应度达到最小,并且随着进化代数的增加平均适应度基本不再变化。当进化代数为103代时,对应的隐含层节点数为7,因此BP神经网络的最佳隐含层节点数是m=7。The optimal number of hidden layer nodes and their optimal initial connection weights and thresholds calculated by the improved genetic algorithm are assigned to the BP neural network flight support service time estimation model. The structural parameters of the BP neural network after optimization by the improved genetic algorithm are determined as follows: population size N = 100; maximum evolutionary generations G = 200; fitness function of estimation accuracy adjustment coefficient α = 0.9, network complexity adjustment coefficient β = 0.1; coefficients k 1 = 1, k 2 = 1, k 3 = 0.5, k 4 = 0.5, k 3 = 0.5 in adaptive crossover and mutation probability P c , P m. Finally, the number of input layer nodes m = 10, the number of output layer nodes is 1, and the number of hidden layer nodes is m = 14; the value range of connection weights w ij , v jt and thresholds θ j , γ is [-3, 3]. As shown in Figure 6, after 103 generations of evolution, the average fitness reaches the minimum, and the average fitness basically does not change with the increase of evolutionary generations. When the evolutionary generation is 103, the corresponding number of hidden layer nodes is 7, so the optimal number of hidden layer nodes of the BP neural network is m=7.
表3、最优初始连接权值、阈值Table 3. Optimal initial connection weights and thresholds
改进后的遗传算法神经网络航班保障服务时间估计模型,其相应的最佳初始连接权重和阈值如表3所示,此处x1、x2、x3、x4、x5、x6、x7、x8、x9、x10表示10个输入变量,c1、c2、c3、c4、c5、c6、c7表示其中的7个隐含层变量,y表示输出变量,θ表示隐含层的阈值,γ表示输出层的阈值。The corresponding optimal initial connection weights and thresholds of the improved genetic algorithm neural network flight support service time estimation model are shown in Table 3, where x1 , x2 , x3 , x4, x5 , x6 , x7 , x8 , x9 , x10 represent 10 input variables, c1 , c2 , c3 , c4 , c5 , c6 , c7 represent 7 hidden layer variables, y represents the output variable, θ represents the threshold of the hidden layer, and γ represents the threshold of the output layer.
建立网络结构为10-7-1的BP神经网络航班保障服务时间估计模型,并分配表3中的最佳初始权重和阈值,选取Sigmoid函数作为激励函数,学习率取0.01,步长取0.9,最大训练次数取2000,训练期望值取0.01,最终形成优化后的改进遗传算法的神经网络航班保障服务时间估计模型。A BP neural network flight support service time estimation model with a network structure of 10-7-1 is established, and the optimal initial weights and thresholds in Table 3 are assigned. The Sigmoid function is selected as the excitation function, the learning rate is 0.01, the step size is 0.9, the maximum number of training times is 2000, and the training expected value is 0.01. Finally, the optimized improved genetic algorithm neural network flight support service time estimation model is formed.
步骤5:将任一机场的航班保障服务数据按照上述步骤1、2处理后输入到优化后的改进遗传算法的神经网络航班保障服务时间估计模型中,优化后的改进遗传算法的神经网络航班保障服务时间估计模型的输出即为该机场的航班保障服务时间的估计值。Step 5: Process the flight support service data of any airport according to the
为了验证本发明的效果,本发明人分别利用上述优化后的改进遗传算法的神经网络航班保障服务时间估计模型(AMGA-BP模型)、传统遗传算法的神经网络航班保障服务时间估计模型(GA-BP模型)和未加算法的神经网络航班保障服务时间估计模型(BP模型)共三种算法来估计航班保障服务时间。In order to verify the effect of the present invention, the inventors used three algorithms, namely the neural network flight support service time estimation model (AMGA-BP model) of the above-mentioned optimized improved genetic algorithm, the neural network flight support service time estimation model (GA-BP model) of the traditional genetic algorithm and the neural network flight support service time estimation model (BP model) without adding an algorithm, to estimate the flight support service time.
使用相对误差的绝对值RE、平均绝对误差MAE和希尔顿系数TIC作为度量三种算法优缺点的标准。其中,绝对值RE用于计算每个航班保障服务时间的估算误差;平均绝对误差MAE和希尔顿系数TIC通过计算航班保障服务时间的估计值与真实值之间的整体误差来度量算法的准确性。假设测试集中一共有N个航班保障服务估计时间,航班保障服务时间的实际值为yi,估计值为其公式为:The absolute value of relative error RE, mean absolute error MAE and Hilton coefficient TIC are used as the standard to measure the advantages and disadvantages of the three algorithms. Among them, the absolute value RE is used to calculate the estimated error of each flight support service time; the mean absolute error MAE and Hilton coefficient TIC measure the accuracy of the algorithm by calculating the overall error between the estimated value and the true value of the flight support service time. Assume that there are a total of N flight support service estimates in the test set, the actual value of the flight support service time is y i , and the estimated value is The formula is:
表4、估计效果评价指标值Table 4. Estimated effect evaluation index values
随机抽取测试集中的45组样本,估计效果的评价指标值如表4所示,不同算法估计的保障服务时间误差对比如图7所示。45 groups of samples are randomly selected from the test set. The evaluation index values of the estimated effect are shown in Table 4. The comparison of the guarantee service time errors estimated by different algorithms is shown in Figure 7.
从表4中能够看出,AMGA-BP模型的平均绝对误差MAE值小于GA-BP模型、BP模型,希尔顿系数TIC值小于GA-BP模型、BP模型,说明AMGA-BP模型具有更高的估计精度。从图7中可以看出:AMGA-BP模型的估计误差曲线基本上低于GA-BP模型、BP模型的误差曲线;GA-BP模型、BP模型的误差估计曲线变化趋势基本相同。将三个模型的保障服务时间的估计值与实际值进行对比,如图8所示。It can be seen from Table 4 that the mean absolute error MAE value of the AMGA-BP model is smaller than that of the GA-BP model and the BP model, and the Hilton coefficient TIC value is smaller than that of the GA-BP model and the BP model, indicating that the AMGA-BP model has a higher estimation accuracy. It can be seen from Figure 7 that the estimation error curve of the AMGA-BP model is basically lower than the error curves of the GA-BP model and the BP model; the error estimation curves of the GA-BP model and the BP model have basically the same change trend. The estimated values of the guaranteed service time of the three models are compared with the actual values, as shown in Figure 8.
(AMGA-BP模型)、传统遗传算法的神经网络航班保障服务时间估计模型(GA-BP模型)和未加算法的神经网络航班保障服务时间估计模型(BP模型)(AMGA-BP model), the traditional genetic algorithm neural network flight support service time estimation model (GA-BP model) and the neural network flight support service time estimation model without algorithm (BP model)
综上所述,与GA-BP模型和BP模型相比,AMGA-BP模型能够更好地对航班保障服务时间进行估计,能够更好地对非线性问题进行处理。值得注意的是,AMGA-BP模型并不是对每个航班保障服务时间的估计都非常准确,但是其总体估计比较稳健。从图7中可以看出对于某些航班,AMGA-BP模型对航班保障服务时间估计的准确性远远高于GA-BP模型和BP模型,但误差仍然不是特别小,这表明AMGA-BP模型需要进一步提高航班保障服务时间在不同条件下的适应性。图8分别将AMGA-BP模型、GA-BP模型和BP模型的航班保障服务时间的估计值与实际航班保障服务时间进行对比,可以清晰地看出,BP模型的估计值与实际值相差最大,GA-BP模型次之,说明针对航班保障服务这一复杂的非线性问题,仅仅使用传统的遗传算法无法达到期望的要求,必须要在神经网络航班保障服务时间估计模型的基础上进行改进。经过AMGA-BP模型估计的航班保障服务时间最接近实际航班保障服务时间。In summary, compared with the GA-BP model and the BP model, the AMGA-BP model can better estimate the flight support service time and better handle nonlinear problems. It is worth noting that the AMGA-BP model is not very accurate in estimating the flight support service time for each flight, but its overall estimation is relatively robust. As can be seen from Figure 7, for some flights, the accuracy of the AMGA-BP model in estimating the flight support service time is much higher than that of the GA-BP model and the BP model, but the error is still not particularly small, which indicates that the AMGA-BP model needs to further improve the adaptability of the flight support service time under different conditions. Figure 8 compares the estimated values of the flight support service time of the AMGA-BP model, the GA-BP model and the BP model with the actual flight support service time. It can be clearly seen that the estimated value of the BP model is the most different from the actual value, followed by the GA-BP model. This shows that for the complex nonlinear problem of flight support service, the traditional genetic algorithm alone cannot meet the expected requirements, and it must be improved on the basis of the neural network flight support service time estimation model. The flight support service time estimated by the AMGA-BP model is closest to the actual flight support service time.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911037529.XA CN110807525B (en) | 2019-10-29 | 2019-10-29 | Neural Network Flight Guarantee Service Time Estimation Method Based on Improved Genetic Algorithm |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911037529.XA CN110807525B (en) | 2019-10-29 | 2019-10-29 | Neural Network Flight Guarantee Service Time Estimation Method Based on Improved Genetic Algorithm |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110807525A CN110807525A (en) | 2020-02-18 |
| CN110807525B true CN110807525B (en) | 2023-04-14 |
Family
ID=69489427
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911037529.XA Active CN110807525B (en) | 2019-10-29 | 2019-10-29 | Neural Network Flight Guarantee Service Time Estimation Method Based on Improved Genetic Algorithm |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110807525B (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112036567B (en) * | 2020-09-18 | 2023-10-31 | 北京机电工程研究所 | Genetic programming methods, devices and computer-readable media |
| CN112163790B (en) * | 2020-10-29 | 2024-09-06 | 广东机场白云信息科技股份有限公司 | Airport ground resource scheduling method, electronic device and computer readable storage medium |
| CN112330186A (en) * | 2020-11-18 | 2021-02-05 | 杨媛媛 | Method for evaluating ground operation guarantee capability |
| CN113112167A (en) * | 2021-04-21 | 2021-07-13 | 中国民航大学 | Dynamic control method for flight ground support service process |
| CN113378337A (en) * | 2021-06-03 | 2021-09-10 | 安徽富煌科技股份有限公司 | Urban public transport network optimization method based on passenger flow analysis |
| CN113505934B (en) * | 2021-07-19 | 2022-06-17 | 浙江工企信息技术股份有限公司 | TMS intelligent logistics time management method and device |
| CN113781820B (en) * | 2021-08-24 | 2022-05-17 | 威海广泰空港设备股份有限公司 | An Analysis Method of Airport Special Vehicles to Ensure Flight Efficiency |
| US12394319B1 (en) * | 2022-10-25 | 2025-08-19 | Synaptic Aviation Inc. | Airport management system with gate performance UI and related methods |
| CN117314201B (en) * | 2023-11-28 | 2024-02-06 | 中国民用航空总局第二研究所 | A method and system for determining key links of flight support services |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000007113A1 (en) * | 1998-07-31 | 2000-02-10 | Cet Technologies Pte Ltd. | Automatic freeway incident detection system using artificial neural networks and genetic algorithms |
| CN107241135A (en) * | 2017-06-30 | 2017-10-10 | 北京邮电大学 | A kind of satellite network switching method and device |
| CN108460461A (en) * | 2018-02-06 | 2018-08-28 | 吉林大学 | Mars earth shear parameters prediction technique based on GA-BP neural networks |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020059154A1 (en) * | 2000-04-24 | 2002-05-16 | Rodvold David M. | Method for simultaneously optimizing artificial neural network inputs and architectures using genetic algorithms |
-
2019
- 2019-10-29 CN CN201911037529.XA patent/CN110807525B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000007113A1 (en) * | 1998-07-31 | 2000-02-10 | Cet Technologies Pte Ltd. | Automatic freeway incident detection system using artificial neural networks and genetic algorithms |
| CN107241135A (en) * | 2017-06-30 | 2017-10-10 | 北京邮电大学 | A kind of satellite network switching method and device |
| CN108460461A (en) * | 2018-02-06 | 2018-08-28 | 吉林大学 | Mars earth shear parameters prediction technique based on GA-BP neural networks |
Non-Patent Citations (2)
| Title |
|---|
| 邢志伟 ; 唐云霄 ; 罗谦 ; .基于贝叶斯网络的航班保障服务时间动态估计.计算机应用.2017,(第01期),全文. * |
| 邢志伟 ; 蒋骏贤 ; 罗晓 ; 罗谦 ; .基于贝叶斯网的离港航班滑行时间动态估计.计算机工程与应用.2018,(第24期),全文. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110807525A (en) | 2020-02-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110807525B (en) | Neural Network Flight Guarantee Service Time Estimation Method Based on Improved Genetic Algorithm | |
| CN113722985B (en) | Aircraft engine health status assessment and remaining life prediction method and system | |
| CN108536123B (en) | Fault diagnosis method for on-board train control equipment based on long short-term memory neural network | |
| CN109141847B (en) | Aircraft system fault diagnosis method based on MSCNN deep learning | |
| CN111931978A (en) | Urban rail transit passenger flow state prediction method based on space-time characteristics | |
| WO2021128510A1 (en) | Bearing defect identification method based on sdae and improved gwo-svm | |
| CN109785618B (en) | A Short-term Traffic Flow Forecast Method Based on Combinatorial Logic | |
| CN111882033B (en) | Keras-based regional civil aviation main passive carbon emission prediction method | |
| CN108958217A (en) | A kind of CAN bus message method for detecting abnormality based on deep learning | |
| CN109389244A (en) | Tourist's number prediction technique in a kind of short-term scenic spot of multifactor perception based on GRU | |
| Zheng et al. | Emergency railway transportation planning using a hyper-heuristic approach | |
| CN116451553A (en) | Improved variation modal decomposition and BiGRU fusion water quality prediction method | |
| CN109635246B (en) | A Multi-attribute Data Modeling Method Based on Deep Learning | |
| CN111079827B (en) | Railway data state evaluation method and system | |
| CN110659773A (en) | A deep learning-based flight delay prediction method | |
| CN116976857A (en) | Predictive maintenance method and system for railway power equipment based on deep learning | |
| CN102737285A (en) | Back propagation (BP) neural network-based appropriation budgeting method for scientific research project | |
| CN114548290B (en) | Synaptic Convolutional Spiking Neural Network for Event Stream Classification | |
| CN113139344B (en) | A civil aircraft operation risk assessment method for multiple failure modes | |
| CN119941658A (en) | A smart road online diagnosis and evaluation system and its application | |
| Iyigunlu et al. | Agent-based modelling of aircraft boarding methods | |
| CN119250480A (en) | Civil airport boarding application dynamic planning allocation method and system for multi-business data | |
| CN117422881B (en) | Intelligent centralized security check graph judging system | |
| CN113657653A (en) | Marshalling station vehicle taking and delivering method considering time satisfaction degree | |
| CN114429638B (en) | Construction drawing examination management system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |