My geek blog :-)

Friday, October 15, 2004

An article on how GPS Works

SiRF Technology, Inc. is bringing breakthrough GPS technology, along with other wireless innovations, to a wide range of consumer applications. The SiRFstarI/LX™ GPS chipset and software is distinguished by permitting designers to build small, low-cost, low power GPS-enabled consumer products. What’s more, the technology supports navigation in cities with narrow streets and tall buildings, and in areas of dense foliage (e.g. forests). These are the two prime areas for a large volume, consumer GPS product market, and precisely the areas in which current GPS technologies fail to work well. The LX designation indicates new low power extensions that have been added to reduce the power consumption of the GPS solution for use in handhelds and other power sensitive applications.

SiRF’s GPS technology features are unique to the commercial GPS market. These include: Rapid satellite signal re-acquisition (SnapLock™ acquisition), single satellite navigation (SingleSat™ positioning), Dual Multipath Rejection, high sensitivity and dynamic range (FoliageLock™ reception), and TricklePowerä advanced power management mode.

SnapLock, SingleSat and Dual Multipath Rejection are the keys to effective and accurate navigation in cities. These three features, plus FoliageLock reception, permit users of SiRF-enabled GPS products to use them in areas where other systems fail to work, and to re-acquire satellite signals more quickly after exiting a blocked area, such as a tunnel. Because of the company’s expertise in GPS system architecture, spread-spectrum technology and RF system design, SiRF has been able to implement these features in cost-effective silicon-and-software solutions.

The Global Positioning System

The US Department of Defense (DoD) has built an elaborate system for pinpointing locations virtually anywhere on the planet. A constellation of 24 NAVSTAR satellites circles the Earth every 12 hours emitting radio signals that contain information about their positions. Specialized receivers, on or near the planet surface, receive these signals and calculate their positions relative to these satellites.

With simultaneous data received from four satellites, one’s position (e.g. latitude, longitude, altitude and time) can be calculated. Under ideal conditions, the location is precisely and accurately determined. However, under real conditions, there is always some degree of error. Errors can be caused by the degradation applied by the US DoD to the satellite signal (called Selective Availability or SA), and by signal delay in the ionosphere. Despite the opportunity for error, positioning can be calculated to within a few hundred feet or less in most cases.

Four equations; four unknowns

Essentially, the way the GPS works is a receiver picks up signals from four satellites and measures the time it took for those signals to arrive. From this timing information, one can calculate the distance between the receiver and each satellite. The four satellites’ ephemeris data provide the satellite’s X, Y, and Z positions. The range, R, is the receiver measurement made by calculating the time it took for the signal to reach the receiver. The user’s position, (Ux, Uy, Uz), and the clock bias, Cb, is then calculated (see figure 1).

Spectrum sharing

Each of the 24 satellites transmits a set of signals using spread spectrum technology. Spread spectrum technology enables low-powered satellites to produce signals that can be detected at very low received-signal levels. Essentially, the carrier signal is modulated by a unique coding sequence which has the effect of spreading the signal’s frequency spectrum. Using a replicated code sequence, a GPS receiver searches that spectrum looking for a match. The signal can then be "unspread" and decoded. By transmitting several signals over the same spectrum, but using distinctly different coding sequences, each signal can share the spectrum without interfering with any of the others.

Error processing

The GPS assumes that signals will be traveling between satellite and receiver in a straight line. The signal will actually be delayed upon going through the ionosphere, and the receiver timing references will have some small error. Both of these errors are predictable and correctable. The aforementioned SA process also induces an error. However, using data from more than four satellites can mitigate that error. Nevertheless, the SA-induced error is presently a fact of life in each position calculation. Fortunately, SA will hamper very precise positioning accuracy, but not to a point where it undermines the requirements for personal navigation. Furthermore, the DoD is scheduled to eliminate SA by the year 2007. In the meantime, systems with higher accuracy requirements can receive locally generated differential corrections to enhance performance.

Multipath error

Multipath error, on the other hand, can produce very large deviations. Multipath is caused by satellite signals that arrive at the receiver after having bounced off some nearby structure (e.g. a tall building), or the ground. Because the path is not straight, the time delay will be longer, and the distance from the satellite will also seem to be longer (see figure 2). This can produce location errors that are unacceptable, particularly in urban automobile navigation applications.

Signal attenuation

