Differences between revisions 22 and 23
Revision 22 as of 2011-07-27 11:27:11
Size: 23706
Editor: shoobe01
Comment:
Revision 23 as of 2011-07-27 11:55:15
Size: 25321
Editor: shoobe01
Comment:
Deletions are marked like this. Additions are marked like this.
Line 114: Line 114:
{{attachment:IntroMobile-GSM.png|A summary of the network operations between a GSM handset and the BTS. }}
Line 116: Line 118:
GSM is an entirely digital standard, encoding the voice as a stream of data. This is then assigned to "frames", which are sent out over specific timeslots, mixed in with all the other traffic on the network. At the other end, it is extracted from the frame, bolted to the rest of the stream, then turned back into continuous voice. The time slices make this a "TDMA" or Time Division Multiple Access system. On each of the 124 frequency channels, 26 different conversations can be had. This is possible partly due to the efficiency of digital encoding; the coded traffic takes less time to encode, send and decode than it does to say or hear, so it can be broken up into bits without you noticing the lag.
Line 117: Line 120:
Additional parts of the network are dedicated to various traffic control functions, and to power management. Among the traffic control functions is a message section, originally just for network technicians to send short text phrases between the BTSs, then repurposed to let the handsets replace pagers. As you might have guessed, this is where SMS text messaging came from.
Line 118: Line 122:
TOO DETAILED: Though developed totally separately, and with much more capacity, the principles described in D-AMPS are employed in GSM. For each of 124 channels, there are 26 "frames" which can each carry voice or data, paging (or SMS), or network control signals. These frames are differentiated by frequency and time, though GSM is generally boiled down to being considered a TDMA system.


Advantages: Interference-resistant (guard freq), portablity (SIM)

