• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » PER & RSSI
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

PER & RSSI

This question has suggested answer(s)
faisal50593
Posted by faisal50593
on Jun 03 2010 11:30 AM
Prodigy130 points

hi,

this is with reference to cc2530 DK.

what is RSSI & PER? can we calculate s/n ratio with these values? if RSSI for example is -56, -49 or -63 dBm then what does this mean? can we estimate how many packets are lost if only considering RSSI?

to my understanding total packet lenth with the PER application pre-program with the kit = 20 Byte and

total packet length if we use smartrf studio software shipped with the kit and using PACKET TX. & RX. OR CONTINEOUS TX. & RX. application = 120 Byte

but the manual says that total payload can be set upto 103 Bytes, how come we set payload to 120 Byte as the studio give option. i think it is the total pkt length not the payload. using CC2530 DK, manually or through studio software i.e when pkt = 20B or 120 B. what is the inter-pkt delay between two packets. if i use the PKT TX & RX. application in studio what will be the packet rate?

how does the TX. AND RX. boards in the kit recongnize each other?

 

i m new in research, plz reply in details n dont mind for the basic asking?

 

thanks

faisal

cc2530 dk P.E.R
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Thucydides
    Posted by Thucydides
    on Jun 03 2010 21:59 PM
    Suggested Answer
    Intellectual260 points

    Hi Faisal,

    I guess you tested per test sample.

    Firstly as for abbreviations, RSSI is Received Signal Strength Indication/Indicator that means measured electric field strength at receiving point and indicated as unit dBm.

    PER is the abbreviation for Packet Error Rates that means the ratio of packets not received correctly within whole sent packets.

    The more RSSI (absolute value is lesser), the more reception condition is better and inversely the less PER, the more receiving packets goes well.

     

    "total packet length if we use smartrf studio software shipped with the kit and using PACKET TX. & RX. OR CONTINEOUS TX. & RX. application = 120 Byte

    but the manual says that total payload can be set upto 103 Bytes, how come we set payload to 120 Byte as the studio give option."

     

    See line 29 and 45 in per_test.h and  line 295 in per_test.c

    Real sent packet bytes is the size of structure " perTestPacket_t ", I think it wouldn't exceed " MAX_PAYLOAD_LENGTH ".

     

    " how does the TX. AND RX. boards in the kit recongnize each other? "

     

    See line 244 in per_test.c, transmitter's own short address is set and in line 145, receiver's own short address is set too.

    Only if transmitter designates destination short address (i.d. receiver's short address), it can send for the proper receiver.

    And don't forget to set also PAN ID, see line 346 in per_test.c.

     

    " what is the inter-pkt delay between two packets. if i use the PKT TX & RX. application in studio what will be the packet rate? "

     

    Sorry I couldn't get exactly what you meant, you mean how per is measured in this sample?

    If it is,the calculation is quite simple.

    Transmitter send number sequence of integer and receiver only counts the received packets if it arrived in number of lost some.

    If you still have some question, ask again.

    Thanks,

    Thucydides

     

     

     

     

     

     

     

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • faisal50593
    Posted by faisal50593
    on Jun 04 2010 12:53 PM
    Suggested Answer
    Prodigy130 points

    thanks thucydides for your kind reply.

    i mean if i set pkt rate = 100 pkt / second then what is the delay or gap between two successful packets. (INTER-PACKET DELAY OR GAP IN MICRO OR MILLI SECOND)

    also the kit have option to TX. at -3, 0, 4 dBm transmit power. can i simply convert this dBm into mwatt or add dbi to this dBm to get dBm (EIRP) and convert that into mwatt?

    dbi + (-3 or 0 0r 4 dBm) = dBm, if yes then what is the dbi for cc2530 dk board.

    how can we calculate signal to noise ratio from RSSI & PER Value?

    thanks

    PER & RSSI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Thucydides
    Posted by Thucydides
    on Jun 07 2010 00:49 AM
    Suggested Answer
    Intellectual260 points

    Hi Faisal,

    "i mean if i set pkt rate = 100 pkt / second then what is the delay or gap between two successful packets. (INTER-PACKET DELAY OR GAP IN MICRO OR MILLI SECOND)"

    I see what you mean.

    I haven't measured single packet propagation time between two hardwares.

    It's not physically impossible, but not easy.

    But if you only have to know statistical average bps, you can calculate easily.

    On my experience, pragmatic safe bps (per is under 4 or so)  under bad condition was about only 4kbps (250bps is only theoretical possible value but almost impossible in real),.

    Assuming a packet length is 10 bytes (i.e. 80 bits),  so the transmit interval will be 50 packets/sec.

    So it means you can send next packet after 0.02 sec.

    "also the kit have option to TX. at -3, 0, 4 dBm transmit power. can i simply convert this dBm into mwatt or add dbi to this dBm to get dBm (EIRP) and convert that into mwatt?"

    As you may know 0dBm equals 1mW. so you can calculate using this.

    real value = 10^([dB]/10)

    "how can we calculate signal to noise ratio from RSSI & PER Value?"

    It would be impossible using these values.

    You need to measure the noise intensity or spurious physically.

    S/N ration and per is essentially quite different.

    I hope it would be helpful for you.

    Thucydides

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • faisal50593
    Posted by faisal50593
    on Jun 09 2010 14:11 PM
    Suggested Answer
    Prodigy130 points

    very very thanks thucydides, your ans help me really lot, actually i measure the impact of wifi interference on wsn and also interference between wsn and wsn. as i set two cc2530 dk as TX and one board as RX. set the same config. on transmitters i.e. CH=11, PWR= - 3dBm, Total PKT = 1000, RATE= 100 PKT / s. as i start the TX. simultenuosly then RX. seems hang during test (10 s) and after that period showed

    PER = 0/ 1000

    RSSI = -53 dBm

    Received = 2

    what that showed?

    also i try to start one Tx. with 3 second delayed then

    PER = 0 /1000

    RSSI = -52 dBm

    Received = 384

    i want to know what Tx. packets (384) are that? i came to point as the RX. normally received PKTS (384) till the start of 2nd Tx. and when the second one start all PKTS lost or never reached to RX. due to interference?

    AM I RIGHT?

    PER & RSSI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Thucydides
    Posted by Thucydides
    on Jun 09 2010 20:09 PM
    Suggested Answer
    Intellectual260 points

    Hi Faisal,

    "as i start the TX. simultenuosly then RX. seems hang during test (10 s) and after that period showed"

    It's quite often occurring problem, after weak signal continued for some time.

    I checked it using debugger, while CPU core is running but only RF packet receive stops after weak signal continued and if once RF packet receive stopped I need to restart cc2530 its self.

    I asked to TI technical support but they said there's a only way to restart by user program.

    For  in case of recognized No RF, I wrote program like this

    while (!RfPacketIsReady()){
    // loop count of No RF
    No_packt_times += 1;
    // over the fixed continuous No RF number
    if((No_packt_times >= NO_PACKET_LIMIT)
    &&(No_packt_times = Previous_No_packt_times + 1)){
    No_packt_times = 0;
    // Need to initialize for RF
    RF_Init();
    }
    Previous_No_packt_times = No_packt_times;
    }

    "PER = 0/ 1000

    RSSI = -53 dBm

    Received = 2

    what that showed?"

    per = 0 means all packets sent safely,

    rssi is the intensity of received packet

    received means received packet number

     "normally received PKTS (384) till the start of 2nd Tx"

    No,  Tx sends periodically with fixed interval without regard that previous packet was safely received or not.

    Could I answered to your question properly?

    Thycydides

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • faisal50593
    Posted by faisal50593
    on Jun 15 2010 11:19 AM
    Prodigy130 points

    thanks thycydides, your answers are technically very sound and justified. sorry to bother you again.

    i have two cc2530 dk, i set 2 boards as TX. and one board as RX. the purpose is to see the coexistence i.e. impact of WSN interference on WSN. i want to know:

    1. what is the csma/ca i.e cca in manual testing(using default PER application with the board) i want to set cca of one of the TX. such that it sense the medium busy backoff and then send its transmission after busy medium is free. how can i acheive that?

    2. what is the cca value, if i use the contineous TX&RX or packet TX & RX. application with the studio software?

    3. i also test the dk with the wifi A.P (access point) to see the interference? what is the dk cca in that case means does the cc2530 dk board sense the medium if wifi traffic is in progress. and vice versa (wifi can also sense the wsn transmission if wsn transmitting its data?)

    4. the PER application pre-programmed with kit does not hav option to set CCA (clear channel assesment). am i right?

    thanks for your cooperation again.

     

    faisal

     

    PER & RSSI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Thucydides
    Posted by Thucydides
    on Jun 18 2010 04:37 AM
    Suggested Answer
    Intellectual260 points

    Hi Faisal,

    Sorry for late response.

    Telling truth, I didn't get what you mean.

    "1. what is the csma/ca i.e cca in manual testing(using default PER application with the board)"

    You said about the general network access method (Carrier Sense Multiple Access With Collision Avoidance)?

    Or about command strobe/CSMA-CA processor (CSP) explained at p. 211 in the swru191?

    " i want to set cca of one of the TX"

    I think it's impossible to set, since CSMA/CS is not value but method name.

    "such that it sense the medium busy backoff and then send its transmission after busy medium is free. "

    I didn't understand what did you want to do. Please explain more in detail.

    "3. i also test the dk with the wifi A.P (access point) to see the interference? what is the dk cca in that case means does the cc2530 dk board sense the medium if wifi traffic is in progress. and vice versa (wifi can also sense the wsn transmission if wsn transmitting its data?)"

    I can only say that, if you so the per measuring test, you'll see usually per is not perfect zero.

    It means unless under the quite good condition, all packets are not always transmitted perfect, and some data in packets will be collapsed.

    So you can imagine easily if other 2.4G wireless waves coexist, per became worse.

    I think It's worth to measure the correlation.

    "4. the PER application pre-programmed with kit does not hav option to set CCA (clear channel assesment). am i right?"

    Yes, right, but what is the "CCA" that you wrote?

    Thanks,

    Thucydides

     

     


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • faisal50593
    Posted by faisal50593
    on Jun 21 2010 22:26 PM
    Prodigy130 points

    Hi Thucydides, sorry to bother you again. plz see the following

    CCA = CLEAR CHANNEL ASSESSMENT

    CSMA/CA = CARRIER SENSE MULTIPLE ACCESS / COLLISION AVIODENCE

    actually i want to see the effect of wifi on wsn. to do this i set CC2530DK Board one as a transmitter and other as a receiver and place WSN TX & RX perpendicular to two wifi access points and run PER manual application pre-programmed with the kit. i receiver different readings at differnt distances from wifi e.g. PER = 396/1000, 543/1000 e.t.c.

    i want to ask as both WIFI and WSN employes CSMA/CA then why interference between the two? according to the theory if wifi transmission going on then WSN employes CCA through CSMA/CA and will find that the air medium is busy so it must back off its transmission and resend when find medium is vacant.

    also if i want to see the coexistence between WSN, and place two cc2530DK TX and one RX. then all pkts are lost (sent = 1000 packets at 100 pkt / Second). setting same channel on TX & at RX. why csma/ca and CCA doest not tell either of the transmitter that medium is busy as another TX. communication is going on so it wait for a while then sent its transmission when medium is free.

    how do i set CSMA/CA and CCA in

    1. wifi & wsn coexistence

    2. wsn and wsn coexistence

    hope you understand what i mean to say.

    desperately waiting to your answer.

    faisal

     

    PER & RSSI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Thucydides
    Posted by Thucydides
    on Jun 22 2010 20:18 PM
    Suggested Answer
    Intellectual260 points

    Hi Faisal,

    I recommend you to read swra285 , similar experiment is treated.

    "i want to ask as both WIFI and WSN employes CSMA/CA then why interference between the two?"

    It's a quite simple reason. Stack provided for DK board doesn't use congestion control like the CCA especially but only uses 802.15.4 packet format for sending.

    So the per test program always tries to send simply and if there are  interferences, the per value will increase.

    This time, was it enough for you?

    Thucydides

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mansimran Benipal
    Posted by Mansimran Benipal
    on Mar 20 2013 01:10 AM
    Prodigy50 points

    What factors affect RSSI and PER?
    Is it the distance or the interference or do we have any other reasons for the same? 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use