WO2021232566A1 - Spread spectrum signal sending method and apparatus, spread spectrum signal receiving method and apparatus, and device and medium - Google Patents

Spread spectrum signal sending method and apparatus, spread spectrum signal receiving method and apparatus, and device and medium Download PDF

Info

Publication number
WO2021232566A1
WO2021232566A1 PCT/CN2020/101783 CN2020101783W WO2021232566A1 WO 2021232566 A1 WO2021232566 A1 WO 2021232566A1 CN 2020101783 W CN2020101783 W CN 2020101783W WO 2021232566 A1 WO2021232566 A1 WO 2021232566A1
Authority
WO
WIPO (PCT)
Prior art keywords
spread spectrum
signal
optimization parameter
spectrum modulation
modulation optimization
Prior art date
Application number
PCT/CN2020/101783
Other languages
French (fr)
Chinese (zh)
Inventor
郑波浪
李晓明
熊艳伟
李建龙
刘伟
Original Assignee
北京升哲科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京升哲科技有限公司 filed Critical 北京升哲科技有限公司
Publication of WO2021232566A1 publication Critical patent/WO2021232566A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/707Spread spectrum techniques using direct sequence modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/707Spread spectrum techniques using direct sequence modulation
    • H04B1/7073Synchronisation aspects
    • H04B1/7087Carrier synchronisation aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J13/00Code division multiplex systems
    • H04J13/16Code allocation
    • H04J13/18Allocation of orthogonal codes
    • H04J13/20Allocation of orthogonal codes having an orthogonal variable spreading factor [OVSF]

Definitions

  • This application relates to the field of Internet of Things communications, for example, to a spread-spectrum signal transmission method, a spread-spectrum signal reception method, device, equipment, and medium.
  • the spread sequence set is composed of M orthogonal codewords of length n.
  • M correlators are usually required to complete the orthogonal despreading operation and determine the sequence number of the transmitted spreading sequence to obtain modulation information.
  • the frequency of the signal will shift during the transmission process.
  • the frequency offset can be estimated and compensated during demodulation to reduce the frequency offset, but the frequency offset cannot be completely eliminated.
  • the compensated frequency offset The amount is the residual frequency offset.
  • the M-ary orthogonal spread spectrum modulation technology usually requires that the residual frequency offset of the spread spectrum sequence is small.
  • the frequency offset can be estimated by increasing the length of the preamble and using a high-precision synchronization algorithm to improve the accuracy of frequency offset compensation; it can also reduce the introduction of frequency offset by improving the stability of the crystal oscillator.
  • the aforementioned methods all require the support of higher-cost hardware equipment, which greatly increases the cost of the spread spectrum system.
  • the embodiments of the application provide a spread spectrum signal transmission method, spread spectrum signal reception method, device, equipment and medium, which can increase the tolerable frequency offset of the system, reduce the complexity of system frequency offset estimation and frequency offset tracking, and reduce the system Cost and complexity of implementation.
  • an embodiment of the present application provides a method for transmitting a spread spectrum signal, including:
  • the preset residual frequency deviation tolerance threshold is obtained, and the optimization parameters of spread spectrum modulation are determined;
  • the number of the information unit matches the spread spectrum modulation optimization parameter
  • the Hadamard matrix is used to spread the spectrum of each of the information units to form a spread spectrum signal and send the spread spectrum signal to the signal receiving device after being modulated, wherein the spread spectrum modulation optimization parameters are used to provide all the information in advance.
  • the signal receiving device instructs the signal receiving device to correct the signal despreading result.
  • an embodiment of the present application also provides a method for receiving a spread spectrum signal, including:
  • obtaining a despreading result of the spread spectrum signal where the despreading result is determined by despreading the spread spectrum signal by using a Hadamard matrix spread spectrum technique
  • the despreading result is modified according to the spread spectrum modulation optimization parameter, and at least one information unit is determined, and the number of the information unit matches the spread spectrum modulation optimization parameter.
  • an embodiment of the present application also provides a spread spectrum signal sending device, including:
  • the spread spectrum modulation optimization parameter determination module is configured to obtain a preset residual frequency deviation tolerance threshold during signal transmission, and determine the spread spectrum modulation optimization parameter;
  • An information unit acquisition module configured to acquire at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter
  • the signal spreading module is configured to use a Hadamard matrix to spread the spectrum of each of the information units to form a spread spectrum signal and send the spread spectrum signal to the signal receiving device after being modulated, wherein the spread spectrum modulation
  • the optimized parameter is used to provide the signal receiving device in advance to instruct the signal receiving device to correct the signal despreading result.
  • an embodiment of the present application also provides a spread spectrum signal receiving device, including:
  • the spread-spectrum signal despreading module is configured to obtain the despreading result of the spread-spectrum signal during signal transmission, and the despreading result is determined by despreading the spread-spectrum signal by using the Hadamard matrix spread spectrum technology ;
  • a spread spectrum modulation optimization parameter acquisition module configured to acquire a spread spectrum modulation optimization parameter, the spread spectrum modulation optimization parameter being determined according to a preset residual frequency deviation tolerance threshold;
  • the despreading result correction module is configured to correct the despreading result according to the spread spectrum modulation optimization parameter, and determine at least one information unit, and the number of the information units matches the spread spectrum modulation optimization parameter.
  • an embodiment of the present application also provides a signal sending device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer program.
  • the program implements the spread spectrum signal transmission method as described in any of the embodiments of this application.
  • an embodiment of the present application also provides a signal receiving device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer
  • the program implements the spread spectrum signal receiving method as described in any of the embodiments of this application.
  • the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it can achieve the same as any of the embodiments of the present application.
  • the method for transmitting a spread spectrum signal may implement the method for receiving a spread spectrum signal as described in any one of the embodiments of the present application.
  • Figure 1 is a schematic diagram of an autocorrelation peak output by a correlator in the related art
  • Embodiment 2 is a flowchart of a method for transmitting a spread spectrum signal in Embodiment 1 of the present application;
  • FIG. 3 is a schematic diagram of an autocorrelation peak output by a correlator under a residual frequency offset in an embodiment of the present application
  • FIG. 4 is a schematic diagram of an autocorrelation peak output by a correlator under another residual frequency offset in an embodiment of the present application
  • FIG. 5 is a flowchart of a method for receiving a spread spectrum signal in Embodiment 2 of the present application.
  • FIG. 6 is a schematic diagram of an application scenario to which an embodiment of the present application is applicable.
  • FIG. 7 is a schematic diagram of a signal sending device in Embodiment 3 of the present application.
  • FIG. 8 is a schematic diagram of a signal receiving device in Embodiment 3 of the present application.
  • FIG. 9 is a schematic structural diagram of a spread spectrum signal sending device in Embodiment 4 of the present application.
  • FIG. 10 is a schematic structural diagram of a spread spectrum signal receiving device in Embodiment 5 of the present application.
  • FIG. 11 is a schematic structural diagram of a computer device in Embodiment 6 of the present application.
  • H n ' is the transposed matrix of H n and I is the unit square matrix.
  • the signal receiving device uses M correlators matching the M row vectors of the Hadamard matrix to perform despreading operations, and selects the correlator identification information (such as the correlator serial number) corresponding to the largest correlation value from the M correlators output as the solution Spread output, determine the spreading row vector according to the identification information of the correlator, and the modulation symbol represented by the row vector is the effective data transmitted.
  • M correlators matching the M row vectors of the Hadamard matrix to perform despreading operations, and selects the correlator identification information (such as the correlator serial number) corresponding to the largest correlation value from the M correlators output as the solution Spread output, determine the spreading row vector according to the identification information of the correlator, and the modulation symbol represented by the row vector is the effective data transmitted.
  • the row vectors are numbered in the order from top to bottom, where the row vector with the sequence number 500 is used as the spreading sequence, and at the same time, the row vector is numbered .
  • the i-th correlator multiplies the demodulated signal with the i-th row vector to calculate the peak value.
  • the peak value is actually the amplitude, where i is greater than or equal to 0 and less than n. As shown in Figure 1, the peak output of M correlators is displayed.
  • FIG. 2 is a schematic diagram of a flow chart of a method for transmitting a spread spectrum signal in the first embodiment of the application.
  • This embodiment is applicable to the case of transmitting signals based on the Hadamard matrix spread spectrum technology.
  • the method may be provided by the embodiment of the application.
  • the spread spectrum signal transmission device can be implemented by means of software and/or hardware, and can generally be integrated into computer equipment. As shown in Figure 2, the method of this embodiment may include:
  • S110 In the process of signal transmission, obtain a preset residual frequency offset tolerance threshold, and determine an optimization parameter of spread spectrum modulation.
  • the process of signal transmission may refer to the process of signal transmission using the multi-ary orthogonal spread spectrum technology.
  • the signal transmission process can be in the application scenario of long-distance, low-power, narrow-band communications, and the Internet of Things.
  • the signal transmission data rate is low and the sensitivity is high.
  • the data transmission efficiency is improved by increasing the number of information bits carried by a single spread spectrum sequence.
  • the use of multi-ary orthogonal spread spectrum technology to transmit signals can be: acquiring multiple bits, that is, effectively transmitting data, as a modulation symbol, in the same unit time (the unit time can refer to the allocated time slice),
  • the modulation symbol performs multi-ary orthogonal spread spectrum to generate a spread spectrum signal and modulate it to form a radio frequency signal and send it to the signal receiving device.
  • a set number of bits can be transmitted simultaneously.
  • the residual frequency deviation tolerance threshold may refer to the maximum value of the residual frequency deviation.
  • the residual frequency deviation tolerance threshold can be a value input in advance by the user or a value preset by the system.
  • the spread spectrum modulation optimization parameter is used to determine the maximum number of bits transmitted in parallel in the same unit time, that is, the spread spectrum modulation optimization parameter is used to specify the number of information units transmitted in the same unit time.
  • the residual frequency offset tolerance threshold is used to determine the optimization parameters of spread spectrum modulation, thereby indirectly determining the maximum number of bits transmitted in parallel in the same unit time. The maximum number of bits can be selected for transmission in the same unit time, which ensures the accuracy of the despreading result while taking into account the transmission efficiency.
  • the spread spectrum modulation optimization parameter may be calculated according to the correspondence between the preset residual frequency offset tolerance threshold and the spread spectrum modulation optimization parameter, where the correspondence relationship is obtained based on experiments.
  • the residual frequency offset causes an error in the despreading result of the signal receiving device.
  • the signal to be despread has a residual frequency offset, for example, when the normalized residual frequency offset is 0.2, the peak output of the M correlators in the previous example is shown in FIG. 3.
  • the residual frequency offset destroys the orthogonality of the row vectors in the Hadamard matrix. Due to the existence of the residual frequency offset, not only the serial number 500 correlator has peaks, but also multiple originally orthogonal correlators will also have peaks.
  • the system can still correctly obtain the effective data carried by the spreading sequence. Shows that the system has a certain ability to resist frequency offset. However, when the normalized residual frequency offset is greater than 0.5, the peak value of other correlators (such as the correlator with serial number 2620) caused by the residual frequency offset is already greater than the peak value of the correct correlator, as shown in Figure 4, causing the signal receiving device to obtain an error. Effective data carried by the spreading sequence.
  • the partial spreading sequence set with the first sequence number can be selected for spreading operation, that is, the reduction in the same unit The number of bits transmitted in time. It can be understood that there is a corresponding relationship between the residual frequency offset and the number of bits transmitted in the same unit time.
  • the Hadamard matrix has the following iterative structure:
  • the row vector of the Hadamard matrix is an even row, which can be divided into two matrices up and down.
  • the order n of the Hadamard matrix is greater than 2, and n is a non-negative integer.
  • the spreading sequences represented by each row vector of the Hadamard matrix are respectively A periodically changing signal.
  • the unit frequency signal is the unit frequency Where B is the bandwidth and n is the order of the Hadamard matrix. Therefore, the lower half of the Hadamard matrix is equivalent to the product of the upper half of the matrix and the unit frequency signal.
  • the 2/4 matrix of the Hadamard matrix is equivalent to the product of the 1/4 matrix and twice the unit frequency signal; the 3/4 matrix of the Hadamard matrix is equivalent to the product of the 1/4 matrix and the unit frequency signal; the 4/4 of the Hadamard matrix The matrix is equivalent to the product of the 1/4 matrix and the unit frequency signal, but the 4/4 matrix of the Hadamard matrix and the 3/4 matrix of the Hadamard matrix have different initial phases.
  • the row vector of the upper matrix may be misjudged as the row vector of the lower matrix at the corresponding position.
  • the vector at position p may be misjudged as the position of p+2 n-1 . vector.
  • the vector corresponding to the 1/4 matrix may be misjudged as the 2/4 matrix, the vector at the corresponding position of the 3/4 matrix or the 4/4 matrix, for example, the vector at the position p may be wrong. It is judged as a vector of p+2 n-2 , p+2*2 n-2 or p+3*2 n-2.
  • the normalized residual frequency offset refers to that the residual frequency offset is normalized with a unit frequency as a unit.
  • the obtaining the preset residual frequency deviation tolerance threshold and determining the optimization parameters of spread spectrum modulation includes:
  • A is the residual frequency offset tolerance threshold
  • B is the bandwidth
  • n is the order of the Hadamard matrix
  • d is a non-negative integer.
  • the calculated d may have multiple values, which may be determined as required, for example, the minimum value may be selected.
  • d can be infinitely large, but the larger d, the smaller the number of information bits carried by the spreading sequence transmitted at the same time, and the corresponding transmission efficiency is reduced. It can be seen that, in accordance with the above formula, d is smaller , The higher the transmission efficiency.
  • B 125KHz
  • A 32Hz.
  • the formula is 1.05 ⁇ 2 d-1 , and d is greater than 1.07. You can choose d as 2.
  • the correspondence relationship between the residual frequency deviation tolerance threshold and the spread spectrum modulation optimization parameter is determined in advance, so as to calculate the spread spectrum modulation optimization parameter according to the residual frequency deviation tolerance threshold value to ensure the objectiveness of the spread spectrum modulation optimization parameter. , Improve the accuracy of de-spreading results.
  • the correlators with serial numbers 500 and 500+2 n-1 will all have auto-correlation peaks.
  • the sequence numbers are 500, 500+2 n-2 , 500+2*2 n-2 and 500+ 3*2 n-2 correlators will have auto-correlation peaks.
  • the correlator with the serial number 500+(2 j -1)2 nd will have an autocorrelation peak, and j is greater than or equal to 0 and less than or equal to d.
  • n 3 and the row vector of the first row is used as a spreading sequence
  • the correlators with serial numbers 1 and 5 will both have auto-correlation peaks, and the correlator with serial number 1 determines The valid data of is 001, and the valid data determined by the correlator with serial number 5 is 101.
  • the correlations with serial numbers 1, 5 and 9 The autocorrelation peak appears in the correlator, the valid data determined by the correlator with serial number 1 is 0001, the valid data determined by the correlator with serial number 5 is 0101, and the valid data determined by the correlator with serial number 9 is 1001.
  • the correlator sequence number deviation caused by the residual frequency offset will only cause errors in the high bits of the valid data, and will not affect the low bits of the valid data. In this way, the high position in the valid data can be directly zeroed.
  • S120 Acquire at least one information unit, where the number of the information unit matches the spread spectrum modulation optimization parameter.
  • the information unit is used to transmit effective information to the signal receiving device, and an information unit may refer to a bit.
  • multiple information units can be transmitted at the same time in the same unit time, and the number of information units can refer to the number of information units transmitted at the same time.
  • the number of information units transmitted at the same time is determined according to the optimization parameters of spread spectrum modulation.
  • the obtaining at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter includes: determining the maximum number of information bits carried by the spread spectrum sequence according to the spread spectrum modulation optimization parameter; Acquire multiple information units, and the number of information units is the maximum number of information bits.
  • the number of bits that can be transmitted in the same unit time is determined according to the order of the Hadamard matrix.
  • selecting the maximum number of bits that can be transmitted to form a modulation symbol can increase the number of bits transmitted in the same unit time and improve transmission efficiency.
  • a high-complexity synchronization algorithm or a high-stability crystal oscillator is required to reduce the frequency offset and increase the cost of frequency offset compensation.
  • the embodiment of the present application determines the acceptable maximum number of bits that can be transmitted in the same unit time according to the residual frequency deviation tolerance threshold, and selects the bits for signal transmission, so as to ensure the accuracy of the despreading result while taking into account the transmission efficiency. .
  • the Hadamard matrix spread spectrum method can be to obtain multiple consecutive information units, determine valid data according to each information unit, and select a row vector matching the valid data from the Hadamard matrix to generate a spread spectrum sequence as a spread spectrum signal .
  • multiple consecutive information units are respectively: 0, 1, and 0, that is, binary 010, which is equivalent to decimal 2.
  • the correlator with serial number 2 outputs the peak value. Therefore, the signal receiving device determines that the spreading sequence is the row vector of the second row, which represents binary 010, that is, the effective data transmitted is 0, 1, and 0.
  • the signal receiving equipment can optimize the parameters according to the spread spectrum modulation, and select the despreading result corresponding to the correlator with the first sequence number as the despreading result, thus, the despreading result corresponding to the wrong correlator can be eliminated, thereby ensuring the accuracy of the despreading result sex.
  • the spread spectrum modulation optimization parameter is determined according to the residual frequency deviation tolerance threshold, and the number of information units is designated according to the spread spectrum modulation optimization parameter, and the number of information units is regarded as the same unit time
  • the transmitted valid data is spread spectrum and modulated, sent to the signal receiving device, and instructs the signal receiving device to modify the signal despreading result through the spread spectrum modulation optimization parameters, so that the signal receiving device can obtain the accurate despreading result and realize the pass Optimize the number of information units to be transmitted to improve the accuracy of signal despreading, and solve the problem of high cost and complexity of reducing residual frequency offset in related technologies.
  • the original design of the hardware can be changed without changing the original design of the hardware, and the implementation cost and Complexity, while improving the stability of the spread spectrum system and the accuracy of the despreading results, while taking into account the transmission efficiency.
  • FIG. 5 is a flowchart of a method for receiving a spread spectrum signal in the second embodiment of this application.
  • This embodiment is applicable to the case of transmitting signals based on the Hadamard matrix spread spectrum technology. It is executed by a signal receiving device, which can be implemented in software and/or hardware, and can generally be integrated into computer equipment.
  • the method of this embodiment may include:
  • S210 In the process of signal transmission, a despreading result of the signal is obtained, and the despreading result is determined by despreading the spread spectrum signal by using a Hadamard matrix spread spectrum technique.
  • the spread spectrum signal is actually a signal obtained by demodulating the signal sent by the signal sending device.
  • the signal is spread by using the Hadamard matrix spread spectrum technology.
  • the signal is despread by using the Hadamard matrix spread spectrum technology in the signal receiving equipment.
  • the signal receiving device configures a correlator corresponding to each row vector of the Hadamard matrix.
  • the correlator is used to multiply the spread spectrum signal with the matched row vector. If the spread spectrum signal uses the matched row vector As a spreading sequence, there is autocorrelation between the spreading signal and the matched row vector, and the correlator outputs an autocorrelation peak. By querying the correlator that outputs the autocorrelation peak, the row vector matching the correlator can be determined, and the valid data represented by the row vector can be determined as the despreading result.
  • the result of despreading is a valid data, and the valid data includes multiple consecutive bits.
  • the valid data 010 in the previous example includes three bits of 0, 1, and 0.
  • S220 Obtain a spread spectrum modulation optimization parameter, where the spread spectrum modulation optimization parameter is determined according to a preset residual frequency offset tolerance threshold.
  • the obtaining method may include: receiving user input information and extracting optimization parameters of spread spectrum modulation from the input information; or obtaining optimization parameters of spread spectrum modulation sent by the signal sending device before signal transmission.
  • a signal refers to a signal that carries an information unit.
  • S230 Correct the despreading result according to the spread spectrum modulation optimization parameter, and determine at least one information unit, where the number of the information unit matches the spread spectrum modulation optimization parameter.
  • the correlators with serial numbers 500, 500+2 n-2 , 500+2*2 n-2 and 500+3*2 n-2 will all have auto-correlation peaks, that is, auto-correlation peaks.
  • the difference between the serial numbers of the correlators is k*2 nd (1 ⁇ k ⁇ 2 d -1), and the exact serial number of the correlator can be determined by calculating the difference between the serial number of the correlator and k*2 nd.
  • the correction method may be to calculate the difference between the serial number of the correlator and k*2 nd until the serial number of the correlator is less than 2 nd , and use the despreading result corresponding to the corrected correlator as the correction data.
  • the correlator sequence number deviation caused by the residual frequency offset will only cause errors in the high bits of the valid data, and will not affect the low bits of the valid data.
  • the high bits in the despreading result can be corrected to obtain correct and effective data, so as to determine the information unit actually transmitted.
  • the correcting the despreading result according to the spread spectrum modulation optimization parameter, and determining at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter includes: In the spreading result, the bit position that matches the spread spectrum modulation optimization parameter is zero, and the modified data is obtained; according to the modified data, at least one information unit is determined, and the number of the information units matches the spread spectrum modulation optimization parameter.
  • the despreading result is the effective data carried in the spread spectrum signal, and the despreading result is the data composed of multiple consecutive information units.
  • the valid data may be wrong.
  • the corrected data is correct and valid.
  • the valid data determined by the correct correlator with serial number 1 is 0001
  • the valid data determined by the wrong correlator with serial number 5 is 0101
  • the valid data determined by the wrong correlator with serial number 9 is 1001.
  • Modifying the despreading result can be: zeroing the bits of each valid data that match the spread spectrum modulation optimization parameter to obtain correct valid data, and splitting the valid data into multiple consecutive information units.
  • the correction method of the corrected data is determined, and accurate despreading results can be obtained quickly, the accuracy of despreading, and the efficiency of error correction can be improved.
  • the method further includes: if the value of the bit matching the spread spectrum modulation optimization parameter in the despreading result is zero, determining at least one information unit according to the despreading result , The number of the information unit matches the optimization parameter of the spread spectrum modulation.
  • the value of the bit matching the spread spectrum modulation optimization parameter is zero, indicating that the despreading result is a correct despreading result, and the information unit is determined directly according to the despreading result.
  • the embodiment of the application modifies the despreading result according to the optimized parameters of spread spectrum modulation during the signal transmission process to obtain accurate despreading results without changing the original design of the hardware, reducing the implementation cost and complexity, and improving the solution. Expand the accuracy of the result while taking into account the transmission efficiency.
  • FIG. 6 is a schematic diagram of an application scenario in Embodiment 3 of this application.
  • the spread spectrum signal transmission method described in any one of the embodiments of the present application may be applied to the signal transmitting device 610, and the spread spectrum signal receiving method described in any one of the embodiments of the present application is applied to the signal receiving device 620.
  • the schematic diagram of the structure of the signal sending device may be as shown in FIG.
  • the serial-to-parallel converter 710 is configured to perform parallel conversion of the information stream to be sent, which can be a 1:nd conversion relationship, and converts one information stream into nd bits for parallel transmission in the same unit time.
  • the nd bits can be It is transmitted as a modulation symbol.
  • the Hadamard matrix 760 is configured to generate a spread spectrum signal matching each row vector.
  • the multiplexer (MUX) 720 is configured to select one output from the spread spectrum signal generated by the Hadamard matrix 760 according to the n-d bits transmitted in parallel.
  • the shaping filter 730 is configured to shape and filter the spread-spectrum signal output by the multiplexer 720, which can make the signal have a limited bandwidth and process the signal at a variable rate, so as to be suitable for channel transmission.
  • the up-converter 740 is configured to perform radio frequency modulation on the spread-spectrum signal after shaping and filtering. It may be that the spread-spectrum signal after shaping and filtering is modulated onto a high-frequency carrier to form a radio frequency signal.
  • the antenna 750 is configured to transmit radio frequency signals to the outside.
  • the processor of the signal sending device is configured to control the input of the serial-to-parallel converter 710 to instruct the serial-to-parallel converter 710 to convert n-d bits in the same unit time.
  • the processor of the signal sending device is also configured to control which channel of the spread spectrum signal is selected by the multiplexer 720 to output.
  • the processor of the signal transmission device uses the spread spectrum signal transmission method provided in the embodiments of the present application to determine the spread spectrum modulation optimization parameter d, and according to the correspondence between nd bits and the row vector in the Hadamard matrix, Select the target row vector matching the nd bits from the first 2 nd (from top to bottom) row vectors of the Hadamard matrix to generate a spread spectrum signal, and control the multiplexer 720 to switch to the one that outputs the spread spectrum signal The circuit is turned on to achieve spread spectrum.
  • the signal transmission device can transmit at most nd bits in the same unit time, and the row vector that can be used as the spread spectrum sequence in the Hadamard matrix is the first 2 nd row vectors.
  • the embodiment of the present application does not change the hardware structure of the signal sending device, but only adjusts the serial-to-parallel conversion rate of the serial-to-parallel converter 710 to ensure the number of bits transmitted in the same unit time and the optimization parameters of spread spectrum modulation. Match, and correspondingly correct the despreading result at the signal receiving device to improve the accuracy of the despreading result.
  • the structure diagram of the signal receiving device is shown in Fig. 8.
  • the signal receiving device may include an antenna 810, a down converter 820, a down sampler 830, a serial-to-parallel converter 840, a correlator 850, a peak comparator 860, and a despreading result correction process. 870 and parallel-serial converter 880.
  • the antenna 810 is configured to receive radio frequency signals transmitted by the signal transmitting device.
  • the down converter 820 is configured to demodulate the radio frequency signal received by the antenna 810.
  • the down-sampler 830 is configured to down-sample the demodulated signal according to the symbol rate to obtain a discrete signal as the spread-spectrum signal to be despread.
  • the serial-to-parallel converter 840 is configured to convert the spread-spectrum signal into M channels according to a 1:M conversion relationship and transmit the spread-spectrum signal to different correlators 850 in parallel.
  • the row vectors of the Hadamard matrix matched by different correlators 850 are different.
  • the correlator 850 is configured to multiply the spread spectrum signal with the row vector of the matched Hadamard matrix. If the spread spectrum signal is a signal generated by using a matched row vector as a spreading sequence, the spread spectrum signal and the matched row vector have autocorrelation, and the correlator 850 outputs the peak value of the autocorrelation peak.
  • the peak comparator 860 is configured to compare the outputs of the M correlators 850, and determine the serial number of the correlator 850 with the largest peak, and use the valid data represented by the row vector of the Hadamard matrix corresponding to the serial number as the despreading result, and provide The processor 870 is corrected for the despreading result.
  • the despreading result includes n bits.
  • the despreading result correction processor 870 obtains the spread spectrum modulation optimization parameter, and corrects the despreading result provided by the peak comparator 860.
  • the low n-d bits are truncated in the despreading result, that is, the high d position is zero to eliminate the judgment error of the sequence number of the correlator 850 caused by the residual frequency offset.
  • the despreading result correction processor 870 sends the corrected despreading result to the parallel-to-serial converter 880.
  • the parallel-to-serial converter 880 is configured to convert the despreading result into an information stream according to the n-d:1 conversion relationship, and complete the transmission of the information stream from the signal sending device to the signal receiving device.
  • a correction step for the despreading result is added to eliminate the judgment error of the sequence number of the correlator 850 caused by the residual frequency offset.
  • This correction step can be performed by the peak comparator 860, or can also be completed by the processor of the signal receiving device, so that the hardware structure of the signal sending device is not changed, and the despreading result is only corrected by adding a correction algorithm for the despreading result. , Improve the accuracy of despreading results.
  • FIGS. 7 and 8 only show part of the structure, and the signal sending device and the signal receiving device may also include other modules and circuits, which can be set as required.
  • the signal sending device determines the spread spectrum modulation optimization parameter according to the residual frequency deviation tolerance threshold, and specifies the number of information units according to the spread spectrum modulation optimization parameter, and the number of information units is regarded as valid data transmitted in the same unit time.
  • Carry out spread spectrum and modulation send to the signal receiving equipment, and modify the despreading result in the signal receiving equipment according to the optimization parameters of spread spectrum modulation.
  • the original hardware design of the signal sending equipment and signal receiving equipment hardware can be changed without changing the original hardware design of the signal sending equipment and signal receiving equipment, reducing At the same time, the signal receiving equipment realizes the correction of the despreading result through the zero operation of the bit position, reduces the complexity of the implementation, improves the stability of the spread spectrum system, improves the accuracy of the despreading result, and takes into account the transmission efficiency.
  • FIG. 9 is a schematic diagram of a spread spectrum signal sending device in the fourth embodiment of this application.
  • the fourth embodiment is a corresponding device that implements the spread spectrum signal transmission method provided in the foregoing embodiment of the present application.
  • the device can be implemented in software and/or hardware, and can generally be integrated into a computer device, such as a processor of a signal transmission device. .
  • the device of this embodiment may include:
  • the spread spectrum modulation optimization parameter determination module 910 is configured to obtain a preset residual frequency deviation tolerance threshold during signal transmission, and determine the spread spectrum modulation optimization parameter;
  • the information unit obtaining module 920 is configured to obtain at least one information unit, and the number of the information unit matches the spread spectrum modulation optimization parameter;
  • the signal spreading module 930 is configured to use a Hadamard matrix to spread the spectrum of each of the information units to form a spread spectrum signal and modulate it to be sent to the signal receiving device, wherein the spread spectrum modulation optimization parameters are used to provide The signal receiving device instructs the signal receiving device to correct the signal despreading result.
  • the spread spectrum modulation optimization parameter determination module 910, the information unit acquisition module 920, and the signal spread spectrum module 930 may refer to modules in the processor of the signal sending device.
  • the spread spectrum modulation optimization parameter is determined according to the residual frequency deviation tolerance threshold, and the number of information units is designated according to the spread spectrum modulation optimization parameter, and the number of information units is regarded as the same unit time
  • the transmitted valid data is spread spectrum and modulated, sent to the signal receiving device, and instructs the signal receiving device to modify the signal despreading result through the spread spectrum modulation optimization parameters, so that the signal receiving device can obtain the accurate despreading result and realize the pass Optimize the number of information units to be transmitted to improve the accuracy of signal despreading, and solve the problem of high cost and complexity of reducing residual frequency offset in related technologies.
  • the original design of the hardware can be changed without changing the original design of the hardware, and the implementation cost and Complexity, while improving the stability of the spread spectrum system and the accuracy of the despreading results, while taking into account the transmission efficiency.
  • the spread spectrum modulation optimization parameter determination module 910 includes: a spread spectrum modulation optimization parameter calculation unit configured to calculate the spread spectrum modulation optimization parameter d based on the following formula:
  • A is the residual frequency offset tolerance threshold
  • B is the bandwidth
  • n is the order of the Hadamard matrix
  • d is a non-negative integer.
  • the information unit acquisition module 920 includes: a maximum transmission quantity determination unit configured to determine the maximum number of information bits carried by a spreading sequence according to the spreading modulation optimization parameter; and acquiring multiple pieces of information Unit, the number of information units is the maximum number of information bits.
  • the above-mentioned device can execute the spread spectrum signal transmission method provided by the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
  • FIG. 10 is a schematic diagram of a spread spectrum signal receiving device in Embodiment 5 of this application.
  • the fifth embodiment is a corresponding device that implements the spread spectrum signal receiving method provided in the above embodiments of this application.
  • the device can be implemented in software and/or hardware, and can generally be integrated into a computer device, such as a processor of a signal receiving device. .
  • the device of this embodiment may include:
  • the spread-spectrum signal despreading module 101 is configured to obtain a despreading result of the signal in the process of signal transmission, and the despreading result is determined by despreading the spread-spectrum signal by using the Hadamard matrix spread spectrum technology;
  • the spread spectrum modulation optimization parameter acquisition module 102 is configured to acquire a spread spectrum modulation optimization parameter, and the spread spectrum modulation optimization parameter is determined according to a preset residual frequency deviation tolerance threshold;
  • the despreading result modification module 103 is configured to modify the despreading result according to the spread spectrum modulation optimization parameter, and determine at least one information unit, the number of which matches the spread spectrum modulation optimization parameter.
  • the spread-spectrum signal despreading module 101, the spread-spectrum modulation optimization parameter acquisition module 102, and the despreading result correction module 103 may refer to modules in the despreading result correction processor of the signal receiving device.
  • the embodiment of the application modifies the despreading result according to the optimized parameters of spread spectrum modulation during the signal transmission process to obtain accurate despreading results without changing the original design of the hardware, reducing the implementation cost and complexity, and improving the solution. Expand the accuracy of the result while taking into account the transmission efficiency.
  • the despreading result correction module 103 includes: a high position zero unit configured to zero the bit positions in the despreading result that match the spread spectrum modulation optimization parameter to obtain modified data; According to the modified data, at least one information unit is determined, and the number of the information unit matches the spread spectrum modulation optimization parameter.
  • the spread spectrum signal receiving device further includes: a despreading result determination module configured to, after obtaining the spread spectrum modulation optimization parameter, if the bits in the despreading result match the spread spectrum modulation optimization parameter If the value of is zero, at least one information unit is determined according to the despreading result, and the number of the information unit matches the spread spectrum modulation optimization parameter.
  • a despreading result determination module configured to, after obtaining the spread spectrum modulation optimization parameter, if the bits in the despreading result match the spread spectrum modulation optimization parameter If the value of is zero, at least one information unit is determined according to the despreading result, and the number of the information unit matches the spread spectrum modulation optimization parameter.
  • the above-mentioned device can execute the spread spectrum signal transmission method provided by the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
  • FIG. 11 is a schematic structural diagram of a computer device provided in Embodiment 6 of this application.
  • FIG. 11 shows a block diagram of an exemplary computer device 12 suitable for implementing the embodiments of the present application.
  • the computer device 12 shown in FIG. 11 is only an example.
  • the computer device 12 may include a signal transmitting device or a signal receiving device.
  • the computer device 12 is represented in the form of a general-purpose computing device.
  • the components of the computer device 12 may include: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
  • the computer device 12 may be a device connected to a bus.
  • the bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures.
  • these architectures may include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association, VESA) local bus and PerIPheral Component Interconnect (PCI) bus.
  • ISA Industry Standard Architecture
  • MCA Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI PerIPheral Component Interconnect
  • the computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and nonvolatile media, removable and non-removable media.
  • the system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • the computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as "hard drives"). It can provide disk drives for reading and writing to removable non-volatile disks (such as "floppy disks"), as well as for removable non-volatile optical disks (such as Compact Disc Read-Only Memory, CD- ROM), digital video disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) read and write optical disc drives.
  • each drive can be connected to the bus 18 through one or more data media interfaces.
  • the system memory 28 may include at least one program product.
  • the program product has a set of (for example, at least one) program modules that are configured to perform the functions of the embodiments of the present application.
  • a program/utility tool 40 having a set of (at least one) program module 42 may be stored in, for example, the system memory 28.
  • Such program module 42 may include an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the program module 42 usually executes the functions and/or methods in the embodiments described in this application.
  • the computer device 12 may also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and may also communicate with one or more devices that enable users to interact with the computer device 12, and/or communicate with Any device (such as a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (Input/Output, I/O) interface 22.
  • the computer device 12 may also communicate with one or more networks (for example, Local Area Network (LAN), Wide Area Network, WAN) through the network adapter 20. As shown in the figure, the network adapter 20 communicates with one or more networks through the bus 18. Communication with other modules of the computer equipment 12.
  • LAN Local Area Network
  • WAN Wide Area Network
  • the processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28.
  • a signal sending device implements the spread spectrum signal sending method provided by any embodiment of the present application
  • a signal receiving device implements the present application.
  • the spread spectrum signal receiving method provided by any embodiment.
  • the seventh embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method as provided in all the application embodiments of the present application is implemented:
  • the program when executed by the processor, it is realized: in the process of signal transmission, the preset residual frequency deviation tolerance threshold is obtained, and the optimization parameter of spread spectrum modulation is determined; at least one information unit is obtained.
  • the spread spectrum modulation optimization parameter matching; the Hadamard matrix is used to spread spectrum to each of the information units to form a spread spectrum signal and modulate and send it to the signal receiving device, wherein the spread spectrum modulation optimization parameter is used to provide the signal receiver in advance Device to instruct the signal receiving device to correct the signal despreading result.
  • the program when executed by the processor, it is realized: in the process of signal transmission, the despreading result of the signal is obtained, and the despreading result is determined by despreading the spread spectrum signal by using the Hadamard matrix spread spectrum technology; and obtaining the spread spectrum Modulation optimization parameters, the spread spectrum modulation optimization parameters are determined according to a preset residual frequency offset tolerance threshold; the despreading result is corrected according to the spread spectrum modulation optimization parameters, and at least one information unit is determined, the information unit The number of is matched with the optimization parameters of the spread spectrum modulation.
  • the computer storage medium of the embodiment of the present application may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above.
  • Examples of computer-readable storage media may include: electrical connections with one or more wires, portable computer disks, hard disks, RAM, Read Only Memory (ROM), erasable memory Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, and can include electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, which can include wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • suitable medium can include wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the computer program code used to perform the operations of this application can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network including LAN or WAN, or may be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
  • the embodiment of the application determines the optimization parameter of spread spectrum modulation according to the residual frequency deviation tolerance threshold during signal transmission, and specifies the number of information units according to the optimization parameter of spread spectrum modulation.
  • the number of information units is a single spread spectrum sequence.
  • the number of information bits carried, the number of information units is used as the effective data transmitted in the same unit time, which is spread and modulated, and sent to the signal receiving device, and instructs the signal receiving device to optimize the parameters of the signal despreading result through the spread spectrum modulation
  • the original design of the hardware can be reduced without changing the implementation cost and complexity, while at the same time improving the stability of the spread spectrum system, improving the accuracy of the despreading result, and taking into account the transmission efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a spread spectrum signal sending method and apparatus, a spread spectrum signal receiving method and apparatus, and a device and a medium. The spread spectrum signal sending method comprises: in a signal transmission process, obtaining a preset residual frequency offset tolerance threshold, and determining a spread spectrum modulation optimization parameter; obtaining at least one information unit, the number of the information units matching the spread spectrum modulation optimization parameter; and spreading the information units by adopting a Hadamard matrix to form spread spectrum signals, modulating the spread spectrum signals and sending the modulated spread spectrum signals to a signal receiving device.

Description

扩频信号发送方法、扩频信号接收方法、装置、设备及介质Spread spectrum signal transmission method, spread spectrum signal reception method, device, equipment and medium
本公开要求在2020年05月20日提交中国专利局、申请号为202010431747.8的中国专利申请的优先权,以上申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 202010431747.8 on May 20, 2020, and the entire content of the above application is incorporated into this disclosure by reference.
技术领域Technical field
本申请涉及物联网通信领域,例如涉及一种扩频信号发送方法、扩频信号接收方法、装置、设备及介质。This application relates to the field of Internet of Things communications, for example, to a spread-spectrum signal transmission method, a spread-spectrum signal reception method, device, equipment, and medium.
背景技术Background technique
扩频通信因抗干扰能力强以及保密性能好的优点,得到了日益广泛的应用。Spread spectrum communication has been widely used because of its strong anti-interference ability and good security performance.
在M进制正交扩频系统中,扩频序列集由M个长度为n的正交码字构成。在发送端的调制过程中,每n个比特(bit)构成一个调制符号(n=log 2(M)),根据调制符号数值选择相应序号的正交码字进行传输。在接收端通常需要M个相关器完成正交解扩操作,确定发送的扩频序列序号,从而获得调制信息。通常,信号在传输过程中,频率会发生偏移,在解调时可以通过频偏估计,并进行补偿,以减少频率偏移量,而频率偏移量无法完全消除,补偿后的频率偏移量即为残留频偏。M进制正交扩频调制技术通常要求扩频序列的残留频偏很小。 In the M-ary orthogonal spread spectrum system, the spread sequence set is composed of M orthogonal codewords of length n. In the modulation process at the sending end, every n bits (bit) constitute a modulation symbol (n=log 2 (M)), and the orthogonal codeword of the corresponding sequence number is selected for transmission according to the value of the modulation symbol. At the receiving end, M correlators are usually required to complete the orthogonal despreading operation and determine the sequence number of the transmitted spreading sequence to obtain modulation information. In general, the frequency of the signal will shift during the transmission process. The frequency offset can be estimated and compensated during demodulation to reduce the frequency offset, but the frequency offset cannot be completely eliminated. The compensated frequency offset The amount is the residual frequency offset. The M-ary orthogonal spread spectrum modulation technology usually requires that the residual frequency offset of the spread spectrum sequence is small.
可以通过增加前导长度,以及采用精度高的同步算法进行频偏估计,提高频偏补偿的精度;还可以通过提高晶振的稳定性,减少频偏的引入。但前述方法均需要成本较高的硬件设备支撑,大大增加了扩频系统的成本。The frequency offset can be estimated by increasing the length of the preamble and using a high-precision synchronization algorithm to improve the accuracy of frequency offset compensation; it can also reduce the introduction of frequency offset by improving the stability of the crystal oscillator. However, the aforementioned methods all require the support of higher-cost hardware equipment, which greatly increases the cost of the spread spectrum system.
发明内容Summary of the invention
本申请实施例提供一种扩频信号发送方法、扩频信号接收方法、装置、设备及介质,可以增大系统可容忍的频偏,降低系统频偏估计和频偏跟踪的复杂度,减少系统实现的成本和复杂度。The embodiments of the application provide a spread spectrum signal transmission method, spread spectrum signal reception method, device, equipment and medium, which can increase the tolerable frequency offset of the system, reduce the complexity of system frequency offset estimation and frequency offset tracking, and reduce the system Cost and complexity of implementation.
第一方面,本申请实施例提供了一种扩频信号发送方法,包括:In the first aspect, an embodiment of the present application provides a method for transmitting a spread spectrum signal, including:
在信号传输的过程中,获取预设的残留频偏容忍阈值,确定扩频调制优化参数;In the process of signal transmission, the preset residual frequency deviation tolerance threshold is obtained, and the optimization parameters of spread spectrum modulation are determined;
获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配;Acquiring at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter;
采用哈达玛矩阵对每个所述信息单元进行扩频,形成扩频信号并将所述扩 频信号经调制后发送至信号接收设备,其中,所述扩频调制优化参数用于预先提供给所述信号接收设备,以指示所述信号接收设备对信号解扩结果进行修正。The Hadamard matrix is used to spread the spectrum of each of the information units to form a spread spectrum signal and send the spread spectrum signal to the signal receiving device after being modulated, wherein the spread spectrum modulation optimization parameters are used to provide all the information in advance. The signal receiving device instructs the signal receiving device to correct the signal despreading result.
第二方面,本申请实施例还提供了一种扩频信号接收方法,包括:In the second aspect, an embodiment of the present application also provides a method for receiving a spread spectrum signal, including:
在信号传输的过程中,获取扩频信号的解扩结果,所述解扩结果为通过采用哈达玛矩阵扩频技术对所述扩频信号进行解扩确定;In the process of signal transmission, obtaining a despreading result of the spread spectrum signal, where the despreading result is determined by despreading the spread spectrum signal by using a Hadamard matrix spread spectrum technique;
获取扩频调制优化参数,所述扩频调制优化参数为根据预设的残留频偏容忍阈值确定;Acquiring a spread spectrum modulation optimization parameter, where the spread spectrum modulation optimization parameter is determined according to a preset residual frequency offset tolerance threshold;
根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。The despreading result is modified according to the spread spectrum modulation optimization parameter, and at least one information unit is determined, and the number of the information unit matches the spread spectrum modulation optimization parameter.
第三方面,本申请实施例还提供了一种扩频信号发送装置,包括:In a third aspect, an embodiment of the present application also provides a spread spectrum signal sending device, including:
扩频调制优化参数确定模块,被配置为在信号传输的过程中,获取预设的残留频偏容忍阈值,确定扩频调制优化参数;The spread spectrum modulation optimization parameter determination module is configured to obtain a preset residual frequency deviation tolerance threshold during signal transmission, and determine the spread spectrum modulation optimization parameter;
信息单元获取模块,被配置为获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配;An information unit acquisition module configured to acquire at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter;
信号扩频模块,被配置为采用哈达玛矩阵对每个所述信息单元进行扩频,形成扩频信号并将所述扩频信号经调制后发送至信号接收设备,其中,所述扩频调制优化参数用于预先提供给所述信号接收设备,以指示所述信号接收设备对信号解扩结果进行修正。The signal spreading module is configured to use a Hadamard matrix to spread the spectrum of each of the information units to form a spread spectrum signal and send the spread spectrum signal to the signal receiving device after being modulated, wherein the spread spectrum modulation The optimized parameter is used to provide the signal receiving device in advance to instruct the signal receiving device to correct the signal despreading result.
第四方面,本申请实施例还提供了一种扩频信号接收装置,包括:In a fourth aspect, an embodiment of the present application also provides a spread spectrum signal receiving device, including:
扩频信号解扩模块,被配置为在信号传输的过程中,获取扩频信号的解扩结果,所述解扩结果为通过采用哈达玛矩阵扩频技术对所述扩频信号进行解扩确定;The spread-spectrum signal despreading module is configured to obtain the despreading result of the spread-spectrum signal during signal transmission, and the despreading result is determined by despreading the spread-spectrum signal by using the Hadamard matrix spread spectrum technology ;
扩频调制优化参数获取模块,被配置为获取扩频调制优化参数,所述扩频调制优化参数为根据预设的残留频偏容忍阈值确定;A spread spectrum modulation optimization parameter acquisition module configured to acquire a spread spectrum modulation optimization parameter, the spread spectrum modulation optimization parameter being determined according to a preset residual frequency deviation tolerance threshold;
解扩结果修正模块,被配置为根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。The despreading result correction module is configured to correct the despreading result according to the spread spectrum modulation optimization parameter, and determine at least one information unit, and the number of the information units matches the spread spectrum modulation optimization parameter.
第五方面,本申请实施例还提供了一种信号发送设备,包括存储器、处理器、以及存储在所述存储器上并可在所述处理器上运行的计算机程序所述处理器执行所述计算机程序时实现如本申请实施例中任一所述的扩频信号发送方法。In a fifth aspect, an embodiment of the present application also provides a signal sending device, including a memory, a processor, and a computer program stored in the memory and running on the processor. The processor executes the computer program. The program implements the spread spectrum signal transmission method as described in any of the embodiments of this application.
第六方面,本申请实施例还提供了一种信号接收设备,包括存储器、处理器、以及存储在所述存储器上并可在所述处理器上运行的计算机程序所述处理器执行所述计算机程序时实现如本申请实施例中任一所述的扩频信号接收方法。In a sixth aspect, an embodiment of the present application also provides a signal receiving device, including a memory, a processor, and a computer program stored in the memory and running on the processor. The processor executes the computer The program implements the spread spectrum signal receiving method as described in any of the embodiments of this application.
第七方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如本申请实施例中任一所述的扩频信号发送方法或实现如本申请实施例中任一所述的扩频信号接收方法。In a seventh aspect, the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it can achieve the same as any of the embodiments of the present application. The method for transmitting a spread spectrum signal may implement the method for receiving a spread spectrum signal as described in any one of the embodiments of the present application.
附图说明Description of the drawings
图1是相关技术中的相关器输出的自相关峰的示意图;Figure 1 is a schematic diagram of an autocorrelation peak output by a correlator in the related art;
图2是本申请实施例一中的一种扩频信号发送方法的流程图;2 is a flowchart of a method for transmitting a spread spectrum signal in Embodiment 1 of the present application;
图3是本申请实施例中的一种残留频偏下的相关器输出的自相关峰的示意图;FIG. 3 is a schematic diagram of an autocorrelation peak output by a correlator under a residual frequency offset in an embodiment of the present application;
图4是本申请实施例中的另一种残留频偏下的相关器输出的自相关峰的示意图;4 is a schematic diagram of an autocorrelation peak output by a correlator under another residual frequency offset in an embodiment of the present application;
图5是本申请实施例二中的一种扩频信号接收方法的流程图;FIG. 5 is a flowchart of a method for receiving a spread spectrum signal in Embodiment 2 of the present application;
图6是本申请实施例所适用的一种应用场景的示意图;FIG. 6 is a schematic diagram of an application scenario to which an embodiment of the present application is applicable;
图7是本申请实施例三中的一种信号发送设备的示意图;FIG. 7 is a schematic diagram of a signal sending device in Embodiment 3 of the present application;
图8是本申请实施例三中的一种信号接收设备的示意图;FIG. 8 is a schematic diagram of a signal receiving device in Embodiment 3 of the present application;
图9是本申请实施例四中的一种扩频信号发送装置的结构示意图;FIG. 9 is a schematic structural diagram of a spread spectrum signal sending device in Embodiment 4 of the present application;
图10是本申请实施例五中的一种扩频信号接收装置的结构示意图;FIG. 10 is a schematic structural diagram of a spread spectrum signal receiving device in Embodiment 5 of the present application;
图11是本申请实施例六中的一种计算机设备的结构示意图。FIG. 11 is a schematic structural diagram of a computer device in Embodiment 6 of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the application, but not to limit the application. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure.
为了便于理解本申请实施例,对哈达玛矩阵扩频技术进行说明:In order to facilitate the understanding of the embodiments of this application, the Hadamard matrix spread spectrum technology is described:
哈达玛矩阵是由+1和-1元素构成的且满足H n*H n'=nI(其中H n'为H n的转置矩阵,I为单位方阵)的n阶方阵。哈达玛矩阵中,任意两行的行向量相互正交, 任意两列的列向量相互正交。信号发送设备将M=2 n个行向量作为M进制正交扩频序列集,根据n=log 2(M)个比特选择匹配的行向量作为正交扩频序列进行传输。由于任意两行的行向量相互正交,相同的行向量之间的乘积的数值最大,也即每个行向量具有自相关性。信号接收设备采用分别与哈达玛矩阵的M个行向量匹配的M个相关器进行解扩操作,从M个相关器输出中选择最大相关值对应的相关器标识信息(如相关器序号)作为解扩输出,根据相关器的标识信息确定扩频的行向量,该行向量表征的调制符号即为传输的有效数据。 The Hadamard matrix is an n-th order square matrix composed of +1 and -1 elements and satisfies H n *H n '=nI (where H n 'is the transposed matrix of H n and I is the unit square matrix). In the Hadamard matrix, the row vectors of any two rows are orthogonal to each other, and the column vectors of any two columns are orthogonal to each other. The signal sending device uses M=2 n row vectors as an M-ary orthogonal spreading sequence set, and selects matching row vectors as the orthogonal spreading sequence according to n=log 2 (M) bits for transmission. Since the row vectors of any two rows are orthogonal to each other, the value of the product between the same row vectors is the largest, that is, each row vector has autocorrelation. The signal receiving device uses M correlators matching the M row vectors of the Hadamard matrix to perform despreading operations, and selects the correlator identification information (such as the correlator serial number) corresponding to the largest correlation value from the M correlators output as the solution Spread output, determine the spreading row vector according to the identification information of the correlator, and the modulation symbol represented by the row vector is the effective data transmitted.
在一个例子中,n=12,M=4096,该哈达玛矩阵中,行向量按照从上往下的顺序编号,其中,将序号500的行向量作为扩频序列,同时,按照行向量的编号,对应配置相关器的编号,第i个相关器将解调后的信号与第i个行向量相乘,计算峰值,该峰值实际为幅值,其中,i大于等于0,小于n。如图1所示,展示了M个相关器输出的峰值。In an example, n=12 and M=4096. In the Hadamard matrix, the row vectors are numbered in the order from top to bottom, where the row vector with the sequence number 500 is used as the spreading sequence, and at the same time, the row vector is numbered , Corresponding to the number of the configured correlator, the i-th correlator multiplies the demodulated signal with the i-th row vector to calculate the peak value. The peak value is actually the amplitude, where i is greater than or equal to 0 and less than n. As shown in Figure 1, the peak output of M correlators is displayed.
由于哈达玛矩阵中每个行向量的正交性,只有序号500的相关器输出峰值,其余相关器的输出峰值为0,依据相关器的峰值比较,就可获得扩频序列携带的有效数据。Due to the orthogonality of each row vector in the Hadamard matrix, only the output peak value of the serial number 500 is the output peak value of the other correlators. According to the peak value comparison of the correlators, the effective data carried by the spreading sequence can be obtained.
实施例一Example one
图2为本申请实施例一中的一种扩频信号发送方法的流程图的示意图,本实施例可适用于基于哈达玛矩阵扩频技术传输信号的情况,该方法可以由本申请实施例提供的扩频信号发送装置来执行,该装置可采用软件和/或硬件的方式实现,并一般可集成计算机设备中。如图2所示,本实施例的方法可以包括:FIG. 2 is a schematic diagram of a flow chart of a method for transmitting a spread spectrum signal in the first embodiment of the application. This embodiment is applicable to the case of transmitting signals based on the Hadamard matrix spread spectrum technology. The method may be provided by the embodiment of the application. The spread spectrum signal transmission device can be implemented by means of software and/or hardware, and can generally be integrated into computer equipment. As shown in Figure 2, the method of this embodiment may include:
S110,在信号传输的过程中,获取预设的残留频偏容忍阈值,确定扩频调制优化参数。S110: In the process of signal transmission, obtain a preset residual frequency offset tolerance threshold, and determine an optimization parameter of spread spectrum modulation.
信号传输的过程可以是指采用多进制正交扩频技术传输信号的过程。信号传输的过程可以是在远距离低功耗窄带通信物联网的应用场景中,该应用场景中信号传输数据率低,灵敏度高,通过多进制正交扩频技术可以在保持扩频技术抗干扰特性的前提下,通过提升单扩频序列承载的信息比特数目提高数据传输效率。其中,采用多进制正交扩频技术传输信号可以为:获取多个比特,即有效传输数据,作为一个调制符号,在同一单位时间内(该单位时间可以是指分配的时间片),对该调制符号进行多进制正交扩频,生成扩频信号,并进行调制,形成射频信号对外发送至信号接收设备。从而,在该单位时间内,实现同 时传输设定数量个比特。The process of signal transmission may refer to the process of signal transmission using the multi-ary orthogonal spread spectrum technology. The signal transmission process can be in the application scenario of long-distance, low-power, narrow-band communications, and the Internet of Things. In this application scenario, the signal transmission data rate is low and the sensitivity is high. Under the premise of interference characteristics, the data transmission efficiency is improved by increasing the number of information bits carried by a single spread spectrum sequence. Among them, the use of multi-ary orthogonal spread spectrum technology to transmit signals can be: acquiring multiple bits, that is, effectively transmitting data, as a modulation symbol, in the same unit time (the unit time can refer to the allocated time slice), The modulation symbol performs multi-ary orthogonal spread spectrum to generate a spread spectrum signal and modulate it to form a radio frequency signal and send it to the signal receiving device. Thus, in this unit time, a set number of bits can be transmitted simultaneously.
残留频偏容忍阈值可以是指残留频偏的最大值。残留频偏容忍阈值可以是用户预先输入的数值,也可以是系统预设的数值。扩频调制优化参数用于确定在同一单位时间内并行传输的比特的最大数量,即扩频调制优化参数用于指定在同一单位时间内信息单元传输数量。残留频偏容忍阈值用于确定扩频调制优化参数,从而间接确定在同一单位时间内并行传输的比特的最大数量。可以选择最大数量的比特在同一单位时间内进行传输,在保证解扩结果的精度的同时,兼顾传输效率。在一些实施例中,可以根据预设的残留频偏容忍阈值与扩频调制优化参数的对应关系,计算扩频调制优化参数,其中,对应关系根据实验获取。The residual frequency deviation tolerance threshold may refer to the maximum value of the residual frequency deviation. The residual frequency deviation tolerance threshold can be a value input in advance by the user or a value preset by the system. The spread spectrum modulation optimization parameter is used to determine the maximum number of bits transmitted in parallel in the same unit time, that is, the spread spectrum modulation optimization parameter is used to specify the number of information units transmitted in the same unit time. The residual frequency offset tolerance threshold is used to determine the optimization parameters of spread spectrum modulation, thereby indirectly determining the maximum number of bits transmitted in parallel in the same unit time. The maximum number of bits can be selected for transmission in the same unit time, which ensures the accuracy of the despreading result while taking into account the transmission efficiency. In some embodiments, the spread spectrum modulation optimization parameter may be calculated according to the correspondence between the preset residual frequency offset tolerance threshold and the spread spectrum modulation optimization parameter, where the correspondence relationship is obtained based on experiments.
实际上,在信号传输过程中存在频率偏移现象,在频率补偿之后,仍然存在残留频偏。残留频偏导致信号接收设备的解扩结果错误。当待解扩的信号存在残留频偏时,例如,归一化的残留频偏为0.2时,前例中M个相关器输出的峰值如图3所示。实际上,残留频偏破坏了哈达玛矩阵中行向量的正交性。由于残留频偏的存在,不仅序号500的相关器存在峰值,多个原本正交的相关器也会出现峰值,但基于最大峰值判决的准则,系统仍能正确获得扩频序列携带的有效数据,表明系统具有一定的抗频偏能力。但当归一化的残留频偏大于0.5时,残留频偏引起的其他相关器(如序号2620的相关器)的峰值已经大于正确相关器的峰值,如图4所示,造成信号接收设备错误获得扩频序列携带的有效数据。In fact, there is a frequency offset phenomenon in the signal transmission process, and after frequency compensation, there is still a residual frequency offset. The residual frequency offset causes an error in the despreading result of the signal receiving device. When the signal to be despread has a residual frequency offset, for example, when the normalized residual frequency offset is 0.2, the peak output of the M correlators in the previous example is shown in FIG. 3. In fact, the residual frequency offset destroys the orthogonality of the row vectors in the Hadamard matrix. Due to the existence of the residual frequency offset, not only the serial number 500 correlator has peaks, but also multiple originally orthogonal correlators will also have peaks. However, based on the maximum peak decision criterion, the system can still correctly obtain the effective data carried by the spreading sequence. Shows that the system has a certain ability to resist frequency offset. However, when the normalized residual frequency offset is greater than 0.5, the peak value of other correlators (such as the correlator with serial number 2620) caused by the residual frequency offset is already greater than the peak value of the correct correlator, as shown in Figure 4, causing the signal receiving device to obtain an error. Effective data carried by the spreading sequence.
有鉴于此,存在残留频偏时,由于正确相关器的峰值序号与错误相关器的峰值序号存在内在关系,从而可以选择序号在前的部分扩频序列集进行扩频操作,即减少在同一单位时间内传输的比特的数量。可以理解的是,残留频偏与在同一单位时间内传输的比特的数量存在对应关系。In view of this, when there is a residual frequency offset, due to the inherent relationship between the peak sequence number of the correct correlator and the peak sequence number of the wrong correlator, the partial spreading sequence set with the first sequence number can be selected for spreading operation, that is, the reduction in the same unit The number of bits transmitted in time. It can be understood that there is a corresponding relationship between the residual frequency offset and the number of bits transmitted in the same unit time.
哈达玛矩阵具有如下迭代结构:The Hadamard matrix has the following iterative structure:
Figure PCTCN2020101783-appb-000001
Figure PCTCN2020101783-appb-000001
Figure PCTCN2020101783-appb-000002
Figure PCTCN2020101783-appb-000002
Figure PCTCN2020101783-appb-000003
Figure PCTCN2020101783-appb-000003
由迭代特性可以看出:It can be seen from the iterative characteristics:
哈达玛矩阵的行向量为偶数行,可以上下分为两个矩阵,哈达玛矩阵的阶数n大于2,且n为非负整数,哈达玛矩阵的每个行向量代表的扩频序列分别是周期性变化的信号。单位频率信号为单位频率为
Figure PCTCN2020101783-appb-000004
的方波信号,其中,B为带宽,n为所述哈达玛矩阵的阶数。由此,哈达玛矩阵的下半矩阵相当于上半矩阵与单位频率信号的乘积。
The row vector of the Hadamard matrix is an even row, which can be divided into two matrices up and down. The order n of the Hadamard matrix is greater than 2, and n is a non-negative integer. The spreading sequences represented by each row vector of the Hadamard matrix are respectively A periodically changing signal. The unit frequency signal is the unit frequency
Figure PCTCN2020101783-appb-000004
Where B is the bandwidth and n is the order of the Hadamard matrix. Therefore, the lower half of the Hadamard matrix is equivalent to the product of the upper half of the matrix and the unit frequency signal.
哈达玛矩阵的2/4矩阵相当于1/4矩阵与两倍单位频率信号的乘积;哈达玛矩阵的3/4矩阵相当于1/4矩阵与单位频率信号乘积;哈达玛矩阵的4/4矩阵相当于1/4矩阵与单位频率信号乘积,但哈达玛矩阵的4/4矩阵和哈达玛矩阵的3/4矩阵的初始相位不同。The 2/4 matrix of the Hadamard matrix is equivalent to the product of the 1/4 matrix and twice the unit frequency signal; the 3/4 matrix of the Hadamard matrix is equivalent to the product of the 1/4 matrix and the unit frequency signal; the 4/4 of the Hadamard matrix The matrix is equivalent to the product of the 1/4 matrix and the unit frequency signal, but the 4/4 matrix of the Hadamard matrix and the 3/4 matrix of the Hadamard matrix have different initial phases.
基于以上特点,如果残留频偏小于单位频率,上半矩阵的行向量可能误判为对应位置的下半矩阵的行向量,例如p位置的向量可能误判为p+2 n-1位置的向量。同理如果存在小于两倍单位频率的频偏,1/4矩阵对应的向量可能误判为2/4矩阵,3/4矩阵或者4/4矩阵对应位置的向量,例如p位置的向量可能误判为p+2 n-2,p+2*2 n-2或者p+3*2 n-2的向量。 Based on the above characteristics, if the residual frequency offset is less than the unit frequency, the row vector of the upper matrix may be misjudged as the row vector of the lower matrix at the corresponding position. For example, the vector at position p may be misjudged as the position of p+2 n-1 . vector. Similarly, if there is a frequency deviation less than twice the unit frequency, the vector corresponding to the 1/4 matrix may be misjudged as the 2/4 matrix, the vector at the corresponding position of the 3/4 matrix or the 4/4 matrix, for example, the vector at the position p may be wrong. It is judged as a vector of p+2 n-2 , p+2*2 n-2 or p+3*2 n-2.
需要说明的是,归一化的残留频偏是指,残留频偏是以单位频率为单位进行归一化。It should be noted that the normalized residual frequency offset refers to that the residual frequency offset is normalized with a unit frequency as a unit.
可选的,所述获取预设的残留频偏容忍阈值,确定扩频调制优化参数,包括:Optionally, the obtaining the preset residual frequency deviation tolerance threshold and determining the optimization parameters of spread spectrum modulation includes:
基于如下公式,计算扩频调制优化参数d:Based on the following formula, calculate the spread spectrum modulation optimization parameter d:
Figure PCTCN2020101783-appb-000005
Figure PCTCN2020101783-appb-000005
其中,A为所述残留频偏容忍阈值,B为带宽,n为所述哈达玛矩阵的阶数,d为非负整数。Wherein, A is the residual frequency offset tolerance threshold, B is the bandwidth, n is the order of the Hadamard matrix, and d is a non-negative integer.
在一些实施例中,由于公式为不等式,计算得到的d可以有多个数值,可以根据需要进行确定,例如可以选择最小值。实际上,d可以取无限大,但d越大,在同一时刻传输的扩频序列承载的信息比特数越小,相应的传输效率降低,由此可见,在符合上述公式情况下,d越小,传输效率越高。In some embodiments, since the formula is an inequality, the calculated d may have multiple values, which may be determined as required, for example, the minimum value may be selected. In fact, d can be infinitely large, but the larger d, the smaller the number of information bits carried by the spreading sequence transmitted at the same time, and the corresponding transmission efficiency is reduced. It can be seen that, in accordance with the above formula, d is smaller , The higher the transmission efficiency.
例如,B=125KHz,n=12,归一化的单位频率
Figure PCTCN2020101783-appb-000006
为30.5Hz,A为32Hz。公式 为1.05<2 d-1,d大于1.07。可以选择d为2。
For example, B=125KHz, n=12, normalized unit frequency
Figure PCTCN2020101783-appb-000006
It is 30.5Hz, and A is 32Hz. The formula is 1.05<2 d-1 , and d is greater than 1.07. You can choose d as 2.
通过预先根据哈达玛矩阵的迭代特性,确定残留频偏容忍阈值与扩频调制优化参数的对应关系,从而根据残留频偏容忍阈值计算扩频调制优化参数,保证扩频调制优化参数的客观,从而,提高解扩结果的准确性。According to the iterative characteristics of the Hadamard matrix, the correspondence relationship between the residual frequency deviation tolerance threshold and the spread spectrum modulation optimization parameter is determined in advance, so as to calculate the spread spectrum modulation optimization parameter according to the residual frequency deviation tolerance threshold value to ensure the objectiveness of the spread spectrum modulation optimization parameter. , Improve the accuracy of de-spreading results.
如前例,在残留频偏小于1个单位频率,且第500行的行向量作为扩频序列时,序号为500和500+2 n-1的相关器均会出现自相关峰。同理,在残留频偏小于两倍单位频偏,且第500行的行向量作为扩频序列时,序号为500,500+2 n-2,500+2*2 n-2和500+3*2 n-2的相关器均会出现自相关峰。依次类推,在残留频偏小于2 d-1个单位频偏时,序号为500+(2 j-1)2 n-d的相关器会出现自相关峰,j大于等于0且小于等于d。示例性的,当n为3,且第1行的行向量作为扩频序列时,存在残留频偏时,序号为1和5的相关器均会出现自相关峰,序号为1的相关器确定的有效数据为001,而序号为5的相关器确定的有效数据为101,又如,当n为4,且第1行的行向量作为扩频序列时,序号为1、5和9的相关器出现自相关峰,序号为1的相关器确定的有效数据为0001,序号为5的相关器确定的有效数据为0101,序号为9的相关器确定的有效数据为1001。由此,残留频偏引起的相关器序号偏差仅会造成有效数据中高位的错误,而不影响有效数据的低位。由此,可以直接将有效数据中的高位置零。 As in the previous example, when the residual frequency offset is less than 1 unit frequency and the row vector of the 500th line is used as the spreading sequence, the correlators with serial numbers 500 and 500+2 n-1 will all have auto-correlation peaks. Similarly, when the residual frequency offset is less than twice the unit frequency offset, and the row vector of the 500th line is used as the spreading sequence, the sequence numbers are 500, 500+2 n-2 , 500+2*2 n-2 and 500+ 3*2 n-2 correlators will have auto-correlation peaks. By analogy, when the residual frequency deviation is less than 2 d-1 unit frequency deviation, the correlator with the serial number 500+(2 j -1)2 nd will have an autocorrelation peak, and j is greater than or equal to 0 and less than or equal to d. Exemplarily, when n is 3 and the row vector of the first row is used as a spreading sequence, when there is a residual frequency offset, the correlators with serial numbers 1 and 5 will both have auto-correlation peaks, and the correlator with serial number 1 determines The valid data of is 001, and the valid data determined by the correlator with serial number 5 is 101. For example, when n is 4 and the row vector of the first row is used as a spreading sequence, the correlations with serial numbers 1, 5 and 9 The autocorrelation peak appears in the correlator, the valid data determined by the correlator with serial number 1 is 0001, the valid data determined by the correlator with serial number 5 is 0101, and the valid data determined by the correlator with serial number 9 is 1001. As a result, the correlator sequence number deviation caused by the residual frequency offset will only cause errors in the high bits of the valid data, and will not affect the low bits of the valid data. In this way, the high position in the valid data can be directly zeroed.
S120,获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。S120: Acquire at least one information unit, where the number of the information unit matches the spread spectrum modulation optimization parameter.
信息单元用于作为有效信息传输至信号接收设备,一个信息单元可以是指一个比特。实际上,在同一单位时间内可以同时传输多个信息单元,信息单元的数量可以是指同时传输的信息单元的数量。其中,同时传输的信息单元的数量根据扩频调制优化参数确定。The information unit is used to transmit effective information to the signal receiving device, and an information unit may refer to a bit. In fact, multiple information units can be transmitted at the same time in the same unit time, and the number of information units can refer to the number of information units transmitted at the same time. Among them, the number of information units transmitted at the same time is determined according to the optimization parameters of spread spectrum modulation.
可选的,所述获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配,包括:根据所述扩频调制优化参数,确定扩频序列承载的最大信息比特数;获取多个信息单元,信息单元的数量为所述最大信息比特数。Optionally, the obtaining at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter, includes: determining the maximum number of information bits carried by the spread spectrum sequence according to the spread spectrum modulation optimization parameter; Acquire multiple information units, and the number of information units is the maximum number of information bits.
扩频序列承载的最大信息比特数可以是指同一单位时间内传输的比特的最大数量。需要说明的是,n阶哈达玛矩阵扩频技术,同一单位时间内传输的比特的最大数量为n。相应的,采用本申请实施例的扩频信号发送方法,在一些实施例中,当前扩频序列承载的最大信息比特数为n与扩频调制优化参数最小值的 差值,即最大信息比特数k max=n-扩频调制优化参数最小值d minThe maximum number of information bits carried by the spreading sequence may refer to the maximum number of bits transmitted in the same unit time. It should be noted that, for the n-th order Hadamard matrix spread spectrum technology, the maximum number of bits transmitted in the same unit time is n. Correspondingly, the spread spectrum signal transmission method of the embodiment of the present application is adopted. In some embodiments, the maximum number of information bits carried by the current spread spectrum sequence is the difference between n and the minimum value of the spread spectrum modulation optimization parameter, that is, the maximum number of information bits. k max =n-the minimum value d min of the optimization parameter of spread spectrum modulation.
实际上,在基于哈达玛矩阵扩频技术的应用场景中,根据哈达玛矩阵的阶数确定在同一单位时间内可传输的比特的数量。通常,选择可传输的最大数量的比特形成一个调制符号,可以增加在同一单位时间内传输的比特的数量,提高传输效率。但这种方式下,需要高复杂度的同步算法或者采用高稳定性的晶振减少频偏,提高频偏补偿的成本。有鉴于此,本申请实施例通过根据残留频偏容忍阈值,确定可接受的同一单位时间内传输的比特的最大数量,选择比特进行信号传输,在保证解扩结果的精度的同时,兼顾传输效率。In fact, in an application scenario based on the Hadamard matrix spread spectrum technology, the number of bits that can be transmitted in the same unit time is determined according to the order of the Hadamard matrix. Generally, selecting the maximum number of bits that can be transmitted to form a modulation symbol can increase the number of bits transmitted in the same unit time and improve transmission efficiency. However, in this way, a high-complexity synchronization algorithm or a high-stability crystal oscillator is required to reduce the frequency offset and increase the cost of frequency offset compensation. In view of this, the embodiment of the present application determines the acceptable maximum number of bits that can be transmitted in the same unit time according to the residual frequency deviation tolerance threshold, and selects the bits for signal transmission, so as to ensure the accuracy of the despreading result while taking into account the transmission efficiency. .
在一些实施例中,还可以根据需要选择小于基于多进制扩频调制技术形成的扩频序列承载的最大信息比特数(正整数)作为信息单元的数量。In some embodiments, it is also possible to select as the number of information units less than the maximum number of information bits (positive integer) carried by the spreading sequence formed based on the multi-ary spreading modulation technology as required.
S130,采用哈达玛矩阵对各所述信息单元进行扩频,形成扩频信号并调制发送至信号接收设备,其中,所述扩频调制优化参数用于预先提供给信号接收设备,以指示所述信号接收设备对信号解扩结果进行修正。S130. Use a Hadamard matrix to spread spectrum on each of the information units to form a spread spectrum signal and modulate and send it to a signal receiving device, where the spread spectrum modulation optimization parameter is used to provide the signal receiving device in advance to indicate the The signal receiving device corrects the signal despreading result.
哈达玛矩阵扩频方法可以是,获取连续多个信息单元,根据每个信息单元,确定有效数据,并从哈达玛矩阵中选择与有效数据匹配的行向量,生成扩频序列,作为扩频信号。示例性的,连续多个信息单元分别为:0、1和0,即二进制010,相当于十进制的2,可以选择哈达玛矩阵中第2行的行向量(首行为第0行),生成扩频序列,作为扩频信号。相应的,在信号接收设备,序号为2的相关器输出峰值,由此,信号接收设备确定,扩频序列为第2行的行向量,表征二进制010,即传输的有效数据为0、1和0。The Hadamard matrix spread spectrum method can be to obtain multiple consecutive information units, determine valid data according to each information unit, and select a row vector matching the valid data from the Hadamard matrix to generate a spread spectrum sequence as a spread spectrum signal . Exemplarily, multiple consecutive information units are respectively: 0, 1, and 0, that is, binary 010, which is equivalent to decimal 2. You can select the row vector of the second row in the Hadamard matrix (the first row is the 0th row) to generate the extension Frequency sequence, as a spread spectrum signal. Correspondingly, in the signal receiving device, the correlator with serial number 2 outputs the peak value. Therefore, the signal receiving device determines that the spreading sequence is the row vector of the second row, which represents binary 010, that is, the effective data transmitted is 0, 1, and 0.
信号接收设备可以根据扩频调制优化参数,选择序号在前的相关器对应的解扩结果作为解扩结果,由此,可以排除错误的相关器对应的解扩结果,从而保证解扩结果的准确性。The signal receiving equipment can optimize the parameters according to the spread spectrum modulation, and select the despreading result corresponding to the correlator with the first sequence number as the despreading result, thus, the despreading result corresponding to the wrong correlator can be eliminated, thereby ensuring the accuracy of the despreading result sex.
本申请实施例通过在信号传输的过程中,根据残留频偏容忍阈值,确定扩频调制优化参数,并根据扩频调制优化参数指定信息单元的数量,将该数量个信息单元作为同一单位时间内传输的有效数据,进行扩频和调制,发送到信号接收设备,并指示信号接收设备通过扩频调制优化参数对信号解扩结果进行修正,以使信号接收设备获取准确的解扩结果,实现通过对传输的信息单元的数量进行优化提高信号解扩的准确性,解决了相关技术中降低残留频偏的实现成本高和复杂度高的问题,可以不改变硬件的原有设计,降低实现成本和复杂度,同时提高扩频系统的稳定性,提高解扩结果的精度,同时兼顾传输效率。In the embodiment of the application, during the signal transmission process, the spread spectrum modulation optimization parameter is determined according to the residual frequency deviation tolerance threshold, and the number of information units is designated according to the spread spectrum modulation optimization parameter, and the number of information units is regarded as the same unit time The transmitted valid data is spread spectrum and modulated, sent to the signal receiving device, and instructs the signal receiving device to modify the signal despreading result through the spread spectrum modulation optimization parameters, so that the signal receiving device can obtain the accurate despreading result and realize the pass Optimize the number of information units to be transmitted to improve the accuracy of signal despreading, and solve the problem of high cost and complexity of reducing residual frequency offset in related technologies. The original design of the hardware can be changed without changing the original design of the hardware, and the implementation cost and Complexity, while improving the stability of the spread spectrum system and the accuracy of the despreading results, while taking into account the transmission efficiency.
实施例二Example two
图5为本申请实施例二中的一种扩频信号接收方法的流程图,本实施例可适用于基于哈达玛矩阵扩频技术传输信号的情况,该方法可以由本申请实施例提供的扩频信号接收装置来执行,该装置可采用软件和/或硬件的方式实现,并一般可集成计算机设备中。本实施例的方法可以包括:FIG. 5 is a flowchart of a method for receiving a spread spectrum signal in the second embodiment of this application. This embodiment is applicable to the case of transmitting signals based on the Hadamard matrix spread spectrum technology. It is executed by a signal receiving device, which can be implemented in software and/or hardware, and can generally be integrated into computer equipment. The method of this embodiment may include:
S210,在信号传输的过程中,获取信号的解扩结果,所述解扩结果通过采用哈达玛矩阵扩频技术对扩频信号进行解扩确定。S210: In the process of signal transmission, a despreading result of the signal is obtained, and the despreading result is determined by despreading the spread spectrum signal by using a Hadamard matrix spread spectrum technique.
本实施方式中的内容,可以参考上述任意实施方式中的描述。For the content in this embodiment, reference may be made to the description in any of the above embodiments.
扩频信号实际为对信号发送设备发送的信号进行解调得到的信号。在信号发生设备中采用哈达玛矩阵扩频技术对信号进行扩频,相应的,在信号接收设备中采用哈达玛矩阵扩频技术对信号进行解扩。在一些实施例中,信号接收设备根据哈达玛矩阵的每个行向量分别对应配置相关器,相关器用于将扩频信号与匹配的行向量进行相乘,如果扩频信号是采用匹配的行向量作为扩频序列,则扩频信号与匹配的行向量存在自相关性,该相关器输出自相关峰。通过查询输出自相关峰的相关器,可以确定与相关器匹配的行向量,从而确定行向量表征的有效数据,作为解扩结果。The spread spectrum signal is actually a signal obtained by demodulating the signal sent by the signal sending device. In the signal generating equipment, the signal is spread by using the Hadamard matrix spread spectrum technology. Correspondingly, the signal is despread by using the Hadamard matrix spread spectrum technology in the signal receiving equipment. In some embodiments, the signal receiving device configures a correlator corresponding to each row vector of the Hadamard matrix. The correlator is used to multiply the spread spectrum signal with the matched row vector. If the spread spectrum signal uses the matched row vector As a spreading sequence, there is autocorrelation between the spreading signal and the matched row vector, and the correlator outputs an autocorrelation peak. By querying the correlator that outputs the autocorrelation peak, the row vector matching the correlator can be determined, and the valid data represented by the row vector can be determined as the despreading result.
解扩结果为一个有效数据,有效数据包括多个连续的比特位,如前例中有效数据010包括0、1和0三个比特。The result of despreading is a valid data, and the valid data includes multiple consecutive bits. For example, the valid data 010 in the previous example includes three bits of 0, 1, and 0.
S220,获取扩频调制优化参数,所述扩频调制优化参数根据预设的残留频偏容忍阈值确定。S220: Obtain a spread spectrum modulation optimization parameter, where the spread spectrum modulation optimization parameter is determined according to a preset residual frequency offset tolerance threshold.
获取方式可以包括:接收用户的输入信息,从输入信息中提取扩频调制优化参数;或者在信号传输之前,获取信号发送设备发送的扩频调制优化参数。需要说明的是,信号是指携带信息单元的信号。The obtaining method may include: receiving user input information and extracting optimization parameters of spread spectrum modulation from the input information; or obtaining optimization parameters of spread spectrum modulation sent by the signal sending device before signal transmission. It should be noted that a signal refers to a signal that carries an information unit.
S230,根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。S230: Correct the despreading result according to the spread spectrum modulation optimization parameter, and determine at least one information unit, where the number of the information unit matches the spread spectrum modulation optimization parameter.
实际上,如前例,序号为500,500+2 n-2,500+2*2 n-2和500+3*2 n-2的相关器均会出现自相关峰,也即出现自相关峰的相关器的序号之间的差值为k*2 n-d(1≤k≤2 d-1),可以通过计算相关器的序号与k*2 n-d的差值,确定准确的相关器的序号。实际上,由于减少了在同一单位时间内的传输的比特的数量,从而未采用序号在后的行向量生成扩频序列,也即,得到准确解扩结果的相关器的 序号小于2 n-d。在一些实施例中,修正方式可以是,计算相关器的序号与k*2 n-d的差值,直至相关器的序号小于2 n-d,将修正后的相关器对应的解扩结果作为修正数据。 In fact, as in the previous example, the correlators with serial numbers 500, 500+2 n-2 , 500+2*2 n-2 and 500+3*2 n-2 will all have auto-correlation peaks, that is, auto-correlation peaks. The difference between the serial numbers of the correlators is k*2 nd (1≤k≤2 d -1), and the exact serial number of the correlator can be determined by calculating the difference between the serial number of the correlator and k*2 nd. In fact, because the number of bits transmitted in the same unit time is reduced, the row vector with the subsequent sequence number is not used to generate the spreading sequence, that is, the sequence number of the correlator that obtains the accurate despreading result is less than 2 nd . In some embodiments, the correction method may be to calculate the difference between the serial number of the correlator and k*2 nd until the serial number of the correlator is less than 2 nd , and use the despreading result corresponding to the corrected correlator as the correction data.
由前述可知,残留频偏引起的相关器序号偏差仅会造成有效数据中高位的错误,而不影响有效数据的低位。可以对解扩结果中的高位进行修正,得到正确的有效数据,从而确定实际传输的信息单元。It can be seen from the foregoing that the correlator sequence number deviation caused by the residual frequency offset will only cause errors in the high bits of the valid data, and will not affect the low bits of the valid data. The high bits in the despreading result can be corrected to obtain correct and effective data, so as to determine the information unit actually transmitted.
可选的,所述根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配,包括:将解扩结果中与所述扩频调制优化参数匹配的比特位置零,得到修正数据;根据所述修正数据,确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。Optionally, the correcting the despreading result according to the spread spectrum modulation optimization parameter, and determining at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter, includes: In the spreading result, the bit position that matches the spread spectrum modulation optimization parameter is zero, and the modified data is obtained; according to the modified data, at least one information unit is determined, and the number of the information units matches the spread spectrum modulation optimization parameter.
解扩结果为扩频信号中携带的有效数据,解扩结果为连续多个信息单元组成的数据。该有效数据可能是错误的。修正数据为正确的有效数据。与扩频调制优化参数匹配的比特位,可以是指,从高到低的顺序中,前目标数量个比特位,目标数量与扩频调制优化参数相等。示例性的,d=2,解扩结果为1101,将前2个比特位置零,修正数据为0001。The despreading result is the effective data carried in the spread spectrum signal, and the despreading result is the data composed of multiple consecutive information units. The valid data may be wrong. The corrected data is correct and valid. The bits matching the optimization parameters of the spread spectrum modulation may refer to the number of bits before the target number in the order from high to low, and the target number is equal to the optimization parameter of the spread spectrum modulation. Exemplarily, d=2, the despreading result is 1101, the first 2 bits are set to zero, and the modified data is 0001.
由前述可知,当n为4,且第1行的行向量作为扩频序列时,正确的序号为1的相关器确定的有效数据为0001,错误的序号为5的相关器确定的有效数据为0101,错误的序号为9的相关器确定的有效数据为1001。由此可知,当d=2时,有效数据错误的比特位的数量为第一个最高位和第二个最高位,也即错误的高位的数量最多为两个。d=1时,错误的高位的数量最多为一个。由此,可以直接将有效数据中前d个高位的比特均置零,确定解扩结果。It can be seen from the foregoing that when n is 4 and the row vector of the first row is used as the spreading sequence, the valid data determined by the correct correlator with serial number 1 is 0001, and the valid data determined by the wrong correlator with serial number 5 is 0101, the valid data determined by the wrong correlator with serial number 9 is 1001. It can be seen that when d=2, the number of valid data error bits is the first highest bit and the second highest bit, that is, the number of incorrect high bits is two at most. When d=1, the number of high bits of error is at most one. Therefore, the first d high-order bits in the valid data can be directly set to zero to determine the despreading result.
对解扩结果进行修正可以是:将每个有效数据中与扩频调制优化参数匹配的比特位的比特置零,得到正确的有效数据,根据有效数据拆分成连续的多个信息单元。Modifying the despreading result can be: zeroing the bits of each valid data that match the spread spectrum modulation optimization parameter to obtain correct valid data, and splitting the valid data into multiple consecutive information units.
通过解扩结果、扩频调制优化参数与修正数据之间的关系,确定修正数据的修正方式,可以快速得到准确的解扩结果,提高解扩准确性,以及提高错误修正的效率。Through the relationship between the despreading result, the spread spectrum modulation optimization parameter and the corrected data, the correction method of the corrected data is determined, and accurate despreading results can be obtained quickly, the accuracy of despreading, and the efficiency of error correction can be improved.
可选的,在获取扩频调制优化参数之后,该方法还包括:如果解扩结果中与扩频调制优化参数匹配的比特位的数值为零,则根据所述解扩结果确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。Optionally, after obtaining the spread spectrum modulation optimization parameter, the method further includes: if the value of the bit matching the spread spectrum modulation optimization parameter in the despreading result is zero, determining at least one information unit according to the despreading result , The number of the information unit matches the optimization parameter of the spread spectrum modulation.
解扩结果中与扩频调制优化参数匹配的比特位的数值为零,表明该解扩结果为正确的解扩结果,直接根据解扩结果确定信息单元。In the despreading result, the value of the bit matching the spread spectrum modulation optimization parameter is zero, indicating that the despreading result is a correct despreading result, and the information unit is determined directly according to the despreading result.
通过对解扩结果进行判断,并在解扩结果正确时,不进行修正,提高解扩的效率。By judging the result of despreading, and when the result of despreading is correct, no correction is made to improve the efficiency of despreading.
本申请实施例通过在信号传输的过程中,根据扩频调制优化参数对解扩结果进行修正,获取准确的解扩结果,同时不改变硬件的原有设计,降低实现成本和复杂度,提高解扩结果的精度,同时兼顾传输效率。The embodiment of the application modifies the despreading result according to the optimized parameters of spread spectrum modulation during the signal transmission process to obtain accurate despreading results without changing the original design of the hardware, reducing the implementation cost and complexity, and improving the solution. Expand the accuracy of the result while taking into account the transmission efficiency.
实施例三Example three
图6为本申请实施例三中的一种应用场景的示意图。本申请实施例中任意一项所述的扩频信号发送方法可以应用在信号发送设备610中,本申请实施例中任意一项所述的扩频信号接收方法应用在信号接收设备620中。FIG. 6 is a schematic diagram of an application scenario in Embodiment 3 of this application. The spread spectrum signal transmission method described in any one of the embodiments of the present application may be applied to the signal transmitting device 610, and the spread spectrum signal receiving method described in any one of the embodiments of the present application is applied to the signal receiving device 620.
其中,信号发送设备的结构示意图可以如图7所示,信号发送设备可以包括串并转换器710、多路转换器720、成型滤波器730、上变频器740、天线750和哈达玛矩阵760。The schematic diagram of the structure of the signal sending device may be as shown in FIG.
串并转换器710被配置为将待发送的信息流进行并行转换,可以是1:n-d的转换关系,将一路信息流转换为n-d个比特在同一单位时间内进行并行传输,该n-d个比特可以作为一个调制符号进行传输。The serial-to-parallel converter 710 is configured to perform parallel conversion of the information stream to be sent, which can be a 1:nd conversion relationship, and converts one information stream into nd bits for parallel transmission in the same unit time. The nd bits can be It is transmitted as a modulation symbol.
哈达玛矩阵760被配置为生成与每个行向量匹配的扩频信号。The Hadamard matrix 760 is configured to generate a spread spectrum signal matching each row vector.
多路选择器(Multiplex,MUX)720被配置为根据并行传输的n-d个比特,从哈达玛矩阵760生成的扩频信号中选择一个输出。The multiplexer (MUX) 720 is configured to select one output from the spread spectrum signal generated by the Hadamard matrix 760 according to the n-d bits transmitted in parallel.
成型滤波器730被配置为对多路转换器720输出的扩频信号进行成型滤波,可以是使得信号具有有限带宽,以及信号变速率处理,以适合信道传输。The shaping filter 730 is configured to shape and filter the spread-spectrum signal output by the multiplexer 720, which can make the signal have a limited bandwidth and process the signal at a variable rate, so as to be suitable for channel transmission.
上变频器740被配置为对成型滤波后的扩频信号进行射频调制,可以是,将成型滤波后的扩频信号调制到高频载波上,形成射频信号。The up-converter 740 is configured to perform radio frequency modulation on the spread-spectrum signal after shaping and filtering. It may be that the spread-spectrum signal after shaping and filtering is modulated onto a high-frequency carrier to form a radio frequency signal.
天线750被配置为将射频信号对外发送。The antenna 750 is configured to transmit radio frequency signals to the outside.
在一些实施例中,信号发送设备的处理器被配置为控制串并转换器710的输入,以指示串并转换器710在同一单位时间内转换得到n-d个比特。In some embodiments, the processor of the signal sending device is configured to control the input of the serial-to-parallel converter 710 to instruct the serial-to-parallel converter 710 to convert n-d bits in the same unit time.
信号发送设备的处理器还被配置为控制多路选择器720选择哪一路的扩频信号输出。在一些实施例中,信号发送设备的处理器采用本申请实施例提供的扩频信号发送方法,确定扩频调制优化参数d,并根据n-d个比特与哈达玛矩阵 中的行向量的对应关系,从哈达玛矩阵前2 n-d个(从上往下的顺序)行向量中选择与n-d个比特匹配的目标行向量,生成扩频信号,并控制多路转换器720切换到输出该扩频信号的电路导通,以实现扩频。 The processor of the signal sending device is also configured to control which channel of the spread spectrum signal is selected by the multiplexer 720 to output. In some embodiments, the processor of the signal transmission device uses the spread spectrum signal transmission method provided in the embodiments of the present application to determine the spread spectrum modulation optimization parameter d, and according to the correspondence between nd bits and the row vector in the Hadamard matrix, Select the target row vector matching the nd bits from the first 2 nd (from top to bottom) row vectors of the Hadamard matrix to generate a spread spectrum signal, and control the multiplexer 720 to switch to the one that outputs the spread spectrum signal The circuit is turned on to achieve spread spectrum.
实际上,针对M×M的哈达玛矩阵,信号发送设备在同一单位时间内,最多可以传输n=log 2(M)个比特,哈达玛矩阵中可以作为扩频序列的行向量为前M=2 n个行向量。本申请实施例提供的扩频信号发送方法中,信号发送设备在同一单位时间内,最多可以传输n-d个比特,而哈达玛矩阵中可以作为扩频序列的行向量为前2 n-d个行向量。可以理解的是,本申请实施例没有改变信号发送设备的硬件结构,仅仅是通过调整串并转换器710的串并转换率,保证在同一单位时间内的比特的传输数量与扩频调制优化参数相匹配,并相应在信号接收设备处对解扩结果进行修正,提高解扩结果的精度。 In fact, for the M×M Hadamard matrix, the signal sending device can transmit at most n=log 2 (M) bits in the same unit time. The row vector that can be used as the spreading sequence in the Hadamard matrix is the first M= 2 n row vectors. In the spread spectrum signal transmission method provided by the embodiment of the present application, the signal transmission device can transmit at most nd bits in the same unit time, and the row vector that can be used as the spread spectrum sequence in the Hadamard matrix is the first 2 nd row vectors. It is understandable that the embodiment of the present application does not change the hardware structure of the signal sending device, but only adjusts the serial-to-parallel conversion rate of the serial-to-parallel converter 710 to ensure the number of bits transmitted in the same unit time and the optimization parameters of spread spectrum modulation. Match, and correspondingly correct the despreading result at the signal receiving device to improve the accuracy of the despreading result.
信号接收设备的结构示意图如图8所示,信号接收设备可以包括天线810、下变频器820、下采样器830、串并转换器840、相关器850、峰值比较器860、解扩结果修正处理器870和并串转换器880。The structure diagram of the signal receiving device is shown in Fig. 8. The signal receiving device may include an antenna 810, a down converter 820, a down sampler 830, a serial-to-parallel converter 840, a correlator 850, a peak comparator 860, and a despreading result correction process. 870 and parallel-serial converter 880.
天线810被配置为接收信号发送设备发送的射频信号。The antenna 810 is configured to receive radio frequency signals transmitted by the signal transmitting device.
下变频器820被配置为对天线810接收到的射频信号进行解调。The down converter 820 is configured to demodulate the radio frequency signal received by the antenna 810.
下采样器830被配置为按照码元速率对解调信号进行下采样,得到离散的信号,作为待解扩的扩频信号。The down-sampler 830 is configured to down-sample the demodulated signal according to the symbol rate to obtain a discrete signal as the spread-spectrum signal to be despread.
串并转换器840被配置为将扩频信号按照1:M的转换关系,将一路扩频信号变成M路并行分别传输至不同的相关器850。The serial-to-parallel converter 840 is configured to convert the spread-spectrum signal into M channels according to a 1:M conversion relationship and transmit the spread-spectrum signal to different correlators 850 in parallel.
不同的相关器850匹配的哈达玛矩阵的行向量不同。相关器850被配置为将扩频信号与匹配的哈达玛矩阵的行向量相乘。如果扩频信号是以匹配的行向量作为扩频序列生成的信号,则扩频信号与匹配的行向量存在自相关性,相关器850输出自相关峰的峰值。The row vectors of the Hadamard matrix matched by different correlators 850 are different. The correlator 850 is configured to multiply the spread spectrum signal with the row vector of the matched Hadamard matrix. If the spread spectrum signal is a signal generated by using a matched row vector as a spreading sequence, the spread spectrum signal and the matched row vector have autocorrelation, and the correlator 850 outputs the peak value of the autocorrelation peak.
峰值比较器860被配置为比较M个相关器850的输出,并确定峰值最大的相关器850的序号,并将该序号对应的哈达玛矩阵的行向量代表的有效数据作为解扩结果,并提供给解扩结果修正处理器870。通常解扩结果包括n位比特。The peak comparator 860 is configured to compare the outputs of the M correlators 850, and determine the serial number of the correlator 850 with the largest peak, and use the valid data represented by the row vector of the Hadamard matrix corresponding to the serial number as the despreading result, and provide The processor 870 is corrected for the despreading result. Usually the despreading result includes n bits.
解扩结果修正处理器870获取扩频调制优化参数,并将峰值比较器860提供的解扩结果进行修正。在一些实施例中,在解扩结果中截取低n-d位,也即将高d位置零,消除残留频偏引起的相关器850序号的判断误差。The despreading result correction processor 870 obtains the spread spectrum modulation optimization parameter, and corrects the despreading result provided by the peak comparator 860. In some embodiments, the low n-d bits are truncated in the despreading result, that is, the high d position is zero to eliminate the judgment error of the sequence number of the correlator 850 caused by the residual frequency offset.
解扩结果修正处理器870将修正后的解扩结果发送给并串转换器880。The despreading result correction processor 870 sends the corrected despreading result to the parallel-to-serial converter 880.
并串转换器880被配置为将解扩结果按照n-d:1的转换关系,将n-d个比特形成一路信息流,完成信息流由信号发送设备到信号接收设备的传输。The parallel-to-serial converter 880 is configured to convert the despreading result into an information stream according to the n-d:1 conversion relationship, and complete the transmission of the information stream from the signal sending device to the signal receiving device.
实际上,本申请实施例在解扩结果确定之后,增加对解扩结果的修正步骤,消除残留频偏引起的相关器850序号的判断误差。该修正步骤可以由峰值比较器860执行,或者还可以通过信号接收设备的处理器完成,从而没有改变信号发送设备的硬件结构,仅仅是通过增加解扩结果的修正算法,对解扩结果进行修正,提高解扩结果的精度。In fact, in the embodiment of the present application, after the despreading result is determined, a correction step for the despreading result is added to eliminate the judgment error of the sequence number of the correlator 850 caused by the residual frequency offset. This correction step can be performed by the peak comparator 860, or can also be completed by the processor of the signal receiving device, so that the hardware structure of the signal sending device is not changed, and the despreading result is only corrected by adding a correction algorithm for the despreading result. , Improve the accuracy of despreading results.
需要说明的是,图7和图8仅仅示出了部分结构,信号发送设备和信号接收设备还可以包括其他模块和电路,对此,可以根据需要进行设定。It should be noted that FIGS. 7 and 8 only show part of the structure, and the signal sending device and the signal receiving device may also include other modules and circuits, which can be set as required.
本申请实施例通过信号发送设备,根据残留频偏容忍阈值,确定扩频调制优化参数并根据扩频调制优化参数指定信息单元的数量,将该数量个信息单元作为同一单位时间内传输的有效数据,进行扩频和调制,发送到信号接收设备,并在信号接收设备中根据扩频调制优化参数对解扩结果进行修正,可以不改变信号发送设备和信号接收设备硬件的原有硬件设计,降低实现成本,同时信号接收设备中通过比特位置零操作实现解扩结果的修正,降低实现复杂度,同时提高扩频系统的稳定性,提高解扩结果的精度,同时兼顾传输效率。In the embodiment of the application, the signal sending device determines the spread spectrum modulation optimization parameter according to the residual frequency deviation tolerance threshold, and specifies the number of information units according to the spread spectrum modulation optimization parameter, and the number of information units is regarded as valid data transmitted in the same unit time. , Carry out spread spectrum and modulation, send to the signal receiving equipment, and modify the despreading result in the signal receiving equipment according to the optimization parameters of spread spectrum modulation. The original hardware design of the signal sending equipment and signal receiving equipment hardware can be changed without changing the original hardware design of the signal sending equipment and signal receiving equipment, reducing At the same time, the signal receiving equipment realizes the correction of the despreading result through the zero operation of the bit position, reduces the complexity of the implementation, improves the stability of the spread spectrum system, improves the accuracy of the despreading result, and takes into account the transmission efficiency.
实施例四Example four
图9为本申请实施例四中的一种扩频信号发送装置的示意图。实施例四是实现本申请上述实施例提供的扩频信号发送方法的相应装置,该装置可采用软件和/或硬件的方式实现,并一般可集成计算机设备中,如信号发送设备的处理器中。FIG. 9 is a schematic diagram of a spread spectrum signal sending device in the fourth embodiment of this application. The fourth embodiment is a corresponding device that implements the spread spectrum signal transmission method provided in the foregoing embodiment of the present application. The device can be implemented in software and/or hardware, and can generally be integrated into a computer device, such as a processor of a signal transmission device. .
相应的,本实施例的装置可以包括:Correspondingly, the device of this embodiment may include:
扩频调制优化参数确定模块910,被配置为在信号传输的过程中,获取预设的残留频偏容忍阈值,确定扩频调制优化参数;The spread spectrum modulation optimization parameter determination module 910 is configured to obtain a preset residual frequency deviation tolerance threshold during signal transmission, and determine the spread spectrum modulation optimization parameter;
信息单元获取模块920,被配置为获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配;The information unit obtaining module 920 is configured to obtain at least one information unit, and the number of the information unit matches the spread spectrum modulation optimization parameter;
信号扩频模块930,被配置为采用哈达玛矩阵对每个所述信息单元进行扩频,形成扩频信号并调制发送至信号接收设备,其中,所述扩频调制优化参数用于预先提供给信号接收设备,以指示所述信号接收设备对信号解扩结果进行修正。The signal spreading module 930 is configured to use a Hadamard matrix to spread the spectrum of each of the information units to form a spread spectrum signal and modulate it to be sent to the signal receiving device, wherein the spread spectrum modulation optimization parameters are used to provide The signal receiving device instructs the signal receiving device to correct the signal despreading result.
在一些实施例中,扩频调制优化参数确定模块910、信息单元获取模块920和信号扩频模块930可以是指信号发送设备的处理器中的模块。In some embodiments, the spread spectrum modulation optimization parameter determination module 910, the information unit acquisition module 920, and the signal spread spectrum module 930 may refer to modules in the processor of the signal sending device.
本申请实施例通过在信号传输的过程中,根据残留频偏容忍阈值,确定扩频调制优化参数,并根据扩频调制优化参数指定信息单元的数量,将该数量个信息单元作为同一单位时间内传输的有效数据,进行扩频和调制,发送到信号接收设备,并指示信号接收设备通过扩频调制优化参数对信号解扩结果进行修正,以使信号接收设备获取准确的解扩结果,实现通过对传输的信息单元的数量进行优化提高信号解扩的准确性,解决了相关技术中降低残留频偏的实现成本高和复杂度高的问题,可以不改变硬件的原有设计,降低实现成本和复杂度,同时提高扩频系统的稳定性,提高解扩结果的精度,同时兼顾传输效率。In the embodiment of the application, during the signal transmission process, the spread spectrum modulation optimization parameter is determined according to the residual frequency deviation tolerance threshold, and the number of information units is designated according to the spread spectrum modulation optimization parameter, and the number of information units is regarded as the same unit time The transmitted valid data is spread spectrum and modulated, sent to the signal receiving device, and instructs the signal receiving device to modify the signal despreading result through the spread spectrum modulation optimization parameters, so that the signal receiving device can obtain the accurate despreading result and realize the pass Optimize the number of information units to be transmitted to improve the accuracy of signal despreading, and solve the problem of high cost and complexity of reducing residual frequency offset in related technologies. The original design of the hardware can be changed without changing the original design of the hardware, and the implementation cost and Complexity, while improving the stability of the spread spectrum system and the accuracy of the despreading results, while taking into account the transmission efficiency.
在一些实施例中,所述扩频调制优化参数确定模块910,包括:扩频调制优化参数计算单元,用于基于如下公式,计算扩频调制优化参数d:In some embodiments, the spread spectrum modulation optimization parameter determination module 910 includes: a spread spectrum modulation optimization parameter calculation unit configured to calculate the spread spectrum modulation optimization parameter d based on the following formula:
Figure PCTCN2020101783-appb-000007
Figure PCTCN2020101783-appb-000007
其中,A为所述残留频偏容忍阈值,B为带宽,n为所述哈达玛矩阵的阶数,d为非负整数。Wherein, A is the residual frequency offset tolerance threshold, B is the bandwidth, n is the order of the Hadamard matrix, and d is a non-negative integer.
在一些实施例中,所述信息单元获取模块920,包括:传输数量最大值确定单元,被配置为根据所述扩频调制优化参数,确定扩频序列承载的最大信息比特数;获取多个信息单元,信息单元的数量为所述最大信息比特数。In some embodiments, the information unit acquisition module 920 includes: a maximum transmission quantity determination unit configured to determine the maximum number of information bits carried by a spreading sequence according to the spreading modulation optimization parameter; and acquiring multiple pieces of information Unit, the number of information units is the maximum number of information bits.
上述装置可执行本申请实施例所提供的扩频信号发送方法,具备执行方法相应的功能模块和有益效果。The above-mentioned device can execute the spread spectrum signal transmission method provided by the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
实施例五Example five
图10为本申请实施例五中的一种扩频信号接收装置的示意图。实施例五是实现本申请上述实施例提供的扩频信号接收方法的相应装置,该装置可采用软件和/或硬件的方式实现,并一般可集成计算机设备中,如信号接收设备的处理器中。FIG. 10 is a schematic diagram of a spread spectrum signal receiving device in Embodiment 5 of this application. The fifth embodiment is a corresponding device that implements the spread spectrum signal receiving method provided in the above embodiments of this application. The device can be implemented in software and/or hardware, and can generally be integrated into a computer device, such as a processor of a signal receiving device. .
相应的,本实施例的装置可以包括:Correspondingly, the device of this embodiment may include:
扩频信号解扩模块101,被配置为在信号传输的过程中,获取信号的解扩结果,所述解扩结果通过采用哈达玛矩阵扩频技术对扩频信号进行解扩确定;The spread-spectrum signal despreading module 101 is configured to obtain a despreading result of the signal in the process of signal transmission, and the despreading result is determined by despreading the spread-spectrum signal by using the Hadamard matrix spread spectrum technology;
扩频调制优化参数获取模块102,被配置为获取扩频调制优化参数,所述扩 频调制优化参数根据预设的残留频偏容忍阈值确定;The spread spectrum modulation optimization parameter acquisition module 102 is configured to acquire a spread spectrum modulation optimization parameter, and the spread spectrum modulation optimization parameter is determined according to a preset residual frequency deviation tolerance threshold;
解扩结果修正模块103,被配置为根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。The despreading result modification module 103 is configured to modify the despreading result according to the spread spectrum modulation optimization parameter, and determine at least one information unit, the number of which matches the spread spectrum modulation optimization parameter.
在一些实施例中,扩频信号解扩模块101、扩频调制优化参数获取模块102和解扩结果修正模块103可以是指信号接收设备的解扩结果修正处理器中的模块。In some embodiments, the spread-spectrum signal despreading module 101, the spread-spectrum modulation optimization parameter acquisition module 102, and the despreading result correction module 103 may refer to modules in the despreading result correction processor of the signal receiving device.
本申请实施例通过在信号传输的过程中,根据扩频调制优化参数对解扩结果进行修正,获取准确的解扩结果,同时不改变硬件的原有设计,降低实现成本和复杂度,提高解扩结果的精度,同时兼顾传输效率。The embodiment of the application modifies the despreading result according to the optimized parameters of spread spectrum modulation during the signal transmission process to obtain accurate despreading results without changing the original design of the hardware, reducing the implementation cost and complexity, and improving the solution. Expand the accuracy of the result while taking into account the transmission efficiency.
在一些实施例中,所述解扩结果修正模块103,包括:高位置零单元,被配置为将解扩结果中与所述扩频调制优化参数匹配的比特位置零,得到修正数据;根据所述修正数据,确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。In some embodiments, the despreading result correction module 103 includes: a high position zero unit configured to zero the bit positions in the despreading result that match the spread spectrum modulation optimization parameter to obtain modified data; According to the modified data, at least one information unit is determined, and the number of the information unit matches the spread spectrum modulation optimization parameter.
在一些实施例中,所述扩频信号接收装置,还包括:解扩结果确定模块,被配置为在获取扩频调制优化参数之后,如果解扩结果中与扩频调制优化参数匹配的比特位的数值为零,则根据所述解扩结果确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。In some embodiments, the spread spectrum signal receiving device further includes: a despreading result determination module configured to, after obtaining the spread spectrum modulation optimization parameter, if the bits in the despreading result match the spread spectrum modulation optimization parameter If the value of is zero, at least one information unit is determined according to the despreading result, and the number of the information unit matches the spread spectrum modulation optimization parameter.
上述装置可执行本申请实施例所提供的扩频信号发送方法,具备执行方法相应的功能模块和有益效果。The above-mentioned device can execute the spread spectrum signal transmission method provided by the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
实施例六Example Six
图11为本申请实施例六提供的一种计算机设备的结构示意图。图11示出了适于用来实现本申请实施方式的示例性计算机设备12的框图。图11显示的计算机设备12仅仅是一个示例。计算机设备12可以包括信号发送设备或信号接收设备。FIG. 11 is a schematic structural diagram of a computer device provided in Embodiment 6 of this application. FIG. 11 shows a block diagram of an exemplary computer device 12 suitable for implementing the embodiments of the present application. The computer device 12 shown in FIG. 11 is only an example. The computer device 12 may include a signal transmitting device or a signal receiving device.
如图11所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。计算机设备12可以是挂接在总线上的设备。As shown in FIG. 11, the computer device 12 is represented in the form of a general-purpose computing device. The components of the computer device 12 may include: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16). The computer device 12 may be a device connected to a bus.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控 制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构可以包括工业标准体系结构(Industry Standard Architecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(PerIPheral Component Interconnect,PCI)总线。The bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures. For example, these architectures may include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association, VESA) local bus and PerIPheral Component Interconnect (PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(通常称为“硬盘驱动器”)。可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM),数字视盘(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。系统存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请实施例的功能。The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as "hard drives"). It can provide disk drives for reading and writing to removable non-volatile disks (such as "floppy disks"), as well as for removable non-volatile optical disks (such as Compact Disc Read-Only Memory, CD- ROM), digital video disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) read and write optical disc drives. In these cases, each drive can be connected to the bus 18 through one or more data media interfaces. The system memory 28 may include at least one program product. The program product has a set of (for example, at least one) program modules that are configured to perform the functions of the embodiments of the present application.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如系统存储器28中,这样的程序模块42可以包括操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。A program/utility tool 40 having a set of (at least one) program module 42 may be stored in, for example, the system memory 28. Such program module 42 may include an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment. The program module 42 usually executes the functions and/or methods in the embodiments described in this application.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(Input/Output,I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网 (Wide Area Network,WAN)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,可以结合计算机设备12使用的其它硬件和/或软件模块,可以包括:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列(Redundant Arrays of Inexpensive Disks,RAID)系统、磁带驱动器以及数据备份存储系统等。The computer device 12 may also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and may also communicate with one or more devices that enable users to interact with the computer device 12, and/or communicate with Any device (such as a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (Input/Output, I/O) interface 22. In addition, the computer device 12 may also communicate with one or more networks (for example, Local Area Network (LAN), Wide Area Network, WAN) through the network adapter 20. As shown in the figure, the network adapter 20 communicates with one or more networks through the bus 18. Communication with other modules of the computer equipment 12. It should be understood that other hardware and/or software modules that can be used in conjunction with the computer equipment 12 may include: microcode, device drivers, redundant processing units, and external disk drive arrays (Redundant Arrays of Expensive Disks) , RAID) system, tape drive and data backup storage system.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如信号发送设备实现本申请任意实施例所提供的扩频信号发送方法,或信号接收设备实现本申请任意实施例所提供的扩频信号接收方法。The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28. For example, a signal sending device implements the spread spectrum signal sending method provided by any embodiment of the present application, or a signal receiving device implements the present application. The spread spectrum signal receiving method provided by any embodiment.
实施例七Example Seven
本申请实施例七提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有申请实施例提供的方法:The seventh embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method as provided in all the application embodiments of the present application is implemented:
也即,该程序被处理器执行时实现:在信号传输的过程中,获取预设的残留频偏容忍阈值,确定扩频调制优化参数;获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配;采用哈达玛矩阵对各所述信息单元进行扩频,形成扩频信号并调制发送至信号接收设备,其中,所述扩频调制优化参数用于预先提供给信号接收设备,以指示所述信号接收设备对信号解扩结果进行修正。That is, when the program is executed by the processor, it is realized: in the process of signal transmission, the preset residual frequency deviation tolerance threshold is obtained, and the optimization parameter of spread spectrum modulation is determined; at least one information unit is obtained. The spread spectrum modulation optimization parameter matching; the Hadamard matrix is used to spread spectrum to each of the information units to form a spread spectrum signal and modulate and send it to the signal receiving device, wherein the spread spectrum modulation optimization parameter is used to provide the signal receiver in advance Device to instruct the signal receiving device to correct the signal despreading result.
或者,该程序被处理器执行时实现:在信号传输的过程中,获取信号的解扩结果,所述解扩结果通过采用哈达玛矩阵扩频技术对扩频信号进行解扩确定;获取扩频调制优化参数,所述扩频调制优化参数根据预设的残留频偏容忍阈值确定;根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。Or, when the program is executed by the processor, it is realized: in the process of signal transmission, the despreading result of the signal is obtained, and the despreading result is determined by despreading the spread spectrum signal by using the Hadamard matrix spread spectrum technology; and obtaining the spread spectrum Modulation optimization parameters, the spread spectrum modulation optimization parameters are determined according to a preset residual frequency offset tolerance threshold; the despreading result is corrected according to the spread spectrum modulation optimization parameters, and at least one information unit is determined, the information unit The number of is matched with the optimization parameters of the spread spectrum modulation.
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子(非穷举的列表)可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式CD-ROM、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文 件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium of the embodiment of the present application may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. Examples of computer-readable storage media (non-exhaustive list) may include: electrical connections with one or more wires, portable computer disks, hard disks, RAM, Read Only Memory (ROM), erasable memory Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,可以包括电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, and can include electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,可以包括无线、电线、光缆、无线电频率(RadioFrequency,RF)等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, which can include wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of this application can be written in one or more programming languages or a combination thereof. The programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network including LAN or WAN, or may be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
本申请实施例通过在信号传输的过程中,根据残留频偏容忍阈值,确定扩频调制优化参数,并根据扩频调制优化参数指定信息单元的数量,该信息单元的数量既为单个扩频序列承载的信息比特数目,将该数量个信息单元作为同一单位时间内传输的有效数据,进行扩频和调制,发送到信号接收设备,并指示信号接收设备通过扩频调制优化参数对信号解扩结果进行修正,以使信号接收设备获取准确的解扩结果,实现通过对传输的信息单元的数量进行优化提高信号解扩的准确性,解决了相关技术中降低残留频偏的实现成本高和复杂度高的问题,可以不改变硬件的原有设计,降低实现成本和复杂度,同时提高扩频系统的稳定性,提高解扩结果的精度,同时兼顾传输效率。The embodiment of the application determines the optimization parameter of spread spectrum modulation according to the residual frequency deviation tolerance threshold during signal transmission, and specifies the number of information units according to the optimization parameter of spread spectrum modulation. The number of information units is a single spread spectrum sequence. The number of information bits carried, the number of information units is used as the effective data transmitted in the same unit time, which is spread and modulated, and sent to the signal receiving device, and instructs the signal receiving device to optimize the parameters of the signal despreading result through the spread spectrum modulation Make corrections to enable the signal receiving device to obtain accurate despreading results, to improve the accuracy of signal despreading by optimizing the number of transmitted information units, and to solve the high cost and complexity of reducing residual frequency offset in related technologies. For high problems, the original design of the hardware can be reduced without changing the implementation cost and complexity, while at the same time improving the stability of the spread spectrum system, improving the accuracy of the despreading result, and taking into account the transmission efficiency.

Claims (11)

  1. 一种扩频信号发送方法,包括:A method for transmitting spread spectrum signals includes:
    在信号传输的过程中,获取预设的残留频偏容忍阈值,确定扩频调制优化参数;In the process of signal transmission, the preset residual frequency deviation tolerance threshold is obtained, and the optimization parameters of spread spectrum modulation are determined;
    获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配;Acquiring at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter;
    采用哈达玛矩阵对每个所述信息单元进行扩频,形成扩频信号并将所述扩频信号经调制后发送至信号接收设备,其中,所述扩频调制优化参数用于预先提供给所述信号接收设备,以指示所述信号接收设备对信号解扩结果进行修正。The Hadamard matrix is used to spread the spectrum of each of the information units to form a spread spectrum signal and send the spread spectrum signal to the signal receiving device after being modulated, wherein the spread spectrum modulation optimization parameters are used to provide all the information in advance. The signal receiving device instructs the signal receiving device to correct the signal despreading result.
  2. 根据权利要求1所述的方法,所述获取预设的残留频偏容忍阈值,确定扩频调制优化参数,包括:The method according to claim 1, wherein said obtaining a preset residual frequency offset tolerance threshold and determining a spread spectrum modulation optimization parameter comprises:
    基于如下公式,计算扩频调制优化参数d:Based on the following formula, calculate the spread spectrum modulation optimization parameter d:
    Figure PCTCN2020101783-appb-100001
    Figure PCTCN2020101783-appb-100001
    其中,A为所述残留频偏容忍阈值,B为带宽,n为所述哈达玛矩阵的阶数,d为非负整数。Wherein, A is the residual frequency offset tolerance threshold, B is the bandwidth, n is the order of the Hadamard matrix, and d is a non-negative integer.
  3. 根据权利要求1所述的方法,所述获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配,包括:The method according to claim 1, wherein said acquiring at least one information unit, the number of said information unit matching the spread spectrum modulation optimization parameter, comprises:
    根据所述扩频调制优化参数,确定扩频序列承载的最大信息比特数;Determining the maximum number of information bits carried by the spreading sequence according to the spread spectrum modulation optimization parameter;
    获取多个信息单元,所述信息单元的数量为所述最大信息比特数。Acquire multiple information units, and the number of the information units is the maximum number of information bits.
  4. 一种扩频信号接收方法,包括:A method for receiving spread spectrum signals includes:
    在信号传输的过程中,获取扩频信号的解扩结果,所述解扩结果为通过采用哈达玛矩阵扩频技术对所述扩频信号进行解扩确定;In the process of signal transmission, obtaining a despreading result of the spread spectrum signal, where the despreading result is determined by despreading the spread spectrum signal by using a Hadamard matrix spread spectrum technique;
    获取扩频调制优化参数,所述扩频调制优化参数为根据预设的残留频偏容忍阈值确定;Acquiring a spread spectrum modulation optimization parameter, where the spread spectrum modulation optimization parameter is determined according to a preset residual frequency offset tolerance threshold;
    根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。The despreading result is modified according to the spread spectrum modulation optimization parameter, and at least one information unit is determined, and the number of the information unit matches the spread spectrum modulation optimization parameter.
  5. 根据权利要求4所述的方法,其中,所述根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配,包括:The method according to claim 4, wherein the despreading result is modified according to the spread spectrum modulation optimization parameter, and at least one information unit is determined, and the number of the information unit is optimized with the spread spectrum modulation Parameter matching, including:
    将所述解扩结果中与所述扩频调制优化参数匹配的比特位置零,得到修正数据;Zeroing a bit position in the despreading result that matches the spread spectrum modulation optimization parameter to obtain modified data;
    根据所述修正数据,确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。According to the correction data, at least one information unit is determined, and the number of the information unit matches the spread spectrum modulation optimization parameter.
  6. 根据权利要求5所述的方法,在获取扩频调制优化参数之后,所述方法还包括:The method according to claim 5, after obtaining the optimization parameters of spread spectrum modulation, the method further comprises:
    基于所述解扩结果中与所述扩频调制优化参数匹配的比特位的数值为零的判断结果,根据所述解扩结果确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。Based on the judgment result that the value of the bit matching the spread spectrum modulation optimization parameter in the despreading result is zero, at least one information unit is determined according to the despreading result, and the number of the information unit is equal to that of the spread spectrum. Modulation optimization parameter matching.
  7. 一种扩频信号发送装置,包括:A spread spectrum signal sending device includes:
    扩频调制优化参数确定模块,被配置为在信号传输的过程中,获取预设的残留频偏容忍阈值,确定扩频调制优化参数;The spread spectrum modulation optimization parameter determination module is configured to obtain a preset residual frequency deviation tolerance threshold during signal transmission, and determine the spread spectrum modulation optimization parameter;
    信息单元获取模块,被配置为获取至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配;An information unit acquisition module configured to acquire at least one information unit, the number of the information unit matches the spread spectrum modulation optimization parameter;
    信号扩频模块,被配置为采用哈达玛矩阵对每个所述信息单元进行扩频,形成扩频信号并将所述扩频信号经调制后发送至信号接收设备,其中,所述扩频调制优化参数用于预先提供给所述信号接收设备,以指示所述信号接收设备对信号解扩结果进行修正。The signal spreading module is configured to use a Hadamard matrix to spread the spectrum of each of the information units to form a spread spectrum signal and send the spread spectrum signal to the signal receiving device after being modulated, wherein the spread spectrum modulation The optimized parameter is used to provide the signal receiving device in advance to instruct the signal receiving device to correct the signal despreading result.
  8. 一种扩频信号接收装置,包括:A spread spectrum signal receiving device, including:
    扩频信号解扩模块,被配置为在信号传输的过程中,获取扩频信号的解扩结果,所述解扩结果为通过采用哈达玛矩阵扩频技术对所述扩频信号进行解扩确定;The spread-spectrum signal despreading module is configured to obtain the despreading result of the spread-spectrum signal during signal transmission, and the despreading result is determined by despreading the spread-spectrum signal by using the Hadamard matrix spread spectrum technology ;
    扩频调制优化参数获取模块,被配置为获取扩频调制优化参数,所述扩频调制优化参数为根据预设的残留频偏容忍阈值确定;A spread spectrum modulation optimization parameter acquisition module configured to acquire a spread spectrum modulation optimization parameter, the spread spectrum modulation optimization parameter being determined according to a preset residual frequency deviation tolerance threshold;
    解扩结果修正模块,被配置为根据所述扩频调制优化参数对所述解扩结果进行修正,并确定至少一个信息单元,所述信息单元的数量与所述扩频调制优化参数匹配。The despreading result correction module is configured to correct the despreading result according to the spread spectrum modulation optimization parameter, and determine at least one information unit, and the number of the information units matches the spread spectrum modulation optimization parameter.
  9. 一种信号发送设备,包括存储器、处理器、以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-3中任意一项所述的扩频信号发送方法。A signal sending device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor. The processor executes the computer program as described in claims 1-3 Any one of the spread spectrum signal transmission methods.
  10. 一种信号接收设备,包括存储器、处理器、以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求4-6中任意一项所述的扩频信号接收方法。A signal receiving device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor executes the computer program as in claims 4-6 Any one of the spread spectrum signal receiving methods.
  11. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-3中任意一项所述的扩频信号发送方法,或者实现如权利要求4-6中任意一项所述的扩频信号接收方法。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for transmitting a spread spectrum signal according to any one of claims 1 to 3 is realized, Or implement the spread spectrum signal receiving method according to any one of claims 4-6.
PCT/CN2020/101783 2020-05-20 2020-07-14 Spread spectrum signal sending method and apparatus, spread spectrum signal receiving method and apparatus, and device and medium WO2021232566A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010431747.8 2020-05-20
CN202010431747.8A CN111614373B (en) 2020-05-20 2020-05-20 Spread spectrum signal transmission method, spread spectrum signal reception method, spread spectrum signal transmission device, spread spectrum signal reception device, and spread spectrum signal reception medium

Publications (1)

Publication Number Publication Date
WO2021232566A1 true WO2021232566A1 (en) 2021-11-25

Family

ID=72198544

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/101783 WO2021232566A1 (en) 2020-05-20 2020-07-14 Spread spectrum signal sending method and apparatus, spread spectrum signal receiving method and apparatus, and device and medium

Country Status (3)

Country Link
CN (1) CN111614373B (en)
TW (1) TWI722942B (en)
WO (1) WO2021232566A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788631B (en) * 2021-01-26 2022-09-30 北京升哲科技有限公司 Information transmission method and device, communication equipment and storage medium
CN112926024B (en) * 2021-01-26 2023-08-15 北京升哲科技有限公司 Hadamard quadrature modulation signal generation method, device, terminal and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902244A (en) * 2009-05-27 2010-12-01 北京威讯紫晶科技有限公司 Method for spreading spectrum and decoding in short-range wireless network
CN101902425A (en) * 2009-05-27 2010-12-01 北京威讯紫晶科技有限公司 Method for synchronizing time and carrier frequency in short-range wireless network
CN102111239A (en) * 2010-12-27 2011-06-29 电子科技大学 Cascading Hadamard code-aided carrier synchronization method under extremely low signal to noise ratio (SNR)
US20190068424A1 (en) * 2017-08-23 2019-02-28 Qualcomm Incorporated User multiplexing for uplink control information
CN109936393A (en) * 2019-02-28 2019-06-25 北京航空航天大学 A kind of synchronous method and device suitable for extremely low acceptance rate

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5619524A (en) * 1994-10-04 1997-04-08 Motorola, Inc. Method and apparatus for coherent communication reception in a spread-spectrum communication system
US6330291B1 (en) * 1996-03-29 2001-12-11 Qualcomm Inc. Frequency tracking for communication signals using M-ary orthogonal walsh modulation
FR2785118B1 (en) * 1998-10-26 2004-06-18 Cit Alcatel CHANNEL ACQUISITION AND TRACKING MODULE FOR A RADIOCOMMUNICATION SYSTEM
CN1913409B (en) * 2005-08-08 2011-09-07 都科摩(北京)通信技术研究中心有限公司 Goupling Hadamard code generating method and device
CN101030789A (en) * 2007-04-11 2007-09-05 孙晓博 Method for constructing orthogonal code
CN101667844B (en) * 2008-09-04 2012-12-19 傲世通科技(苏州)有限公司 Device and method for serial descrambling and de-spreading of mobile communication system
CN102143117A (en) * 2011-03-31 2011-08-03 福州大学 Time-frequency synchronization joint estimation method based on multi-carrier receiver of digital television media broadcast (DTMB) system
CN103326980B (en) * 2012-03-23 2016-04-20 联芯科技有限公司 OFDM system residual frequency offset tracking and device
CN103686981B (en) * 2012-09-04 2017-07-25 联芯科技有限公司 It is treat or lead to mobile terminal and its frequency offset regulation method more more
CN102833209B (en) * 2012-09-21 2015-04-29 哈尔滨工业大学 CDMA (code division multiple access) communication method
CN106850498A (en) * 2017-02-05 2017-06-13 苏州维特比信息技术有限公司 Digital front-end device and signal processing method
CN108040027B (en) * 2017-12-06 2020-11-27 中山大学 OOFDM modulation method of VLC system based on Hadamard matrix amplification
CN108712190B (en) * 2018-04-25 2020-10-27 西安宇飞电子技术有限公司 Multi-carrier tracking method and tracking device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902244A (en) * 2009-05-27 2010-12-01 北京威讯紫晶科技有限公司 Method for spreading spectrum and decoding in short-range wireless network
CN101902425A (en) * 2009-05-27 2010-12-01 北京威讯紫晶科技有限公司 Method for synchronizing time and carrier frequency in short-range wireless network
CN102111239A (en) * 2010-12-27 2011-06-29 电子科技大学 Cascading Hadamard code-aided carrier synchronization method under extremely low signal to noise ratio (SNR)
US20190068424A1 (en) * 2017-08-23 2019-02-28 Qualcomm Incorporated User multiplexing for uplink control information
CN109936393A (en) * 2019-02-28 2019-06-25 北京航空航天大学 A kind of synchronous method and device suitable for extremely low acceptance rate

Also Published As

Publication number Publication date
CN111614373A (en) 2020-09-01
TWI722942B (en) 2021-03-21
TW202145732A (en) 2021-12-01
CN111614373B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
WO2021232566A1 (en) Spread spectrum signal sending method and apparatus, spread spectrum signal receiving method and apparatus, and device and medium
EP2384569B1 (en) Method and apparatus for simplified expected symbol value computation and interference cancellation in communication signal processing
EP1671462A1 (en) Method and apparatus for signal demodulation
WO2002069591A1 (en) Communication device and transmission mode selecting method
CN112713912B (en) Spread spectrum index modulation and demodulation communication method, transmitter, receiver and storage medium
KR100450949B1 (en) Soft decision value calculating apparatus and method of channel decoder in data communication system
CN104272692A (en) Carrier wave reproduction device and carrier wave reproduction method
EP2978266B1 (en) Method and apparatus for low power operation utilizing multiple adcs with different precisions
CN110602012B (en) Low-complexity 16APSK demapping method and circuit
CN1126285C (en) Detection of mutually orthogonal codewords with intersymbol interference and imperfect timing
AU2002329092A1 (en) Apparatus and method for calculating soft decision value input to channel decoder in a data communication system
US8385466B2 (en) Transmitting a signal from a power amplifier
CN112929904B (en) Information transmission method and device, communication equipment and storage medium
US9172413B2 (en) Method and apparatus for performing wireless communications with aid of successive data processing in multiple iterations
US7457357B2 (en) Decision feedback equalizer design with interference removal and reduced error propagation
JP2017513380A (en) Physical layer data transmission method and data transmission device
CN107018114B (en) A kind of SCMA code book blind estimating method
CN112788631B (en) Information transmission method and device, communication equipment and storage medium
US20170288923A1 (en) Carrier-sensing method
KR20030015428A (en) Method and apparatus for calculating soft-decision value for multiple level demodulation
CN111654349B (en) Frame synchronization method and system
CN105871505B (en) Multidimensional code processing method, sending end, receiving end and system
US7912029B2 (en) Wireless communication system and wireless communication method
CN112104440B (en) Communication signal processing method and wireless communication system
CN115348141A (en) DSC signal demodulation method and device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20936311

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20936311

Country of ref document: EP

Kind code of ref document: A1