LoRa channel concurrent transmission method and system

By locating the down-frequency chirp signal in the LoRa signal and using bandwidth erasure processing, the decoding accuracy problem of LoRa gateway chips under cross-channel collisions is solved, and efficient LoRa signal transmission on overlapping channels is achieved.

CN117353868BActive Publication Date: 2026-11-24BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311261129.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2026-11-24
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

Existing LoRa gateway chips cannot effectively resolve cross-channel conflicts, resulting in insufficient decoding accuracy and an inability to fully utilize overlapping channels to improve spectrum efficiency and network capacity.

Method used

By using cross-correlation calculations to locate the down-frequency chirp signal in the LoRa signal, and combining bandwidth erasure processing and actual peak ratio calculation, the target chirp signal can be accurately determined, avoiding interference from cross-channel collisions.

Benefits of technology

It enables accurate decoding of LoRa signals on overlapping channels, improves spectrum utilization and network capacity, and solves decoding errors caused by cross-channel collisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117353868B_ABST
    Figure CN117353868B_ABST
Patent Text Reader

Abstract

This invention provides a method and system for concurrent transmission on a LoRa channel. The method includes the following steps: acquiring a LoRa signal in a target channel and performing cross-correlation calculations to locate the position of the down-frequency chirp signal of each data packet; locating the data packet based on the position of the down-frequency chirp signal; aligning the decoding window with the chirp signal of the data payload portion of the target data packet; decoding to obtain the amplitude of the chirp signal in the decoding window to obtain a first amplitude; determining the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window; erasing the decoding window based on the erasure bandwidth; re-decoding the amplitude of each chirp signal in the decoded window after the erasure process to obtain a second amplitude; calculating the actual peak-to-peak ratio based on the first and second amplitudes; calculating the target peak-to-peak ratio based on the erasure bandwidth and the bandwidth of the first chirp signal; and determining the target chirp signal in the decoding window based on the actual peak-to-peak ratio and the target peak-to-peak ratio.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of channel transmission technology, and in particular to a method and system for concurrent transmission of LoRa channels. Background Technology

[0002] Over the past decade, LoRa has garnered widespread attention from both academia and industry. Its flexible bandwidth configuration and diverse channel allocation can effectively support applications with varying needs, such as environmental monitoring, video transmission, and animal tracking. However, with the ever-increasing demand for massive connectivity, limited spectrum resources are becoming a bottleneck restricting the transmission of huge amounts of data.

[0003] To fully utilize spectrum resources, overlapping channel partitioning in LoRa channel transmission can improve spectral efficiency and network capacity without increasing available bandwidth. In the case of cross-channel transmission with overlapping channel partitioning, a single channel with a bandwidth (BW) of 500kHz can contain four 125kHz channels and two 250kHz channels, thereby improving spectrum resource utilization.

[0004] However, existing LoRa gateway chips cannot resolve cross-channel conflicts in cross-channel transmission scenarios. In the existing decoding process, the existing gateway chip aligns each symbol of the decoding window and data payload through packet synchronization. When decoding each symbol, the signal within the decoding window is multiplied by a standard downchirp signal, and a fast Fourier transform (FFT) is performed. In the FFT result, the frequency point with the highest energy amplitude is selected as the decoding result. However, in the case of cross-channel conflicts, the frequency point with the highest energy amplitude may not be the target decoding result, but may be a signal from another channel being transmitted across channels. Therefore, the accuracy of the existing decoding scheme needs to be improved. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a LoRa channel concurrent transmission method to eliminate or improve one or more defects existing in the prior art.

[0006] One aspect of the present invention provides a method for concurrent transmission of a LoRa channel, the method comprising the steps of:

[0007] The LoRa signal is acquired in the target channel, cross-correlation calculation is performed on the LoRa signal, the position of the down-frequency chirp signal of each data packet in the LoRa signal is located, and each data packet in the LoRa signal is located based on the position of the down-frequency chirp signal.

[0008] Align the decoding window with the positions of each chirp signal in the data payload portion of the target data packet, decode to obtain the amplitude of each chirp signal in the decoding window, and obtain the first amplitude. The decoding window includes the first chirp signal of the data payload portion of the target data packet and the second chirp signal of other data packets.

[0009] The erasure bandwidth is determined based on the bandwidth of the second chirp signal in the decoding window. The decoding window is then erased based on the erasure bandwidth. The amplitude of each chirp signal in the decoding window after the erasure process is re-decoded to obtain the second amplitude.

[0010] The actual peak ratio is calculated based on the first amplitude and the second amplitude. The target peak ratio is calculated based on the erasure bandwidth and the bandwidth of the first chirp signal. The chirp signal of the target in the decoding window is determined based on the actual peak ratio and the target peak ratio.

[0011] Using the above scheme, this scheme first locates each data packet in the LoRa signal through autocorrelation calculation, and then calculates the amplitude of each chirp signal in the decoding window in the decoding step. Due to the existence of cross-channel collisions in actual practice, the highest amplitude may not correspond to the target signal, but the first chirp signal fills the decoding window. This scheme calculates the target peak ratio based on the erasure bandwidth and the bandwidth of the first chirp signal. Ideally, the proportion of the erasure bandwidth to the decoding window is the same as the proportion of the first amplitude and the second amplitude of the first chirp signal. Therefore, this scheme determines the target chirp signal in the decoding window based on the actual peak ratio and the target peak ratio, which can effectively avoid interference from other chirp signals in cross-channel collisions, accurately determine the target chirp signal, and improve decoding accuracy.

[0012] In some embodiments of the present invention, in the steps of determining the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window, performing erasure processing on the decoding window based on the erasure bandwidth, and re-decoding the amplitude of each chirp signal in the decoded window after the erasure processing to obtain the second amplitude:

[0013] Determine whether there are multiple second chirped signals in the decoding window; if there are multiple second chirped signals, determine whether the bandwidth of the multiple second chirped signals is the same.

[0014] If they are different, an erasure bandwidth is determined for the second chirp signal of each bandwidth, and the decoding window is erased based on each erasure bandwidth. The amplitude of each chirp signal in the decoding window after the erasure process is re-decoded to obtain the second amplitude based on the erasure bandwidth.

[0015] In some embodiments of the present invention, in the steps of calculating the actual peak ratio based on the first amplitude and the second amplitude, calculating the target peak ratio based on the erasure bandwidth and the bandwidth of the first chirp signal, and determining the chirp signal of the target in the decoding window based on the actual peak ratio and the target peak ratio, if there are multiple second chirp signals with different bandwidths in the decoding window, then based on the second amplitude calculated from the second chirp signal of each bandwidth, the actual peak ratio corresponding to the second chirp signal of each bandwidth is calculated, the corresponding target peak ratio is calculated based on the erasure bandwidth corresponding to the second chirp signal of each bandwidth, and the chirp signal of the target in the decoding window is determined based on the actual peak ratio and the target peak ratio calculated multiple times.

[0016] In some embodiments of the present invention, in the step of determining the chirped signal of the target in the decoding window based on the actual peak ratio and the target peak ratio calculated multiple times,

[0017] If the chirp signal of the target is calculated to be the same chirp signal multiple times, then that chirp signal shall be taken as the chirp signal of the target.

[0018] If the target's chirp signal is not the same chirp signal after multiple calculations, the decoding window is aligned with the positions of each chirp signal in the preamble of the target's data packet. The amplitude of each chirp signal in the preamble portion of the decoding window is then decoded to obtain a third amplitude. Based on the third amplitude and the first amplitude of the target's chirp signal obtained after multiple calculations, the target's chirp signal is finally determined.

[0019] In some embodiments of the present invention, in the step of finally determining the chirp signal of the target based on the third amplitude and the first amplitude of the chirp signal of the target obtained by multiple calculations, the absolute values ​​of the differences between the third amplitude and the multiple first amplitudes are calculated respectively, and the chirp signal corresponding to the smallest value among the absolute values ​​of the differences between the third amplitude and the first amplitude is taken as the chirp signal of the target.

[0020] In some embodiments of the present invention, in the step of determining the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window, it is determined whether the second chirp signal in the decoding window is a complete second chirp signal. If not, the erasure bandwidth is determined to be 0.5 * the bandwidth of the first chirp signal.

[0021] In some embodiments of the present invention, in the step of determining the chirp signal of the target in the decoding window based on the actual peak ratio and the target peak ratio, the absolute value of the difference between the actual peak ratio and the target peak ratio is calculated, and the chirp signal corresponding to the smallest absolute value of the difference between the actual peak ratio and the target peak ratio is taken as the chirp signal of the target.

[0022] In some embodiments of the present invention, the step of performing cross-correlation calculation on the LoRa signal to locate the position of the down-frequency chirp signal of each data packet in the LoRa signal includes:

[0023] Cross-correlation calculation is performed on the LoRa signal to obtain the detection time position of the down-frequency chirp signal and the up-frequency chirp signal in each data packet of the LoRa signal;

