CN112702292B - Baseband code element mapping method based on lookup table - Google Patents
Baseband code element mapping method based on lookup table Download PDFInfo
- Publication number
- CN112702292B CN112702292B CN202011474112.2A CN202011474112A CN112702292B CN 112702292 B CN112702292 B CN 112702292B CN 202011474112 A CN202011474112 A CN 202011474112A CN 112702292 B CN112702292 B CN 112702292B
- Authority
- CN
- China
- Prior art keywords
- data
- lookup table
- modulation
- mapping
- bit
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/0008—Modulated-carrier systems arrangements for allowing a transmitter or receiver to use more than one type of modulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9017—Indexing; Data structures therefor; Storage structures using directory or table look-up
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
The invention discloses a baseband code element mapping method based on a lookup table, which comprises the following steps: step 1: receiving a modulation format command sent by a user and calculating mapping data under the modulation format; and 2, step: converting the 01 sequence data into IQ mapping data through a RAM lookup table; and 3, step 3: the conversion of the 01 digital sequence baseband signal is realized by means of a lookup table. The invention realizes code element mapping by combining the lookup table and the processor, and has two advantages: one is that the circuit is relatively simple. And mapping of multiple modulation modes can be realized through a simple RAM lookup table. When the modulation mode is changed, corresponding modulation can be realized only by the content of the new RAM lookup table. And secondly, the upgrading is convenient, because the modulation mode is determined by the content of the RAM table, when a new modulation mode exists, only the content of the RAM needs to be changed.
Description
Technical Field
The invention relates to the field of digital communication, in particular to a baseband code element mapping method based on a lookup table.
Background
With the development of communication technology, the modulation mode of a communication system is also changed from traditional analog modulation to vector modulation with better performance, and the modulation mode is changed from simple analog modulation such as AM, FM, PM and the like to more complex digital modulation such as ASK, FSK, MSK, PSK, QAM and the like. When implementing the digital modulation, firstly, the 01 data sequence transmitted by the user needs to be converted into a baseband signal, and then the baseband signal is sent to a rear-end modulator for modulation, so as to control the amplitude, frequency or phase of a carrier wave to implement information transmission. And the process of converting the 01 data sequence into a baseband signal is called symbol mapping.
Symbol mapping is a method of converting the digital signal of 01 into a baseband signal according to different modulation schemes. Vector modulation has been widely used in modern communication systems due to its superior modulation performance, superior bandwidth utilization, excellent security, and simple signal digital processing. A common symbol mapping method is to use a dedicated hardware circuit to implement the conversion of 01 data sequence to baseband analog signal. For example, for FSK modulation, FSK modulation is achieved by controlling a high-speed switch to switch an oscillator. For QPSK modulation, analog modulation is achieved by a simple analog comparator.
Existing symbol mapping techniques implement the mapping of 01 digital sequences to analog signals based on dedicated hardware circuitry. This approach has two disadvantages: 1) The hardware circuit is complex and the universality can not be realized. Because each modulation corresponds to a hardware circuit, if there are many modulation types, the hardware circuit is very complex. The hardware-based mapping is therefore only suitable for the specific modulation format. It has no universality. 2) The modulation mode is relatively troublesome to upgrade. Because the hardware circuit is adopted to realize the code element mapping, the modulation mode is very fixed. If a new modulation scheme needs to be added, the hardware circuit needs to be changed. With the development of the technology, various modulation modes are emerging continuously, and in order to aim at a new modulation mode, a hardware circuit needs to be changed continuously.
Accordingly, the prior art is deficient and needs improvement.
Disclosure of Invention
The invention provides a baseband code element mapping method based on a lookup table, aiming at solving the problems of complex circuit, poor universality, difficult upgrading of modulation mode and the like of the original code element mapping hardware, comprising the following steps:
step 1: receiving a modulation format command sent by a user and calculating mapping data under the modulation format; the method specifically comprises the following steps: receiving a modulation type input by a user, and then calculating the bit B x C of code element mapping data corresponding to modulation according to the modulation type, wherein B is the bit width corresponding to the modulation type, and C is the bit width of IQ data;
and 2, step: writing the mapping data into a RAM lookup table through a bus, using a 01 sequence sent by a user as an address of the RAM lookup table after serial-parallel conversion, and converting the 01 sequence data into IQ mapping data through the RAM lookup table;
and 3, step 3: converting the serial 01 data sequence into parallel B bit data, and reading data in a lookup table by taking the B bit data as the address of the lookup table; the C bit data output by the lookup table is divided into IQ two-way data, wherein the high C/2 bit is used as Q-way data, and the low C/2 bit is used as Q-way data and then processed.
In the above, C in step 1 is the bit width of the IQ data, and is determined by the implementation precision.
In the above, C in step 1 is a bit width of the IQ data, where C =32 bits, I data is 16 bits, and Q data is 16 bits.
In the above, after the step 3, the method further includes: when the modulation type set by the user is changed, corresponding code element mapping data is recalculated and written into the mapping table.
The invention realizes the code element mapping by combining a lookup table and a processor. The main advantages are two: one is that the circuit is relatively simple. And mapping of multiple modulation modes can be realized through a simple RAM lookup table. When the modulation mode is changed, corresponding modulation can be realized only by the content of the new RAM lookup table. And secondly, the upgrading is convenient, because the modulation mode is determined by the content of the RAM table, when a new modulation mode exists, only the content of the RAM needs to be changed.
Drawings
FIG. 1 is a flow chart of the present invention.
Fig. 2 is a schematic block diagram of the present invention.
Detailed Description
In order to facilitate an understanding of the invention, the invention is described in more detail below with reference to the accompanying drawings and specific examples. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
An embodiment of the present invention provides a baseband symbol mapping method based on a lookup table, where a flowchart is shown in fig. 1, and a schematic implementation block diagram is shown in fig. 2, specifically:
step 1: receiving a modulation format command sent by a user and calculating mapping data under the modulation format; the method specifically comprises the following steps: receiving a modulation type input by a user, and then calculating the bit B x C of code element mapping data corresponding to modulation according to the modulation type, wherein B is the bit width corresponding to the modulation type, and C is the bit width of IQ data; c is the bit width of IQ data and is determined by the implementation precision; c is the bit width of IQ data, where C =32 bits, I data is 16 bits, Q data is 16 bits;
step 2: writing the mapping data into a RAM lookup table through a bus, using a 01 sequence sent by a user as an address of the RAM lookup table after serial-parallel conversion, and converting 01 sequence data into IQ mapping data through the RAM lookup table;
and step 3: converting a serial 01 data sequence into parallel B bit data, and reading data in a lookup table by taking the B bit data as an address of the lookup table; dividing the C bit data output by the lookup table into IQ two paths of data, wherein the high C/2 bit is used as Q path data, and the low C/2 bit is used as Q path data and then processed; when the modulation type set by the user is changed, corresponding code element mapping data is recalculated and written into the mapping table.
On the basis of the above content, the invention also provides a baseband code element mapping device based on the lookup table, which realizes the conversion of the 01 digital sequence baseband signal in the manner of the lookup table. The CPU in the device comprises a general processor, a singlechip, a DSP or FPGA and other units with digital signal processing capability. The lookup table includes a general storage device, including a commonly used RAM, a memory bank, a FLASH, and other component units having a storage function.
The invention realizes the code element mapping by combining a lookup table and a processor. The main advantages are two: one is that the circuit is relatively simple. And mapping of multiple modulation modes can be realized through a simple RAM lookup table. When the modulation mode is changed, corresponding modulation can be realized only by the content of the new RAM lookup table. And secondly, the upgrading is convenient, because the modulation mode is determined by the content of the RAM table, when a new modulation mode exists, only the content of the RAM needs to be changed.
The above features are combined with each other to form various embodiments not listed above, and all of them are regarded as the scope of the present invention described in the specification; also, modifications and variations may be suggested to those skilled in the art in light of the above teachings, and it is intended to cover all such modifications and variations as fall within the true spirit and scope of the invention as defined by the appended claims.
Claims (1)
1. A method for baseband symbol mapping based on a look-up table, comprising the steps of:
step 1: receiving a modulation format command sent by a user and calculating mapping data under the modulation format; the method specifically comprises the following steps: receiving a modulation type input by a user, and then calculating code element mapping data B x C bit corresponding to modulation according to the modulation type, wherein B is a bit width corresponding to the modulation type, and C is a bit width of IQ data;
and 2, step: writing the mapping data into a RAM lookup table through a bus, using a 01 sequence sent by a user as an address of the RAM lookup table after serial-parallel conversion, and converting the 01 sequence data into IQ mapping data through the RAM lookup table;
and 3, step 3: converting a serial 01 data sequence into parallel B bit data, and reading data in a lookup table by taking the B bit data as an address of the lookup table; c bit data output by the lookup table is divided into IQ two-path data, wherein high C/2 bit is used as Q-path data, and low C/2 bit is used as Q-path data and then processed;
c in the step 1 is the bit width of IQ data and is determined by the implementation precision; c in the step 1 is a bit width of IQ data, wherein C =32 bits, I data is 16 bits, and Q data is 16 bits; the step 3 is followed by: when the modulation type set by the user is changed, the corresponding code element mapping data is recalculated and written into the mapping table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011474112.2A CN112702292B (en) | 2020-12-15 | 2020-12-15 | Baseband code element mapping method based on lookup table |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011474112.2A CN112702292B (en) | 2020-12-15 | 2020-12-15 | Baseband code element mapping method based on lookup table |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112702292A CN112702292A (en) | 2021-04-23 |
CN112702292B true CN112702292B (en) | 2022-12-09 |
Family
ID=75507977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011474112.2A Active CN112702292B (en) | 2020-12-15 | 2020-12-15 | Baseband code element mapping method based on lookup table |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112702292B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222469A (en) * | 2008-01-24 | 2008-07-16 | 上海华为技术有限公司 | Sub-carrier mapping method, device and system |
WO2016124128A1 (en) * | 2015-02-05 | 2016-08-11 | 东南大学 | Reconfigurable modulation and demodulation method used in baseband processing |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5945885A (en) * | 1998-03-05 | 1999-08-31 | Hewlett-Packard Company | Digital baseband modulator adaptable to different modulation types |
CN1152538C (en) * | 2000-10-26 | 2004-06-02 | 华为技术有限公司 | Gaussian minimum frequency-shift keying modulation method and equipment |
US6956910B2 (en) * | 2002-11-20 | 2005-10-18 | Sandbridge Technologies, Inc. | Fast transmitter based on table lookup |
CN106101051A (en) * | 2016-07-29 | 2016-11-09 | 武汉芯泰科技有限公司 | A kind of modulating device based on vector and modulator approach |
-
2020
- 2020-12-15 CN CN202011474112.2A patent/CN112702292B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222469A (en) * | 2008-01-24 | 2008-07-16 | 上海华为技术有限公司 | Sub-carrier mapping method, device and system |
WO2016124128A1 (en) * | 2015-02-05 | 2016-08-11 | 东南大学 | Reconfigurable modulation and demodulation method used in baseband processing |
Also Published As
Publication number | Publication date |
---|---|
CN112702292A (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8811533B2 (en) | Communications transmitter having high-efficiency combination modulator | |
CN102752246B (en) | Radiofrequency launcher, integrated device electronics, wireless communication unit and method | |
JPH02279028A (en) | Compatible leading distortion circuit | |
CN101513003A (en) | Phase-to-frequency conversion for polar transmitters | |
EP3404883B1 (en) | Transmitter, receiver and signal processing method | |
TW201503626A (en) | Antenna modulation method and transmitter using the same | |
CN108881099B (en) | A kind of the generation system and generation method of signal of communication | |
US8872596B2 (en) | Polar signal generator | |
EP4170985A1 (en) | Data modulation method and apparatus, device, and storage medium | |
CN112702292B (en) | Baseband code element mapping method based on lookup table | |
CN115296968B (en) | Quadrature phase shift keying modulation system and method | |
CN105530215B (en) | 8PSK soft differential decoding method based on CORDIC | |
US8750421B2 (en) | Communications transmitter having high-efficiency combination modulator | |
CN103905370A (en) | Soft demodulation method and device for quadrature amplitude modulation (QAM) signal and mobile terminal | |
WO2023045990A1 (en) | Signal modulation method and device, and storage medium | |
CN111478754B (en) | Signal modulation method | |
CN115022141A (en) | GMSK signal digital modulation transmitting device and method | |
CN115174329A (en) | Method, apparatus, storage medium and program product for modulating and demodulating a signal | |
CN114826291B (en) | Mapping table generation method and dual-band digital radio frequency transmitter | |
Udawant et al. | Digital image processing by using GMSK | |
CN110679126A (en) | Peak-to-average power ratio reduction for IQ transmitters | |
CN114679361B (en) | OFDM modulation method and communication device | |
US10764105B2 (en) | Systems and methods for up-sampling a polar amplitude sample stream in a polar modulator | |
CN106059985A (en) | Demodulating device and demodulating method based on vector | |
CN105357165A (en) | Orthogonal linearly-polarized digital modulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266000 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province Applicant after: CLP kesiyi Technology Co.,Ltd. Address before: 266000 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province Applicant before: CHINA ELECTRONICS TECHNOLOGY INSTRUMENTS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |