Nuts & Volts
Nuts & Volts
Nuts & Volts
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Star Link<br />
PERSONAL ROBOTICS<br />
sion or receipt of a message is exceptionally<br />
fast and for this context, give<br />
me that over bandwidth any day.<br />
All readers with battery operated<br />
robots will love to hear that Zigbee is<br />
something of a power miser, as well.<br />
The power consumption is almost<br />
negligible during transmission and<br />
receiving, and even less when Zibgee<br />
is idle, dozing, or hibernating.<br />
Transmission and receiving uses as<br />
much as 37 mA, whereas idle uses 500<br />
μa, doze 35 μa, and hibernate as little<br />
as 2.3 μa. Even in the hibernate mode,<br />
the chip still responds to attention.<br />
So much for all these numbers, but<br />
what does this actually mean for your<br />
robots? Well, you could take a Zigbee<br />
device and, depending on usage, it<br />
might last months or even years on a<br />
coin-shaped calculator battery.<br />
The range of Zibgee is an<br />
interesting thing in itself and you<br />
might say it depends on the specific<br />
topology which is in use. Certainly, if<br />
the most simple network connection<br />
is in use (peer-to-peer), then the<br />
absolute overall range is in the 250<br />
feet or less arena and 90 feet has been<br />
proven indoors (hmmmm, that will<br />
cover most homes). However, this<br />
range may be ‘virtually’ extended if,<br />
for example, a ‘mesh’ topology is<br />
used, as we will discuss later.<br />
A Zigbee network can be simple<br />
and complex at the same time; this<br />
mostly depending on the nodes<br />
which are in use. You can set up three<br />
‘node’ types within your network:<br />
• The PAN Coordinator (PANC,<br />
Personal Area Network Coordinator).<br />
– Starts and ‘owns’ the network.<br />
– Allows other devices to join.<br />
– Provides addresses and<br />
saves messages until they can be<br />
delivered.<br />
other device.<br />
– Scans to find a network to join.<br />
On top of this, a Zigbee device<br />
may belong to one of two classes of<br />
device:<br />
• FFD — Full Function Device which<br />
allows it to be a Coordinator or a<br />
Router Node.<br />
• RFD — Reduced Function Device<br />
which means it can only be an End<br />
Device Node.<br />
Whew! Having gotten through<br />
that, we can now look at some of the<br />
topologies which Zigbee allows us to<br />
construct.<br />
The absolute simplest topology is a<br />
peer-to-peer involving two devices. Take<br />
a look at Figure 1. This is a subset of the<br />
star topology, which we’ll discuss next.<br />
Of these two devices, one must be a<br />
PANC and the other may be an End<br />
Device. One way to look at this particular<br />
net is as if it were a point-to-point<br />
serial connection, only without a cable.<br />
The maximum distance the two nodes<br />
may be apart is approximately 250 feet.<br />
We can now imagine our PC with<br />
the PANC Node and the robot with<br />
the End Device Node communicating<br />
Robot<br />
RS232<br />
End<br />
Device<br />
across the living room floor, the robot<br />
obeying commands entered at the PC<br />
relaying back status information, such<br />
as battery charge level.<br />
The next level of topology is an<br />
extension of the simple peer or peer<br />
network — the star (see Figure 2). The<br />
star still has at its center — the PANC<br />
— but may have a number of End<br />
Device Nodes (up to 64K) with which<br />
it communicates. The PANC may<br />
communicate with any of the End<br />
Devices, however, each End Device<br />
may only communicate with the<br />
PANC and not with each other.<br />
In this case, we might have a<br />
number of robots, each with an End<br />
Device communicating with the PANC<br />
attached to our PC. From the PC, we<br />
might address each, in turn, issuing<br />
control commands. The maximum<br />
range would again be approximately<br />
250 feet in any direction.<br />
This is most likely the topology a<br />
roboticist would use, as it is simple<br />
and allows for many robots to be<br />
connected to a central PC or, indeed,<br />
a ‘head/lead’ robot. For the sake of<br />
completeness, we will look at mesh<br />
topologies (see Figure 3) (though there<br />
are cluster or tree topologies, as<br />
well). The main advantages a mesh<br />
network will bring are extension of<br />
250 foot<br />
range<br />
Zigbee<br />
RFD or FFD<br />
■ FIGURE 1<br />
• The Router.<br />
– Does not own the network, but<br />
routes messages.<br />
– Scans to find a network to join<br />
and provides addresses.<br />
• The End Device.<br />
– Does not own or start a<br />
network.<br />
– Communicates with a single<br />
Zigbee FFD<br />
PANC<br />
RS232<br />
PC<br />
April 2006 81