CN108023850B - Wireless communication method and device - Google Patents
Wireless communication method and device Download PDFInfo
- Publication number
- CN108023850B CN108023850B CN201711207763.3A CN201711207763A CN108023850B CN 108023850 B CN108023850 B CN 108023850B CN 201711207763 A CN201711207763 A CN 201711207763A CN 108023850 B CN108023850 B CN 108023850B
- Authority
- CN
- China
- Prior art keywords
- complex signal
- physical frame
- bit stream
- data bit
- complex
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000004891 communication Methods 0.000 title claims abstract description 68
- 238000011084 recovery Methods 0.000 claims abstract description 47
- 238000012545 processing Methods 0.000 claims abstract description 35
- 238000012937 correction Methods 0.000 claims abstract description 14
- 230000015654 memory Effects 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 19
- 238000013507 mapping Methods 0.000 claims description 18
- 238000001514 detection method Methods 0.000 claims description 16
- 238000009432 framing Methods 0.000 claims description 16
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 20
- 230000035945 sensitivity Effects 0.000 abstract description 12
- 230000001360 synchronised effect Effects 0.000 abstract description 12
- 230000005540 biological transmission Effects 0.000 description 26
- 238000005070 sampling Methods 0.000 description 26
- 238000006243 chemical reaction Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 238000001914 filtration Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000006855 networking Effects 0.000 description 5
- 238000007493 shaping process Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000000465 moulding Methods 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000005311 autocorrelation function Methods 0.000 description 2
- 239000002131 composite material Substances 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 230000010363 phase shift Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 238000007476 Maximum Likelihood Methods 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000005316 response function Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2626—Arrangements specific to the transmitter only
- H04L27/2627—Modulators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2602—Signal structure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2626—Arrangements specific to the transmitter only
- H04L27/2646—Arrangements specific to the transmitter only using feedback from receiver for adjusting OFDM transmission parameters, e.g. transmission timing or guard interval length
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2647—Arrangements specific to the receiver only
- H04L27/2655—Synchronisation arrangements
- H04L27/2657—Carrier synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention is suitable for the technical field of communication, and provides a wireless communication method and a device, wherein the wireless communication method comprises the following steps: modulating a data bit stream to be modulated at a transmitting end to obtain a first complex signal corresponding to the data bit stream, generating a pseudo-random sequence according to the data bit stream, and modulating the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence; and combining the first complex signal and the second complex signal into a physical frame, and finally processing the physical frame to obtain an analog signal and transmitting the analog signal to a receiving end. The structure of the physical frame is simplified, and the data redundancy of the data stream in the modulation process is reduced. And determining a second complex signal at a receiving end by a rapid synchronous capturing method, then performing digital feedback loop carrier recovery on the first complex signal, and finally obtaining a demodulated data bit stream through channel error correction decoding, so that the receiving processing delay overhead is reduced, and the system data throughput rate and the data receiving sensitivity performance are effectively improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a wireless communication method and apparatus.
Background
The internet of things puts forward higher requirements on data transmission performance, and in order to ensure that the network coverage requires longer transmission distance and lower receiving sensitivity among devices, the terminal nodes are usually powered by batteries and require the devices to have lower running power consumption. The device may face a more complex network application and interference environment, thereby requiring a system with more flexible networking and stronger interference resistance.
In the prior art, the mainstream data transmission technology of the wireless internet of things mainly comprises wireless fidelity Wifi, Bluetooth, a mobile communication network and the like. The Wifi enables data transmission to have higher service rate and demodulation performance through transmission technologies such as spread spectrum DSSS and orthogonal frequency division multiplexing OFDM, but the Wifi is prone to have the defects of higher power consumption and the like in the data transmission process. The Bluetooth carries out network expansion by adopting the traditional constant envelope frequency shift keying FSK transmission technology and the wireless grid network Mesh technology and the like, has the advantages of low power consumption, low cost, flexible networking and the like, and is mainly not good enough in the performance of the traditional frequency shift keying FSK demodulation threshold and not enough in the receiving sensitivity under the same condition.
Disclosure of Invention
In view of this, embodiments of the present invention provide a wireless communication method and apparatus, so as to solve the problems of poor data receiving sensitivity performance and time delay in the wireless transmission process in the prior art.
A first aspect of an embodiment of the present invention provides a wireless communication method, including:
modulating a data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream;
generating a pseudo-random sequence according to the data bit stream, and modulating the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence;
combining the first complex signal and the second complex signal into one physical frame;
and processing the physical frame, and transmitting the analog signal obtained after processing to a receiving end.
A second aspect of an embodiment of the present invention provides a wireless communication method, including:
acquiring an analog signal to be demodulated, and acquiring a physical frame corresponding to the analog signal according to the analog signal;
acquiring a complex signal in the physical frame, and acquiring a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudo-random sequence from the complex signal of the physical frame;
carrying out carrier recovery on the first complex signal according to the second complex signal to obtain a first complex signal after carrier recovery;
and demodulating the first complex signal after carrier recovery to obtain a demodulated data bit stream.
A third aspect of embodiments of the present invention provides a wireless communication apparatus, including:
the device comprises a first complex signal acquisition unit, a second complex signal acquisition unit and a first complex signal generation unit, wherein the first complex signal acquisition unit is used for modulating a data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream;
a second complex signal obtaining unit, configured to generate a pseudo-random sequence according to the data bit stream, and modulate the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence;
a framing unit for combining the first complex signal and the second complex signal into one physical frame;
and the transmitting unit is used for processing the physical frame and transmitting the analog signal obtained after processing to a receiving end.
A fourth aspect of an embodiment of the present invention provides a wireless communication apparatus, including:
the physical frame acquisition unit is used for acquiring an analog signal to be demodulated and acquiring a physical frame corresponding to the analog signal according to the analog signal;
a complex signal detection unit, configured to acquire a complex signal in the physical frame, and acquire a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudorandom sequence from the complex signal of the physical frame;
a carrier recovery unit, configured to perform carrier recovery on the first complex signal according to the second complex signal to obtain a carrier-recovered first complex signal;
and the demodulation unit is used for demodulating the first complex signal after the carrier recovery to obtain a demodulated data bit stream.
A fifth aspect of an embodiment of the present invention provides a wireless communication apparatus, including: the device comprises a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are connected with each other, the memory is used for storing a computer program for supporting an apparatus to execute the method, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method of the first aspect.
A sixth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method of the first aspect described above.
A seventh aspect of an embodiment of the present invention provides a wireless communication apparatus, including: a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program that supports an apparatus to perform the above method, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the above method of the second aspect.
An eighth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method of the second aspect described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the adoption of fast synchronous capture, carrier recovery demodulation of a digital feedback loop and convolution decoding effectively improves the sensitivity performance of data receiving, reduces the delay in the whole synchronous and demodulation processing process and the time overhead caused by the delay, and ensures the effective data throughput of the system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a wireless communication method according to an embodiment of the present invention;
fig. 2 is a flow chart of a wireless communication method according to another embodiment of the present invention;
fig. 3 is a flow chart of a wireless communication method according to yet another embodiment of the present invention;
fig. 4 is a schematic diagram of a wireless communication device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a wireless communication device according to another embodiment of the present invention;
fig. 6 is a diagram of a wireless communication device according to still another embodiment of the invention;
fig. 7 is a schematic diagram of a wireless communication device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a wireless communication apparatus according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a flowchart of a wireless communication method according to an embodiment of the present invention. The execution subject in the present embodiment is a device having a wireless communication function, and the device may be a transmitting device, a wireless sensor node, or the like, but is not limited thereto. As shown in fig. 1, a wireless communication method according to an embodiment of the present invention includes the following steps:
s101: and modulating a data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream.
The wireless internet of things generally has low requirements on the transmission rate of physical layer service data in the data transmission process, but has higher requirements on other transmission performances. In order to ensure that the network coverage requires longer transmission distance and lower receiving sensitivity between devices, the terminal node is usually powered by a battery, and the devices are required to have lower operating power consumption. The device may face a more complex network application and interference environment, thereby requiring the system to have more flexible networking and stronger anti-interference capability, and reasonable system application cost.
After data are collected by sensing layer nodes in the internet of things system, the data need to be transmitted to a server or an upper computer through network equipment for corresponding processing. Before transmission, data needs to be modulated, and information of a signal source needs to be processed and added to a carrier wave, so that the carrier wave becomes a form suitable for channel transmission. I.e. shifting the spectrum of the signal to be modulated to a desired position, thereby converting the modulated signal into a modulated signal suitable for propagation, and it has a great influence on the transmission efficiency and transmission reliability of the system.
And acquiring a data bit stream to be modulated, and modulating the data bit stream to be modulated. The Modulation method may be Binary Phase Shift Keying (BPSK), Quadrature Phase Shift Keying (QPSK), Quadrature Amplitude Modulation (QAM), or other Modulation methods. The specific modulation method is selected according to the parameter setting of the system, the characteristics of the data bit stream, or the configuration of the transmitting and receiving ends, which is not limited here.
And modulating the data bit stream to obtain a complex signal corresponding to the data bit stream, wherein the complex signal is a first complex signal. For example, a complex signal Zt ═ Sr + jSi can be regarded as a composite of a real signal Sr and an imaginary signal Si, i.e., the in-phase and quadrature signals are the cos and sin components of the signal, respectively. Since any signal containing only the time t as an argument can be regarded as a two-dimensional curve, the superposition of two signals Sr and Si, each of which has a unique argument with respect to time, can be regarded as a three-dimensional curve extending over time.
S102: and generating a pseudo-random sequence according to the data bit stream, and modulating the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence.
A pseudorandom sequence is generated from a stream of data bits, which is a seemingly random, in fact regular, periodic binary sequence with noise-like properties. Illustratively, in Code Division Multiple Access (CDMA), the address Code is selected from pseudo-random sequences, one of the most easily implemented pseudo-random sequences is used in CDMA: m sequences, which are used for distinguishing different users by using different phases of the m sequences; for data security, data masking techniques are used in the paging channel and forward traffic channel of CDMA by scrambling the traffic channel with a length 2 m-sequence of power 42 minus 1, over the modulated characters output by the packet interleaver, by modulo binary addition of the interleaver output characters with the long code PN chips.
In this embodiment, the pseudo-random sequence may be a standard m-sequence with a length of 2n-1, wherein n is a positive integer greater than 3, and the size of n is configurable according to the system configuration.
And modulating the pseudo-random sequence to obtain a complex signal corresponding to the pseudo-random sequence, namely a second complex signal. The modulation method may be constellation mapping. For example, the modulation is performed by a modulation scheme such as BPSK, and a specific modulation scheme is selected according to parameter setting of the system, characteristics of the data bit stream, or configuration of the transmitting/receiving end, which is not limited herein.
S103: combining the first complex signal and the second complex signal into one physical frame.
The complex signal corresponding to the data bit stream obtained in step S101 and the complex signal corresponding to the pseudo random sequence obtained in step S102 are framed into one physical frame. A physical frame generally includes two parts, namely a payload part and a preamble symbol, wherein the payload part is a complex signal corresponding to a data bit stream, namely a first complex signal; the preamble symbol is a complex signal corresponding to the pseudo-random sequence, i.e., a second complex signal.
Further, depending on the system configuration, a header portion may be inserted between the preamble symbol and the payload in some working modes for carrying some control information of the physical layer. At this time, the specific structure of the physical frame is as follows: preamble symbols, header, and payload. The data redundancy of the physical frame is reduced by simplifying the data frame structure of the physical frame, and the time delay of the physical frame in the processes of transmission, demodulation and the like is further reduced.
S104: and processing the physical frame, and transmitting the analog signal obtained after processing to a receiving end.
And obtaining a digital signal corresponding to the physical frame according to the physical frame. Optionally, the digital signal corresponding to the physical frame is obtained by performing transmit molding and upsampling processing on the physical frame.
And then, carrying out digital-to-analog conversion on the digital signal to obtain an analog signal corresponding to the digital signal. After the conversion from the digital signal to the analog signal is completed, the analog signal is subjected to up-conversion, radio frequency orthogonal modulation and power amplification, and finally transmitted to a receiving end through an antenna.
According to the scheme, the data bit stream to be modulated is modulated to obtain a first complex signal corresponding to the data bit stream, a pseudo-random sequence is generated according to the data bit stream, the pseudo-random sequence is modulated to obtain a second complex signal corresponding to the pseudo-random sequence, the first complex signal and the second complex signal are combined into a physical frame, the structure of the physical frame is simplified, and finally the physical frame is processed to obtain an analog signal and transmitted to a receiving end, so that data redundancy of the data stream in the modulation process and time overhead caused by the analog signal are reduced, and effective data throughput of a system is guaranteed.
Referring to fig. 2, fig. 2 is a flowchart of a wireless communication method according to an embodiment of the present invention. The execution subject in the present embodiment is a device having a wireless communication function, and the device may be a transmitting device, a wireless sensor node, or the like, but is not limited thereto. As shown in fig. 2, the wireless communication method according to the embodiment of the present invention includes the following steps:
s201: and mapping the data bit stream to be modulated in a planet seat to obtain the load of a physical frame.
Optionally, before modulating the data bit stream, the data bit stream is Error corrected by Forward Error Correction (FEC). When data generates redundant information in the transmission process or errors occur in transmission, the receiver is allowed to reconstruct the data so as to enhance the error correction capability of the data communication system after being subjected to noise and environmental interference, improve the receiving quality of a data receiving end and improve the channel capacity.
The FEC may be a convolutional code or a block code, and since a convolutional code not only has a superior error correction capability, but also has the advantages of smaller decoding delay and moderate implementation complexity compared to a common linear block code, a convolutional code is generally used.
Exemplarily, taking convolutional code (2, 1, K) as an example (where K is a constraint length), a specific encoding process is described: the method comprises the steps that serial bit-by-bit coding is carried out from the first input bit of an upper-layer service data packet, and each input bit corresponds to 2 coded bits to be output; in order to ensure the reliability of decoding the last several data bits, K-1 tail bits 0 are usually filled in the tail of the input data bit, and after the decoding of the receiving end is finished, the corresponding tail bits need to be deleted.
Optionally, the maximum change of the data structure is realized by the interleaver without changing the data content. The interleaver may be a regular interleaver, a random interleaver, an irregular interleaver, etc., and the interleaving manner may be a simple and fixed row and column replacement manner, which is not described herein again. It should be noted that the interleaving process is an optional step in this embodiment, and is only used when it is not sensitive to the delay of the receiving process and has a high requirement on the anti-interference performance.
And mapping the data bit stream in a planet seat to obtain a complex signal corresponding to the data bit stream, namely a first complex signal, wherein the first complex signal is a load part of a physical frame. The constellation mapping can adopt various modulation modes such as BPSK, QPSK, QAM and the like, preferably, a single carrier PSK digital modulation technology is adopted to provide reliable sensitivity during data demodulation and improve the demodulation performance of the whole data communication system.
Optionally, when there are special requirements for the application environment and the network performance, the auxiliary pilot is inserted in the payload part of the physical frame.
The load part in the physical frame is used for bearing the effective service data information of the upper layer, and the upper layer data completes the generation of the load part after FEC convolutional coding, interleaving and constellation mapping. The demodulation performance and sensitivity of the receiver of the whole system can be effectively improved by adopting convolutional coding and single carrier PSK digital modulation technology.
S202: and generating a pseudo-random sequence according to the data bit stream, and carrying out constellation mapping on the pseudo-random sequence to obtain a preamble symbol of a physical frame.
And generating a pseudo-random sequence according to the data bit stream, and carrying out constellation mapping on the pseudo-random sequence, wherein the constellation mapping can adopt BPSK.
The preamble symbol uses a pseudo-random sequence with good autocorrelation properties as a synchronization signal to determine when to send and receive data between the mobile station and the access point, and informs other mobile stations of the ongoing transmission to avoid collisions, while transmitting synchronization signals and frame intervals. The method and the device can ensure the rapid timing and frequency capture synchronization of the receiver in the low signal-to-noise environment, and improve the receiving sensitivity and the anti-interference capability of data transmission.
S203: and framing the load of the physical frame and the preamble symbol to obtain a physical frame.
In order for the receiver to correctly accept and check the transmitted frames, the sender must encapsulate the data stream delivered by the physical layer into frames according to certain rules. Framing mainly solves the problems of frame boundary, frame synchronization, transparent transmission and the like. Framing is generally accomplished in four ways: character counting method, character filling head delimiter method, bit filling head and tail marking method and the like.
Since the frame is transmitted in the network in the minimum unit, the receiving end must be aware of where the frame starts and ends in a series of bit streams to correctly accept the frame, otherwise, the receiving end receives a series of bit streams and cannot correctly distinguish the frame without a header and a trailer.
Framing requires both a header, i.e., preamble symbols, and a trailer, i.e., payload, portion. The unstructured original bit stream of the physical layer is divided into structural data units with a certain length, and the bits are combined into frames for transmission, so that the data frame structure of the physical layer is simplified, only the error frame is retransmitted when errors occur, and all data do not need to be retransmitted, thereby improving the efficiency.
S204: and framing the load of the physical frame and the preamble symbol to obtain a physical frame.
S2041: and carrying out emission molding and up-sampling processing on the physical frame to obtain a digital signal corresponding to the physical frame.
The method is characterized in that the emission forming processing is carried out on a physical frame, a root-raised cosine filter is generally adopted for emission forming filtering, raised cosine roll-off signals are used for eliminating intersymbol interference, and the mode adopted in actual implementation is realized by a baseband in-line filter at a sending end and a matched filter at a receiving end in a public mode. The product of the transfer functions of the transmission system, so each link is a square root raised cosine roll-off filter. This can reduce the implementation difficulty of the filter. The impulse response function RCo (t) is as follows:
the roll-off factor α can be flexibly configured according to the system application requirements, and Ts is a symbol duration period.
In digital communications, the actual transmitted signal is a sequence of shaped pulses after each sequence of discrete samples has passed through a shaping filter. The matched filter is to maximize the signal-to-noise ratio at the sampling instant. When the transmitting end forming filter uses the root raised cosine filter and the receiving end uses the root raised cosine filter for matched filtering, the signal-to-noise ratio at the sampling time can be highest, namely the matched filter is completed, and intersymbol interference is not introduced into a certain band-limited flat channel.
Optionally, the conversion from the signal sampling rate after the emission molding filtering to the digital-to-analog conversion sampling rate is completed through upsampling, so as to ensure the consistency of the sampling rate.
S2042: and performing digital-to-analog conversion on the digital signal to obtain an analog signal corresponding to the digital signal, and sending the analog signal to a receiving end.
And performing digital-to-analog conversion on the digital signal to obtain an analog signal corresponding to the digital signal. After the conversion from the digital signal to the analog signal is completed, the analog signal is subjected to up-conversion, radio frequency orthogonal modulation and power amplification, and finally transmitted to a receiving end through an antenna.
According to the scheme, the data bit stream to be modulated and the pseudorandom sequences of the data bit stream are respectively modulated, and the first complex signal and the second complex signal which respectively correspond to the data bit stream are modulated and are convolutionally encoded through PSK digital modulation, so that the modulation efficiency is improved. And framing the first complex signal and the second complex signal to obtain a physical frame, thereby simplifying the structure of the physical frame. And finally, the physical frame is processed to obtain an analog signal and the analog signal is transmitted to a receiving end, so that the time delay of the data stream in the modulation process and the time overhead caused by the time delay are effectively reduced, and the effective data throughput of the system is ensured.
Referring to fig. 3, fig. 3 is a flowchart of a wireless communication method according to an embodiment of the present invention. The execution subject in the present embodiment is a device having a wireless communication function, and the device may be a receiving device, a wireless sensor node, or the like, but is not limited thereto. As shown in fig. 3, the wireless communication method according to the embodiment of the present invention includes the following steps:
s301: and acquiring an analog signal to be demodulated, and acquiring a physical frame corresponding to the analog signal according to the analog signal.
And performing analog-to-digital conversion on the acquired analog signal to obtain a digital signal corresponding to the analog signal, and performing down-sampling, receiving, shaping, filtering and other processing on the digital signal to obtain a physical frame corresponding to the analog signal.
And performing down-sampling processing on the acquired digital signal to complete conversion from the analog-to-digital conversion sampling rate of the input digital signal to the digital baseband sampling rate. Down-sampling is a process of reducing the sampling rate of a particular signal, typically used to reduce the data transmission rate or data size. The down-sampling factor is typically an integer or rational number greater than 1. This factor expresses that the sampling period becomes several times larger than before, or equivalently that the sampling rate becomes a fraction of before. Since down-sampling reduces the sampling rate, it is necessary to ensure that the nyquist sampling theorem still holds at the new lower sampling rate. The acquired digital signals are subjected to down-sampling processing, so that sampling of low-intermediate frequency or baseband analog signals is completed, digital sampling signals are output, data sampling points are reduced, operation time is further reduced, and data transmission efficiency is improved.
S302: and acquiring a complex signal in the physical frame, and acquiring a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudo-random sequence from the complex signal of the physical frame.
Acquiring a complex signal in the physical frame, detecting a first complex signal corresponding to the pseudo-random sequence and a second complex signal corresponding to the data bit stream from the complex signal of the physical frame according to a pre-stored known second complex signal, and further acquiring demodulated information through the complex signal.
For example, a complex signal Zt ═ Sr + jSi can be regarded as a composite of a real signal Sr and an imaginary signal Si. Since any signal that only contains the time t as an argument can be considered as a two-dimensional curve, i.e. the in-phase signal (in-phase) and the quadrature signal (orthogonal) of the base station signal, are the cos and sin components of the signal. The superposition of the two signals Sr and Si, each of which has a unique time argument, can be regarded as a three-dimensional curve extending over time.
Step S302 includes steps S3021 to S3023.
S3021: and according to a pre-stored second complex signal, performing two-dimensional parallel search of a time domain and a frequency domain on the complex signal, and capturing the second complex signal in the complex signal.
The second complex signal is pre-stored in the communication device, and the time domain and the frequency domain two-dimensional parallel search is performed on the complex signal, wherein the locally stored pre-stored second complex signal needs to be compared in each search, and the second complex signal in the complex signal is captured. The quick synchronous detection of various synchronous information of the received signals is completed through the time/frequency two-dimensional parallel search of the synchronous signals, the real-time and quick capture of the received signals is ensured, and the accurate synchronous information such as timing, carrier frequency offset, carrier phase and the like is provided.
S3022: calculating a correlation between the pre-stored second complex signal and the captured second complex signal.
And in the time-frequency two-dimensional searching process, calculating the correlation degree of the pre-stored second complex signal and the information of the second complex signal in the complex signals, and accumulating the correlation results and outputting the power square of the amplitude of the accumulated result. The ratio of the square value of the current search output power to the current input signal power is the correlation degree of the pre-stored second complex signal and the information of the second complex signal in the complex signals.
S3022: and if the correlation degree is greater than a preset correlation degree threshold value, the second complex signal is a preamble symbol of the physical frame, and the rest complex signals in the physical frame are the load of the physical frame.
In this embodiment, the correlation threshold is a detection threshold, and once the ratio of the square value of the current search output power to the current input signal power is greater than the detection threshold, that is, the correlation is greater than a preset correlation threshold, the synchronization acquisition detection is successful. The second complex signal is a preamble symbol of the physical frame, and the rest of the complex signals in the physical frame are a payload of the physical frame.
And if the correlation degree is less than or equal to a preset correlation degree threshold value, skipping the second complex signal and capturing the rest of the second complex signals.
And outputting the timing and frequency offset information corresponding to the current successful detection as a coarse synchronization detection result. Time domain stepping precision of TsThe/4 can meet the requirement, the frequency domain stepping precision is related to the length of the preamble symbol, if the preamble length is 63, the frequency domain stepping precision is Bw/128 and the whole frequency domain can meet the requirementThe search range depends on the maximum possible transmit-receive carrier frequency offset,
optionally, the carrier frequency offset estimation result of the synchronous detection is used to perform carrier frequency offset compensation on the received preamble signal, remove the influence of the preamble symbol modulation sequence, perform autocorrelation function calculation on the signal, and obtain the combined fine estimation of the residual carrier frequency offset by using the autocorrelation function; and after removing the preamble symbol modulation sequence, the complex signal is subjected to accumulation operation and then the angle is calculated to obtain the current phase fine estimation result.
Optionally, timing fine synchronization is performed according to the data receiving performance requirement. And performing timing search with higher stepping precision on the received signal by utilizing the locally stored known preamble synchronization signal in a smaller timing range, wherein the detection principle is similar to the preamble symbol acquisition so as to obtain a timing synchronization estimation result with higher precision.
Optionally, according to the requirement of system performance, obtaining an estimation of a receiving and transmitting sampling clock error according to a receiving and transmitting carrier frequency deviation provided by synchronous detection, and further performing timing pre-compensation processing on data to be demodulated; assuming that the frequency offset of the receiving and transmitting carrier is delta f and the frequency of the radio frequency carrier is fc, the deviation estimation of the receiving and transmitting sampling clock is as follows: Δ f/fc. Sample timing offset tracking and compensation of the data to be demodulated can also be accomplished by a classical delay-locked loop. The timing recovery is used for tracking and compensating the data sampling timing drift caused by the receiving/transmitting clock deviation in the data demodulation process of the load part so as to ensure the correct demodulation of the data.
S303: and carrying out carrier recovery on the first complex signal according to the second complex signal to obtain a first complex signal after carrier recovery.
And calculating the carrier frequency offset and the phase deviation of the physical frame according to the second complex signal, and obtaining phase synchronization information according to the phase deviation. On the basis of carrier frequency offset and phase synchronization information, correct and stable signal demodulation is ensured by tracking and removing residual carrier frequency offset and the influence of carrier frequency and phase drift in the demodulation process through a digital phase-locked loop.
According to the phase theta (t) output by a Numerically Controlled Oscillator (NCO), the phase compensation is carried out on the load part input signal Si (t), and the compensation output so (t) is used as the output of carrier recovery and is also used as the input signal of phase detection. And estimating the phase difference delta theta (t) of the current preamble symbol part according to the modulation mode of constellation mapping. And filtering the phase detection output delta theta (t) to obtain a frequency output fi (t), wherein the loop filtering can adopt a first-order or multi-order structure according to the tracking performance requirement.
The initialization frequency and phase of NCO are carrier frequency offset fo and carrier phase theta0Estimation result, output f of loop filteri(τ) performing a frequency integration operation and outputting the phase θ (t) to the phase compensation module, wherein the output phase θ (t) is calculated as follows:
the digital feedback loop carrier recovery demodulation is adopted, phase compensation is carried out on input signals to obtain compensation output, phase discrimination is carried out on the compensation output to obtain the phase difference of the current symbol data, loop filtering is carried out according to the phase difference to obtain frequency output, the output phase of the frequency output is calculated through the digital control oscillator, the receiving processing delay overhead is effectively reduced, the effective data throughput rate is ensured, and the digital feedback loop carrier recovery demodulation method is suitable for burst data receiving and transmitting and various networking environments such as Mesh (grid)/star.
S304: and performing constellation demapping on the load part after carrier recovery to obtain a data bit stream corresponding to the physical frame.
And demodulating the first complex signal after carrier recovery to obtain a data bit stream, wherein the data bit stream is effective service data information. By demodulating the obtained data bit stream, the information sent by the sending end can be obtained.
It should be noted that the demodulation method for the load portion corresponds to the modulation method in step S101, so as to ensure the uniformity of the modulation and demodulation method and obtain correct demodulation information after demodulation.
Optionally, removing the influence of constellation modulation on the load part data after carrier recovery, and outputting soft decision information in an FEC mode; and under the non-FEC mode, directly outputting a bit hard decision result. And performing corresponding de-interleaving operation according to the system configuration, completing corresponding decoding processing in an FEC mode, and outputting decoded bit data information.
Preferably, the FEC is convolutional coded, and correspondingly, the whole decoding process is performed by Viterbi maximum likelihood convolutional decoding. The real-time estimation and recovery of the final data are finished through convolutional decoding, the time overhead caused by the synchronization and demodulation processing delay of the whole receiver is effectively reduced, and the dependency on an upper layer networking mode is small.
According to the scheme, the analog signal to be demodulated is obtained, the physical frame corresponding to the analog signal is obtained according to the analog signal, then the complex signal in the physical frame is obtained, the second complex signal is determined through a parallel search method of rapid synchronous capture, the digital feedback loop carrier recovery is carried out on the first complex signal according to the second complex signal, and finally the demodulated data bit stream is obtained through convolution decoding, so that the sensitivity performance of data receiving is effectively improved, the time overhead caused by the synchronization and demodulation processing delay of the whole receiver is reduced to the maximum extent, the extra system overhead of transceiving is reduced, and the data throughput is effectively improved.
Referring to fig. 4, fig. 4 is a schematic diagram of a wireless communication apparatus according to an embodiment of the present invention. The wireless communication device 400 may be a transmitting device, a wireless sensor node, or other devices, but is not limited thereto, and may be other devices having a wireless communication function. The wireless communication apparatus 400 of the present embodiment includes units for performing the steps in the embodiment corresponding to fig. 1, please refer to fig. 1 and the related description in the embodiment corresponding to fig. 1, which are not repeated herein. The wireless communication apparatus 400 of the present embodiment includes a first complex signal acquisition unit 401, a second complex signal acquisition unit 402, a framing unit 403, and a transmitting unit 404.
The first complex signal obtaining unit 401 is configured to modulate a data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream;
the second complex signal obtaining unit 402 is configured to generate a pseudo-random sequence according to the data bit stream, and modulate the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence;
the framing unit 403 is configured to combine the first complex signal and the second complex signal into one physical frame;
the transmitting unit 404 is configured to process the physical frame and transmit the processed analog signal to a receiving end.
The first complex signal obtaining unit 401 is specifically configured to map the data bit stream to be modulated in a planet carrier to obtain a load of a physical frame;
the second complex signal obtaining unit 402 is specifically configured to generate a pseudo-random sequence according to the data bit stream, and perform constellation mapping on the pseudo-random sequence to obtain a preamble symbol of a physical frame;
the framing unit 403 is specifically configured to frame the payload of the physical frame and the preamble symbol to obtain a physical frame.
According to the scheme, the data bit stream to be modulated is modulated to obtain a first complex signal corresponding to the data bit stream, a pseudo-random sequence is generated according to the data bit stream, the pseudo-random sequence is modulated to obtain a second complex signal corresponding to the pseudo-random sequence, the first complex signal and the second complex signal are combined into a physical frame, the structure of the physical frame is simplified, the physical frame is processed to obtain an analog signal and the analog signal is transmitted to a receiving end, time delay of the data stream in the modulation process and time overhead caused by the time delay are reduced, and effective data throughput of a system are guaranteed.
Referring to fig. 5, fig. 5 is a schematic diagram of a wireless communication apparatus according to an embodiment of the present invention. The wireless communication device 500 may be a transmitting device, a wireless sensor node, or other devices, but is not limited thereto, and may be other devices having a wireless communication function. The wireless communication apparatus 500 of the present embodiment includes units for performing the steps in the embodiment corresponding to fig. 2, please refer to fig. 2 and the related description in the embodiment corresponding to fig. 2, which are not repeated herein. The wireless communication apparatus 500 of the present embodiment includes a first complex signal acquisition unit 501, a second complex signal acquisition unit 502, a framing unit 503, and a transmitting unit 504.
The first complex signal obtaining unit 501 is configured to map the data bit stream to be modulated in a planet carrier, so as to obtain a load of a physical frame.
The second complex signal obtaining unit 502 is configured to generate a pseudo-random sequence according to the data bit stream, and perform constellation mapping on the pseudo-random sequence to obtain a preamble symbol of a physical frame.
The framing unit 503 is configured to frame the payload of the physical frame and the preamble symbol to obtain a physical frame.
The transmitting unit 504 is configured to frame the payload of the physical frame with the preamble symbol to obtain a physical frame
Wherein, the transmitting unit 504 may further include:
the transmit shaping unit 5041 is configured to perform transmit shaping and upsampling processing on the physical frame to obtain a digital signal corresponding to the physical frame.
The digital-to-analog conversion unit 5042 is configured to perform digital-to-analog conversion on the digital signal to obtain an analog signal corresponding to the digital signal, and send the analog signal to a receiving end.
According to the scheme, the data bit stream to be modulated and the pseudorandom sequences of the data bit stream are respectively modulated, and the first complex signal and the second complex signal which respectively correspond to the data bit stream are modulated and are convolutionally encoded through PSK digital modulation, so that the modulation efficiency is improved. And framing the first complex signal and the second complex signal to obtain a physical frame, thereby simplifying the structure of the physical frame. And finally, the physical frame is processed to obtain an analog signal and the analog signal is transmitted to a receiving end, so that the time delay of the data stream in the modulation process and the time overhead caused by the time delay are effectively reduced, and the effective data throughput of the system is ensured.
Referring to fig. 6, fig. 6 is a schematic diagram of a wireless communication apparatus according to an embodiment of the present invention. The wireless communication device 600 may be a receiver, a wireless sensor node, or other devices, but is not limited thereto, and may also be other devices having a wireless communication function. The wireless communication apparatus 600 of the present embodiment includes units for performing the steps in the embodiment corresponding to fig. 3, please refer to fig. 3 and the related description in the embodiment corresponding to fig. 3 for details, which are not repeated herein. Wireless communication apparatus 600 of the present embodiment includes physical frame acquisition section 601, complex signal detection section 602, carrier recovery section 603, and demodulation section 604.
A physical frame acquiring unit 601, configured to acquire an analog signal to be demodulated, and obtain a physical frame corresponding to the analog signal according to the analog signal;
a complex signal detection unit 602, configured to obtain a complex signal in the physical frame, and obtain, from the complex signal in the physical frame, a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudorandom sequence;
a carrier recovery unit 603, configured to perform carrier recovery on the first complex signal according to the second complex signal, so as to obtain a carrier-recovered first complex signal;
a demodulating unit 604, configured to demodulate the carrier-recovered first complex signal to obtain a demodulated data bit stream.
According to the scheme, the analog signal to be demodulated is obtained, the physical frame corresponding to the analog signal is obtained according to the analog signal, then the complex signal in the physical frame is obtained, the second complex signal is determined through a parallel search method of rapid synchronous capture, the digital feedback loop carrier recovery is carried out on the first complex signal according to the second complex signal, and finally the demodulated data bit stream is obtained through convolution decoding, so that the sensitivity performance of data receiving is effectively improved, the time overhead caused by the synchronization and demodulation processing delay of the whole receiver is reduced to the maximum extent, and the receiving and transmitting additional system overhead and the effective data throughput are reduced.
Referring to fig. 7, fig. 7 is a schematic diagram of a wireless communication apparatus according to an embodiment of the present invention. The wireless communication apparatus 700 in the present embodiment as shown in fig. 7 may include: one or more processors 701, one or more input devices 702, one or more output devices 703, and one or more memories 704. The processor 701, the input device 702, the output device 703 and the memory 704 are in communication with each other via a communication bus 705.
The memory 704 is used to store program instructions.
The processor 701 is configured to perform the following operations in accordance with program instructions stored in the memory 704:
the memory 704 is configured to modulate a data bit stream to be modulated, so as to obtain a first complex signal corresponding to the data bit stream;
the memory 704 is further configured to generate a pseudo-random sequence according to the data bit stream, and modulate the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence;
the memory 704 is further configured to combine the first complex signal and the second complex signal into one physical frame;
the memory 704 is further configured to process the physical frame and transmit the processed analog signal to a receiving end.
The memory 704 is specifically configured to map the data bit stream to be modulated in a planet carrier to obtain a load of a physical frame;
the memory 704 is specifically configured to generate a pseudo-random sequence according to the data bit stream, and perform constellation mapping on the pseudo-random sequence to obtain a preamble symbol of a physical frame;
the memory 704 is specifically configured to frame the payload of the physical frame with the preamble symbol to obtain a physical frame.
According to the scheme, the data bit stream to be modulated is modulated to obtain a first complex signal corresponding to the data bit stream, a pseudo-random sequence is generated according to the data bit stream, the pseudo-random sequence is modulated to obtain a second complex signal corresponding to the pseudo-random sequence, the first complex signal and the second complex signal are combined into a physical frame, the structure of the physical frame is simplified, the physical frame is processed to obtain an analog signal and the analog signal is transmitted to a receiving end, time delay of the data stream in the modulation process and time overhead caused by the time delay are reduced, and effective data throughput of a system are guaranteed.
It should be understood that in the present embodiment, the Processor 701 may be a Central Processing Unit (CPU), and the Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 702 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 703 may include a display (LCD, etc.), a speaker, etc.
The memory 704 may include both read-only memory and random-access memory, and provides instructions and data to the processor 701. A portion of the memory 704 may also include non-volatile random access memory. For example, the memory 704 may also store device type information.
In a specific implementation, the processor 701, the input device 702, and the output device 703 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the method for processing information provided in this embodiment of the present invention, and may also execute the implementation manners of the terminal described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the invention, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements:
modulating a data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream;
generating a pseudo-random sequence according to the data bit stream, and modulating the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence;
combining the first complex signal and the second complex signal into one physical frame;
and processing the physical frame, and transmitting the analog signal obtained after processing to a receiving end.
Further, the computer program when executed by the processor further implements:
mapping the data bit stream to be modulated in a planet seat to obtain the load of a physical frame;
generating a pseudo-random sequence according to the data bit stream, and carrying out constellation mapping on the pseudo-random sequence to obtain a preamble symbol of a physical frame;
and framing the load of the physical frame and the preamble symbol to obtain a physical frame.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Referring to fig. 8, fig. 8 is a schematic diagram of a wireless communication device according to another embodiment of the present invention. The wireless communication apparatus 800 in the present embodiment as shown in fig. 8 may include: one or more processors 801; one or more input devices 802, one or more output devices 803, and memory 840. The processor 801, the input device 802, the output device 803, and the memory 840 described above are connected by a bus 850.
The memory 840 is used to store program instructions.
The processor 801 is configured to perform the following operations according to program instructions stored by the memory 840:
the processor 801 is configured to acquire an analog signal to be demodulated, and obtain a physical frame corresponding to the analog signal according to the analog signal;
the processor 801 is further configured to obtain a complex signal in the physical frame, and obtain a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudorandom sequence from the complex signal in the physical frame;
the processor 801 is further configured to perform carrier recovery on the first complex signal according to the second complex signal to obtain a carrier-recovered first complex signal;
the processor 801 is further configured to demodulate the carrier-recovered first complex signal to obtain a demodulated data bit stream.
The processor 801 is specifically configured to perform two-dimensional parallel search on a time domain and a frequency domain on a complex signal according to a pre-stored second complex signal, and capture the second complex signal in the complex signal;
the processor 801 is specifically configured to calculate a correlation between the pre-stored second complex signal and the captured second complex signal;
the processor 801 is specifically configured to, if the correlation degree is greater than a preset correlation degree threshold, determine that the second complex signal is a preamble symbol of the physical frame, and determine that the remaining complex signals in the physical frame are a load of the physical frame.
The processor 801 is specifically configured to calculate a carrier frequency offset and a phase offset of the physical frame according to the second complex signal, and obtain phase synchronization information according to the phase offset;
the processor 801 is specifically configured to perform carrier recovery on the first complex signal according to the carrier frequency offset and the phase synchronization information, so as to obtain a first complex signal after carrier recovery.
The processor 801 is specifically configured to perform constellation demapping on the first complex signal after carrier recovery to obtain a demodulated data bit stream.
According to the scheme, the analog signal to be demodulated is obtained, the physical frame corresponding to the analog signal is obtained according to the analog signal, then the complex signal in the physical frame is obtained, the second complex signal is determined through a parallel search method of rapid synchronous capture, the digital feedback loop carrier recovery is carried out on the first complex signal according to the second complex signal, and finally the demodulated data bit stream is obtained through convolution decoding, so that the sensitivity performance of data receiving is effectively improved, the time overhead caused by the synchronization and demodulation processing delay of the whole receiver is reduced to the maximum extent, and the receiving and transmitting additional system overhead and the effective data throughput are reduced.
In a further embodiment of the invention, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements:
acquiring an analog signal to be demodulated, and acquiring a physical frame corresponding to the analog signal according to the analog signal;
acquiring a complex signal in the physical frame, and acquiring a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudo-random sequence from the complex signal of the physical frame;
carrying out carrier recovery on the first complex signal according to the second complex signal to obtain a first complex signal after carrier recovery;
and demodulating the first complex signal after carrier recovery to obtain a demodulated data bit stream.
Further, the computer program when executed by the processor further implements:
according to a pre-stored second complex signal, performing two-dimensional parallel search of a time domain and a frequency domain on the complex signal, and capturing the second complex signal in the complex signal;
calculating a correlation between the pre-stored second complex signal and the captured second complex signal;
and if the correlation degree is greater than a preset correlation degree threshold value, the second complex signal is a preamble symbol of the physical frame, and the rest complex signals in the physical frame are the load of the physical frame.
Further, the computer program when executed by the processor further implements:
calculating the carrier frequency offset and the phase deviation of the physical frame according to the second complex signal, and obtaining phase synchronization information according to the phase deviation;
and carrying out carrier recovery on the first complex signal according to the carrier frequency offset and the phase synchronization information to obtain a first complex signal after carrier recovery.
Further, the computer program when executed by the processor further implements:
and performing constellation de-mapping on the first complex signal after carrier recovery to obtain a demodulated data bit stream.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program instructions.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (12)
1. A method of wireless communication, comprising:
modulating a data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream; the method comprises the steps that a data bit stream to be modulated is a data bit stream subjected to error correction processing in advance according to a forward error correction code, wherein the forward error correction code is a convolutional code;
generating a pseudo-random sequence according to the data bit stream, and modulating the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence;
combining the first complex signal and the second complex signal into one physical frame;
processing the physical frame, and transmitting an analog signal obtained after processing to a receiving end; the receiving end obtains a physical frame corresponding to the analog signal according to the analog signal, and performs two-dimensional parallel search of a time domain and a frequency domain on the complex signal of the physical frame according to a pre-stored second complex signal to capture the second complex signal in the complex signal of the physical frame; the receiving end calculates the correlation degree between the pre-stored second complex signal and the captured second complex signal: if the correlation degree is greater than a preset correlation degree threshold value, the captured second complex signal is a preamble symbol of the physical frame, and the rest complex signals in the physical frame are loads of the physical frame; and the receiving end carries out carrier recovery on the first complex signal according to the second complex signal to obtain a first complex signal after carrier recovery.
2. The wireless communication method of claim 1, wherein the modulating the data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream comprises:
mapping the data bit stream to be modulated in a planet seat to obtain the load of a physical frame;
generating a pseudo-random sequence according to the data bit stream, and modulating the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence, including:
generating a pseudo-random sequence according to the data bit stream, and carrying out constellation mapping on the pseudo-random sequence to obtain a preamble symbol of a physical frame;
the combining the first complex signal and the second complex signal into one physical frame includes:
and framing the load of the physical frame and the preamble symbol to obtain a physical frame.
3. A method of wireless communication, comprising:
acquiring an analog signal to be demodulated, and acquiring a physical frame corresponding to the analog signal according to the analog signal;
acquiring a complex signal in the physical frame, and acquiring a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudo-random sequence from the complex signal of the physical frame; the second complex signal is acquired by performing two-dimensional parallel search of a time domain and a frequency domain on the complex signal of the physical frame according to a pre-stored second complex signal;
carrying out carrier recovery on the first complex signal according to the second complex signal to obtain a first complex signal after carrier recovery;
demodulating the first complex signal after carrier recovery to obtain a demodulated data bit stream; the demodulated data bit stream is bit data information which is decoded according to a forward error correction code, and the forward error correction code is a convolutional code;
the acquiring a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudo-random sequence from the complex signal of the physical frame includes:
according to a pre-stored second complex signal, performing two-dimensional parallel search of a time domain and a frequency domain on the complex signal, and capturing the second complex signal in the complex signal;
calculating a correlation between the pre-stored second complex signal and the captured second complex signal;
and if the correlation degree is greater than a preset correlation degree threshold value, the second complex signal is a preamble symbol of the physical frame, and the rest complex signals in the physical frame are the load of the physical frame.
4. The wireless communication method of claim 3, wherein the obtaining the first complex signal and the second complex signal from the complex signal of the physical frame comprises:
according to a pre-stored second complex signal, performing two-dimensional parallel search of a time domain and a frequency domain on the complex signal, and capturing the second complex signal in the complex signal;
calculating a correlation between the pre-stored second complex signal and the captured second complex signal;
and if the correlation degree is greater than a preset correlation degree threshold value, the second complex signal is a preamble symbol of the physical frame, and the rest complex signals in the physical frame are the load of the physical frame.
5. The wireless communication method of claim 3, wherein the carrier recovering the first complex signal according to the second complex signal to obtain a carrier recovered first complex signal comprises:
calculating the carrier frequency offset and the phase deviation of the physical frame according to the second complex signal, and obtaining phase synchronization information according to the phase deviation;
and carrying out carrier recovery on the first complex signal according to the carrier frequency offset and the phase synchronization information to obtain a first complex signal after carrier recovery.
6. The wireless communication method of claim 3, wherein the demodulating the carrier-recovered first complex signal to obtain a demodulated data bit stream comprises:
and performing constellation de-mapping on the first complex signal after carrier recovery to obtain a demodulated data bit stream.
7. A wireless communications apparatus, comprising:
the device comprises a first complex signal acquisition unit, a second complex signal acquisition unit and a first complex signal generation unit, wherein the first complex signal acquisition unit is used for modulating a data bit stream to be modulated to obtain a first complex signal corresponding to the data bit stream; the method comprises the steps that a data bit stream to be modulated is a data bit stream subjected to error correction processing in advance according to a forward error correction code, wherein the forward error correction code is a convolutional code;
a second complex signal obtaining unit, configured to generate a pseudo-random sequence according to the data bit stream, and modulate the pseudo-random sequence to obtain a second complex signal corresponding to the pseudo-random sequence;
a framing unit for combining the first complex signal and the second complex signal into one physical frame;
the transmitting unit is used for processing the physical frame and transmitting the analog signal obtained after processing to a receiving end;
the receiving end obtains a physical frame corresponding to the analog signal according to the analog signal, and performs two-dimensional parallel search of a time domain and a frequency domain on the complex signal of the physical frame according to a pre-stored second complex signal to capture the second complex signal in the complex signal of the physical frame; the receiving end calculates the correlation degree between the pre-stored second complex signal and the captured second complex signal: if the correlation degree is greater than a preset correlation degree threshold value, the second complex signal is a preamble symbol of the physical frame, and the rest complex signals in the physical frame are loads of the physical frame; and the receiving end carries out carrier recovery on the first complex signal according to the second complex signal to obtain a first complex signal after carrier recovery.
8. A wireless communications apparatus, comprising:
the physical frame acquisition unit is used for acquiring an analog signal to be demodulated and acquiring a physical frame corresponding to the analog signal according to the analog signal;
a complex signal detection unit, configured to acquire a complex signal in the physical frame, and acquire a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudorandom sequence from the complex signal of the physical frame; the second complex signal is acquired by performing two-dimensional parallel search of a time domain and a frequency domain on the complex signal of the physical frame according to a pre-stored second complex signal;
a carrier recovery unit, configured to perform carrier recovery on the first complex signal according to the second complex signal to obtain a carrier-recovered first complex signal;
a demodulation unit, configured to demodulate the first complex signal after carrier recovery to obtain a demodulated data bit stream; the demodulated data bit stream is bit data information which is decoded according to a forward error correction code, and the forward error correction code is a convolutional code;
the complex signal detection unit is configured to acquire a first complex signal corresponding to a data bit stream and a second complex signal corresponding to a pseudorandom sequence from a complex signal of the physical frame, and includes:
according to a pre-stored second complex signal, performing two-dimensional parallel search of a time domain and a frequency domain on the complex signal, and capturing the second complex signal in the complex signal;
calculating a correlation between the pre-stored second complex signal and the captured second complex signal;
and if the correlation degree is greater than a preset correlation degree threshold value, the second complex signal is a preamble symbol of the physical frame, and the rest complex signals in the physical frame are the load of the physical frame.
9. A wireless communication apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 2 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 2.
11. A wireless communication apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 3 to 6 when executing the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 3 to 6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2017111460657 | 2017-11-17 | ||
CN201711146065 | 2017-11-17 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108023850A CN108023850A (en) | 2018-05-11 |
CN108023850B true CN108023850B (en) | 2021-01-08 |
Family
ID=62077389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711207763.3A Active CN108023850B (en) | 2017-11-17 | 2017-11-27 | Wireless communication method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108023850B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108760682B (en) * | 2018-05-24 | 2020-04-14 | 中国地质大学(北京) | Natural gas replacement parameter acquisition method, system and terminal equipment |
CN113645035B (en) * | 2021-07-21 | 2022-11-18 | 中国电子科技集团公司电子科学研究院 | Physical layer secure transmission method, system, device and computer readable storage medium |
CN115215218B (en) * | 2022-06-13 | 2025-04-18 | 武桥工业装备有限责任公司 | Wireless control system and method for extension, swing and hanging of railway crane counterweight |
CN115865127B (en) * | 2022-11-30 | 2024-07-19 | 南京长峰航天电子科技有限公司 | Parameter estimation and demodulation method for direct-spread signal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4943980A (en) * | 1989-05-02 | 1990-07-24 | Intelligent Modem Corporation | Multi-carrier high speed modem |
CN101106435B (en) * | 2006-07-10 | 2011-08-03 | 华为技术有限公司 | A method for multi-pair common transmission and a sending end and a receiving end |
CN101179546A (en) * | 2006-11-07 | 2008-05-14 | 中兴通讯股份有限公司 | Transmitter of transmitting code field orthogonal pilot signal and transmitting method thereof |
TWI436622B (en) * | 2009-12-28 | 2014-05-01 | Mediatek Singapore Pte Ltd | Transmitter and method for transmitter, method in which subcarrier pairs are paired, a computer-readable medium storing instructions |
CN102801683B (en) * | 2012-08-17 | 2015-07-15 | 南京航空航天大学 | Frame synchronism and frequency synchronism combined method for OFDM (Orthogonal Frequency Division Multiplexing) system |
-
2017
- 2017-11-27 CN CN201711207763.3A patent/CN108023850B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108023850A (en) | 2018-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234376B (en) | Wireless data communication method and device | |
KR100805136B1 (en) | Iterative Channel and Interference Estimation and Decoding | |
CN108023850B (en) | Wireless communication method and device | |
CN101228688B (en) | Method and device of transmitting and receiving data in wireless communication system and relating devices | |
US8401118B2 (en) | Method and apparatus for constant envelope demodulation | |
Cai et al. | Model-based design for software defined radio on an FPGA | |
US20100310009A1 (en) | Method and apparatus for constant envelope modulation | |
CN102136880A (en) | Device and method for distortion-robust decoding | |
US7733945B2 (en) | Spread spectrum with doppler optimization | |
CN111786926B (en) | Receiving device, receiving method, sending device and sending method | |
CN113141195B (en) | Demodulation method for dispreading in direct sequence spread spectrum system and storage medium | |
JP2022534300A (en) | Coding and modulation method, demodulation and decoding method, apparatus and device | |
CN112105958B (en) | Bipolar CSK modulation composite text signal broadcasting method and device | |
CN103634072A (en) | Information transmission method and apparatus | |
CN115085745A (en) | VDE-TER-based digital diversity communication system | |
WO2018030205A1 (en) | Receiving device and receiving method | |
CN101682452A (en) | Transmitter, multicarrier transmitting method, and receiver | |
JP2000092139A (en) | Packet binary convolution code | |
Marriwala et al. | Design of a hybrid reconfigurable Software Defined Radio transceiver based on frequency shift keying using multiple encoding schemes | |
Skarzynski et al. | SDR implementation of the receiver of adaptive communication system | |
CN115913342A (en) | Data frame processing method, device, home terminal base station, system and storage medium | |
CN112823500B (en) | Method for date marking telemetry signal | |
KR101512441B1 (en) | Non coherent demodulation method for LR-WPAN and apparatus thereof | |
US20030108122A1 (en) | Digital modulation system, radio communication system, radio communication device | |
US11496348B2 (en) | Method and apparatus for receiving wireless signal in wireless communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518000 Shenzhen software industrial base 13, Haitian Road, Nanshan District, Shenzhen, Guangdong, 5B-401 Applicant after: Shenzhen Renergy Technology Co.,Ltd. Address before: 518000 room A201, Hua Ying building, 97 South business road, Nanshan District, Shenzhen, Guangdong. Applicant before: Shenzhen Renergy Technology Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |