Vous êtes sur la page 1sur 24

PULSE

EEWeb

Issue 28 January 10, 2012

EEWeb.com

Nathan Seidle
SparkFun Electronics

Electrical Engineering Community

Its all about


students hobbyists

connections. EEWeb
Electrical Engineering Community

discussions
industry experts engineers

technical documents

white papers links

Contact Us For Advertising Opportunities


reference designs

resources

advertising@eeweb.com
power

1.800.574.2791application notes

www.eeweb.com/advertising lighting

community
microcontroller wireless sensor

The user-to-user forum is for everyone, from design engineers to hobbyists, to discuss technology, products, designs and more. Join the discussions that match your interest or offer your expertise to others.

www.digikey.com/techxchange
Digi-Key is an authorized distributor for all supplier partners. New products added daily. 2011 Digi-Key Corporation, 701 Brooks Ave. South, Thief River Falls, MN 56701, USA

Join the discussion now at:

TA B L E O F C O N T E N T S
Nathan Seidle
SparkFun Electronics
Interview with Nathan Seidle - Owner and CEO

4 9 11 12 17 23

TABLE OF CONTENTS

SparkFun: Why Open Source?


BY PETE DOKTER WITH SPARKFUN ELECTRONICS
Dokter explains SparkFuns reasoning for being open source.

Featured Products What Bumblebees and Models of DFE Have in Common


BY MICHAEL STEINBERGER WITH SISOFT
A detailed look at the creation and use of IBIS-AMI models of DFE.

Real-World Range Testing


BY CHRISTOPHER HOFMEISTER WITH LS RESEARCH
An outline of the procedure for a successful RF range test providing data on RF link performance.

RTZ - Return to Zero Comic

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

INTERVIEW

Nathan

FEATURED INTERVIEW

Seidle
Owner and CEO of SparkFun Electronics
and was under the impression that I was always going to be some sort of chip designer. This was way back before I had any kind of comprehension of what I was going to be doing. Then, in 2002, I discovered microcontrollers. I

thought, Wow, you dont need a full computer; you can program these little things and they can actually do quite a lot! And at the end of 2002 I blew out my PIC programmer. Thats when I started scouring the Internet for a cheaper source, because as a student I didnt even have money for the first programmer. So when I blew it up I was really in a bind. After searching, I found out that most of the web sites in 2002 were very difficult to order from. There werent very good pictures, and a phone call was often necessary to place the order. At this point I thought, Maybe I could do better. Maybe I could start a website that had online checkout, as well as some nice, clean pictures of some electronics. And off I went! You were still in school when you started SparkFun? Yes, I was a junior in the electrical engineering program and it took me about a year and a half to graduate. Once I graduated, all my professors were asking me what companies I was applying to work for, and I said, Actually, Im not really applying anywhere. Im just going to run this

How did you get into electronics/engineering and when did you start? I started in electrical engineering at the University of Colorado in 2000. At the time I really didnt understand what electrical engineering was,

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

INTERVIEW
SparkFun thing Ive been doing for the last year and a half. They were a little scared, but theyve been very receptive, and now I go back and guest lecture for a few of them. Can you tell us more about what SparkFun is like today? Its turned into a wonderful monster. We are based in Boulder, Coloradothe same town as the University of Colorado. We are now at, I believe, 134 employees. Like I said, it started with just me, and then in about a year and a half I graduated, and decided that I had just barely enough work to hire a friend of mine. I didnt have enough money to pay him, but I certainly had enough work for him. Luckily, the work brought in some money and I was able to pay him. Then very quickly it became obvious that we needed a third person, and weve just sort of scaled up from there. Our building now is roughly 50,000 square feet, so the company has grown to a pretty decent size since it started. In the early days, were there any particular products or components you started selling that helped you take off? In the very beginning, while I was an engineering student, I had a fascination with GPS. I really wanted to play with these brandnew, dual-axis accelerometers. But when I talked to the company that sold them, they said it would cost me $500$600 for an evaluation kit. I wasnt willing to pay for it, nor did I need the entire evaluation kit. I just needed the breakout board an accelerometer soldered to a little board, with a 0.1 spaced header. They said that they didnt sell anything like that. So from the beginning, that was sort of the secret sauce to SparkFun. We found these cool technologies, and then made them accessible, for example by providing breakout boards or evaluation boards for the GPS module or the accelerometer. Since then, its turned into all sorts of fun sensors and technologies, and weve really expanded into a bunch of different fields. As of just the recently, we have just over 2,000 products for sale on the SparkFun web site. How would you characterize your business? It is a mix. When we first started, we were just a regular distributor. We found cool parts from other people and resold them. Once I graduated from college I actually had the time to design stuff. Thats when the SparkFun products started. First came a breakout board for a USB serial chip, or a breakout board for an accelerometer. Now, here in Boulder we have all of our manufacturing, testing, packaging and shipping all in the same building. So out of those roughly 2,000 products, we design and build about 400450 inhouse. And with the other products, we provide the best quality from the best manufacturers. What is the work culture like at SparkFun? Its hard to describe until you see it for yourself, but for better or for worse I never had a real job. So I had no preconceived notions of what the work environment should be like. I made a place where I felt like I would want to work. The work culture here is pretty laid back; theres certainly no dress code. Also, over time people started asking if they could bring their dogs into work. My response was, Well Im not really a dog person, but if it would make you happier and you can take care of your dogs, go ahead and bring them in. Then the skateboards showed up, then the loud music. So now we have this wonderful culture of controlled chaos. Its crazy, but it makes for a pretty good work environment, and now we just have a bunch of friends working together. How many of your staff have technical or electronics backgrounds? I believe that our engineering crew is made up of 13 people, so about 10 percent of the company. That obviously means that there are a lot of support staff that do the manufacturing, shipping and testing. But out of those in the engineering group, there is a very interesting variety of technical backgrounds. Some come from physics, some from the expected electrical engineering or electrical and computer engineering. We also have one or two self-made engineers who didnt take the traditional, formal academic route, but eventually showed that they can build some really amazing stuff, which is why we are fortunate to have them working for us. Are all of your designs part of the open-source hardware movement, or are they proprietary designs? Since about 2004, I started writing

FEATURED INTERVIEW

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

INTERVIEW
tutorials, releasing the firmware and posting the schematic saying essentially, If this product isnt tailored to what you need, heres the firmware. So if you need it to do something different, go ahead and make it happen. We release stuff in the public domain mostly so that our customers can tailor it to their needs. In the past two to three years there has been a big push toward this new open-source hardware movement, which we really like. I see it as a clear explanation of what youre going to get. So whenever a customer downloads one of our products and says, Oh okay, this is marked with the open-source hardware logo, the customer now knows that he or she is going to get the engineering design (EAGLE CAD) files. Its all very open, and we encourage customers to take what we give them to modify the products for themselves, or even resell them for profit. Can you tell us about the community and the people around SparkFun? When I started SparkFun, being an engineer myself, I really expected to sell products to my fellow engineering students, and maybe some other people in Colorado. Of course, I (thankfully) grossly underestimated the demand. Our customers come from every walk of life. We see some really exciting orders coming from big institutions such as Carnegie Mellon, Stanford and even NASA. We also see a lot of orders from just regular folks that have some sort of problem, whether its their cat door, or a Halloween costume they are trying to build. These folks have really creative ideas, and come up with some really interesting solutions that I, as an engineer, dont even come up with. So our community is this mixed bag of really exciting people doing all sorts of really wacky things. Besides selling products, what do you do to encourage interest? Recently we actually had an open house at SparkFun, which was really fun. We had about 650 people come through the front gate, and we just sort of said, Heres what we do, and here are some of the projects that were working on. We gave building tours, had a big tent with some music, and had a bunch was basically a weather balloon attached to some high-definition cameras and tracking devices. He captured some amazing footage from an elevation of about 100,000 feet. Along with that, bunches of other people were showing off their projects as well, like robots and other electronics. It was all really neat. We often open our doors to the public for somewhat of a classroom environment. We inform people about upcoming events or courses on things like e-textiles or soldering, for example. The idea started a few years ago when I was teaching a surface mount soldering course at the university. It became apparent to me that our customers also really wanted to learn about surface mount soldering. From there it got a little bigger and more complex, and now we have a department of five people that make up the Department of Education. They are responsible for taking SparkFun out into the educational world. I would love to change the way that electronics is taught at the pre-university level. Were very open about the educational information we provide, and its all available on the SparkFun website. Were working on broadcasting videos of the classes and tutorials as well, but that is still in the works.

FEATURED INTERVIEW

The ideal market that I would love to get into would include young, elementary schoollevel kids. So ideally our products would end up in educational toy stores to spark the interests of kids.
of tables set up for people to bring their own projects that they wanted to show off. It was a great chance for a lot of people in and around the area to show off some of their projects. We had one of the SparkFun employees show off his balloon satellite, which

What should we expect to see from SparkFun in the near future? As I mentioned before, one of our main goals revolves around education. Were trying to come

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

INTERVIEW
up with low-cost kits that kids as young as eight years old can play with. We have a couple kits already that include some LEDs, a coin cell battery holder, some needles and some conductive thread. This all comes with a piece of fabric that kids can sew it all to so they can create this thing that lights up. Its a tool that can lead into further education about electronics, voltage and current. Another kit were working on is more for high school students. Its sort of a logic gate puzzle. Students can put it together and learn about logic gates. On the other side of the spectrum with regard to company goals, we are really trying to package up more of our products for retail. So whenever customers go into a brick and mortar store, we want to have approachable electronics that are more attractive to customers with less experience. Are there particular types of businesses youre targeting for this? The ideal market that I would love to get into would include young, elementary school-level kids. So ideally our products would end up in educational toy stores to spark the interests of kids. Other places where we would like to see SparkFun products sold are places like museums or university bookstores. These are more of the types of avenues we are looking at. Can you tell us about Arduino? How has it impacted your business? I believe it was in 2005 that Tom Igoe of New York University told me that SparkFun should really carry the Arduino board. I looked at it, and at the time it was just a through-hole kit. I explained that, to me, it looked like just another development board. Then about nine months later, Arduino came out with a fully assembled USB version. And Tom Igoe again said to me that we should carry the board. He said that hed been using it to teach his students and that they really liked it. So I agreed to carry it, but it took me about a year or two to really see the value in it. I realized that whenever youre teaching someone or trying to build a project, you dont want to have to worry about how to initialize the UART or how to get the I2C protocol to work, because thats a really bad pitfall. Arduino has been so successful, and has been a game changer for people that have a bigger project and just need a little board to control some basic inputs and outputs. Are you still involved in product development and design, or is the business so big that you are no longer able to put your resources into that? I have to wear my business hat more and more, which kind of pulls at my heart strings. I do still get to play and build electronics about four or five hours per week. But for the most part, engineering is its own department. They dont really like it when I get in there and start messing with things, but I do still get to play with some of the parts that we build, and I get to have some input in the new products that were coming out with.

