Inertial Navigation System
| Note Whenever possible, please refrain from modeling complex systems, like an FDM, autopilot or Route Manager with Nasal. This is primarily to help reduce Nasal (especially GC overhead). It will also help to unify duplicated code. The FlightGear/SimGear code base already contains fairly generic and efficient systems and helpers, implemented in C++, that merely need to be better generalized and exposed to Nasal so that they can be used elsewhere. For example, this would enable Scripted AI Objects to use full FDM implementations and/or built-in route manager systems.
Technically, this is also the correct approach, as it allows us to easily reuse existing code that is known to be stable and working correctly, .
The inertial navigation system is a system of aircraft navigation still used today in many large aircraft as the primary navigation system. Instead of using radio navigation aids or satellites, this system is entirely self-contained within the aircraft, computing the aircraft's position by sensing its acceleration and orientation. It, in essence, is a real accurate dead-reckoning computer.
There are several names for it, some with slightly different uses:
- Inertial Navigation System (INS)
- Inertial Reference System (IRS)
- Inertial Navigation Unit (INU)
- Inertial Reference Unit (IRU)
- Inertial Measurement Unit (IMU, the name used by NASA in many cases -- look at the Pheonix lander now on Mars.)
Dead-reckoning is a navigation technique where you know where you started, what direction you flew, how fast you flew, and how long you flew. You can then, on a map, trace your position. The inertial navigation system (abbreviated "INS") uses accelerometers to find your velocity and direction, and computers compile in the time and an entered start position to calculate your current position.
Inertial navigation systems are entirely self-contained in the aircraft and can be used anywhere -- regardless of the presence of radio navigation aids or GPS. However, it accumulates error over time (an accurate one is accurate to about 0.6 nm after one hour.) To combat that, most INS systems can update their position and velocity using radio NAVAIDS and/or GPS. In fact, one of the most powerful navigation systems is when GPS data is used to update the INS, called GPS/INS navigation. GPS doesn't drift, but it only updates once a second and isn't as consistend. However, the INS will "fill in the gaps" in the GPS signal, producing a reliable, accurate, and real time signal for the location, orientation, and velocity of the aircraft. Additionally, an INS can be used as part of CAT 3 ILS equipment.
Inertial navigation systems usually have to be aligned on the ground, with the aircraft in a completely stationary position. The pilots (or GPS) gives them their initial system. Alignment for strapdown systems (see below for the types) usually takes 5-10 minutes, and is longer at higher latitudes -- sometimes systems won't align above certain latitudes, but you don't find international airports there. Gimballed systems align by powering up and leveling the platform (with motors.) Strapdown systems, however, sense gravity to get the attitude and sense the earth's rotation for true heading (they get magnetic heading by correcting with a database of magnetic variation) and to verify the entered latitude is approximately correct. However, there are some systems (like Honeywell's align-in-motion) that can align the system while in flight, often using GPS and compass readings. These aren't very common in current airliners. Additionally, many INS systems have an attitude-only mode where they can be aligned in flight to only give the plane's attitude, as only a full align on those systems can give navigational capability. Some can re-align at a ground stop quickly since most of the alignment has already been done -- however, they have to have not been turned off.
There are two primary types of inertial navigation systems, gimballed and strapdown.
Gimballed systems have a platform in the device that is mounted in gimbals. This device has 2 or more mechanical gyroscopes (not likely there are more than 3) that keep this platform level. On the platform, in addition to the gyroscopes, are usually three accelerometers, one in each direction. This was the earlier type of INS. It does not need accurate gyroscope orientation sensing, they only need mechanical gyroscopes to keep a platform level -- a much less demanding task for the gyroscopes. Additionally, since the accelerometers are already oriented (usually north/south, east/west, and up/down) the actual integration to obtain velocity and then position can be done by simpler, analog electronics.
However, they do have their disadvantages. One is reliability -- the spinning gyros and gimbals all move, so you have wear and tear and they can fail or lose their accuracy. However, a more prominant issue is with "gimbal lock." This is when two of those three gimbals align. Since they both function about one axis, and the other only does one axis too, you only have two axes -- any rotation about the last axis cannot occur, so the platform is swung and misaligned with rotation about that axis. There are two main solutions: navigate around it or a fourth gimbal. On Apollo 11 there were only three gimbals, so they planned their maneuvers around gimbal lock. Their computers told them where not to go to keep two gimbals from aligning. The second, but more complex, solution is a fourth gimbal. This gimbal is motorized to keep it always oriented away from the other gimbals, so you keep three independent axes at all times. However, this is mechanically more complex. The fourth-gimbal system is used more in more recent gimballed inertial navigation systems.
Strapdown systems have all their sensors mounted on a platform that changes orientation like the plane. Instead of mechanical gyros to hold it level, it has three more accurate gyros that sense the orientation of the system. Additionally, it has the same three acceleration sensors.
Whereas the gimballed system just senses the orientation of the platform to get the aircraft's attitude, the strapdown systems have three gyroscopes that sense the rate of roll, pitch, and yaw. It integrates them to get the orientation, then calculates the acceleration in each of the same axes as the gimballed system.
Due to the sensing of the rate of rotation, rather than just holding a platform level, very accurate and sensitive gyroscopes are needed. There are several sensitive gyroscope types available, but the most commonly used on is the ring laser gyro. This basically is a circular path (actually, usually triangular) that laser light travels around. This light goes both ways. When it is rotated, one direction appears to go faster than the other -- and when they get around and meet, they interfere. This creates a pattern that is picked up by sensors. These gyroscopes are so accurate the alignment for strapdown systems consists of finding true north by sensing the earth's rotation.
Strapdown systems have fewer moving parts, so they are more reliable and simpler than other systems. However, they do need more accurate gyroscopes and better computers, so they are a more recent development.
The implementation is still in development, but is now ready for use in an aircraft.
- Basic class layout and code is working
- First XML support (will be replaced with PropertyList format)
- Lat/lon integration, very basic work
- Most properties for input/output supported
- Converted to PropertyList XML format
- Multiple unit mixing
- Fake attitude-only mode
- Fake alignment (using a timer)
- Convert integration over to quaternions, add orientation integration.
- Fake a drift model (a better fake than the alignment...)
- Add a faked radio updating system
- More realistic alignment simulation (gimballed/strapdown differences, attitude-only mode (in air align) etc...)
Separately from the above implementation, there is a plan to model a Delco Carousel INS device (commonly found on many early jet airliners) using a combination of Nasal and the FMS code.
(Sources linked to above)
- A good reference on aircraft navigation
- Information on Honeywell's Align-in-motion
- Detailed overview of INS systems
- Information on the IMU on Apollo 11 and gimbal lock
-  Wikipedia article on inertial navigation systems
-  everything2.com has some more information
-  Another source of good INS information and the sources of drift.
-  Some information about the F20's INS
-  Some information about INS, GPS, and a system for taxiing awareness using GPS (probably INS/GPS, actually.)