OFDM transmission physical layer optimization method, device, equipment and medium
By optimizing the OFDM transmission physical layer and digital-to-analog converter clock, the problems of high resource occupation, poor real-time performance and unvariable bandwidth in OFDM transmission physical layer processing are solved, achieving bandwidth flexibility and real-time responsiveness, and reducing data caching. need.
Patent Information
- Application Number
- CN202211481862.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-11-24
AI Technical Summary
Existing OFDM transmission physical layer processing has the problems of large resource occupation, poor real-time performance and non-variable bandwidth, and cannot effectively solve the continuity problem of IQ signals.
Optimize the clock of OFDM's transmit physical layer and digital-to-analog converter through a phase-locked loop, so that the transmit physical layer clock and the digital-to-analog converter clock are set to a multiple relationship, and the processing flow is optimized to facilitate the preamble segment, signaling segment and data segment Independent processing enables IQ data to be generated while transmitting, reducing cache requirements.
It achieves bandwidth flexibility and real-time responsiveness, saves data storage resources, and ensures real-time data transmission.
Smart Images

Figure CN115834318B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wireless communication system design, and in particular to an OFDM transmission physical layer optimization method, device, equipment and medium. Background Art
[0002] OFDM is a multi-carrier digital communication modulation technology. The 802.11n protocol is based on the OFDM communication system standard. The physical layer transmits the digital baseband signal processing process as follows: Figure 1 As shown, it includes scrambling, BCC (binary convolution) coding, puncturing and interleaving, pilot scrambling, constellation mapping, IFFT (inverse Fourier transform) and CP (adding cyclic prefix) processing. Figure 1 It can be seen that the processing of the transmission physical layer is divided into two categories, namely bit stream (BIT) processing and IQ (in-phase and quadrature signal) signal processing; among them, the bit stream processing is pipeline processing, and the IQ signal processing part is serial processing.
[0003] However, due to the characteristics of BCC coding (data is related to each other and not independent), the bit stream cannot be split into a ping-pong structure according to the length of the OFDM symbol, resulting in the final output IQ signal not being continuous. The existing solution to make IQ continuous is to use a high-power clock to process the IQ signal, then cache it, wait until all the IQ signals are processed, and then continuously read the cache and output it through the DAC (digital-to-analog converter) to achieve the purpose of continuous output signal. The disadvantages of this solution are that, first, the IQ signal must be cached first, which increases resource consumption; second, frames of different lengths take different processing times, and real-time performance is difficult to guarantee. Finally, the high-power clock is fixed and cannot adapt to changes in the bandwidth of the signal. Summary of the invention
[0004] Based on this, it is necessary to provide an OFDM transmission physical layer optimization method, device, equipment and medium to solve the existing problems of high physical layer resource occupancy, poor real-time performance and immutable bandwidth in response to the above technical problems.
[0005] An OFDM transmission physical layer optimization method, the method comprising:
[0006] The OFDM transmission physical layer and the digital-to-analog converter clock are optimized according to the phase-locked loop, and the transmission physical layer clock and the digital-to-analog converter clock are set to a multiple relationship;
[0007] Acquire each frame of data in the bit stream according to the transmission physical layer after clock optimization, wherein each frame of data includes a preamble segment, a signaling segment, and a data segment, and each of the preamble segment, the signaling segment, and the data segment includes at least one OFDM symbol;
[0008] The IQ data corresponding to a single OFDM symbol in the preamble segment is read according to the clock-optimized digital-to-analog converter for transmission. During the time period when the IQ data corresponding to the single OFDM symbol in the preamble segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain a mapped single OFDM symbol.
[0009] According to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted. If it is completed, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0010] After the IQ data corresponding to all OFDM symbols in the current lead segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in turn to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0011] In one embodiment, the transmit physical layer is applied in the ZYNQ chip and the digital-to-analog converter is applied in the AD9361 chip.
[0012] In one embodiment, the clock of the transmitting physical layer and the digital-to-analog converter of OFDM is optimized according to the phase-locked loop, and the clock of the transmitting physical layer and the clock of the digital-to-analog converter are set to a multiple relationship, including:
[0013] The OFDM transmission physical layer and the digital-to-analog converter are optimized according to the phase-locked loop. When the clock of the digital-to-analog converter is 20 MHz, the clock of the transmission physical layer is set to 5 times that of the digital-to-analog converter, that is, 100 MHz.
[0014] In one of the embodiments, the IQ data corresponding to a single OFDM symbol in the preamble segment is a fixed value.
[0015] In one of the embodiments, after the IQ data corresponding to all OFDM symbols in the leading segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or the data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in sequence to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment and store it in the RAM, including:
[0016] After the IQ data corresponding to all OFDM symbols in the current pilot segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and within the time period when the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment is transmitted, another OFDM symbol in the signaling segment or data segment is sequentially punctured, pilot scrambled, and constellation mapped to obtain another OFDM symbol after mapping;
[0017] According to the transmission instruction, it is determined whether the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment has been transmitted. If completed, an inverse Fourier transform is performed on the other OFDM symbol after mapping to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment to be transmitted.
[0018] An OFDM transmission physical layer optimization device, the device comprising:
[0019] A clock optimization module, used to optimize the clock of the OFDM transmission physical layer and the digital-to-analog converter according to the phase-locked loop, and set the clock of the transmission physical layer and the clock of the digital-to-analog converter to a multiple relationship;
[0020] A data acquisition module, used to acquire each frame of data in the bit stream according to the transmission physical layer after clock optimization, wherein each frame of data includes a leading segment, a signaling segment and a data segment, and each of the leading segment, the signaling segment and the data segment includes at least one OFDM symbol;
[0021] The leading segment IQ data generation and transmission module is used to read the IQ data corresponding to a single OFDM symbol in the leading segment according to the clock-optimized digital-to-analog converter for transmission, and in the time period when the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is punctured, pilot scrambled and constellation mapped in sequence to obtain the mapped single OFDM symbol; according to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, and if so, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0022] The signaling segment or data segment IQ data generation and transmission module is used to transmit the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM according to the clock-optimized digital-to-analog converter after the IQ data corresponding to all OFDM symbols in the current lead segment are transmitted, and another OFDM symbol in the signaling segment or data segment is punctured, pilot scrambled, constellation mapped and inverse Fourier transformed in sequence to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0023] In one of the embodiments, the leading segment IQ data generating and transmitting module and the signaling segment or data segment IQ data generating and transmitting module form a pipeline structure for generating IQ data corresponding to another OFDM symbol after completing the transmission of IQ data corresponding to one OFDM symbol.
[0024] In one of the embodiments, in the preamble IQ data generation and transmission module, each time the module completes transmitting the IQ data corresponding to a single OFDM symbol in the preamble, it generates the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment; in the signaling segment or the data segment IQ data generation and transmission module, each time the module completes transmitting the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment, it generates the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment.
[0025] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0026] The OFDM transmission physical layer and the digital-to-analog converter clock are optimized according to the phase-locked loop, and the transmission physical layer clock and the digital-to-analog converter clock are set to a multiple relationship;
[0027] Acquire each frame of data in the bit stream according to the transmission physical layer after clock optimization, wherein each frame of data includes a preamble segment, a signaling segment, and a data segment, and each of the preamble segment, the signaling segment, and the data segment includes at least one OFDM symbol;
[0028] The IQ data corresponding to a single OFDM symbol in the preamble segment is read according to the clock-optimized digital-to-analog converter for transmission. During the time period when the IQ data corresponding to the single OFDM symbol in the preamble segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain a mapped single OFDM symbol.
[0029] According to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted. If it is completed, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0030] After the IQ data corresponding to all OFDM symbols in the current lead segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in turn to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0031] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0032] The OFDM transmission physical layer and the digital-to-analog converter clock are optimized according to the phase-locked loop, and the transmission physical layer clock and the digital-to-analog converter clock are set to a multiple relationship;
[0033] Acquire each frame of data in the bit stream according to the transmission physical layer after clock optimization, wherein each frame of data includes a preamble segment, a signaling segment, and a data segment, and each of the preamble segment, the signaling segment, and the data segment includes at least one OFDM symbol;
[0034] The IQ data corresponding to a single OFDM symbol in the preamble segment is read according to the clock-optimized digital-to-analog converter for transmission. During the time period when the IQ data corresponding to the single OFDM symbol in the preamble segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain a mapped single OFDM symbol.
[0035] According to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted. If it is completed, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0036] After the IQ data corresponding to all OFDM symbols in the current lead segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in turn to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0037] The above-mentioned OFDM transmission physical layer optimization method, device, equipment and medium first optimize the clock of the OFDM transmission physical layer and the digital-to-analog converter according to the phase-locked loop, so that the transmission physical layer clock is associated with the digital-to-analog converter clock. When the digital-to-analog converter clock changes, the transmission physical layer clock changes accordingly, thereby realizing the change of the transmission physical layer bandwidth. Then, each frame of data in the bit stream is obtained through the transmission physical layer after clock optimization, and the leading segment, signaling segment and data segment therein are processed respectively. Then, according to the processing result of each segment, the generation and transmission process of the transmission physical layer IQ data is optimized, and the IQ data is transmitted while generating new IQ data according to the transmission instruction. There is no need to cache all the IQ data generated by a frame of data and then transmit it, which saves data storage resources and ensures the real-time response of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a process of transmitting a digital baseband signal at the physical layer of the 802.11n protocol in one embodiment;
[0039] Figure 2 A schematic diagram of a flow chart of an OFDM transmission physical layer optimization method in one embodiment;
[0040] Figure 3 A structural diagram of each frame of data in an embodiment;
[0041] Figure 4 A schematic diagram of a flow chart of puncturing, interleaving and IQ data processing in one embodiment;
[0042] Figure 5 A schematic diagram of IQ data generation and output clock lines before IQ data corresponding to a signaling segment and a data segment are generated in one embodiment;
[0043] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] In one embodiment, Figure 2 As shown, a method for optimizing the physical layer of OFDM transmission is provided, comprising the following steps:
[0046] Step 202, optimize the clock of the OFDM transmission physical layer and the digital-to-analog converter according to the phase-locked loop, and set the clock of the transmission physical layer and the clock of the digital-to-analog converter to a multiple relationship. Among them, this application is implemented using a ZYNQ chip with an AD9361 chip, the transmission physical layer is applied in the ZYNQ chip, and the digital-to-analog converter is applied in the AD9361 chip.
[0047] It can be understood that the OFDM transmission physical layer and digital-to-analog converter clocks are optimized and set to a multiple relationship according to the phase-locked loop, so that the DAC clock changes and the physical layer clock changes accordingly, that is, the bandwidth can be changed.
[0048] Step 204, obtaining each frame of data in the bit stream according to the clock-optimized transmitting physical layer, wherein each frame of data includes a preamble segment, a signaling segment and a data segment, and each of the preamble segment, the signaling segment and the data segment includes at least one OFDM symbol.
[0049] Step 206, first read the IQ data corresponding to the single OFDM symbol in the leading segment according to the clock-optimized digital-to-analog converter for transmission, and in the time period when the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, perform puncturing, interleaving, pilot scrambling and constellation mapping on the single OFDM symbol in the signaling segment or the data segment in turn to obtain the mapped single OFDM symbol; then determine whether the IQ data corresponding to the single OFDM symbol in the leading segment has been transmitted according to the transmission instruction, and if so, perform inverse Fourier transform on the mapped single OFDM symbol to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted.
[0050] Step 208, after the IQ data corresponding to all OFDM symbols in the leading segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or the data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in sequence to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0051] It can be understood that the IQ data transmission order of the above-mentioned transmission physical layer is the preamble segment, the signaling segment and the data segment, and each time the IQ data corresponding to an OFDM symbol is transmitted, the IQ data corresponding to another OFDM symbol is generated.
[0052] In the above OFDM transmission physical layer optimization method, the transmission physical layer and the digital-to-analog converter of OFDM are firstly optimized according to the phase-locked loop, so that the transmission physical layer clock is associated with the digital-to-analog converter clock. When the digital-to-analog converter clock changes, the transmission physical layer clock changes accordingly, thereby realizing the change of the transmission physical layer bandwidth. Then, each frame of data in the bit stream is obtained through the transmission physical layer after clock optimization, and the leading segment, signaling segment and data segment are processed respectively. Then, according to the processing result of each segment, the generation and transmission process of the transmission physical layer IQ data is optimized. According to the transmission instruction, IQ data is transmitted while generating new IQ data. There is no need to cache all IQ data generated by a frame of data and then transmit it, which saves data storage resources and ensures the real-time response of data transmission.
[0053] In one of the embodiments, the clocks of the transmitting physical layer and the digital-to-analog converter of OFDM are optimized according to a phase-locked loop, and the clock of the transmitting physical layer and the clock of the digital-to-analog converter are set to be a multiple relationship.
[0054] Specifically, the DAC clock in the AD9361 chip is first set to 20MHz. Since one OFDM symbol in the transmitting physical layer will generate 80 pairs of IQ data after adding the cyclic prefix, and when the MCS (Modulation and Coding Scheme) index corresponding to the radio frequency rate of the transmitting physical layer is 7, puncturing and interleaving one OFDM symbol requires 312 clocks, pilot scrambling requires 1 clock, and IFFT requires 64 clocks, a total of 377 clocks. Therefore, under the above conditions, according to the phase-locked loop, the transmitting physical layer clock is set to 5 times the DAC clock, which is 100MHz. Then, before the DAC transmits one OFDM symbol, 400 clocks can be processed, which can fully meet the 377 clocks required for circulating one OFDM symbol, and there is still a margin of 23 clocks.
[0055] In one embodiment, the IQ data corresponding to a single OFDM symbol in the leading segment is a fixed value. Specifically, the structure of each frame of data is as follows: Figure 3 As shown in FIG. 1 , it includes a preamble (PLCP Preamble), a signaling segment (SIGNAL) and a data segment (DATA). The preamble contains 12 OFDM symbols, the signaling segment contains one OFDM symbol, and the number of OFDM symbols contained in the data segment is variable. Among them, the OFDM symbol in the preamble is a fixed value and is stored in RAM in advance. The signaling segment is obtained by converting the rate, reservation, length, parity check and tail bits in the bit stream through binary phase shift keying (BPSK), and the data segment is obtained by encoding the PSDU (physical layer service data unit), tail bits and padding bits in the bit stream.
[0056] In one embodiment, the flowchart of puncturing interleaving and IQ data processing is as follows: Figure 4 As shown in the figure. Since the transmission order of the physical layer is the preamble segment, the signaling segment and the data segment, Figure 4 It can be seen that:
[0057] First, the IQ data corresponding to a single OFDM symbol in the preamble is read according to the clock-optimized digital-to-analog converter for transmission. During the time period when the IQ data corresponding to the single OFDM symbol in the preamble is transmitted, the single OFDM symbol in the signaling segment or the data segment is punctured, pilot-scrambled, and constellation-mapped in sequence to obtain a mapped single OFDM symbol.
[0058] Then, according to the transmission instruction, determine whether the IQ data corresponding to the single OFDM symbol in the leading segment has been transmitted. If it has been completed, perform inverse Fourier transform on the mapped single OFDM symbol to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0059] Then, after the IQ data corresponding to all OFDM symbols in the leading segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and during the time period when the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment is transmitted, another OFDM symbol in the signaling segment or data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain another OFDM symbol after mapping;
[0060] Then, according to the transmission instruction, determine whether the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment has been transmitted. If completed, perform an inverse Fourier transform on the other OFDM symbol after mapping to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment to be transmitted.
[0061] in, Figure 4 The judgment mark of data processing completion is to judge whether the number of IQ data read is equal to the number of IQ data generated.
[0062] Furthermore, in a specific embodiment, during the time period when the IQ data corresponding to a single OFDM symbol in the preamble is transmitted, the clock line for generating and outputting the IQ signal is as follows: Figure 5 As shown, the clock line is divided by the time slice of the IQ data output corresponding to a single OFDM symbol. The output duration of the IQ data corresponding to a single OFDM symbol is 4us when the working clock of the digital-to-analog converter is 20MHz. The clock generated by the IQ data in the transmitting physical layer is 5 times the working clock of the digital-to-analog converter, that is, 100MHz. And when the MCS index corresponding to the RF rate of the transmitting physical layer is 0, the puncturing and interleaving time is 0.52us, and when the MCS index corresponding to the RF rate of the transmitting physical layer is 7, the puncturing and interleaving time is 3.12us. The pilot scrambling is 1 clock, that is, 0.01us, and the IFFT processing duration is 0.64us.
[0063] Therefore, when the MCS index corresponding to the radio frequency rate of the transmitting physical layer is 0, the waiting time for data processing is 4-0.52-0.1-0.64=2.83us; when the MCS index corresponding to the radio frequency rate of the transmitting physical layer is 7, the waiting time for data processing is 4-3.12-0.1-0.64=0.23us. Figure 5 It can be seen that the first IQ data "Symbol-a1" corresponding to a single OFDM symbol in the signaling segment or data segment is generated when the IQ data corresponding to the fourth OFDM symbol in the preamble segment starts to be transmitted. This is mainly caused by the delay of the inverse Fourier transform. The delay of the inverse Fourier transform is 167 clocks, that is, the number of clocks to complete the third inverse Fourier transform is 64×3=192, and the third inverse Fourier transform will generate 192-167=25 pairs of IQ data (converted to a duration of 0.25us); secondly, the inverse Fourier transform is not performed during the transmission of the IQ data corresponding to the first OFDM symbol in the preamble segment (it is waiting for the current symbol to be transmitted), and the inverse Fourier transform starts from the second OFDM symbol in the preamble segment. The preamble segment has 12 OFDM symbols, so during the transmission of 12 OFDM symbols, 12-4=8 OFDM symbols in the signaling segment or data segment will be cached.
[0064] In addition, by Figure 5 It can be seen that the clock line starts at the fifth OFDM symbol in the leading segment. After the IQ data corresponding to one OFDM symbol is transmitted, the IQ data corresponding to one OFDM symbol is generated. There is no need to cache all the IQ data of a frame before transmitting. Therefore, the cache is greatly reduced. Only 8 OFDM symbols in the signaling segment or data segment need to be cached. And the transmission can be executed immediately without waiting for a frame to be processed. The improved process is a pipeline structure in which data is generated while being transmitted.
[0065] It should be understood that although Figure 1-2 and Figure 4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-2 and Figure 4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0066] In one embodiment, an OFDM transmission physical layer optimization device is provided, comprising: a clock optimization module, a data acquisition module, a leading segment IQ data generation and transmission module, and a signaling segment or data segment IQ data generation and transmission module, wherein:
[0067] A clock optimization module, used to optimize the clock of the OFDM transmission physical layer and the digital-to-analog converter according to the phase-locked loop, and set the clock of the transmission physical layer and the clock of the digital-to-analog converter to a multiple relationship;
[0068] A data acquisition module, used to acquire each frame of data in the bit stream according to the transmission physical layer after clock optimization, wherein each frame of data includes a leading segment, a signaling segment and a data segment, and each of the leading segment, the signaling segment and the data segment includes at least one OFDM symbol;
[0069] The leading segment IQ data generation and transmission module is used to read the IQ data corresponding to a single OFDM symbol in the leading segment according to the clock-optimized digital-to-analog converter for transmission, and in the time period when the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is punctured, pilot scrambled and constellation mapped in sequence to obtain the mapped single OFDM symbol; according to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, and if so, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0070] The signaling segment or data segment IQ data generation and transmission module is used to transmit the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM according to the clock-optimized digital-to-analog converter after the IQ data corresponding to all OFDM symbols in the current lead segment are transmitted, and another OFDM symbol in the signaling segment or data segment is punctured, pilot scrambled, constellation mapped and inverse Fourier transformed in sequence to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0071] Among them, the leading segment IQ data generation and transmission module and the signaling segment or data segment IQ data generation and transmission module have a pipeline structure that generates IQ data corresponding to another OFDM symbol after completing the transmission of IQ data corresponding to one OFDM symbol.
[0072] Moreover, in the preamble IQ data generation and transmission module, each time the module completes transmitting the IQ data corresponding to a single OFDM symbol in the preamble, it generates the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment; in the signaling segment or the data segment IQ data generation and transmission module, each time the module completes transmitting the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment, it generates the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment.
[0073] For the specific definition of an OFDM transmission physical layer optimization device, please refer to the definition of an OFDM transmission physical layer optimization method mentioned above, which will not be repeated here. Each module in the above-mentioned OFDM transmission physical layer optimization device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0074] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an OFDM transmission physical layer optimization method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0075] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0076] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0077] The OFDM transmission physical layer and the digital-to-analog converter clock are optimized according to the phase-locked loop, and the transmission physical layer clock and the digital-to-analog converter clock are set to a multiple relationship;
[0078] Acquire each frame of data in the bit stream according to the transmission physical layer after clock optimization, wherein each frame of data includes a preamble segment, a signaling segment, and a data segment, and each of the preamble segment, the signaling segment, and the data segment includes at least one OFDM symbol;
[0079] The IQ data corresponding to a single OFDM symbol in the preamble segment is read according to the clock-optimized digital-to-analog converter for transmission. During the time period when the IQ data corresponding to the single OFDM symbol in the preamble segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain a mapped single OFDM symbol.
[0080] According to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted. If it is completed, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0081] After the IQ data corresponding to all OFDM symbols in the current lead segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in turn to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0082] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0083] The OFDM transmission physical layer and the digital-to-analog converter clock are optimized according to the phase-locked loop, and the transmission physical layer clock and the digital-to-analog converter clock are set to a multiple relationship;
[0084] Acquire each frame of data in the bit stream according to the transmission physical layer after clock optimization, wherein each frame of data includes a preamble segment, a signaling segment, and a data segment, and each of the preamble segment, the signaling segment, and the data segment includes at least one OFDM symbol;
[0085] The IQ data corresponding to a single OFDM symbol in the preamble segment is read according to the clock-optimized digital-to-analog converter for transmission. During the time period when the IQ data corresponding to the single OFDM symbol in the preamble segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain a mapped single OFDM symbol.
[0086] According to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted. If it is completed, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted;
[0087] After the IQ data corresponding to all OFDM symbols in the current lead segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in turn to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
[0088] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0089] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0090] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for optimizing the physical layer of OFDM transmission, characterized in that: The method comprises: Optimizing the clock of the OFDM transmission physical layer and the digital-to-analog converter according to the phase-locked loop, and setting the clock of the transmission physical layer and the clock of the digital-to-analog converter to a multiple relationship; Acquire each frame of data in the bit stream according to the clock-optimized transmission physical layer, wherein each frame of data includes a leading segment, a signaling segment, and a data segment, and each of the leading segment, the signaling segment, and the data segment includes at least one OFDM symbol; The IQ data corresponding to the single OFDM symbol in the leading segment is read according to the clock-optimized digital-to-analog converter for transmission, and within the time period in which the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain a mapped single OFDM symbol; Determine whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted according to the transmission instruction, and if so, perform inverse Fourier transform on the mapped single OFDM symbol to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted; After the IQ data corresponding to all OFDM symbols in the leading segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or the data segment is punctured, pilot scrambled, constellation mapped and inverse Fourier transformed in sequence to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
2. The method according to claim 1, characterized in that The transmission physical layer is applied in the ZYNQ chip, and the digital-to-analog converter is applied in the AD9361 chip.
3. The method according to claim 2, characterized in that The method optimizes the clock of the OFDM transmission physical layer and the digital-to-analog converter according to the phase-locked loop, and sets the clock of the transmission physical layer and the clock of the digital-to-analog converter to a multiple relationship, including: The transmission physical layer and the digital-to-analog converter of OFDM are optimized for clock according to the phase-locked loop. When the clock of the digital-to-analog converter is 20 MHz, the clock of the transmission physical layer is set to 5 times of the digital-to-analog converter, that is, 100 MHz.
4. The method according to claim 1, characterized in that: The IQ data corresponding to a single OFDM symbol in the leading segment is a fixed value.
5. The method according to claim 1, characterized in that After the IQ data corresponding to all OFDM symbols in the leading segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and another OFDM symbol in the signaling segment or the data segment is punctured, pilot scrambled, constellation mapped, and inverse Fourier transformed in sequence to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment and store it in the RAM, including: After the IQ data corresponding to all OFDM symbols in the leading segment are transmitted, the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment stored in the RAM is read according to the clock-optimized digital-to-analog converter for transmission, and within the time period in which the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment is transmitted, another OFDM symbol in the signaling segment or the data segment is sequentially punctured, pilot-scrambled, and constellation-mapped to obtain another OFDM symbol after mapping; According to the transmission instruction, determine whether the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment has been transmitted. If completed, perform an inverse Fourier transform on the other OFDM symbol after mapping to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment to be transmitted.
6. An OFDM transmission physical layer optimization device, the device comprising: A clock optimization module, used to optimize the clock of the OFDM transmission physical layer and the digital-to-analog converter according to the phase-locked loop, and set the clock of the transmission physical layer and the clock of the digital-to-analog converter to a multiple relationship; A data acquisition module, used to acquire each frame of data in the bit stream according to the clock-optimized transmission physical layer, wherein each frame of data includes a leading segment, a signaling segment and a data segment, and each of the leading segment, the signaling segment and the data segment includes at least one OFDM symbol; A leading segment IQ data generation and transmission module is used to read the IQ data corresponding to a single OFDM symbol in the leading segment according to the clock-optimized digital-to-analog converter for transmission, and in the time period when the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, the single OFDM symbol in the signaling segment or the data segment is punctured, pilot scrambled and constellation mapped in sequence to obtain a mapped single OFDM symbol; according to the transmission instruction, it is determined whether the IQ data corresponding to the single OFDM symbol in the leading segment is transmitted, and if so, the mapped single OFDM symbol is inversely Fourier transformed to obtain the IQ data corresponding to the single OFDM symbol in the signaling segment or the data segment and store it in the RAM; otherwise, wait for the IQ data corresponding to the single OFDM symbol in the leading segment to be transmitted; The signaling segment or data segment IQ data generation and transmission module is used to read the IQ data corresponding to a single OFDM symbol in the signaling segment or data segment stored in the RAM according to the clock-optimized digital-to-analog converter for transmission after the IQ data corresponding to all OFDM symbols in the leading segment are transmitted, and perform puncturing, pilot scrambling, constellation mapping and inverse Fourier transformation on another OFDM symbol in the signaling segment or data segment in turn to obtain the IQ data corresponding to another OFDM symbol in the signaling segment or data segment and store it in the RAM until the IQ data corresponding to all OFDM symbols in a frame of data are transmitted.
7. The device according to claim 6, characterized in that The leading segment IQ data generation and transmission module and the signaling segment or data segment IQ data generation and transmission module form a pipeline structure that generates IQ data corresponding to another OFDM symbol after completing the transmission of IQ data corresponding to one OFDM symbol.
8. The device according to claim 7, characterized in that In the preamble IQ data generation and transmission module, each time the module completes transmitting the IQ data corresponding to a single OFDM symbol in the preamble, it generates the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment; in the signaling segment or the data segment IQ data generation and transmission module, each time the module completes transmitting the IQ data corresponding to a single OFDM symbol in the signaling segment or the data segment, it generates the IQ data corresponding to another OFDM symbol in the signaling segment or the data segment.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Broadband power line carrier communication physical layer signal processing method based on OFDM
CN106603457A
Efficient employment of digital upsampling using IFFT in OFDM systems for simpler analog filtering
US9042461B2
