A spread spectrum downlink bit-level processing device based on hardware accelerator
By designing a hardware accelerator on FPGA and combining parallel and serial processing solutions, the problem of heavy MAC layer processing burden and large resource consumption in satellite mobile communication systems is solved, and efficient spread spectrum downlink bit-level data processing is achieved to meet the needs of This eliminates the need for large-capacity real-time signal processing and reduces hardware resource consumption.
Patent Information
- Application Number
- CN202310117517.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-02-15
AI Technical Summary
In satellite mobile communication systems, the MAC layer has a heavy processing burden. Existing FPGA designs consume large resources in spread spectrum bit-level processing and have complex timing logic, making it difficult to meet the needs of large-capacity real-time signal and protocol processing.
Using FPGA-based hardware accelerator, through a data processing solution that combines parallel and serial, design the clock generation module, parameter analysis module, Turbo coding module, modulation module, spread spectrum data preprocessing module, ovsf code generation module, and power control module , scrambling module and shaping module, realize downlink spread spectrum signal processing of multiple beams, and use dual-port RAM for ping-pong storage and parallel-to-serial conversion to reduce hardware resource consumption.
It realizes real-time high-speed processing of satellite mobile communication systems, meets the needs of large-capacity data transmission, reduces signal processing delays, saves hardware resources, and improves the efficiency and timing correctness of the communication system.
Smart Images

Figure CN116192186B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of mobile communication technology, and specifically relates to a technology for realizing spread spectrum downlink physical layer bit-level data processing by using FPGA (field programmable gate array), which can be applied to large-capacity real-time signal and protocol processing of satellite mobile communication payloads performing spread spectrum processing. Background Art
[0002] With the evolution of satellite mobile communication systems, large-capacity data transmission has put forward higher requirements on the communication resources, computing resources and storage resources of satellite gateways. The MAC (media access control) layer in the satellite mobile communication system needs to complete tasks such as resource scheduling, multiplexing, demultiplexing, HARQ (hybrid automatic repeat request) and random access, which places a heavy processing burden on the MAC layer. Therefore, under the premise of ensuring the correct timing of data interaction between the base station and the user, the pressure on the upper layer can be relieved by improving the efficiency of physical layer channel data processing and reducing the physical layer signal processing time. FPGA, or field programmable gate array, is a semiconductor device that can be programmed mainly for application or functional requirements. It is now widely used in the field of heterogeneous acceleration and has shown better computing performance than general-purpose processors CPU (central processing unit). Using FPGA to implement the data processing process of the system physical layer downlink spread spectrum and use it as the core device for data processing can effectively improve the performance of the system in processing data. The advantage of FPGA over DSP (digital signal processing) is that it has good timing control capabilities. Therefore, using FPGA to implement downlink spread spectrum data processing is more applicable and efficient than DSP. The bit-level part of downlink spread spectrum involves a large amount of data operations, including parameter analysis of transmission blocks, CRC (cyclic redundancy check) check code addition, Turbo coding, modulation, spread spectrum, scrambling, and forming, and has very strict real-time requirements. On the other hand, considering the principle of optimal utilization of resources in FPGA design, the allocation of on-chip logic resources and storage resources, the serial processing architecture and ping-pong reading and writing of storage data under high-speed clock can greatly increase the speed of data stream processing, increase the amount of information processed at the same time, and reserve more time for the upper layer to schedule, so as to achieve the purpose of hardware acceleration.
[0003] At present, in the bit-level FPGA design of the spread spectrum transmission channel, the data transmission method of parallel processing of each channel will reduce the difficulty of module algorithm design, but will greatly increase the hardware resources. In addition, the design of the spread spectrum bit-level FPGA code needs to consider complex timing logic, and the problems of data disorder and loss bring difficulties to the design. Summary of the invention
[0004] In order to meet the large-capacity real-time signal and protocol processing requirements under the satellite mobile communication system, the present invention proposes a spread spectrum downlink bit-level data processing device based on hardware acceleration. Through a data processing scheme combining parallel and serial, and a rational design of RAM (random access memory), the efficiency of the mobile communication system is improved, hardware resources are saved, and the correctness of the timing of the mobile communication system is guaranteed.
[0005] The technical solution adopted by the present invention is:
[0006] A spread spectrum downlink bit-level processing device based on a hardware accelerator is implemented based on FPGA, including a clock generation module, a parameter analysis module, a synchronization signal generation module, a Turbo encoding module, a modulation module, a spread spectrum data preprocessing module, an OVSF code generation module, a code number multiplication module, a power control module, an scrambling module, and a shaping module; the device simultaneously processes downlink spread spectrum signals of N beams, and simultaneously sends out N spread spectrum signals with a chip rate of R at the RF antenna port, and each beam is connected to a maximum of K terminal users at the same time;
[0007] in:
[0008] The clock generation module is used to generate a high-speed clock signal CLK, CLK=R*K. The output clock signal is sent to other modules as a reference clock;
[0009] The parameter parsing module is used to receive the control parameters and data information of N beams transmitted from the CPU, and convert them into bit-form transmission blocks and store them in the RAM, waiting to be read;
[0010] The synchronization signal generation module is used to generate two synchronization signals, PSS and SSS, which are sent when the spread spectrum channel transmission is turned off, so as to be used for the timing acquisition and tracking operation of the terminal;
[0011] After receiving the clock signal sent by the clock generation module, the turbo encoding module sends a control signal to read the data information and control signal of each channel of the N beams from the RAM in sequence, add CRC and turbo encoding in a serial manner, and send the encoded data to the modulation module;
[0012] The modulation module modulates the coded information of N beams according to the modulation type. The modulated data is first stored in the FIFO. The data in the FIFO is stored in different data storage devices according to the beams. The read control information of the data storage device is generated by the top-level control module of each beam, and the read data is sent to the spread spectrum data preprocessing module of each beam respectively.
[0013] The spread spectrum data preprocessing module performs spread spectrum preprocessing on the input data;
[0014] The OVSF code generation module generates OVSF codes for each channel. The OVSF code and the spread spectrum pre-processing data output by the spread spectrum data pre-processing module are simultaneously sent to the code number multiplication module, and the multiplication result is sent to the power control module;
[0015] The power control module performs gain control of each channel and performs channel superposition according to the multiplication result, and then sends the signal to the scrambling module;
[0016] The scrambling module scrambles the signal to generate scrambled data and control information;
[0017] The beam-scrambled data is added to the synchronization signal, and the addition result and control information are sent to the shaping module for shaping operation to complete the downlink bit-level data processing.
[0018] Furthermore, the data storage of each beam includes two dual-port RAMs, and the dual-port RAM includes a group of read and write ports, and performs ping-pong storage access on the modulated data in frames.
[0019] Furthermore, in the spread spectrum data preprocessing module, the modulated data of all channels of each beam are stored in FIFO, and by controlling the FIFO read operation, a synchronization signal sending position is reserved, and the data are stored in two dual-port RAMs in sequence by frame with the clock signal CLK; when reading the data, the modulated data of K channels are read in sequence in the first K groups of CLK clock cycles of each fixed period T, and serial-to-parallel conversion, storage, and parallel-to-serial conversion are performed to obtain serially processed data at the rate R of each channel.
[0020] Furthermore, in the ovsf code generation module, the ovsf code generated according to the WCDMA standard is stored in two dual-port RAMs in frame ping-pong with the clock signal CLK, and the modulated data of K channels are read in sequence for serial processing under each K group of CLK clock cycles to obtain the serial ovsf code at the R rate of each channel.
[0021] Furthermore, in the code number multiplication module, the expanded data output by the spread spectrum data preprocessing module and the ovsf code generated by the ovsf code generation module are multiplied in sequence in each K groups of CLK clock cycles, and the output multiplication result is the serial spread spectrum result at the serial R rate of each channel; according to the count within the K groups of CLK clock cycles, the data numbered 1 to K in the cycle are respectively stored in K groups of CLK registers, and serial-to-parallel conversion is performed to obtain K channels of parallel spread spectrum data.
[0022] The advantages and positive effects of the present invention over the prior art are:
[0023] 1. The present invention combines a general processing platform with a hardware accelerator to enable the gateway to achieve real-time and high-speed processing of transmission signals, meet the large-capacity real-time signal and protocol processing requirements under the satellite mobile communication system, and meet the latency requirements of related low-orbit satellite Internet systems.
[0024] 2. The present invention realizes serial processing of multiple spread spectrum channels at chip rate under high-speed clock through parallel-to-serial conversion, serial-to-parallel conversion and other control methods on FPGA, which saves more resources in large-capacity communication compared with traditional processing methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The block diagram is a bit-level processing device for a downlink spread spectrum link.
[0026] Figure 2 This is the internal processing flow of the spread spectrum data preprocessing module.
[0027] Figure 3 Generates the internal processing flow of the ovsf module.
[0028] Figure 4 Multiply the OVSF code with the modulated data and perform data conversion. Implementation
[0029] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0030] The existing general-purpose processor platform implements the operation and processing of the entire link on the CPU, which takes a long time when facing complex calculations. Therefore, the downlink bit-level data processing can be implemented on FPGA, thereby reducing the signal processing delay, improving the processing capacity of large-capacity data of the virtualized gateway and the real-time performance of communication transmission.
[0031] A spread spectrum downlink bit-level processing device based on a hardware accelerator combines a general processing platform CPU and a hardware accelerator FPGA, implements MAC layer and above functions in the CPU, implements bit-level signal processing functions of the physical layer of a satellite mobile communication system on the FPGA, and transmits data through a high-speed switching interface.
[0032] In the device, the processing modules on the FPGA include a clock generation module, a parameter analysis module, a synchronization signal generation module, a Turbo encoding module, a modulation module, a spread spectrum data preprocessing module, an OVSF code generation module, a code number multiplication module, a power control module, an scrambling module, a forming module, etc.
[0033] The device can process the downlink spread spectrum signals of N beams at the same time, and finally send out N spread spectrum signals with a chip rate of R at the RF antenna port at the same time. Each beam can connect up to K terminal users at the same time. In the device, the clock generation module first generates a high-speed clock signal CLK, which satisfies CLK=R*K. The output clock signal is sent to each submodule in the device as its reference clock; the parameter parsing module is used to receive the control parameters and data information of the N beams transmitted by the CPU and convert them into a bit-form transmission block and store it in the RAM, waiting to be read. After receiving the clock signal sent by the clock generation module, the coding module sends a control signal, and the data information and control signals of each channel of the N beams are read out from the RAM in turn and sent to the coding module, and CRC addition and turbo coding are performed serially. The encoded data is sent to the modulation module, and the modulation module modulates according to the modulation type; the modulated data is first stored in the FIFO, and the output data is stored in different data storage devices according to the beam. The read control information is generated by the top-level control module of each beam, and the read data is sent to the spread spectrum data preprocessing module of each beam. At this time, the OVSF code generation module generates OVSF codes for each channel. The OVSF code and the spread spectrum and processing data output by the spread spectrum data preprocessing module are simultaneously sent to the multiplier, and the multiplication result is sent to the power control module, in which the gain control of each channel is performed, the channel is superimposed, and the scrambling module is sent to scrambling processing, and finally the scrambled data and control information are generated; finally, the scrambled data and control information of N beams are uniformly sent to the shaping module for shaping operation to complete the downlink bit-level data processing.
[0034] Here is a more specific example:
[0035] A spread spectrum downlink bit-level processing device based on a hardware accelerator is implemented by combining a general processing platform CPU and a hardware accelerator FPGA, and data is exchanged between them through a high-speed switching interface. Among them, the general processing platform CPU mainly completes the functions of communication transmission system selection, algorithm set and parameter set configuration, such as Figure 1 The hardware accelerator FPGA mainly completes the bit-level signal processing function of the physical layer of the satellite mobile communication system.
[0036] In the hardware processing architecture, such as Figure 1 As shown, the clock generation module generates a clock signal; then it passes through the parameter analysis module, the synchronization signal generation module, the Turbo encoding module, the modulation module, the spread spectrum data preprocessing module, the OVSF code generation module, the serial-to-parallel conversion module, the power control module, the scrambling module, the forming module and other signal processing modules to form a bit-level data processing device for the entire spread spectrum downlink.
[0037] The following describes the working process of the device in detail, taking the case where up to 8 beams can be processed simultaneously, the high-speed processing clock CLK is set to 122.88MHz, the chip rate is 5.12MHz, and each beam supports up to 24 terminal user connections as an example:
[0038] The clock generation module generates a 122.88MHz processing clock signal as the reference clock for the entire hardware processing platform.
[0039] The internal processing of the parameter parsing module is as follows: after the FPGA receives the packaged data transmitted from the high-level layer, it converts the packaged data into configuration parameters and information data to be transmitted in the form of bits according to the interface protocol. These information data to be transmitted are called transmission blocks. The transmission block performs parameter parsing under the clock signal of 122.88MHz, generates control signals and parameters and data required for downlink processing, and waits for encoding processing. The control signals generated by each processing flow refer to the start and end of the transmission data and the valid enable signal. Since the data will be delayed after being processed in each step, and the bit width and length of the valid data will also change, a control signal needs to be generated after each step processes the data and transmitted to the next module.
[0040] The synchronization signal generation module generates two synchronization signals, PSS and SSS, which are sent when the spread spectrum channel transmission is turned off and are used for operations such as timing capture and tracking of the terminal.
[0041] The Turbo coding module includes two parts: CRC16 (16-bit cyclic redundancy check code) addition and Turbo coding. The downlink spread spectrum channels of all beams are serially added with 16-bit CRC and Turbo coding. The encoded data and control signals are ready for modulation.
[0042] The modulation step is to perform different types of modulation for each channel modulation mode, and store the modulated data in ping-pong mode, waiting to be called during spread spectrum preprocessing.
[0043] Each beam has a spread spectrum module, and the spread spectrum modules of each beam are processed in parallel. Each spread spectrum module contains a spread spectrum preprocessing module, an ovsf code generation module, a code number multiplication module, a power control module, an scrambling module, etc. The spread spectrum data preprocessing module takes the modulated data out of the two storage RAMs by frame ping-pong. The ovsf code generation module is responsible for generating the ovsf code according to the WCDMA standard and storing it in two dual-port RAMs by frame ping-pong. The code number multiplication module multiplies the output of the spread spectrum data preprocessing module with the ovsf code to complete the spread spectrum processing of each channel. The power control module is responsible for adjusting the power of each channel data after spread spectrum according to the power parameters configured by the MAC and performing complex addition operations on the synchronization signal and all spread spectrum channels to send them together. The scrambling module is responsible for scrambling the data of each channel after adjusting the gain, and finally sending it to the forming module to complete the data processing of the entire downlink.
[0044] In this device, some improvements have been made in the functional implementation of modules such as the read and write operations of modulated data, the read and write operations after generating OVSF codes, and the spread spectrum processing of multiple channels on FPGA.
[0045] According to the WCDMA protocol, in the spread spectrum processing, if each channel is processed in parallel according to the conventional spread spectrum practice, this will result in the simultaneous processing of multiple channels, and multiple spread spectrum modules, OVSF code generation modules, code number multiplication modules and other processing modules need to be instantiated. If large-capacity communication is carried out, the hardware resource consumption is extremely large. Therefore, it is necessary to use the characteristics of high-speed clock processing in FPGA to perform multiple parallel-to-serial conversion and serial-to-parallel conversion processing on different channels at high-multiple clocks within the low-speed clock cycle, while enhancing the processing capability and reducing the hardware resource overhead.
[0046] Taking the processing clock as a high-frequency clock of 122.88MHz and the spread spectrum channel chip rate of 5.12MHz as an example, within a clock cycle of 5.12MHz, the data of up to 24 channels can be processed serially with the 122.88MHz clock. The data output by the transmission block after coding and modulation first passes through a FIFO to complete the reservation of the synchronization signal position. At the same time, in order to facilitate the reading of channel data with different spreading factors, the data will be repeatedly stored according to the spreading factor of each channel during storage. For example, if the spreading factor is 512, the modulated data is stored in a storage unit with 1 address; if the spreading factor is 256, the modulated data is repeated twice and stored in a storage unit with 2 addresses; if the spreading factor is 128, the modulated data is repeated four times and stored in a storage unit with 4 addresses; all modulated data is stored in two dual-port RAMs by frame ping-pong to complete data buffering.
[0047] When reading, Figure 2As shown, the following address increase rule is adopted: under the 122.88MHz clock, two clock counters cnt1 and cnt2 are generated. cnt1 is a clock counter with a range of 0 to 23; whenever cnt1 increases to 23, cnt2 increases, and when cnt2 counts to 127, the count returns to 0, so the clock frequency of cnt2 is 5.12MHz. When cnt2 is 0, the read address of the RAM starts to increase with a base address of 0 and an increment of 2400 under the 122.88MHz clock; when cnt2 is 0 again, the base address is increased by 1, and the read address of the RAM increases with a base address of 1 and an increment of 2400 under the 122.88MHz clock; and so on, when all the modulated data are read out, the counters cnt1 and cnt2 are cleared to 0. The read data is converted from serial to parallel, stored, and converted from parallel to serial, and finally the serial processing data of each channel under the 5.12MHz clock is obtained, and the spread spectrum data preprocessing module is output, waiting to be multiplied with the OVSF code.
[0048] Since parallel processing operations can be implemented in FPGA, the OVSF code generation module starts OVSF code generation and storage operations while performing encoding operations. According to the OVSF code generation principle, the number of generated code chips is related to the spreading factor. For example, when the spreading factor is 512, a 512-point OVSF code is generated; when the spreading factor is 256, a 256-point OVSF code is generated; when the spreading factor is 128, a 128-point OVSF code is generated. For ease of reading, when storing, the OVSF code of each channel is stored in 512 storage units, that is, the OVSF code sequence with a spreading factor of 128 is repeated 4 times and stored; the OVSF code sequence with a spreading factor of 256 is repeated 2 times and stored, and the OVSF code sequence with a spreading factor of 512 is repeated 4 times and stored.
[0049] When reading, Figure 3 As shown in the figure, the read address follows the following incrementing rule: Under the 122.88MHz clock, two clock counters cnt1 and cnt2 are generated. cnt1 is a clock counter from 0 to 23; whenever cnt1 increases to 23, cnt2 increases, and when cnt2 counts to 511, the count returns to 0, so the clock frequency of cnt2 is 5.12MHz. The RAM read address is calculated as cnt2*512+cnt1, and the OVSF code of each channel under the 5.12MHz clock processing is serially read under the control of this address, waiting to be multiplied with the spread spectrum pre-processing data result.
[0050] The serial spread spectrum preprocessing data result and the ovsf code are sent to the code number multiplication module for complex multiplication. When cnt1 is 0, the multiplication result is assigned to reg0, and when cnt1 is 1, it is assigned to reg1, and so on. reg0~reg23 are the data of each channel after spread spectrum. After shifting and power control, they are added to finally obtain the data after spread spectrum combination of all channels, such as Figure 4 , and finally perform scrambling and shaping operations to complete the entire downlink spread spectrum link processing flow.
Claims
1. A spread spectrum downlink bit-level processing device based on a hardware accelerator, characterized in that: Based on FPGA implementation, it includes clock generation module, parameter analysis module, synchronization signal generation module, Turbo encoding module, modulation module, spread spectrum data preprocessing module, ovsf code generation module, code number multiplication module, power control module, scrambling module, and shaping module; the device processes the downlink spread spectrum signals of N beams at the same time, and simultaneously sends out N spread spectrum signals with a chip rate of R at the RF antenna port, and each beam can connect to K terminal users at most at the same time; in: The clock generation module is used to generate a high-speed clock signal CLK, CLK=R*K. The output clock signal is sent to other modules as a reference clock; The parameter parsing module is used to receive the control parameters and data information of N beams transmitted from the CPU, and convert them into bit-form transmission blocks and store them in the RAM, waiting to be read; The synchronization signal generation module is used to generate two synchronization signals, PSS and SSS, which are sent when the spread spectrum channel transmission is turned off, so as to be used for the timing acquisition and tracking operation of the terminal; After receiving the clock signal sent by the clock generation module, the turbo encoding module sends a control signal to read the data information and control signal of each channel of the N beams from the RAM in sequence, add CRC and turbo encoding in a serial manner, and send the encoded data to the modulation module; The modulation module modulates the coded information of N beams according to the modulation type. The modulated data is first stored in the FIFO. The data in the FIFO is stored in different data storage devices according to the beams. The read control information of the data storage device is generated by the top-level control module of each beam, and the read data is sent to the spread spectrum data preprocessing module of each beam respectively. The spread spectrum data preprocessing module performs spread spectrum preprocessing on the input data; The OVSF code generation module generates OVSF codes for each channel. The OVSF code and the spread spectrum pre-processing data output by the spread spectrum data pre-processing module are simultaneously sent to the code number multiplication module, and the multiplication result is sent to the power control module; The power control module performs gain control of each channel and performs channel superposition according to the multiplication result, and then sends the signal to the scrambling module; The scrambling module scrambles the signal to generate scrambled data and control information; The beam-scrambled data is added to the synchronization signal, and the addition result and control information are sent to the shaping module for shaping operation to complete the downlink bit-level data processing.
2. The spread spectrum downlink bit-level processing device based on hardware accelerator according to claim 1, characterized in that: The data storage of each beam includes two dual-port RAMs, and the dual-port RAM includes a set of read and write ports, and performs ping-pong storage access to the modulated data in frames.
3. The spread spectrum downlink bit-level processing device based on hardware accelerator according to claim 1, characterized in that: In the spread spectrum data preprocessing module, the modulated data of all channels of each beam are stored in FIFO, and the synchronization signal sending position is reserved by controlling the FIFO read operation, and the data are stored in two dual-port RAMs in ping-pong mode frame by frame with the clock signal CLK; when reading the data, the modulated data of K channels are read in sequence in the first K groups of CLK clock cycles of each fixed period T, and serial-to-parallel conversion, storage, and parallel-to-serial conversion are performed to obtain serial processing data at the rate R of each channel.
4. The spread spectrum downlink bit-level processing device based on hardware accelerator according to claim 3, characterized in that: In the ovsf code generation module, the ovsf code generated according to the WCDMA standard is stored in two dual-port RAMs in frame ping-pong with the clock signal CLK, and the modulated data of K channels are read in sequence in each K group of CLK clock cycles for serial processing to obtain the serial ovsf code at the R rate of each channel.
5. The spread spectrum downlink bit-level processing device based on hardware accelerator according to claim 4, characterized in that: In the code number multiplication module, the expanded data output by the spread spectrum data preprocessing module and the ovsf code generated by the ovsf code generation module are multiplied in sequence in each K groups of CLK clock cycles, and the output multiplication result is the serial spread spectrum result at the serial R rate of each channel; according to the count within the K groups of CLK clock cycles, the data numbered 1 to K in the cycle are respectively stored in K groups of CLK registers, and serial-to-parallel conversion is performed to obtain K channels of parallel spread spectrum data.
Citation Information
Patent Citations
Onboard high-efficiency system for multi-channel spread spectrum scrambling and shaping filtering
CN106134519B
Downlink bit-level processing method based on FPGA hardware acceleration
CN111600681A
Channel processing device and method based on field programmable logic gate array
CN112929133A
Advanced uplink multiple access scheme for satellite control network
US20180167134A1