FEATURED INTERVIEW

EEWeb
Electrical Engineering Community

Join Today
www.eeweb.com/register
EEWeb | Electrical Engineering Community Visit www.eeweb.com

Avago Technologies LED Lighting Solutions Technology

Any Color. One Device.


Avago Technologies Moonstone 3x1 Watt
TM

MoonstoneTM Tri-color Power LED light source from Avago Technologies: ASMT-MT00
Avagos MoonstoneTM Tri-color Power LED light sources are high performance energy efficient devices which can handle high thermal and high driving current. The exposed pad design has excellent heat transfer from the package to the mother board. The advanced 3x1Watt RGB MoonstoneTM package delivers typical 108 lumens at 350mA. The robust package design makes it an excellent choice for color mixing applications.

Applications
Architectural Lighting Decorative & Mood Lighting Retail Lighting Garden lighting Show Lighting
For more information or to request a sample please go to:

RGB High Power LED gives you a reliable, energy efficient, long life operation product for ease of design in any type of color mixing application.

www.avagotech.com/led

PROJECT

SparkFun:
Pete Dokter - Director of Engineering

FEATURED PROJECT

Why Open Source?


By Pete Dokter
Over the past few years, SparkFun has had some amazing success. And thats due in no small amount to the idea of open source. How so? Through extremely careful and considered planning Yeah, thats a lie. We were carried by a tide. Make no mistake; we were exactly where we wanted to be. We just had no idea how big the tide would be. Early on, we used to just post source code for some of our products. And we resisted this, not because we wanted to hold on to our IP but because we thought that anyone , who saw our code would be appalled. But our thinking was, if weve messed up the code somehow, the least we can do is provide it to somebody else so they can have a chance at fixing it, right? Assume that on the night before a crucial lab youre trying to get something working and there is a problem with something in our module. We are then essentially responsible. The very least we can do is give you a crowbar to pry yourself out with. Next came schematics. Anyone who has worked with a large companys development board knows how vital schematics are, so these really are a no-brainer. You dont keep the shop manual from the guy that just bought your car. Then came Gerbers. Wha...? Why would anyone need these? Are they really going to go to the trouble to make their own board? It turns out they might. And what were

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

PROJECT
we saving, really? We were still amateurs at this. Theyre simple two-layer layouts, and our breakout boards are almost always the application circuit in the part data sheet. Were already providing everything else, why not these, too? But honestly, if people are savvy enough to take our designs and make their own boards, theyre likely savvy enough to improve upon our work. We cant really fault them for that. They did our job better than we did. So now we emulate them as they emulated us, rolling their improvements into our own design and trying to improve further. We share attribution, everybodys got a better product making the customer happier, and we improve the species just a little bit. Therein lies the essence of open source. So it made sense to us from both a practical and ethical standpoint; we wanted to be more useful to the customer than not, and being forthcoming with all of our materials seemed a simple and obvious thing. But it turned out to make practical business sense, too. Weve never had to worry about IP or patents, or, for the most part, lawyers (I hear Qualcomm spends a bit of time chasing down patent infringements). We just want to focus on what we love to do: build stuff with our toys and share our love of electronics with others. Being open source allowed us to be closer to that ideal, and further away from what might be considered business norm. And it turns out
SparkFuns Production Department

that there are a lot of people out there that feel as we do.

FEATURED PROJECT

However, I recently saw a presentation by a young gentleman (and I have to be careful here because I dont want to out him) that impressed me. At my behest some weeks earlier, he had created an online tutorial for some work he had done in an effort to attract more people to his particular pursuit. He mentioned this in his presentation, and then lamented having potentially given a leg-up to his competition. But the pursuit happens to be a highly dangerous one, and doing this particular task incorrectly could ultimately result in someones death. Thats a lot more responsibility than I referred to earlier, and Id certainly rather be faulted for giving someone too much information than too little in such a situation. Fortunately for us, its pretty hard to kill yourself with low-voltage electronics. Saving someones life isnt necessarily one of our motives, but the reasoning is moreor-less the same. If youre going to trust us to buy our products, were going to do as much as we can to ensure your success. Being open source is the natural extension of that. Its not the new logo, nor the protections, nor the notoriety that seems to accompany the title that attracts us to open source. Its the mentality behind the choice to be so, and thats something that pervades our group from the top to the bottom. And I think its something from which a lot of companies could benefit.

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

10

F E AT U R E D P R O D U C T S
200-MHz Handheld Oscilloscopes
Agilent Technologies Inc. announced the addition of two new oscilloscopes to its portfolio of handheld instruments. The 100-MHz U1610A and 200-MHz U1620A the first handheld units to include a color VGA display will be available for ordering on Feb. 1. With up to three viewing modes (indoor, outdoor and night vision), these instruments enable engineers to view signal waveforms by zooming in to capture glitches under all lighting conditions. The outdoor viewing mode, coupled with the 5.7-inch transflective display on these oscilloscopes, makes it possible to read waveforms even in bright sunlight. Key measurement capabilities include a sampling rate of 1 or 2 GSa/sec and two safety-isolated input channels. Analysis capabilities include deep memory, 1,000-times zooming, and dual zoom windows for overview and detailed displays. For more information, please click here.

