[go: up one dir, main page]

CN113660060A - Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof - Google Patents

Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof Download PDF

Info

Publication number
CN113660060A
CN113660060A CN202110867004.XA CN202110867004A CN113660060A CN 113660060 A CN113660060 A CN 113660060A CN 202110867004 A CN202110867004 A CN 202110867004A CN 113660060 A CN113660060 A CN 113660060A
Authority
CN
China
Prior art keywords
data
signal
demodulated
modulated
binary
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.)
Pending
Application number
CN202110867004.XA
Other languages
Chinese (zh)
Inventor
周由平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Boyuna Technology Co ltd
Original Assignee
Shenzhen Boyuna Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Boyuna Technology Co ltd filed Critical Shenzhen Boyuna Technology Co ltd
Priority to CN202110867004.XA priority Critical patent/CN113660060A/en
Publication of CN113660060A publication Critical patent/CN113660060A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)

Abstract

The application provides a signal modulation method, a signal demodulation method, a data transmission radio station, a main control microprocessor and a computer readable storage medium thereof. The data transmission radio station comprises a main control microprocessor and a radio frequency transceiving unit; the master control microprocessor is used for receiving data to be modulated from the data terminal, determining a modulation mode according to a communication protocol of the data to be modulated, modulating the data to be modulated according to the modulation mode and then sending the data to the radio frequency transceiving unit; the main control microprocessor is also used for receiving the signal to be demodulated from the radio frequency transceiving unit, determining a demodulation mode according to the communication protocol of the signal to be demodulated, demodulating the signal to be demodulated according to the demodulation mode and then sending the demodulated signal to the data terminal. According to the method, the master control microprocessor is used for modulating and demodulating the baseband signals, a special baseband signal processing chip is not required to be equipped, the product cost is reduced, the product integration level is improved, meanwhile, various communication protocols are compatible, data delay caused by multi-chip communication is avoided, and the communication efficiency is improved.

