Тёмный

LoRa/LoRaWAN tutorial 15: Data Rate, Chip Rate, Symbol Rate, Chip Duration and Symbol Duration 

Mobilefish.com
Подписаться 29 тыс.
Просмотров 36 тыс.
50% 1

If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
/ mobilefish
This is part 15 of the LoRa/LoRaWAN tutorial.
In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
In this video I will explain how data rate, chip rate, symbol rate, chirp duration and symbol duration are calculated.
The unit of bandwidth (BW) is Hertz (Hz) which is the number of vibrations or wave cycles per second.
This bandwidth is interchangeably with chip rate:
BW = Rc = chip rate (chips/s) [1]
For example: BW=125 kHz
BW = Rc = 125000 chips/s
The Symbol Rate (Rs) is calculated as follow:
Rs (symbols/sec) = BW / 2^SF = Rc / 2^SF [1]
Bandwidth (BW) in Hz
Spreading Factor (SF): 7-12
For example: BW=125 kHz, SF=7
Rs = 125000 / 2^7 = 977 symbols/sec
The chip rate is always higher than the symbol rate: Rc is greater than Rs
To calculate the data rate (DR) or bit rate (Rb):
Rb (bits/sec) = SF x (BW / 2^SF) x (4(4+CR))
Bandwidth (BW) in Hz
Spreading Factor (SF): 7-12
Code Rate (CR): 1-4
For example: SF=7, CR=1
BW=125 kHz, Rb = 7 x (125000 / 2^7) x (4 / (4 + 1)) = 5.5 kbits/s
BW=250 kHz, Rb = 7 x (250000 / 2^7) x (4 / (4 + 1)) = 10.9 kbits/s
BW=500 kHz, Rb = 7 x (500000 / 2^7) x (4 / (4 + 1)) = 21.9 kbits/s
If you increase the bandwidth, the bit rate or data rate is increased.
For example: BW=125 kHz, CR=1
SF=7, Rb = 7 x (125000/2^7 ) x (4/(4+1)) = 5.5 kbits/s
SF=8, Rb = 8 x (125000/2^8 ) x (4/(4+1)) = 3.13 kbits/s
SF=9, Rb = 9 x (125000/2^9 ) x (4/(4+1)) = 1.76 kbits/s
SF=10, Rb = 10 x (125000/2^10) x (4/(4+1)) = 0.98 kbits/s
SF=11, Rb = 11 x (125000/2^11) x (4/(4+1)) = 0.54 kbits/s
SF=12, Rb = 12 x (125000/2^12) x (4/(4+1)) = 0.29 kbits/s
If you increase the Spreading Factor, the bit rate or data rate is decreased.
Because Rc = BW [1], the chip duration is calculated as follow:
Tc (sec) = 1 / BW
Bandwidth (BW) in Hz
For example: BW=125 kHz
Tc = 1 / 125000 = 8 µs
The symbol duration or sweep time is calculated as follow:
Ts(sec) = 2^SF / BW [1]
Bandwidth (BW) in Hz
Spreading Factor (SF): 7-12
For example: SF7
BW=125 kHz, Ts = 2^7 / 125000 = 1.024 ms
BW=250 kHz, Ts = 2^7 / 250000 = 512 µs
BW=500 kHz, Ts = 2^7 / 500000 = 256 µs
If the BW increases, the Symbol duration decreases.
For example: BW=125 kHz
SF=7, Ts = 2^7 / 125000 = 1.024 ms
SF=9, Ts = 2^9 / 125000 = 4.096 ms
SF=12, Ts = 2^12 / 125000 = 32.768 ms
If the SF increases, the Symbol duration increases.
An overview of symbol durations with respect to different Spreading Factors.
If the SF increases by one the symbol duration doubles.
If you increase the SF by 1:
The symbol duration or sweep time doubles compared to the previous SF.
It reduces the bit rate approximately by half compared to the previous SF.
The Time on Air (ToA) (=message transmission time) increases which means the distance increases.
To give you an idea what the Time on Air is for a 10 byte payload and BW=125kHz:
SF7, transmission time = 41 ms
SF12, transmission time = 991 ms
LoRa devices uses a higher spreading factor when the signal is weak or there is lot of interference.
Using a higher spreading factor means a longer Time on Air (ToA).
If an end device is further away from a gateway the signal get weaker and therefore needs a higher spreading factor.
Check out all my other LoRa/LoRaWAN tutorial videos:
• LoRa/LoRaWAN tutorials
Subscribe to my RU-vid channel:
/ @mobilefish
The presentation used in this video tutorial can be found at:
www.mobilefish.com/developer/...
#mobilefish #lora #lorawan

Наука

Опубликовано:

 

