Posted by Jeff Schuler on Jul 21, 2009 in Uncategorized
Using Voltage Dividers
The voltage divider equation is arguably the most important equation for an electrical engineer to know. At the very least, it is one of the most fundamental. Although the voltage divider technique becomes cumbersome when applied to larger circuits, no other method is faster when it comes to finding voltages in smaller circuits. This beefy voltage divider explanation was kindly donated by Ryan Eatinger. The simplest form of a voltage divider circuit is shown in Figure 1. V1 and V2 can be found using the following equations.
The voltage divider equation applies to series circuits where the current remains constant throughout the circuit. If current is constant for all resistors, then it can be taken out of the equation. This is the true advantage of the voltage divider. If there is a choice between working with currents and voltages and working only with voltages, the choice becomes obvious. Here’s how it works. Once again, we have the circuit in Figure 1. The current remains constant throughout the circuit, meaning that the current through the source equals the current through R1 equals the current through R2.
Recalling Ohm’s law, write the equation above in terms of voltage and resistance.
Ohm’s Law: –>
These equations can now be used to find V1 and V2.
The general equation for a voltage divider is given below, where Vo is the measured voltage, Vs is the source voltage, Ro is the resistance across which the voltage is measured, and RT is the equivalent resistance of the circuit. Figure 2 shows the corresponding circuit.
General Voltage Divider Equation:
A voltage divider is not always in the simple form shown so far. Recognizing a voltage divider is a skill that takes time to develop. This article introduces some variations on the basic voltage divider circuit that you may encounter. The best way to solve a voltage divider is to simplify it to the basic form shown in Figure 2. Once in this form, apply the general voltage divider equation to find the desired voltage.
Applying the voltage divider equation to a series circuit is a fairly straightforward process. It’s simply a matter of identifying which resistors make up Ro and then adding all the resistors together to find the equivalent resistance.
Example 1: In Figure 3, there are four resistors and you’re trying to find the voltage across one of them. The resistors are all in series, making the equivalent resistance of the circuit 10 kΩ.
Example 2: When analyzing a circuit, pay attention to the orientation and location of the plusses and minuses. Voltages aren’t always across one resistor. In Figure 4, the terminal voltage is across the combination of resistors R2, R3, and R4. Adjust the Ro accordingly to include the equivalent resistance of the three resistors.
Example 3: You should also remember that voltages aren’t always measured to ground. In Figure 4, Vo is measured across resistors R2 and R3 only. Ro only includes the resistance between the plus and minus of Vo.
Circuits with Parallel Resistors:
Voltage dividers apply to resistors in series. If you encounter a circuit with resistors in parallel, you must combine any parallel resistors before applying the voltage divider equation.
Only after combining the parallel resistors will the voltage divider equation work. For this example, the parallel combination of R2, R3, and R4 combine to form the Ro in the general voltage divider equation.
Well, that should just about cover voltage dividers. As always, if you have any questions feel free to make a comment or send me or another one of the admins a message and it will be taken care of! Thanks again to Ryan Eatinger (email@example.com) for the article.
Posted by Jeff Schuler on Apr 15, 2011 in Uncategorized
Continuing on with wireless communications related subjects. The architecture of a UMTS systems is the first thing to begin understanding if you want to undertake an education such as this. It consists of three distinct components:
- The User Equipment (UE)
- The UMTS Terrestrial Radio Access Network (UTRAN)
- The Core Network (CN)
As with any wireless network out there, the main purpose is the provide access to services (data, voice, etc.) The services network is divided into Public Switched Telephone Network (PSTN) that provides voice and special telephone related services (look it up on wiki), and the internet, which provides a wide range of packet data services such as email or access to the world wide web. These things are probably all sounding very familiar to you, and they should, because they are critical in maintaining today’s society, and almost everyone living in the modern world uses at least one of these services sometimes in their daily lives.
The UMTS mobile, also known as the User Equipment (UE), interfaces with the UTRAN via the UMTS physical layer radio interface. In addition to radio access, the UE provides the subscriber with access to services and profile information. For example, the cell phone you carry in your pocket is the UE (user equipment) that interfaces with the cell phone towers that companies like Verizon, AT&T, and Sprint provide for you.
In UMTS, there are two Core Network (CN) configurations, the Circuit Switched CN (CS-CN) and Packet Switched CN (PS-CN). The CS-CN is based on the GSM Public Land Mobile Network (PLMN) and provides functions such as connectivity to the PSTN, circuit telephony services such as voice, and supplementary services such as call forwarding, call waiting, etc. The PS-CN is based on the GSM General Packet Radio System (GPRS) PLMN, which provides access to the Internet and other packet data services.
Both core networks connect to the UMTS Terrestrial Radio Access Network. The UTRAN has two options for its air interface operations. One option is Time Division Duplex (TDD), which makes use of a single 5 MHz carrier for communication between the UE and the UTRAN. The other option is the Frequency Division Duplex (FDD), which provides full duplex operation using 5 MHz of spectrum in each direction to and from the UTRAN. The following articles in the wireless communication systems section focus on the operations and design aspects of the UTRAN in FDD mode.
How do all of these components fit together? Check out the image below.
The UTRAN consists of one or more Radio Network Subsystems (RNS). An RNS consists of one Radio Network Controller (RNC) and several Nodes. The radio network controller and the nodes are two essential components of UTRAN. Apart from these two component types, UTRAN requires Operation Maintenance Centers (OMC) to perform Operation Administration and Maintenance (OA&M) functionality on the nodes and RNCs. Yes, I know the acronyms are getting a little out of hand, but it is essential to learn them if you want to speak the language! Engineers only speak to each other with acronyms and it is very very annoying indeed.
- Radio Network Controller: The Radio Network Controller is the master of UTRAN. It handles all aspects of radio resource management within the radio network subsystem. The UMTS chose to use it instead of the base station controller in order to stress the independence of UTRAN from the Core Networks (CN). It interfaces with the core network components such as the Mobile Switching Center (MSC) and Service GPRS Support Node (SGSN) to route signaling and traffic from the User Equipment (UE). The RNC also interfaces with other RNC’s within UTRAN to provide it with wide mobility (very important!)
- Nodes: Within this network, a node is the radio transmission and reception unit within UTRAN (remember above, I explained that the UE is your cell phone you carry in your pocket). It handles radio transmission and reception for multiple cells within a coverage area. So if you think about the amount of area that a certain cell tower (cell) can transmit its signal with the proper quality of service (QoS), you can get a mental grasp on multiple cells being in one coverage area, say if the towers are close together. The node implements CDMA-Specific functionality such as encoding, interleaving, spreading, scrambling & modulation. The nodes are also what used to be known as the Base Transceiver Subsystems (BTS) in second generation systems.
Posted by Jeff Schuler on Apr 6, 2011 in Uncategorized
Hey! This article has a simple purpose, to teach you basic functionality and terminology related to modern UMTS-CDMA digital coding techniques. One swift read of this information-packed kick in the face will leave you trembling at the knees with curiosity for more. Well, maybe not. But the first step in the UMTS-CDMA system applies error correction techniques so that any errors at the receiver can be corrected. Various techniques can be employed to prevent errors at the transmitter. You have probably studied one or more of these in your days if your an electrical or computer engineering student, professor, or professional. One of these techniques is the use of Forward Error Codes, which are applied to the data before it is transmitted via the physical layer.
It is known that wireless is an inherently error-prone medium in which to operate our delicate signals. Therefore, many error correction techniques are employed. In the UMTS-CDMA systems, due to the large bandwidth available, a variety of coding techniques are employed. The following three error correcting methods come to mind:
Convolutional encoding provides the ability to correct errors at the receiver. So, the errors are removed from the signal by the receiver via convolutional encoding. As a result, lower transmission power is required, which can result in more errors. Some amount of errors can be tolerated since they can be recovered through convolutional encoding. The convolutional encoder encodes input data bits int output symbols. The data bits are entered into the first register at each clock cycle and the data bit in the last register is dumped out. Data bits are tapped at various positions and XORed to provide encoded bits. It is typically used for voice and low data rate applications. Here are the main points to keep in mind:
- Provides the ability to detect and correct errors at the receiver.
- 10^(-3) BER, typically used for voice and low data rates.
- Uses history of bits to recover from errors.
Turbo codes are a new class of error correction codes used in digital comm systems. Turbo codes have been shown to perform better for high-rate data services (which is what we crave for) with stringent error rate requirements on the order of 10-6 Bit Error Rate (BER). The turbo encoder consists of two constituent convolutional encoders. Both constituent encoders use and code the same data. The first one is fed data in the same order as the input data. The second encoder uses a permuted form of the input data and the permuting is accomplished by the use of an interleaver, which will be discussed in detail in the following post(s). Again, main points:
- 10^(-6) BER, suitable for high data rates.
- Uses convolutional encoders in parallel to increase reliability.
- Increased delays but better error correction capabilities.
Block interleaving protects data against fading and prevents bursty errors (so imagine a sudden burst in the amplitude of a received signal, think that might saturate you and ruin your signal? You bet.) This is accomplished by providing time diversity, where the bits are separated in time before transmission over the air. This is typically used with FEC codes, since FEC codes are not well suited to handle these bursty errors.
- Method to shuffle bits to prevent errors during deep fade.
- Provides time diversity.
All of these techniques will be described in detail, separately, in the following three articles.
Posted by Jeff Schuler on Apr 5, 2011 in Uncategorized
There are several different types of 3G wireless technologies that are defined and planned to be up and working today. There are also several that are on their way. These are successors of course, to the previous 2G technologies that dominated the airwaves.
CDMA2000 is the successor to IS-95 systems. CDMA2000 provides a definition for two different options for 3G technologies. IT Differs in the amount of the frequency spectrum that is used. The Spreading Rate (SR1) operates in the 1.25 MHz band and is known as a 1x system. Another proposal exists also which is referred to as 1xEV-DO. The 1xEV-DO (1x Evolution for Data Optimized) solution is a data-only solution that enables a bandwidth of 2Mbps without any mechanism for voice. This is the type of data rate that we are all familiar with, the 3G 2Mbps speed of data connection.
The Universal Mobile Telecommunications System (UMTS)
The Universal Mobile Telecommunications System (UMTS) is a successor to GSM/GPRS systems. There are also two options for the UMTS networks. The Frequency Division Duplex (FDD) option uses spectrum bands which are paired together. For example, two different 5 MHz bands are used for uplink and downlink. The Time Division Duplex (TDD) option uses an unpaired band. In other words, the same 5 MHz band is shared between uplink and downlink for TDD.
Universal Wireless Consortium for IS-136 systems
The UWC-136 (Universal Wireless Consortium for IS-136 systems) was originally considered to be the evolution for IS-136 systems. However, the IS-136 system operators eventually decided to follow the path of CDMA2000 or UMTS.
Why did we need 3G Technology?
Back in the late 1990’s, when most of the readers out there were still playing in the sandbox, the International Telecommunication Union (ITU) set the requirements for the next generation of wireless networks (that is why they are called Third Generation (3G)). One of the many many requirements is to reach peak data rates of at least 2 Mbps. This is more relvant to the Downlink since the majority of traffic comes from the server to the client in the Internet World.
To meet this new high speed requirement, the 2nd generation wireless networks came up with several different evolutions before eventually being replaced. The GSM evolution includes GPRS and EDGE, which provide packet data services and represent intermediate solutions until a UMTS Release 99 System is deployed. The 1xEV-DO is one possible evolution path from 1xRTT, and HSDPA is a Release 5 feature of UMTS.
So how did UMTS Evolve?
UMTS is the network of choice these days. Yes, UMTS is 3G…If you haven’t caught that yet. For those nerds out there that are curious, the evolution of UMTS has progressed over the years in the following fashion:
UMTS Release 99
- 2 Mbps theoretical peak packet data rates
- 384 kbps (practical)
UMTS Release 5
- HSDPA (14 Mbps downlink theoretical)
- IMS (IP Multimedia Subsystem for multimedia)
- UP UTRAN (for scalability and lower cost)
UMTS Release 6
- HSUPA (up to 5.76 Mbps uplink)
- MBMS (Multimedia Broadcast Multicast Service)
UMTS Release 7
- Multiple Input Multiple Output (MIMO) Antenna Systems
Posted by Jeff Schuler on Apr 1, 2011 in Uncategorized
Magic is real, and it all comes from the Fourier Integral. But one doesn’t become a wizard without a little reading first – so, the purpose of this article is to explain the Fourier Integral theoretically and mathematically.
Before reading any further, it is important to first understand this: in mathematics, there is a rule that states that any periodic function of time may be “reconstructed” exactly from the summation of an infinite series of harmonic sine-waves. The generalized theory itself is referred to as a “Fourier Series.” For use with arbitrary electronic time-domain signals of period , it may be expressed as:
over the range:
is the magnitude of the 0th harmonic
represents the magnitude of the nth harmonic of cosine wave components
represents the magnitude of the nth harmonic of sine wave components
is the fundamental frequency
is the variable that represents instances in time
is the variable that represents the specific harmonic, and is always an integer
This monumental discovery was first announced on December 21, 1807 by historic gentleman Baron Jean-Baptiste-Joseph Fourier.
In order to go from the Fourier Integral to the Fourier Transform, it is necessary to express the previous Fourier Series as a series of ever-lasting exponential functions. Using an orthogonal basis set of signals described by of magnitude , we now write the Fourier Series as:
where is .
What is the Fourier Integral?
The Fourier Integral, also referred to as Fourier Transform for electronic signals, is a mathematical method of turning any arbitrary function of time into a corresponding function of frequency. A signal, when transformed into a “function of frequency”, essentially becomes a function that expresses the relative magnitudes of each harmonic of a Fourier Series that would be summed to recreate the original time-domain signal. To see this, observe the following figures:
Figure 1. A Square Wave Pulse, in time
In order to rebuild a square wave with sines and cosines only, it is necessary to determine the magnitudes of each harmonic used in the Fourier Series, or rather, the Fourier Integral (for continuous time-domain signals). The relative magnitudes of these needed harmonics can be displayed graphically as a function of frequency (widely known as a signal’s frequency spectrum):
Figure 2. The Fourier Integral, aka Fourier Transform, of a square pulse is a Sinc function. The Sinc function is also known as the Frequency Spectrum of a Square Pulse.
Though the recreation of a signal using an infinite series of sines and cosines is impossible to achieve in the lab, one may get very close. Close enough that the most advanced lab equipment wouldn’t be able to calculate the error due to tolerance specifications. This allows engineers to use Fourier Analysis to work with time-domain signals, such as radio signals, television signals, satellite signals and just about any signal you can think of. By viewing a signal according to what frequency components are contained within it, electrical engineers may concern themselves with magnitude changes in frequency only, and may no longer worry about the signal’s magnitude-changes through time. Not only is this a very practical concept when working in the lab, it also greatly simplifies the mathematics behind signal conditioning in general. In fact, the entirety of the Communications industry owes its success to the Fourier Transform for not only antenna design, but a plethora of other applications.
The math behind the Fourier Transform
The derivations that follow have been summarized from Chapter 4 of the textbook “Signal Processing and Linear Systems” by B.P. Lathi, a fine book for students of Communication Systems.
We begin by considering some arbitrary, aperiodic time-domain signal. An example of this kind of wave would be the output of a microphone after a man speaks a few words into it. For the actual signal generated by the changes in voltage as the man spoke, we can use Fourier Analysis to describe it as a summation of exponential functions if we instead desire to reconstruct a periodic signal composed of the same voice signal repeating every seconds. For an accurate description, it is important that is long enough such that the repeating arbitrary signals do not overlap. However, if we let approach , then this “periodic” signal is simply just the voice signal (or, any general arbitrary function) in time we wanted to describe initially. Mathematically, we express:
where is the time-domain function we wish to apply the Fourier Transform on (here, the arbitrary “voice” signal). For the above equation to be true, is equal to:
It is important to note here that in practice, the shape (aka “envelope”) of a signal’s frequency spectrum is what is of main interest, and the magnitude of the components within the spectrum comes secondary. This is because amplifiers and other signal-conditioning circuits may be built to alter the magnitude in any way one wishes, and will not affect signal frequencies (so long as the circuits are LTI systems). Analyzing the envelope of a signal’s Fourier Transform allows one to use intuitive and mathematically-simplified approaches to signal-processing in general, which we shall see later. For this reason (and also as approaches ) let:
Notice that is simply without the constant multiplier , such that:
which implies that may be written:
Observation of this fact reveals insight: The shorter the period, , the larger the magnitude of the coefficients. But, on the other hand, as , the magnitudes of every frequency component approaches – which is why engineers choose to analyze spectrum envelopes. So, instead of visualizing absolute frequency magnitudes, instead consider that the frequency spectrum simply expresses the magnitude-density per unit of bandwidth, aka Hz. And since:
In the limit as we see:
which is referred to as the Fourier Integral. is referred to as the Fourier Transform of the original aperiodic function , and we express this concept as:
A fourier transform example
This example is from the same textbook as the previous derivation, and can be found on page 239.
Find the Fourier Transform of: where is an arbitrary constant.
To do this, we apply the Fourier Integral to the function as follows:
Because of the factor, we only integrate from . We simplify for:
Also, we know that . So, for , as :
Useful Fourier Transform Properties
The relationship between and exhibit beautiful symmetry that help one to develop an intuitive approach to signal analysis. Among all the concepts within electrical engineering, the properties between a time-domain function and its Fourier transform are among the most important to understand. Observe these following properties that apply for all :
1.) Fourier Transform: Gives an equation to solve for the time-domain function from .
2.) Inverse Fourier Transform: Gives an equation to solve for the frequency-domain function from .
3.) Symmetry Property: For a given pair of a time-domain signal and its Fourier transform, we note that the time-domain envelope is different in shape when compared to the frequency-domain envelope. However, switching the shape of the two functions with respect to domain (time or frequency), will result in the same envelopes except with different scaling coefficients. For example, a square pulse through time has a frequency spectrum described by a sinc function, and a sinc function through time results in a frequency spectrum described by a square pulse.
4.) Scaling Property: Time-scaling a time-domain signal (by a constant ) will result in a magnitude-and-frequency-scaling of the signal’s corresponding frequency spectrum. Also signifies that the longer a signal exists through time, the narrower the bandwidth (collection of frequency components needed to rebuild the signal) of its frequency spectrum.
5.) Time-Shifting Property: By time-shifting, or delaying/advancing, a time-domain signal results in a phase delay in each of the ever-lasting frequency-components needed to rebuild it. The frequency spectrum is otherwise unchanged – only the phase of each component is shifted.
6.) Frequency-Shifting Property: Multiplying a time-domain signal by a sinusoidal signal of some frequency , a method which begets amplitude and frequency modulation (AM/FM), results in the frequency spectrum remains unchanged except for a shift in frequency for each individual frequency component by .
Lastly, these tables (table 1, table 2) can greatly simplify Fourier analysis when used in signal processing.
Posted by Jeff Schuler on Mar 29, 2011 in Uncategorized
Cellular systems have come a long way since their introduction in the 1980s. The evolution progressed from First Generation (1G) systems to Second Generation (2G) systems. Now, Third Generation (3G) systems are being deployed.
1G systems introduced the cellular concept, in which multiple antenna sites are used to serve an area. The coverage of a single antenna site is called a cell. A cell can serve a certain number of users, and higher-system capacity can be achieved by creating more cells with smaller coverage areas. One distinguishing factor of 1G systems is that they make use of analog radio transmissions, so user information, such as voice, is never digitized. As such, they are best suited for voice communications, since data communications can be cumbersome.
The migration of 1G analog technologies toward 2G technologies began in the late 1980s and early 1990s. The primary motivation was increased system capacity. This was achieved by using more efficient digital radio techniques that enabled the transmission of digitized compressed speech signals. These digital radio techniques also supported data services with data rates as high as 14,400 bits per second (14.4 kbps) in some systems. 2G data communication is typically done using circuit-switched techniques, which are not very efficient for sending packet data such as that sent on the Internet. This inefficiency makes the use of wireless data more expensive f or the end user.
The next step in the evolution is from 2G to 3G, which started in the year 2000. The new key feature of 3G systems is the support of high-speed data services with data rates as high as 2 million bits per second (2 Mbps). Data can be transferred using packet-switching techniques rather than the circuit-switching approach. Therefore, it is more efficient and less expensive. This opens up the possibility of cost-effective Internet access, access to corporate intranets, and a host of multimedia services.
If you want to read more about the evolution of wireless networks and WCDMA radio networks in general, please stay tuned for the next several editions where I will go into details.
Upcoming including but not limited to:
- Physical layer functions
- W-CDMA Channels
- Basic call setups
- Data session setups
- Service reconfigurations
- UTRAN mobility management
- Inter-system procedures
- RF design & analysis of UMTS radio networks
- The evolution of UMTS