Description

Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof
Technical Field
The present application belongs to the technical field of data transmission radio stations, and in particular, relates to a signal modulation method, a signal demodulation method, a data transmission radio station, a main control microprocessor thereof, and a computer-readable storage medium.
Background
A radio modem, also called a "radio modem" or "radio module". The method refers to a high-performance professional data transmission station realized by means of DSP technology and radio technology. The use of the data transmission radio station is developed from the earliest key code, telegraph, analog radio station and wireless MODEM to the current digital radio station, DSP and software radio; the transmission signals also can be from codes, low-speed data (300-1200 bps) to high-speed data (N64K-N E1), and services including remote control telemetry data, dynamic images and the like can be transmitted.
The radio data transmission radio station is a radio data transmission radio station which adopts digital signal processing, digital modulation and demodulation, and has the functions of forward error correction, balanced soft decision and the like, and mainly comprises a receiving unit, an exciter unit, a power amplifier unit, a control unit, a power supply unit and a baseband unit.
At present, a baseband unit of a data transmission radio station adopts a special baseband signal processing chip, each baseband signal processing chip only has the processing capacity of a single communication protocol, and the adoption of the chip can ensure that the product cost is high, the integration level is low, and the modulation mode and the communication protocol are single; if the data transmission radio station needs to be compatible with various communication protocols, different types of special baseband signal processing chips need to be equipped, and the problems of data delay and the like can be caused by multi-chip communication.
Disclosure of Invention
The embodiment of the application provides a signal modulation method, a demodulation method, a data transmission radio station, a main control microprocessor thereof and a computer readable storage medium, wherein the main control microprocessor can be used for modulating and demodulating signals without a special baseband signal processing chip.
In a first aspect, an embodiment of the present application provides a signal modulation method, which is applied to a main control microprocessor of a data transmission station, where the method includes:
receiving data to be modulated from a data terminal, and converting the data to be modulated into binary data;
acquiring a communication protocol of the data to be modulated;
selecting a modulation mode according to the communication protocol, and sequentially carrying out FEC coding and interweaving coding on the binary data by adopting the modulation mode to obtain coded binary data;
and transmitting the coded binary data to a radio frequency transceiving unit in the form of digital signals and/or analog signals.
Wherein, the sending the encoded binary data to the radio frequency transceiving unit in the form of digital signals and/or analog signals comprises:
transmitting the encoded binary data to the radio frequency transceiving unit in the form of a digital signal through a serial data interface;
and/or the presence of a gas in the gas,
converting the encoded binary data into binary level symbols; filtering the binary level symbol to obtain a filtered baseband signal; and converting the filtered baseband signal from a digital signal into an analog signal and sending the analog signal to a radio frequency transceiving unit.
Further, after receiving the data to be modulated from the data terminal, the method further includes:
and carrying out integrity check on the data to be modulated.
In addition, after receiving the data to be modulated from the data terminal, the method further comprises:
and generating a CRC (cyclic redundancy check) code of the data to be modulated, and adding the CRC code to the tail part of the data to be modulated.
In a second aspect, an embodiment of the present application provides a signal demodulation method, which is applied to a main control microprocessor of a data transmission station, where the method includes:
receiving a signal to be demodulated from a radio frequency transceiving unit;
after the signal to be demodulated is converted into a digital signal, carrying out digital filtering on the signal to be demodulated, and extracting a binary level symbol of the signal to be demodulated;
encoding the binary level symbols into binary data;
acquiring a communication protocol of the signal to be demodulated, selecting a demodulation mode according to the communication protocol, and sequentially performing interleaving decoding and FEC decoding on the binary data by adopting the demodulation mode to obtain decoded binary data;
and sending the decoded data to a data terminal.
Further, after receiving the signal to be demodulated from the radio frequency transceiver unit and before performing digital filtering on the signal to be demodulated, the method further includes:
and carrying out integrity check on the signal to be demodulated.
In addition, before sending the decoded data to a data terminal, the method further includes:
performing CRC on the decoded binary data;
and if the verification is passed, sending the decoded data to a data terminal.
In a third aspect, an embodiment of the present application provides a main control microprocessor for a data transfer station, including:
the UART module is used for receiving data to be modulated from the data terminal; converting the data to be modulated into binary data;
the coding and decoding module is used for acquiring a communication protocol of the data to be modulated; selecting a modulation mode according to the communication protocol, and sequentially carrying out FEC coding and interweaving coding on the binary data by adopting the modulation mode to obtain coded binary data;
and the communication interface module is used for transmitting the coded binary data to the radio frequency transceiving unit in the form of digital signals and/or analog signals.
The communication interface module comprises a serial data interface module used for sending the coded binary data to the radio frequency transceiving unit in the form of digital signals;
and/or the presence of a gas in the gas,
the communication interface module comprises a DAC module, and correspondingly, the master control microprocessor also comprises a level extraction module and a digital filtering module;
the level extraction module is used for converting the coded binary data into binary level symbols;
the digital filtering module is used for filtering the binary level symbol to obtain a filtering baseband signal;
and the DAC module is used for converting the filtering baseband signal from a digital signal to an analog signal and sending the analog signal to the radio frequency transceiving unit.
Further, the main control microprocessor further includes: an ADC module;
the ADC module is used for receiving a signal to be demodulated from the radio frequency transceiving unit and converting the signal to be demodulated into a digital signal;
the digital filtering module is also used for carrying out digital filtering on the signal to be demodulated;
the level extraction module is also used for extracting a binary level symbol of the signal to be demodulated; encoding the binary level symbols into binary data;
the coding and decoding module is also used for acquiring a communication protocol of the signal to be demodulated; selecting a demodulation mode according to the communication protocol, and sequentially performing interleaving decoding and FEC decoding on the binary data by adopting the demodulation mode to obtain decoded data;
the UART module is also used for sending the decoded data to a data terminal.
In a fourth aspect, an embodiment of the present application provides a data transmission station, including: the main control microprocessor and the radio frequency transceiving unit;
the master control microprocessor is used for receiving data to be modulated from a data terminal through a UART (universal asynchronous receiver/transmitter), determining a modulation mode according to a communication protocol of the data to be modulated, modulating the data to be modulated by adopting the modulation mode and sending the data to be modulated to the radio frequency transceiving unit;
the main control microprocessor is also used for receiving a signal to be demodulated from the radio frequency transceiving unit, determining a demodulation mode according to the communication protocol of the signal to be demodulated, demodulating the signal to be demodulated by adopting the demodulation mode, and sending the signal to be demodulated to the data terminal through the UART.
In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to any one of the first aspect or the second aspect.
In a sixth aspect, an embodiment of the present application provides a computer program product, which, when running on a master microprocessor of a data transfer unit, causes the master microprocessor to perform the method of any one of the first aspect or the second aspect.
Compared with the prior art, the embodiment of the application has the advantages that: the master control microprocessor receives data to be modulated from the data terminal, determines a modulation mode according to a communication protocol of the data to be modulated, modulates the data to be modulated by adopting the modulation mode, and sends the modulated data to the radio frequency transceiving unit; and the master control microprocessor receives the signal to be demodulated from the radio frequency transceiving unit, determines a demodulation mode according to the communication protocol of the signal to be demodulated, demodulates the signal to be demodulated by adopting the demodulation mode, and sends the demodulated signal to the data terminal through the UART. The application carries out the modem of baseband signal by the main control microprocessor of data radio station, need not to be equipped with one or even a plurality of special baseband signal processing chips, has reduced product cost, has improved the product integration level, and compatible multiple communication protocol has simultaneously avoided the data delay that brings with the multichip communication, has improved communication efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a signal modulation method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a signal demodulation method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a main control microprocessor of a data transmission station according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a principle of modem by the main control microprocessor according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data transmission station according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The signal modulation method and the signal demodulation method provided by the embodiment of the application can be applied to a data transmission radio station and are executed by a main control Microprocessor (MCU) of the data transmission radio station, the MCU is used as a control unit of the data transmission radio station, a special baseband signal processing chip is not required to be connected to be used as a baseband unit, the product cost can be saved, and the product integration level is improved.
Fig. 1 is a schematic flowchart of a signal modulation method according to an embodiment of the present application. As shown in fig. 1, the signal modulation method includes the following steps:
s11, receiving data to be modulated from a data terminal;
the data transmission radio station is in communication connection with the data terminal and is in data communication with the data terminal. The data terminal may be any form of terminal device such as a computer, and the embodiment of the present application does not set any limitation to the specific type of the terminal device.
The MCU includes a Universal Asynchronous Receiver/Transmitter (UART) interface, and is connected to the data terminal through the UART interface to obtain data to be modulated.
S12, converting the data to be modulated into binary data;
the MCU analyzes the received data packet, extracts data to be modulated, and converts the data to binary data convenient for processing.
S13, acquiring a communication protocol of the data to be modulated;
the MCU is communicated with the data terminal, and the communication protocol is preset in a parameter setting mode.
S14, selecting a modulation mode according to a communication protocol, and sequentially carrying out FEC coding and interleaving coding on the binary data according to the modulation mode to obtain coded binary data;
selecting a modulation mode according to a communication protocol, wherein the modulation mode includes ASK modulation (Amplitude Shift Keying), FSK modulation (Frequency Shift Keying), GFSK modulation (gaussian Frequency Shift Keying), and the like, and then selecting a corresponding FEC coding (Forward error correction coding) algorithm and an interleaving algorithm according to the modulation mode, and sequentially performing FEC coding and interleaving coding on binary data to obtain coded binary data.
And S15, sending the coded binary data to the radio frequency transceiving unit in the form of digital signals and/or analog signals.
If the coded binary data is transmitted in the form of digital signals, the coded binary data is transmitted to a radio frequency transceiving unit through a serial data interface of the MCU and external communication;
if the coded binary data is transmitted in the form of analog signals, the coded binary data is converted into binary level symbols; filtering the binary level symbol by adopting a low-pass digital filter to obtain a filtering baseband signal; and converting the filtered baseband signal from a digital signal to an analog signal through a digital-to-analog interface (DAC), and sending the converted analog signal to the radio frequency transceiving unit.
The radio frequency transceiving unit is provided with a direct digital frequency synthesizer or a phase-locked loop frequency synthesizer, and the frequency synthesizer can receive digital signals or analog signals. Therefore, the MCU can determine which type of signal the MCU outputs according to which type of signal the rf transceiver connected to the MCU receives, and generally selects the MCU capable of outputting both digital signal and analog signal to make the MCU have stronger compatibility, and the rf transceiver can receive one of the digital signal and analog signal according to its own configuration.
Further, after receiving the data to be modulated from the data terminal, the method further includes:
judging whether the data to be modulated is received completely, and if the data to be modulated is received completely, carrying out integrity check on the data to be modulated so as to ensure that the received data is not lost; otherwise, continuing to receive the data to be modulated until the reception is completed.
In addition, after receiving the data to be modulated from the data terminal, the method further comprises:
and generating a CRC (cyclic redundancy check) code of the data to be modulated, and adding the CRC code to the tail of the data to be modulated.
CRC check code is one of the most commonly used error checking check codes in the field of data communication, and can perform polynomial calculation on data, attach the obtained result to the back of a frame, and the receiving device also executes a similar algorithm to ensure the correctness and integrity of data transmission.
Fig. 2 is a flowchart illustrating a signal demodulation method according to an embodiment of the present application. As shown in fig. 2, the signal demodulation method corresponds to the signal modulation method described above, and includes the steps of:
s21, receiving the signal to be demodulated from the radio frequency transceiving unit;
the radio frequency transceiving unit outputs a baseband signal to be demodulated.
And confirming whether the signal to be demodulated is received completely, if so, entering the next step.
S22, converting the signal to be demodulated into a digital signal;
if the signal to be demodulated is an analog signal, the signal to be demodulated is received by an analog-to-digital interface (ADC) of the MCU, and the ADC converts the signal to be demodulated from the analog signal into a digital signal so that the MCU can perform the next processing.
S23, carrying out digital filtering on the signal to be demodulated;
and digitally filtering the signal to be demodulated by adopting a low-pass digital filter.
S24, extracting the binary level symbol of the signal to be demodulated;
s25, encoding the binary level symbol into binary data;
in other embodiments, if the signal to be modulated is a digital signal and is received by the serial data interface of the MCU, steps S22-S24 may be omitted. This step directly encodes the signal to be modulated in the form of a mathematical signal into binary data.
S26, acquiring a communication protocol of the signal to be demodulated;
s27, selecting a demodulation mode according to the communication protocol, and sequentially performing interleaving decoding and FEC decoding on the binary data according to the demodulation mode to obtain decoded data;
as described in the foregoing embodiment, according to a communication protocol for receiving a signal to be demodulated, a corresponding demodulation mode, such as ASK demodulation, FSK demodulation, or GFSK demodulation, is selected, and then a corresponding FEC decoding algorithm and deinterleaving algorithm are selected according to the demodulation mode, and the binary data is sequentially deinterleaved and FEC decoded to obtain decoded data, where the decoded data is generally hexadecimal data.
S28, the decoded data is sent to the data terminal.
And sending the decoded data to a data terminal through the UART.
Further, after receiving the signal to be demodulated from the radio frequency transceiver unit and before performing digital filtering on the signal to be demodulated, the method further includes:
and carrying out integrity check on the signal to be demodulated.
Performing CRC on the decoded binary data; if the CRC check code is consistent with the CRC check code generated in the modulation process, the check is passed, the received data is complete and correct, and the decoded data is sent to the data terminal.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 is a schematic structural diagram of a main control microprocessor of a data transmission station according to an embodiment of the present application, which corresponds to the signal modulation method and the signal demodulation method of the foregoing embodiments, and only the parts related to the embodiment of the present application are shown for convenience of description.
As shown in fig. 3, the main control microprocessor of the data transmission station includes:
the UART module 31 is configured to receive data to be modulated from a data terminal; converting data to be modulated into binary data;
the encoding and decoding module 32 is used for acquiring a communication protocol of data to be modulated; selecting a modulation mode according to a communication protocol, and sequentially carrying out FEC coding and interweaving coding on the binary data according to the modulation mode to obtain coded binary data;
and a communication interface module 33, configured to send the encoded binary data to the radio frequency transceiver unit in the form of a digital signal and/or an analog signal.
The communication interface module 33 includes a serial data interface module 331, configured to send the encoded binary data to the rf transceiver unit in the form of a digital signal;
and/or the presence of a gas in the gas,
the communication interface module 33 comprises a DAC module 332, and correspondingly, the master control microprocessor further comprises a level extraction module 34 and a digital filtering module 35;
a level extraction module 34, configured to convert the encoded binary data into binary level symbols;
the digital filtering module 35 is configured to filter the binary level symbol to obtain a filtered baseband signal;
and the DAC module 332 is configured to convert the filtered baseband signal from a digital signal to an analog signal, and send the analog signal to the rf transceiver unit.
Further, the main control microprocessor further includes: an ADC module 36;
the ADC module 36 is configured to receive a signal to be demodulated from the radio frequency transceiver unit, and convert the signal to be demodulated into a digital signal;
the digital filtering module 35 is further configured to perform digital filtering on the signal to be demodulated;
the level extraction module 34 is further configured to extract a binary level symbol of the signal to be demodulated; encoding the binary level symbols into binary data;
the encoding and decoding module 32 is further configured to obtain a protocol of the signal to be demodulated; selecting a demodulation mode according to a protocol, and sequentially performing interleaving decoding and FEC decoding on the binary data according to the demodulation mode to obtain decoded data;
the UART module 31 is also configured to send the decoded data to a data terminal.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules are based on the same concept as that of the embodiment of the method of the present application, specific functions and technical effects thereof may be specifically referred to a part of the embodiment of the method, and details are not described here.
Fig. 4 is a schematic diagram illustrating a principle of modem by the master microprocessor according to an embodiment of the present application. In conjunction with the above method embodiments, fig. 4 shows a modulation and demodulation process of the master MCU.
It should be clearly understood by those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is merely used as an example, and in practical applications, the foregoing function distribution may be completed by different functional units and modules as needed, that is, the internal structure of the main control MCU is divided into different functional units or modules to complete all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiment of the present application further provides a data transmission radio station, and fig. 5 is a schematic structural diagram of the data transmission radio station provided in the embodiment of the present application. As shown in fig. 5, the data transfer station 40 includes: a main control microprocessor 41 and a radio frequency transceiving unit 42;
the main control microprocessor 41 receives data to be modulated from the data terminal 43 through the UART, determines a modulation mode according to a communication protocol of the data to be modulated, modulates the data to be modulated according to the modulation mode, and sends the modulated data to the radio frequency transceiving unit 42;
correspondingly, the main control microprocessor 41 receives the signal to be demodulated from the radio frequency transceiver unit 42, determines a demodulation mode according to the communication protocol of the signal to be demodulated, demodulates the signal to be demodulated according to the demodulation mode, and sends the demodulated signal to the data terminal 43 through the UART.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps that can be implemented in the above method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (12)

1. A signal modulation method, applied to a master microprocessor of a data transmission station, the method comprising:
receiving data to be modulated from a data terminal, and converting the data to be modulated into binary data;
acquiring a communication protocol of the data to be modulated;
selecting a modulation mode according to the communication protocol, and sequentially carrying out FEC coding and interweaving coding on the binary data by adopting the modulation mode to obtain coded binary data;
and transmitting the coded binary data to a radio frequency transceiving unit in the form of digital signals and/or analog signals.
2. The signal modulation method according to claim 1, wherein transmitting the encoded binary data to a radio frequency transceiving unit in the form of a digital signal and/or an analog signal comprises:
transmitting the encoded binary data to the radio frequency transceiving unit in the form of a digital signal through a serial data interface;
and/or the presence of a gas in the gas,
converting the encoded binary data into binary level symbols; filtering the binary level symbol to obtain a filtered baseband signal; and converting the filtered baseband signal from a digital signal into an analog signal and sending the analog signal to a radio frequency transceiving unit.
3. The signal modulation method of claim 1, after receiving data to be modulated from a data terminal, further comprising:
and carrying out integrity check on the data to be modulated.
4. The signal modulation method of claim 1, after receiving data to be modulated from a data terminal, further comprising:
and generating a CRC (cyclic redundancy check) code of the data to be modulated, and adding the CRC code to the tail part of the data to be modulated.
5. A signal demodulation method, applied to a master microprocessor of a data transmission station, the method comprising:
receiving a signal to be demodulated from a radio frequency transceiving unit;
encoding the signal to be demodulated into binary data;
acquiring a communication protocol of the signal to be demodulated, selecting a demodulation mode according to the communication protocol, and sequentially performing interleaving decoding and FEC decoding on the binary data by adopting the demodulation mode to obtain decoded data;
and sending the decoded data to a data terminal.
6. The signal demodulation method according to claim 5, wherein encoding the signal to be demodulated into binary data comprises:
after the signal to be demodulated is converted into a digital signal, carrying out digital filtering on the signal to be demodulated, and extracting a binary level symbol of the signal to be demodulated;
encoding the binary level symbols into binary data.
7. The signal demodulation method of claim 5 wherein, before transmitting said decoded data to a data terminal, further comprising:
performing CRC on the decoded data;
and if the verification is passed, sending the decoded data to a data terminal.
8. A master microprocessor for a data transfer station, comprising:
the UART module is used for receiving data to be modulated from the data terminal; converting the data to be modulated into binary data;
the coding and decoding module is used for acquiring a communication protocol of the data to be modulated; selecting a modulation mode according to the communication protocol, and sequentially carrying out FEC coding and interweaving coding on the binary data by adopting the modulation mode to obtain coded binary data;
and the communication interface module is used for transmitting the coded binary data to the radio frequency transceiving unit in the form of digital signals and/or analog signals.
9. The master microprocessor of claim 8, wherein:
the communication interface module comprises a serial data interface module used for sending the coded binary data to the radio frequency transceiving unit in the form of digital signals;
and/or the presence of a gas in the gas,
the communication interface module comprises a DAC module, and correspondingly, the master control microprocessor also comprises a level extraction module and a digital filtering module;
the level extraction module is used for converting the coded binary data into binary level symbols;
the digital filtering module is used for filtering the binary level symbol to obtain a filtering baseband signal;
and the DAC module is used for converting the filtering baseband signal from a digital signal to an analog signal and sending the analog signal to the radio frequency transceiving unit.
10. The master microprocessor of claim 8, further comprising: an ADC module;
the ADC module is used for receiving a signal to be demodulated from the radio frequency transceiving unit and converting the signal to be demodulated into a digital signal;
the digital filtering module is also used for carrying out digital filtering on the signal to be demodulated;
the level extraction module is also used for extracting a binary level symbol of the signal to be demodulated; encoding the binary level symbols into binary data;
the coding and decoding module is also used for acquiring a communication protocol of the signal to be demodulated; selecting a demodulation mode according to the communication protocol, and sequentially performing interleaving decoding and FEC decoding on the binary data by adopting the demodulation mode to obtain decoded data;
the UART module is also used for sending the decoded data to a data terminal.
11. A data transfer station, comprising: the main control microprocessor and the radio frequency transceiving unit;
the master control microprocessor is used for receiving data to be modulated from a data terminal through a UART (universal asynchronous receiver/transmitter), determining a modulation mode according to a communication protocol of the data to be modulated, modulating the data to be modulated by adopting the modulation mode and sending the data to the radio frequency transceiving unit;
the main control microprocessor is also used for receiving a signal to be demodulated from the radio frequency transceiving unit, determining a demodulation mode according to the communication protocol of the signal to be demodulated, demodulating the signal to be demodulated by adopting the demodulation mode, and sending the signal to be demodulated to the data terminal through the UART.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 4, or carries out the method according to any one of claims 5 to 7.
CN202110867004.XA 2021-07-29 2021-07-29 Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof Pending CN113660060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110867004.XA CN113660060A (en) 2021-07-29 2021-07-29 Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110867004.XA CN113660060A (en) 2021-07-29 2021-07-29 Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof

Publications (1)

Publication Number Publication Date
CN113660060A true CN113660060A (en) 2021-11-16

Family

ID=78490869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110867004.XA Pending CN113660060A (en) 2021-07-29 2021-07-29 Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof

Country Status (1)

Country Link
CN (1) CN113660060A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116684041A (en) * 2023-06-20 2023-09-01 深圳讯道实业股份有限公司 Data transmission method based on 5G communication cable and cable

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040157571A1 (en) * 2003-02-07 2004-08-12 Klaas Wortel Enhanced register based FSK demodulator
CN102611652A (en) * 2012-02-23 2012-07-25 广东白云学院 Parameter control-based multimode base band processing realizing method
CN109495420A (en) * 2019-01-03 2019-03-19 泉州市铁通电子设备有限公司 A kind of digital channel machine with CSBK transfer function
CN110649974A (en) * 2019-10-22 2020-01-03 大连工业大学 Circuit of intelligent life jacket based on ultraviolet light communication
CN111600664A (en) * 2020-07-20 2020-08-28 四川天中星航空科技有限公司 Radio comprehensive test system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040157571A1 (en) * 2003-02-07 2004-08-12 Klaas Wortel Enhanced register based FSK demodulator
CN102611652A (en) * 2012-02-23 2012-07-25 广东白云学院 Parameter control-based multimode base band processing realizing method
CN109495420A (en) * 2019-01-03 2019-03-19 泉州市铁通电子设备有限公司 A kind of digital channel machine with CSBK transfer function
CN110649974A (en) * 2019-10-22 2020-01-03 大连工业大学 Circuit of intelligent life jacket based on ultraviolet light communication
CN111600664A (en) * 2020-07-20 2020-08-28 四川天中星航空科技有限公司 Radio comprehensive test system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
牛金行;刘玉宝;吴国乔;: "一种数字集群智能手机的硬件设计", 现代电子技术, no. 13, pages 0003 - 0047 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116684041A (en) * 2023-06-20 2023-09-01 深圳讯道实业股份有限公司 Data transmission method based on 5G communication cable and cable
CN116684041B (en) * 2023-06-20 2024-02-06 深圳讯道实业股份有限公司 Data transmission method based on 5G communication cable and cable

