TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The physics of making an iPad into an accurate aviation instrument

46 点作者 joshwa超过 12 年前

12 条评论

joshwa超过 12 年前
Yes, Austin Meyer (creator of X-Plane) is a bit of a loon, but if you can see past the ALL CAPS he does give some pretty good explanations of interesting aviation-related stuff.<p>More Austin Meyer goodness: <a href="http://www.x-plane.com/x-world/austins_adventures/" rel="nofollow">http://www.x-plane.com/x-world/austins_adventures/</a><p>Building his own airplane (in incredible detail): <a href="http://www.x-plane.com/hardware/evo/evo.html" rel="nofollow">http://www.x-plane.com/hardware/evo/evo.html</a><p>Incredible in-flight engine failure autoland device: <a href="http://www.x-plane.com/hardware/evo/9_seeker/Seeker.html" rel="nofollow">http://www.x-plane.com/hardware/evo/9_seeker/Seeker.html</a><p>A rather convincing explanation of why very small jets just don't make sense: <a href="http://www.x-plane.com/hardware/evo/0_nojet.html" rel="nofollow">http://www.x-plane.com/hardware/evo/0_nojet.html</a>
brendn超过 12 年前
OK. I'm no expert on this myself, but for someone who claims to have just figured out how an attitude indicator works, the author certainly doesn't explain it very well. I was left with the impression that the author is uncertain of the distinction between an accelerometer and a gyroscope. An accelerometer, like he says, can be likened to a hanging weight or pendulum. Accelerometers can measure the direction of gravity of a stationary object because the only force acting on the pendulum is acceleration due to gravity. However, as soon as the object is moved, other acceleration vectors are added to the already-present gravity vector.<p>(Imagine an accelerometer hanging from a rope. If you swing that rope in a circle around your head, the accelerometer will report that the force vector points to its bottom, away from your head, and not down to your feet as gravity alone would indicate.)<p>Which gets me to the OP. Because the article does not make a single mention of angular momentum (among other reasons), I would guess that the author doesn't understand how gyroscopes work. A gyroscope is essentially a spinning disc-shaped mass that resists change to its axis of rotation. If you built a housing that allowed it freedom of motion in three dimensions (called a gimbal (<a href="http://en.wikipedia.org/wiki/Gimbal)" rel="nofollow">http://en.wikipedia.org/wiki/Gimbal)</a>), it would remain on its original axis no matter how you tilted its enclosure (barring the inevitable energy loss due to friction, etc.)<p>So, in the case of an airplane, you would set the disc spinning on level ground. Then, while you're flying, any changes to your pitch or roll would be <i>around</i> the gyroscope (which, remember, is allowed to move freely relative to the cabin). The gyroscope wants to preserve its angular momentum, so it will still be spinning on the same axis relative to level ground. Any difference between the gyro and the cabin therefore indicates the orientation of the plane relative to the ground.<p>You'd probably get a more concise explanation from the Wikipedia page on Gyroscopes (<a href="http://en.wikipedia.org/wiki/Gyroscope" rel="nofollow">http://en.wikipedia.org/wiki/Gyroscope</a>). The Wikipedia page on attitude indicators (the visual display for a cockpit gyro) is also quite coherent and less prone to rambling (<a href="http://en.wikipedia.org/wiki/Attitude_indicator" rel="nofollow">http://en.wikipedia.org/wiki/Attitude_indicator</a>).<p>[EDIT: Toned down some grumpiness. I must be tired.]
评论 #4592245 未加载
评论 #4592154 未加载
评论 #4592216 未加载
评论 #4592602 未加载
daurnimator超过 12 年前
Though this is the internet....<p>Far too many hyperbole. Much of this is straightforward when dealing with GPS data. And all the shortcomings of relying on gyro data can be found by searching for dead reckoning systems.<p>Don't get me wrong, I am very impressed with the x-plane application, but the writing style assumes a complete idiot.
评论 #4591906 未加载
joezydeco超过 12 年前
Put another way, holy crap that was nearly impossible to read.
评论 #4592217 未加载
FrojoS超过 12 年前
I couldn't read due to the much caps locks. After reading the comments, I thought I might add a few things.<p>As others have pointed out, outdoors you would use mostly GPS, and maybe a camera pointing to the ground to estimate the position. Accelerometer are more or less worthless when you want to estimate a translational position of a free flying rigid body. However, orientation can bes estimated very well with the sensors you find in a smartphone. At least outdoors.<p>The acceleration gives you the orientation of the earth gravity vector, assuming that translational acceleration can be neglected. This information corresponds to pitch and roll in an airplane. The iPad, and most smartphones, also have a magnetometer (digital compass) which gives you the direction of the earth magnetic field and which works reasonably well outdoors. You can combine these two 3D vectors with an iterative algorithm, e.g. QUEST [3] or Madgwicks AHRS [4] to obtain an estimation of your orientation in quaternions. No gyroscope required so far. Usually, the gyroscope is only used to give a more accurate angular velocity and acceleration signal, speed up the orientation estimation and serve as a short term replacement in case of a larger disturbance in acceleration or the magnetic field. A Kalman filter is the most common way to do this.<p>If you want to play around with these values on your phone I recommend the Sensor Kinetics [5] app for Android, or if you have an iOS device, I believe XSens has an app, too. There is usually need to implement the above method yourself. Most IMU's you can buy of the shelf provide these higher level estimations already.<p>[1] <a href="http://en.wikipedia.org/wiki/MEMS_gyroscope#MEMS_gyroscope" rel="nofollow">http://en.wikipedia.org/wiki/MEMS_gyroscope#MEMS_gyroscope</a> [2] <a href="http://www.apple.com/ipad/specs/" rel="nofollow">http://www.apple.com/ipad/specs/</a> [3] e.g. EXTENDED QUEST ATTITUDE DETERMINATION FILTERING Mark L. Psiaki 1999 <a href="http://www.google.ch/url?sa=t&#38;rct=j&#38;q=&#38;esrc=s&#38;source=web&#38;cd=2&#38;ved=0CCkQFjAB&#38;url=http%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fdownload%3Fdoi%3D10.1.1.151.7265%26rep%3Drep1%26type%3Dpdf&#38;ei=XDVoUJTPI-P_4QSkqoGwAg&#38;usg=AFQjCNGouU0km_Q-BeIthUrTnqmaES2ckQ&#38;sig2=LJC_j6hylww0fp3y_pAT-g" rel="nofollow">http://www.google.ch/url?sa=t&#38;rct=j&#38;q=&#38;esrc=s&#3...</a> [4] Includes working (tested it myself) Matlab, C and C# code <a href="http://www.x-io.co.uk/node/8" rel="nofollow">http://www.x-io.co.uk/node/8</a> [5] <a href="https://play.google.com/store/apps/details?id=com.innoventions.sensorkinetics&#38;hl=en" rel="nofollow">https://play.google.com/store/apps/details?id=com.innoventio...</a>
fotbr超过 12 年前
"If anyone thinks that they are revealing new information to me by telling me the difference between centrifugal force and acceleration, I will fed-ex a crazed baboon that is high on crack to their house."<p>I can think of a few people I'd like to see receive a package from fedex containing a crazed baboon high on crack.
josephagoss超过 12 年前
He is being sued by Uniloc, I think this is the same suit against Mojang (Minecraft)<p><a href="http://www.x-plane.com/x-world/lawsuit/" rel="nofollow">http://www.x-plane.com/x-world/lawsuit/</a>
评论 #4592129 未加载
twp超过 12 年前
XCSoar is a very nice free and open source flight computer that includes an artificial horizon. It runs on your Android phone, old PDA, and many other devices.<p><a href="http://xcsoar.org/" rel="nofollow">http://xcsoar.org/</a> <a href="https://play.google.com/store/apps/details?id=org.xcsoar" rel="nofollow">https://play.google.com/store/apps/details?id=org.xcsoar</a><p>It's designed for sailplane, hang glider and paraglider pilots, and is slowly disrupting the incumbents in this space. Source code is C++.
gpcz超过 12 年前
It seems that the author developed the underlying kinematics needed to implement an inertial measurement unit (src: <a href="http://en.wikipedia.org/wiki/Inertial_measurement_unit" rel="nofollow">http://en.wikipedia.org/wiki/Inertial_measurement_unit</a> ), though with his introduction of GPS, he could probably convert it to an inertial navigation system (<a href="http://en.wikipedia.org/wiki/Inertial_navigation_system" rel="nofollow">http://en.wikipedia.org/wiki/Inertial_navigation_system</a>). I wonder if the author is aware of the Extended Kalman Filter (src: <a href="http://en.wikipedia.org/wiki/Extended_Kalman_filter" rel="nofollow">http://en.wikipedia.org/wiki/Extended_Kalman_filter</a> ) -- he could fuse the noisy sensor data with the aircraft's kinematic model to cancel out some of the error he was mentioning getting. The best resource I've found online about how to use Kalman filters and EKFs is course notes from a simultaneous localization and mapping workshop taught at Drexel University in 2006 (src: <a href="http://prism2.mem.drexel.edu/~billgreen/slam/slam.html" rel="nofollow">http://prism2.mem.drexel.edu/~billgreen/slam/slam.html</a> ).
jnsaff2超过 12 年前
There are external GPS receivers specifically to improve iPad GPS performance in aviation.<p>For example: <a href="http://www.mygoflight.com/external-gps/" rel="nofollow">http://www.mygoflight.com/external-gps/</a>
lbraasch超过 12 年前
The writer would benefit greatly from the Ardiuno community. Most of this stuff is open-source code. Quite possibly, some of the authors solutions were learned from it. However, no credit was issued for where the author learned most of their lessons.<p>I do appreciate the layperson's explanation of an attitude system applied to a smartphone/tablet. Many do not realize just how powerful these mobile devices actually are.
评论 #4591931 未加载
rg31415超过 12 年前
I couldn't make it to the end of the article; the writing style is too frustrating.