Congratulations, Village-Telco. Congratulations (and thanks) David Rowe.
The December 2009 issue of Linux Journal just made it to my mailbox, and what do I see on the front cover but "Mesh Potato - Custom WiFi Hardware".
I eagerly turn inside, and on page 68, I find an "In Depth" article on the Mesh Potato, written by none other than our illustrious David Rowe. I'm impressed!
And now, we wait for the inevitable flood of inquiries from excited LJ readers.
We need to achieve some consensus on the MP01 antenna. The antenna design will drive the enclosure design and is hence on the critical path for getting production Mesh Potatoes out the door. It's also something we will be stuck with for a few years, so we need to make a careful decision.
So the goal of this thread is to come up with an antenna _specification_, i.e. directional pattern, and gain.
Proposal 1: My proposal is a vertically polarised omni-directional antenna with 0-2dBi gain. The PCB will contain a footprint for an external connector so that with a few minutes soldering an external antenna connector can be added and the internal antenna disabled.
Please feel free to present other proposals.
Use Case and Requirements -------------------------
Please feel free to debate these assumptions, as for me they drive the antenna specification:
1/ The Use Case I have in my head is MPs sitting on top of poles about 200m apart in a township. The link is not power limited and they have line of site but lots of multipath. Power limited Wifi "long shots" represent 10% of the possible MP use and can be handled by an external directional antenna.
2/ I am assuming that by definition a mesh network needs omni antennas. Otherwise a mesh node can't hear most other nodes and an ad-hoc mesh can't form.
3/ It was decided at the 2nd Village Telco Workshop to use a printed antenna as it simplifies the outdoor enclosure and significantly lowers costs.
Whats Possible and whats not: -----------------------------
1/ We have an engineer (Jeff W) working on the design who has some experience with printed antennas, his opinion is that a printed omni antenna will have a gain in the range of 0-2dBi. The current external omni antenna has a gain specification of 3dBi. This is fed through several connectors and some coax (estimated loss of 1dB) so about 2dBi effective. To get significantly higher gains (e.g. 6dBi omni) means an external antenna, e.g. like a Picostation.
2/ Redesigning the RF side of the MP is out of scope, so any antenna will be bolted onto the Atheros reference design via a simple impedance matching network. An electronic external/internal antenna switch is out of scope at present, as is an electronically steerable antenna or extra radios.
3/ The performance of adding external reflectors is not something Jeff and I feel is easily repeatable in production. You are welcome to experiment, but it's not something we can commit to as a design spec.
Please feel free to discuss over the next few days, we will make a firm call early next week.
> We need to achieve some consensus on the MP01 antenna. The antenna
> design will drive the enclosure design and is hence on the critical path
> for getting production Mesh Potatoes out the door. It's also something
> we will be stuck with for a few years, so we need to make a careful
> decision.
> So the goal of this thread is to come up with an antenna
> _specification_, i.e. directional pattern, and gain.
> Proposal 1: My proposal is a vertically polarised omni-directional
> antenna with 0-2dBi gain. The PCB will contain a footprint for an
> external connector so that with a few minutes soldering an external
> antenna connector can be added and the internal antenna disabled.
> Please feel free to present other proposals.
> Use Case and Requirements
> -------------------------
> Please feel free to debate these assumptions, as for me they drive the
> antenna specification:
> 1/ The Use Case I have in my head is MPs sitting on top of poles about
> 200m apart in a township. The link is not power limited and they have
> line of site but lots of multipath. Power limited Wifi "long shots"
> represent 10% of the possible MP use and can be handled by an external
> directional antenna.
My opinion is that it normally takes quite a long period of time for a mesh network to reach this density. In the beginning the MPs will be far apart and then it will grow from there. Even if you do reach a good enough densidy to use the internal omni of the MPs, then there will always be some nodes on the side that needs a directional.
I think it is a good idea to have an external SMA connector for a directional antenna and I think it should be included for all MPs.
My personal preference will be to have two internal antennas that are software selectable. The default antenna could be the omni, but with the option to select a directional when needed.
> 2/ I am assuming that by definition a mesh network needs omni antennas.
> Otherwise a mesh node can't hear most other nodes and an ad-hoc mesh
> can't form.
> 3/ It was decided at the 2nd Village Telco Workshop to use a printed
> antenna as it simplifies the outdoor enclosure and significantly lowers
> costs.
> Whats Possible and whats not:
> -----------------------------
> 1/ We have an engineer (Jeff W) working on the design who has some
> experience with printed antennas, his opinion is that a printed omni
> antenna will have a gain in the range of 0-2dBi. The current external
> omni antenna has a gain specification of 3dBi. This is fed through
> several connectors and some coax (estimated loss of 1dB) so about 2dBi
> effective. To get significantly higher gains (e.g. 6dBi omni) means an
> external antenna, e.g. like a Picostation.
> 2/ Redesigning the RF side of the MP is out of scope, so any antenna
> will be bolted onto the Atheros reference design via a simple impedance
> matching network. An electronic external/internal antenna switch is out
> of scope at present, as is an electronically steerable antenna or extra
> radios.
> 3/ The performance of adding external reflectors is not something Jeff
> and I feel is easily repeatable in production. You are welcome to
> experiment, but it's not something we can commit to as a design spec.
> Please feel free to discuss over the next few days, we will make a firm
> call early next week.
On Fri, Nov 6, 2009 at 1:23 PM, Johann Hugo <jh...@meraka.csir.co.za> wrote:
> On Friday 06 November 2009, David Rowe wrote: > > Hello List,
> > We need to achieve some consensus on the MP01 antenna. > My personal preference will be to have two internal antennas that are > software > selectable. The default antenna could be the omni, but with the option to > select a directional when needed.
If this is feasible, then logically, there should be a predefined 'congestion level' at which the antenna switching takes place, so that the MPs drop the 'nuisance' connections and focus on only predefined useful links. This presupposes that even the directional antenna will pick up more than one link, and is not designed for precise point-to-point linking.
However, if the 'useful' links are not available at that moment, then of course the switch should not be activated.
On Fri, Nov 6, 2009 at 2:09 AM, David Rowe <da...@rowetel.com> wrote: > Proposal 1: My proposal is a vertically polarised omni-directional > antenna with 0-2dBi gain. The PCB will contain a footprint for an > external connector so that with a few minutes soldering an external > antenna connector can be added and the internal antenna disabled.
The more polarization the better - it will cut out some of the unpolarized multipath.
How easy will it be to open the MP01 housing?
> 1/ The Use Case I have in my head is MPs sitting on top of poles about > 200m apart in a township. The link is not power limited and they have > line of site but lots of multipath. Power limited Wifi "long shots" > represent 10% of the possible MP use and can be handled by an external > directional antenna.
As the density increases, more MPs will end up on the window sill (with even more multipath) because: 1. If user gets good signal inside, they're not going to climb on the roof. 2. Less cable. 3. Safer indoors. 4. They'll be able to inspect the LCD.
> 2/ I am assuming that by definition a mesh network needs omni antennas. > Otherwise a mesh node can't hear most other nodes and an ad-hoc mesh > can't form.
Indoor omnis end up directional - they only look out the window they're at.
If you draw a straight line on a map from A to B and look at a cross section of the contour, you'll see concave valleys and convex hills, at one scale or another. The hills don't need to be steep and only have to be as high as the houses to have major effect on a link.
WiFi signal propagates well across the open air in concave valleys - there is a lot more Fresnel zone. Conversely, WiFi has a serious problem with convex hills, even when there's a high site on top of the hill (because it's convex).
So I find mesh omnis tend to zigzag signal along the sides of the valleys around the hills, and each node becomes up to 180 degrees directional anyway.
The MPs probably won't be on top of poles; they'll be strapped to the side. The pole will shield signal on one side of the MP, so the installer will be pointing the MP.
Please ensure that the outside of the housing is 8mm away from the PCB antennae so that the pole/tree/wall will be a good natural ground plane, or we can stick one on.
Just a quick note. Unfortunately we had to change our plans for the LCD panel, at least in this first generation of the Mesh Potato. The panel turned out to be a little more expensive than we imagined and also the added complexity/cost of weatherproofing the LCD panel in the external enclosure not to mention the work involved in integrating the panel into the MP circuitry were all factors in the decision. It's a good idea but we felt we needed to focus on delivering the core functionality of the Mesh Potato.
David Carman wrote:
> On Fri, Nov 6, 2009 at 2:09 AM, David Rowe <da...@rowetel.com> wrote:
>> Proposal 1: My proposal is a vertically polarised omni-directional
>> antenna with 0-2dBi gain. The PCB will contain a footprint for an
>> external connector so that with a few minutes soldering an external
>> antenna connector can be added and the internal antenna disabled.
> The more polarization the better - it will cut out some of the
> unpolarized multipath.
> How easy will it be to open the MP01 housing?
>> 1/ The Use Case I have in my head is MPs sitting on top of poles about
>> 200m apart in a township. The link is not power limited and they have
>> line of site but lots of multipath. Power limited Wifi "long shots"
>> represent 10% of the possible MP use and can be handled by an external
>> directional antenna.
> As the density increases, more MPs will end up on the window sill
> (with even more multipath) because:
> 1. If user gets good signal inside, they're not going to climb on the roof.
> 2. Less cable.
> 3. Safer indoors.
> 4. They'll be able to inspect the LCD.
>> 2/ I am assuming that by definition a mesh network needs omni antennas.
>> Otherwise a mesh node can't hear most other nodes and an ad-hoc mesh
>> can't form.
> Indoor omnis end up directional - they only look out the window they're at.
> If you draw a straight line on a map from A to B and look at a cross
> section of the contour, you'll see concave valleys and convex hills,
> at one scale or another. The hills don't need to be steep and only
> have to be as high as the houses to have major effect on a link.
> WiFi signal propagates well across the open air in concave valleys -
> there is a lot more Fresnel zone. Conversely, WiFi has a serious
> problem with convex hills, even when there's a high site on top of the
> hill (because it's convex).
> So I find mesh omnis tend to zigzag signal along the sides of the
> valleys around the hills, and each node becomes up to 180 degrees
> directional anyway.
> The MPs probably won't be on top of poles; they'll be strapped to the
> side. The pole will shield signal on one side of the MP, so the
> installer will be pointing the MP.
> Please ensure that the outside of the housing is 8mm away from the PCB
> antennae so that the pole/tree/wall will be a good natural ground
> plane, or we can stick one on.
> David
-- Steve Song
Telecommunications Fellow, Shuttleworth Foundation
<steve.s...@shuttleworthfoundation.org> wrote: > Just a quick note. Unfortunately we had to change our plans for the LCD > panel, at least in this first generation of the Mesh Potato.
Thank you Johann, Vickram and David C for your comments on the antenna specification.
Johann I think two antennas or an electronic switch to select between internal or external antenna is out of scope with our current resources. Would be great to see on MP01 V2.0.
David C:
1/ At this stage the housing hasn't been designed, so not sure how easy it will be to pull apart. We will no doubt discuss the housing design on this list so lets keep your 8mm spec and ease of dissasembly in mind.
2/ OK so based on your comments and real world operation of a mesh lets include internal operation as a Use Case. How does that affect the antenna specification we should aim for (e.g. directional pattern, and gain)?
> Thank you Johann, Vickram and David C for your comments on the antenna
> specification.
> Johann I think two antennas or an electronic switch to select between
> internal or external antenna is out of scope with our current resources.
> Would be great to see on MP01 V2.0.
David, I haven't seen your MP design, but if it supports antenna diversity then there should already be an electronic antenna switch on the MP.
All the mini-PCI wifi adapters that I make use of supports diversity and they usually have two UFL connectors that connects to a small antenna switch. One can usually do a software select between diversity / ant1 or ant2.
If the MP supports diversity then it would be nice to at least have one of them come out on a SMA connector. If it's not the case then I would rather go for a wide angle directional than for an omni.
> 1/ At this stage the housing hasn't been designed, so not sure how easy
> it will be to pull apart. We will no doubt discuss the housing design
> on this list so lets keep your 8mm spec and ease of dissasembly in mind.
> 2/ OK so based on your comments and real world operation of a mesh lets
> include internal operation as a Use Case. How does that affect the
> antenna specification we should aim for (e.g. directional pattern, and
> gain)?
On Sat, Nov 7, 2009 at 4:01 AM, David Rowe <da...@rowetel.com> wrote: > 2/ OK so based on your comments and real world operation of a mesh lets > include internal operation as a Use Case. How does that affect the > antenna specification we should aim for (e.g. directional pattern, and > gain)?
Ideally a patch array for two reasons: 1. The antenna is only receiving over a 180 degree arc anyway - best to increase gain in that direction. 2. The patch array has a larger surface area than the omni's point source. This will reduce the chance of the antenna finding itself in an internode hole in a multipath environment. Horror stories about sliding doors & windows aside, this is important in router positioning.
When positioning a router in a home, there is usually an obvious place to site the router - as high up as possible, away from metal/walls and with a good view in the general direction of the nearest gateway. Usually the router ends up on the window sill, or still better, hanging from the curtain rail at the top of the window, but sometimes it ends up deeper inside the house with a view through the window.
Once the general site is chosen, I look for signal quality. If links are marginal or sparse, I then move the router a few centimetres to one side or the other. After a few moves, I usually find good signal - this is what I assign to the diffraction pattern and point source antenna. With difficult sitings, I fix the router in the exact spot that I have found, so that the owner doesn't move it and lose signal. This is where I think a patch array will avoid problems.
I do not think that a directional antenna detracts from the ability of the nodes to form an ad-hoc mesh network.
> David, I haven't seen your MP design, but if it supports antenna diversity > then there should already be an electronic antenna switch on the MP.
Yes there are two antenna ports on the AR2317. Antenna 1 is a tx/rx
port which has an internal switch for tx/rx switching. Antenna 2 is rx
only. On the reference design (and AR2317 routers like the DIR-300)
Antenna 1 connects to the RP-SMA connector and Antenna 2 is implemented
as a very small "hairpin" antenna on the PCB.
I am not sure how it all comes together in the software, but I am
guessing Antenna 1 is used most of the time. I think the idea is that
Antenna 2 is used on rx if multipath wipes out the signal from Antenna
1, but I am not sure if this is a hardware or driver level feature.
Actually the data sheet block diagram suggests the rx signals from
Antenna 1 & 2 are just summed, rather than being switched.
So it would be possible to use an internal PCB antenna for Antenna 1,
then route Antenna 2 to an external antenna connector, but this external
antenna connector would then just be for rx.
> All the mini-PCI wifi adapters that I make use of supports diversity and they > usually have two UFL connectors that connects to a small antenna switch. One > can usually do a software select between diversity / ant1 or ant2.
> If the MP supports diversity then it would be nice to at least have one of > them come out on a SMA connector. If it's not the case then I would rather go > for a wide angle directional than for an omni.
> Regards
> Johann
> > David C:
> > 1/ At this stage the housing hasn't been designed, so not sure how easy
> > it will be to pull apart. We will no doubt discuss the housing design
> > on this list so lets keep your 8mm spec and ease of dissasembly in mind.
> > 2/ OK so based on your comments and real world operation of a mesh lets
> > include internal operation as a Use Case. How does that affect the
> > antenna specification we should aim for (e.g. directional pattern, and
> > gain)?
> Ideally a patch array for two reasons: > 1. The antenna is only receiving over a 180 degree arc anyway - best > to increase gain in that direction.
OK, I need to figure out what that means in terms of directivity, usually we say something like 60 degree -3dB bandwidth, or 12dBi on-axis gain.
> 2. The patch array has a larger surface area than the omni's point > source. This will reduce the chance of the antenna finding itself in > an internode hole in a multipath environment. Horror stories about > sliding doors & windows aside, this is important in router > positioning.
This afternoon I placed 3 mesh nodes in my garage, then set up a 4th node (Nanostation 2) in my office pointing out of the window at the garage. The Nanostation 2 has two patch antennas connected to create a directional antenna. However I found the Nanostation 2 very sensitive to alignment - a move of a few cm, or a few degrees rotation and the relative strength of the 3 signals from the other mesh nodes jumped up/down 6dB.
Have you (or anyone else on the list) found patch antennas mounted indoor to be less sensitive to positioning?
> > David, I haven't seen your MP design, but if it supports antenna
> > diversity then there should already be an electronic antenna switch on
> > the MP.
> Yes there are two antenna ports on the AR2317. Antenna 1 is a tx/rx
> port which has an internal switch for tx/rx switching. Antenna 2 is rx
> only. On the reference design (and AR2317 routers like the DIR-300)
> Antenna 1 connects to the RP-SMA connector and Antenna 2 is implemented
> as a very small "hairpin" antenna on the PCB.
That will be sad. I see the Nanostation2 and the picostation2 uses the AR2316 and they both bring out an external SMA connector. I wonder if Atheros changed the design :(
> I am not sure how it all comes together in the software, but I am
> guessing Antenna 1 is used most of the time. I think the idea is that
> Antenna 2 is used on rx if multipath wipes out the signal from Antenna
> 1, but I am not sure if this is a hardware or driver level feature.
> Actually the data sheet block diagram suggests the rx signals from
> Antenna 1 & 2 are just summed, rather than being switched.
> So it would be possible to use an internal PCB antenna for Antenna 1,
> then route Antenna 2 to an external antenna connector, but this external
> antenna connector would then just be for rx.
> Cheers,
> David
> > All the mini-PCI wifi adapters that I make use of supports diversity and
> > they usually have two UFL connectors that connects to a small antenna
> > switch. One can usually do a software select between diversity / ant1 or
> > ant2.
> > If the MP supports diversity then it would be nice to at least have one
> > of them come out on a SMA connector. If it's not the case then I would
> > rather go for a wide angle directional than for an omni.
> > Regards
> > Johann
> > > David C:
> > > 1/ At this stage the housing hasn't been designed, so not sure how easy
> > > it will be to pull apart. We will no doubt discuss the housing design
> > > on this list so lets keep your 8mm spec and ease of dissasembly in
> > > mind.
> > > 2/ OK so based on your comments and real world operation of a mesh lets
> > > include internal operation as a Use Case. How does that affect the
> > > antenna specification we should aim for (e.g. directional pattern, and
> > > gain)?
On Sat, Nov 7, 2009 at 10:46 AM, David Rowe <da...@rowetel.com> wrote: >> Ideally a patch array for two reasons: >> 1. The antenna is only receiving over a 180 degree arc anyway - best >> to increase gain in that direction.
> OK, I need to figure out what that means in terms of directivity, > usually we say something like 60 degree -3dB bandwidth, or 12dBi on-axis > gain.
Any directivity will increase gain in a particular direction. In a patch array, directivity is determined by the size of the ground plane. A ground plane the size of the array itself (as in the Nano) will increase directional gain, while still allowing communication with nodes behind it.
> This afternoon I placed 3 mesh nodes in my garage, then set up a 4th > node (Nanostation 2) in my office pointing out of the window at the > garage. The Nanostation 2 has two patch antennas connected to create a > directional antenna. However I found the Nanostation 2 very sensitive > to alignment - a move of a few cm, or a few degrees rotation and the > relative strength of the 3 signals from the other mesh nodes jumped > up/down 6dB.
Try swopping the Nano with one of the mesh nodes (with monopole, I presume) - I expect you'll see even more fluctuation.
running mesh nodes from a indoor location is problematic, but works if the mesh is dense enough. I usually recommend to place them on the roof on a small pole. There is no point finding a sweet spot indoors. Lift your arm, move the TV, open the window or welcome a guest and the sweet spot is moving or just disappearing.
Re: Internal antenna
Lets not forget we need two internal antennas. Since the RX only port is more sensitive than the TX/RX port it deserves a well-working antenna as well.
Internal delta loops / cubical quads could also be an option.
Delta loops or quads have relatively wide bandwidth. So they are less sensitive to capacitive influence from the environment that may alter their resonance frequency and shift it away from the frequency range that we use. Quads are popular DIY antennas in the Freifunk community (mostly Bi-Quads with reflectors)
Gain of a single loop element is 0.67dBd / 2.8dBi (delta loop), respectively 1dBd / 3.15dBi (quad). Feed impedance is 80-120 Ohms (depending on capacitive influence/antenna height), symmetrical input. Hence they can be fed without Balun. I guess that the impedance matches more or less with the RF ports of the AR2317 chip.
The directional pattern is bidirectional with 80 degrees angle in the E-plane and large opening angle in the H-plane.
The shape of the delta loop antenna is a triangle with ~1/3 lambda length per side multiplied by the shortening factor of the pcb material. Respectively 1/4 lambda for the quad.
A optional loop reflector element could be mounted on the backside of the MP housing. The reflector element would have the same shape but needs to be a few percent larger. Placed about 0.19 lambda behind the internal loop the gain should be around 7-8dBi, with a front-to-back ratio of 12-15dBi.
I know I am meant to bringing this around to a consensus but I can't resist a couple of off-beat suggestions:
1/ The tiny ceramic antennas you get in USB Wifi devices have 1 - 1.5dBi gain. In the ball park with a printed omni antenna but would save significant PCB area so you would get a smaller potato.
I suspect these antennas perform worse than their specs suggest otherwise why wouldn't all routers use them instead of the typical rubber antennas?
2/ What would happen if the external antenna is connected in parallel with an internal antenna, i.e. no switching at all? I am moving into speculation land here, so pls correct the following if I have missed something fundamental:
I think this would split the power in two (a 3dB loss). However at the receiver you get the sum of the external plus internal antenna signals. For example if you had a 12dBi directional antenna connected it's effective gain would be 9dBi, but you would also have the ability to receive signals from the omni.
On the tx side signal would go out both antennas.
Another bonus on the rx side is that one antenna would passively re-radiate half the energy it receives out of the other antenna, which may (or may not) be a good thing for a mesh. I am not sure how to calculate path loss in this case (i.e. is the total loss two paths or one?) - it could be the re-radiated signal is too weak to be useful.
Disadvantage would be strong interfering signals would be picked up by the omni, overcoming some of the benefit of a directional antenna.
Perhaps to make this work some impedance match is required to make all 3 ports 50 ohms, I am not sure how reflections at microwave frequencies would affect performance.
Anyway, just a crazy idea, and with my project manager hat on I would have to say out of scope for this version of the MP.
really interesting ideas. I do agree with your conclusions.
> 1/ The tiny ceramic antennas you get in USB Wifi devices have 1 - 1.5dBi > gain. In the ball park with a printed omni antenna but would save > significant PCB area so you would get a smaller potato.
- in the field of antennas there are no wonders... The aperture of such antennas is small, hence the "gain" is essentially a loss compared to a dipole in free air. I have never seen a device with such a antenna performing well.
> 2/ What would happen if the external antenna is connected in parallel > with an internal antenna, i.e. no switching at all? I am moving into > speculation land here, so pls correct the following if I have missed > something fundamental:
It is not uncommon to connect antenna systems in parallel. High gain flat panel antennas are often consisting of many parallel antennas. Also HAMs doing E-M-E are using parallel antenna systems, too.
> I think this would split the power in two (a 3dB loss). However at the > receiver you get the sum of the external plus internal antenna signals.
Received signals received exclusively from the omni will be radiated from the directional and vice versa, as you have mentioned below.
> Another bonus on the rx side is that one antenna would passively > re-radiate half the energy it receives out of the other antenna, which > may (or may not) be a good thing for a mesh. I am not sure how to > calculate path loss in this case (i.e. is the total loss two paths or > one?) - it could be the re-radiated signal is too weak to be useful.
Well, I think you have to calculate with two paths. The effect of a TX power of -80 dBm re-radiated from a antenna is probably rather low.
> Disadvantage would be strong interfering signals would be picked up by > the omni, overcoming some of the benefit of a directional antenna.
Combining a omni with a directional means we are going to lose the ability of the directional antenna to effectively attenuate interference.
> Perhaps to make this work some impedance match is required to make all 3 > ports 50 ohms, I am not sure how reflections at microwave frequencies > would affect performance.
If the target impedance is 120 Ohms and you have two antennas with 240 Ohms you can just connect them parallel IMHO. However the critical point is that we have a open-ended transmission line if the external antenna port is unused.
> Anyway, just a crazy idea, and with my project manager hat on I would > have to say out of scope for this version of the MP.