RadioBanter

RadioBanter (https://www.radiobanter.com/)
-   Antenna (https://www.radiobanter.com/antenna/)
-   -   confusion about path loss calculation for zigbee (https://www.radiobanter.com/antenna/139081-confusion-about-path-loss-calculation-zigbee.html)

Ginu December 4th 08 06:15 PM

confusion about path loss calculation for zigbee
 
Hello,

I've been trying to wrap my head about this problem for days and can't
seem to figure it out.

Zigbee technology allows you to transmit at 250 kbps. I'm comparing
the required power to transmit at that rate to the required minimum
power based on the path loss equations to reach the minimum receiver
sensitivity of the 802.15.4 physical layer for Zigbee of roughly -94
dBm. Simple enough right?

To analyze the required power to transmit at 250 kbps for Zigbee, I've
just re-arranged the Shannon capacity formula of Rate = w * log_2 (1 +
(Pt * G)/(w*N + I)). Here, w is the bandwidth, Pt is the transmit
power, Pt * G is the received signal power, N is the white Gaussian
noise and I is the sum of interference powers.

For Zigbee, these values are as follows:
w = 5 MHz
N (in dB) = 10*log10(k) + 10*log10(T) where k is boltzmann's constant
of 1.23E-23 and T is the temperature in Kelvin of 300 degrees. In
Watts, N is approximately 3.6900e-021.

I've assumed no interference at this stage, so I = 0. Simple enough so
far right?

So to calculate the required transmit power to reach a rate of 250
kbps, I've just re-arranged this equation to yield:
Pt = [2^(250 kbps/w) - 1]*(w * N + I)/G and plugging in the above
values gives me a reasonable transmit power of 1.6 uW.

The reason I haven't talked about G yet is that I'm addressing it
here. G is the channel quality (path loss) and is defined as follows:

G(freq,D) = GrdBi+ GtdBi- 20*log10(4*pi*freq*d0/c) -
10*pathLossExponent*log10(D/d0) (in dB)

I'm using unity gains so GrdBi = GtdBi = 0 dBi. Other parameters a
freq = 2.4 GHz
d0 = 1m as the reference distance
c = 3.0 x 10^8
pathLossExponent = 2, and
D = 500 metres

Hence, G (in Watts) * Pt is the received signal power. G(2.4E9, 500)
is the path loss transmitting at 2.4 GHz a distance of 500m away. G
(2.4E9, 500) = -94.0254 dB

Now the first thing that I mentioned was the receiver sensitivity for
Zigbee of -94 dBm, Analyzing G (in dB). The required transmit power
considering this path loss is easily calculated as:

-94 dBm = P_required + G(2.4E9, 500)

P_required is then easily calculated as -94 dBm - G(2.4E9, 500) =
0.0254 dBm. This translates to a transmit power of 1 mW. This required
power is LARGER than the maximum permissible power to transmit at 250
kbps, which is the maximum data rate for Zigbee. So how does this make
sense?

However, 1mW happens to be the maximum transmit power of Zigbee of
roughly 0 dBm, so there may be a range problem here.

Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.

So again, we run into the same problem at 300m. It just doesn't make
sense to me. Can anybody shed some light on this? I hope my math is
clear. Thanks in advance.

Ginu December 4th 08 06:23 PM

confusion about path loss calculation for zigbee
 
On Dec 4, 1:15 pm, Ginu wrote:
Hello,

I've been trying to wrap my head about this problem for days and can't
seem to figure it out.

Zigbee technology allows you to transmit at 250 kbps. I'm comparing
the required power to transmit at that rate to the required minimum
power based on the path loss equations to reach the minimum receiver
sensitivity of the 802.15.4 physical layer for Zigbee of roughly -94
dBm. Simple enough right?

To analyze the required power to transmit at 250 kbps for Zigbee, I've
just re-arranged the Shannon capacity formula of Rate = w * log_2 (1 +
(Pt * G)/(w*N + I)). Here, w is the bandwidth, Pt is the transmit
power, Pt * G is the received signal power, N is the white Gaussian
noise and I is the sum of interference powers.

For Zigbee, these values are as follows:
w = 5 MHz
N (in dB) = 10*log10(k) + 10*log10(T) where k is boltzmann's constant
of 1.23E-23 and T is the temperature in Kelvin of 300 degrees. In
Watts, N is approximately 3.6900e-021.

I've assumed no interference at this stage, so I = 0. Simple enough so
far right?

So to calculate the required transmit power to reach a rate of 250
kbps, I've just re-arranged this equation to yield:
Pt = [2^(250 kbps/w) - 1]*(w * N + I)/G and plugging in the above
values gives me a reasonable transmit power of 1.6 uW.

The reason I haven't talked about G yet is that I'm addressing it
here. G is the channel quality (path loss) and is defined as follows:

G(freq,D) = GrdBi+ GtdBi- 20*log10(4*pi*freq*d0/c) -
10*pathLossExponent*log10(D/d0) (in dB)

I'm using unity gains so GrdBi = GtdBi = 0 dBi. Other parameters a
freq = 2.4 GHz
d0 = 1m as the reference distance
c = 3.0 x 10^8
pathLossExponent = 2, and
D = 500 metres

Hence, G (in Watts) * Pt is the received signal power. G(2.4E9, 500)
is the path loss transmitting at 2.4 GHz a distance of 500m away. G
(2.4E9, 500) = -94.0254 dB

Now the first thing that I mentioned was the receiver sensitivity for
Zigbee of -94 dBm, Analyzing G (in dB). The required transmit power
considering this path loss is easily calculated as:

-94 dBm = P_required + G(2.4E9, 500)

P_required is then easily calculated as -94 dBm - G(2.4E9, 500) =
0.0254 dBm. This translates to a transmit power of 1 mW. This required
power is LARGER than the maximum permissible power to transmit at 250
kbps, which is the maximum data rate for Zigbee. So how does this make
sense?

However, 1mW happens to be the maximum transmit power of Zigbee of
roughly 0 dBm, so there may be a range problem here.

Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.

So again, we run into the same problem at 300m. It just doesn't make
sense to me. Can anybody shed some light on this? I hope my math is
clear. Thanks in advance.


Just a bit of clarification. The node needs to transmit above
P_required for successful reception at the receiver above its minimum
receiver sensitivity, but this P_required is greater than the power
that correlates to a data rate of 250 kbps. To me this doesn't make
sense. I thought I should add in that conclusion. Thanks.

Ginu December 5th 08 05:59 AM

confusion about path loss calculation for zigbee
 
On Dec 4, 1:23 pm, Ginu wrote:
On Dec 4, 1:15 pm, Ginu wrote:



Hello,


I've been trying to wrap my head about this problem for days and can't
seem to figure it out.


Zigbee technology allows you to transmit at 250 kbps. I'm comparing
the required power to transmit at that rate to the required minimum
power based on the path loss equations to reach the minimum receiver
sensitivity of the 802.15.4 physical layer for Zigbee of roughly -94
dBm. Simple enough right?


To analyze the required power to transmit at 250 kbps for Zigbee, I've
just re-arranged the Shannon capacity formula of Rate = w * log_2 (1 +
(Pt * G)/(w*N + I)). Here, w is the bandwidth, Pt is the transmit
power, Pt * G is the received signal power, N is the white Gaussian
noise and I is the sum of interference powers.


For Zigbee, these values are as follows:
w = 5 MHz
N (in dB) = 10*log10(k) + 10*log10(T) where k is boltzmann's constant
of 1.23E-23 and T is the temperature in Kelvin of 300 degrees. In
Watts, N is approximately 3.6900e-021.


I've assumed no interference at this stage, so I = 0. Simple enough so
far right?


So to calculate the required transmit power to reach a rate of 250
kbps, I've just re-arranged this equation to yield:
Pt = [2^(250 kbps/w) - 1]*(w * N + I)/G and plugging in the above
values gives me a reasonable transmit power of 1.6 uW.


The reason I haven't talked about G yet is that I'm addressing it
here. G is the channel quality (path loss) and is defined as follows:


G(freq,D) = GrdBi+ GtdBi- 20*log10(4*pi*freq*d0/c) -
10*pathLossExponent*log10(D/d0) (in dB)


I'm using unity gains so GrdBi = GtdBi = 0 dBi. Other parameters a
freq = 2.4 GHz
d0 = 1m as the reference distance
c = 3.0 x 10^8
pathLossExponent = 2, and
D = 500 metres


Hence, G (in Watts) * Pt is the received signal power. G(2.4E9, 500)
is the path loss transmitting at 2.4 GHz a distance of 500m away. G
(2.4E9, 500) = -94.0254 dB


Now the first thing that I mentioned was the receiver sensitivity for
Zigbee of -94 dBm, Analyzing G (in dB). The required transmit power
considering this path loss is easily calculated as:


-94 dBm = P_required + G(2.4E9, 500)


P_required is then easily calculated as -94 dBm - G(2.4E9, 500) =
0.0254 dBm. This translates to a transmit power of 1 mW. This required
power is LARGER than the maximum permissible power to transmit at 250
kbps, which is the maximum data rate for Zigbee. So how does this make
sense?


However, 1mW happens to be the maximum transmit power of Zigbee of
roughly 0 dBm, so there may be a range problem here.


Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.


So again, we run into the same problem at 300m. It just doesn't make
sense to me. Can anybody shed some light on this? I hope my math is
clear. Thanks in advance.


Just a bit of clarification. The node needs to transmit above
P_required for successful reception at the receiver above its minimum
receiver sensitivity, but this P_required is greater than the power
that correlates to a data rate of 250 kbps. To me this doesn't make
sense. I thought I should add in that conclusion. Thanks.


anyone?

Richard Clark December 5th 08 07:10 AM

confusion about path loss calculation for zigbee
 
On Thu, 4 Dec 2008 21:59:34 -0800 (PST), Ginu
wrote:

anyone?


You appear to be contradicting yourself:
P_required... translates to a transmit power of 1 mW.

....
However, 1mW happens to be the maximum transmit power

However?

As for:
I hope my math is clear.

If your conclusions for these case tests depart from rational
expectations; then you have one of two possibilites:

1. Your math may be clear, but wholly invalid (transcription error of
complex formulas into ascii text is a bummer);

b. Your math may be clear or murky, and otherwise entirely correct,
but you did it wrong.

iii. You suffer from transcription AND "plug-n-chug" errors;

four. Zigbee technology doesn't work.

If this is a classroom problem, you need to resolve it yourself. If
this is an engineering problem, what did the Zigbee help-line offer?
There's probably a simple nomograph posted at their website or in
their application notes.

73's
Richard Clark, KB7QHC

Bob Bob December 5th 08 11:10 AM

confusion about path loss calculation for zigbee
 
So at 5AM I may not be too sharp...

The formula you used doesnt seem to allow for the required demod s/n.
QAM64 for example (from memory) is around 30dB so this has to be "added"
to the path loss. Differing mod/demod/FEC have differing margin
requirmeents. Somewhere in there too you have to stipulate the bit loss
rate "allowed".

In the past I use to calculate the noise floor at b/w, apply RX noise
figure and then add the margin.

When I last did this I upset my employer by saying that their marketing
hype was flawed. They had specified a lowest usable sensitivity that
after applying the required demod s/n was below the calculated noise
floor for that b/w. We were in fact consistently getting RX sensitivty
issues during the manufacturing phase for this reason... Marketing had
created a spec that wasnt possible!

Also, I dont know about 802.15 but I do know that 802.11 has variable
data rates (ie bandwidth) that can be advertised something like "54Mbps
and -87dBm sensitivity". The numbers dont actually go together. At
54Mbps you might get -77dBm and you have to use 11Mbps to get -87dBm!

I'll admit I havent studied your maths in detail....

The above probably not a lot of use to you... Sorry!

Cheers Bob VK2YQA

Ginu wrote:
Hello,

I've been trying to wrap my head about this problem for days and can't
seem to figure it out.


Ginu December 6th 08 07:16 PM

confusion about path loss calculation for zigbee
 
On Dec 5, 2:10 am, Richard Clark wrote:
On Thu, 4 Dec 2008 21:59:34 -0800 (PST), Ginu
wrote:

anyone?


You appear to be contradicting yourself:P_required... translates to a transmit power of 1 mW.
...
However, 1mW happens to be the maximum transmit power


However?

As for: I hope my math is clear.

If your conclusions for these case tests depart from rational
expectations; then you have one of two possibilites:

1. Your math may be clear, but wholly invalid (transcription error of
complex formulas into ascii text is a bummer);

b. Your math may be clear or murky, and otherwise entirely correct,
but you did it wrong.

iii. You suffer from transcription AND "plug-n-chug" errors;

four. Zigbee technology doesn't work.

If this is a classroom problem, you need to resolve it yourself. If
this is an engineering problem, what did the Zigbee help-line offer?
There's probably a simple nomograph posted at their website or in
their application notes.

73's
Richard Clark, KB7QHC


This isn't a classroom problem. It is a research study that I am
conducting.

For the first case, I used a distance of 500 metres, which
corresponded to what happens to be the maximum allowed power of 1 mW.
Hence, I stated that I may be having a range issue because I was
testing the maximum distance case. That is why I provided a case for
300 metres as well.

If I'm doing something incorrectly, this is why I posted this question
to the board. Stating that my math may just be wrong, doesn't really
help the situation.

I will check into the Zigbee forums thank you.

Ginu December 6th 08 07:19 PM

confusion about path loss calculation for zigbee
 
On Dec 5, 6:10 am, Bob Bob wrote:
So at 5AM I may not be too sharp...

The formula you used doesnt seem to allow for the required demod s/n.
QAM64 for example (from memory) is around 30dB so this has to be "added"
to the path loss. Differing mod/demod/FEC have differing margin
requirmeents. Somewhere in there too you have to stipulate the bit loss
rate "allowed".


Can you explain this further please?

In the past I use to calculate the noise floor at b/w, apply RX noise
figure and then add the margin.

When I last did this I upset my employer by saying that their marketing
hype was flawed. They had specified a lowest usable sensitivity that
after applying the required demod s/n was below the calculated noise
floor for that b/w. We were in fact consistently getting RX sensitivty
issues during the manufacturing phase for this reason... Marketing had
created a spec that wasnt possible!


Interesting. So these margin requirements are specified in the
standard?

Also, I dont know about 802.15 but I do know that 802.11 has variable
data rates (ie bandwidth) that can be advertised something like "54Mbps
and -87dBm sensitivity". The numbers dont actually go together. At
54Mbps you might get -77dBm and you have to use 11Mbps to get -87dBm!


Thank you. I'll look into this!

I'll admit I havent studied your maths in detail....

The above probably not a lot of use to you... Sorry!

Cheers Bob VK2YQA


Thanks a bunch. A reply to my above queries would be very helpful.

Sal M. Onella December 7th 08 04:27 AM

confusion about path loss calculation for zigbee
 

"Ginu" wrote in message
...
On Dec 5, 6:10 am, Bob Bob wrote:
So at 5AM I may not be too sharp...

The formula you used doesnt seem to allow for the required demod s/n.
QAM64 for example (from memory) is around 30dB so this has to be "added"
to the path loss. Differing mod/demod/FEC have differing margin
requirmeents. Somewhere in there too you have to stipulate the bit loss
rate "allowed".


Can you explain this further please?


http://www.satsig.net/lnb/ebno-calculator.htm is one of many sites dealing
with considerations of Energy Per Bit to Noise Density Ratio, which may help
you.

The Eb/No -- or to some, Eb/N0 -- influences the bit error rate (BER). Let
the Eb/No go too low and the link is not error-free. Generally, a BER of
better than one error in ten-to-the-eighth bits is considered to be an
error-free link.

Navy satellite data links of my acquaintance usually ran at 256 kbps and, if
memory serves, needed an Eb/No around 8. The modem reported the Eb/No and
that value was the first thing we looked at if the mux started taking hits.



Bob Bob December 7th 08 12:30 PM

confusion about path loss calculation for zigbee
 
I think Sal has answered this well enough. Suffice to say that if you
start with the noise floor or amount of noise energy in the bandwidth
you are going to use, you have to have a "margin" above that for the
radio system to be able to transfer information. This even applies to
morse code and voice transmission and thus the human brain's ability to
do the filtering and demod! Morse code for example can actually be heard
below the noise floor (or if you like a negative margin) because you can
concentrate on the 500Hz odd tone rather than the wide band noise.
Repeating the message that is sent also lowers the margin as it is a
kind of forward error correction that might give you a few extra dB.
Even a voice you know vs one you dont know lowers the margin. A trained
brain is remarkably good and has a huge dynamic range as well.

Even something like a human shout of warning has "greater range" because
it is a very narrow bandwith data stream. ie the message sent is binary
(yes vs no) or very short (like "help" "fire" "911" or "000") rather
than something like "There is a fire down here in the trees"

The margin required is more or less linked to the specification of the
overall modulation method. I quoted QAM64. When you add FEC to QAM64 the
margin becomes less at the expense of less data bandwidth (as more bits
are sent) I saw an FEC calc for an amateur radio satellite telemetry of
6-7dB. I browsed sround and found 802.11a is around 12dB for a BER of 1
in 10E6. Data stuff tends to be layered. ie they have a basic radio
modulation method (eg QAM, QPSK etc) and the FEC on top of that (eg Reed
Solomon & Verterbi encoding) Above that you may also have resends at a
higher layer. If you are running TCP/IP for example, TCP ensures that a
packet is received and reassembled within a certain timeout period. If
not it request the data again.

Hope this helps. apologies for the excessive analogies..

Cheers Bob W5/VK2YQA


Ginu December 7th 08 11:11 PM

confusion about path loss calculation for zigbee
 
On Dec 7, 7:30 am, Bob Bob wrote:
I think Sal has answered this well enough. Suffice to say that if you
start with the noise floor or amount of noise energy in the bandwidth
you are going to use, you have to have a "margin" above that for the
radio system to be able to transfer information. This even applies to
morse code and voice transmission and thus the human brain's ability to
do the filtering and demod! Morse code for example can actually be heard
below the noise floor (or if you like a negative margin) because you can
concentrate on the 500Hz odd tone rather than the wide band noise.
Repeating the message that is sent also lowers the margin as it is a
kind of forward error correction that might give you a few extra dB.
Even a voice you know vs one you dont know lowers the margin. A trained
brain is remarkably good and has a huge dynamic range as well.

Even something like a human shout of warning has "greater range" because
it is a very narrow bandwith data stream. ie the message sent is binary
(yes vs no) or very short (like "help" "fire" "911" or "000") rather
than something like "There is a fire down here in the trees"

The margin required is more or less linked to the specification of the
overall modulation method. I quoted QAM64. When you add FEC to QAM64 the
margin becomes less at the expense of less data bandwidth (as more bits
are sent) I saw an FEC calc for an amateur radio satellite telemetry of
6-7dB. I browsed sround and found 802.11a is around 12dB for a BER of 1
in 10E6. Data stuff tends to be layered. ie they have a basic radio
modulation method (eg QAM, QPSK etc) and the FEC on top of that (eg Reed
Solomon & Verterbi encoding) Above that you may also have resends at a
higher layer. If you are running TCP/IP for example, TCP ensures that a
packet is received and reassembled within a certain timeout period. If
not it request the data again.

Hope this helps. apologies for the excessive analogies..

Cheers Bob W5/VK2YQA


Thanks for the explanation. In your previous post you suggested that I
have to "add" the margin to the path loss. My current result doesn't
make sense because the power required to transmit at 250 kpbs for
Zigbee is less than the power required to reach the receiver at a
modest 300m away. Wouldn't adding to my path loss further deteriorate
my result? I'm trying to wrap my head around this.

Richard Clark December 8th 08 12:55 AM

confusion about path loss calculation for zigbee
 
On Sun, 7 Dec 2008 15:11:33 -0800 (PST), Ginu
wrote:

My current result doesn't
make sense because the power required to transmit at 250 kpbs for
Zigbee is less than the power required to reach the receiver at a
modest 300m away.


This is your first and most significant clue to the failure of
analysis, and it is very "path loss" oriented (the path loss
differences for your two scenarios should be almost infinitesimal).
The disparity in your computations are due to transcription error, or
math error. You should have now been able to put that to rest.

Wouldn't adding to my path loss further deteriorate
my result? I'm trying to wrap my head around this.


This is your confusion factor, and it relates to transcription error
in the abstract: you are using the wrong formulas entirely regardless
of the accuracy or correctness of arithmetic results.

The greater part of discussion has focused on Shannon-Hartley issues
which have their own application to the full mix of your original
problem.

Try unwinding the thread so that you are not trying to force a
solution out of a broken premise. None of this really sounds like
finding the missing decimal point, or the corrupted divisor is going
to solve anything.

If you think this is still path loss related, and you are showing
results in actual implementation (bread-boarded hardware, on the
bench); then you have to open up the discussion beyond the limited
math to include the conventional problems of interference and
multipath.

73's
Richard Clark, KB7QHC

Ginu December 9th 08 06:00 AM

confusion about path loss calculation for zigbee
 
On Dec 7, 7:55 pm, Richard Clark wrote:
On Sun, 7 Dec 2008 15:11:33 -0800 (PST), Ginu
wrote:

My current result doesn't
make sense because the power required to transmit at 250 kpbs for
Zigbee is less than the power required to reach the receiver at a
modest 300m away.


This is your first and most significant clue to the failure of
analysis, and it is very "path loss" oriented (the path loss
differences for your two scenarios should be almost infinitesimal).
The disparity in your computations are due to transcription error, or
math error. You should have now been able to put that to rest.

Wouldn't adding to my path loss further deteriorate
my result? I'm trying to wrap my head around this.


This is your confusion factor, and it relates to transcription error
in the abstract: you are using the wrong formulas entirely regardless
of the accuracy or correctness of arithmetic results.

The greater part of discussion has focused on Shannon-Hartley issues
which have their own application to the full mix of your original
problem.

Try unwinding the thread so that you are not trying to force a
solution out of a broken premise. None of this really sounds like
finding the missing decimal point, or the corrupted divisor is going
to solve anything.

If you think this is still path loss related, and you are showing
results in actual implementation (bread-boarded hardware, on the
bench); then you have to open up the discussion beyond the limited
math to include the conventional problems of interference and
multipath.

73's
Richard Clark, KB7QHC


It is not an arithmetic problem and I have "put to bed" transcription
or math error. I am designing a multiple technology network. The only
one causing me problems is Zigbee. Where do you get this from:

This is your confusion factor, and it relates to transcription error
in the abstract: you are using the wrong formulas entirely regardless
of the accuracy or correctness of arithmetic results.


I've talked to experts who have supported my claims. Unless you can
provide me with more than just random conclusions, I may be able to
get to the bottom of this. Otherwise, your posts have been much less
than helpful.

Richard Clark December 9th 08 08:08 AM

confusion about path loss calculation for zigbee
 
On Mon, 8 Dec 2008 22:00:02 -0800 (PST), Ginu
wrote:

Unless you can
provide me with more than just random conclusions, I may be able to
get to the bottom of this. Otherwise, your posts have been much less
than helpful.


If multipath and interference fall into the category of random
conclusions.... You were wrapped around that axle more than two
years ago.

The search term of Zigbee and Ginu (enlarged to include your alias of
Omar Fink) fairly draws a portrait of someone wandering through a fog
of 3000 threads and postings. I can see why this has mystified you
for five solid months - you are out of your element.

You've been given every extrapolatable answer from across several
dozen outlets. As I suspected earlier, the simplest answer is that
Zigbee isn't designed to do what you expect of it. Roaming the planet
asking the same question is unlikely to provide any different outcome.

73's
Richard Clark, KB7QHC

Jeff December 9th 08 01:45 PM

confusion about path loss calculation for zigbee
 

I've been trying to wrap my head about this problem for days and can't
seem to figure it out.

Zigbee technology allows you to transmit at 250 kbps. I'm comparing
the required power to transmit at that rate to the required minimum
power based on the path loss equations to reach the minimum receiver
sensitivity of the 802.15.4 physical layer for Zigbee of roughly -94
dBm. Simple enough right?

To analyze the required power to transmit at 250 kbps for Zigbee, I've
just re-arranged the Shannon capacity formula of Rate = w * log_2 (1 +
(Pt * G)/(w*N + I)). Here, w is the bandwidth, Pt is the transmit
power, Pt * G is the received signal power, N is the white Gaussian
noise and I is the sum of interference powers.

For Zigbee, these values are as follows:
w = 5 MHz
N (in dB) = 10*log10(k) + 10*log10(T) where k is boltzmann's constant
of 1.23E-23 and T is the temperature in Kelvin of 300 degrees. In
Watts, N is approximately 3.6900e-021.

I've assumed no interference at this stage, so I = 0. Simple enough so
far right?

So to calculate the required transmit power to reach a rate of 250
kbps, I've just re-arranged this equation to yield:
Pt = [2^(250 kbps/w) - 1]*(w * N + I)/G and plugging in the above
values gives me a reasonable transmit power of 1.6 uW.



You seem to be missing the noise figure of the receiver in the calculation,
and making assumptions about the receiver noise bandwidth that may not be
correct.


The reason I haven't talked about G yet is that I'm addressing it
here. G is the channel quality (path loss) and is defined as follows:

G(freq,D) = GrdBi+ GtdBi- 20*log10(4*pi*freq*d0/c) -
10*pathLossExponent*log10(D/d0) (in dB)

I'm using unity gains so GrdBi = GtdBi = 0 dBi. Other parameters a
freq = 2.4 GHz
d0 = 1m as the reference distance
c = 3.0 x 10^8
pathLossExponent = 2, and
D = 500 metres

Hence, G (in Watts) * Pt is the received signal power. G(2.4E9, 500)
is the path loss transmitting at 2.4 GHz a distance of 500m away. G
(2.4E9, 500) = -94.0254 dB



-96db Seems about right for *free space* path loss.


Now the first thing that I mentioned was the receiver sensitivity for
Zigbee of -94 dBm, Analyzing G (in dB). The required transmit power
considering this path loss is easily calculated as:


If you know the rx sensitivity is -94dBm at the data rate you require, why
go through all of the Shannon stuff, it is not revenant. You have been told
that the Rx sensitivity is -94dBm use that figure.


-94 dBm = P_required + G(2.4E9, 500)

P_required is then easily calculated as -94 dBm - G(2.4E9, 500) =
0.0254 dBm. This translates to a transmit power of 1 mW. This required
power is LARGER than the maximum permissible power to transmit at 250
kbps, which is the maximum data rate for Zigbee. So how does this make
sense?


Perhaps because most quoted ranges for Zigbee are in the order of 50m not
500m????

So you have an rx sensitivity of -94dBm and a path loss of 94dB, so with a
tx power of 0dBm you have a receiver operating at its sensitivity limit. So
you will have a link with a Bit Error Rate of whatever the manufacturer
quoted the -94dBm sensitivity figure at (10% BER?????).


However, 1mW happens to be the maximum transmit power of Zigbee of
roughly 0 dBm,


Exactly 0dBm actually

Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.


How is -4.41dBm greater than 0dBm (1mW) ?? It is about 0.362mW.

Your maths is quite simple; you have the rx sensitivity, and can work out
the path loss, thats all you need to do, take one from the other and you
have the required tx power.

Of course your formula only gives the free space path loss, reality is
likely to be considerably worse!!!

73
Jeff








Richard Harrison December 9th 08 04:52 PM

confusion about path loss calculation for zigbee
 
Jeff wrote:
"- 96 db seems about right for "free space" path loss."

96 seems abour the right number for a path loss at 2400 MHz at a
distance of 500 meters. To nit pick, -96 db loss is a gain.

I worked a few years with Pete Saveskie who wrote a book he called
"Propagation". It contains a formula for free space loss: 23 db is lost
in the first wavelength from the transmitter and after that 6 db loss is
added every time the distance is doubled.

With Pete`s formula, you would lose the 23 db at a distance of 0.125
meter, and at a distance of 512 meters you would lose a total of 95 db.
That`s close enough agreement for me.

Best regards, Richard Harrison, KB5WZI


Jim Lux December 9th 08 05:24 PM

confusion about path loss calculation for zigbee
 
Richard Harrison wrote:
Jeff wrote:
"- 96 db seems about right for "free space" path loss."

96 seems abour the right number for a path loss at 2400 MHz at a
distance of 500 meters. To nit pick, -96 db loss is a gain.

I worked a few years with Pete Saveskie who wrote a book he called
"Propagation". It contains a formula for free space loss: 23 db is lost
in the first wavelength from the transmitter and after that 6 db loss is
added every time the distance is doubled.

With Pete`s formula, you would lose the 23 db at a distance of 0.125
meter, and at a distance of 512 meters you would lose a total of 95 db.
That`s close enough agreement for me.

Best regards, Richard Harrison, KB5WZI


Also, a lot of published descriptions of various communications schemes
(e.g. Zigbee, 802.16e) might give a maximum data rate and a maximum
range, but that doesn't mean you get both at the same time. The former
is often related to the system bandwidth, the latter to the minimum data
rate and transmitter power.

I think you can get a ballpark feel pretty quick.. use the free space
path loss (in whatever form you like). Calculate required receiver
power as
-174 dBm + 10log(datarate in bps)+ 3 + receiver NF. (use 2dB for NF if
you like)

Add path loss to required receiver power, and that's what you'll need
for EIRP from the transmitter.

Yes, assumes isotropes, and ignores coding gains, etc. But you'll be
within 10dB or so, and that's enough to know if you're even in the ballpark.

If you do the calculations and you come up with a required transmit
power of +50dBm (100W), and you're thinking small battery powered, you
know it ain't gonna work. If you come up with +10dBm, and battery
powered is the goal, you're in the ballpark, and THEN you can start
thrashing through the more detailed modeling.

Ginu December 9th 08 07:26 PM

confusion about path loss calculation for zigbee
 
On Dec 9, 3:08 am, Richard Clark wrote:
On Mon, 8 Dec 2008 22:00:02 -0800 (PST), Ginu
wrote:

Unless you can
provide me with more than just random conclusions, I may be able to
get to the bottom of this. Otherwise, your posts have been much less
than helpful.


If multipath and interference fall into the category of random
conclusions.... You were wrapped around that axle more than two
years ago.

The search term of Zigbee and Ginu (enlarged to include your alias of
Omar Fink) fairly draws a portrait of someone wandering through a fog
of 3000 threads and postings. I can see why this has mystified you
for five solid months - you are out of your element.

You've been given every extrapolatable answer from across several
dozen outlets. As I suspected earlier, the simplest answer is that
Zigbee isn't designed to do what you expect of it. Roaming the planet
asking the same question is unlikely to provide any different outcome.

73's
Richard Clark, KB7QHC


Posting in several forums where there may be experts reading at
different times and different forums is not a stretch. Physical layer
questions are out of my realm and, unfortunately, I have to model them
in my simulations.

You're trolling in my threads and, for some odd reason, appear to feel
the need to belittle my work. If you can't add anything constructive,
please don't waste my time. I would appreciate it if you refrained
from posting in my threads in the future. Thank you.

Honestly, if I needed a babysitter I would have asked for one.

Ginu December 9th 08 07:53 PM

confusion about path loss calculation for zigbee
 
Thanks Jeff for your reply. Below are my comments:

You seem to be missing the noise figure of the receiver in the calculation,
and making assumptions about the receiver noise bandwidth that may not be
correct.


The overall receiver noise figure is included in the receiver
sensitivity, is it not? I'm referring to http://www.edn.com/article/CA6442439.html
where they state that:

"the receiver sensitivity S=–174 dBm/Hz+NF+10logB+SNRMIN, where –174
dBm/Hz is the thermal noise floor, NF is the overall-receiver-noise
figure in decibels, B is the overall receiver bandwidth, and SNRMIN is
the minimum SNR. If the total path loss between the transmitter and
the intended receiver is greater than the link budget, loss of data
ensues, and communications cannot take place. Therefore, it’s
important for designers developing end systems to accurately
characterize the path loss and compare it with the link budget to
obtain initial estimations of the range."

Do you have any comments on this?

If you know the rx sensitivity is -94dBm at the data rate you require, why
go through all of the Shannon stuff, it is not revenant. You have been told
that the Rx sensitivity is -94dBm use that figure.


That requires a long-winded answer about my project. My study involves
optimizing a multiple technology network where each device is
optimizing their transmission. Using the Shannon theorem allows me to
perform this optimization of data rate while considering physical
layer constraints. It's something I have to work into it
unfortunately. It's functioning correctly for WiMax and ultrawideband
technology.

-94 dBm = P_required + G(2.4E9, 500)


P_required is then easily calculated as -94 dBm - G(2.4E9, 500) =
0.0254 dBm. This translates to a transmit power of 1 mW. This required
power is LARGER than the maximum permissible power to transmit at 250
kbps, which is the maximum data rate for Zigbee. So how does this make
sense?


Perhaps because most quoted ranges for Zigbee are in the order of 50m not
500m????


The approximate line-of-sight range for Zigbee is 500m. That's why I
tested both 300m and 500m in my calculations.

Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.


How is -4.41dBm greater than 0dBm (1mW) ?? It is about 0.362mW.


I meant that, for my example using a distance of 300m, the transmit
power required to transmit at the maximum data rate of 250 kbps was
0.59 uW. The required power to reach the MIRS at the receiver 300m
away was 3.6211E-4. Therefore, the amount of power required to reach
the receiver (a lower bound on power) was greater than the maximum
power allowed to reach the max data rate of 250 kbps (upper bound on
power). Therefore, the transmission isn't possible. It wasn't for 0
dBm.


Your maths is quite simple; you have the rx sensitivity, and can work out
the path loss, thats all you need to do, take one from the other and you
have the required tx power.


That's exactly what I'm doing. The NF is included in the receiver
sensitivity and the transmit power required to reach the receiver
sensitivity is greater than the power I'm allowed to transmit at
because of the 250 kbps maximum for the technology.

Thanks Jeff. I'd be interested in hearing your response.

Ginu December 9th 08 08:00 PM

confusion about path loss calculation for zigbee
 
On Dec 9, 12:24 pm, Jim Lux wrote:
Richard Harrison wrote:
Jeff wrote:
"- 96 db seems about right for "free space" path loss."


96 seems abour the right number for a path loss at 2400 MHz at a
distance of 500 meters. To nit pick, -96 db loss is a gain.


I worked a few years with Pete Saveskie who wrote a book he called
"Propagation". It contains a formula for free space loss: 23 db is lost
in the first wavelength from the transmitter and after that 6 db loss is
added every time the distance is doubled.


With Pete`s formula, you would lose the 23 db at a distance of 0.125
meter, and at a distance of 512 meters you would lose a total of 95 db.
That`s close enough agreement for me.


Best regards, Richard Harrison, KB5WZI


Also, a lot of published descriptions of various communications schemes
(e.g. Zigbee, 802.16e) might give a maximum data rate and a maximum
range, but that doesn't mean you get both at the same time. The former
is often related to the system bandwidth, the latter to the minimum data
rate and transmitter power.

I think you can get a ballpark feel pretty quick.. use the free space
path loss (in whatever form you like). Calculate required receiver
power as
-174 dBm + 10log(datarate in bps)+ 3 + receiver NF. (use 2dB for NF if
you like)

Add path loss to required receiver power, and that's what you'll need
for EIRP from the transmitter.

Yes, assumes isotropes, and ignores coding gains, etc. But you'll be
within 10dB or so, and that's enough to know if you're even in the ballpark.

If you do the calculations and you come up with a required transmit
power of +50dBm (100W), and you're thinking small battery powered, you
know it ain't gonna work. If you come up with +10dBm, and battery
powered is the goal, you're in the ballpark, and THEN you can start
thrashing through the more detailed modeling.


I'm within 27.5 dBm

Richard Clark December 9th 08 11:05 PM

confusion about path loss calculation for zigbee
 
On Tue, 9 Dec 2008 11:26:43 -0800 (PST), Ginu
wrote:

You're trolling in my threads and, for some odd reason, appear to feel
the need to belittle my work. If you can't add anything constructive,
please don't waste my time. I would appreciate it if you refrained
from posting in my threads in the future. Thank you.


Such a tender ego, and pride of ownership is the first clue to its
easy bruising. As for trolling, your contributions have that distinct
"under the bridge" flavor. Put a notch on your keyboard and move to
the next group. Talk about wasting time.

Omar, it takes very little effort to review your trail to see you have
one foot nailed to the floor and the other on a skate. You haven't
altered your question much in 5 months (with every appearance of not
having progressed one jot), offered your heart felt thanks to all
those who "helped" you, giving you pretty much the same leads you said
you would follow up on....

And we find you at the next street corner with your hat out for more
spare change.

Hard to imagine how with so many similar responses that you haven't
gotten it yet, and more amazing you might think that the problem is
not in the question.

73's
Richard Clark, KB7QHC

Ginu December 9th 08 11:40 PM

confusion about path loss calculation for zigbee
 
On Dec 9, 6:05 pm, Richard Clark wrote:
On Tue, 9 Dec 2008 11:26:43 -0800 (PST), Ginu
wrote:

You're trolling in my threads and, for some odd reason, appear to feel
the need to belittle my work. If you can't add anything constructive,
please don't waste my time. I would appreciate it if you refrained
from posting in my threads in the future. Thank you.


Such a tender ego, and pride of ownership is the first clue to its
easy bruising. As for trolling, your contributions have that distinct
"under the bridge" flavor. Put a notch on your keyboard and move to
the next group. Talk about wasting time.

Omar, it takes very little effort to review your trail to see you have
one foot nailed to the floor and the other on a skate. You haven't
altered your question much in 5 months (with every appearance of not
having progressed one jot), offered your heart felt thanks to all
those who "helped" you, giving you pretty much the same leads you said
you would follow up on....

And we find you at the next street corner with your hat out for more
spare change.

Hard to imagine how with so many similar responses that you haven't
gotten it yet, and more amazing you might think that the problem is
not in the question.

73's
Richard Clark, KB7QHC


Richard, again, you are adding nothing to the discussion. Please
refrain from posting in my threads from now on. Those in this thread
have given me significant information that may lead to the solution.
Something that I have not gotten previously. Thanks again and goodbye.

Jim Lux December 9th 08 11:42 PM

confusion about path loss calculation for zigbee
 
Ginu wrote:
On Dec 9, 12:24 pm, Jim Lux wrote:
Richard Harrison wrote:
Jeff wrote:
"- 96 db seems about right for "free space" path loss."
96 seems abour the right number for a path loss at 2400 MHz at a
distance of 500 meters. To nit pick, -96 db loss is a gain.
I worked a few years with Pete Saveskie who wrote a book he called
"Propagation". It contains a formula for free space loss: 23 db is lost
in the first wavelength from the transmitter and after that 6 db loss is
added every time the distance is doubled.
With Pete`s formula, you would lose the 23 db at a distance of 0.125
meter, and at a distance of 512 meters you would lose a total of 95 db.
That`s close enough agreement for me.
Best regards, Richard Harrison, KB5WZI

Also, a lot of published descriptions of various communications schemes
(e.g. Zigbee, 802.16e) might give a maximum data rate and a maximum
range, but that doesn't mean you get both at the same time. The former
is often related to the system bandwidth, the latter to the minimum data
rate and transmitter power.

I think you can get a ballpark feel pretty quick.. use the free space
path loss (in whatever form you like). Calculate required receiver
power as
-174 dBm + 10log(datarate in bps)+ 3 + receiver NF. (use 2dB for NF if
you like)

Add path loss to required receiver power, and that's what you'll need
for EIRP from the transmitter.

Yes, assumes isotropes, and ignores coding gains, etc. But you'll be
within 10dB or so, and that's enough to know if you're even in the ballpark.

If you do the calculations and you come up with a required transmit
power of +50dBm (100W), and you're thinking small battery powered, you
know it ain't gonna work. If you come up with +10dBm, and battery
powered is the goal, you're in the ballpark, and THEN you can start
thrashing through the more detailed modeling.


I'm within 27.5 dBm


As in, the back of the envelope shows you've got 28 dB of positive
margin, or the uncertainty of your estimate is 28dB, or you're 28dB
under? It's inverse square law, after all, so 10 times the distance is
a 20dB change in power.

Zigbee is IEEE 802.15.4 at the PHY.. 250kbps at ranges of 10-100 meters
for the 2.4 GHz band.

Let's see.. -174 + 3 + 54 + 2 = -114 dBm received signal level needed,
bare minimum. Real receivers are probably more like -100 or -95.
Chipcon's CC2420 is -94dBm

The 802.15.4 only requires a sensitivity of -85dBm

Zigbee transmitters are -3dBm transmit power (minimum).. typically, 0dBm
might be more common.

So, let's look at a link budget for 10 meters
32.44 + 20log(2500)+20log(0.01) = 32.44+ 68 -40 -- about 60dB path loss
between isotropes 10m apart at 2.5GHz.

-60dBm receive power vs -100dBm sensitivity.. So, it should work ok at
250kbps and 10m (assuming no interference, multipath, etc.)

Now, bump to 100m.. That's a 20dB hit.
500m another 14dB.. now you're on the ragged edge. 6dB margin with a
-100dBm receiver and a 0dBm transmitter. And that's assuming isotropic
antennas, which may or may not be reasonable.


Ginu December 10th 08 12:30 AM

confusion about path loss calculation for zigbee
 
On Dec 9, 6:42 pm, Jim Lux wrote:
Ginu wrote:
On Dec 9, 12:24 pm, Jim Lux wrote:
Richard Harrison wrote:
Jeff wrote:
"- 96 db seems about right for "free space" path loss."
96 seems abour the right number for a path loss at 2400 MHz at a
distance of 500 meters. To nit pick, -96 db loss is a gain.
I worked a few years with Pete Saveskie who wrote a book he called
"Propagation". It contains a formula for free space loss: 23 db is lost
in the first wavelength from the transmitter and after that 6 db loss is
added every time the distance is doubled.
With Pete`s formula, you would lose the 23 db at a distance of 0.125
meter, and at a distance of 512 meters you would lose a total of 95 db.
That`s close enough agreement for me.
Best regards, Richard Harrison, KB5WZI
Also, a lot of published descriptions of various communications schemes
(e.g. Zigbee, 802.16e) might give a maximum data rate and a maximum
range, but that doesn't mean you get both at the same time. The former
is often related to the system bandwidth, the latter to the minimum data
rate and transmitter power.


I think you can get a ballpark feel pretty quick.. use the free space
path loss (in whatever form you like). Calculate required receiver
power as
-174 dBm + 10log(datarate in bps)+ 3 + receiver NF. (use 2dB for NF if
you like)


Add path loss to required receiver power, and that's what you'll need
for EIRP from the transmitter.


Yes, assumes isotropes, and ignores coding gains, etc. But you'll be
within 10dB or so, and that's enough to know if you're even in the ballpark.


If you do the calculations and you come up with a required transmit
power of +50dBm (100W), and you're thinking small battery powered, you
know it ain't gonna work. If you come up with +10dBm, and battery
powered is the goal, you're in the ballpark, and THEN you can start
thrashing through the more detailed modeling.


I'm within 27.5 dBm


As in, the back of the envelope shows you've got 28 dB of positive
margin, or the uncertainty of your estimate is 28dB, or you're 28dB
under? It's inverse square law, after all, so 10 times the distance is
a 20dB change in power.

Zigbee is IEEE 802.15.4 at the PHY.. 250kbps at ranges of 10-100 meters
for the 2.4 GHz band.

Let's see.. -174 + 3 + 54 + 2 = -114 dBm received signal level needed,
bare minimum. Real receivers are probably more like -100 or -95.
Chipcon's CC2420 is -94dBm

The 802.15.4 only requires a sensitivity of -85dBm

Zigbee transmitters are -3dBm transmit power (minimum).. typically, 0dBm
might be more common.

So, let's look at a link budget for 10 meters
32.44 + 20log(2500)+20log(0.01) = 32.44+ 68 -40 -- about 60dB path loss
between isotropes 10m apart at 2.5GHz.

-60dBm receive power vs -100dBm sensitivity.. So, it should work ok at
250kbps and 10m (assuming no interference, multipath, etc.)

Now, bump to 100m.. That's a 20dB hit.
500m another 14dB.. now you're on the ragged edge. 6dB margin with a
-100dBm receiver and a 0dBm transmitter. And that's assuming isotropic
antennas, which may or may not be reasonable.


My path loss results verify this too. The issue is this: if the range
is between 10-100 metres, how do we use a minimum of -3 dBm of
transmit power?

To transmit at 250 kbps on a 5 MHz bandwidth channel centered at 2.5
GHz to a receiver say 10 metres away, you only require 5.8009e-010
watts. That's the problem. This is the maximum power required. It is
far less than the -3 dBm quoted.

The 28 dBm that I stated was that my transmit power required to
transmit at 250 kbps is 28 dBm under the -4.4 dBm minimum transmit
power to reach 300m that I provided in my original post:

Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.


5.9181 mW corresponds to roughly -32 dBm, hence the 28 dBm under.

At the 10 metres that we are discussing here, the required transmit
power falls even further:
5.8E-10 watts = 5.8E-7 mW

This corresponds to 10*log10(5.8009e-7) = -62.365 dBm. So the margin
is actually 67 dBm.

The path loss model isn't the problem. And the Shannon capacity is
known to be able to estimate any information channel.

This is where the confusion lies.

Richard Clark December 10th 08 05:22 AM

confusion about path loss calculation for zigbee
 
On Tue, 9 Dec 2008 15:40:47 -0800 (PST), Ginu
wrote:

Those in this thread
have given me significant information that may lead to the solution.


You must have littered more than several dozen newsgroups with that
same proclamation - can you succinctly point out how any single
significant information advances your solution? That, too, is missing
from your identical box-car series of postings that tend to repeat
themselves for weeks into months.

What a troll.

73's
Richard Clark, KB7QHC

Jeff December 10th 08 08:55 AM

confusion about path loss calculation for zigbee
 

The overall receiver noise figure is included in the receiver
sensitivity, is it not? I'm referring to
http://www.edn.com/article/CA6442439.html
where they state that:

"the receiver sensitivity S=–174 dBm/Hz+NF+10logB+SNRMIN, where –174
dBm/Hz is the thermal noise floor, NF is the overall-receiver-noise
figure in decibels, B is the overall receiver bandwidth, and SNRMIN is
the minimum SNR. If the total path loss between the transmitter and
the intended receiver is greater than the link budget, loss of data
ensues, and communications cannot take place. Therefore, it’s
important for designers developing end systems to accurately
characterize the path loss and compare it with the link budget to
obtain initial estimations of the range."

Do you have any comments on this?


Yes, the manufacturer has told you that the receiver sensitivity is -96dBm.
(no doubt for a particular BER, which aslo equates to a particular SNR).
Without knowing more about the internals of the receiver you cannot work
back to a NF unless you acuually know what SNR equates to the BER that the
manufacturer stated the -96dBm at. Using Shannon most likely give you an
unreliable optimistic answer.


If you know the rx sensitivity is -94dBm at the data rate you require,
why
go through all of the Shannon stuff, it is not revenant. You have been
told
that the Rx sensitivity is -94dBm use that figure.


That requires a long-winded answer about my project. My study involves
optimizing a multiple technology network where each device is
optimizing their transmission. Using the Shannon theorem allows me to
perform this optimization of data rate while considering physical
layer constraints. It's something I have to work into it
unfortunately. It's functioning correctly for WiMax and ultrawideband
technology.


No it dosen't unless you know more about the receivers and the actual SNR
that they require for a specific BER. Shannon will not tell you that, it
will just give you the 'best possible case' for a particular bandwidth,
which may well be a long way from the truth.


-94 dBm = P_required + G(2.4E9, 500)


P_required is then easily calculated as -94 dBm - G(2.4E9, 500) =
0.0254 dBm. This translates to a transmit power of 1 mW. This required
power is LARGER than the maximum permissible power to transmit at 250
kbps, which is the maximum data rate for Zigbee. So how does this make
sense?


Perhaps because most quoted ranges for Zigbee are in the order of 50m not
500m????

The approximate line-of-sight range for Zigbee is 500m. That's why I
tested both 300m and 500m in my calculations.


Yes and you proved just that!! Path loss 96dB, rx sensitivity -96dBm, 0dBm
tx power, equals receiver operating at its sensitivity limit. So what's the
problem??

Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.


How is -4.41dBm greater than 0dBm (1mW) ?? It is about 0.362mW.


I meant that, for my example using a distance of 300m, the transmit
power required to transmit at the maximum data rate of 250 kbps was
0.59 uW. The required power to reach the MIRS at the receiver 300m
away was 3.6211E-4. Therefore, the amount of power required to reach
the receiver (a lower bound on power) was greater than the maximum
power allowed to reach the max data rate of 250 kbps (upper bound on
power). Therefore, the transmission isn't possible. It wasn't for 0
dBm.


I a sorry I don't understand what the hell you are on about. All you need to
know is the path loss at 300m, you aready have the rx sensitivity of -96dBm
so it is a simple subtraction to find the Tx power required (which will be
less than 0dBm).

Your maths is quite simple; you have the rx sensitivity, and can work out
the path loss, thats all you need to do, take one from the other and you
have the required tx power.


That's exactly what I'm doing. The NF is included in the receiver
sensitivity and the transmit power required to reach the receiver
sensitivity is greater than the power I'm allowed to transmit at
because of the 250 kbps maximum for the technology.


That is just not correct, you proved that the power required to reach
sensitivity limit at 500m was 0dBm, which is OK because that is you max tx
power.

At 300m you obviously require less tx power, so lets do the maths:

path loss at 300m, 2400MHz is 90dBm

so required tx power is 90 -96 = -6dBm which is less than your 0dBm max tx
power - no problem.
-6dBm equates to 2.5e-4W or 0.25mW.

If you are trying to say that the -6dBm figure is greater than the number
that you worked out using Shannon for a particular bandwidth and data rate
once you take off the 90dB path loss then you have to look at the accuracy
of your Shannon calculation.

You said that you Shannon Calculation produced a "reasonable transmit power
of 1.6 uW", to achieve 250kB in a 5MHz BW. Now 1.6uW = 0.0016mW = -28dBm
this does not seem reasonable when the manufacturers are quoting -96dBm!!!
You must go back and re-consider your Shannon calculations, this time taking
the actual receiver characteristics into account, such as rx NF, the real
noise bandwidth, number of levels in the modulation scheme etc., etc..

Regards
Jeff




Richard Clark December 10th 08 06:06 PM

confusion about path loss calculation for zigbee
 
On Wed, 10 Dec 2008 08:55:58 -0000, "Jeff" wrote:

No it dosen't unless you know more about the receivers and the actual SNR
that they require for a specific BER.


So what's the problem??


I a sorry I don't understand what the hell you are on about.


That is just not correct


you have to look at the accuracy


You must go back and re-consider


Hi Jeff,

Talking to a wall? This is the same lid who 2 years ago wanted 25 dBi
gain from a vertical and never responded to your comments.

73's
Richard Clark, KB7QHC

Jim Lux December 11th 08 05:43 PM

confusion about path loss calculation for zigbee
 
Ginu wrote:
On Dec 9, 6:42 pm, Jim Lux wrote:


So, let's look at a link budget for 10 meters
32.44 + 20log(2500)+20log(0.01) = 32.44+ 68 -40 -- about 60dB path loss
between isotropes 10m apart at 2.5GHz.

-60dBm receive power vs -100dBm sensitivity.. So, it should work ok at
250kbps and 10m (assuming no interference, multipath, etc.)

Now, bump to 100m.. That's a 20dB hit.
500m another 14dB.. now you're on the ragged edge. 6dB margin with a
-100dBm receiver and a 0dBm transmitter. And that's assuming isotropic
antennas, which may or may not be reasonable.


My path loss results verify this too. The issue is this: if the range
is between 10-100 metres, how do we use a minimum of -3 dBm of
transmit power?

To transmit at 250 kbps on a 5 MHz bandwidth channel centered at 2.5
GHz to a receiver say 10 metres away, you only require 5.8009e-010
watts. That's the problem. This is the maximum power required. It is
far less than the -3 dBm quoted.


A question you need to ask is what's the receiver bandwidth. The
information might only be 250 kHz wide, but if the receiver is 5MHz
wide, it's seeing 13dB more noise, and it might not be able to "acquire"
the narrow band signal.

60dB path loss, 250kHz BW is 54dBHz, so kTB noise floor is -120dBm, for
a "real" receiver and cabling, probably 5dB worse, call it -115dBm. Add
the 60dB, and you need an EIRP of -55dBm.. (You calculated 6E-10W,
-62dBm.. that's reasonably close)

But, if the receiver is seeing the full 5MHz (or more) BW, then you'll
need more.. 13dB at least (-100dBm at the receiver.. Obviously, most
receivers don't do this well, or they're counting some S/N margin, to
get a spec of -94dBm)

Then, you'd need -34dBm (with the same 60dB path loss)

But I'll bet you actually need more...

Non-ideal antennas
Losses in cabling
Mismatch (the Tx may put out 0dBm, but if the antenna presents a 2:1
mismatch, it's not radiating 0dBm, etc.

And, the "acquisition" threshold might be different than the
"communicate" threshold.

Richard Clark December 11th 08 06:36 PM

confusion about path loss calculation for zigbee
 
On Thu, 11 Dec 2008 09:43:05 -0800, Jim Lux
wrote:

To transmit at 250 kbps on a 5 MHz bandwidth channel centered at 2.5
GHz to a receiver say 10 metres away, you only require 5.8009e-010
watts. That's the problem. This is the maximum power required. It is
far less than the -3 dBm quoted.


A question you need to ask is what's the receiver bandwidth. The
information might only be 250 kHz wide, but if the receiver is 5MHz
wide, it's seeing 13dB more noise, and it might not be able to "acquire"
the narrow band signal.


Really Jim,

Do you think the vendor would specify a bit rate capacity and then
fail to supply the needed bandwith?

Omar has a peculiar habit (much like our own home-grown trolls) of
focusing on issues that have been solved, and complaining (through the
veil of supposing "what-if") about the math behind them creating
confusion.

Part of this veil is Omar holds all the cards while revealing nothing
(another trolling technique). Simply consult:
http://focus.ti.com/docs/prod/folders/print/cc2431.html
and take any of the several links to specifications, applications,
block diagrams, schematics; and it becomes painfully obvious that any
confusion that Omar suffers, is that advice already posted in
abundance devolves to rather simpler issues than Nyquist, Shannon,
Hartley, or more exotic sources.

73's
Richard Clark, KB7QHC

Jim Lux December 11th 08 08:42 PM

confusion about path loss calculation for zigbee
 
Richard Clark wrote:
On Thu, 11 Dec 2008 09:43:05 -0800, Jim Lux
wrote:

To transmit at 250 kbps on a 5 MHz bandwidth channel centered at 2.5
GHz to a receiver say 10 metres away, you only require 5.8009e-010
watts. That's the problem. This is the maximum power required. It is
far less than the -3 dBm quoted.

A question you need to ask is what's the receiver bandwidth. The
information might only be 250 kHz wide, but if the receiver is 5MHz
wide, it's seeing 13dB more noise, and it might not be able to "acquire"
the narrow band signal.


Really Jim,

Do you think the vendor would specify a bit rate capacity and then
fail to supply the needed bandwith?


Sure.. it's the other way around though.. they might have a wideopen
front end or IF (e.g. 5 MHz wide) and be looking for a narrow band
signal in that big band.

Particularly if you have a system that supports multiple rates, and you
want a single hardware design without adjustable bandwidth, your
hardware has to support the widest band.

You're left with two design choices:
1) have a "minimum detectable signal" threshold that corresponds to the
higher noise floor
or
2) Have a narrow(er) band detector (implemented in software or hardware).

the first is cheaper, and can be overcome by marketing


Part of this veil is Omar holds all the cards while revealing nothing
(another trolling technique). Simply consult:
http://focus.ti.com/docs/prod/folders/print/cc2431.html
and take any of the several links to specifications, applications,
block diagrams, schematics; and it becomes painfully obvious that any
confusion that Omar suffers, is that advice already posted in
abundance devolves to rather simpler issues than Nyquist, Shannon,
Hartley, or more exotic sources.



Well, this IS true.

The whole thing is quite well documented, although if one just reads the
ad copy, it is confusing. Worse, if your manager asks why you can't do
the high rate and max distance at the same time, and you have to resort
to "laws of physics" arguments.

Ginu December 17th 08 04:05 AM

confusion about path loss calculation for zigbee
 
On Dec 4, 1:15 pm, Ginu wrote:
Hello,

I've been trying to wrap my head about this problem for days and can't
seem to figure it out.

Zigbee technology allows you to transmit at 250 kbps. I'm comparing
the required power to transmit at that rate to the required minimum
power based on the path loss equations to reach the minimum receiver
sensitivity of the 802.15.4 physical layer for Zigbee of roughly -94
dBm. Simple enough right?

To analyze the required power to transmit at 250 kbps for Zigbee, I've
just re-arranged the Shannon capacity formula of Rate = w * log_2 (1 +
(Pt * G)/(w*N + I)). Here, w is the bandwidth, Pt is the transmit
power, Pt * G is the received signal power, N is the white Gaussian
noise and I is the sum of interference powers.

For Zigbee, these values are as follows:
w = 5 MHz
N (in dB) = 10*log10(k) + 10*log10(T) where k is boltzmann's constant
of 1.23E-23 and T is the temperature in Kelvin of 300 degrees. In
Watts, N is approximately 3.6900e-021.

I've assumed no interference at this stage, so I = 0. Simple enough so
far right?

So to calculate the required transmit power to reach a rate of 250
kbps, I've just re-arranged this equation to yield:
Pt = [2^(250 kbps/w) - 1]*(w * N + I)/G and plugging in the above
values gives me a reasonable transmit power of 1.6 uW.

The reason I haven't talked about G yet is that I'm addressing it
here. G is the channel quality (path loss) and is defined as follows:

G(freq,D) = GrdBi+ GtdBi- 20*log10(4*pi*freq*d0/c) -
10*pathLossExponent*log10(D/d0) (in dB)

I'm using unity gains so GrdBi = GtdBi = 0 dBi. Other parameters a
freq = 2.4 GHz
d0 = 1m as the reference distance
c = 3.0 x 10^8
pathLossExponent = 2, and
D = 500 metres

Hence, G (in Watts) * Pt is the received signal power. G(2.4E9, 500)
is the path loss transmitting at 2.4 GHz a distance of 500m away. G
(2.4E9, 500) = -94.0254 dB

Now the first thing that I mentioned was the receiver sensitivity for
Zigbee of -94 dBm, Analyzing G (in dB). The required transmit power
considering this path loss is easily calculated as:

-94 dBm = P_required + G(2.4E9, 500)

P_required is then easily calculated as -94 dBm - G(2.4E9, 500) =
0.0254 dBm. This translates to a transmit power of 1 mW. This required
power is LARGER than the maximum permissible power to transmit at 250
kbps, which is the maximum data rate for Zigbee. So how does this make
sense?

However, 1mW happens to be the maximum transmit power of Zigbee of
roughly 0 dBm, so there may be a range problem here.

Testing other distances, say 300m, we get a maximum transmit power Pt
= 5.9181e-007 = 0.59 uW to transmit at 250 kbps, but a P_required =
-4.41 dBm = 3.6211e-004, which is our maximum transmit power Pt.

So again, we run into the same problem at 300m. It just doesn't make
sense to me. Can anybody shed some light on this? I hope my math is
clear. Thanks in advance.


Thanks everyone! With your feedback I was able to fix the problem.
Thanks a lot for your clarification and advice :)

Omar


All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
RadioBanter.com