[0024] The actual time positions of the down-frequency chirped signal and the up-frequency chirped signal are calculated based on the detection time positions of the down-frequency chirped signal and the up-frequency chirped signal.

[0025] In some embodiments of the present invention, in the step of calculating the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal based on the detection time positions of the down-frequency chirped signal and the up-frequency chirped signal, the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal are calculated based on the following formula:

[0026]

[0027] Where ΔT represents the length of a single chirped signal, the time length. Indicates the detection time position of the up-frequency chirp signal. T1 represents the detection time position of the down-frequency chirped signal, T2 represents the actual time position of the up-frequency chirped signal, T1 represents the actual time position of the down-frequency chirped signal, x represents the difference between the detection time position and the actual time position of the down-frequency chirped signal, and y represents the difference between the detection time position and the actual time position of the up-frequency chirped signal.

[0028] A second aspect of the present invention also provides a LoRa channel concurrent transmission system, the system comprising a computer device including a processor and a memory, the memory storing computer instructions, the processor executing the computer instructions stored in the memory, and the system implementing the steps of the method described above when the computer instructions are executed by the processor.

[0029] A third aspect of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the aforementioned LoRa channel concurrent transmission method.

[0030] Additional advantages, objects, and features of the invention will be set forth in part in the description which follows, and will also become apparent in part to those skilled in the art upon studying the text, or may be learned by practice of the invention. The objects and other advantages of the invention will become apparent from the description and the accompanying drawings.

[0031] Those skilled in the art will understand that the objectives and advantages achievable with the present invention are not limited to those specifically described above, and that the above and other objectives achievable with the present invention will become clearer from the following detailed description. Attached Figure Description

[0032] The accompanying drawings, which are provided to further illustrate the invention and form part of this application, are not intended to limit the scope of the invention.

[0033] Figure 1 This is a schematic diagram of the first embodiment of the LoRa channel concurrent transmission method of the present invention;

[0034] Figure 2 This is a schematic diagram of a second embodiment of the LoRa channel concurrent transmission method of the present invention;

[0035] Figure 3 This is a schematic diagram of the third embodiment of the LoRa channel concurrent transmission method of the present invention;

[0036] Figure 4 This is a schematic diagram of the fourth embodiment of the LoRa channel concurrent transmission method of the present invention;

[0037] Figure 5 This is a schematic diagram of the data packet structure transmitted via the LoRa channel in this scheme;

[0038] Figure 6 This is a schematic diagram illustrating the implementation process of the LoRa channel concurrent transmission method of the present invention;

[0039] Figure 7 This is a schematic diagram showing the corresponding results of the cross-correlation calculation;

[0040] Figure 8 A schematic diagram illustrating the calculations of each quantity in the steps of calculating the actual time position of the down-frequency chirped signal and the up-frequency chirped signal;

[0041] Figure 9 This is a schematic diagram of the LoRa channel structure;

[0042] Figure 10 This is a schematic diagram of non-orthogonal chirped signals with the same slope in a LoRa channel;

[0043] Figure 11 A schematic diagram of decoding chirped signals with the same slope;

[0044] Figure 12 A schematic diagram showing the decoding results of chirped signals with the same slope;

[0045] Figure 13 This is a schematic diagram of the decoding steps in the prior art.

[0046] Figure 14 This is a schematic diagram of the process of erasing the decoding window. Detailed Implementation

[0047] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the embodiments and accompanying drawings. Here, the illustrative embodiments and descriptions of this invention are used to explain the invention, but are not intended to limit the invention.

[0048] It should also be noted that, in order to avoid obscuring the invention with unnecessary details, only the structures and / or processing steps closely related to the solution according to the invention are shown in the accompanying drawings, while other details that are not closely related to the invention are omitted.

[0049] Introduction to existing technologies:

[0050] Recent research has shown that overlapping channel partitioning can improve spectral efficiency and network capacity without increasing available bandwidth. For example... Figure 9 As shown, within a channel with a bandwidth (BW) of 500kHz, there are four 125kHz channels and two 250kHz channels. Assuming each channel supports SF6-12, we have 7×7 (BW, SF) to establish 49 logical channels, each determined by a specific center frequency and (BW, SF). Then, if all overlapping channels can be used, the capacity can be significantly improved.

[0051] However, existing LoRa gateways can only concurrently decode chirped signals with different slopes in the time-frequency domain, which requires orthogonality (BW, SF). Figure 10 As shown, if a set of chirp signals (BW, SF) satisfies the following rule: doubling BW and increasing SF by 2, they have the same slope. Non-orthogonal chirps with the same slope will cause decoding failure, such as... Figure 11 and 12 As shown, multiple chirps with the same slope will appear within the same decoding window, resulting in multiple energy amplitudes and interfering with decoding. We define this collision caused by chirps with different (BW, SF) but the same slope in the time-frequency domain as cross-channel collision. Existing LoRa gateway chips, such as SX1301 and SX1302, cannot resolve cross-channel collisions; therefore, the use of overlapping channel partitioning is abandoned. Based on the above analysis, we need a method that can decode cross-channel collisions to enable LoRa transmission in overlapping channels.

[0052] Existing technology 1:

[0053] Existing LoRa gateway chips cannot resolve cross-channel conflicts, and their decoding process is as follows: Figure 13 As shown, after detecting LoRa data packets, the existing gateway chip will align the decoding window and each symbol of the data payload through data packet synchronization. When decoding each symbol, the signal in the decoding window is multiplied with a standard downchirp signal and a fast Fourier transform (FFT) is performed. In the FFT result, the frequency point with the highest amplitude is selected as the decoding result.

[0054] Disadvantages of existing technology 1:

[0055] When facing cross-channel collisions, such as Figure 12 As shown, multiple amplitude values ​​appear in the FFT result. However, when the attenuation of the interfering chirp in the channel is less than that of the target chirp, the amplitude of the interfering chirp will be much higher than that generated by the target chirp. Existing gateways still select the amplitude with the highest energy as the decoding result, leading to decoding errors.

[0056] To solve the above problems, such as Figure 1 and 6 As shown, this invention proposes a method for concurrent transmission over a LoRa channel, the steps of which include:

[0057] Step S100: Acquire a LoRa signal in the target channel, perform cross-correlation calculation on the LoRa signal, locate the position of the down-frequency chirp signal of each data packet in the LoRa signal, and locate each data packet in the LoRa signal based on the position of the down-frequency chirp signal;

[0058] In the specific implementation process, in the step of locating the position of the down-frequency chirp signal of each data packet in the LoRa signal, the starting position of the down-frequency chirp signal of the data packet is located.

[0059] like Figure 5 As shown, once the starting position of the downchirp signal is determined, the position of the data payload, the position of the preamble, the position of the synchronization word, and the position of the start of frame delimiter (SFD) can be calculated from the length of the chirp signal. The lengths of a single downchirp signal, data chirp signal, upchirp signal, and chirp signal in the data payload are all equal.

[0060] In the specific implementation process, the formula for calculating the cross-correlation is as follows:

[0061] Xcorr(S receive (t),S temp (t))=∫S receive (t)* ×S temp (t)dt

[0062] Where S receive (t) represents the received LoRa signal, S receive (t) * S represents the conjugate of the received LoRa signal. temp (t) represents the locally generated downchirp.

[0063] In the actual implementation process, once a data packet appears, a corresponding cross-correlation peak will be generated.

[0064] like Figure 7 As shown, Figure 7 China T sym The length of a single chirped signal is the time length, which has the same meaning as ΔT. Multiple chirps with the same slope will appear within the same decoding window, resulting in multiple energy peaks (i.e., cross-correlation peaks), interfering with decoding. The location of the energy peaks is the detection time position. This kind of conflict caused by chirps with different (BW, SF) but the same slope in the time-frequency domain is called cross-channel conflict, such as... Figure 7 As shown, two data packets with different bandwidths appear. The cross-correlation with the wideband downchirp will produce two sets of cross-correlation peaks with different intervals. The interval between the peaks allows us to determine whether the detected data packet belongs to bandwidth bw, 2bw, or 4bw. After determining the channel bandwidth, it is necessary to determine the channel in which the data packet resides, i.e., the center frequency of the data packet. Taking a data packet with bandwidth bw as an example... Figure 8 As shown in (a), SFDs in four different channels will produce correlation peaks at the same location. Therefore, given a correlation peak, the channel in which the data packet is located can be determined as long as the offset K×ΔT of the correlation peak is known. Figure 8 Figure (b) shows the calculation process of K×ΔT. Since ΔT is a known quantity, all variables can be solved by solving a series of equations, and the channel in which the data packet is located can be determined. Figure 8 In this context, c represents ΔT, and K represents the number of offset chirped signals.

[0065] Step S200: Align the decoding window with the positions of each chirp signal in the data payload portion of the target data packet, decode to obtain the amplitude of each chirp signal in the decoding window, and obtain the first amplitude. The decoding window includes the first chirp signal of the data payload portion of the target data packet and the second chirp signal of other data packets.

[0066] like Figure 14As shown, in the specific implementation process, the length of the decoding window is equal to the length of the chirp signal of the target data packet, and the decoding window is aligned with the chirp signal of the target data packet by calculating the starting position of the chirp signal of the target data packet.

[0067] In the specific implementation process, in the step of decoding to obtain the amplitude of each chirped signal in the decoding window, the amplitude is obtained by calculating the Fast Fourier Transform.

[0068] In the specific implementation process, in the step of decoding to obtain the amplitude of each chirped signal in the decoding window, when decoding each chirped signal, the chirped signal in the decoding window is multiplied with a standard downchirped signal and a fast Fourier transform (FFT) is performed. In the FFT result, the highest amplitude is selected as the amplitude of the chirped signal.

[0069] Step S300: Determine the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window, perform erasure processing on the decoding window based on the erasure bandwidth, and re-decode the amplitude of each chirp signal in the decoding window after the erasure processing to obtain the second amplitude.

[0070] Step S400: Calculate the actual peak ratio based on the first amplitude and the second amplitude, calculate the target peak ratio based on the erasure bandwidth and the bandwidth of the first chirped signal, and determine the target chirped signal in the decoding window based on the actual peak ratio and the target peak ratio.

[0071] Using the above scheme, this scheme first locates each data packet in the LoRa signal through autocorrelation calculation, and then calculates the amplitude of each chirp signal in the decoding window in the decoding step. Due to the existence of cross-channel collisions in actual practice, the highest amplitude may not correspond to the target signal, but the first chirp signal fills the decoding window. This scheme calculates the target peak ratio based on the erasure bandwidth and the bandwidth of the first chirp signal. Ideally, the proportion of the erasure bandwidth to the decoding window is the same as the proportion of the first amplitude and the second amplitude of the first chirp signal. Therefore, this scheme determines the target chirp signal in the decoding window based on the actual peak ratio and the target peak ratio, which can effectively avoid interference from other chirp signals in cross-channel collisions, accurately determine the target chirp signal, and improve decoding accuracy.

[0072] like Figure 2 As shown, in some embodiments of the present invention, in the steps of determining the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window, performing erasure processing on the decoding window based on the erasure bandwidth, and re-decoding the amplitude of each chirp signal in the decoded window after the erasure processing to obtain the second amplitude:

[0073] Step S310: Determine whether there are multiple second chirped signals in the decoding window; if there are multiple second chirped signals, determine whether the bandwidth of the multiple second chirped signals is the same.

[0074] In the specific implementation process, if there are not multiple, the erasure bandwidth is determined based on the bandwidth of the second chirp signal in the decoding window, the decoding window is erased based on the erasure bandwidth, and the amplitude of each chirp signal in the decoding window after the erasure process is re-decoded to obtain the second amplitude.

[0075] In step S320, if they are different, an erasure bandwidth is determined for the second chirp signal of each bandwidth, the decoding window is erased based on each erasure bandwidth, and the amplitude of each chirp signal in the decoding window after the erasure process is re-decoded to obtain the second amplitude based on the erasure bandwidth.

[0076] In the specific implementation process, if they are the same, the erasure bandwidth is determined based on the same bandwidth where the second chirp signal in the decoding window is located. The decoding window is then erased based on the erasure bandwidth, and the amplitude of each chirp signal in the decoding window after the erasure process is re-decoded to obtain the second amplitude.

[0077] Figure 6 The Wiper search step is essentially the step of determining the erasure bandwidth. After obtaining the interfering chirp information within the window, a suitable Wiper is selected for decoding each interfering chirp. A Wiper is determined by two variables: bandwidth and starting frequency. For interfering chirps from wideband, assuming the target data packet bandwidth is 2bw, the interfering chirp bandwidth is 4bw. The Wiper bandwidth is set to bw, and four frequency points are selected to perform four frequency erasures. For interfering chirps from narrowband, whose bandwidth is bw, the Wiper bandwidth is set to bw, and one frequency erasure is performed based on the starting frequency of its channel. After determining a suitable Wiper for each interfering chirp, all Wipers are output to a set.

[0078] like Figure 3As shown, in some embodiments of the present invention, in the steps of calculating the actual peak ratio based on the first amplitude and the second amplitude, calculating the target peak ratio based on the erasure bandwidth and the bandwidth of the first chirped signal, and determining the chirped signal of the target in the decoding window based on the actual peak ratio and the target peak ratio, if there are multiple second chirped signals with different bandwidths in the decoding window, then step S410 is executed, calculating the actual peak ratio corresponding to the second chirped signal of each bandwidth based on the second amplitude calculated for each bandwidth, and step S420, calculating the corresponding target peak ratio based on the erasure bandwidth corresponding to the second chirped signal of each bandwidth, and determining the chirped signal of the target in the decoding window based on the calculated actual peak ratio and the target peak ratio.

[0079] like Figure 4 As shown, in some embodiments of the present invention, in the step of determining the chirped signal of the target in the decoding window based on the actual peak ratio and the target peak ratio calculated multiple times,

[0080] Step S421: If the chirp signal of the target is calculated to be the same chirp signal multiple times, then the chirp signal is taken as the chirp signal of the target.

[0081] In step S422, if the chirp signal of the target is not the same chirp signal after multiple calculations, the decoding window is aligned with the position of each chirp signal of the preamble in the data packet of the target, and the amplitude of each chirp signal in the preamble part of the decoding window is obtained by decoding to obtain a third amplitude. Based on the third amplitude and the first amplitude of the target's chirp signal obtained after multiple calculations, the chirp signal of the target is finally determined.

[0082] In the specific implementation process, the steps for decoding to obtain the amplitude values ​​of each chirped signal in the preamble portion of the decoding window are the same as the calculation methods for the first and second amplitude values.

[0083] like Figure 6 As shown in Figure 6, the decoding result correction steps are as follows: In some embodiments of the present invention, in the step of finally determining the chirp signal of the target based on the third amplitude and the first amplitude of the chirp signal of the target obtained by multiple calculations, the absolute values ​​of the differences between the third amplitude and multiple first amplitudes are calculated respectively, and the chirp signal corresponding to the smallest value among the absolute values ​​of the differences between the third amplitude and the first amplitude is taken as the chirp signal of the target.

[0084] Using the above scheme, when there are multiple calculations of the target's chirp signal that are not the same chirp signal, the principle of approximating signal loss for transmission in the same channel is applied. This scheme calculates the third amplitude corresponding to upchirp in the preamble to determine the target's chirp signal again, which can further refine the target's chirp signal.

[0085] In some embodiments of the present invention, in the step of determining the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window, it is determined whether the second chirp signal in the decoding window is a complete second chirp signal. If not, the erasure bandwidth is determined to be 0.5 * the bandwidth of the first chirp signal.

[0086] In some embodiments of the present invention, in the step of determining the chirp signal of the target in the decoding window based on the actual peak ratio and the target peak ratio, the absolute value of the difference between the actual peak ratio and the target peak ratio is calculated, and the chirp signal corresponding to the smallest absolute value of the difference between the actual peak ratio and the target peak ratio is taken as the chirp signal of the target.

[0087] like Figure 14 As shown, Figure 14 Two second chirp signals (i.e., interference chirp signals) exist in the decoding window. These two interference chirp signals are in a 3-4 bw channel with a bandwidth of bw. Based on these two interference chirp signals, the erasure bandwidth is determined to be bw, and bw is erased from the bottom of the window upwards. Another interference chirp signal only partially exists in the decoding window. Based on this interference chirp signal, the erasure bandwidth is determined to be bw, and bw is erased from the bottom of the window upwards. Since the erased portions are the same in both cases, only one calculation is needed to obtain the erasure bandwidth bw. Based on this erasure bandwidth and the bandwidth of the first chirp signal, the target peak ratio is calculated as the ratio of the erasure bandwidth bw to the bandwidth 2bw of the first chirp signal, which is 0.5. Figure 14 Chinese h t h' is the amplitude of the target chirped signal. t The amplitude of the target chirp signal after erasure is given. h1 and h3 are the amplitudes of two interfering chirp signals in the 3bw-4bw channel. h'1 is the amplitude of the interfering chirp signal corresponding to h1 after erasure. h'3 is the amplitude of the interfering chirp signal corresponding to h3 after erasure. h2 is the amplitude of another interfering chirp signal. h'2 is the amplitude of the interfering chirp signal corresponding to h2 after erasure.

[0088] Figure 14 In the calculation of the actual peak value ratio h' t / h t If h'1 / h1 is 0.5, h'2 / h2 is 1, and h'3 / h3 is 1, then 0.5 is closest to the target peak value ratio, thus yielding h. t The chirping signal for the target.

[0089] In some embodiments of the present invention, the step of performing cross-correlation calculation on the LoRa signal to locate the position of the down-frequency chirp signal of each data packet in the LoRa signal includes:

[0090] Cross-correlation calculation is performed on the LoRa signal to obtain the detection time position of the down-frequency chirp signal and the up-frequency chirp signal in each data packet of the LoRa signal;

[0091] The actual time positions of the down-frequency chirped signal and the up-frequency chirped signal are calculated based on the detection time positions of the down-frequency chirped signal and the up-frequency chirped signal.

[0092] In some embodiments of the present invention, in the step of calculating the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal based on the detection time positions of the down-frequency chirped signal and the up-frequency chirped signal, the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal are calculated based on the following formula:

[0093]

[0094] Where ΔT represents the length of a single chirped signal, the time length. Indicates the detection time position of the up-frequency chirp signal. T1 represents the detection time position of the down-frequency chirped signal, T2 represents the actual time position of the up-frequency chirped signal, T1 represents the actual time position of the down-frequency chirped signal, x represents the difference between the detection time position and the actual time position of the down-frequency chirped signal, and y represents the difference between the detection time position and the actual time position of the up-frequency chirped signal.

[0095] Using the above scheme, the existing methods for calculating the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal usually involve directly calculating the cross-correlation. This method can only locate the detection time position of this scheme, resulting in low detection accuracy. This scheme further accurately locates the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal by simultaneously solving the above equations.

[0096] In practice, this solution can be implemented using hardware HackRF and a laptop computer. HackRF serves as the radio frequency front end to receive signals, and the laptop computer performs the decoding.

[0097] The HackRF receiver uses Gnuradio to implement the signal reception code, which transmits the received signal to the computer via a serial port. The Mc-LoRa decoding code on the computer is implemented using Matlab.

[0098] The beneficial effects of this invention include:

[0099] 1. Compared with existing methods, this solution can decode cross-channel collisions and realize LoRa concurrent transmission on overlapping channels, effectively improving network capacity and spectrum utilization;

[0100] 2. This scheme can achieve concurrent transmission on overlapping channels and accurately capture target chirp signals, thus solving cross-channel concurrency issues caused by non-orthogonal channels;

[0101] 3. By employing a broadband cross-correlation method, concurrent data packets can be detected and their bandwidth determined, and concurrent data packets across channels can be detected.

[0102] 4. This solution accurately locates the target's chirp signal by setting the erasure bandwidth and further determining the chirp signal of the target in the decoding window based on the actual peak ratio and the target peak ratio.

[0103] This invention also provides a LoRa channel concurrent transmission system, which includes a computer device, a processor and a memory, wherein the memory stores computer instructions, and the processor executes the computer instructions stored in the memory. When the computer instructions are executed by the processor, the system implements the steps of the method described above.

[0104] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the aforementioned LoRa channel concurrent transmission method. The computer-readable storage medium can be a tangible storage medium, such as random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, floppy disk, hard disk, removable storage disk, CD-ROM, or any other form of storage medium known in the art.

[0105] Those skilled in the art will understand that the exemplary components, systems, and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software, or a combination of both. Whether implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention. When implemented in hardware, it can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the desired tasks. The programs or code segments can be stored in a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave.

[0106] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0107] In this invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or in place of features of other embodiments.

[0108] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, various modifications and variations of the embodiments of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for concurrent transmission over a LoRa channel, characterized in that, The steps of the method include: The LoRa signal is acquired in the target channel, cross-correlation calculation is performed on the LoRa signal, the position of the down-frequency chirp signal of each data packet in the LoRa signal is located, and each data packet in the LoRa signal is located based on the position of the down-frequency chirp signal. Align the decoding window with the positions of each chirp signal in the data payload portion of the target data packet, decode to obtain the amplitude of each chirp signal in the decoding window, and obtain the first amplitude. The decoding window includes the first chirp signal of the data payload portion of the target data packet and the second chirp signal of other data packets. The erasure bandwidth is determined based on the bandwidth of the second chirp signal in the decoding window. The decoding window is then erased based on the erasure bandwidth. The amplitude of each chirp signal in the decoding window after the erasure process is re-decoded to obtain the second amplitude. The actual peak ratio is calculated based on the first amplitude and the second amplitude. The target peak ratio is calculated based on the erasure bandwidth and the bandwidth of the first chirp signal. The chirp signal of the target in the decoding window is determined based on the actual peak ratio and the target peak ratio.

2. The LoRa channel concurrent transmission method according to claim 1, characterized in that, In the steps of determining the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window, erasing the decoding window based on the erasure bandwidth, and re-decoding the amplitude of each chirp signal in the decoded window after the erasure process to obtain the second amplitude: Determine whether there are multiple second chirped signals in the decoding window; if there are multiple second chirped signals, determine whether the bandwidth of the multiple second chirped signals is the same. If they are different, an erasure bandwidth is determined for the second chirp signal of each bandwidth, and the decoding window is erased based on each erasure bandwidth. The amplitude of each chirp signal in the decoding window after the erasure process is re-decoded to obtain the second amplitude based on the erasure bandwidth.

3. The LoRa channel concurrent transmission method according to claim 2, characterized in that, In the steps of calculating the actual peak ratio based on the first amplitude and the second amplitude, calculating the target peak ratio based on the erase bandwidth and the bandwidth of the first chirp signal, and determining the chirp signal of the target in the decoding window based on the actual peak ratio and the target peak ratio, if there are multiple second chirp signals with different bandwidths in the decoding window, then based on the second amplitude calculated from the second chirp signal of each bandwidth, the actual peak ratio corresponding to the second chirp signal of each bandwidth is calculated, the corresponding target peak ratio is calculated based on the erase bandwidth corresponding to the second chirp signal of each bandwidth, and the chirp signal of the target in the decoding window is determined based on the actual peak ratio and the target peak ratio calculated multiple times.

4. The LoRa channel concurrent transmission method according to claim 3, characterized in that, In the step of determining the chirped signal of the target in the decoding window based on the actual peak ratio and the target peak ratio calculated multiple times, If the chirp signal of the target is calculated to be the same chirp signal multiple times, then that chirp signal shall be taken as the chirp signal of the target. If the target's chirp signal is not the same chirp signal after multiple calculations, the decoding window is aligned with the positions of each chirp signal in the preamble of the target's data packet. The amplitude of each chirp signal in the preamble portion of the decoding window is then decoded to obtain a third amplitude. Based on the third amplitude and the first amplitude of the target's chirp signal obtained after multiple calculations, the target's chirp signal is finally determined.

5. The LoRa channel concurrent transmission method according to claim 4, characterized in that, In the step of finally determining the chirp signal of the target based on the third amplitude and the first amplitude of the chirp signal of the target obtained by multiple calculations, the absolute value of the difference between the third amplitude and multiple first amplitudes is calculated respectively, and the chirp signal corresponding to the smallest value among the absolute values ​​of the difference between the third amplitude and the first amplitude is taken as the chirp signal of the target.

6. The LoRa channel concurrent transmission method according to any one of claims 1-5, characterized in that, In the step of determining the erasure bandwidth based on the bandwidth of the second chirp signal in the decoding window, it is determined whether the second chirp signal in the decoding window is a complete second chirp signal. If not, the erasure bandwidth is determined to be 0.5 * the bandwidth of the first chirp signal.

7. The LoRa channel concurrent transmission method according to claim 1, characterized in that, In the step of determining the chirp signal of the target in the decoding window based on the actual peak ratio and the target peak ratio, the absolute value of the difference between the actual peak ratio and the target peak ratio is calculated, and the chirp signal corresponding to the smallest absolute value of the difference between the actual peak ratio and the target peak ratio is taken as the chirp signal of the target.

8. The LoRa channel concurrent transmission method according to claim 1, characterized in that, The steps of performing cross-correlation calculations on the LoRa signal to locate the down-frequency chirp signal of each data packet in the LoRa signal include: Cross-correlation calculation is performed on the LoRa signal to obtain the detection time position of the down-frequency chirp signal and the up-frequency chirp signal in each data packet of the LoRa signal; The actual time positions of the down-frequency chirped signal and the up-frequency chirped signal are calculated based on the detection time positions of the down-frequency chirped signal and the up-frequency chirped signal.

9. The LoRa channel concurrent transmission method according to claim 8, characterized in that, In the step of calculating the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal based on the detection time positions of the down-frequency chirped signal and the up-frequency chirped signal, the actual time positions of the down-frequency chirped signal and the up-frequency chirped signal are calculated based on the following formula: Where ΔT represents the length of a single chirped signal, the time length. Indicates the detection time position of the up-frequency chirp signal. T1 represents the detection time position of the down-frequency chirped signal, T2 represents the actual time position of the up-frequency chirped signal, T1 represents the actual time position of the down-frequency chirped signal, x represents the difference between the detection time position and the actual time position of the down-frequency chirped signal, and y represents the difference between the detection time position and the actual time position of the up-frequency chirped signal.

10. A LoRa channel concurrent transmission system, characterized in that, The system includes a computer device, which includes a processor and a memory. The memory stores computer instructions, and the processor executes the computer instructions stored in the memory. When the computer instructions are executed by the processor, the system implements the steps of the method as described in any one of claims 1-9.