Home > Articles > Networking > Wireless/High Speed/Optical

  • Print
  • + Share This
This chapter is from the book

CDMA Explained

Spread Spectrum

Signal and Noise Spectrums

CDMA technology either does or will play an important role in current and future cellular systems, so I figured it might be nice to understand how it works.

To understand how CDMA works, you will need to understand how spread spectrum works. Before you can understand how spread spectrum works though, you will need to be able to visualize what the spectrum of a signal and the spectrum of noise look like. Figure 7–9a is a graphical depiction of a signal's spectrum. The horizontal axis represents the frequency and the vertical axis is the signal's strength or power. Where the signal comes to its peak is the location of the carrier frequency (on the horizontal axis, represented by the fc). This is representative of a single conversation in the old analog cellular systems. In such a case, the signal is about 30 kHz wide and the location of the carrier is in the 900 MHz range.

Figure 7–9 Signal spectrum and noise spectrum.

Did You Know

Spread spectrum technology has really been around since World War II, where it was used to avoid signal detection and jamming by the enemy. The reason it is just now beginning to appear in the commercial arena is more a result of the improvements in and cost reduction of integrated circuits.

Figure 7–9b is the spectrum of noise. In this case there is no signal present and all you see is a low-level, fairly flat but randomly varying noise signal. This low-level, random signal exists everywhere and is the result of all the various RF and non-RF signals floating around in the air. The way an RF engineer views a signal or noise spectrum is with a piece of equipment called a spectrum analyzer.

Think back to the analogy of wireless communications being like mailing a letter. In this analogy, the letter is the information signal and the envelope is the RF carrier signal. Modulation is used to combine the letter (information) and the envelope (the carrier). In the previous discussions of wireless communications, I assumed that only one party could transmit and receive at a given frequency within a given geographical location. In that version of the analogy, there was no need to address the envelope because there was only one party who could receive it. (Maybe there was only one other house in the neighborhood.) This is not the case with spread spectrum. With spread spectrum, many parties can transmit and receive at a given frequency within a given geographical location. (There are a lot of houses in the neighborhood and they can all mail letters to each other.)

Direct Sequence

Spread spectrum is analogous to imprinting an address onto the wireless signal. How does spread spectrum pull off this little magic trick? It modulates the signal again. The type of spread spectrum used in CDMA is called direct sequence spread spectrum or DSSS. In DSSS, the spread spectrum modulation takes place before the "RF modulation" (that is the one that puts the information signal onto the RF carrier). By the way, did I neglect to mention that spread spectrum only works with a digital information signal?

Did You Know

There are other types of spread spectrum in addition to DSSS. There is frequency hopping spread spectrum or FHSS (which you will learn more about shortly), and time hopping spread spectrum or THSS. So far nobody's invented bunny hopping spread spectrum (BHSS?), but give them time.

DSSS imprints the address by logically multiplying the digital information signal by another, higher frequency digital signal. This other digital signal is known as a pseudo random noise or PN signal. The reason it is called random is that the 1s and 0s appear to have no discernible pattern. More importantly, if the PN signal were modulated onto an RF carrier, its signal spectrum would look just like that of noise (Figure 7–9b). The reason the PN signal is called pseudo is because as random as the bit stream appears, in reality it repeats itself over and over. Of course quite a few random-appearing 1s and 0s go by before the pattern repeats itself. The 1s and 0s in the PN signal are called chips and the frequency of the PN signal is called the chipping rate. This PN code is generated thanks to the magic of digital signal processing.

The other aspect mentioned above is that the PN signal is at a much higher frequency than the information signal. For instance, in the case of voice over CDMA, the digital bit stream for voice is on the order of 64 Kbps and the chipping rate of the PN signal is on the order of 1.25 million chips (bits) per second.

Spreading

Figure 7–10 depicts graphically the result of logically multiplying a digital voice signal by a PN signal. The top of Figure 7–10 is just the digital bit sequence 101101, which is part of a digital signal that represents a telephone conversation.

Figure 7–10 Spreading of an information signal by a PN signal.

The middle of Figure 7–10 is the PN signal. Notice that the 1s and 0s appear to be random and that the frequency is much higher (in this case about six times) than the voice signal. The bottom of Figure 7–10 is the result of "multiplying" the top two signals. In fact this multiplying is really just an exclusive OR function, which is very easy to understand because there are only two rules. In places where both of the signals above it are the same (either both high or both low), the bottom signal is high. In places where both of the signals above it are different (one high, one low), the bottom signal is low.

There are three very important things about this new "spread" signal. First, it is at a much higher frequency than the original voice signal. Second, it is random-like, which means that in a plot of its spectrum, it would look just like noise. And third, all of the information contained in the original voice signal (101101) is still contained within it.

Why is this new signal considered a spread signal? Because the original signal occupied perhaps only 30 kHz of bandwidth. This new signal occupies on the order of 1.25 MHz of bandwidth (it is at a much higher frequency). The signal has been spread over a larger bandwidth. The real trick, however, is not this spreading of the original signal over a wider bandwidth. The real trick is that as the signal is spread over a wider bandwidth, its power level drops.

The top of Figure 7–11 is a graphical simplification of this phenomenon. Figure 7–11a shows a signal 30 kHz wide, located somewhere in the 900 MHz range with some amount of energy represented by the gray area under the rectangle. (This is representative of the signal shown in Figure 7–9a.) Since spreading the signal does not add any energy to the signal (only an amplifier can do that), the gray area under the spread signal must be the same, and therefore, as the signal gets wider, the power drops lower as shown in Figure 7–11b.

Figure 7–11 Spreading and de-spreading of signals.

In reality, this new lower spread signal appears to be noise, just like that in Figure 7–9b. In fact this new signal is noise, with one notable exception. It still contains the original voice information. And because it is noise, up to a certain limit, a whole bunch of these noise signals can be piled on top of one another. The result is just more noise, and noise is noise, assuming you can still retrieve the original information signal. How does one retrieve the original voice information? I'm glad you asked.

De-spreading

The original signal is retrieved from the noise the same exact way it was spread: by logically multiplying it by the same exact PN signal. This restoring of the information signal is referred to as de-spreading.

The top of Figure 7–12 is the same exact spread signal as the one at the bottom of Figure 7–10 (take my word for it). The only difference is that the signal in Figure 7–10 is coming out of the sending transmitter and the one in Figure 7–12 is going into the receiving receiver. Assuming for the moment that the same exact PN signal that was used to spread the signal in the transmitter also exists in the receiver, it can be used to de-spread the signal.

The middle of Figure 7–12 is the same exact PN signal as the one in Figure 7–10. By applying the same exclusive OR function to the top two signals in Figure 7–12 a miracle happens: the original voice signal (101101) reappears. Isn't this stuff amazing?

This may be all well and good, but since all of the signals in a CDMA system occupy the same bandwidth at the same time, what happens to the other, unwanted signals that just happen to make their way into our handset?

Figure 7–12 De-spreading of an information signal.

Unwanted Signals

Let us see what happens when someone else's signal makes it into our handset. There are two possibilities here. We can receive someone else's CDMA (spread) signal or we can receive someone else's narrowband (unspread) signal from a non-CDMA system. In either case, we will attempt to de-spread it with our PN signal.

The top of Figure 7–13 shows a CDMA voice signal spread with someone else's PN signal. When we attempt to de-spread this signal with our PN signal (middle of Figure 7–13), what results is the signal at the bottom of Figure 7–13. While it may not be totally evident from the figure, the bottom signal is still a high-frequency, random signal, which means it is not de-spread. This signal appears as noise to our receiver and so it gets ignored.

When a narrow band signal enters our mobile unit, the attempt to de-spread it just ends up spreading it because the two processes are identical. Once again this spread signal appears as noise and is ignored by our receiver. This phenomenon is depicted in Figure 7–11c and Figure 7–11d. Figure 7–11c shows two signals entering our receiver: the wanted spread signal (in gray) and the unwanted narrowband signal (clear). After the de-spreading (Figure 7–11d), the wanted signal becomes narrow band and the unwanted signal become spread. The bottom line is that any unwanted signal that enters our receiver, spread or not, will ultimately be ignored by our receiver.

For a CDMA system to work properly, everybody has to use a different PN signal. But in reality, everybody uses the same PN signal (which just repeats itself over and over). How is that possible? Everyone uses the same PN signal but they all start at a different bit (chip). Refer back to the middle of Figure 7–13. Suppose that very first bit (a high) is labeled bit number 1. The second bit (a low) is bit number 2 and so on. Would you believe me if I told you that two, otherwise identical PN signals that start at different bits are completely different PN signals? I'll prove it.

Figure 7–13 Attempting to de-spread someone else's signal.

The top of Figure 7–14 is our original spread signal, which was spread with our very own PN signal. The middle of Figure 7–14 is our PN signal shifted by one bit. It now starts at bit number two rather than bit number one. Attempting to de-spread our signal with this one-bit shifted PN signal results in the signal shown at the bottom of Figure 7–14, which clearly is not our original 101101 bit stream. This signal is still a high-frequency, random noise-like signal, which is ignored by our receiver. In fact, this noise signal is just the result of our spread signal entering someone else's receiver and being multiplied by their PN signal (one-bit shifted from ours). And their receiver ignores this "noise" signal.

So in a CDMA system, there is just one long, continuously looping PN signal, which is used by all the basestations and all the mobile phones and the only difference is that each conversation starts at a different bit. It follows that all of the basestations need to have their PN signals synchronized to a master clock. What facilitates the synchronization of all basestations to a master clock? Go back and read the section on GPS.

Not only do all the basestations need to be synchronized, but the sender and receiver in a particular call need to be synchronized to each other. How is this accomplished? Through the use of a synchronization channel.

Figure 7–14 De-spreading a signal by a one-bit shifted PN signal.

Channels

When a conversation is sent wirelessly in a CDMA system, more than just the voice data is sent wirelessly. In fact, the wireless information sent is broken up into different channels, or packets of information. From the basestation to the mobile unit there are four of these unique packets of information. From the mobile to the basestation, there are two.

The top of Figure 7–15 shows how the information sent from the basestation to the mobile unit in a CDMA system is broken down into channels. The pilot channel, which is continuously transmitted by the basestation, is used for several things including power management and to aid in handoff. As mentioned previously, all cellular telephony requires power management. It is even more important in CDMA because for the system to work properly, the received power level from every cellular phone must be the same. (If not, signals received from close-in phones will swamp out those received from far away ones by raising the combined noise level too high.) The pilot signal from each basestation has a different time offset (from the master clock), which uniquely identifies each base-station and therefore helps the mobile switching center know where each mobile unit is located.

The sync (or synchronization) channel helps synchronize the basestation's PN signal to that of the mobile unit, among other things. The paging channel is used to page the mobile unit. Recall that when a cellular phone first turns on, it listens for a signal from the basestation. The paging channel is what it listens for and it contains overhead and subscriber-specific information. Finally, the downstream information contains one or more traffic channels, which contain the voice signal.

The bottom of Figure 7–15 shows how information is sent from the mobile unit to the basestation. The access channel is used by the mobile to initiate a call, respond to a paging channel, and to update location information. Just like the downstream, there are also traffic channels to carry the voice and data information.

Figure 7–15 Downstream and upstream CDMA channels.

There you have it. A general understanding of direct sequence spread spectrum and a specific understanding of how CDMA systems uses it to cram a lot of users into a fixed amount of bandwidth.

  • + Share This
  • 🔖 Save To Your Account

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020