Join IoT Central | Join our LinkedIn Group | Post on IoT Central


transmission (3)

Speaking of the wireless communication technology of the Internet of Things, everyone must be familiar with LoRa, because it adopts the principle of spread spectrum modulation and a unique error correction mechanism to achieve ultra-long-distance wireless transmission. Wireless communication distance is longer.
Of course, the focus of this article is not to discuss the characteristics of LoRa, but to talk about several key core parameters in LoRa modulation.

1. Spreading Factor (SF)
LoRa spread spectrum employs multiple information chips to represent each bit of payload information. The speed at which spread information is sent is called the symbol rate (Rs), and the ratio between the chip rate and the nominal symbol rate is the spreading factor, which represents the number of symbols sent per information bit. The popular understanding is to represent a single data bit with multiple information chips.
To simplify the explanation in the digital domain, if we agree that 101110 means that the actual data bit is 1, a valid data packet such as 0xFF needs to be transmitted in the application, and the corresponding binary representation is: 1111 1111, then the information chip to be actually transmitted is:

12161764298?profile=RESIZE_710x

Through the above method, the bit error rate of transmission can be reduced, thereby increasing the effective communication distance. However, when the number of transmitted information symbols is the same, the actual amount of effective data transmitted is reduced. Therefore, when other parameters are the same, The larger the SF parameter is set, the smaller the actual transmitted data rate.

LoRa spreading factor value range:

12161764486?profile=RESIZE_710x

Note:
① The above table is taken from the SX127x data sheet;
② SF=6 can only be used in ImplicitHeader mode;
③ SX126x series can support SF=5
2. Modulation bandwidth BandWidth(BW)
Channel bandwidth is used to limit the frequency range allowed to pass through the current channel, which can be understood as a frequency passband.
The frequency allowed by a channel is usually 433.125MHz to 433.250MHz, and the corresponding BW=125kHz.
According to Shannon's theorem, increasing the channel bandwidth can increase the effective data rate to shorten the air delay time

Shannon's theorem
However, it can be seen from the digital sensitivity calculation formula that increasing the channel bandwidth will reduce the system sensitivity, thus shortening the wireless communication distance.
Receive sensitivity S = 10lg⁡(KTB) + NF + SNR, where B represents the channel bandwidth.
In LoRa modulation, the channel bandwidth is bilateral bandwidth (full channel bandwidth), while the BW of traditional FSK modulation refers to unilateral bandwidth or receiving bandwidth.

3. Coding Rate(CR)
In the process of LoRa communication, cyclic forward error correction technology is used internally, that is, part of the data in the actual data packet transmitted over the air is used for error correction decoding, and the ratio of the effective data length to the actual length of the air transmitted data packet is called encoding rate.
LoRa encoding rate value range and corresponding overhead ratio:

12161764492?profile=RESIZE_584x

Note: The above pictures are taken from the SX127x data sheet
Based on the above, it can be seen that using the error correction algorithm will increase the link overhead and reduce the effective data transmission rate. However, due to the existence of the error correction code, the transmission has strong anti-interference ability and higher reliability.
Speaking of this, I feel that I need to go deeper, otherwise I will not be able to reflect my own level
Relationship between LoRa signal bandwidth BW, symbol rate Rs and data rate DR

Chip speed Rc:
As mentioned earlier, the bandwidth has a great relationship with the transmission rate of the signal. Here, the transmission rate of the chip is equal to the value of the bandwidth (unit Hz), that is:
Rc=BW = |BW|chips/s

Symbol rate Rs:
Each symbol has 2^SF chips, and the transmission rate of the chips is Rc, so the symbol transmission rate Rs is:
Rs= Rc/2^SF = BW/2^SF

Data transmission rate DR (or bit Rate):
DR= Rb(bits/sec) = SF * Rs * CR = SF * (BW/2^SF) * CR

4. Low Data Rate Optimization
In the cognition of many people, the core parameters of LoRa seem to be only SF, BW, and CR. The parameter value setting of Low Data Rate Optimization is easy to be ignored, but in the design process, this parameter is still very important, especially In the application process of low rate and large data packet transmission, the long-term continuous transmission of the transmitter may cause system frequency deviation and reduce the communication success rate. After enabling the Low Data Rate Optimization option, it can improve the communication robustness of LoRa under low rate conditions. sex.
The specific setting condition is that when the transmission time of a single symbol exceeds 16 milliseconds, the LowDataRateOptimize bit must be enabled, and both the transmitter and the receiver must have the same LowDataRateOptimize setting.
Take BW=500K, SF=9 as an example:

At this time RS =500kHz / 512, TS = 1 / RS = 512/500kHz= 1 ms
In this case, it is not necessary to enable Low Data Rate Optimization.
Take BW=25K, SF=10 as an example:
At this time RS =25kHz / 1024, TS = 1 / RS =1024/25kHz= 40.96 ms
In this case, Low Data Rate Optimization must be turned on.

Read more…

PHY physical layer, frame structure, parameters, data, energy, modulation, frame, format

1. What are the main functions of the PHY layer?

Activation and shutdown of radio transceiver

Energy detection (ED) in the current channel

Link quality indication (LQI) of received data packets

Idle channel evaluation (CCA) for carrier listening multiple access/conflict avoidance (CSMA-CA)

Channel frequency selection

Data transmission and reception

2. Physical parameters

868/915 MHz DSSS (direct sequence spread spectrum) adopts BPSK (binary phase shift keying) modulation

868/915 MHz DSSS (direct sequence spread spectrum) adopts O-QPSK modulation

868/915 MHz PSSS (parallel sequence spread spectrum) adopts BPSK and ASK (amplitude shift keying) modulation

2450 MHz DSSS (direct sequence spread spectrum) adopts O-QPSK modulation

12161165874?profile=RESIZE_710x

3. PHY frame format

12161166065?profile=RESIZE_710x

SHR: Synchronization header (including Preamble and SFD), allowing a receiving device to synchronize and lock to each stream at the same time.

PHR: PHY frame header (including Frame length and Reserved), the length information of the frame.

PHY Payload: A variable-length payload that carries the data frame of the MAC sublayer.

Among them, the SHR field: Preamble, which is used by the radio transceiver to obtain the chip and synchronization identification from the received data information. The length of the Preamble field is determined by the physical parameters as shown in the figure below.:

12161166074?profile=RESIZE_710x

SFD, indicating the end of the SHR and the beginning of the packet, different physical parameters have different lengths as shown in the figure below:

12161165491?profile=RESIZE_584x

 

Read more…

Advantages of FTTR technology

The advantage of FTTR technology lies in its fast transmission speed and low latency.As a transmission medium, optical fiber has extremely high bandwidth and transmission speed, which can meet the needs of users for high-speed networks.Compared with traditional network connection methods, FTTR technology can provide a more stable and faster network connection, and users can easily carry out high-bandwidth activities such as online videos, online games, and high-definition downloads.

In addition, FTTR technology also has better network coverage and signal quality.Due to the long transmission distance of optical fiber, every room in the room can obtain stable signal coverage, avoiding the problem of weak or unstable network signals caused by long distances or signal interference in traditional wiring methods.This means that users can enjoy the same high-quality Internet connection no matter which room they are in.

In addition, FTTR technology can also provide higher security.The network signal transmitted by optical fiber is not susceptible to external interference, making the user's network connection more secure and reliable.Especially for some places with high security requirements, such as banks, hospitals and enterprises, FTTR technology can meet their requirements for network security.

In general, FTTR technology transmits the Internet connection directly to each room through optical fiber, providing users with a high-speed and stable network connection.Compared with traditional network connection methods, FTTR technology has faster transmission speed, better network coverage and signal quality, and higher security.With the continuous development of science and technology, FTTR technology will be widely used in various fields.

Ebyte Electronic Technology Co., Ltd. specializes in the development and production of wireless data transmission modules with various functions in various frequency bands. The products have been widely used in the Internet of Things, consumer electronics, industrial control, medical care, security alarm, field collection, smart home, highway, property management, water and electricity meter reading, power monitoring, environmental monitoring and other application scenarios. 

Read more…

Sponsor