Practical Guide RF Embedded Designers
Practical Guide RF Embedded Designers
RF FOR EMBEDDED
DESIGNERS
Small, wireless devices are rapidly
proliferating, driven by a vast and
expanding spectrum of industrial
and consumer applications.
Their designers must engineer greater functionality and capabilities into smaller enclosures. With
this challenge comes the need for expertise and experience in RF solutions. This is especially true as
they confront a variety of RF technologies to choose from, such as Wi-Fi, Bluetooth, and cellular.
Overviews and specs for wireless technologies are readily available online and elsewhere. What
we’re aiming to do different here is to offer practical advice and best practices for embedding RF
technologies that leverage many years of experience. It seeks to help designers make informed
choices to meet the challenges effectively and economically.
A second reason that increased data rate can lead to decreased range is that higher signal to noise
ratio requires increased linearity in the transmitter power amplifier. Increased power amplifier
linearity, with all else constant, is typically achieved by decreasing transmitter power, which further
decreases wireless range.
Unit and service costs Here’s a short video that digs into the
There are many wireless and RF technologies and each has its
own costs. Suppose you want to pull data from gas pumps and to
do so, you need to deploy sensors at every gas station. You could
use a Wi-Fi solution, which considering the number of devices you
Antenna Desi
Antenna Design:
gn:
require, would entail less hardware costs than putting a cellular Custom vs Off-the-Shelf
modem inside each device. But while the hardware costs per unit
would be less, consider the infrastructure expenses. How can you
ensure reliability? If a Wi-Fi gateway fails, would the gas station
attendant know how to fix it? With a cellular solution, a provider
like AT&T or Verizon maintains the infrastructure. Your system
would always work without requiring maintenance. Herein lies the tradeoff: a Wi-Fi system has more
infrastructure and maintenance costs whereas a cellular system requires greater materials costs and
monthly fees.
Manufacturers offer pre-certified modules that contain the RF chip, microcontroller, and usually a
simple communication interface back to the host. They often are already FCC certified for intentional
radiator and radiated spurious emissions (RSE). They also frequently include the software stack and
sometimes the antenna. Pre-certified modules can greatly reduce the time and costs needed for
development. They also reduce design verification testing and certification expenses.
Chipsets are less expensive than modules and, theoretically, can consume less board space, but
they are not pre-certified. You, rather than the manufacturer, must do the development work such
as selecting the components, packaging them into a design, and then testing the product. All this
takes time and money and increases certification risk. With their lower per unit costs, chipsets make
economic sense when devices are needed in high volumes (>200k EAU).
If you use radios for your system, your radio will have a receiver
sensitivity specification. Pr is the power measured at the receiver.
Pr must be greater than the receiver sensitivity for the radio to
decipher the message over the noise.
You also need to factor in the gain of both antennas (Gr is the receive antenna gain and Gt is the
transmit antenna gain). See Figure 1.
Path loss represents the propagation loss between the two antennas, which is a function of the
distance between them. R represents the distance between the two antennas. Wavelength (λ) is a
function of frequency.
The last parameter to consider in this equation is the link margin. You need to add a link margin
factor to ensure your system functions properly at the maximum range you require. So if your system
must operate at a minimum of 100 meters and you design your system so that your receive power
matches receiver sensitivity, you will have spotty performance if anyone walks between the antennas,
obstacles arise or if the environment changes (fading). You need to build in a lot of margin at 100 meters.
Add in a link margin of 10–20dB to ensure you will have reliable communications at that range. A 10dB
margin will provide 90% reliability; a 20dB margin will provide 99% reliability.
Why is the antenna important? It is the first component in the receive chain. It sets the minimum
noise floor for your device, which means how well your device can listen to other devices. It is also
the last component in the transmit chain, impacting the maximum wireless range of your device as
well as battery life.
HERE ARE SOME KEY ANTENNA PARAMETERS EVERY WIRELESS ENGINEER SHOULD KNOW.
Impedance
Antenna impedance is the ratio of the voltage over the current at the antenna input terminals. Most
people are familiar with impedance from their speakers. Your speaker might be 4 ohms or 8 ohms.
Antennas have impedance as well. It should be matched to the system impedance, which is typically
50 ohms. When that happens, you have maximum power transfer and no reflections. Often, however,
the antenna is not perfectly matched to the system impedance, which may not be 50 ohms. As a
result, some of the power is reflected back and thus lost.
Other antennas have an omni-directional pattern like the cellular antenna in your handset. Here,
the energy is spread out more evenly throughout all angles from the antenna. Without an omni-
directional pattern, you would have to point your cell phone at the nearest cell tower if you want
reception, assuming you know where it is located. This is why you want an omni-directional, low
directivity solution; the orientation of the device is trivial.
Gain
Gain is the efficiency multiplied by the directivity. This is a good measure of how much power is
radiated in any given direction. It is a logarithmic scale expressed in units of dBi. The “i” stands for
isotropic. A gain of zero means the same amount of power is radiated from your antenna as that of
an isotropic radiator.
Directivity and gain are a function of the angle from the antenna. Gain and directivity will change as a
function of angle from the antenna. For example, with a single beam far-field radiation pattern, there
will be a lot of gain in one direction, but the gain will drop considerably as you move off the main
beam. Again refer to Figure 2.
Bandwidth
All of these antenna parameters are good only across certain frequency ranges. Antennas have finite
bandwidth, a finite frequency over which they can operate. You cannot use a Bluetooth antenna for
GPS or a GPS antenna for cellular. You can design a very broadband antenna that will cover GPS,
Bluetooth, Wi-Fi, cellular, etc., but there will be a penalty in volume and size. The more bandwidth
required or multi-band operation (cellular), the larger the antenna will need to be.
to use monopoles
If a device already has a ground plane, space has been saved
because it does not need quarter-wave arms. You can use one V/2
quarter-wave arm and the device’s ground plane as the other half λ/4
of the antenna. This is why most small, off-the-shelf devices that
have internal antennas like PIFAs and chip antennas are of the
monopole type. They use the ground plane as part of the radiator.
On the other hand, the drawback is that monopoles are dependent
on the ground plane or cable routing. If you have available space,
use a dipole because it will keep currents off the cable or the
ground system and has more consistent performance. When
Figure 4
you can avoid concerns like cable routing, you will obtain more
repeatable performance from device to device. But you do pay
for it in size.
λ/4
wavelength
The size of a quarter wave depends on frequency. Wavelength
(λ) is equal to the speed of light over frequency (λ=c/f). The
takeaway is that as frequency goes up, wavelength goes down. An example is the lowest frequency
used for LTE in the US is about 700 megahertz, which corresponds to about a 100 mm quarter wave
or four inches. Notice that your smartphone is probably about four to five inches in length. Moreover,
many 4G phones are larger than 3G phones. The larger phone size may be due to the market’s desire
for larger LCDs, but it also aids in antenna performance on lower frequency bands and provides more
isolation between the ever-growing number of antennas in handsets today.
PCB trace antennas are a favorite of ours. They are mostly custom designs that
are etched copper on the PCB. Figure 5 shows a printed quad-band cellular
antenna (GSM850/GSM900/GSM1800/GSM1900). You have a few weeks of design,
prototyping, and testing before you integrate the design into the customer’s
PCB CAD. The return on investment for a trace antenna is typically less than a year
so they make a lot of sense for most customers. Once volumes exceed 10,000 pieces,
custom designs become a logical choice.
Cabled antennas that are external to the device, on the other hand, offer the best
st
performance, but consume the most space. A half-wave dipole will perform very well,
ll,
but they are expensive. Additionally, the cable requires more manufacturing tolerances
ces
because there is always some kind of current on the cable. This is not much of a prob-
ob-
bled
lem with dipoles, but in monopoles, the cable’s route can impact performance. Cabled
d and
antennas internal to the device can also be advantageous when PCB space is limited
uting,
an external antenna is not feasible, but performance can be sensitive to cable routing, Figure 5
antenna proximity to noisy device electronics, and mechanical features that can reduce
radiation efficiency.
Power (dBm)
turntable in the center of a ring of 23 antennas. As the -15
turntable makes half a revolution, a full, 3D far-field
-20
pattern will result. You measure far-field radiation
X
pattern, gain, efficiency, directivity, and polarization at Y -25
the antenna range. Figure 6 shows a doughnut pattern
-30
that is typical of dipole or monopole antennas.
-35
-40
VERIFICATION:
WHAT NEEDS TO BE TESTED
You have chosen your wireless technology, hardware, and antenna, and your RF product is developed.
NOW IT IS TIME TO TEST YOUR FINAL DESIGN. BUT WHAT SHOULD YOU TEST?
The measurement is made by cabling the output on your PCB to a spectrum analyzer, callbox
emulator (e.g., CMW500) or a power meter. Keep in mind that your antenna is not part of this test.
Receiver sensitivity
Receiver sensitivity should be tested to ensure your device electronics (MCU, power supply, etc.) are
not desensitizing the radio performance. Start out with a conducted receiver sensitivity test to ensure
the chipset or module is close to the datasheet specs. Then, perform a radiated test like Total Isotropic
Sensitivity (TIS), which is an integrated measurement of sensitivity at all angles from the antenna, to
ensure EMI is not compromising your sensitivity.
Antenna efficiency/gain
If you bought a module with an antenna already on it, then you do not need to do antenna efficiency
and gain measurements. But if you designed the antenna, this testing is a necessity, and is even recom-
mended when integrating OTS antennas. It is highly recommended that you use a calibrated test lab for
these measurements. They are a good way to verify antenna performance. If efficiency is too low, you may
fail network operator OTA requirements. If gain is too high, you may fail FCC testing.
Wireless range
Testing for wireless range is a reasonable measurement to validate a final system design. Yet, this test is
tricky. In RF engineering, we prefer to verify each component of a system. We measure signal quality at
the transmitter output, output power, antenna efficiency, and receiver sensitivity, all component by
component to verify a system. Testing for wireless range certainly is appealing, but the problem is that
these tests are not easily repeatable or fully controlled. A range test in one environment will not necessarily
predict how the system performs in another environment. This is why wireless range tests are subjective
and not directly comparable to competitors’ wireless range tests. With these caveats in mind, it is can still
be worthwhile to conduct wireless range tests for high-level validation of product performance.
System-level throughput
It is important to verify that the throughput and latency of your system is adequate for your use case.
This is particularly true if you need to run time-sensitive data like video over Wi-Fi. You must ensure there
are no bottlenecks in your RF link, in the interface between your RF chip and your host processor, or in
your host processor when all of your application code is running.
Modulation parameters
Modulation parameters are the real detailed test of your radio. Generally, module manufacturers perform
this test for you, but if you rely on a chipset design, you will have to test modulation parameters such as
Error Vector Magnitude (EVM).
Near-field probing
It is very common to use a spectrum analyzer and near-field probe to look for noise and emissions
on a PCB. You move the probe around the top of the board to locate noise. Often, however, you need
to insert an amplifier between the probe and the spectrum analyzer to bolster the signal above the
noise floor so it is visible on your spectrum analyzer screen. Without an amplifier, the noise you pick
up with your near-field probe might be below the noise floor of the spectrum analyzer. An amplifier
can get the signal above that noise floor.
Passing FCC Unintentional is much more difficult today than it was in the past. The problem is
that clock speeds are increasing all the time and faster frequencies mean shorter wavelengths.
Consequently, smaller structures on the PCB become better antennas for radiating the noise
produced by these fast clock edges. Today, many designs that are well devised and function
effectively often fail FCC Unintentional, whereas ten years ago, they would have passed. This is
a growing challenge for designers.
Another cause is when the structures on the PCB near the antenna pick up a strong fundamental
frequency that the antenna radiates. These non-linear components—diodes, LNAs or switching
power supplies—square the fundamental, producing harmonics. One tip is to keep radiated RF out
of the power system.
First, the end product can contain no other radios within 20 cm of each other that can transmit at the
same time. If you have other radiators within 20 cm of your certified module and those radios can
Second, the end device cannot be used with 20 cm of the human body. If it is, you may have to do
specific absorption rate (SAR) testing (discussed below).
The third is to use an antenna of similar type and of equal or lower gain. When the manufacturer got
its module approved, it needed to use some kind of antenna to do the testing. What you cannot do is
put a high gain antenna on the module that could put a lot more power in one direction. You must use
an antenna that is either similar to one that used on the modular grants or lower performing so you
do not put out too much power in any given direction.
SAR testing is fairly expensive and can be avoided in some cases, such as when your output power,
duty cycle or antenna gain is very low. To determine if this is the case, use the Maximum Permissible
Exposure calculation, or MPE, which considers the frequency of your radio, the closest distance the
device can be used to the body, and the radio’s output power. (For more information, go to
[Link] For example,
the MPE calculation may be in your favor if your device has an extremely low-powered radio, even it
if it is a wearable. The takeaway is if your device is within 20 cm of the body, you should do an MPE
calculation to determine if SAR testing is needed.
Fourier Coefficient – In
Another concept to understand is that your receiver noise floor f =I/πtr tr
is very low compared to the FCC emissions specifications. This
to
T
means that your product might pass FCC certification, yet may
have very poor range due to receiver desense. To reduce noise,
and therefore improve both signal to noise ratio (SNR) and range/ 40 dB/Decade
throughput, as well as emissions that could impact regulatory
compliance, it is important to design the PCB for lower EMI.
Shields
Do not create a product without putting shield footprints on the PCB. Plan for the shields upfront,
knowing you will not have to populate them if found unnecessary.
Also plan to battle marketing and manufacturing. The marketing people will protest that shields
might make the board a little bigger and costlier. Manufacturing will not want shields because they
can be difficult to solder down and place. Indeed, testing the circuits underneath shields is difficult,
but they are necessary and will help ensure compliance. One can use a two-piece shield to facilitate
testing. Under this scenario, a wall is always populated on the board and the lid can be placed or
Bury clock traces between ground on your board. Do not have anything on the top or bottom layer or
on the surface layers that does not have to be there.
Finally, flood the top and bottom of your PCB with ground pours. Flood all layers with ground pours
and stitch with vias heavily (5mm grid).
Switching regulators: Minimize the size of input and output current loops in the layout. Use smaller
passives to help minimize current loops. Do not oversize the inductor or input/output capacitors.
Always add a provision for a shield over switching power supplies unless you know the solution will
not desense the radio. Use linear regulators in place of switching regulators if possible. The extra
power loss may well be worth the increased sensitivity of your radio.
Route power as wide traces, not as planes. It is common practice to route power in large, low impedance
power planes. Power is inherently noisy at RF frequencies, so we like to rout our power as very wide
traces that have low impedance instead of using power planes. Power planes offer more opportunity
for the noise to couple to other things and radiate.
Watch out if you use a lot a different decoupling cap values on the same net. Different values can
cause what are called anti-resonances, which can result in bad responses at certain frequencies.
KEY TAKEAWAYS
Designing small wireless devices demands compromises.
Data rates, range, antenna size, power consumption, and cost are key variables.
Chipsets are less expensive than modules, but require greater certification.
Design the mechanicals and the enclosure around the antenna, not vice-versa.
Test the final design for key parameters such as output power, receiver sensitivity,
antenna gain, range and EMI emissions.
For more information about Digi Antenna Design Services visit [Link]/wds
1-877- 912-3444
91003507
© 1996-2017 Digi International Inc. All rights reserved. All other trademarks are the property of their respective owners. A1/817