FEATURED PRODUCTS

STMicroelectronics, a global semiconductor leader serving customers across the spectrum of electronics applications and the leading supplier of MEMS (Micro-Electro-Mechanical Systems) for consumer and portable applications 1, has introduced the markets first dual-core gyroscope capable of handling both user-motion recognition and camera image stabilization. With the innovative system architecture of the ST device, equipment manufacturers only need to use a single gyroscope for the two different functions, reducing the size, system complexity, and cost in mobile phones, tablets, and other smart consumer devices.The innovative design of STs dual-core gyroscope employs separate output paths optimized for the two different functions in a 441 mm package. The device addresses, at the same time, motion and gesture recognition and optical image stabilization for sharper mobile-camera photos. For more information, please click here.
BW S election CV converter S C lter ADC Di gital lter s MUX S PI

Actuation Interface

Dual-Core Gyroscope

MEM S S EN S OR

OI S Readin g Chain

Actuation Interface

BW S election

CV converter

S C lter

ADC

Di gital lter s

I2C

MUX

Full s cale S election

FIFO

UI Readin g Chain

MODE

VDD

VC

GND

Voltage Controlled Attenuator


12 GND

16

15

14

13

GND

NC

CONTROL BLOCK

11

NC

RFIN

3
ATTEN

10 RFOUT

NC

4 5 GND 6 GND 7 GND 8 GND

NC

RFMDs RFSA3023 is a fully monolithic analog voltage controlled attenuator (VCA) featuring exceptional linearity over a minimum temperature compensated 30dB gain control range. It incorporates a revolutionary new circuit architecture to solve a long standing industry problem: high IP3, high attenuation range, low DC current, broad bandwidth and temperature compensated linear in dB control voltage characteristic. This voltage controlled attenuator is controlled by a single positive control voltage with on-chip DC conditioning circuitry. The slope of the control voltage versus gain is selectable. The RFSA3023 draws a very low 1mA current and is packaged in a small 3mmx 3mm QFN. This attenuator is matched to 75 over its rated control range and

frequency with no external matching components required. Typical VCAs in this performance category have poor inherent attenuation versus temperature and poor nonlinear attenuation versus control voltage characteristics. For more information, please click here.

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

11

and Models of

Bumblebees
Have in Common

What

DFE
Michael Steinberger
Lead Architect, Serial Channel Products

While at first it may seem impossible or impractical to create an Input-output Buffer Information Specification, Algorithmic Modeling Interface (IBIS-AMI) model of Decision Feedback Equalization (DFE), its actually quite easy as long as you understand some unavoidable artifacts in the results. 1.0 It Cant Be Done Legend has it that aerodynamic analysis proves bumblebees cant fly. Similarly, there is a line of reasoning that proves that IBISAMI [1] [2] models of DFE cant possibly support statistical analysis, and cannot support time domain simulation of some popular DFE architectures. Just as the (possibly apocryphal)

aerodynamic analysis fails to account for the bumblebee wings increased thickness (due to boundary layer thickness at low Reynolds number), and therefore its increased lift coefficient, there exist arguments about DFE models that are more focused on the problem than the solution. This article will demonstrate how IBIS-AMI models can be written for some complex DFE architectures, and then demonstrate how such models can be written to support statistical analysis as well as time domain simulation. 2.0 Speculative DFE Architecture The primary role of the IBIS-AMI specification is to define a standard

interface to the model. While having a standard interface enables many solutions, it also imposes some constraints. One of those constraints is that the model has a single input and a single output for the primary data signal, with supplementary inputs and outputs only available for including crosstalk in statistical analysis. There are, however, many receiver architectures that have multiple data paths, with the detected data selected from the outputs of these paths. How can IBIS-AMI modeling represent such architectures? The speculative DFE architecture has been used for a number of years, and is a good example of the challenges posed by multiple data paths. In the speculative DFE

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

12

TECHNICAL ARTICLE
architecture, there are two data paths that receive the same incoming data signal but apply equal and opposite low-frequency offsets to that signal. The magnitude of this offset is equal to the value of the first DFE tap. Both data paths make a decision at every bit time, but then the data bit delivered downstream is selected based on the previously detected bit. If the previously detected bit was a one, then the result from the negative offset data path is chosen. And if the previously detected bit was a zero, then the result from the positive offset data path is chosen. The advantage of the speculative DFE architecture is that it is not necessary to feed the detected data bit back to the decision circuit input in time for the detection of the very next data bit. Instead, the choice of detected bit is deferred for one bit time, therefore providing a lot more timing margin in the circuit, at the expense of some duplication of circuitry. To avoid complicating the example, Figure 1 illustrates the operation of a speculative DFE receiver with a single tap. In Figure 1, the magenta waveform is the incoming data signal, the blue waveform is the incoming data signal offset in the positive direction by the DFE tap and the yellow waveform is the incoming data signal offset in the negative direction by the DFE tap. This figure also shows markers for the edges of some of the data symbols. The data will be detected halfway between these markers. Ideally, a model of this architecture would maintain both the positive and negative offset data paths and choose between them just the way

Waveform
Incoming data signal
400.0 300.0 200.0 100.0

TECHNICAL ARTICLE

Positive offset data path

Negative offset data path

Volts (mV)

0.0 -100.0 -200.0 -300.0 -400.0


0.372n 0.572n 0.772n 0.972n 1.172n 1.372n

0.52

1.0

1.52

2.0

2.52

3.0

Figure 1: Speculative DFE Operation

Time (ns)

Waveform
Modeled waveform
400.0 300.0 200.0 100.0

Positive offset data path

Negative offset data path

X : Timing & Location


of data detection

Volts (mV)

0.0 -100.0 -200.0 -300.0 -400.0 0 0.52

X
1.0

X
1.52 2.0 2.52 3.0

0.372n 0.572n 0.772n 0.972n 1.172n 1.372n

Figure 2: Speculative DFE Modeling

Time (ns)

the real receiver does. The IBIS-AMI model interface will not support this. For any given bit, however, all that really matters is the value of the waveform that will actually be used to detect the value that will be delivered downstream. The model is capable of determining, for each bit, which of these two waveforms will be used, and is therefore able

to deliver the pertinent waveform segment for each bit. This is illustrated by the magenta waveform in Figure 2. Each detected data bit determines which waveform segment will be output for the next bit. Figure 3 is the eye diagram that was produced from the models output waveform in Figure 2. Note that the

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

13

TECHNICAL ARTICLE
Persistant Eye Diagram
One tap speculative DFE
400.0 300.0 200.0

y(t): The signal at the receivers data decision point


_ 1.3E-2

TECHNICAL ARTICLE

z(t): The output data from the receiver hc(t): The impulse response of the channel including any transmit equalization and any receiver linear equalization wk: The k-th DFE tap weight
T: Transmit symbol duration Tc: Channel delay

_ 3E-3
Probability

Volts (mV)

100.0 0.0 -100.0 -200.0 -300.0 -400.0 0 100.0 200.0 300.0

_ 1.6E-4

_ 2.8E-8

_ 1.9E-10

Time ( s)

Figure 3: Speculative DFE Eye Diagram

Then the signal at the receiver decision point is the sum of the linear channel/equalization response plus the DFE signal:
(EQ1) y (t) = hc (t) 7 x (t) + / w k z (t - nx)
n

middle of this eye diagram looks like an eye diagram that would be measured in the lab, but that the discontinuities in the models output waveform are clearly evident at the edge of the eye. Every model is an illusion to some extent, and in this case the illusion only works in the center of the eye. Because the values that affect the bit error rate analysis are taken from the center of the eye and not the edge, the discontinuity at the edge of the eye is not relevant. If, however, one were to perform a jitter analysis based on this waveform, then the discontinuities in the models output waveform would render the results completely invalid. If a jitter analysis is to be performed, it should be performed on the models clock output and not its output data waveform. 3.0 Statistical Analysis In order to be rigorously valid, statistical analysis must use the response of a linear, time-invariant

