Product survey: Checking and verifying Bluetooth traffic
Protocol analysers and RF/baseband test sets are prerequisites for testing the Bluetooth wireless interface of host products.
Brian Kerridge, Chief Editor TME -- Test & Measurement World, 8/1/1999
| A major requirement for bluetooth testing is
the need to verify the operation of the wireless interface built into a host product. Over
two thousand companies have already signed up with the Bluetooth Special Interest Group
(SIG) (Ref 1) and this signifies the amount of design and test activity that will follow. The final extent of Bluetooth-enabled products is something that at present we can only imagine. But for certain, well see lots of existing products such as PCs, printers, and portable office equipment that are presently anchored by connecting cables given welcome release. Equally important will be new lines of communication with PDAs, digital cameras, and portable phones. Think about domestic equipment and someone, somewhere, will be puzzling out how your TV, fridge, and hi-fi can also benefit from Bluetooth. Further still, Bluetooth is sure to attract educational, entertainment, and toy businesses. Will we see Bluetooth-enabled fluffy toys? You can put money on it. With this diversity of product development, its a great relief that the whole Bluetooth business is very tightly regulated. This regulation constrains the way not only how youll design, but also test, your Bluetooth-enabled product. A Bluetooth wireless interface subdivides into three layers of design: radio layer, baseband protocol layer, and the application layer. Youll buy an approved Bluetooth radio chipset or module to manage standard RF and baseband signal handling, so most of your work will be designing and testing the application-specific features of the wireless interface. Again, regulation helps. The Bluetooth SIG classifies all products and this, in turn, describes what implementation, or product profile, from the overall Bluetooth specification relates to your product. A LAN access profile, for example, describes services and connection states for an application layer that includes: initialisation of LAN access service; shutdown of LAN access service; establish LAN connection; lost LAN connection; disconnect LAN connection. As regards testing, certainly youll need something to check out the firmware that implements your products Bluetooth profiles and that means some level of protocol analysis. Our survey (below) covers several dedicated Bluetooth protocol analysers with broadly similar performance. The Bluetooth community calls these test units sniffers because they can passively sense and translate data via RF from any Bluetooth product in range. In this mode, and linked to your PC via USB, they capture, decode, and display data packets, commands, and events at baseband and higher protocol levels. Some sniffers also have a piconet mode where they can actively participate as a master or slave. In a piconet, Tektronixs BPA100 can initiate limited modes of operation including sending your product intentional error signals to partially stress test it. CATCs Merlin protocol analyser remains a sniffer-only product but, now, includes Merlins Wand hardware to add piconet capability. Unlike Teks self-contained BPA100, Merlins Wand is an additional piece of hardware with its own USB link. Its significant though, that only the Wand hardware joins a piconet. The Merlin box itself therefore still sniffs all piconet traffic, even that from the Wand. If you want to expand a piconet, you can add additional Wands (1k Euros). A recent firmware upgrade to version 1.6 gives Merlin profile filtering. If your application requires a top-end protocol tester, then Rohde & Schwarzs PTW60 is becoming the industry standard for full protocol and profile compliance testing. This unit may be an overkill and too pricey for some developers. Basic cost is around 60k Euros, although this can rocket to over 200k Euros depending upon how many software library test cases you purchase. As a piconet master, the unit can initiate all prescribed Bluetooth test cases and even allows you to develop your own test scenarios both features well beyond the scope of sniffers. You can study a more detailed comparison of all Bluetooth protocol analysers at www.palowireless.com/bluearticles/bluetoothanalyzercompare1.asp. Circumventing RF You might well believe, in principle, that you dont need to measure the radio Bluetooth interface in the same way you dont expect to measure bi-directional driver capability when you design-in a GPIB chip, for example. Your argument might hold if it werent for more Bluetooth regulation, namely, compliance testing. All products, before you can market them as Bluetooth-enabled, must pass a formal bluetooth compliance test carried out by an approved independent test house (see the Box Conquering compliance below). As well as exhaustively checking protocols, compliance testing also looks closely at the RF and baseband parameters of a wireless interface (Ref 2). Just as with the EMC directive, CE-marking and so on, you should approach these tests as unavoidable, rather expensive formalities that your product should pass the first time. To build that assurance, youll want to carry out at least some level of in-house pre-compliance testing. This, in turn, means youll need a degree of RF measurement capability and expertise. Our survey on page 17 also includes dedicated Bluetooth test sets that, although primarily intended for production test, can also help you to do this work. RF is the single big-unknown as far as many Bluetooth designers and test engineers are concerned. Most of the work in designing and testing a wireless interface into a host product concerns software. If youre a software specialist, and most Bluetooth designers and testers will be, then feel at least a small level of foreboding. What youre designing with is a 2.4-GHz, frequency-hopping, 720-kbps, 10-metre range radio. The 2.4 GHz gives a 125-mm/5-inch wavelength. So, a turn of your head can change the whole standing wave pattern in the multiplicity of transmissions, Bluetooth and alien, in which your product must reliably operate. Such a movement may shift the precise location of your product from an RF anti-node to a node. Frequency hopping should counter such problems but the data rate may suffer as the system strains to overcome collisions or initiates retransmissions. In short, in replacing cables with RF, youve exchanged Ohms law for an inverse square law and introduced an overwhelming number of variables where few existed before. Whats more, youre now bordering the territory of an endangered species the RF designer. Lets face it, youre an RF virgin and youd better bone up, at least, on basics. Reference designs offer refuge Dedicated RF test sets A significant feature of Anritsus MT8850A is the ability to generate dirty transmitter signals, which enable you to investigate how well your product performs under stressful conditions. Bluetooth is designed primarily as a robust communication system and is certainly not state of the art. By this means, the Bluetooth SIG aims to accommodate the widest range of applications in an unlimited number of environments. For example, the Bluetooth specification allows receiver channel frequency to have up to a 75-kHz error after a frequency hop and at the commencement of a new data packet. Furthermore, the specification allows channel frequency to drift by another 40 kHz during the time taken to transmit one packet. A preset dirty transmitter function allows you to assess your products receiver sensitivity under these adverse conditions. Unplug-fests are like beer-fests Testing a products profiles in isolation is one step, having it pass compliance testing is another, but neither or both those steps prove that your product will actually work in the wild. In theory, and with those two test steps behind you, it certainly should. Now, as further proof, come a hotchpotch of tests, which take place at what the Bluetooth community calls unplug-fests, or what you probably know better as interoperability trials. Bluetooth SIG declares that participation in unplug-fests is not mandatory but highly recommended. Unplug-fests, organised at intervals by the Bluetooth SIG, should be fun events where you release your product into a roomful of other equally unsuspecting products to see what happens. Will your product link up to the piconet? Will it identify what other products are on the net? Will it communicate with the products its supposed to and disregard the others? These are just a few of the imponderables that unplug-fests allow you to investigate. One drawback of unplug-fests is that they occur infrequently and, if your product misbehaves at one of these events, you have very limited time and probably no chance to take corrective action. On returning to base, you may have a quick fix and then want retest interoperability straightaway. As unplug-fests take place at roughly three-month intervals, that sort of delay only increases time-to-market pressures. One company, Wireless Futures (Milton Keynes, UK, www.thebluelabs.com), aims to relieve this pressure by providing permanent unplug-fest facilities. The company is now in the process of establishing a pool of Bluetooth reference devices with various product profiles in order to replicate a wide range of unplug-fest conditions. In addition, the company offers lab facilities for on-the-spot modifications. If you find its too tough designing-in Bluetooth, then this company also provides a Bluetooth stack development service. Other Bluetooth test avenues These instruments satisfy the needs mainly of the designers
of radio chipsets and modules. The instruments make discrete physical-level measurements
and have no ability to operate in a piconet. Ten-second production testing In practice, what will happen is that manufacturers will devote somewhere between zero and ten seconds maximum for testing a Bluetooth interface. The simplest way to inspire confidence in a good level of Bluetooth operation is by a selection of RF and baseband tests. Theres hardly a need to exhaustively test Bluetooth product profiles because theyll be safely cast into firmware and, anyway, will have been thoroughly tested in development. However, a simple functional test, such as a Bluetooth printer actually printing, initiated via the Bluetooth interface also usefully adds confidence. While speed of test is critical, and high volume justifies it, production engineers will tend to favour top-end radio test sets, such as Rohde & Schwarzs CMU200, to achieve throughput. These test sets are not dedicated Bluetooth instruments but rather universal test sets optimised for Bluetooth. These may be just the same test sets that manufacturers already use for mobile phone test. These test sets are also high cost (50k Euros) so some producers may consider Anritsus MT8850A test set. At much lower cost, and as a dedicated Bluetooth tester, its measurement speed challenges top-end units. For example, the test set can measure transmitter power at 100 readings/s, which means for example you can run a go/no-go test on 100 frequency hops in less than one second. In the end, what you test in production will depend upon where the product goes. On the one hand, its unlikely that Mums will complain if the fluffy toy little Joey had for Christmas fails at two metres. On the other hand, up-market PDA users with gadget-man mentality will most certainly kick up if your product performs intermittently above 9.5 metres. For many companies, especially those of high repute with established product lines, adding Bluetooth puts a lot at stake. Itll be no good saying it worked fine with cables. Bluetooth is marvellously ambitious and should be a credit to our industry. Its a bold step forward with great quality-of-life potential. Its also a small step into the unknown. References Brian Kerridge has been writing on design and test in electronics for ten years with both EDN and TME. He has 25 years industry experience of design, engineering management, and marketing in T&M, control electronics, and military radar. He is a Chartered Engineer and MIEE. |
||||||||||||||||||||||||||||||||||||||||||||||||
| Conquering
compliance You must not sell products as Bluetooth Enabled without first demonstrating compliance with the Bluetooth specification. The Bluetooth Qualification Program states exactly how to comply (see http://qualweb.opengroup.org). Briefly, though, you must first become a Bluetooth Member by signing the Adopters Agreement. Youll then need to work with two further organisations namely, a Bluetooth Qualification Test Facility (BQTF), and a Bluetooth Qualification Body (BQB). A BQTF is an accredited organisation with the skills and equipment to test a product against the Bluetooth specification. Some BQTFs may not offer qualification for every single aspect of the Bluetooth standard. Nonetheless, these BQTFs will still be busy because many product profiles will be limited to a few specific applications. And, anyway, some of the Bluetooth specification is optional. A BQTF performs measurements on your behalf only for the combination of radio, protocol, and profiles for your product. Based on the results, your BQTF prepares a test report that forms part of a compliance folder that it submits to a BQB. The BQB reviews all submissions to ensure that all the correct tests have been passed. After that, your product is formally listed as Bluetooth qualified and you can go ahead and apply a Bluetooth sticker, and then sell it as a Bluetooth-enabled product. |
||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||
