Issues: Hard capacity (unused capacity is wasted, not used to enhance other's throughput), multipath
several kinds of SIMs. Matters as not all are portable. Stabilized for a few years on Mini-UICC, but then SMALLER? What is that??? NEED TO ADD TO DRAWING.

GPRS: Asymmetric, packet-switched method of using GSM channels

Adds Packet Data Channel (PDCH) to the architecture. May use any physical channel, or several of them as capacity allows.


{{attachment:IntroMobile-GSM.png|A summary of the network operations between a GSM handset and the BTS. }}
Despite all the voice traffic being digital, this does not mean early GSM supported data. The concept was still of delivering circuit-switched voice to the PSTN, so data essentially operated like a dial-up modem, and was inefficient.
Line 150: Line 141:

A note about power and power management???


== 2.5 & 3G ==
Without getting into too much detail, third generation networks (or "3G") are directly descended from 2G. They retain the basic underpinnings of the technology (TDMA vs. CDMA) and much of the general layout of control and network configuration, but can also naturally handle data, by turning some traffic channels into packet data channels.

Naturally, a change to the network architecture also means that other parts were changed, and the networks also use even less power, manage power and interference better and increased capacity markedly.

3G had to meet certain requirements by international certifying bodies, especially that of data transmission speeds and capacity. "2.5G" networks are simply stepping stones, which were so different from 2G they were worth mentioning, but not yet good enough to be "3G." This is, however, an insider's term. Consumers didn't mostly get told all this, and thus began the marketing of network specs, and a set of lies. Many 2.5G networks were marketed at the time as 3G. The same is happening with 4G today; while good WiMax and LTE networks are active, none are really yet 4G certified.

Aside from simply understanding your place in history, the underpinnings of mobile communications can be crucial to assuring your particular application, site or service works correctly. Decisions made long ago, whether technical or regulatory, influence how mobile telephony evolved, and are still felt today.

An example might help. My favorite is that SMS (text messaging) isn't data. It looks like data, because it's typed; email and IM are data, right? But SMS is in the "paging channel," or the part used for ringing the phone and sending caller ID data. What does that mean for pricing, availability, traffic management? Well, too much to go into here, but importantly different things than managing data services.

I have gone out of my way to take actual RF engineering classes. It's pretty arduous, and I no longer remember how to calculate Walsh codes by hand, for example. But as it turns out, almost no one does. I was in class with guys who had EE degrees, and had been working as radio techs for mobile operators for years, and still didn't know the history, or how parts of the system outside their domain work.

Hence, I feel pretty good about boiling several thousand pages of lecture slides and books into this short article. Just understanding the basics can matter a lot to your everyday work.

The Electromagnetic Spectrum

We'll start with junior high physics, to make sure everyone is on the same page. Everything from light to radio to x-rays (and much more) are all a part of the electromagnetic spectrum. These various parts of it are named, and discussed as separate elements based on the way the radiation interacts with physical matter. Visible light excites electrons at a frequency convenient to biochemical processes, so there are rods and cones in our eyes which detect it. Radio collectively oscillates materials, like all the electrons in an antenna at the same time.

Think of the entire electromagnetic spectrum in the same way as the spectrum of visible light; there is a clear area which is "red" and a clear area which is "orange" but also a space in between, parts of which could be considered "red-orange" or red, or orange. Though the individual components are discussed as though they are separate components, they are also part of a continuum and certain interactions overlap quite strongly.

Everything on the electromagnetic spectrum has a frequency, wavelength and power. Radio, especially, is very commonly discussed in these terms as they influence range and the speed and capacity of the information carried. Radio is generally considered to be the frequencies between 3 kHz to 300 GHz. That "collective oscillation" mentioned above means you can feed an RF frequency electrical signal into an antenna (of the right materials, size and shape) and it will send out waves through the air, radiating much like ripples in a pond. When another antenna (again, of the right configuration) gets struck by these waves, they vibrate the electrons in the antenna in such as way that it generates electrical signals, and the receiving electronics do their job.

The electromagnetic spectrum, with a detail of the radiofrequency spectrum, including the allocations of various services, within the US, as of 2003. As you can see, there are a lot of different services vying for a limited amount of space. Key mobile frequencies and a few others are labeled, all others have been removed for clarity.

Frequencies are measured in Hertz, where 1 Hz is one "cycle" per second. Electrical power in the US is delivered at 60 Hz. Mobile phones are much higher frequency, measured in megahertz (MHz) or gigahertz (GHz).

In general, longer wavelengths travel further, and may go through and around objects. Very low frequencies have global ranges. High frequencies carry much more information, but cannot penetrate objects. Even without something in the way, Certain frequencies are unavailable due to physical phenomenon, such as cosmic rays and the sun. Frequencies are managed by national governments (in the U.S. by the FCC), generally through international agreements. The spectrum is quite full of traffic now, such that adding any service requires disabling another one. The switch to digital television, for example, freed up quite a bit of useful bandwidth, just now coming into service for some next generation mobile networks.

History

I always start presentations about mobile telephony by getting a baseline of the audience. I ask when mobile telephony was first instituted, and where. Occasionally someone will refer to the DynaTac, and correctly insist it all started in the US. Much to the derision of their youthful cohorts, who are sure it came about no earlier than 1985, in Japan or -- for the very clever, Finland.

No one guesses that it emerged directly from experience with miniaturization of radios in the second World War, and was first placed into service by the Bell system right after the war, in 1946.

A contemporary illustration of the 1946 Bell MTS system in St. Louis, Missouri. This was a quite complex installation for MTS. Due to the size of the surrounding areas, multiple receive antennas were installed, something not common with the first systems.

These first systems were based in relatively small areas, covering a single city for example. A single radio antenna on a tall building downtown sent signals to a large radio in your car, and received signals from it. To dial a call, you had to get an operator to physically connect the call by dialing it on their switchboard, then plugging a patch cable between the mobile network, and the wireline phone network.

These Mobile Telephone Systems were replaced starting in 1963 with an Improved version, which added antennas for larger areas such as the St. Louis region above, and had some capacity for handoff between them, allowing larger range, and lower power. Devices became smaller (though still installed, they were briefcase, not whole-trunk sized). The customer could even direct-dial calls straight from his car.

These were mostly replaced by 1995, but at least one IMTS network was operating in Canada until 2002. The long range of the individual towers (up to 25 miles) was an advantage in the specific locale.

But these were still not cellular devices.

Much of the behavior of these systems, and even how they work today, is tied up in regulatory requirements. The FCC allocates frequencies in the US; other countries have their own bodies, but radio waves do not respect international borders, so they generally coordinate through an organization called the ITU.

The delay moving to IMTS, for example, was due entirely to the allocation of bandwidth to the mobile operators. The FCC denied anyone wanted or needed mobile phones, so sat on the requests for over ten years.

Despite the name, mobile phones are not really phones. The wireline phone network is more precisely called the PSTN, or Public Switched Telephone Network. It is a single system that connects to (more or less) the entire globe. It also must generally provide a certain level of service, offering highly subsidized service, for example. As usual, specifics vary by country.

Related to this is Quality of Service. This is not quality in the sense of resolution or clarity, but degree of service. For example, If the PSTN is totally jammed up -- perhaps due to some disaster -- when the fire department picks up their phone, someone else (you or me) is forcibly dropped to provide room. Gradations between this public safety over-ride and general access, where you may pay for better access for your business, also exist.

Traditionally, there is no such equivalent practice in any private network, such as satellite or mobile telephony. In some countries, the devices must dial emergency services, and there is a small trend, starting in Scandinavia, to make mobile service and complete coverage a right of every citizen.

Additional regulations are equally or more crucial to understanding how and why services work in a particular manner, or what you must do to comply with them. In the US, location must be made available to emergency operators by offering GPS telemetry (this under the e911 mandates), but cannot be used for any other purpose for individuals under the age of 13 without quite specific consent rules. How do you enforce this, without overly burdensome rules?

Likewise, there are restrictions on how your personal data can be used to market to you, and how it can be sold. In the US these are all consolidated under a concept of Customer Proprietary Network Information, which has more recently been used to assure the security of your data as well. If you get phone service in the US, you get a mailing at least once a year outlining your rights under CPNI, much like the privacy brochure you are given at the doctor's office.

This all means that, aside from technical and moral limits, there are significant and generally well-enforced restrictions to what can be done with personal information, and is much the reason that it is difficult to get customer information from the mobile operators. Understand local technology, markets, laws and regulations.

Early Cellular

While it seems no one could have foreseen the growth in mobile we are continuing to experience, there was a great deal of pent-up demand for more, more portable, and more flexible mobile telephony. After numerous delays, mostly due to regulatory approval, a new service was launched starting in 1983. The day this service launched, there were some 10,000 people on waiting lists for an IMTS device in New York City alone.

The Advanced Mobile Phone System, what we all call the "old analog system" today -- once again, first launched in the U.S. -- was a massive success, and was used in one guise or another throughout the world.

This was the first true cellular mobile network because it shared two key characteristics, both designed for efficiency at multiple levels

  • Handoff between base stations
  • Frequency re-use

These allow much more traffic in the network, by a very simple frequency division multiplexing scheme. While signals are still fixed to a channel, that channel uses a dedicated frequency range, and your call uses the whole channel, it is much narrower than in MTS, and is not fixed for the duration of the call. When you switch to another tower, the handoff may change the channel to suit the available space.

Aside from some cleverness with handoffs, and being over radio instead of wires, this was still very similar to the classic, wired PSTN. At any one moment there is a dedicated voice circuit. Replacing the analog voice carrier with a digital signal allows even more capacity, as well as reductions in power. This is what D-AMPS (D for digital) sought to do in an effort to extend their network life in the face of the next generation networks.

D-AMPS encoded the voice (by adding a "vocoder," which turns it into data), then chunks the data stream into "frames," which are then sent in intervals, with a specific time slot for each user on the network in that cell.

This time based system is called Time Division Multiple Access, or TDMA. Digital signals allow compression of the voice signal. Combined with very rapid time slice switching, the same frequency can be used for several users at once.

Cells and Backhaul

There are two fundamental components of a cellular network. The first is the most common, the handset (or aircard, or tablet, or eReader, or home modem, etc.). Operators also call this a terminal, or customer terminal, or use the old CPE terminology, for Customer Premises Equipment.

The other side of the equation is the "cell site," which is actually a small complex of items. Although we all use the term as a shorthand, the tower is actually just the mast to which antennas are mounted. Wires run down this to a shed which houses transmitters, and often backup power such as generators. GPS antenna and other equipment is also included on the tower or in the shelter. The whole arrangement is more technically called a BTS, or Base Transceiver Station.

The antennas themselves are arranged around the antenna, in a flat ring of three (or sometimes four), grouped with two or three antennas pointing each direction. The multiple antennas work together for power management and position finding, using math not worth getting into.

Whenever you see more than one stack of antennas on a tower, this is just because they lease to their competitors. This is a very profitable business alone, so competing operators rarely restrict each other from mounting antennas to their tower, at least for the right money.

The arrangement of the antennas on a tower is very specific, and not just to cover more space, but integral to the way cellular mobile telephony works.

Each group of antennas pointing a specific direction constitutes a "sector." When on a call, or using data services, and moving through the network, your handset stays connected by negotiating with the BTS to "hand off" between cells, and between sectors. When you run out of available coverage in your home network, you can even be handed off to a roaming network.

There are differences in the various types of handoff, but they are fairly unimportant for our purposes. Networks are generally voice-optimized still, so spend a lot of time making sure calls are not interrupted during handoff. Data services often are interrupted, and this can have implications to network based services. Websites in particular can become confused, and suddenly reset when they find you coming from a new IP range.

Handoff does require continuous coverage, so cells and sectors overlap. Your handset is, as you now might expect, communicating not just with the tower it's getting voice and data from, but with all adjacent towers. They all work together to decide when to hand off to assure maximum efficiency, and prevent drops in coverage.

As discussed above, the mobile network must attach to the PSTN at some point. The first step is to connect the BTS to all other nearby BTS in that operator's network. Then, they connect to a central office, and at various points interchange with the PSTN. The whole scheme of connecting the towers to each other and to the central office is called "backhaul." This can severely limit the speed or capacity of the network, especially when not considered in the design of new radio technologies.

Last year I was on vacation in Door County, Iowa. It is a relatively remote peninsula, but we were able to get mostly decent mobile coverage (high signal strength, low noise). However, the data speeds were awful and it even sometimes took forever to connect a call. It turned out that the backhaul was all done by a microwave link, one tower to the next in a line down the peninsula. It was not able to handle the traffic load of tourist season, even though the individual towers easily could.

Backhaul is generally microwave, via yet another antenna on the tower, or cables in the ground. Some other radio technologies are used, and some have backups so provide both. Central offices (which may be co-located with a BTS) sometimes have satellite links as a last-resort backup even, to offer service in the event the PSTN fails.

The 2G Networks

Quite soon after AMPS takes over the world, it becomes clear that mobile telephony is a big deal, and eventually the current networks simply won't be able to handle the load. Several schemes were put forward, and these all new digital networks took over the mobile landscape by the late 1990s.

Since these were considered an upgrade to AMPS (et. al.), or the second generation, they came to be called 2G networks. In the US, the FCC codified the system under the moniker of Personal Communications Service, or PCS, which you could see appended to the name of several operators.

It also became clear that mobile telephony was a huge industry, and would only grow. This ended up changing the industry landscape, as it suddenly became very expensive to be a mobile operator. The reason is not strictly one of scale or technology, but of competition. As discussed already, national governments control the bandwidth in their borders. When a new type of network launches, it generally appears on an all new band, so it can co-exist with the older network and we can all take most of a decade to switch over.

To decide how to allocate this bandwidth to the various operators, there are auctions. Other portions are involved (you have to prove there's a valid business plan, a market for the service and agree to actually offer service) but basically, the one with the most money wins. Many of the small or local operators simply could not compete in the face of big telecoms, and consortia of smaller ones. In some countries, of course, the nationalized telecom simply assigned the rights to themselves.

2G networks led to much more reliable, wide-reaching, and eventually data-driven mobile use. However, despite being able to be grouped as a class, they are not a single service like AMPS became. Instead, two competing network technologies emerged, and are still dominant in their follow-on versions.

GSM

While pretty much the entire US, and many other regions implemented AMPS with fairly good consistency, Europe suffered severe fragmentation, both by carrier and across international borders. This just extended the muddled, expensive system already in place, with toll calls (on a complex scale) being the norm even for much local service. For both technical and market pressures, by the mid 1980s, it became clear that a common standard would be needed, and it should be built into a next generation system.

GSM, or it's follow-on variations, did meet much of the promise and is a global standard, which a majority of handsets use. Many implementations are even seamlessly interoperable, so you can enjoy relatively global coverage with a single handset. Relatively, of course is not "complete" and Japan for example has no GSM coverage at all.

A summary of the network operations between a GSM handset and the BTS.

A key feature of GSM is the Subscriber Identity Module, or SIM card. The SIM is a smart card which carries the user's subscription information and a phone book. Theoretically, the user can then just swap the SIM freely between handsets. Practically, there are a few different sizes, so some phones aren't compatible with the card you own, the SIM is always older technology so address book data is more limited than you want, and many operators just don't let you. A practice called "SIM locking" means you cannot get the SIM to work in another device. This is for business reasons, when the operator underwrites the price of the handset, and makes you sign a contract. The freedom of the SIM violates this principle, so they might not get their money back. In some countries, consumer freedom laws prevent SIM locking.

GSM is an entirely digital standard, encoding the voice as a stream of data. This is then assigned to "frames", which are sent out over specific timeslots, mixed in with all the other traffic on the network. At the other end, it is extracted from the frame, bolted to the rest of the stream, then turned back into continuous voice. The time slices make this a "TDMA" or Time Division Multiple Access system. On each of the 124 frequency channels, 26 different conversations can be had. This is possible partly due to the efficiency of digital encoding; the coded traffic takes less time to encode, send and decode than it does to say or hear, so it can be broken up into bits without you noticing the lag.

Additional parts of the network are dedicated to various traffic control functions, and to power management. Among the traffic control functions is a message section, originally just for network technicians to send short text phrases between the BTSs, then repurposed to let the handsets replace pagers. As you might have guessed, this is where SMS text messaging came from.

Despite all the voice traffic being digital, this does not mean early GSM supported data. The concept was still of delivering circuit-switched voice to the PSTN, so data essentially operated like a dial-up modem, and was inefficient.

CDMA

The first thing most people notice about CDMA, when comparing it to GSM, is that it has no SIM. There is actually a similar part of the device that has the subscriber information, but it is not removable. When comparing SIM locked devices, though, this is an unimportant distinction.

Another key one is that CDMA is less of a standard. There are several implementations of it, and even the standard ones detailed here can be made so they are not interoperable with others. You generally cannot use your CDMA phone in any other country, and often it will not even work on a competing CDMA operator's network in the same country.

Another interesting feature is that the underlying technology is covered by a handful of very specific patents, and the result has been that a company called Qualcomm effectively owns the technology. Instead of (for the most part) literally licensing, they simply retain the right to provide essentially all the chipsets that run these devices. They have parlayed this into being among the largest mobile chipset suppliers for all networks, worldwide. A surprising amount of what mobile telephony can do, and will do in the future, is at the whim of a single company.

functionally owned by qualcomm

A summary of the network operations between a CDMA (IS-95) handset and the BTS.

Data...

A note about power and power management???

2.5 & 3G

Without getting into too much detail, third generation networks (or "3G") are directly descended from 2G. They retain the basic underpinnings of the technology (TDMA vs. CDMA) and much of the general layout of control and network configuration, but can also naturally handle data, by turning some traffic channels into packet data channels.

Naturally, a change to the network architecture also means that other parts were changed, and the networks also use even less power, manage power and interference better and increased capacity markedly.

3G had to meet certain requirements by international certifying bodies, especially that of data transmission speeds and capacity. "2.5G" networks are simply stepping stones, which were so different from 2G they were worth mentioning, but not yet good enough to be "3G." This is, however, an insider's term. Consumers didn't mostly get told all this, and thus began the marketing of network specs, and a set of lies. Many 2.5G networks were marketed at the time as 3G. The same is happening with 4G today; while good WiMax and LTE networks are active, none are really yet 4G certified.

Future Networks

To a certain degree, the future is already here. It is just, to borrow a phrase, unevenly distributed. And for that largest of mass markets, mobile telephony, that means everything can still change. LTE and WiMax networks certainly point the way, but it is still hard to tell which will be most dominant, if either of them, and what features will actually make it to devices when they are more broadly adopted.

As far as networks in general, one clear trend is to data-only operation. This is far past simply encoding voice traffic for efficiency. The expectation of more and more pure data services, the possibility of using any traffic channel for any type of traffic, and other efficiencies mean that VoIP will replace dedicated voice channels, and data networks will rule in the future. This requires all new networks, not just updates, partly so things like data handoff happen seamlessly. Without this, voice service (still by orders of magnitude the largest communications method on mobile networks) will suffer a severe degradation, and operators will not be able to sell their customers on the changeover.

This theoretically means that any data connection could be used as well, such as ad hoc WiFi networks. Anyone who uses services such as Skype can tell you there is no overwhelming technical impediment to this today. However, they also can tell you that it isn't really business class, or grandmother-proof. Aside from this reliability, the whole model of operating a mobile network makes this unlikely in the forseable future; operators want to retain more complete control, for revenue, perceptions of trust, and customer support purposes.

However, if there is anything I have learned from my time in the industry it is not to predict anything. No specific network technology is clearly going to win out. Whatever does emerge will probably be used in a way somewhat different than it was conceived, and by the time it is in widespread service, the replacement will be well on it's way to market.

An introduction to mobile radiotelephony (last edited 2014-07-09 18:15:07 by shoobe01)