system. The input to a DFE tap n k=1 is the output of the data detector, hc (t) 7 x (t) + / w k z (t - nx) y (t) = k=1 which is nonlinear. Furthermore, DFE is usually controlled by a The third assertion implies continuously operating control loop. (EQ2) z (t) = x (t - xc) Therefore the tap weight is timevarying. So DFE is neither linear nor Substituting Equation 2 into time-invariant. One would therefore Equation 1, conclude that statistical analysis n in not applicable to a link that has y (t) = hc (t) 7 x (t) + / w k x (t - nx n k =(EQ3) 1 DFE. Consider the following assertions, however: 1. In steady state operation, the taps weights of a DFE are essentially constant.

y (t) = hc (t) 7 x (t) + / w k x (t - nx - xc)


k=1

Employing the Dirac delta function (t),


n

2. The transmit amplitude of a high-speed serial channel is essentially constant.

y (t) = hc (t) 7 x (t) + / w k d (t - nx - xc) 7 x (t)


k=1 k=1 n

y (t) = hc (t) 7 x (t) + / w k d (t - nx (EQ4)

3. In normal yor ) =expected / w k d (t - nx - xc m 7 x (t) c hc (t) + (t operation, the receiver bit error k - 1 rate is very low. Note that Equation 5 appears to be We define the following symbols: a linear, time-invariant equation in x(t): The data signal driving the which the DFE taps are represented channel as Dirac delta functions. The equation is not rigorously linear

y (t) = c hc (t) + / w k d (t - nx - xc m 7 x (t
k-1

(EQ5)

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

14

TECHNICAL ARTICLE
in that its only valid if the transmit and receive data have the same amplitude and the bit error rate is low. Nonetheless, these assertions are true under a wide enough range of conditions that this equation is a useful engineering approximation. Reference [2] gives more of the details on the practical application of this modeling approach. For the example given in the previous section, Figure 4 shows the impulse response of the end-to-end channel and Figure 5 shows the statistical eye diagram. 4.0 Conclusion Bumblebees do fly, and IBIS-AMI models of DFE, correlated with measured data, are used routinely to produce accurate performance estimates for high-speed serial channels. The only caveat is that users need to understand the limitations of the model and therefore need to ignore the discontinuity at the edge of the eye diagram. 5.0 References [1] IBIS (I/O Buffer Information Specification) Version 5.0, August 29, 2008. [2] Michael Steinberger, Todd Westerhoff, Christopher White, Demonstration of SerDes Modeling using the Algorithmic Model Interface (AMI) Standard, DesignCon2008, paper 7-TA3, February 5, 2008. About the Author Michael Steinberger, PhD, has over 30 years experience in the design and analysis of very highspeed electronic circuits. Dr.

Impulse Response
One tap speculative DFE
0.0 -10.0

TECHNICAL ARTICLE

Volts (GV)

-20.0 -30.0 -40.0 -50.0 -60.0 0

Channel DFE

1.0

1.52

2.0

2.52

3.0

Time Figure 4: Impulse response with single tap DFE (ns)

Figure 5: Statistical eye diagram with DFE

Steinberger began his career at Hughes Aircraft, designing microwave circuits. He then moved to Bell Labs, where he designed microwave systems that helped AT&T move from analog to digital long-distance transmission. He was instrumental in the development of high-speed digital backplanes used throughout Lucents transmission product line. Prior to joining SiSoft, Dr. Steinberger led a group of over

20 design engineers at Cray, Inc. responsible for SerDes design, high-speed channel analysis, PCB design, and custom RAM design.

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

15

EEWeb
Electrical Engineering Community

Join Today
www.eeweb.com/register

R A NGE T EST ING


Christopher Hofmeister
Firmware Engineer

REAL WORLD

This article outlines the procedure for a successful RF range test that provides quantitative data on how the RF link performs in its intended environment. This enables informed decisions about network architecture. The article also explains subtleties that might be overlooked during a RF range test that can affect performance. Although these principles apply to any radio, we give special attention to features of the 802.15.4 standard that can affect range test results. The design of a RF range test is broken down, and specific elements are explained in a real-world range test using LS Researchs RF modules. So Many Variables One of the most frequently asked questions about a given radio is, How far will this radio transmit? Unfortunately, it is also one of the most difficult questions to answer, as so many variables apply. Besides obvious variables like transmit power and receive sensitivity, a host of other factors come into play. Without careful attention to understanding and controlling as many of these

variables as possible, the results of an RF range test will leave more questions than answers. For example, consider this common scenario. An engineer evaluating a radio puts the radio in a spot, walks some distance from it while monitoring an LED that indicates a received packet, and hopes to find a magical line on the ground at which the radio works on one side and doesnt work on the other. In real life the link will become marginal at some point and continue to work intermittently, perhaps even improving at certain points, forcing the engineer to make a judgment call on how far the radio worked. A week later the same test performed by the same or a different individual yields drastically different results. What happened? As we attempt to reconcile the results, questions come up. Even if the test was done outdoors, many factors apply. What antennas were used? How were they oriented? How far off the ground were they? How were the radios powered? If batteries were used, what was their voltage? Was the same version of firmware used? What was the over-the-air data rate? How many bytes were in the RF

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

17

TECHNICAL ARTICLE
packet? What was the RF environment like during each test? How was it determined that the link was bad? Were RF acks and retries used? What obstructions were in the path of the radios? The answers to these questions reveal that the trials had little in common, and the results are inconclusive. Add to this the complexities of an office or industrial environment. The RF environment is constantly changing as laptop computers move about and cordless phones or even microwave ovens are operated, affecting the 2.4GHz band in particular. Doors open and close, office equipment is turned on and off, equipment is moved, and so on. Also, the buildings physical construction certainly has an effect; an addition may make it appear that an outside wall of concrete, stucco or metal siding is an interior wall. These situations illustrate why it is so hard to answer the question, How far will this radio transmit? Clearly, as many variables as possible need to be controlled, and those that cannot be controlled at least need to be understood. When radio manufacturers list a range distance, be sure to ask: How were those results obtained? Is this the environment in which my radios will operate? What was the performance of radios at this distance? Write Everything Down It should go without saying, but its easy to take shortcuts under the premise that we will remember. In reality, hours turn into days, and days into weeks, and we cant recall the details. So take the time to write everything down. You could use the example at the end of this paper to create a form that ensures all important details are noted. Collect Quantitative Data A good range test will collect useful information, such as the number of packets transmitted, the number of packets received, RSSI, LQI, the amount of noise on the channel, and other test conditions such as timestamps on the packets, the number of bytes in the packet, and power supply conditions. Such information should be logged into a PC to enable analysis of the data collected. Understand the Difference Between LQI and RSSI RSSI is an initialism for Received Signal Strength Indicator. LQI is an initialism for Link Quality Indicator. Some use the terms interchangeably, but they are different. RSSI is an absolute value that can define the magnitude of the received signal, and it can be converted into units of dBm. LQI is a relative number between 0 and 255 that represents the quality of the received signal. Since there are no official rules on how it is calculated, every stack vendor usually calculates LQI differently. It is generally a function of RSSI and possibly other indicators such as the quality of the modulation on the received signal. When range testing a radio, it is generally good to track both RSSI and LQI and to understand how the LQI is being calculated. A strong RSSI but weak LQI (assuming LQI is factoring in the quality of the modulation) would indicate the presence of RF noise or interference. Understand Acknowledgment Requests and Retries Many radio standards today, such as 802.25.4, employ a RF acknowledgment/retry mechanism. When they are mentioned, it is important to understand that they can exist in the MAC layer and the application layer of software. In 802.15.4, acks/retries can be enabled on a packet-by-packet basis in the MAC. If a message is sent with MAC layer ack, the recipient of the message will send a very small RF acknowledgment back to the sender, confirming receipt. If the sender does not receive this ack, it will resend (retry) the message again, up to

TECHNICAL ARTICLE

Good Range Test Design Specifying Range Most manufacturers specify range in an optimum situation, specifically line-of-sight outdoors. Besides putting their best foot forward, this enables them to repeatedly reproduce the test conditions and obtain similar results. This does not mean, however, that users of the radio can obtain the same results in a typical environment. Before running the range test, determine the criteria for specifying how far the radio transmits. This is especially important when trying to compare different radios. Some may specify this as the farthest point at which 99 percent of packets are successfully transmitted. Others may plot out the average receive sensitivity over distance to determine range. A combination of both metrics could also be employed.

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

18

TECHNICAL ARTICLE
three times. If you are doing the math, this means that the same message could be transmitted up to four times: the original message and up to three retries. It is often assumed that if a message is retried, it was not
RF Message with MAC Ack Request

it may appear that the link is very good when in reality it is on the fringes. A clue that this is happening could be gathered from statics kept on each side of the link. If the originator side shows 100 packets were sent out and the recipient shows 300 messages were received, this is a sure sign that the network relied heavily on the ack/retry mechanism. Although not the focus of this paper, application layer acks/retries have more practical value in hopping networks or in networks where extremely high reliability is required. The MAC layer acks/retries only guarantee that the message made it to the next hopnot the final recipient. Also, even in single-hop systems, this method does not guarantee that the message made it to the application. For example, a node could receive an RF message, send the MAC layer ack, and then try to allocate memory to send the message to a PC or display but run out of memory. The message originator would have no knowledge of this problem.
RF Alarm Message with MAC Ack Request

TECHNICAL ARTICLE

ORIGINATOR

RECIPIENT

Ack

Figure 1: MAC layer acks/retries

heard by the recipient. In practice, it is not uncommon for the acknowledgment to go unheard by the originator, prompting the originator to resend the message. This means that its possible for the recipient to hear the same message multiple times.
RF Message with MAC Ack Request 3 RF Message with MAC Ack Request 2 RF Message with MAC Ack Request 1

ORIGINATOR

RECIPIENT

MAC Ack

Figure 3: Pitfall of MAC-only acks

LS Research Range Test


ORIGINATOR RECIPIENT

Ack 1 Ack 2

Ack 3

Figure 2

LS Research has developed a protocol for evaluating range of its radio modules, and the principles contained therein can be used to conduct a successful range test. One part of the process involves using a simple form, like the one at the end of this paper, to write down important details about the test, including details that are easy to overlook. The second part of the process combines the firmware on the radio module being tested with PC software to display and record the results. The range test is also designed to achieve the following goals: Obtain quantitative range test results (Packet Error Rate, RSSI, LQI, Background RF Noise). Establish the ability to restart data collection remotely that is, look at performance in various locations

It is important to consider that using MAC layer acks/ retries may create a false sense of security regarding RF-link quality. For example, if the ack/retry mechanism results in each message being sent two or three times,

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

19

TECHNICAL ARTICLE
without having to walk back to a PC to restart the test. Enable a single user to perform the entire test. Provide a means to log the results. Record as many variables (such as battery voltage) as possible. Use only one PC. Missed Packets If the slave misses several packets, the statistics will correct themselves as soon as another packet is received. For example, if the slave does not hear packets 9099 but does hear packet 100, the over-the-air message would look like the one in Figure 5. It would be determined that the master sent 100 messages but the slave heard only 90. Restarting Test in the Field Smarts are built into the range test application to start/ restart the test if the packet ID of the received message is less than the packet ID of the previous message. This would allow a user to restart the packet-error-rate calculation at distance intervals without having to reset both ends of the test. Table 4 provides an example of how this would look in the over-the-air packet. RF Acknowledgments and Retries In the LSR range test, application layer acknowledgments can be turned on or off. Turning them off makes the test one-dimensional; turning them on creates a roundtrip test. Application layer acks/retries can be used in conjunction with MAC layer acks/retries. Host Serial Message Packet Structure Applicable information from the received range test RF packet and additional information is formatted into a serial message and passed on to the PC. The ModFLEX Test Tool Suite uses this information to display and log the results of the range test. More information on the serial message is available in the respective modules Host Protocol Guide at the LS Research website: http:// www.lsr.com. SiFLEX02 Results Results were graphed for RSSI vs. distance on each antenna type and data-rate. The results from each end of the test were graphed: what the slave saw from the master (MS) and what the master saw from the slave (SM). At 40kbs, the SiFLEX02 with the +2dBi dipole antenna had adequate link margin to the end of the lake at 1.5 miles. If the data were extrapolated, it is reasonable to assume the link margin would be adequate to at least 2.0 miles.

TECHNICAL ARTICLE

Materials for Range Test The range test in this paper was performed with two of the ModFLEX series radios, the ProFLEX01 (2.4GHz DSSS) and SiFLEX02 (900MHz DSSS). Development kits for the radios are commercially available. The module firmware and PC software (ModFLEX Test Tool Suite) are available for download from the LS Research web site at http://www.lsr.com. Over-the-Air Packet Structure Necessary parts of range test results are transmitted over the air to allow either end of the system to collect data. Each time the master transmits a packet, it increments its packet ID. If the application ack is set to 1, the slave device will transmit a packet back to the master, making it a round-trip test. The following example shows what these packets would look like. Master-to-Slave Packet The packet ID indicates how many packets have been transmitted by the master. The power supply voltage of the master is sent to the slave. If the slave receives the packet, these can be determined: 1 packet was transmitted, 1 packet was received (100% success); and RSSI, LQI, and battery voltages. Slave information is 0 as this information needs to be filled in from the slave.

Slave-to-Master Packet The slave appends information into the packet: RSSI and LQI of the master-to-slave packet; battery voltage. If the master receives the packet, these can be determined: 1 packet was transmitted, 1 packet was received (100% success); RSSI, LQI, and battery voltages of itself and the slave.
EEWeb | Electrical Engineering Community

Visit www.eeweb.com

20

TECHNICAL ARTICLE
SiFLEX02 (900 MHz)
-65 -70 -75

TECHNICAL ARTICLE

RSSI (dBm)

-80 -85 -90 -95 -100 -105 0.25 -69 -74 -69 -73 0.5 -75 -81 -75 -80 0.75 -76 -87 -75 -86 1 -82 -92 -82 -91 1.25 -86 -97 -83 -97 1.5 -88 -96 -89 -96 1.75 2 2.25

Dipole 40kbps S-->M Wire 40kbps S-->M Dipole 40kbps M-->S Wire 40kbps M-->S

Figure 4: RSSI vs. distance for wire antenna and +2dBi dipole antenna

At 40kbs, the SiFLEX02 with the wire antenna had adequate link margin to the end of the lake at 1.5 miles. If the data were extrapolated, it is reasonable to assume the link margin would be adequate to at least 1.75 miles (Figure 4). ProFLEX01 Results Figure 17 shows RSSI vs. distance on each antenna type. The graph shows results from each end of the test: What the slave saw from the master (MS) and what the master saw from the slave (SM).

The ProFLEX01 unit showed adequate link margin to about 1 mile (Figure 5). About the Author Christopher Hofmeister, a senior software engineer at LS Research, has spent more than 15 years in the low-power wireless industry. He has been involved in hardware and firmware design as well as testing of low-power RF transmitters, receivers and transceivers for both engineering validation and production testing.

ProFLEX01 (2.4 GHz)


-75 -80 -85

RSSI (dBm)

-90 -95 -100

Dipole Antenna S-->M F-Antenna S-->M Dipole Antenna M-->S F-Antenna M-->S

0.25 -78 -86 -77 -85

0.5 -89 -84 -88 -83

0.75 -94 -87 -93 -86

1 -96 -95 -96 -94

1.25 -97 -97 -97 -96

1.5 -99 -98

Figure 5: RSSI vs. distance for F-antenna and +2dBi dipole antenna

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

21

Get the Datasheet and Order Samples


http://www.intersil.com

Dual 800mA Low Quiescent Current 2.25MHz High Efficiency Synchronous Buck Regulator
ISL78228
The ISL78228 is a high efficiency, dual synchronous step-down DC/DC regulator that can deliver up to 800mA continuous output current per channel. The supply voltage range of 2.75V to 5.5V allows for the use of a 3.3V or 5V input. The current mode control architecture enables very low duty cycle operation at high frequency with fast transient response and excellent loop stability. The ISL78228 operates above the AM radio band as well as the 2.25MHz switching frequency, allowing for the use of small, low cost inductors and capacitors. Each channel is optimized for generating an output voltage as low as 0.6V. The ISL78228 has a user configurable mode of operation-forced PWM mode and PFM/PWM mode. The forced PWM mode operation reduces noise and RF interference while the PFM mode operation provides high efficiency by reducing switching losses at light loads. In PFM mode of operation, both channels draw a total quiescent current of only 30A, hence enabling high light load efficiency in order to maximize battery life. The ISL78228 offers a 1ms Power-Good (PG) to monitor both outputs at power-up. When shutdown, ISL78228 discharges the outputs capacitor. Other features include internal digital soft-start, enable for power sequence, overcurrent protection, and thermal shutdown. The ISL78228 is offered in a 3mmx3mm 10 Ld DFN package with 1mm maximum height. The complete converter occupies less than 1.8cm2 area. The ISL78228 is both AEC - Q100 rated and fully TS16949 compliant. The ISL78228 is rated for the automotive temperature range (-40C to +105C).

Features
Internal Current Mode Compensation 100% Maximum Duty Cycle for Lowest Dropout Selectable Forced PWM Mode and PFM Mode External Synchronization up to 4MHz Start-up with Pre-biased Output Soft-Stop Output Discharge During Disabled Internal Digital Soft-Start - 2ms Power-Good (PG) Output with 1ms Delay TS16949 Compliant AEC - Q100 Tested Pb-free (RoHS Compliant)

Applications
DC/DC POL Modules C/P, FPGA and DSP Power Rear Camera Systems Navigation Systems Infotainment Systems

100 90 EFFICIENCY (%) 80 70 60 50 40 1.8VOUT-PWM VIN = 5V 0.0 0.1 0.2 0.3 0.4 0.5 OUTPUT LOAD (A) 0.6 0.7 0.8 1.8VOUT-PFM 2.5VOUT-PWM 2.5VOUT-PFM

FIGURE 1. EFFICIENCY CHARACTERISTICS CURVE

May 2, 2011 FN7849.0

Intersil (and design) is a registered trademark of Intersil Americas Inc. Copyright Intersil Americas Inc. 2011 All Rights Reserved. All other trademarks mentioned are the property of their respective owners.

RETURN TO ZERO
RETURN TO ZERO

EEWeb | Electrical Engineering Community

Visit www.eeweb.com

23

RETURN TO ZERO
RETURN TO ZERO

EEWeb
Electrical Engineering Community
Contact Us For Advertising Opportunities

advertising@eeweb.com www.eeweb.com/advertising
EEWeb | Electrical Engineering Community Visit www.eeweb.com

1.800.574.2791

24

Vous aimerez peut-être aussi