{"id":428,"date":"2009-10-25T09:36:28","date_gmt":"2009-10-25T13:36:28","guid":{"rendered":"http:\/\/www.etotheipiplusone.net\/?p=428"},"modified":"2010-04-06T04:55:26","modified_gmt":"2010-04-06T08:55:26","slug":"the-mystery-of-the-golden-gnat","status":"publish","type":"post","link":"https:\/\/www.etotheipiplusone.net\/?p=428","title":{"rendered":"The Mystery of the Golden Gnat"},"content":{"rendered":"<p>A few months ago, intrepid <a href=\"http:\/\/miters.mit.edu\">MITERers<\/a> discovered that a number of Honeywell <a href=\"http:\/\/www.flightglobal.com\/FlightPDFArchive\/1963\/1963 - 0397.PDF\" target=\"_blank\">GG480 &#8220;Golden Gnat&#8221;<\/a> rate gyroscopes had been released to the surplus market. Taking the opportunity of a sale at <a href=\"http:\/\/www.goldmine-elec-products.com\/prodinfo.asp?number=G17270\" target=\"_blank\">Electronic Goldmine<\/a>, we snagged a box of 10 just in case we ever decide to make <span style=\"text-decoration: line-through;\">cruise missiles<\/span>&#8230;uhh, animatronic teddy bears.<\/p>\n<p>Yeah.<\/p>\n<p>That&#8217;s it.<\/p>\n<p>The box proceeded to sit in the same spot for the entire summer because nobody could figure out what wires to connect to where. Like all the cool electronic components I have had the luck to deal with, datasheets are nowhere to be found, and I don&#8217;t possess the <a href=\"http:\/\/www.eecs.mit.edu\/\" target=\"_blank\">course 6<\/a> testicular fortitude to find out.<\/p>\n<p>Recently, information has been slowly surfacing regarding how these gyros function. The most active discussion is on the RCGroups <span style=\"text-decoration: line-through;\">DIY Cruise Missile<\/span><a href=\"http:\/\/www.rcgroups.com\/forums\/showthread.php?t=1097552&amp;page=3\" target=\"_blank\"> Unmanned Aerial Vehicle<\/a> forum. Using this as a springboard, and armed with everything that the Intergoogles could supply me, I decided to attempt an extraction of useful data from the units so I can finish my <span style=\"text-decoration: line-through;\">cruise missile<\/span> <a href=\"https:\/\/www.etotheipiplusone.net\/?p=417\" target=\"_blank\">DIY balancing vehicle<\/a> by IAP.<\/p>\n<p><a href=\"\/pics\/seg\/gyro_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_1-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>Here&#8217;s a picture of the little buggers. Each gyro is a gold-plated cylinder about an inch across and two inches long.\u00a0 They are single-axis gyros.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_2-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>I used the <a href=\"http:\/\/www.goldmine-elec.com\/pdf\/G17270-Schematic.pdf\" target=\"_blank\">free circuit<\/a> that Electronic Goldmine supplied to drive the gyro rotor. I made one change to the frequency of oscillation, to bring it to about 750Hz, because faster is better&#8230;to a degree. Interestingly enough, if the input frequency is too high, the gyroscope takes forever to spool up. It turns out that the 500 to 700Hz range brought the spinup time to around 5 seconds. I&#8217;m fairly certain higher rotation speeds improve the sensitivity.<\/p>\n<p>These things are neat. You can actually hear the rotor spinning internally &#8211; it sounds like a tiny, gold-plated cylindrical\u00a0 hard drive.<\/p>\n<p>I had an adventure getting the halfbridge output to work because it turns I was inserting the PNP output transistor backwards. And here I thought that PNP BJTs and P-channel MOSFETs just worked with opposite input signals. Nope, it turns out they conduct backwards too. This is going to fuck with my mind so much, because I&#8217;m <a href=\"https:\/\/www.etotheipiplusone.net\/?p=338\" target=\"_self\">emotionally traumatized by plugging things in backwards<\/a>.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_3-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>The two outputs of the circuit create a square wave at the half bridge output and a what-the-fuck wave behind the capacitor which looks like wants to be a sine wave badly but just can&#8217;t manage it.<\/p>\n<p>The nature of a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Capacitor#AC_circuits\" target=\"_blank\">capacitative circuit<\/a>, in which voltage lags behind current by 90 degrees, says to me that the gyro rotor is like a single phase, capacitor start\/run induction motor. It wants a sinusoid voltage input at one terminal, and a delayed voltage input of the same frequency at the other. Alternatively, it resembles a bipolar stepper motor drive.<\/p>\n<p>Either way, it wants two inputs &#8211; everything seemed to operate fine with square-what-the-fuck-wave drive.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_4-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>And here is an output signal.<\/p>\n<p>According to RCGroups sleuths,\u00a0 the gyro is built around a <em>variable differential transformer<\/em>. Essentially this means it will return you a scaled and phase-shifted version of your input signal depending on movement of the transformer core, which is connected to (usually) a measuring tool. They are known for being obsessively sensitive. In this case, the variation comes from what I presume is the displacement of the rotor when the case is rotated.<\/p>\n<p>The input (channel 1) sine wave is 10 volts p2p at 5000 Hz, and the output (channel 2, really fuzzy) is roughly 0.4 volts p2p.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_5-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>So this is how the signal varies.<\/p>\n<p>At maximum positive angular velocity (\u03a9), the sine wave increases in magnitude to a point of saturation. The ch2 phase, relative to ch1, remains the same.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_6-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>At\u00a0 maximum <em>negative<\/em> \u03a9, the magnitude decreases to another point of saturation, but the phase flips. Notice that the peak of the output is now on the other side of the peak of the input.<\/p>\n<p>At a certain negative \u03a9, the output is flat. The output wave does not <em>time-shift<\/em> at all, it just flips across the X-axis <em>after<\/em> going to complete zero.<\/p>\n<p>A <a href=\"\/pics\/seg\/gyro_6.mov\" target=\"_blank\">video<\/a> is worth (one thousand * frames per second * number of seconds of video length) words, so here&#8217;s a video of me wiggling the gyro. Watch the fuzzy output.<\/p>\n<p>Well, this is certainly troublesome. To use the gyro properly, I would have to monitor both the phase AND the magnitude, because certain output magnitudes correspond to the same \u03a9s in opposite directions. Worse yet, it&#8217;s not like the signal is centered around zero or anything &#8211; zero is actually some negative \u03a9.<\/p>\n<p>Not very useful, so I started playing around with frequencies and what not. Here&#8217;s where I discovered that the gyro won&#8217;t do anything with a 24,000Hz input on the rotor. I&#8217;d need a VFD or something to get it that fast.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_7-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>But an interesting phenomenon occured at a VDT input frequency of about10,000Hz (with the rotor back at the usual 700hz frequency). I noticed that the -\u03a9 saturation magnitude began decreasing with increasing input frequency. At around 10Khz, maximum -\u03a9 resulted in a totally flat response. The maximum +\u03a9 voltage increased corresponingly.<\/p>\n<p>Hey, this is something useful. A nominal magnitude at zero \u03a9, a high magnitude at maximum +\u03a9, and zero at maximum -\u03a9. If you rectified the sine wave, you&#8217;d get a constant \u03a9=0, +\u03a9max, and -\u03a9max voltage with linear variations with \u03a9 in between.<\/p>\n<p>Unfortunately, the intervals seemed to be unequal. That is,\u00a0 the voltage difference from\u00a0 \u03a9=0 to +\u03a9max was higher than \u03a9=0 to -\u03a9max. Further observation of the frequency response showed that these intervals changed as the frequency was increased. So I tried to find the frequency where the voltage swing would be approximately equal.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_10-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>The magical frequency was around 18Khz. At this point, the voltage deviations from \u03a9=0 were (to my eyes and MITERs&#8217; ancient oscilloscope) essentially equal in both directions. The output sine wave no longer flipped, nor did it reach zero, but it only deviated from the rest amplitude slightly.<\/p>\n<p>Here&#8217;s a <a href=\"\/pics\/seg\/gyro_9.mov\">video<\/a> where channel 1 is initially suppressed so the full range of the voltage swing is variable.<\/p>\n<p style=\"text-align: center;\"><a href=\"\/pics\/seg\/gyro_11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/seg\/gyro_11-mid.jpg\" alt=\"\" width=\"512\" height=\"384\" \/><\/a><\/p>\n<p>I threw an op-amp at the roughly .5 volt p2p output signal so it was in a more useful range.<\/p>\n<p>So now I know that at about 18Khz sine wave input, the output of the gyro is a sine wave of a certain magnitude at rest. Moving the gyro about its sensitive axis changes the magnitude positively or negatively to relatively equal voltage limits above and below the rest voltage, but the output is still a sine wave.<\/p>\n<p>This is now alot more useful to me, because the signal can be rectified into a positive DC voltage, then the &#8220;zero voltage&#8221; subtracted from that. Then, a positive angular velocity will yield a positive DC voltage, and a negative one vice versa. And zero volts should be zero movement. There&#8217;s probably a less Byzantine way of reading the signal, but that&#8217;s a first-order guess using my limited EE knowledge.<\/p>\n<p>So, the bottom line is, so far&#8230;<\/p>\n<p>A +\/- <strong>15 volt<\/strong> power supply and something that generates and accepts sine waves is needed.<\/p>\n<p><span style=\"color: #808080;\"><strong>Black<\/strong><\/span> wire: Ground. Legit ground.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Red<\/strong><\/span> wire: One rotor input. According to the Interwebs, this should be a 400 to 700hz square(sine?) wave.<\/p>\n<p><span style=\"color: #339966;\"><strong>Green<\/strong><\/span> wire: Other rotor input. One of the two should be capacitatively coupled to the other. Here I assume that depending on which lead gets the capacitor, the rotor spins in opposite directions.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Blue<\/strong><\/span>: Signal ground. I tied it to Legit Ground\u2122<\/p>\n<p><span style=\"color: #ffff00;\"><strong>Yellow<\/strong><\/span> wire: VDT input, referenced to Blue.Takes a sine wave.<\/p>\n<p><strong>White<\/strong> wire: VDT output. A chopped and screwed version of your input appears here. Intepretation is an exercise left to the EE-gifted.<\/p>\n<p>First person to build a <span style=\"text-decoration: line-through;\">cruise missile<\/span> cool gyroscopically-guided thing wins!<\/p>\n<p>Also, comments, corrections, and additional information is welcome and encouraged. I don&#8217;t doubt at all that I misinterpreted or abused something, so please point it out!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few months ago, intrepid MITERers discovered that a number of Honeywell GG480 &#8220;Golden Gnat&#8221; rate gyroscopes had been released to the surplus market. Taking the opportunity of a sale at Electronic Goldmine, we snagged a box of 10 just in case we ever decide to make cruise missiles&#8230;uhh, animatronic teddy bears. Yeah. That&#8217;s it. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,62,1],"tags":[],"class_list":["post-428","post","type-post","status-publish","format-standard","hentry","category-project-build-reports","category-reference-posts","category-stuff"],"_links":{"self":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=428"}],"version-history":[{"count":2,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts\/428\/revisions"}],"predecessor-version":[{"id":611,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts\/428\/revisions\/611"}],"wp:attachment":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}