CN115001626B - Data modulation and demodulation method, system and medium - Google Patents
Data modulation and demodulation method, system and medium Download PDFInfo
- Publication number
- CN115001626B CN115001626B CN202210586467.3A CN202210586467A CN115001626B CN 115001626 B CN115001626 B CN 115001626B CN 202210586467 A CN202210586467 A CN 202210586467A CN 115001626 B CN115001626 B CN 115001626B
- Authority
- CN
- China
- Prior art keywords
- data
- transmitted
- processing
- steps
- error correction
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0045—Arrangements at the receiver end
- H04L1/0047—Decoding adapted to other signal detection operation
- H04L1/0048—Decoding adapted to other signal detection operation in conjunction with detection of multiuser or interfering signals, e.g. iteration between CDMA or MIMO detector and FEC decoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0059—Convolutional codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a data modulation and demodulation method, a system and a medium, wherein the method comprises the following steps: acquiring data to be transmitted; the method comprises the steps of carrying out pre-sending processing on data to be transmitted at a sending end, wherein the pre-sending processing comprises the following steps: carrying out programmable forward error correction coding processing on the data to be transmitted, and sending the processed data to a receiving end; and performing post-receiving processing on the received data at a receiving end, wherein the post-receiving processing comprises the following steps: and carrying out programmable forward error correction decoding processing on the received data. In the general GFSK modulation and demodulation, the scheme of the invention carries out programmable forward error correction coding on the data to be transmitted, then carries out error correction decoding on a receiving end, and carries out error correction on error codes caused by burst interference, thus the scheme can well cope with the burst interference from the outside, reduce the error rate and realize low power consumption and high reliability under the condition of not increasing the transmitting power.
Description
Technical Field
The present invention relates to the field of communications and microelectronics technologies, and in particular, to a data modulation and demodulation method, system, and medium.
Background
In wireless transceiving, GFSK modulation and demodulation is widely applied, and with the progress of technology, the development of internet of things technology requires low power consumption, long transmission distance and high sensitivity wireless transceiving for data acquisition and communication. Power consumption, performance, and cost are factors that are mutually limiting. In order to solve the problem of the existing wireless data communication based on GFSK modulation and demodulation: such as long distance but large power consumption, high sensitivity but high cost, these factors cannot meet the requirements of low cost, long distance and high sensitivity of sensing data acquisition and wireless transmission in the everything interconnection.
In the general GFSK modem, there is no error correction capability to cope with burst errors, but only whether the error is detected or not can be judged, but there is no error correction capability.
To improve communication performance and reliability, the transmit power must be increased to improve the signal quality at the receiving end to achieve the requirement of reducing the bit error rate, which increases power consumption.
In the wireless communication process, especially in the application of the internet of things, each sensing node is an independent clock, and has no time alignment function, so that the wireless node is required to recover the clock from the carrier by itself. Especially when the ad hoc network is started, clock synchronization needs to be established quickly, response speed is improved, and networking time is shortened.
However, in the prior art, the pilot frame header of the general data frame is of a fixed width, and when the receiving end is not completely synchronized, the pilot time slot may already slide, which results in that the time spent on synchronization is prolonged, and the ad hoc network is inconvenient.
In general GFSK modulation demodulation, programmable forward error correction coding is performed on data to be transmitted, then error correction decoding is performed at a receiving end, error correction is performed on error codes caused by burst interference, so that the external burst interference is well dealt with under the condition that the transmitting power is not increased, the error rate is reduced, and low power consumption and high reliability are realized.
Disclosure of Invention
The invention mainly aims to provide a data modulation and demodulation method, a system and a medium, which can well cope with external burst interference, reduce error rate and realize low power consumption and high reliability under the condition of not increasing transmission power.
In order to achieve the above object, the present invention provides a data modulation and demodulation method, which includes the following steps:
acquiring data to be transmitted;
and carrying out pre-sending processing on the data to be transmitted at a sending end, wherein the pre-sending processing comprises the following steps: carrying out programmable forward error correction coding processing on the data to be transmitted, and sending the processed data to a receiving end;
and performing post-receiving processing on the received data at a receiving end, wherein the post-receiving processing comprises the following steps: and carrying out programmable forward error correction decoding processing on the received data.
The step of processing before the sending end sends the data to be transmitted comprises the following steps:
and carrying out random scrambling whitening treatment, CRC (cyclic redundancy check) coding, programmable forward error correction coding, length-adjustable pilot frequency frame head treatment, sent data frame synthesis and GFSK (GFSK) modulation on the data to be transmitted at a sending end in sequence.
The step of performing random scrambling whitening processing on the data to be transmitted comprises the following steps:
and carrying out convolution or exclusive-or operation on the data to be transmitted and the pseudo-random code.
The processing the pilot frequency frame head with adjustable length for the data to be transmitted comprises the following steps:
transmitting a code stream with adjustable time length and rich in clock information so that the receiving end calibrates a local clock according to the clock information;
the step of synthesizing the transmission data frame of the data to be transmitted comprises the following steps:
and synthesizing the pilot frequency frame head and the data to be transmitted, and transmitting the synthesized pilot frequency frame head and the data to be transmitted to a GFSK modulation template for radio frequency modulation output.
Wherein the CRC check code includes: the data is redundantly encoded.
The step of processing the received data after receiving at the receiving end comprises the following steps:
and sequentially performing GFSK demodulation, data frame extraction, programmable forward error correction decoding, CRC check decoding and data whitening treatment on the received data at a receiving end.
Wherein the data de-whitening process comprises:
the whitened data is inverse operated with the scrambled pseudo-random code stream to recover the transmitted payload data.
The invention also proposes a data modem system comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, implements a data modem method as described above.
The invention also proposes a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a data modulation and demodulation method as described above.
In the general GFSK modulation and demodulation, the scheme of the invention carries out programmable forward error correction coding on the data to be transmitted, then carries out error correction decoding on a receiving end, and carries out error correction on error codes caused by burst interference, thus the scheme can well cope with the burst interference from the outside, reduce the error rate and realize low power consumption and high reliability under the condition of not increasing the transmitting power.
Drawings
Fig. 1 is a flow chart of a data modulation and demodulation method of the present invention.
Fig. 2 is a schematic diagram of GFSK modem of the present invention for implementing data transmission and reception.
Fig. 3 is a schematic diagram of a random scrambling whitening process according to the present invention.
Fig. 4 is a schematic diagram of the data de-whitening process of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The present invention relates to the fields of error correction coding, GFSK modulation and demodulation and microelectronics, such as wireless data transceiver, wireless receiver, wireless transmitter, etc.
Referring to fig. 1-4, the present invention proposes a data modulation and demodulation method, which includes the following steps:
step S1, acquiring data to be transmitted;
step S2, performing, at a transmitting end, processing before transmitting the data to be transmitted, where the processing before transmitting includes: carrying out programmable forward error correction coding processing on the data to be transmitted, and sending the processed data to a receiving end;
step S3, the received data is processed after being received at a receiving end, and the received processing comprises the following steps: and carrying out programmable forward error correction decoding processing on the received data.
The step of processing before the sending end sends the data to be transmitted comprises the following steps:
and carrying out random scrambling whitening treatment, CRC (cyclic redundancy check) coding, programmable forward error correction coding, length-adjustable pilot frequency frame head treatment, sent data frame synthesis and GFSK (GFSK) modulation on the data to be transmitted at a sending end in sequence.
The step of performing random scrambling whitening processing on the data to be transmitted comprises the following steps:
and carrying out convolution or exclusive-or operation on the data to be transmitted and the pseudo-random code.
The processing the pilot frequency frame head with adjustable length for the data to be transmitted comprises the following steps:
transmitting a code stream with adjustable time length and rich in clock information so that the receiving end calibrates a local clock according to the clock information;
the step of synthesizing the transmission data frame of the data to be transmitted comprises the following steps:
and synthesizing the pilot frequency frame head and the data to be transmitted, and transmitting the synthesized pilot frequency frame head and the data to be transmitted to a GFSK modulation template for radio frequency modulation output.
Wherein the CRC check code includes: the data is redundantly encoded.
The step of processing the received data after receiving at the receiving end comprises the following steps:
and sequentially performing GFSK demodulation, data frame extraction, programmable forward error correction decoding, CRC check decoding and data whitening treatment on the received data at a receiving end.
Wherein the data de-whitening process comprises:
the whitened data is inverse operated with the scrambled pseudo-random code stream to recover the transmitted payload data.
In the general GFSK modulation and demodulation, the scheme of the invention carries out programmable forward error correction coding on the data to be transmitted, then carries out error correction decoding on a receiving end, and carries out error correction on error codes caused by burst interference, thus the scheme can well cope with the burst interference from the outside, reduce the error rate and realize low power consumption and high reliability under the condition of not increasing the transmitting power.
The following explains the technical scheme adopted by the invention in detail:
as shown in fig. 2, the procedure of data transmission and data reception is as follows:
wherein, the data transmission includes: random scrambling whitening of data to be transmitted, CRC check coding, programmable forward error correction coding, length adjustable pilot frame header, transmitted data frame synthesis, GFSK modulation.
The data receiving comprises: GFSK demodulation, data frame extraction, programmable forward error correction decoding, CRC check decoding, data de-whitening recovery data.
Specifically, as shown in fig. 3, the random scrambling whitening is performed by convolution or exclusive-or operation between the data to be transmitted and the pseudo-random code, so that the data to be transmitted looks like white noise in the time domain, and the spectrum utilization rate is improved.
CRC check coding is to carry out redundancy coding on data, so that a receiving end can conveniently judge whether the received data is correct or not.
The programmable forward error correction coding is the error correction coding which completes the data to be transmitted, and can realize the error correction of the error code caused by the burst interference, and correct the error code. The programmable is a flexible configuration which considers the requirements of the system in different application scenes and considers the transmission data rate and response time.
Error correction coding adopts hamming (7, 4) coding, and 3 supervisory codes (a 2 a1 a 0) are inserted after every 4 information codes (a 6 a5 a4 a 3) to form a new 7-bit code (a 6 a5 a4 a3 a2 a1 a 0), and the specific table is as follows:
information bit (a) 6 a 5 a 4 a 3 ) | Supervision place (a) 2 a 1 a 0 ) | Information bit (a) 6 a 5 a 4 a 3 ) | Supervision place (a) 2 a 1 a 0 ) |
0000 | 000 | 1000 | 111 |
0001 | 011 | 1001 | 100 |
0010 | 101 | 1010 | 010 |
0011 | 110 | 1011 | 001 |
0100 | 110 | 1100 | 001 |
0101 | 101 | 1101 | 010 |
0110 | 011 | 1110 | 100 |
0111 | 000 | 1111 | 111 |
After this encoding, 1 error code can be corrected at the receiving end, and 2 bit error codes can be detected.
The length of the supervisory code can also be changed, for example, the 6-bit information code and the 5-bit supervisory code can be changed, and the 2-bit error code can be corrected at the receiving end, and the 4-bit error code can be detected.
The programmable pilot frame head is a code stream which is transmitted for a period of time and is adjustable and rich in clock information, and the longer the length is, the more convenient the receiving end can calibrate the local clock according to the clock information.
And synthesizing a data frame, completing synthesis of the pilot frequency frame head and data to be transmitted, and transmitting the synthesized data frame to a GFSK modulation template for radio frequency modulation output.
The programmable forward error correction decoding is decoding that completes error correction encoding, decoding the original data.
The data is whitened, and the original data subjected to pseudo-random convolution is decoded and restored.
As shown in fig. 4, wherein the de-whitening process is to inverse-operate the whitened data with the scrambled pseudo-random code stream to recover the transmitted payload data.
Therefore, in the general GFSK modulation and demodulation, the invention carries out programmable forward error correction coding on the data to be transmitted, then carries out error correction decoding on a receiving end, and carries out error correction on the error code caused by burst interference, thus the invention can well cope with the burst interference from the outside, reduce the error rate and realize low power consumption and high reliability under the condition of not increasing the transmitting power.
The invention further provides a data modulation and demodulation system, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program realizes the data modulation and demodulation method when being executed by the processor.
The invention also proposes a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a data modulation and demodulation method as described above.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather to utilize the equivalent structures or equivalent processes disclosed in the present specification and the accompanying drawings, or to be directly or indirectly applied to other related technical fields, which are all encompassed by the present invention.
Claims (3)
1. A method of data modulation and demodulation, the method comprising the steps of:
acquiring data to be transmitted;
and carrying out pre-sending processing on the data to be transmitted at a sending end, wherein the pre-sending processing comprises the following steps: carrying out programmable forward error correction coding processing on the data to be transmitted, and sending the processed data to a receiving end;
and performing post-receiving processing on the received data at a receiving end, wherein the post-receiving processing comprises the following steps: performing programmable forward error correction decoding processing on the received data;
the step of processing before the sending end sends the data to be transmitted comprises the following steps: the data to be transmitted are sequentially subjected to random scrambling whitening treatment, CRC (cyclic redundancy check) coding, programmable forward error correction coding, pilot frequency frame head treatment with adjustable length, transmitted data frame synthesis and GFSK (GFSK) modulation at a transmitting end;
the step of performing random scrambling and whitening processing on the data to be transmitted comprises the following steps: convolving or performing exclusive OR operation on the data to be transmitted and the pseudo-random code;
the processing the pilot frequency frame head with adjustable length for the data to be transmitted comprises the following steps: transmitting a code stream with adjustable time length and rich in clock information so that the receiving end calibrates a local clock according to the clock information;
the step of synthesizing the transmission data frame of the data to be transmitted comprises the following steps: synthesizing the pilot frequency frame head and the data to be transmitted, and transmitting the synthesized pilot frequency frame head and the data to be transmitted to a GFSK modulation template for radio frequency modulation output; the CRC check code includes: redundancy coding is carried out on the data;
the step of processing the received data after receiving at the receiving end comprises the following steps: sequentially performing GFSK demodulation, data frame extraction, programmable forward error correction decoding, CRC check decoding and data whitening treatment on the received data at a receiving end;
the data de-whitening process includes: the whitened data is inverse operated with the scrambled pseudo-random code stream to recover the transmitted payload data.
2. A data modem system, characterized in that the system comprises a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, implements the data modem method according to claim 1.
3. A computer storage medium having stored thereon a computer program which when executed by a processor implements the data modulation and demodulation method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210586467.3A CN115001626B (en) | 2022-05-26 | 2022-05-26 | Data modulation and demodulation method, system and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210586467.3A CN115001626B (en) | 2022-05-26 | 2022-05-26 | Data modulation and demodulation method, system and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115001626A CN115001626A (en) | 2022-09-02 |
CN115001626B true CN115001626B (en) | 2023-08-08 |
Family
ID=83029461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210586467.3A Active CN115001626B (en) | 2022-05-26 | 2022-05-26 | Data modulation and demodulation method, system and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115001626B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539317A (en) * | 2015-02-09 | 2015-04-22 | 北京华强智连微电子有限责任公司 | Dual-mode communication chip of OFDM carrier wave mode and GFSK wireless mode |
CN113098811A (en) * | 2021-04-01 | 2021-07-09 | 高拓讯达(北京)科技有限公司 | Demodulation and decoding method and device for GFSK signal |
CN114490459A (en) * | 2022-01-27 | 2022-05-13 | 重庆物奇微电子有限公司 | Data transmission method, device, equipment, receiver and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7515665B2 (en) * | 2005-05-31 | 2009-04-07 | Skyworks Solutions, Inc. | GFSK/GMSK detector with enhanced performance in co-channel interference and AWGN channels |
-
2022
- 2022-05-26 CN CN202210586467.3A patent/CN115001626B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539317A (en) * | 2015-02-09 | 2015-04-22 | 北京华强智连微电子有限责任公司 | Dual-mode communication chip of OFDM carrier wave mode and GFSK wireless mode |
CN113098811A (en) * | 2021-04-01 | 2021-07-09 | 高拓讯达(北京)科技有限公司 | Demodulation and decoding method and device for GFSK signal |
CN114490459A (en) * | 2022-01-27 | 2022-05-13 | 重庆物奇微电子有限公司 | Data transmission method, device, equipment, receiver and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115001626A (en) | 2022-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5423798B2 (en) | Encoding and decoding method and apparatus | |
CA2642102C (en) | Method and apparatus for error detection in a data block | |
JP4890641B2 (en) | Signal transmission method and apparatus | |
CA2758375C (en) | Improved blind modulation detection | |
EP0866589A1 (en) | Data transmitting method, data transmitting system, transmitter, and receiver | |
US8582603B2 (en) | Method and apparatus for configuring protocol header in wireless communication system | |
US6728323B1 (en) | Baseband processors, mobile terminals, base stations and methods and systems for decoding a punctured coded received signal using estimates of punctured bits | |
JP2006325007A (en) | Communication apparatus, receiving method therein, codec, decoder, communication module, communication unit, and decoding method | |
CN102318435A (en) | Method and device for data packet relaying and data packet decoding | |
KR101410947B1 (en) | Method and apparatus for indicating a temporary block flow using a piggybacked ack/nack field | |
CA2275643C (en) | Receiver decoder circuitry, and associated method, for decoding a channel encoded signal | |
TW200816733A (en) | Efficient frame structure for digital satellite communication | |
CN115001626B (en) | Data modulation and demodulation method, system and medium | |
JP5284388B2 (en) | Wireless receiver | |
US11388696B2 (en) | Broadcast channel reception in NB-IoT devices | |
CN112039605B (en) | Software radio-based transceiving system and video transmission method | |
JP4119400B2 (en) | Wireless transmission device, wireless reception device, wireless transmission method, and wireless reception method | |
CN106788902A (en) | For strengthening the method and apparatus for the error protection being wirelessly transferred | |
US20090279596A1 (en) | Method for encoding frame data | |
WO2019071592A1 (en) | Methods and computing device for facilitating multi-user detection | |
CN112838906B (en) | Data processing method and related device | |
US8520780B2 (en) | Communication units, communication system and methods for modulation and demodulation | |
CN112217597A (en) | Method and equipment for demodulating physical broadcast channel PBCH | |
JP2006262394A (en) | Decoding circuit and decoding method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |