Friday, March 1, 2013

Android's UTC vs GPS Clock Error

Official Blog: Time, technology and leaping seconds

Google's Site Reliability Team blogged back in 2011 that "Having accurate time is critical to everything we do at Google."  This is an interesting statement, in light of the known issue with Android (i.e. Google) having a known clock error which equates to the difference between GPS Time and UTC Time. 

First reported back in 2009, the Android clock error is the result of the device's date/time being locked to the GPS time signals, but as I discovered and reported in 2010 the GPS driver fails to apply the time correction.  As of this writing the error is on the order of 15 seconds, and will increase over time.  The reason that GPS and UTC time differ is due to various factors, but the largest is that the two time systems are increasingly divergent due to "leap seconds" which are small corrections applied every couple of years to UTC time which attempt to keep the UTC year aligned with the "Solar year". 

You might argue that 15 seconds is not an issue, and for the majority of users this is true.  However for scientists, some professionals, and even amateur radio operators the error can cause huge problems.  In the amateur radio world we use smartphones to track the location of satellites and the International Space Station.  Depending on their orbit, most sats are visible in the sky for at most 15 minutes.  So the error in time means that an antenna pointed at the satellite will be incorrect by at least 3 degrees, possibly more. 

The thread on Android Google Code about this issue has grown quite long over the years.  I asked for users to report if their devices had the bug; over the years every post has been a "yes" with the one exception being a Nexus 4 running Android 4.2.1.  A response from the Android team has never been posted.  It would seem that "Having accurate time is critical to everything we do at Google" is a bit of a stretch - because clearly it's not even worth talking about when the inaccuracy is on Android.

Update: I picked up a Nexus 7 running Android 4.2.2 and find that the time issue is resolved!  So to be fair, the issue existed for a long time but "Jelly Bean" seems to have resolved the issue. 

Sunday, February 24, 2013

Spectrum Analysis of a Smart Meter

We got our smart meter installed this past week, so of course I had to take a look at the RF signals coming from it. The results were very interesting!  I used the spectrum analyzer on an Anritsu S412E LMR Master™, which is fast enough to capture the 20 - 200 millisecond pulses in the 902 - 928 MHz ISM band coming from the PG&E electric smart meter (the meter itself was actually made by GE).


Summary of my findings?  As I expected, there's far more RF energy in the air from the TV and FM broadcast bands and cellular signals than from the smart meter's short-duration pulses.  You have to really hunt for the smart meter signals, which are buried underneath a lot of other stronger signals. 

Monday, January 21, 2013

The Un-Club: Validation

At ARRL Pacificon 2012 I presented "Club is a Four Letter Word" - during which I set forth the idea that most amateur radio clubs are hurting more than helping our hobby.  The thesis of my presentation was that, in the modern world where membership can be obtained by simply clicking the Like button on a Facebook page, and information on innumerable subjects can be obtained from YouTube and other sources, a traditional club structure is often not needed.  A recent article on the ARRL website entitled "The Un-Club" talked about many of these same ideas, and gave examples of how their group has rejected the traditional club model and the positive benefits from that approach. 

Consider Bay-Net in the San Francisco Bay Area.  It's increasingly one of the more popular amateur radio groups in the region, with a popular linked analog repeater system and D-Star node.  Bay-Net has no members; if you're on the email list, you're in the group.  Bay-Net doesn't hold regular meetings, except for a once-per-year gathering at which goals for the coming year are set forth for consideration and an informal expo is held where members bring in projects to share and discuss.  There are three "board members" (required to maintain the Bay-Net vanity callsign WW6BAY) but they're not treated any differently than anyone else and most of them group doesn't even know who they are.  We host a Field Day site every year and usually come in last place because we spend all of our time playing around with radios and gadgets instead of making contacts, but we always learn something. There are no dues; if we need to buy something we ask for donations and people step up. 

One of the great things about Bay-Net has been that it's attracted a lot of younger operators, which I credit in part to the "not a club" approach.  I encourage you to consider whether your club might be more efficient, more effective, and more inviting if it wasn't a club at all.


Update: As if to yet again validate this idea, I received an email from a local club that allows non-members to monitor their mailing list:

We are having an election to make a change in the By-Laws. The proposed change is shown in RED LINE in the attached petition and adds the words "more than once" to the end of Article IV, Section 1 of the By-Laws. In essence the proposal is that the By-Laws be amended in order to allow officers to serve up to two one year terms in a row rather than only one term as presently provided. It would not extend officer terms and all officers would still stand for election each year at the April meeting.
Gaaahhhhh.....


Update, Part II: I keep getting comments (here and on my G+ post) about the importance of f2f interaction and why clubs provide that.  Let me clarify: I'm not saying that Bay-Net never interacts f2f.  We meet up all the time, for a variety of reasons.  We just don't do it *formally*.  If we need or want to meet, we do.  What we don't do is waste time with minutes, financial reports, committee reports, voting, etc.