Specific embodiment
The present invention is further illustrated With reference to embodiment.
The purpose of decoding is to convert identifiable engineering value for binary flight data file.Due to being based on
The flying quality of ARINC767 specification and traditional entirely different, so also difference is very big for the algorithm decoded.
The present invention is based on the flying qualities of ARINC767 specification to decode analysis method, as shown in Figure 1, comprising steps of
Step s101, the flying quality standardized based on ARINC767 is obtained.
Flying quality refers to that the flying quality downloaded from airplane data record system, format are binary file.For
787 aircrafts, flying quality share 3 classes, and one kind is EAFR (the Enhanced Airborne by maintenance notebook ML downloading
Flight Recorder) data, one kind is to be synchronized to LSAPL (Loadable Software Airplane Part
Librarian can load aircraft software components library) CPL (Continuous Parameter Logging) data on server,
Another kind of is the CPL data by TCU (Terminal Cellular Unit) using wireless network transmissions to ground-based server.
These three types of data can read in calculator memory by automatic or manual mode.
Step s102, the synchronization character of flying quality is searched, the frame ID after extracting synchronization character.
Find EB90 synchronization character, and to after synchronization character frame ID and frame length etc. do validity check, take out the time of frame
Stab TimeStamp.
Step s103, aircraft number is parsed according to the filename of flying quality, calls initial configuration corresponding with aircraft number
Parameter database.
Flying quality can parse some very important information due to the normalization of its name from filename, like flying
Machine number, data download time etc., in order to subsequent data processing.
Step s104, the length in the parameter database of the length characteristic of all frame ID of flying quality and initial configuration is special
Sign compares, and is decoded according to the parameter database of initial configuration to flying quality if consistent, if it is inconsistent call it is adaptive
The trial and error decoding subalgorithm answered.
Since the aircraft factory chamber of commerce irregularly updates the database software in relation to flight record, so the ginseng for decoding
Number database also has corresponding multiple versions, and the purpose of trial and error decoding subalgorithm is successively to call all preset parameter databases
It is decoded, until finding matched database.Specifically, when the length characteristic of all frame ID of flying quality with initially match
When the length characteristic in parameter database set is inconsistent, the parameter database of other versions is replaced one by one, until flying quality
The length characteristic of all frame ID is consistent with the length characteristic in parameter current database, is initially matched with the replacement of parameter current database
The parameter database set, and according to the frame ID parameter for being included and the occupied length of parameter, using parameter database successively into
Row decoding, is converted to engineering value for binary flying quality.Alarm is popped up if all parameter databases all attempt failure
Information.
Step s105, it according to the various parameters decoded out, carries out segment and divides and airport matching.
Since original flying quality is all that continuous recording, all segment all blends together, one is formed continuously
Binary file.The first purpose of decoding exactly decodes Partial key parameter in advance, such as vacant lot electric switch, UTC, fuel oil
Binary file is divided into complete one by one by flow, pressure altitude, radio altitude, ground velocity etc. according to the variation of these parameters
Whole segment file.The division of segment is also always a difficult point during decoding.Such as the unexpected missing of data record, touching
Ground goes around, this training etc. can all divide segment and interfere, and influences the accuracy divided.Innovative introducing of the invention
Privilege level concept, after the data analysis for combining a large amount of true segments, a kind of perfect segment of comparison for obtaining divides solution
Certainly scheme.
After detecting vacant lot electric switch by switching to ground in the air, activation segment partitioning algorithm monitoring is carried out according to priority
Segment divides.
Highest priority: if radio altitude becomes 0, ground velocity 0 monitors after the fuel flow of two hairs also becomes 0
The variation of UTC time, if there is breakpoint, then complete machine has powered off after illustrating boat, and aircraft does not re-record data, at this time to segment
Progress cutting is ideal, and the purpose of segment cutting is to find the separation of optimal previous segment and the latter segment.
Second level priority: if the first situation is not present, such as some flights that miss the stop, will not power off during missing the stop, this
When press the second priority, monitor fuel flow be 0 after i.e. progress cutting.
Three-level priority: if it is this training, landing training is repeated in aircraft, then second situation will not deposit
Segment cutting is being carried out before take off next time at this time.
Special priority: having some special data, and for some reason, flying quality is lost, for example certain segment data is just
Journey, unexpected data outage are flown over flat, next second has directly arrived the data before another segment is taken off.Such case should just supervise
Discontinuous point and height and fuel flow when control carry out segment cutting by abnormal special priority near breakpoint.
The advantages of above-mentioned segment partitioning algorithm: almost all of segment data are adapted to and are divided, and always with optimal side
Formula carries out cutting, can shield interference of the special circumstances such as loss of data to algorithm, accurately divide segment.
The parameter of flight data recording does not have take-off and landing airport, only longitude and latitude parameter.Therefore, when data analyze
When takeoff point and landing point, need to match immediate airport name in preset Global Airports database according to longitude and latitude.Together
Often there is the case where matching error, such as the airport on Seattle airport and Boeing base, the two when matching airport in class software
It is spaced closely together, if algorithm not enough optimizes, it is easy to matching error.The present invention uses Allowance Design, and reserved tolerance interface,
User can directly modify.
By interface function, user setting tolerance is obtained;
Preset airport database is traversed, according to longitude and latitude tolerance, filters out most possible airport list;
Difference of longitude and latitudinal difference are calculated separately, takes the smallest airport of comprehensive deviation as final matching airport.
The advantages of above-mentioned algorithm, is that user can adjust tolerance, can correct the knot of decoding by reserved interface
Fruit.The calculated longitude and latitude because airplane inertial navigates, can have certain deviation, if pilot not in time carries out inertial navigation
Correction, cumulative errors can be increasing, is finally possible to airport matching error.And the tolerance of this algorithm, allow user to carry out
Amendment.
It flies into nearly vertical section, is a new proposition, in previous domestic and international decoding system, do not referred to and real
It is existing.The present invention will fly into each location point near procedure, is projected on the vertical guide Chong Die with runway centerline, then draws
LOC guidance station and GS guidance station processed intersect best near line.The realization of such algorithm greatly improves the effect of data analysis
Rate and accuracy, have intuitively reproduced flying scene very much.
Algorithm details:
Obtain the distance into nearly runway head to blind landing platform from related approach, into the longitude and latitude of proximal end runway head, into it is close when run
The pressure altitude in road, VOR (VHF OMNI-DIRECTIONAL RANGE VHF Omnidirection range) into it is close when each obstacle detouring point away from
From and height etc. information;
Using Approach End of Runway entrance as the origin of reference axis, X-axis be plane distance runway head into proximal end floor projection away from
From Y-axis is height of the aircraft relative to runway;
If it is ILS (Instrument landing system instrument-landing-system) into close, the transmitting of blind landing platform is drawn
3 degree or 5 degree near line, are subject to the practical announcement data in airport;
If it is NDB (Non-Directional Beacon Non Direction Beason) into close, each obstacle detouring point and its height are drawn;
Current aircraft longitude and latitude is calculated at a distance from runway threshold longitude and latitude, the height in conjunction with aircraft with respect to airport plane is drawn
Aircraft profile line processed.
Aircraft intuitively presents the location of aircraft into the drafting of nearly vertical section very much, aircraft altitude, and into close
Relative position of line etc. can be analyzed for data, and flight quality monitoring saves a large amount of time.
All after decoding, it will be saved in decoding information and warning information write-in background data base, save necessary day
Will, backup significant data etc..
Above-mentioned algorithm includes the following aspects to the improvement of business after realizing:
1, the complexity in user's use is alleviated
When data decoding, user is not necessarily to know the corresponding parameter database of frame format of current original flying quality, this hair
It is bright to attempt various parameters database automatic code translation, and the parameter library of current trial and success can be saved, Shi Huizhi is decoded next time
Connect calling.This mode can reduce the complexity that software uses, and reduce software and use the training time.
2, algorithm is increased income, and it is high that user customizes degree
User can analyze logic of propositions, parameter database secondary development to data, write analysis in their own needs and patrol
Volume, event-monitoring and super-limit prewarning, improve data user rate.Data can be provided and supported for aircraft maintenance and flight quality, in time
Each system of early warning transfinites, in advance troubleshooting, reduces aircraft and stops field time.
3, data analysis process is simplified
Parameter engineering value after decoding is shown in friendly way, and diagram curve mode is supported to show, intuitive convenient for user
Judgement Parameter Variation.It supports flying quality importing Online Map simultaneously, draws complete segment flight path, draw
Flight vertical section when aircraft leaves the theatre or marches into the arena, user can effectively judge flight there are the problem of, save analysis time,
Simplified analysis process.
4, use cost is saved
Existing decoding system, after aircraft configuration change or Airborne Software update, original decoding data library is no longer suitable
With, even subtle variation, requires to purchase new decoding library again, expends a large amount of fund.The present invention can support to use
Producer's file is directly converted into new decoding library, greatly shortening update and solving the problems, such as by the customized creation modification in family
Period, saved the cost used.
Above-listed detailed description is illustrating for possible embodiments of the present invention, and the embodiment is not to limit this hair
Bright the scope of the patents, all equivalence enforcements or change without departing from carried out by the present invention, is intended to be limited solely by the scope of the patents of this case.