10 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@arthurcgonzaga
@arthurcgonzaga 4 года назад
I'm enjoying so much your videos, thanks!
@xxrumlexx
@xxrumlexx 5 лет назад
Love your vids, incredible how much better they are at making me understand. than my own professor
@jeffa.618
@jeffa.618 5 лет назад
Brilliant job you've explained the concepts really well. I do suggest that viewers first read the Semtech paper on Lora modulation and then look at your videos. Kudos to you.
@louielaquio8388
@louielaquio8388 5 лет назад
Thanks very informative!
@billordonezegoavil7013
@billordonezegoavil7013 5 лет назад
thank you, it's very helpful.
@weizheng1470
@weizheng1470 2 года назад
Why does BW equal to chip rate?
@mustapha7484
@mustapha7484 2 года назад
u saved my life, thnk u it really helps
@BinhVanCntt
@BinhVanCntt 5 лет назад
Thank you so much
@CalMSinclair
@CalMSinclair 3 года назад
Haha I can't believe I understood that. Nice.
@qijia9795
@qijia9795 2 года назад
Why is the modulation bandwidth equal to the chip rate?
@carloscobian3989
@carloscobian3989 5 лет назад
thanks for this tutorials, very helpful. in 5:00 you mention an increment of distance related with the ToA increment, what does that distance mean?
@JeremyCook
@JeremyCook 5 лет назад
So looking at this, the chip rate is the data transmissions per second, which can be expressed in hertz. The signal modulates frequency as well, which is also in hertz? Seems there are two different "hertz" values going on here, though I could be wrong.
@CmZam17
@CmZam17 5 лет назад
Thank you, what about if I use this formula (Rb (bits/sec) = SF x (BW / 2^SF) x (4(4+CR)) to find the throughput?
@spiworkshop9416
@spiworkshop9416 Год назад
Great tutorial thanks ,can you help me to get a view on this matter ,I am using SX1278 module along with ESP32 I would like to know about the Sync Word of the LORA Modules .
@anatoliistepaniuk8217
@anatoliistepaniuk8217 4 года назад
1. BW = chip rate (chips/s). 2. But the number of chips depends on SF (equals 2**SF). BW and SF are independent - is there a contraction in the first two statements?
@ElieElKhoury19
@ElieElKhoury19 3 года назад
Exactly! I'm also confused about this... Doesn't make any sense
@kerim4427
@kerim4427 5 лет назад
hi Robert, can you please explain why the chip rate corresponds to the bandwidth? in what way are these two correlated?
@robmcgowan4055
@robmcgowan4055 4 года назад
I'm a newbie, but this is the way I understand it. Each ramp (chirp) is made up of 2^SF chips, ranging between fL and fH, with each chip being 1/BW long. That is, the ramp is made up of 2^SF frequencies, from 0 to 2^SF - 1, commonly referred to as 2^n - 1, which results in n bits (or SF bits) transmitted each symbol. That doesn't really answer the question, but I hope it helps understand the answer which is, chip rate is correlated to bandwidth by definition. LoRa basically said, we are going to chop each Bandwidth into 1/BW segments, or chips.
@korgmangeek
@korgmangeek 3 года назад
I am not sure. I suppose because you have doubled space (bandwidth) to sweep (fit the data), so you have twice the rate.
@XaropeMaua
@XaropeMaua 5 лет назад
Hello, Robert. First of all, congratulations for the extraordinary job. It's much more than just an introduction for beginners. It's a complete manual! Could you explain how to calculate the Time on Air for the transmissions? Thanks in advance.
@Mobilefish
@Mobilefish 5 лет назад
I have explained it in tutorial 17, see ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-C_Rh5GSENA4.html
@anatoliistepaniuk8217
@anatoliistepaniuk8217 3 года назад
Do I understand this correctly, that it takes some time to notice the change in frequency. So if we want to encode twice as many chips into the symbol, we need to multiply time of the symbol by 2? (because receiver would not be able to decode the information if we change frequency too fast?)
@coolwinder
@coolwinder 5 лет назад
I found this video to be unclear. Great video btw, thank you very much!
@vgacademy2581
@vgacademy2581 4 года назад
32 byte packet at SF12 gives 45 symbols, how they are calculated? thanks in advance
@ahmedwahdan672
@ahmedwahdan672 4 года назад
Hello, I use SF = 7, BW = 125Khz and sending 128 byte. The transmitter takes around 2230 ms from setting the Tx mode till the Tx done, is this right? How to decrease this time?
@YangdeWanger
@YangdeWanger 5 лет назад
How did you calculate the transmission time for the 10 byte payload for SF7 and SF12?
@vgacademy2581
@vgacademy2581 4 года назад
its 45 and 70 symbols, calculation and transmission time not clear
@junli3975
@junli3975 Год назад
how do you calculate the trasmission time with 10 bytes payload.
@anatoliistepaniuk8217
@anatoliistepaniuk8217 4 года назад
How long does it take for one symbol to be transmitted?
@Mobilefish
@Mobilefish 4 года назад
Sorry I do not know. I have found this, but this is beyond my skillset: repository.kaust.edu.sa/bitstream/handle/10754/655888/08723130.pdf
@kampkrieger
@kampkrieger 3 года назад
chips per second? that makes no sense, a chip is a value of a symbol (see chap 13), so is it symbols per second?? and i dont understand how the bandwidth of the signal 125kHz can have linear affect on the symbol rate
@NotMarkKnopfler
@NotMarkKnopfler 5 лет назад
It's chirp, not chip. But great video anyway. Thank you.
@K9-33
@K9-33 5 лет назад
The video is correct. Chirps are frequency ramps (up or down) which define symbols. A symbol holds 2^SF chips which defines the bandwidth.
Далее
LoRa/LoRaWAN tutorial 5: Decibel, dBm, dBi, dBd
14:42
마시멜로우로 체감되는 요즘 물가
00:20
Просмотров 2,7 млн
Why is the BER the same for BPSK and QPSK?
11:08
Просмотров 1,9 тыс.
LoRa/LoRaWAN tutorial 7: Fresnel Zone
7:59
Просмотров 47 тыс.
#112 LoRa / LoRaWAN De-Mystified / Tutorial
20:25
Просмотров 1 млн