A signal transmission method and system based on LoRa modulation
By using Gray spread spectrum and phase shift keying modulation technology in LoRa signal transmission, combined with constellation mapping and orthogonal base transmission of imaginary units, the problem of low LoRa signal transmission rate is solved and higher data transmission efficiency and error are achieved. Bit rate performance.
Patent Information
- Application Number
- CN202411001312.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The existing signal transmission technology based on LoRa modulation results in a low signal transmission rate and cannot meet the efficient data transmission requirements of some IoT applications.
Gray spread spectrum modulation is performed by obtaining the modulation bit sequence and constellation bit sequence, using a preset constellation point coordinate set for constellation mapping, and performing phase shift keying modulation through preset imaginary units and phase shift keying constellation points to generate a transmission signal. At the same time, a complex sequence is generated based on the transmitted signal and the initial falling chirp signal, and real and imaginary part decisions are made to output the LoRa modulation information sequence and phase shift keying symbol modulation decision results.
While transmitting LoRa modulation information, it can transmit additional phase shift keying symbol modulation decision results, significantly improving the signal transmission rate and improving the system's bit error rate performance.
Smart Images

Figure CN118573536B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technologies, and in particular to a signal transmission method and system based on LoRa modulation. Background Art
[0002] In recent years, the Internet of Things (IoT) technology has developed rapidly. In application scenarios such as smart agriculture, smart monitoring and smart buildings, wireless communication technology with long transmission distance and low power consumption is required. With the introduction of Low-Power Wide-Area Networks (LPWANs), it plays an important role in the Internet of Things.
[0003] LoRa (Long Range, LoRa) technology was proposed by Semtech in the United States. It is a low-power wide area network technology with relatively more applications and relatively mature technology, and has become an important supporting technology for the application of the Internet of Things. Among low-power wide area technologies, LoRa technology has the advantages of low power consumption, long distance, scalability, low cost, etc., and it has excellent physical layer modulation schemes and the ability to adaptively control data rates, making LoRa technology one of the most popular technologies, and research on LoRa technology has also attracted more and more attention.
[0004] Most of the existing signal transmission technologies based on LoRa modulation use CSS (Chirp Spread Spectrum) spread spectrum modulation and adaptive data rate. However, the transmission distance of LoRa is adjusted by the spreading factor (SF). The larger the SF, the longer the transmission distance, resulting in a lower signal transmission rate. Summary of the invention
[0005] The present invention provides a signal transmission method and system based on LoRa modulation, which are used to solve the technical problem that the existing signal transmission technology based on LoRa modulation leads to a low signal transmission rate.
[0006] A signal transmission method based on LoRa modulation provided by the first aspect of the present invention includes:
[0007] Acquire a modulation bit sequence and a constellation bit sequence, and perform Gray spread spectrum modulation on the modulation bit sequence to generate a LoRa signal;
[0008] Performing constellation mapping on the constellation bit sequence using a preset constellation point coordinate set, and outputting a phase shift keying constellation point;
[0009] Performing phase shift keying modulation on the LoRa signal by presetting an imaginary unit and the phase shift keying constellation point to generate a transmission signal;
[0010] Generate a complex sequence according to the transmission signal and a preset initial down chirp signal;
[0011] Perform real and imaginary part judgment on the complex sequence, and output the LoRa modulation information sequence and phase shift keying symbol modulation judgment result.
[0012] Optionally, the LoRa signal includes a first LoRa signal and a second LoRa signal; and the step of performing Gray spread spectrum modulation on the modulated bit sequence to generate the LoRa signal includes:
[0013] Performing a serial-to-parallel conversion operation on the modulated bit sequence to generate a parallel modulated bit sequence;
[0014] Dividing the parallel modulation bit sequence to determine a first parallel modulation bit subsequence and a second parallel modulation bit subsequence;
[0015] Respectively performing Gray mapping and base conversion on the first parallel modulated bit subsequence and the second parallel modulated bit subsequence to generate first decimal information data and second decimal information data;
[0016] The first decimal information data and the second decimal information data are respectively subjected to LoRa modulation to generate a first LoRa signal and a second LoRa signal.
[0017] Optionally, the phase shift keying constellation point includes a first phase shift keying constellation point and a second phase shift keying constellation point; the step of performing phase shift keying modulation on the LoRa signal by presetting an imaginary unit and the phase shift keying constellation point to generate a transmission signal includes:
[0018] Multiply the second LoRa signal and a preset imaginary unit to determine a second LoRa imaginary signal and multiply the second phase shift keying constellation point to determine a second phase shift keying LoRa signal;
[0019] The first LoRa signal is multiplied by the first phase shift keying constellation point to determine a first phase shift keying LoRa signal and superimpose it with the second phase shift keying LoRa signal to output a transmission signal.
[0020] Optionally, the step of generating a complex sequence according to the transmitted signal and a preset initial down-chirp signal comprises:
[0021] Performing channel interference on the transmission signal and outputting a reception signal;
[0022] multiplying the received signal and a preset initial down chirp signal to determine a received chirp signal;
[0023] performing a dechirp operation on the received chirp signal and outputting a dechirp signal;
[0024] The dechirped signal is subjected to discrete Fourier transform to generate a complex sequence.
[0025] Optionally, the LoRa modulation information sequence includes a first LoRa modulation information sequence and a second LoRa modulation information sequence; the step of performing real and imaginary part judgment on the complex sequence and outputting the LoRa modulation information sequence and a phase shift keying symbol modulation judgment result includes:
[0026] Extracting the real part and the imaginary part of the complex number sequence respectively to determine the real part sequence and the imaginary part sequence;
[0027] Selecting the maximum real part number and the maximum imaginary part number from the real part sequence and the imaginary part sequence respectively;
[0028] Performing base conversion on the index value corresponding to the maximum real part and the index value corresponding to the maximum imaginary part, respectively, and outputting a first LoRa modulation information sequence and a second LoRa modulation information sequence;
[0029] Calculating a plurality of Euclidean distances by using the maximum real part number and the maximum imaginary part number and a plurality of constellation point coordinates in the preset constellation point coordinate set;
[0030] The constellation point coordinates corresponding to the minimum Euclidean distance are used as the phase shift keying symbol modulation decision result.
[0031] Optionally, the LoRa signal is specifically:
[0032] ;
[0033] in, is the first LoRa signal; is the energy carried by a symbol; M is the number of chips in a LoRa symbol, , SF is the spreading factor; j is the imaginary unit; is the first decimal information data; n is the time domain index, n=0,1,2,...,M-1; is the discrete-time original upward chirp signal, ; is the second decimal information data; It is the second LoRa signal.
[0034] A second aspect of the present invention provides a signal transmission system based on LoRa modulation, comprising:
[0035] An acquisition module is used to acquire a modulation bit sequence and a constellation bit sequence, and perform Gray spread spectrum modulation on the modulation bit sequence to generate a LoRa signal;
[0036] An adopting module is used to perform constellation mapping on the constellation bit sequence by adopting a preset constellation point coordinate set, and output a phase shift keying constellation point;
[0037] A generating module, used for performing phase shift keying modulation on the LoRa signal by presetting an imaginary unit and the phase shift keying constellation point to generate a transmission signal;
[0038] According to the module, it is used to generate a complex sequence according to the transmission signal and the preset initial down chirp signal;
[0039] The output module is used to perform real and imaginary part judgment on the complex sequence, and output the LoRa modulation information sequence and phase shift keying symbol modulation judgment result.
[0040] A third aspect of the present invention provides a computer device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the signal transmission method based on LoRa modulation as described in any one of the above items.
[0041] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program / instruction stored thereon, wherein the computer program / instruction, when executed by a processor, implements the steps of the signal transmission method based on LoRa modulation as described in any one of the above items.
[0042] A fifth aspect of the present invention provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the signal transmission method based on LoRa modulation as described in any one of the above items.
[0043] It can be seen from the above technical solutions that the present invention has the following advantages:
[0044] The above technical scheme of the present invention provides a signal transmission method based on LoRa modulation, firstly, a modulation bit sequence and a constellation bit sequence are obtained, and the modulation bit sequence is subjected to Gray spread spectrum modulation to generate a LoRa signal; then, a preset constellation point coordinate set is used to perform constellation mapping on the constellation bit sequence, and a phase shift keying constellation point is output; the LoRa signal is subjected to phase shift keying modulation by preset imaginary units and phase shift keying constellation points to generate a transmission signal; a complex sequence is generated according to the transmission signal and a preset initial descending chirp signal; finally, the complex sequence is subjected to real and imaginary part judgment, and a LoRa modulation information sequence and a phase shift keying symbol modulation judgment result are output; based on the above scheme, the LoRa signal is orthogonally modulated by preset imaginary units and phase shift keying constellation points to generate a transmission signal, and the LoRa modulation information sequence and the phase shift keying symbol modulation judgment result are output according to the transmission signal and the preset initial descending chirp signal. While transmitting the LoRa modulation information sequence, an additional phase shift keying symbol modulation judgment result can also be transmitted, which can greatly improve the signal transmission rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0046] Figure 1 A flowchart of a signal transmission method based on LoRa modulation provided by an embodiment of the present invention;
[0047] Figure 2 An example diagram of a 4PSK and 8PSK constellation diagram provided in an embodiment of the present invention;
[0048] Figure 3 A flowchart of another signal transmission method based on LoRa modulation provided by an embodiment of the present invention;
[0049] Figure 4 A structural block diagram of a transmitter provided in an embodiment of the present invention;
[0050] Figure 5 A structural block diagram of a receiver provided by an embodiment of the present invention;
[0051] Figure 6 The spreading factor SF=7 provided in an embodiment of the present invention is a throughput comparison diagram between the LoRa system proposed by the present invention and the traditional LoRa system assisted by a constellation diagram under a Gaussian channel and a Rayleigh fading channel.
[0052] Figure 7 The spreading factor SF=11 provided in the embodiment of the present invention is a throughput comparison between the LoRa system proposed by the present invention assisted by a constellation diagram and a traditional LoRa system under a Gaussian channel and a Rayleigh fading channel.
[0053] Figure 8 A schematic diagram of the LoRa signal frequency changing over time provided by an embodiment of the present invention.
[0054] Fig. 9 A structural block diagram of a signal transmission system based on LoRa modulation provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The embodiments of the present invention provide a signal transmission method and system based on LoRa modulation, which are used to solve the technical problem that the existing signal transmission technology based on LoRa modulation causes a low signal transmission rate.
[0056] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] See also Figure 1 , Figure 1 A flow chart of the steps of a signal transmission method based on LoRa modulation provided by an embodiment of the present invention.
[0058] The present invention provides a signal transmission method based on LoRa modulation, comprising:
[0059] Step 101: Obtain a modulation bit sequence and a constellation bit sequence, and perform Gray spread spectrum modulation on the modulation bit sequence to generate a LoRa signal.
[0060] The LoRa signal includes a first LoRa signal and a second LoRa signal.
[0061] It should be noted that the total number of information bits transmitted by the LoRa transceiver system (LoRa system) proposed in the present invention within one symbol period is P, that is, the total number of information bits of the modulation bit sequence and the constellation bit sequence, wherein P=P1+P2, P1 is the total number of modulation bits of the modulation bit sequence, which is 2SF, and P2 is the total number of constellation bits of the constellation bit sequence, that is, the number of bits carried by the PSK (Phase Shift Keying) symbol; the LoRa transceiver system consists of a transmitter, a wireless channel and a receiver.
[0062] Specifically, the modulated bit sequence of the P1 bit is subjected to a serial-parallel conversion operation to generate a parallel modulated bit sequence, and the parallel modulated bit sequence is divided into two parts: a first parallel modulated bit subsequence and a second parallel modulated bit subsequence. Then, Gray mapping and base conversion are performed on the first parallel modulated bit subsequence and the second parallel modulated bit subsequence respectively to generate first decimal information data and second decimal information data; LoRa modulation is performed on the first decimal information data and the second decimal information data respectively to generate a first LoRa signal and a second LoRa signal; wherein the LoRa signal is specifically:
[0063] ;
[0064] in, is the first LoRa signal; is the energy carried by a symbol; M is the number of chips in a LoRa symbol, , SF is the spreading factor; j is the imaginary unit; is the first decimal information data; n is the time domain index, n=0,1,2,...,M-1; is the discrete-time original upward chirp signal, ; is the second decimal information data; It is the second LoRa signal.
[0065] In this embodiment, a modulation bit sequence and a constellation bit sequence are obtained, and Gray spread spectrum modulation is performed on the modulation bit sequence to generate a LoRa signal.
[0066] Step 102: Perform constellation mapping on the constellation bit sequence using a preset constellation point coordinate set, and output a phase shift keying constellation point.
[0067] It should be noted that the process of using the preset constellation point coordinate set to perform constellation mapping on the constellation bit sequence is specifically as follows: the constellation bit sequence of P2 bits Through the constellation bits and the preset constellation point coordinate set A one-to-one mapping relationship, mapped into constellation points , that is, the phase shift keying constellation point, such as Figure 2 As shown, the present invention shows two examples of 4PSK and 8PSK constellations used in constellation index-assisted LoRa modulation; wherein s is an index, indicating that the transmitted PSK symbol is the sth symbol in the PSK symbol set.
[0068] In this embodiment, a preset constellation point coordinate set is used to perform constellation mapping on the constellation bit sequence, and a phase shift keying constellation point is output.
[0069] Step 103: Perform phase shift keying modulation on the LoRa signal by presetting the imaginary unit and the phase shift keying constellation point to generate a transmission signal.
[0070] The phase shift keying constellation points include a first phase shift keying constellation point and the second phase shift keying constellation point , where the first phase shift keying constellation point is the horizontal coordinate of the phase shift keying constellation point, the second phase shift keying constellation point is the ordinate of the phase shift keying constellation point.
[0071] It should be noted that the process of performing phase shift keying modulation (PSK modulation) on the LoRa signal by presetting the imaginary unit and the phase shift keying constellation point is specifically as follows: multiplying the second LoRa signal by the preset imaginary unit to determine the second LoRa imaginary signal and multiplying it by the second phase shift keying constellation point to determine the second phase shift keying LoRa signal; multiplying the first LoRa signal by the first phase shift keying constellation point to determine the first phase shift keying LoRa signal and superimposing it with the second phase shift keying LoRa signal to output a transmission signal; the process rotates the phase of the second LoRa signal by π / 2, that is, multiplying it by the preset imaginary unit j, so that it is orthogonal to the first LoRa signal, so that the two LoRa signals (the first LoRa signal and the second LoRa signal) can be used as a set of orthogonal bases, and the phase shift keying constellation point is applied to the orthogonal base, thereby transmitting additional PSK symbols, that is, the first phase shift keying constellation point and the second phase shift keying constellation point; wherein the transmission signal can be linearly represented as:
[0072] ;
[0073] in, To send a signal; is the first phase shift keying constellation point, representing the real part of the transmitted signal; is the first LoRa signal; is the preset imaginary unit, i.e., the imaginary unit; is the second phase shift keying constellation point, representing the imaginary part of the transmitted signal, and ; is the second LoRa signal; s is an index, indicating that the transmitted PSK symbol is the sth symbol (phase shift keying constellation point) in the PSK symbol set, and , N p is the number of constellation bits.
[0074] In this embodiment, phase shift keying modulation is performed on the LoRa signal by presetting the imaginary unit and the phase shift keying constellation point to generate a transmission signal.
[0075] Step 104: Generate a complex sequence according to the transmitted signal and the preset initial down-chirp signal.
[0076] Specifically, channel interference is performed on the transmission signal through the wireless channel to output the reception signal; wherein the process of channel interference can be expressed as:
[0077] ;
[0078] in, To receive the signal; To send a signal; is an additive white Gaussian noise with a mean of zero and a variance of N0 / 2; h is the amplitude of the fading channel coefficient. If h=1, the wireless channel is an AWGN (Additive white Gaussian noise) channel. If h obeys the Rayleigh distribution, the wireless channel is a Rayleigh channel.
[0079] Further, the received signal and the preset initial down-chirp signal (initial down-chirp signal) are multiplied to determine the received chirp signal; the received chirp signal is dechirped to output a dechirped signal; the dechirped signal is subjected to a discrete Fourier transform (DFT) to generate a complex sequence; wherein the complex sequence can be expressed as:
[0080] ;
[0081] in, is the complex number sequence obtained after discrete Fourier transform; DFT is the discrete Fourier transform operation; To receive the signal; is the complex conjugate of the amplitude of the fading channel coefficient; is the complex conjugate of the preset initial down chirp signal; j is the imaginary unit; n is the time domain index, n=0,1,2,...,M-1; M is the number of chips in a LoRa symbol; is the first phase shift keying constellation point; is a real part sequence, indicating The real part of is the imaginary part sequence, indicating The imaginary part of is the first LoRa signal; is the second LoRa signal; is the second phase shift keying constellation point; is complex Gaussian noise.
[0082] In this embodiment, a complex sequence is generated according to a transmission signal and a preset initial down-chirp signal.
[0083] Step 105: Perform real and imaginary part judgment on the complex sequence, and output the LoRa modulation information sequence and phase shift keying symbol modulation judgment result.
[0084] The LoRa modulation information sequence includes a first LoRa modulation information sequence and a second LoRa modulation information sequence.
[0085] Specifically, real part extraction and imaginary part extraction are performed on the complex number sequence respectively to determine the real part sequence and the imaginary part sequence, wherein the real part sequence includes multiple real numbers of the real part, and the imaginary part sequence includes multiple real numbers of the imaginary part, for example, the real number of the imaginary part of 1+j is 1; the maximum real part number and the maximum imaginary part number are selected from the real part sequence and the imaginary part sequence respectively, wherein the maximum real part number is the real number of the largest real part, and the maximum imaginary part number is the real number of the largest imaginary part; the index value corresponding to the maximum real part number and the index value corresponding to the maximum imaginary part number are converted into base 1 respectively, and the first LoRa modulation information sequence and the second LoRa modulation information sequence are output.
[0086] Furthermore, the maximum real part number and the maximum imaginary part number are used with multiple constellation point coordinates in the preset constellation point coordinate set to calculate multiple Euclidean distances, that is, the maximum likelihood decision of PSK is performed on the maximum real part number and the maximum imaginary part number. The specific process is: the maximum real part number and the maximum imaginary part number As target coordinates , and the preset constellation point coordinate set The corresponding Euclidean distance is calculated for each constellation point coordinate, and the constellation point coordinate corresponding to the minimum Euclidean distance is used as the phase shift keying symbol modulation decision result; wherein, the calculation formula of the Euclidean distance is specifically:
[0087] ;
[0088] Where, d is the Euclidean distance; is the maximum real number; is the maximum imaginary part number; is the abscissa of the constellation point; is the ordinate of the constellation point.
[0089] In this embodiment, the real and imaginary parts of the complex sequence are judged, and the LoRa modulation information sequence and the phase shift keying symbol modulation judgment result are output.
[0090] In an embodiment of the present invention, the present invention provides a signal transmission method based on LoRa modulation, firstly, a modulation bit sequence and a constellation bit sequence are obtained, and the modulation bit sequence is subjected to Gray spread spectrum modulation to generate a LoRa signal; then, a preset constellation point coordinate set is used to perform constellation mapping on the constellation bit sequence, and a phase shift keying constellation point is output; the LoRa signal is subjected to phase shift keying modulation by preset imaginary units and phase shift keying constellation points to generate a transmission signal; a complex sequence is generated according to the transmission signal and a preset initial descending chirp signal; finally, the complex sequence is subjected to real and imaginary part judgment, and a LoRa modulation information sequence and a phase shift keying symbol modulation judgment result are output; based on the above scheme, the LoRa signal is orthogonally modulated by preset imaginary units and phase shift keying constellation points to generate a transmission signal, and the LoRa modulation information sequence and the phase shift keying symbol modulation judgment result are output according to the transmission signal and the preset initial descending chirp signal. While transmitting the LoRa modulation information sequence, an additional phase shift keying symbol modulation judgment result can also be transmitted, which greatly improves the transmission rate of the signal of the LoRa system.
[0091] See also Figure 3 , Figure 3 A flowchart of another signal transmission method based on LoRa modulation provided in an embodiment of the present invention.
[0092] The present invention provides a signal transmission method based on LoRa modulation, comprising:
[0093] Step 301: Obtain a modulation bit sequence and a constellation bit sequence, and perform Gray spread spectrum modulation on the modulation bit sequence to generate a LoRa signal.
[0094] The LoRa signal includes a first LoRa signal and a second LoRa signal.
[0095] Further, step 301 may include the following sub-steps:
[0096] S11, performing a serial-to-parallel conversion operation on the modulated bit sequence to generate a parallel modulated bit sequence;
[0097] S12, dividing the parallel modulation bit sequence to determine a first parallel modulation bit subsequence and a second parallel modulation bit subsequence;
[0098] S13, performing Gray mapping and base conversion on the first parallel modulated bit subsequence and the second parallel modulated bit subsequence respectively to generate first decimal information data and second decimal information data;
[0099] S14, performing LoRa modulation on the first decimal information data and the second decimal information data respectively to generate a first LoRa signal and a second LoRa signal.
[0100] Please note that Figure 4 The total number of information bits transmitted by the transceiver system in one symbol period is P. The transceiver system is composed of a transmitter, a wireless channel and a receiver. After the modulated bit sequence is input to the transmitter, the transmitter processes the modulated bit sequence as follows: the modulated bit sequence of P1 bits is divided into two parts: the first parallel modulated bit subsequence and the second parallel modulated bit subsequence ,in, is the first parallel modulation bit in the first parallel modulation bit subsequence, is the second parallel modulation bit in the first parallel modulation bit subsequence, is the SF-th parallel modulation bit in the first parallel modulation bit subsequence, is the SF+1th parallel modulation bit in the second parallel modulation bit subsequence, is the SF+2th parallel modulation bit in the second parallel modulation bit subsequence, It is the 2SF-th parallel modulation bit in the second parallel modulation bit subsequence.
[0101] Furthermore, the two first parallel modulated bit subsequences and the second parallel modulated bit subsequence Gray mapping and base conversion are performed respectively to obtain decimal information, that is, the first decimal information data m x and the second decimal information data m y , and then through LoRa modulation, two LoRa signals are obtained, namely the first LoRa signal and the second LoRa signal .
[0102] In this embodiment, a modulation bit sequence and a constellation bit sequence are obtained, and Gray spread spectrum modulation is performed on the modulation bit sequence to generate a LoRa signal.
[0103] Step 302: Use a preset constellation point coordinate set to perform constellation mapping on the constellation bit sequence, and output a phase shift keying constellation point.
[0104] In this embodiment, a preset constellation point coordinate set is used to perform constellation mapping on the constellation bit sequence, and a phase shift keying constellation point is output.
[0105] Step 303: multiply the second LoRa signal and the preset imaginary unit to determine the second LoRa imaginary signal and multiply it with the second phase shift keying constellation point to determine the second phase shift keying LoRa signal.
[0106] In this embodiment, the second LoRa signal and the preset imaginary unit are multiplied to determine the second LoRa imaginary signal, and the second LoRa imaginary signal is multiplied with the second phase shift keying constellation point to determine the second phase shift keying LoRa signal.
[0107] Step 304: multiply the first LoRa signal by the first phase shift keying constellation point, determine the first phase shift keying LoRa signal, and superimpose it with the second phase shift keying LoRa signal to output a transmission signal.
[0108] In this embodiment, the first LoRa signal is multiplied by the first phase shift keying constellation point to determine the first phase shift keying LoRa signal and superimpose it with the second phase shift keying LoRa signal to output a transmission signal.
[0109] Step 305: Generate a complex sequence according to the transmitted signal and the preset initial down-chirp signal.
[0110] Further, step 305 may include the following sub-steps:
[0111] S51, performing channel interference on the transmitted signal and outputting the received signal;
[0112] S52, multiplying the received signal and the preset initial down chirp signal to determine the received chirp signal;
[0113] S53, performing a dechirp operation on the received chirp signal, and outputting a dechirp signal;
[0114] S54. Perform discrete Fourier transform on the dechirped signal to generate a complex sequence.
[0115] Please note that Figure 5 Unlike traditional LoRa demodulation, this scheme adopts coherent demodulation, which requires channel information h (the amplitude of the fading channel coefficient). After channel interference processing, the received signal and the preset initial down-chirp signal are input into the receiver together. The receiver processes the received signal and the preset initial down-chirp signal as follows: multiply the received signal by the initial down-chirp signal (preset initial down-chirp signal) and the complex conjugate h* of h, and then perform a dechirp operation (dechirp operation), and then perform a DFT operation at M points to obtain the DFT result, that is, a complex sequence, perform real and imaginary part judgment on the complex sequence, and output the LoRa modulation information sequence and phase shift keying symbol modulation judgment result.
[0116] In this embodiment, a complex sequence is generated according to a transmission signal and a preset initial down-chirp signal.
[0117] Step 306: Perform real and imaginary part judgment on the complex sequence, and output the LoRa modulation information sequence and phase shift keying symbol modulation judgment result.
[0118] The LoRa modulation information sequence includes a first LoRa modulation information sequence and a second LoRa modulation information sequence.
[0119] Further, step 306 may include the following sub-steps:
[0120] S61, extracting the real part and the imaginary part of the complex sequence respectively to determine the real part sequence and the imaginary part sequence;
[0121] S62, selecting the maximum real part number and the maximum imaginary part number from the real part sequence and the imaginary part sequence respectively;
[0122] S63, performing base conversion on the index value corresponding to the maximum real part and the index value corresponding to the maximum imaginary part, respectively, and outputting a first LoRa modulation information sequence and a second LoRa modulation information sequence;
[0123] S64, calculating multiple Euclidean distances using the maximum real part number and the maximum imaginary part number and multiple constellation point coordinates in the preset constellation point coordinate set;
[0124] S65. Use the constellation point coordinates corresponding to the minimum Euclidean distance as the phase shift keying symbol modulation decision result.
[0125] It should be noted that since the peak of the DFT result of the first LoRa signal is located at the real part of , and the peak of the DFT result of the second LoRa signal is located at the imaginary part of , it is necessary to extract the real part and the imaginary part of , respectively, and then demodulate the two signals separately. Specifically, for example, the demodulation of the first LoRa signal requires the extraction of The real part of ,
[0126] Among them, k is the total number of real numbers, Real[.] is the real part operation; then in the real part sequence Find the maximum value in , and get the real maximum value and the index value corresponding to the real maximum value respectively, where the maximum value is Estimated value of , the index value corresponding to the maximum real number is Estimated value of , and then By performing base conversion, the information transmitted by the first LoRa signal can be restored to obtain the first LoRa modulation information sequence. ; then extract The imaginary part of the second LoRa signal can be restored by performing the above operation on the real part sequence to obtain the second LoRa modulation information sequence. , and get Estimated value of Finally, through and , and then perform the maximum likelihood decision of PSK to determine the corresponding constellation bits, that is, find the corresponding The constellation point with the smallest Euclidean distance is the decision result of the PSK symbol (phase shift keying symbol modulation decision result).
[0127] For further information, see Figure 6 When the spreading factor SF=7, the constellation diagram assists the LoRa system, that is, the number of bits carried by the PSK symbol in the LoRa transceiver system proposed by the present invention is P2=2, and the number of symbols per frame of information is N pa =8. Throughput is an important indicator to measure the transmission rate of a system. The calculation formula of throughput is as follows:
[0128] ;
[0129] in, is the throughput; is the number of symbols contained in a frame of information; is the number of bits carried by the system during one symbol; is the frame error rate, , is the symbol error rate of the system; It is the transmission time of one frame of information.
[0130] like Figure 6 As shown in the figure, when the spreading factor SF=7 and P2=2, the throughput of the constellation-assisted LoRa system is improved by 128.6% compared with the traditional LoRa system.
[0131] For further information, see Figure 7 When the spreading factor SF=11, the number of bits carried by the PSK symbol in the LoRa transceiver system proposed by the present invention is P2=2, and the number of symbols per frame of information is N pa = 8. The throughput of the constellation-assisted LoRa system is improved by 118.2% compared with the traditional LoRa system.
[0132] In this embodiment, the real and imaginary parts of the complex sequence are judged, and the LoRa modulation information sequence and the phase shift keying symbol modulation judgment result are output.
[0133] As a comparison of technical effects, we can refer to the existing technology. The existing LoRa modulation is an enhanced version of CSS modulation. In LoRa modulation, each symbol can carry SF bits, and each symbol consists of 2 SFChip composition, SF {7,..,12} represents the spreading factor. The bandwidth and symbol period of the LoRa signal are defined as B and .like Figure 8 As shown, within one symbol period, the frequency of the LoRa signal first changes linearly from the initial frequency f0 to the maximum frequency f max , then from the minimum frequency f min It rises to the initial frequency f0, so that the signal covers the entire bandwidth. Therefore, for a clearer explanation, the discrete time baseband signal of the LoRa modulation scheme can be expressed as:
[0134] ;
[0135] in, is a discrete-time baseband signal; The energy carried by each symbol; is the number of chips in a LoRa symbol; ; is the imaginary unit; m is the decimal information carried by the LoRa signal; is the time domain index, n=0,1,2,...,M-1; is the original rising chirp signal in discrete time, .
[0136] Furthermore, after the transmitted signal is transmitted through the wireless channel, it reaches the target receiving end and obtains the received signal. In order to recover the information bit, first, the received signal needs to be multiplied by the initial down chirp signal (this step is called de-chirp). Among them, the initial down chirp signal is the complex conjugate form of, and its signal can be expressed as
[0137] ;
[0138] in, is the complex conjugate of the initial descending chirp signal; is the imaginary unit; n is the time domain index, n=0,1,2,...,M-1; M is the number of chips in a LoRa symbol.
[0139] Furthermore, the de-chirped signal is subjected to an M-point discrete Fourier transform (DFT), and the following is obtained:
[0140] ;
[0141] in, is the complex sequence obtained after discrete Fourier transform; is the number of chips in a LoRa symbol; To receive the signal; is the complex conjugate of the initial down chirp signal; is symbolic energy; is complex Gaussian noise; k is the frequency domain index, k=0,1,2,...,M-1; n is the time domain index, n=0,1,2,...,M-1.
[0142] Furthermore, the DFT result is modulo-operated and the maximum term is selected to recover the transmitted information, that is, , and finally convert the decimal By converting to binary, the information bits can be recovered.
[0143] Furthermore, for the typical LoRa solution mentioned above, its transmission efficiency and transmission distance can be adjusted by the spreading factor. The larger the spreading factor, the longer the transmission distance will be, but the price that comes with it is a significant reduction in the transmission rate. Therefore, the transmission efficiency of this solution needs to be further improved.
[0144] In view of the above problems, the present invention proposes a signal transmission method based on LoRa modulation.
[0145] The traditional LoRa signal and the signal obtained by rotating its phase by 90° are used as a set of orthogonal bases to transmit additional PSK symbols. In addition to transmitting the 2SF bits carried by the LoRa signal, the P2bit carried by the PSK symbol can also be carried. To address the problem of low transmission rate in the traditional LoRa system, the present invention uses an upward chirp signal and its phase-rotated signal as a set of orthogonal bases. While transmitting two LoRa signals at the same time, additional PSK symbols can also be transmitted, thereby greatly improving the transmission rate of the system. To address the problem of relatively low bit error rate performance of the above-mentioned traditional LoRa system, the present invention can effectively improve the bit error rate performance of the system to a certain extent. At the same time, a high data rate effect can be achieved, so it has a broader application prospect.
[0146] In an embodiment of the present invention, the present invention provides a signal transmission method based on LoRa modulation, firstly, a modulation bit sequence and a constellation bit sequence are obtained, and the modulation bit sequence is subjected to Gray spread spectrum modulation to generate a LoRa signal; then, a preset constellation point coordinate set is used to perform constellation mapping on the constellation bit sequence, and a phase shift keying constellation point is output; the LoRa signal is subjected to phase shift keying modulation by preset imaginary units and phase shift keying constellation points to generate a transmission signal; a complex sequence is generated according to the transmission signal and a preset initial descending chirp signal; finally, the complex sequence is subjected to real and imaginary part judgment, and a LoRa modulation information sequence and a phase shift keying symbol modulation judgment result are output; based on the above scheme, the LoRa signal is orthogonally modulated by preset imaginary units and phase shift keying constellation points to generate a transmission signal, and the LoRa modulation information sequence and the phase shift keying symbol modulation judgment result are output according to the transmission signal and the preset initial descending chirp signal. While transmitting the LoRa modulation information sequence, an additional phase shift keying symbol modulation judgment result can also be transmitted, which greatly improves the transmission rate of the signal of the LoRa system.
[0147] See also Fig. 9 , Fig. 9 A structural block diagram of a signal transmission system based on LoRa modulation provided in an embodiment of the present invention.
[0148] The present invention provides a signal transmission system based on LoRa modulation, comprising:
[0149] The acquisition module 901 is used to acquire a modulation bit sequence and a constellation bit sequence, and perform Gray spread spectrum modulation on the modulation bit sequence to generate a LoRa signal;
[0150] Using module 902, for performing constellation mapping on the constellation bit sequence using a preset constellation point coordinate set, and outputting a phase shift keying constellation point;
[0151] A generating module 903 is used to perform phase shift keying modulation on the LoRa signal by presetting an imaginary unit and a phase shift keying constellation point to generate a transmission signal;
[0152] According to module 904, it is used to generate a complex sequence according to the transmitted signal and the preset initial down chirp signal;
[0153] The output module 905 is used to perform real and imaginary part judgment on the complex sequence, and output the LoRa modulation information sequence and the phase shift keying symbol modulation judgment result.
[0154] Further, the LoRa signal includes a first LoRa signal and a second LoRa signal; the acquisition module 901 is specifically used for:
[0155] Performing a serial-to-parallel conversion operation on the modulated bit sequence to generate a parallel modulated bit sequence;
[0156] Dividing the parallel modulation bit sequence to determine a first parallel modulation bit subsequence and a second parallel modulation bit subsequence;
[0157] Respectively performing Gray mapping and base conversion on the first parallel modulated bit subsequence and the second parallel modulated bit subsequence to generate first decimal information data and second decimal information data;
[0158] The first decimal information data and the second decimal information data are respectively subjected to LoRa modulation to generate a first LoRa signal and a second LoRa signal.
[0159] Further, the phase shift keying constellation point includes a first phase shift keying constellation point and a second phase shift keying constellation point; the generating module 903 is specifically used for:
[0160] Multiply the second LoRa signal and the preset imaginary unit to determine the second LoRa imaginary signal and multiply the second phase shift keying constellation point to determine the second phase shift keying LoRa signal;
[0161] The first LoRa signal is multiplied by the first phase shift keying constellation point to determine the first phase shift keying LoRa signal and superimpose it with the second phase shift keying LoRa signal to output a transmission signal.
[0162] Further, according to module 904, it is specifically used to:
[0163] Perform channel interference on the transmitted signal and output the received signal;
[0164] Multiplying the received signal and a preset initial down chirp signal to determine a received chirp signal;
[0165] performing a dechirp operation on the received chirp signal and outputting a dechirp signal;
[0166] Perform a discrete Fourier transform on the dechirped signal to generate a complex sequence.
[0167] Further, the LoRa modulation information sequence includes a first LoRa modulation information sequence and a second LoRa modulation information sequence; the output module 905 is specifically used for:
[0168] Extract the real part and the imaginary part of the complex sequence respectively to determine the real part sequence and the imaginary part sequence;
[0169] Select the maximum real part number and the maximum imaginary part number in the real part sequence and the imaginary part sequence respectively;
[0170] Perform base conversion on the index value corresponding to the maximum real part and the index value corresponding to the maximum imaginary part, respectively, and output a first LoRa modulation information sequence and a second LoRa modulation information sequence;
[0171] Calculate multiple Euclidean distances by using the maximum real part number and the maximum imaginary part number and multiple constellation point coordinates in the preset constellation point coordinate set;
[0172] The constellation point coordinates corresponding to the minimum Euclidean distance are used as the phase shift keying symbol modulation decision result.
[0173] Furthermore, the LoRa signal is specifically:
[0174] ;
[0175] in, is the first LoRa signal; is the energy carried by a symbol; M is the number of chips in a LoRa symbol, , SF is the spreading factor; j is the imaginary unit; is the first decimal information data; n is the time domain index, n=0,1,2,...,M-1; is the discrete-time original upward chirp signal, ; is the second decimal information data; It is the second LoRa signal.
[0176] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0177] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0178] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0179] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A signal transmission method based on LoRa modulation, characterized in that: include: Acquire a modulation bit sequence and a constellation bit sequence, and perform Gray spread spectrum modulation on the modulation bit sequence to generate a LoRa signal; the LoRa signal includes a first LoRa signal and a second LoRa signal; Performing constellation mapping on the constellation bit sequence using a preset constellation point coordinate set, and outputting a phase shift keying constellation point; Performing phase shift keying modulation on the LoRa signal by presetting an imaginary unit and the phase shift keying constellation point to generate a transmission signal; Generate a complex sequence according to the transmission signal and a preset initial down chirp signal; Perform real and imaginary part judgment on the complex sequence, and output the LoRa modulation information sequence and phase shift keying symbol modulation judgment result; The phase shift keying constellation point includes a first phase shift keying constellation point and a second phase shift keying constellation point; the step of performing phase shift keying modulation on the LoRa signal by presetting an imaginary unit and the phase shift keying constellation point to generate a transmission signal includes: Multiply the second LoRa signal and a preset imaginary unit to determine a second LoRa imaginary signal and multiply the second phase shift keying constellation point to determine a second phase shift keying LoRa signal; The first LoRa signal is multiplied by the first phase shift keying constellation point to determine a first phase shift keying LoRa signal and superimpose it with the second phase shift keying LoRa signal to output a transmission signal.
2. The signal transmission method based on LoRa modulation according to claim 1, characterized in that: The step of performing Gray spread spectrum modulation on the modulated bit sequence to generate a LoRa signal includes: Performing a serial-to-parallel conversion operation on the modulated bit sequence to generate a parallel modulated bit sequence; Dividing the parallel modulation bit sequence to determine a first parallel modulation bit subsequence and a second parallel modulation bit subsequence; Respectively performing Gray mapping and base conversion on the first parallel modulated bit subsequence and the second parallel modulated bit subsequence to generate first decimal information data and second decimal information data; The first decimal information data and the second decimal information data are respectively subjected to LoRa modulation to generate a first LoRa signal and a second LoRa signal.
3. The signal transmission method based on LoRa modulation according to claim 2, characterized in that: The step of generating a complex sequence according to the transmitted signal and the preset initial down chirp signal comprises: Performing channel interference on the transmission signal and outputting a reception signal; multiplying the received signal and a preset initial down chirp signal to determine a received chirp signal; performing a dechirp operation on the received chirp signal and outputting a dechirp signal; The dechirped signal is subjected to discrete Fourier transform to generate a complex sequence.
4. The signal transmission method based on LoRa modulation according to claim 2, characterized in that: The LoRa modulation information sequence includes a first LoRa modulation information sequence and a second LoRa modulation information sequence; the step of performing real and imaginary part judgment on the complex sequence and outputting the LoRa modulation information sequence and the phase shift keying symbol modulation judgment result includes: Extracting the real part and the imaginary part of the complex number sequence respectively to determine the real part sequence and the imaginary part sequence; Selecting the maximum real part number and the maximum imaginary part number from the real part sequence and the imaginary part sequence respectively; Performing base conversion on the index value corresponding to the maximum real part and the index value corresponding to the maximum imaginary part, respectively, and outputting a first LoRa modulation information sequence and a second LoRa modulation information sequence; Calculating a plurality of Euclidean distances by using the maximum real part number and the maximum imaginary part number and a plurality of constellation point coordinates in the preset constellation point coordinate set; The constellation point coordinates corresponding to the minimum Euclidean distance are used as the phase shift keying symbol modulation decision result.
5. The signal transmission method based on LoRa modulation according to claim 2, characterized in that: The LoRa signal is specifically: ; in, is the first LoRa signal; is the energy carried by a symbol; M is the number of chips in a LoRa symbol, , SF is the spreading factor; j is the imaginary unit; is the first decimal information data; n is the time domain index, n=0,1,2,...,M-1; is the discrete-time original upward chirp signal, ; is the second decimal information data; It is the second LoRa signal.
6. A signal transmission system based on LoRa modulation, characterized in that: include: An acquisition module is used to acquire a modulation bit sequence and a constellation bit sequence, and perform Gray spread spectrum modulation on the modulation bit sequence to generate a LoRa signal; the LoRa signal includes a first LoRa signal and a second LoRa signal; An adopting module is used to perform constellation mapping on the constellation bit sequence by adopting a preset constellation point coordinate set, and output a phase shift keying constellation point; A generating module, used for performing phase shift keying modulation on the LoRa signal by presetting an imaginary unit and the phase shift keying constellation point to generate a transmission signal; According to the module, it is used to generate a complex sequence according to the transmission signal and the preset initial down chirp signal; An output module is used to perform real and imaginary part judgment on the complex sequence, and output a LoRa modulation information sequence and a phase shift keying symbol modulation judgment result; The phase shift keying constellation point includes a first phase shift keying constellation point and a second phase shift keying constellation point; the generating module is specifically used for: Multiply the second LoRa signal and a preset imaginary unit to determine a second LoRa imaginary signal and multiply the second phase shift keying constellation point to determine a second phase shift keying LoRa signal; The first LoRa signal is multiplied by the first phase shift keying constellation point to determine a first phase shift keying LoRa signal and superimpose it with the second phase shift keying LoRa signal to output a transmission signal.
7. A computer device, characterized in that: It includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the signal transmission method based on LoRa modulation as described in any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by the processor, the steps of the signal transmission method based on LoRa modulation as described in any one of claims 1 to 5 are implemented.
9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by the processor, the steps of the signal transmission method based on LoRa modulation as described in any one of claims 1 to 5 are implemented.
Citation Information
Cited By
Constellation diagram modulation and demodulation method and system based on chirp signal
CN121441704A