Similar Documents

Publication Publication Date Title
US6556581B1 (en) Ethernet to phase shift key converter
CN101669344B (en) Usf coding
CN105743616A (en) Long message segmentation and reliable communication method based on Beidou short message communication
CA2408131A1 (en) Transmitting/receiving apparatus and method for packet retransmission in a mobile communication system
US20100111145A1 (en) Baseband unit having bit repetitive encoded/decoding
CN108141318B (en) Method and transceiver for asynchronous data transmission over noisy channels
JP3601713B2 (en) Communication system and receiver used therefor
CN1902849B (en) Apparatus and method for transmitting or receiving data
CN113660060A (en) Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof
CA2275643C (en) Receiver decoder circuitry, and associated method, for decoding a channel encoded signal
JP4012464B2 (en) Multi-bit quadrature amplitude encoding per symbol rate
JP3342877B2 (en) Digital wireless communication device and its modulation circuit
CN108023850A (en) A kind of wireless communications method and device
CN103546222B (en) Method for transmitting and receiving emergency broadcast signal
US6118827A (en) Apparatus for providing increased data rates within existing modulation systems
CN103036828B (en) Multi-carrier frequency hopping communication system based on on-off keying (OOK) modulation
CN104883331A (en) Baseband signal processing platform based on software radio
CN109347605B (en) Encoding method, decoding method and device, and computer readable storage medium
CN108183715A (en) A kind of 400KHz channel devices based on software digital processing
CN103117838B (en) TCM-4CPM method for designing and the system of high-performance low complex degree
CN115174325B (en) Double-tone FSK modulation-demodulation system for wireless energy-carrying communication
US8699630B2 (en) Systems and methods for handling data rate changes within a packet or frame
US8983003B2 (en) Method and system for adaptively identifying signal bandwidth
JP3576653B2 (en) Coded modulator
CN116112123B (en) Discrete data transmission method and transmission device

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