Non-restricted GPS signals are transmitted at 1.575 GHz, a microwave frequency. Such signals are blocked by steel and concrete structures (e.g. buildings and tunnels), and attenuated by passing through trees and leaves. The GPS specification for minimum detectable signals renders reception marginal when the signal is attenuated by foliage. The denser the foliage, the more marginal the signal. As such, receivers that just meet this specification are not reliable for use in forests or even tree-lined streets. To ensure being able to detect signals in a forest, the receiver must provide sensitivity that exceeds the current standard. For example, the receiver must be able to detect signals whose power has been attenuated to a level of about 5 percent of the initial level.

Applying the GPS

To build a GPS-based navigation product, one must design a radio that can receive the spread-spectrum signals. The detected signals are then converted from RF signals into appropriate digital input formats. These digital inputs are processed and converted into position information, and the information is then processed to produce the required application output (e.g. a blinking cursor on a map overlay, a readout of latitude and longitude, etc.)

SiRFstar Technology

The SiRFstarI/LX architecture is implemented in a chipset and modular software system. This high performance, highly integrated architecture is optimized for mainstream automobile navigation and a wide range of consumer products requiring low power consumption.

GRF1/LX

The GRF1/LX chip is a RF Front End component that converts GPS signals from their 1.575 GHz frequency into baseband signals. To accomplish this, the IC integrates an LNA, mixers, amplifiers, a synthesizer and an analog-to-digital converter. The GRF1/LX also incorporates an on-chip voltage-controlled oscillator (VCO) so that it requires only an external crystal rather than an external oscillator. The single local oscillator (LO) design requires a minimum of discrete components to implement a suitable GPS front end (see figure 3).

Figure 3. The SiRFstarI GRF1/LX provides all the functions required to provide front end RF GPS signal reception and conversion.

The GRF1/LX is designed to interface to standard active antennas (or passive antennas with an on-board LNA), and provides two-bit interface to its digital signal processing companion chip, the GSP1/LX. With its high-speed, parallel processing, signal-processor architecture, the GSP1/LX is optimized for GPS designs. Its SnapLock feature offers 100 millisecond satellite signal re-acquisition, a speed that is 20 to 30 times faster than alternative ICs. Since positioning accuracy improves with each additional satellite data stream and potentially a maximum of 12 satellites may be visible at one time, SiRF designed a parallel 12-channel architecture that permits simultaneous processing of up to 12 satellite signals.

The GSP1/LX is designed to interface with any standard 8, 16 or 32 bit microprocessor, and its 8- or 16-bit memory interface supports either dynamic (DRAM) or static (SRAM) memory chips. It features a 2-bit interface to the GRF1/LX and can produce 10 positions-per-second output. The GSP1/LX has 2 full duplex serial ports that offer programmable data rates up to 38.4Kbaud. (see figure 4).

Figure 4. The GSP1/LX is a 12-channel, parallel processing, GPS signal processor. It is designed to interface with standard microprocessors and memory chips, and together with the GSW1/LX modular software, provides SnapLock, SingleSat , Dual Multipath Rejection and TricklePower functionality.

In addition to the chipset, the SiRFstar solution includes optimized and modular GPS software. The GSW1/LX’s modules include a customer-controllable receiver manager, tracking loops, data demodulation, navigation filtering, I/O and GSP interface, a standard API interface, plus drivers for PC oriented applications.

The SiRFstarI/LX chipset and software solution can be used to build navigation modules, integrated navigation solutions, and GPS-enabled PC products (see figure 5).

Differentiating Features

There are several differentiating features that make SiRFstarI/LX technology especially well suited to a wide variety of high-performance, low-cost, low power consumer GPS products and applications.

SnapLock acquisition

SiRF’s SnapLock acquisition feature provides re-acquisition of satellite signals in only 100 milliseconds, as well as fast initial search. SnapLock acquisition results from a parallel spectrum search to find code correlation, involving 20 code samples. Alternative devices take typically two to three seconds to re-acquire a lost signal, and may take minutes to do the initial search.

SnapLock acquisition is a critically important feature for automobile navigation. Cars lose satellite visibility in cities because they are blocked by tall buildings and tunnels, but they get a clear view in intersections, or when exiting a tunnel. The average time in an intersection is one to three seconds, but a re-acquisition time of two or three seconds leaves no time for collecting signal data. SnapLock acquisition re-acquires the signal and collects a measurement for a position update in one-tenth of a second. Thus, an intersection offers enough time for both re-acquisition and positioning when a system is based on SiRFstar technology. This high-speed re-acquisition is also a key part of the power management scheme. Since the signal can be re-acquired in 100ms the chipset can be power cycled at a rate faster than the standard 1Hz update rate, causing no apparent loss of data but at greatly reduced power consumption.

SingleSat positioning

When driving in an urban area, a car’s satellite visibility is often blocked by intervening buildings. For other GPS systems, when less than three satellites are visible, no positioning calculations can be made. However, SiRF’s SingleSat positioning mode allows positioning calculations, for short periods, when only a single satellite is visible. SingleSat positioning works by using a single satellite’s data to determine how far along a current path the car has traveled. Any errors in position can be corrected as soon as SnapLock reacquires three or more satellite signals (e.g. when the car passes through an intersection). Car navigation systems employing SiRFstar technology will thus provide more position fixes than other systems when navigating in an urban setting.

Dual multipath rejection

Multipath errors occur when signals reach a receiver along an indirect path. Low level reflected signals bouncing off of far-away objects are simply eliminated. Errors caused by nearby reflected signals are filtered. Without such a rejection scheme, multipath-induced errors often cause random, large-scale errors in positioning for car navigation systems being used in urban areas. SiRFstar’s Dual Multipath Rejection capabilities significantly reduce multipath errors eliminating these large-scale deviations.

Foliage lock sensitivity

The GPS standard signal threshold is -160 dBW. It allows for receiving a signal that is much reduced in power. However, car navigation and personal navigation products used in tree lined or wooded areas will often receive satellite signals that are below this threshold. FoliageLock sensitivity is 20 dB lower than the threshold standard. Thus, signals that are indistinguishable to other GPS receivers are detectable with those based on SiRFstar technology.

Reducing Power Consumption

The LX extensions to the original SiRFstar architecture reduce power through new hardware and software. New foundry technology and peripheral integration in both chips reduce the overall system power consumption in hardware. The GSP1/LX also contains a high-precision real time clock that allows the software to keep very accurate time (to a few microseconds) during power down to enable very fast restarts. In addition, new software in TricklePower mode puts the power to the GPS chipset under software control. By using the SnapLock reacquisition capabilities, the chipset can be turned off for up to 800ms of every second and still reacquire, track and produce a new solution in the remaining 200ms. This allows the receiver to provide a continuous 1Hz update and only use approximately 1/5 of the power. In addition, the software has a push-to-fix mode which allows the receiver to autonomously turn on and collect the necessary data to provide a SnapStartä position fix in under 2 seconds. The background consumption of the push-to-fix mode has the chipset operating only 2% of the time.

In sum…

By offering a GPS solution with these and other features, and by offering that solution in both board and chip-level form factors, SiRF Technology is ensuring that designers have the flexibility to build a variety of products, with success-factor features, in sizes and prices that will stimulate the demand for GPS-enabled consumer products.

VOICES OF THE INNOVATORS -

LOOK WHAT A TRUE VISIONARY HAS TO SAY ABOUT INNOVATION

The Seed of Apple's Innovation

CEO Steve Jobs says among other practices, it's "saying no to 1,000 things" so as to concentrate on the "really important" creations

In an era when most technology outfits have tightened their belts to adapt to a slower-growing market, one company stands out for forging ahead on innovation: Apple Computer (AAPL ). Others have slashed R&D and focused on incremental advances to existing product lines. Not Apple.

By combining technical knowhow with a new concept for how to sell music online, Apple's iPod music player has become the most influential new tech product in years. At the same time, Apple has maintained its reputation for making the most elegant, easy-to-use desktop computers as well.

Much of the credit for this performance is attributed to Chief Executive Steven P. Jobs, who founded Apple in 1976 -- but was ousted in 1985 before making a triumphant return in 1997. BusinessWeek Computer Editor Peter Burrows recently talked about the nature of innovation with Jobs, who is back to work part-time after recovering from pancreatic cancer surgery. Here are edited excerpts of their conversation:

Q: Apple has long been an innovative place with lots of smart, passionate engineers. But it seemed to fall off the map in the years before you returned in 1997. What happened?
A:
Let's start at the beginning. Both [Apple co-founder] Steve Wozniak and I -- and I think I can speak for Woz -- got our view of what a technology company should be while working for Hewlett-Packard (HPQ ) in the late 1960s and early 1970s. And the first rule over there was to build great products. Well, Apple invented the PC as we know it, and then it invented the graphical user interface as we know it eight years later [with the introduction of the Mac]. But then, the company had a decade in which it took a nap.

Q: What can we learn from Apple's struggle to innovate during the decade before you returned in 1997?
A:
You need a very product-oriented culture, even in a technology company. Lots of companies have tons of great engineers and smart people. But ultimately, there needs to be some gravitational force that pulls it all together. Otherwise, you can get great pieces of technology all floating around the universe. But it doesn't add up to much. That's what was missing at Apple for a while. There were bits and pieces of interesting things floating around, but not that gravitational pull.

People always ask me why did Apple really fail for those years, and it's easy to blame it on certain people or personalities. Certainly, there was some of that. But there's a far more insightful way to think about it. Apple had a monopoly on the graphical user interface for almost 10 years. That's a long time. And how are monopolies lost? Think about it. Some very good product people invent some very good products, and the company achieves a monopoly.

But after that, the product people aren't the ones that drive the company forward anymore. It's the marketing guys or the ones who expand the business into Latin America or whatever. Because what's the point of focusing on making the product even better when the only company you can take business from is yourself?

So a different group of people start to move up. And who usually ends up running the show? The sales guy. John Akers at IBM (IBM) is the consummate example. Then one day, the monopoly expires for whatever reason. But by then the best product people have left, or they're no longer listened to. And so the company goes through this tumultuous time, and it either survives or it doesn't.

Q: Is this common in the industry?
A:
Look at Microsoft (MSFT ) -- who's running Microsoft?

Q: Steve Ballmer.
A:
Right, the sales guy. Case closed. And that's what happened at Apple, as well.

Q: How did Apple recapture its innovative spark?
A:
I used to be the youngest guy in every meeting I was in, and now I'm usually the oldest. And the older I get, the more I'm convinced that motives make so much difference. HP's primary goal was to make great products. And our primary goal here is to make the world's best PCs -- not to be the biggest or the richest.

We have a second goal, which is to always make a profit -- both to make some money but also so we can keep making those great products. For a time, those goals got flipped at Apple, and that subtle change made all the difference. When I got back, we had to make it a product company again.

Q: How do you manage for innovation?
A:
We hire people who want to make the best things in the world. You'd be surprised how hard people work around here. They work nights and weekends, sometimes not seeing their families for a while. Sometimes people work through Christmas to make sure the tooling is just right at some factory in some corner of the world so our product comes out the best it can be. People care so much, and it shows.

I get asked a lot why Apple's customers are so loyal. It's not because they belong to the Church of Mac! That's ridiculous.

It's because when you buy our products, and three months later you get stuck on something, you quickly figure out [how to get past it]. And you think, "Wow, someone over there at Apple actually thought of this!" And then three months later you try to do something you hadn't tried before, and it works, and you think "Hey, they thought of that, too." And then six months later it happens again. There's almost no product in the world that you have that experience with, but you have it with a Mac. And you have it with an iPod.

Q: What's the CEOs role in all of this?
A:
I don't know. Head janitor?

Q: Seriously, a lot of people give you much of the credit. How much of it is you?
A:
Look, I was very lucky to have grown up with this industry. I did everything in the early days -- documentation, sales, supply chain, sweeping the floors, buying chips, you name it. I put computers together with my own two hands. And as the industry grew up, I kept on doing it.

Not everyone knows it, but three months after I came back to Apple, my chief operating guy quit. I couldn't find anyone internally or elsewhere that knew as much as he did, or as I did. So I did that job for nine months before I found someone I saw eye-to-eye with, and that was Tim Cook. And he has been here ever since.

Of course, I didn't tell anyone because I already had two jobs [CEO of Apple and of movie maker Pixar Animation Studios (PIXR)] and didn't want people to worry about whether I could handle three [jobs]. But after Tim came on board, we basically reinvented the logistics of the PC business. We've been doing better than Dell (DELL ) [in terms of some metrics such as inventory] for five years now!

Q: With the iPod, Apple moved beyond the PC into consumer electronics. But you're still considered a niche player that picks its spots in bigger markets. Will you try to expand to become a more full-line player, like a Sony (SNE ) or Samsung?
A:
The fact that you're comparing us to Sony is a statement in itself. I'm flattered. We really respect those guys and what they've accomplished over the years. But we're just trying to make great products. We do things where we feel we can make a significant contribution. That's one of my other beliefs.

I've always wanted to own and control the primary technology in everything we do. Take audio. For years, the primary technology was the [marking mechanism] inside a CD or a DVD player. But we became convinced that software was going to be the primary technology, and we're a pretty good software company.

So we developed iTunes [Apple's music jukebox software that later morphed into the iTunes Music Store]. We're a good hardware company, too, but we're really good at software. So that led us to believe that we had a chance to reinvent the music business, and we did.

Q: Many people say we're in a period in which advances in various digital technologies -- from drives to chips to screens to networking gear -- is going to change the nature of innovation. Rather than inventing something from scratch, innovation will be the art of putting all of these capabilities together in new ways.
A:
Of course, you're never going to invent everything. But what's the primary technology? And what's the concept of the product? Where does the conceptualization come from? I guarantee the 1.8-inch hard drive was not invented for iPods. But that's not the primary technology in an iPod.

Q: How do you systematize innovation?
A:
The system is that there is no system. That doesn't mean we don't have process. Apple is a very disciplined company, and we have great processes. But that's not what it's about. Process makes you more efficient.

But innovation comes from people meeting up in the hallways or calling each other at 10:30 at night with a new idea, or because they realized something that shoots holes in how we've been thinking about a problem. It's ad hoc meetings of six people called by someone who thinks he has figured out the coolest new thing ever and who wants to know what other people think of his idea.

And it comes from saying no to 1,000 things to make sure we don't get on the wrong track or try to do too much. We're always thinking about new markets we could enter, but it's only by saying no that you can concentrate on the things that are really important.

Q: How much do you have to do with Apple's innovations?
A:
We go back and forth a lot as we work on our projects. And we've got such great people [in the top executive team] that I've been able to move about half of the day-to-day management of the company to them, so I can spend half my time on the new stuff, like the retail effort. I spent and continue to spend a lot of time on that. And I meet weekly for two or three hours with my OS X team. And there's the group doing our iLife applications.

So I get to spend my time on the forward-looking stuff. My top executives take half the other work off my plate. They love it, and I love it.

Q: So the key is to have good people with passion for excellence.
A:
When I got back here, Apple had forgotten who we were. Remember that "Think Different" ad campaign we ran [featuring great innovators from Einstein to Muhammad Ali to Ghandi]. It was certainly for customers to some degree, but it was even more for Apple itself.

You can tell a lot about a person by who his or her heroes are. That ad was to remind us of who our heroes are and who we are. We forgot that for a while. Companies sometimes forget who they are. Sometimes they remember again, and sometimes they don't.

Fortunately, we woke up. And we're on a really good track. We may not be the richest guy in the graveyard at the end of the day, but we're the best at what we do. And Apple is doing the best work in its history. I really believe that. And there's a lot more coming.

Q: You're back at work on a part-time basis. Are you going to come back full-time?
A:
Yes. That was one of the things that came out most clearly from this whole experience [with cancer]. I realized that I love my life. I really do. I've got the greatest family in the world, and I've got my work. And that's pretty much all I do. I don't socialize much or go to conferences. I love my family, and I love running Apple, and I love Pixar. And I get to do that. I'm very lucky.

Wednesday, October 13, 2004

My World this Week!!!

This is the week of the TT2.0 release and we all are keeping our fingers crossed.

Started working on OFX 4.0 and i find it better than 3.3. Better documented for starter's

This is a good article on byte code ASM bytecode manipulation framework

Friday, October 08, 2004

Thank God its Friday

We are back at shoik after a hard weeks work :-) , this being the penultimate week before the Realease of 2.0. The Good news is XMS has squeaked through the AV&V testing with a yellow grading.This is a landmark for Xora. We got through on the first attempt.
I have registered for the Global LBS Challenge

This is something we ought to ace. I hope we develop the killer location based application. I will be getting on with esri server on the weekend and try to get a hang of it. I have a few really vague ideas about what i need to do, but i feel as i got about developing a generic framework for Location based application , i should hit upon an idea of significance.

We are working to get some demo's for XMS , scheduled for the 18th. I am looking forward to its successful launch in Mid November. It definetely a step in the right direction from the Quality point of view.

I got some quality articles on GPS from sirf
I am excited about getting onto JDK 1.5 and all its fancy features.