CN112104583B - Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium - Google Patents

Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium Download PDF

Info

Publication number
CN112104583B
CN112104583B CN202010820401.7A CN202010820401A CN112104583B CN 112104583 B CN112104583 B CN 112104583B CN 202010820401 A CN202010820401 A CN 202010820401A CN 112104583 B CN112104583 B CN 112104583B
Authority
CN
China
Prior art keywords
bit
result
value
determining
decision
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
Application number
CN202010820401.7A
Other languages
Chinese (zh)
Other versions
CN112104583A (en
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.)
Accelink Technologies Co Ltd
Original Assignee
Accelink Technologies 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 Accelink Technologies Co Ltd filed Critical Accelink Technologies Co Ltd
Priority to CN202010820401.7A priority Critical patent/CN112104583B/en
Publication of CN112104583A publication Critical patent/CN112104583A/en
Application granted granted Critical
Publication of CN112104583B publication Critical patent/CN112104583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/02Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
    • H04L27/06Demodulator circuits; Receiver circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/02Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
    • H04L27/06Demodulator circuits; Receiver circuits
    • H04L27/066Carrier recovery circuits
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Algebra (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

The invention discloses a demodulation method, a demodulation device, demodulation equipment and a computer readable storage medium of Amplitude Shift Keying (ASK). The method comprises the following steps: sampling the envelope signal according to the set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit contains M sample values; obtaining a first average value of forward N bits of the first bit and a second average value of backward N bits of the first bit; determining a forward decision result of the first bit based on the first average value and the M sample values of the first bit and determining a backward decision result of the first bit based on the second average value and the M sample values of the first bit; determining a decision mode matched with the first bit based on the forward decision result and the backward decision result; a demodulation result is obtained based on the decision result corresponding to each first bit in the envelope detection data stream.

Description

Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium
Technical Field
The present invention relates to the field of signal modulation and demodulation technologies, and in particular, to a demodulation method, apparatus, device and computer readable storage medium for amplitude shift keying (ASK, amplitude Shift Keying).
Background
In the field of signal modulation technology, a modulation scheme in which a digital baseband signal is used to control the amplitude variation of a carrier signal is called ASK, and may also be called digital amplitude modulation. ASK is to represent digital signals "1" and "0" by changing the amplitude magnitude of a carrier signal, for example, representing digital signal "1" by amplitude A1 of the carrier signal and representing digital signal "0" by amplitude A2 of the carrier signal. For ASK demodulation, a modulation signal is usually demodulated by adopting an envelope detection mode, and the specific process includes: the modulated signal is filtered, envelope detected, sampled and decided to recover the digital baseband signal with specific information. In the modulation-demodulation mode, in general, when the digital baseband signal is modulated, the carrier signal used is a sine/cosine signal with higher frequency than the digital baseband signal, and the average power of the carrier signal is basically kept constant, so that the accuracy of a sampling judgment result in the subsequent demodulation process can be ensured. However, in some specific application scenarios, for example, in a 5G front-end optical transmission channel, the average power of an optical signal that is a carrier signal and is transmitted by a transmitting end is variable, and then the average power of a modulated signal received by a receiving end of the transmission channel is also variable, which brings a problem to sampling decision processing in a demodulation process: if a fixed decision level is adopted, misjudgment is necessarily generated when the power of the optical signal changes; if a dynamic level decision is adopted, but the design of a hardware circuit is complex, and most dynamic decisions are to adjust the decision level after finding the change of the average power of the optical signal, so that the decision result in a period of time is invalid.
Disclosure of Invention
Accordingly, a primary object of the present invention is to provide a demodulation method, apparatus, device and computer readable storage medium for amplitude shift keying, which can dynamically adapt to the average power variation of a carrier signal to demodulate modulation information in real time without increasing the complexity of a hardware circuit, and can correctly recover a digital baseband signal.
In order to achieve the above purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a demodulation method for an ASK, where the method includes:
sampling the envelope signal according to the set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer;
obtaining a first average value of forward N bits of a first bit, and obtaining a second average value of backward N bits of the first bit; the first bit is any one bit of the plurality of bits; wherein N is a positive integer;
determining a forward decision result of the first bit based on the first average value and the M sample values of the first bit, and determining a backward decision result of the first bit based on the second average value and the M sample values of the first bit;
Determining a decision mode matched with the first bit based on the forward decision result and the backward decision result; the judging mode is used for indicating a judging result matched with the first bit;
obtaining a demodulation result based on a decision result corresponding to each first bit in the envelope detection data stream; the demodulation result is a digital baseband signal which corresponds to the signal to be demodulated and contains specific information and is not modulated.
In the above scheme, the obtaining the first average value of the forward N bits of the first bit includes:
acquiring each sampling value contained in the front continuous N bits adjacent to the first bit from the envelope detection data stream;
obtaining the first average value based on each sampling value contained in the front continuous N bits;
correspondingly, the obtaining the second average value of the backward N bits of the first bit includes:
acquiring each sampling value contained in N bits which are adjacent to the first bit and are continuous behind the first bit from the envelope detection data stream;
the second average value is obtained based on each sampling value contained in the subsequent N bits.
In the above solution, the determining, based on the first average value and the M sampling values of the first bit, a forward decision result of the first bit includes:
Comparing the first average value with a first sampling value to obtain a first comparison result, and determining a first number of the first comparison result meeting a first preset condition; the first sampling value is any sampling value in M sampling values contained in the first bit; the first preset condition is that the first average value is smaller than the first sampling value;
determining that the forward decision result of the first bit is a first result under the condition that the first number is larger than a first preset threshold value;
determining that the forward decision result of the first bit is a second result under the condition that the first number is not greater than a first preset threshold value;
correspondingly, the determining the backward decision result of the first bit based on the second average value and the M sampling values of the first bit includes:
comparing the second average value with the first sampling value to obtain a second comparison result; and determining a second number of the second comparison results satisfying a second preset condition; the second preset condition is that the second average value is smaller than the first sampling value;
determining that the backward decision result of the first bit is a first result under the condition that the second number is larger than a second preset threshold value;
Determining that the backward decision result of the first bit is a second result under the condition that the second number is not larger than a second preset threshold value;
wherein the first result is 1; the second result is 0.
In the above solution, the determining a decision mode matched with the first bit based on the forward decision result and the backward decision result includes:
comparing the forward decision result with the backward decision result to obtain a third comparison result; and determining a decision mode matched with the first bit based on the third comparison result.
In the above solution, when the third comparison result is that the forward decision result is equal to the backward decision result, the determining, based on the third comparison result, a decision mode matching the first bit includes:
the decision mode for determining the match with the first bit is: and taking the forward decision result or the backward decision result as a decision result matched with the first bit.
In the above solution, when the third comparison result is that the forward decision result is not equal to the backward decision result, the determining, based on the third comparison result, a decision mode matched with the first bit includes:
Obtaining a third average value corresponding to M sampling values contained in the first bit;
determining a first percentage based on the first average and the third average, and determining a second percentage based on the second average and the third average;
comparing the first percentage with a third preset threshold value to obtain a fourth comparison result, and comparing the second percentage with the third preset threshold value to obtain a fifth comparison result;
and determining a judging mode matched with the first bit based on the fourth comparison result and the fifth comparison result.
In the above solution, when the fourth comparison result is that the first percentage is smaller than the third preset threshold and the fifth comparison result is that the second percentage is smaller than the third preset threshold, the determining a decision mode matched with the first bit includes:
acquiring an absolute value of a first difference value between the first percentage and a third preset threshold value and an absolute value of a second difference value between the second percentage and the third preset threshold value;
comparing the absolute value of the first difference value with the absolute value of the second difference value to obtain a sixth comparison result;
And when the sixth comparison result is that the absolute value of the first difference value is smaller than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result is used as a decision result matched with the first bit;
and when the sixth comparison result is that the absolute value of the first difference value is equal to the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result or the backward decision result is used as a decision result matched with the first bit;
and when the sixth comparison result is that the absolute value of the first difference value is larger than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: and taking the backward decision result as a decision result matched with the first bit.
In the above solution, when the fourth comparison result is that the first percentage is smaller than the third preset threshold and the fifth comparison result is that the second percentage is not smaller than the third preset threshold, the determining a decision mode matched with the first bit includes: the forward decision result is used as a decision result matched with the first bit;
Or, in the case that the fourth comparison result is that the first percentage is not less than the third preset threshold and the fifth comparison result is that the second percentage is less than the third preset threshold, the determining the decision mode matched with the first bit includes: and taking the backward decision result as a decision result matched with the first bit.
In the above solution, when the fourth comparison result is that the first percentage is not less than the third preset threshold and the fifth comparison result is that the second percentage is not less than the third preset threshold, the determining a decision mode matched with the first bit includes:
determining a third percentage between a first sample value and the first average value, and determining a fourth percentage between the first sample value and the second average value; the first sampling value is any sampling value in M sampling values contained in the first bit;
comparing the third percentage with the third preset threshold to obtain a seventh comparison result, and comparing the fourth percentage with the third preset threshold to obtain an eighth comparison result;
Determining a decision result of the first sampling value based on the seventh comparison result and the eighth comparison result;
determining that the judgment result of the first sampling value is a third number of first results and the judgment result of the first sampling value is a fourth number of second results;
determining a decision mode matched with the first bit based on the third quantity and the fourth quantity, wherein the sum of the third quantity and the fourth quantity is not more than M;
wherein the first result is 1; the second result is 0.
In the above solution, the determining a decision mode matching with the first bit based on the third number and the fourth number includes:
and under the condition that the third quantity is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the first result is used as a judging result matched with the first bit;
and under the condition that the fourth number is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the second result is used as a judging result matched with the first bit;
outputting prompt information under the condition that the third quantity is not larger than a fourth preset threshold value and the fourth quantity is not larger than the fourth preset threshold value; the hint information is used to indicate a demodulation failure for the first bit.
In a second aspect, an embodiment of the present invention further provides a demodulation apparatus for amplitude shift keying ASK, where the apparatus includes: a sampling unit, a first obtaining unit, a first determining unit, a second determining unit and a second obtaining unit, wherein,
the sampling unit is used for sampling the envelope signal according to the set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer;
the first obtaining unit is configured to obtain a first average value of forward N bits of a first bit, and obtain a second average value of backward N bits of the first bit; the first bit is any one bit of the plurality of bits; wherein N is a positive integer;
the first determining unit is configured to determine a forward decision result of the first bit based on the first average value and M sampling values of the first bit, and determine a backward decision result of the first bit based on the second average value and M sampling values of the first bit;
The second determining unit is configured to determine a decision mode matched with the first bit based on the forward decision result and the backward decision result; the judging mode is used for indicating a judging result matched with the first bit;
the second obtaining unit is configured to obtain a demodulation result based on a decision result corresponding to each first bit in the envelope detection data stream; the demodulation result is a digital baseband signal which corresponds to the signal to be demodulated and contains specific information and is not modulated.
In the above aspect, the first obtaining unit is specifically configured to: acquiring each sampling value contained in the front continuous N bits adjacent to the first bit from the envelope detection data stream; obtaining the first average value based on each sampling value contained in the front continuous N bits; alternatively, the first obtaining unit is specifically configured to: acquiring each sampling value contained in N bits which are adjacent to the first bit and are continuous behind the first bit from the envelope detection data stream; the second average value is obtained based on each sampling value contained in the subsequent N bits.
In the above aspect, the first determining unit is specifically configured to: comparing the first average value with a first sampling value to obtain a first comparison result, and determining a first number of the first comparison result meeting a first preset condition; the first sampling value is any sampling value in M sampling values contained in the first bit; the first preset condition is that the first average value is smaller than the first sampling value; determining that the forward decision result of the first bit is a first result under the condition that the first number is larger than a first preset threshold value; determining that the forward decision result of the first bit is a second result under the condition that the first number is not greater than a first preset threshold value; alternatively, the first determining unit is specifically configured to: comparing the second average value with the first sampling value to obtain a second comparison result; and determining a second number of the second comparison results satisfying a second preset condition; the second preset condition is that the second average value is smaller than the first sampling value; determining that the backward decision result of the first bit is a first result under the condition that the second number is larger than a second preset threshold value; determining that the backward decision result of the first bit is a second result under the condition that the second number is not larger than a second preset threshold value; wherein the first result is 1; the second result is 0.
In the above scheme, the second determining unit includes a comparing module and a determining module, where the comparing module is configured to compare the forward decision result with the backward decision result to obtain a third comparison result; and the determining module is used for determining a judging mode matched with the first bit based on the third comparison result.
In the above solution, the determining module is specifically configured to: and under the condition that the third comparison result is that the forward decision result is equal to the backward decision result, determining a decision mode matched with the first bit as follows: and taking the forward decision result or the backward decision result as a decision result matched with the first bit.
In the above aspect, the determining module includes: the device comprises an obtaining submodule, a first determining submodule, a comparing submodule and a second determining submodule, wherein the obtaining submodule is used for obtaining a third average value corresponding to M sampling values contained in the first bit; the first determination submodule is used for determining a first percentage based on the first average value and the third average value and determining a second percentage based on the second average value and the third average value; the comparison sub-module is used for comparing the first percentage with a third preset threshold value to obtain a fourth comparison result, and comparing the second percentage with the third preset threshold value to obtain a fifth comparison result; the second determining submodule is configured to determine a decision mode matched with the first bit based on the fourth comparison result and the fifth comparison result.
In the above aspect, the second determining sub-module is specifically configured to: obtaining an absolute value of a first difference between the first percentage and a third preset threshold and an absolute value of a second difference between the second percentage and the third preset threshold, if the fourth comparison result is that the first percentage is less than the third preset threshold and the fifth comparison result is that the second percentage is less than the third preset threshold; comparing the absolute value of the first difference value with the absolute value of the second difference value to obtain a sixth comparison result; and when the sixth comparison result is that the absolute value of the first difference value is smaller than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result is used as a decision result matched with the first bit; and when the sixth comparison result is that the absolute value of the first difference value is equal to the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result or the backward decision result is used as a decision result matched with the first bit; and when the sixth comparison result is that the absolute value of the first difference value is larger than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: and taking the backward decision result as a decision result matched with the first bit.
In the above aspect, the second determining sub-module is specifically configured to: when the fourth comparison result is that the first percentage is smaller than the third preset threshold value and the fifth comparison result is that the second percentage is not smaller than the third preset threshold value, the forward decision result is used as a decision result matched with the first bit; alternatively, the second determining submodule is specifically configured to: and taking the backward decision result as a decision result matched with the first bit when the fourth comparison result is that the first percentage is not smaller than the third preset threshold value and the fifth comparison result is that the second percentage is smaller than the third preset threshold value.
In the above aspect, the second determining sub-module is specifically configured to: determining a third percentage between a first sampling value and the first average value and determining a fourth percentage between the first sampling value and the second average value if the fourth comparison result is that the first percentage is not less than the third preset threshold and the fifth comparison result is that the second percentage is not less than the third preset threshold; the first sampling value is any sampling value in M sampling values contained in the first bit; comparing the third percentage with the third preset threshold to obtain a seventh comparison result, and comparing the fourth percentage with the third preset threshold to obtain an eighth comparison result; determining a decision result of the first sampling value based on the seventh comparison result and the eighth comparison result; determining that the judgment result of the first sampling value is a third number of first results and the judgment result of the first sampling value is a fourth number of second results; determining a decision mode matched with the first bit based on the third quantity and the fourth quantity, wherein the sum of the third quantity and the fourth quantity is not more than M; wherein the first result is 1; the second result is 0.
In the above aspect, the second determining sub-module is specifically further configured to: and under the condition that the third quantity is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the first result is used as a judging result matched with the first bit; and under the condition that the fourth number is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the second result is used as a judging result matched with the first bit; outputting prompt information under the condition that the third quantity is not larger than a fourth preset threshold value and the fourth quantity is not larger than the fourth preset threshold value; the hint information is used to indicate a demodulation failure for the first bit.
In a third aspect, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon; the computer program implementing the steps of any of the methods described above when executed by a processor.
In a fourth aspect, an embodiment of the present invention provides an amplitude shift keying ASK demodulation device, including: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is adapted to perform the steps of any one of the methods described above when the computer program is run.
The embodiment of the invention discloses a demodulation method, a device, equipment and a computer readable storage medium for amplitude shift keying, wherein the method comprises the following steps: sampling the envelope signal according to the set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer; obtaining a first average value of forward N bits of a first bit, and obtaining a second average value of backward N bits of the first bit; the first bit is any one bit of the plurality of bits; wherein N is a positive integer; determining a forward decision result of the first bit based on the first average value and the M sample values of the first bit, and determining a backward decision result of the first bit based on the second average value and the M sample values of the first bit; determining a decision mode matched with the first bit based on the forward decision result and the backward decision result; the judging mode is used for indicating a judging result matched with the first bit; obtaining a demodulation result based on a decision result corresponding to each first bit in the envelope detection data stream; the demodulation result is a digital baseband signal which corresponds to the signal to be demodulated and contains specific information and is not modulated. The demodulation method provided by the invention can determine the judgment mode matched with the first bit by comparing the forward judgment result and the backward judgment result of the bit to be judged (the first bit), so that the modulation information can be demodulated in real time by dynamically adapting to the average power change of the carrier signal without increasing the complexity of a hardware circuit, and the digital baseband signal can be correctly recovered.
Drawings
Fig. 1 is a schematic flow chart of a demodulation method of amplitude shift keying according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of demodulating a first bit in the demodulation method of the amplitude shift keying according to the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a demodulation device for amplitude shift keying according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure of a demodulation device for amplitude shift keying according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the specific technical solutions of the present invention will be given with reference to the accompanying drawings in the embodiments of the present invention. The following examples are illustrative of the invention and are not intended to limit the scope of the invention.
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
Fig. 1 is a flow chart of a demodulation method of amplitude shift keying according to an embodiment of the present invention. As shown in fig. 1, the method includes:
s101: sampling the envelope signal according to the set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer.
It should be noted that, the set frequency may be a frequency higher than the digital baseband signal, and as an example, the set frequency may be a digital baseband signal u times, where u is greater than 2. The signal to be demodulated is a digital baseband signal which is subjected to ASK modulation, wherein the digital baseband signal is an electric waveform representation of digital information, corresponding message codes can be represented by different levels or pulses, the types of the signal are various, and as an example, rectangular pulses are taken as an example, the waveform of the signal has a unipolar non-return-to-zero waveform, a bipolar non-return-to-zero waveform, a unipolar return-to-zero waveform and the like; the envelope signal may be a signal reflecting an amplitude change of a signal to be demodulated, and may specifically be a curve of the amplitude change of the signal to be demodulated obtained by performing envelope detection processing on the signal to be demodulated, where the envelope detection processing is a processing method based on filtering detection, and is a process of demodulating a low-frequency signal from the signal to be demodulated, specifically, the envelope detection processing is to connect amplitude peak points of the signal to be demodulated with a period of time, and a common method is to perform unidirectional filtering by using a diode and then perform low-pass filtering.
Here, the envelope detection data stream is a set of ordered byte data sequences obtained by sampling the envelope signal at a set frequency, which includes a plurality of bits, and each of the plurality of bits contains M sampling values; where M is a positive integer, that is to say, the envelope signal is sampled at a set frequency, and the resulting individual sample values are an ordered set of data sequences comprising a plurality of bits, each bit comprising M sample values, when divided in bits. The envelope detection data stream may be stored in a memory.
S102: obtaining a first average value of forward N bits of a first bit, and obtaining a second average value of backward N bits of the first bit; the first bit is any one bit of the plurality of bits; wherein N is a positive integer.
It should be noted that the forward N bits of the first bit may refer to the first N bits adjacent to the first bit, in other words, N bits forward from the first bit, which are the forward N bits of the first bit.
Based on this, in some embodiments, the obtaining a first average of forward N bits of the first bit may include:
Acquiring each sampling value contained in the front continuous N bits adjacent to the first bit from the envelope detection data stream;
obtaining the first average value based on each sampling value contained in the front continuous N bits;
it should be noted that, since each bit includes M samples, the forward N bits of the first bit include m×n samples, and the first average value is a ratio of a sum of m×n samples to m×n.
For example, assume that the first bit is B k The forward N bits contain [ V (k-N, 1), V (k-N, 2) ]]、[V(k-N+1,1)、V(k-N+1,2)、...V(k-N+1,M)]、......[V(k-1,1)、V(k-1,2)、...V(k-1,M)]In total, m×n sampling values, where the first average value may be calculated by the following formula (1):
Figure BDA0002634228320000121
wherein P is bkf Is a first average value; v (k-i, j) is the j-th sampling value of the i-th bit in the forward direction of the first bit, i is 1 to N, and j is 1 to M.
Similarly, the backward N bits of the first bit may refer to the next N bits adjacent to the first bit, in other words, N bits backward from the first bit, which are the backward N bits of the first bit.
Correspondingly, in some embodiments, the obtaining the second average value of the backward N bits of the first bit may include:
Acquiring each sampling value contained in N bits which are adjacent to the first bit and are continuous behind the first bit from the envelope detection data stream;
the second average value is obtained based on each sampling value contained in the subsequent N bits.
Similarly, since each bit contains M samples, the backward N bits of the first bit include m×n samples, and the second average value is the ratio of the sum of m×n samples contained in the backward N bits to m×n.
For example, assume that the first bit is B k Thereafter N bits to include [ V (k+1, 1), V (k+1, 2), -V (k+1, m)]、[V(k+2,1)、V(k+2,2)、...V(k+2,M)]、......[V(k+N,1)、V(k+N,2)、...V(k+N,M)]In total, m×n samples, where the second average is calculated by the following formula (2):
Figure BDA0002634228320000131
wherein P is bkb Is the second average value; v (k+i, j) is the j-th sampling value of the backward i-th bit of the first bit, i is 1 to N, and j is 1 to M.
S103: determining a forward decision result of the first bit based on the first average value and the M sample values of the first bit, and determining a backward decision result of the first bit based on the second average value and the M sample values of the first bit.
In some embodiments, the determining the forward decision result of the first bit based on the first average value and the M sampling values of the first bit includes:
Comparing the first average value with a first sampling value to obtain a first comparison result, and determining a first number of the first comparison result meeting a first preset condition; the first sampling value is any sampling value in M sampling values contained in the first bit; the first preset condition is that the first average value is smaller than the first sampling value;
determining that the forward decision result of the first bit is a first result under the condition that the first number is larger than a first preset threshold value;
determining that the forward decision result of the first bit is a second result under the condition that the first number is not greater than a first preset threshold value;
correspondingly, the determining the backward decision result of the first bit based on the second average value and the M sampling values of the first bit includes:
comparing the second average value with the first sampling value to obtain a second comparison result; and determining a second number of the second comparison results satisfying a second preset condition; the second preset condition is that the second average value is smaller than the first sampling value;
determining that the backward decision result of the first bit is a first result under the condition that the second number is larger than a second preset threshold value;
Determining that the backward decision result of the first bit is a second result under the condition that the second number is not larger than a second preset threshold value;
wherein the first result is 1; the second result is 0.
It should be noted that the "first" and "second" are mentioned herein for convenience of description, and are not meant to limit the present invention.
Here, the first sampling value is any one sampling value of M sampling values included in the first bit, and correspondingly, the determining that the first comparison result meets the first preset condition may refer to counting the number of sampling values greater than the first average value in the M sampling values of the first bit. And when the first number is greater than a first preset threshold, determining that the forward decision result of the first bit is a first result, and when the first number is not greater than the first preset threshold, determining that the forward decision result of the first bit is a second result, wherein the first preset threshold may be set manually according to demodulation requirements, for example, may be M/2. That is, the number of sampling values greater than the first average value exceeds half, and the forward decision result of the first bit is determined to be a first result, otherwise, the forward decision result of the first bit is determined to be a second result. It should be noted that, since the digital baseband signal is a signal composed of "1" and "0", the forward decision result of the first bit is only possible to be "1" and "0", and therefore, the first result is set to "1"; the second result is set to "0".
For an understanding of the above description, the following is illustrated by way of example:
the process is specifically as follows: will P bkf Respectively with the first bit B k V (k, 1), V (k, 2),. V (k, M) are compared, when V (k, i)>P bkf Recording the first comparison result C i =1, otherwise C i =0 (i from 0 to M). For C 1 To C M Summing to obtain
Figure BDA0002634228320000141
When->
Figure BDA0002634228320000142
Recording forward decision result R of first bit f =1, otherwise R f =0. Wherein the first comparison result is set to "0" or "1", and C is calculated 1 To C M Summing this is just one specific implementation of counting the first number.
Similarly, the process of determining the backward decision result of the first bit is specifically as follows:
will P bkb And a first bit B k V (k, 1), V (k, 2),. V (k, M) are compared, when V (k, i)>P bkb Recording the second comparison result D i =1, otherwise D i =0 (i from 0 to M). Pair D 1 To D M Summing to obtain
Figure BDA0002634228320000151
When->
Figure BDA0002634228320000152
Recording backward decision result R of first bit b =1, otherwise R b =0. Wherein the second comparison result is set to "0" or "1", and D is calculated 1 To D M And this is just one specific implementation of counting the second number.
S104: determining a decision mode matched with the first bit based on the forward decision result and the backward decision result; the decision means is used for indicating a decision result matched with the first bit.
In some embodiments, the determining a decision mode matching the first bit based on the forward decision result and the backward decision result includes:
comparing the forward decision result with the backward decision result to obtain a third comparison result; and determining a decision mode matched with the first bit based on the third comparison result.
The calculated P bkf The physical meaning represented is the average value of the power corresponding to the forward N bits of the first bit, or the average power value corresponding to the forward N bits of the first bit; p calculated previously bkb The physical meaning represented is the average of the power corresponding to the backward N bits of the first bit, or the average power value corresponding to the backward N bits of the first bit.
In the practical application process, P is the same as the average power of the carrier signal bkf And P bkb The two are equal, and then the decision result of the first bit may be either a forward decision result or a backward decision result, that is: in some embodiments, in a case that the third comparison result is that the forward decision result is equal to the backward decision result, the determining, based on the third comparison result, a decision manner matching the first bit may include:
The decision mode for determining the match with the first bit is: and taking the forward decision result or the backward decision result as a decision result matched with the first bit.
In other embodiments, in some special application scenarios, the average power of the carrier signal is varied such that P bkf And P bkb The two may not be equal, and at this time, the forward decision result or the backward decision result cannot be directly determined to be taken as the decision result of the first bit, and at this time, the decision result matched with the first bit needs to be determined according to the decision manner of the third comparison result, specifically, that is: the third comparison result is that, in the case that the forward decision result is not equal to the backward decision result, the decision mode matched with the first bit is determined based on the third comparison result, which may beTo include:
obtaining a third average value corresponding to M sampling values contained in the first bit;
determining a first percentage based on the first average and the third average, and determining a second percentage based on the second average and the third average;
Comparing the first percentage with a third preset threshold value to obtain a fourth comparison result, and comparing the second percentage with the third preset threshold value to obtain a fifth comparison result;
and determining a judging mode matched with the first bit based on the fourth comparison result and the fifth comparison result.
Here, the obtaining the third average value corresponding to the M sampling values included in the first bit may refer to a ratio of a sum of the M sampling values included in the first bit to M, and may specifically be calculated by using the following formula (3):
Figure BDA0002634228320000161
wherein P is bk A third average value; v (k, i) is the first bit B k Is the i-th sample value of (c).
The determining of the first percentage based on the first average and the third average may specifically be performed using the following formula (4):
Figure BDA0002634228320000162
wherein PD f Is a first percentage.
The determining of the second percentage based on the second average and the third average may specifically be performed using the following formula (5):
Figure BDA0002634228320000163
wherein PD b Is a second percentage.
It should be noted that, the third preset threshold may be preset according to an actual demodulation precision requirement and a hardware design condition, and the value of the third preset threshold may be a value close to 0, for example, 0.01, 0.05, and so on.
In the practical application process, because the fourth comparison result and the fifth comparison result are different, different judging modes matched with the first bit can be determined according to the fourth comparison result and the fifth comparison result.
As an optional embodiment, in a case that the fourth comparison result is that the first percentage is smaller than the third preset threshold and the fifth comparison result is that the second percentage is smaller than the third preset threshold, the determining a decision manner matched with the first bit includes:
acquiring an absolute value of a first difference value between the first percentage and a third preset threshold value and an absolute value of a second difference value between the second percentage and the third preset threshold value;
comparing the absolute value of the first difference value with the absolute value of the second difference value to obtain a sixth comparison result;
and when the sixth comparison result is that the absolute value of the first difference value is smaller than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result is used as a decision result matched with the first bit;
And when the sixth comparison result is that the absolute value of the first difference value is equal to the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result or the backward decision result is used as a decision result matched with the first bit;
and when the sixth comparison result is that the absolute value of the first difference value is larger than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: and taking the backward decision result as a decision result matched with the first bit.
As another optional embodiment, in a case where the fourth comparison result is that the first percentage is smaller than the third preset threshold and the fifth comparison result is that the second percentage is not smaller than the third preset threshold, the determining a decision manner matched with the first bit includes: the forward decision result is used as a decision result matched with the first bit;
or, in the case that the fourth comparison result is that the first percentage is not less than the third preset threshold and the fifth comparison result is that the second percentage is less than the third preset threshold, the determining the decision mode matched with the first bit includes: and taking the backward decision result as a decision result matched with the first bit.
It should be noted that the foregoing two embodiments are actually: when the average power of the carrier signal changes, the corresponding first bit B k Can pass through R f ≠R b This change can be found and passed through PD f And PD b Respectively with PD th To determine whether to use the forward decision result or the backward decision result as a decision result matched with the first bit, thereby correctly deciding the demodulation result of the first bit.
In fact, there is also a case where the fourth comparison result is that the first percentage is not less than the third preset threshold value and the fifth comparison result is that the second percentage is not less than the third preset threshold value, in which case only here, a decision mode matching the first bit cannot be determined according to the third average value of the first bit and the third preset threshold value, then, the determining a decision mode matching the first bit should include:
determining a third percentage between a first sample value and the first average value, and determining a fourth percentage between the first sample value and the second average value; the first sampling value is any sampling value in M sampling values contained in the first bit;
Comparing the third percentage with the third preset threshold to obtain a seventh comparison result, and comparing the fourth percentage with the third preset threshold to obtain an eighth comparison result;
determining a decision result of the first sampling value based on the seventh comparison result and the eighth comparison result;
determining that the judgment result of the first sampling value is a third number of first results and the judgment result of the first sampling value is a fourth number of second results;
determining a decision mode matched with the first bit based on the third quantity and the fourth quantity, wherein the sum of the third quantity and the fourth quantity is not more than M;
wherein the first result is 1; the second result is 0.
Here, the determining the third percentage between the first sampling value and the first average value may specifically be calculated using the following formula (6):
Figure BDA0002634228320000181
wherein PD kfi And is a third percentage.
The determining the fourth percentage between the first sampling value and the second average value may specifically be calculated using the following formula (7):
Figure BDA0002634228320000191
wherein PD kbi And is a fourth percentage.
Based on this, the determining the decision result of the first sampling value based on the seventh comparison result and the eighth comparison result may include the following cases:
First case: the seventh comparison result is that the third percentage is smaller than the third preset threshold and the eighth comparison result is that the fourth percentage is smaller than the third preset threshold, in which case the determining the decision result of the first sampling value may include:
acquiring an absolute value of a third difference value between the third percentage and a third preset threshold value and an absolute value of a fourth difference value between the fourth percentage and the third preset threshold value;
comparing the absolute value of the third difference value with the absolute value of the fourth difference value to obtain a ninth comparison result;
and if the ninth comparison result is that the absolute value of the third difference value is smaller than the absolute value of the fourth difference value, determining that the judgment result of the first sampling value is: comparing the first sampling value with the first average value, and determining the judgment result of the first sampling value as a first result when the first sampling value is larger than the first average value; when the first sampling value is not larger than the first average value, determining a judgment result of the first sampling value as a second result;
and determining that the judgment result of the first sampling value is that when the ninth comparison result is that the absolute value of the third difference value is equal to the absolute value of the fourth difference value: comparing the first sampling value with the first average value, and determining the judgment result of the first sampling value as a first result when the first sampling value is larger than the first average value; when the first sampling value is not larger than the first average value, determining a judgment result of the first sampling value as a second result; or, determining the judgment result of the first sampling value as follows: comparing the first sampling value with the second average value, and determining the judgment result of the first sampling value as a first result when the first sampling value is larger than the second average value; when the first sampling value is not larger than the second average value, determining a judgment result of the first sampling value as a second result;
And if the ninth comparison result is that the absolute value of the third difference value is larger than the absolute value of the fourth difference value, determining that the judgment result of the first sampling value is: comparing the first sampling value with the second average value, and determining the judgment result of the first sampling value as a first result when the first sampling value is larger than the second average value; and when the first sampling value is not greater than the second average value, determining the judgment result of the first sampling value as a second result. Wherein the first result is "1"; the second result is "0".
Second case: the seventh comparison result is that the third percentage is smaller than the third preset threshold value and the eighth comparison result is that the fourth percentage is not smaller than the third preset threshold value, in which case, correspondingly, the determining the decision result of the first sampling value may include: comparing the first sampling value with the first average value, and determining the judgment result of the first sampling value as a first result when the first sampling value is larger than the first average value; and when the first sampling value is not larger than the first average value, determining the judgment result of the first sampling value as a second result. Wherein the first result is "1"; the second result is "0".
Third case: the seventh comparison result is that the third percentage is not less than the third preset threshold and the eighth comparison result is that the fourth percentage is less than the third preset threshold, in which case, correspondingly, the determining the decision result of the first sampling value may include: comparing the first sampling value with the second average value, and determining the judgment result of the first sampling value as a first result when the first sampling value is larger than the second average value; and when the first sampling value is not greater than the second average value, determining the judgment result of the first sampling value as a second result. Wherein the first result is "1"; the second result is "0".
Fourth case: the seventh comparison result is that the third percentage is not less than the third preset threshold and the eighth comparison result is that the fourth percentage is not less than the third preset threshold, in which case the determination of the first sample value is aborted.
It should be noted that, the third number may refer to the number of the first results as the decision results of the M sampling values of the first bit; the fourth number may refer to the number of the second results as a result of the decision of the M sampling values of the first bit. As can be seen from the foregoing determination of the decision result of each sample value of the first bit, since there may be a case where the decision result of a certain sample value is invalid, the sum of the third number and the fourth number is not greater than M.
After determining the decision result of each of the M sampling values of the first bit, the determining a decision manner matched with the first bit based on the third number and the fourth number may include:
and under the condition that the third quantity is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the first result is used as a judging result matched with the first bit;
and under the condition that the fourth number is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the second result is used as a judging result matched with the first bit;
outputting prompt information under the condition that the third quantity is not larger than a fourth preset threshold value and the fourth quantity is not larger than the fourth preset threshold value; the hint information is used to indicate a demodulation failure for the first bit.
It should be noted that the fourth preset threshold may be M/2. The prompt information may be any form of prompt information, which is not limited herein. As an example, the prompt information may be a text alert.
In the practical application process, in the process of demodulating the envelope detection data stream, the situation that demodulation of a certain bit fails is less, and even if the situation occurs, the method can further process by adopting modes of requiring retransmission of a data frame containing the certain bit, adding an error correction mechanism into a continuous data stream, and the like. Therefore, after the hint information is obtained, further processing such as retransmission of the data frame including the certain bit, error correction, and the like may be triggered based on the hint information, and the data frame including the certain bit may be retransmitted, re-decided, or error corrected, thereby obtaining the correct demodulated data.
In order to facilitate understanding of the foregoing demodulation process of the first bit, a flow chart of demodulating the first bit in the amplitude shift keying demodulation method provided by the embodiment of the present invention is illustrated herein, and fig. 2 is a flow chart of demodulating the first bit in the amplitude shift keying demodulation method provided by the embodiment of the present invention. As shown in fig. 2, the specific process is as follows:
first, data oversampling threads: sampling the envelope signal at the frequency of the u-multiple digital baseband signal to obtain an envelope detection data stream and storing the envelope detection data stream in a memory; wherein the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer.
Second, average power calculation thread: calculate the first bit B k Average power of the first N consecutive bits and the last N consecutive bits; wherein the first bit B k For any one of the plurality of bits.
Specifically, the average power of N forward bits to be the first bit Bk is calculated, that is, the first average value: is to precede the first bit Bk by B k-N To B k-1 N bits total, M samples per bit [ V (k-N, 1), V (k-N, 2) ] ]、[V(k-N+1,1)、V(k-N+1,2)、...V(k-N+1,M)]、......[V(k-1,1)、V(k-1,2)、...V(k-1,M)]The ratio of the sum of the values of the total M and N data to the M and N is the first average value P bkf . I.e. the
Figure BDA0002634228320000221
Calculate the first bit B k The backward N bits of the average power, i.e., the aforementioned second average: is to make the first bit B k Rear face B k+1 To B k+N N bits total, M samples per bit [ V (k+1, 1), V (k+1, 2) ]]、[V(k+2,1)、V(k+2,2)、...V(k+2,M)]、......[V(k+N,1)、V(k+N,2)、...V(k+N,M)]The ratio of the sum of the values of the total M and N data to the M and N is the second average value P bkb . I.e. the
Figure BDA0002634228320000222
Thirdly, dynamically judging threads: successively dividing the first bit B according to the average power of the first N and the last N bits of each bit k The digital signal "1" or "0" is determined. Wherein the digital signal "1" is the first result; the digital signal "0" is the second result described above.
The method comprises the following steps: will P bkf And a first bit B k V (k, 1), V (k, 2),. V (k, M) are compared, when V (k, i)>P bkf Recording the comparison result C i =1, otherwise C i =0 (i from 0 to M). For C 1 To C M Summing to obtain
Figure BDA0002634228320000223
When->
Figure BDA0002634228320000224
Recording forward decision result R of first bit f =1, otherwise R f =0. Wherein the first comparison result is set to "0" or "1", and C is calculated 1 To C M Summing this is just one specific implementation of counting the first number.
Will P bkb And a first bit B k V (k, 1), V (k, 2),. V (k, M) are compared, when V (k, i)>P bkb Recording the comparison result D i =1, otherwise D i =0 (i from 0 to M). For a pair of D1 To D M Summing to obtain
Figure BDA0002634228320000225
When->
Figure BDA0002634228320000226
Recording backward decision result R of first bit b =1, otherwise R b =0. Wherein the second comparison result is set to "0" or "1", and D is calculated 1 To D M And this is just one specific implementation of counting the second number.
Current direction decision result R f And backward decision result R b Equal to the first bit B k The matching judgment mode is as follows: first bit B k Is determined as R f Or R is b I.e. when R f =R b Time B k =R f =R b
When R is f ≠R b When calculating the first bit B k Average power of (2)
Figure BDA0002634228320000231
Recalculating P bk And (3) with Pbkf Absolute percentage of difference of->
Figure BDA0002634228320000232
And P bk And P bkb Absolute percentage of difference of->
Figure BDA0002634228320000233
Will P Df And P Db With a preset absolute value percent difference threshold PD th Comparing when PD f <PD th At the time, judge B k =R f The method comprises the steps of carrying out a first treatment on the surface of the When PD b <PD th At the time, judge B k =R b The method comprises the steps of carrying out a first treatment on the surface of the When PD f <PD th And PD b <PD th When they are not satisfied, calculate B k M samples of (2) and P bkf And P bkb Absolute percentage of difference of->
Figure BDA0002634228320000234
And->
Figure BDA0002634228320000235
(i from 1 to M), when PD kfi <PD th When using P bkf Determining the result of the sampling value V (k, i) as "1" or "0"; when PD kbi <In PDth, P is used bkb Determining the result of the sampling value V (k, i) as "1" or "0"; when P D kfi <PD th And PD kbi <PD th If none of them is satisfied, the determination sample value V (k, i) is discarded. Counting the M sampling judgment results, and when the judgment of M sampling values is 1, the number of times is more than +.>
Figure BDA0002634228320000236
At the time of the first bit B k The decision result of (2) is "1"; when it is determined that the number of times of "0" is greater than +.>
Figure BDA0002634228320000237
At the time of the first bit B k The decision result of (2) is "0"; otherwise consider B k Failing to determine, correcting by other means, etc., to obtain the first bit B k Is determined by the decision result of (2).
The first bit B is determined in the above manner k Has the following advantages:
1) The first bit B when the average power of the carrier signal is unchanged k Average power P of forward N bits of (2) bkf And average power P of backward N bits bkb Equal, at this time, R is f Or R is b As the first bit B k And the judgment result of the (a) can be obtained.
2) When the average power of the carrier signal changes, the first bit B can be used for k R of (2) f ≠R b This change in average power was found and passed through PD f And PD b Respectively with PD th Is determined by comparison of R f Or R is b As the first bit B k To correctly determine the first bit B k
3) When the variation of the average power of the carrier signal occurs during the modulation of the first bit, the first bit B is passed through k R of (2) f ≠R b And PD f And PD b With PD th The comparison of (a) cannot directly determine the first bit, and each sampling value of M times of the first bit Bk is respectively compared with the first bit B k Average power P of forward N bits of (2) bkf And average power P of backward N bits bkb After comparisonThen with PD th Compare and count the first bit B k The number of "1" and the first bit B k The decision result of M sampling values is the number of 0' and decides the decision result of the first bit Bk according to the effective mode of the most decision, thereby correctly deciding the first bit B k
S105: obtaining a demodulation result based on a decision result corresponding to each first bit in the envelope detection data stream; the demodulation result is a digital baseband signal which corresponds to the signal to be demodulated and contains specific information and is not modulated.
It should be noted that, in obtaining the decision result corresponding to each first bit, it is preferable that when R occurs in deciding the decision result of a specific bit f ≠R b If the average power of the carrier signal is considered to be changed, after the specific bit is determined, the forward average power of the N specific bits is affected by the change of the average power of the carrier signal, and cannot be used as a determination basis; the backward average power of a certain specific bit reflects the average power after the carrier average power is stable, and can be used as the decision basis of the subsequent N specific bits of the certain specific bit. In this case, P may be used for M sampling values corresponding to a specific bit and m×n sampling values before the specific bit in the stored envelope detection data stream bkb Filling, i.e. P is used for M sampling values corresponding to a specific bit in the envelope detection data stream and M sampling values before bkb The filling process avoids the interference caused by introducing data before the average power change of the carrier signal in the judging process of N bits after a certain specific bit, and can simplify the judging calculation of the subsequent N specific bits.
Here, the obtaining the demodulation result based on the decision result corresponding to each first bit in the envelope detection data stream may refer to forming the decision result corresponding to each first bit in the envelope detection data stream into an orderly digital baseband signal containing specific information without modulation according to the order of obtaining the decision result. The specific information may be any data that is desired to be transmitted through a digital communication system, for example, operation administration and maintenance (OAM, operation Administration and Maintenance) data that is desired to be transmitted through a 5G fronthaul optical transmission channel, which may be generated by people, machines, objects in nature, etc.
The demodulation method of the amplitude shift keying provided by the embodiment of the invention determines the judgment mode matched with the first bit by comparing the forward judgment result and the backward judgment result of the bit to be judged (the first bit), so that the modulation information can be demodulated in real time by dynamically adapting to the average power change of the carrier signal without increasing the complexity of a hardware circuit, and the digital baseband signal can be correctly recovered.
Based on the same inventive concept as that described above, the embodiment of the present invention further provides an amplitude shift keying demodulation device, as shown in fig. 3, which shows a schematic structural diagram of the amplitude shift keying demodulation device provided by the embodiment of the present invention. In this figure, the device comprises: a sampling unit 301, a first obtaining unit 302, a first determining unit 303, a second determining unit 304, and a second obtaining unit 305, wherein,
the sampling unit 301 is configured to sample the envelope signal according to a set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer;
the first obtaining unit 302 is configured to obtain a first average value of forward N bits of a first bit, and obtain a second average value of backward N bits of the first bit; the first bit is any one bit of the plurality of bits; wherein N is a positive integer;
the first determining unit 303 is configured to determine a forward decision result of the first bit based on the first average value and M sampling values of the first bit, and determine a backward decision result of the first bit based on the second average value and M sampling values of the first bit;
The second determining unit 304 is configured to determine a decision manner matched with the first bit based on the forward decision result and the backward decision result; the judging mode is used for indicating a judging result matched with the first bit;
the second obtaining unit 305 is configured to obtain a demodulation result based on a decision result corresponding to each first bit in the envelope detection data stream; the demodulation result is a digital baseband signal which corresponds to the signal to be demodulated and contains specific information and is not modulated.
In some embodiments, the first obtaining unit is specifically configured to: acquiring each sampling value contained in the front continuous N bits adjacent to the first bit from the envelope detection data stream; obtaining the first average value based on each sampling value contained in the front continuous N bits; alternatively, the first obtaining unit is specifically configured to: acquiring each sampling value contained in N bits which are adjacent to the first bit and are continuous behind the first bit from the envelope detection data stream; the second average value is obtained based on each sampling value contained in the subsequent N bits.
In some embodiments, the first determining unit is specifically configured to: comparing the first average value with a first sampling value to obtain a first comparison result, and determining a first number of the first comparison result meeting a first preset condition; the first sampling value is any sampling value in M sampling values contained in the first bit; the first preset condition is that the first average value is smaller than the first sampling value; determining that the forward decision result of the first bit is a first result under the condition that the first number is larger than a first preset threshold value; determining that the forward decision result of the first bit is a second result under the condition that the first number is not greater than a first preset threshold value; alternatively, the first determining unit is specifically configured to: comparing the second average value with the first sampling value to obtain a second comparison result; and determining a second number of the second comparison results satisfying a second preset condition; the second preset condition is that the second average value is smaller than the first sampling value; determining that the backward decision result of the first bit is a first result under the condition that the second number is larger than a second preset threshold value; determining that the backward decision result of the first bit is a second result under the condition that the second number is not larger than a second preset threshold value; wherein the first result is 1; the second result is 0.
In some embodiments, the second determining unit includes a comparing module and a determining module, where the comparing module is configured to compare the forward decision result with the backward decision result to obtain a third comparison result; and the determining module is used for determining a judging mode matched with the first bit based on the third comparison result.
In some embodiments, the determining module is specifically configured to: and under the condition that the third comparison result is that the forward decision result is equal to the backward decision result, determining a decision mode matched with the first bit as follows: and taking the forward decision result or the backward decision result as a decision result matched with the first bit.
In some embodiments, the determining module includes: the device comprises an obtaining submodule, a first determining submodule, a comparing submodule and a second determining submodule, wherein the obtaining submodule is used for obtaining a third average value corresponding to M sampling values contained in the first bit; the first determination submodule is used for determining a first percentage based on the first average value and the third average value and determining a second percentage based on the second average value and the third average value; the comparison sub-module is used for comparing the first percentage with a third preset threshold value to obtain a fourth comparison result, and comparing the second percentage with the third preset threshold value to obtain a fifth comparison result; the second determining submodule is configured to determine a decision mode matched with the first bit based on the fourth comparison result and the fifth comparison result.
In some embodiments, the second determining sub-module is specifically configured to: obtaining an absolute value of a first difference between the first percentage and a third preset threshold and an absolute value of a second difference between the second percentage and the third preset threshold, if the fourth comparison result is that the first percentage is less than the third preset threshold and the fifth comparison result is that the second percentage is less than the third preset threshold; comparing the absolute value of the first difference value with the absolute value of the second difference value to obtain a sixth comparison result; and when the sixth comparison result is that the absolute value of the first difference value is smaller than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result is used as a decision result matched with the first bit; and when the sixth comparison result is that the absolute value of the first difference value is equal to the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result or the backward decision result is used as a decision result matched with the first bit; and when the sixth comparison result is that the absolute value of the first difference value is larger than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: and taking the backward decision result as a decision result matched with the first bit.
In some embodiments, the second determining sub-module is specifically configured to: when the fourth comparison result is that the first percentage is smaller than the third preset threshold value and the fifth comparison result is that the second percentage is not smaller than the third preset threshold value, the forward decision result is used as a decision result matched with the first bit; alternatively, the second determining submodule is specifically configured to: and taking the backward decision result as a decision result matched with the first bit when the fourth comparison result is that the first percentage is not smaller than the third preset threshold value and the fifth comparison result is that the second percentage is smaller than the third preset threshold value.
In some embodiments, the second determining sub-module is specifically configured to: determining a third percentage between a first sampling value and the first average value and determining a fourth percentage between the first sampling value and the second average value if the fourth comparison result is that the first percentage is not less than the third preset threshold and the fifth comparison result is that the second percentage is not less than the third preset threshold; the first sampling value is any sampling value in M sampling values contained in the first bit; comparing the third percentage with the third preset threshold to obtain a seventh comparison result, and comparing the fourth percentage with the third preset threshold to obtain an eighth comparison result; determining a decision result of the first sampling value based on the seventh comparison result and the eighth comparison result; determining that the judgment result of the first sampling value is a third number of first results and the judgment result of the first sampling value is a fourth number of second results; determining a decision mode matched with the first bit based on the third quantity and the fourth quantity, wherein the sum of the third quantity and the fourth quantity is not more than M; wherein the first result is 1; the second result is 0.
In some embodiments, the second determination submodule is further specifically configured to: and under the condition that the third quantity is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the first result is used as a judging result matched with the first bit; and under the condition that the fourth number is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the second result is used as a judging result matched with the first bit; outputting prompt information under the condition that the third quantity is not larger than a fourth preset threshold value and the fourth quantity is not larger than the fourth preset threshold value; the hint information is used to indicate a demodulation failure for the first bit.
The amplitude shift keying demodulation device provided by the embodiment of the invention also determines the judgment mode matched with the first bit by comparing the forward judgment result and the backward judgment result of the bit to be judged (the first bit), so that the modulation information can be demodulated in real time by dynamically adapting to the average power change of the carrier signal without increasing the complexity of a hardware circuit, and the digital baseband signal can be correctly recovered. The word meaning here and how the decision mode of determining the match with the first bit by comparing the forward decision result and the backward decision result of the bit to be decided (the first bit) have been described in detail above, and will not be described in detail here.
The embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method embodiment described above, and the storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
The embodiment of the invention also provides an amplitude shift keying ASK demodulation device, which comprises: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is adapted to perform the steps of the above-described method embodiments stored in the memory when the computer program is run.
Fig. 4 is a schematic diagram of a hardware structure of an amplitude shift keying ASK demodulation device according to an embodiment of the present invention, and the amplitude shift keying ASK demodulation device 40 includes: the at least one processor 401, the memory 402, and optionally the amplitude shift keying ASK demodulation device 40 may further comprise at least one communication interface 403, the various components in the amplitude shift keying ASK demodulation device 40 being coupled together by a bus system 404, it being understood that the bus system 404 is used to enable a connected communication between these components. The bus system 404 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 404 in fig. 4.
It is to be appreciated that memory 402 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable PrograMMable Read-Only Memory), magnetic random access Memory (FRAM, ferroMagNetic Random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct RaMbus Random Access Memory). The memory 402 described in embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 402 in an embodiment of the present invention is used to store various types of data to support the operation of the amplitude shift keying ASK demodulation device 40. Examples of such data include: any computer program for operating on the amplitude shift keying ASK demodulation device 40, such as an implementation of determining a decision means matching the first bit based on the forward decision result and the backward decision result, etc., may be contained in the memory 402.
The method disclosed in the above embodiment of the present invention may be applied to the processor 401 or implemented by the processor 401. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general purpose processor, a digital signal processor (DSP, digital SigNal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the invention can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium having memory and a processor reading information from the memory and performing the steps of the method in combination with hardware.
In an exemplary embodiment, the amplitude shift keying ASK demodulation Device 40 may be implemented by one or more application specific integrated circuits (ASIC, applicatioN Specific INtegrated Circuit), DSPs, programmable Logic devices (PLD, prograMMable Logic devices), coMplex programmable Logic devices (CPLDs, coMplex PrograMMable Logic Device), field Programmable Gate Arrays (FPGAs), field-PrograMMable Gate Array), general purpose processors, controllers, microcontrollers (MCUs, micro CoNtroller UNit), microprocessors (microprocessors), or other electronic elements for performing the methods described above.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise. The units described as separate units may or may not be physically separate, and units 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.

Claims (13)

1. A method for demodulating an amplitude shift keying ASK, the method comprising:
sampling the envelope signal according to the set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer;
obtaining a first average of the preceding consecutive N bits adjacent to the first bit and a second average of the following consecutive N bits adjacent to the first bit; the first bit is any one bit of the plurality of bits; wherein N is a positive integer;
determining a forward decision result of the first bit based on the first average value and the M sample values of the first bit, and determining a backward decision result of the first bit based on the second average value and the M sample values of the first bit;
determining a decision mode matched with the first bit based on the forward decision result and the backward decision result; the judging mode is used for indicating a judging result matched with the first bit;
Obtaining a demodulation result based on a decision result corresponding to each first bit in the envelope detection data stream; the demodulation result is a digital baseband signal which corresponds to the signal to be demodulated and contains specific information and is not modulated.
2. The method of claim 1, wherein the obtaining a first average of forward N bits of the first bit comprises:
acquiring each sampling value contained in the front continuous N bits adjacent to the first bit from the envelope detection data stream;
obtaining the first average value based on each sampling value contained in the front continuous N bits;
correspondingly, the obtaining the second average value of the backward N bits of the first bit includes:
acquiring each sampling value contained in N bits which are adjacent to the first bit and are continuous behind the first bit from the envelope detection data stream;
the second average value is obtained based on each sampling value contained in the subsequent N bits.
3. The method of claim 1, wherein the determining the forward decision result for the first bit based on the first average value and the M sample values for the first bit comprises:
Comparing the first average value with a first sampling value to obtain a first comparison result, and determining a first number of the first comparison result meeting a first preset condition; the first sampling value is any sampling value in M sampling values contained in the first bit; the first preset condition is that the first average value is smaller than the first sampling value;
determining that the forward decision result of the first bit is a first result under the condition that the first number is larger than a first preset threshold value;
determining that the forward decision result of the first bit is a second result under the condition that the first number is not greater than a first preset threshold value;
correspondingly, the determining the backward decision result of the first bit based on the second average value and the M sampling values of the first bit includes:
comparing the second average value with the first sampling value to obtain a second comparison result; and determining a second number of the second comparison results satisfying a second preset condition; the second preset condition is that the second average value is smaller than the first sampling value;
determining that the backward decision result of the first bit is a first result under the condition that the second number is larger than a second preset threshold value;
Determining that the backward decision result of the first bit is a second result under the condition that the second number is not larger than a second preset threshold value;
wherein the first result is 1; the second result is 0.
4. The method of claim 1, wherein the determining a decision pattern matching the first bit based on the forward decision result and the backward decision result comprises:
comparing the forward decision result with the backward decision result to obtain a third comparison result; and determining a decision mode matched with the first bit based on the third comparison result.
5. The method of claim 4, wherein, in the case where the third comparison result is that the forward decision result is equal to the backward decision result, the determining a decision manner matched with the first bit based on the third comparison result, comprises:
the decision mode for determining the match with the first bit is: and taking the forward decision result or the backward decision result as a decision result matched with the first bit.
6. The method of claim 4, wherein, in the case where the third comparison result is that the forward decision result is not equal to the backward decision result, the determining a decision manner matched with the first bit based on the third comparison result, comprises:
Obtaining a third average value corresponding to M sampling values contained in the first bit;
determining a first percentage based on the first average and the third average, and determining a second percentage based on the second average and the third average;
comparing the first percentage with a third preset threshold value to obtain a fourth comparison result, and comparing the second percentage with the third preset threshold value to obtain a fifth comparison result;
and determining a judging mode matched with the first bit based on the fourth comparison result and the fifth comparison result.
7. The method of claim 6, wherein, in a case where the fourth comparison result is that the first percentage is less than the third preset threshold and the fifth comparison result is that the second percentage is less than the third preset threshold, the determining the decision means matching the first bit corresponds to the fourth comparison result comprises:
acquiring an absolute value of a first difference value between the first percentage and a third preset threshold value and an absolute value of a second difference value between the second percentage and the third preset threshold value;
comparing the absolute value of the first difference value with the absolute value of the second difference value to obtain a sixth comparison result;
And when the sixth comparison result is that the absolute value of the first difference value is smaller than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result is used as a decision result matched with the first bit;
and when the sixth comparison result is that the absolute value of the first difference value is equal to the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: the forward decision result or the backward decision result is used as a decision result matched with the first bit;
and when the sixth comparison result is that the absolute value of the first difference value is larger than the absolute value of the second difference value, determining a judgment mode matched with the first bit is as follows: and taking the backward decision result as a decision result matched with the first bit.
8. The method of claim 6, wherein, in a case where the fourth comparison result is that the first percentage is less than the third preset threshold and the fifth comparison result is that the second percentage is not less than the third preset threshold, the determining the decision mode matching the first bit corresponds to the fourth comparison result comprises: the forward decision result is used as a decision result matched with the first bit;
Or, in the case that the fourth comparison result is that the first percentage is not less than the third preset threshold and the fifth comparison result is that the second percentage is less than the third preset threshold, the determining the decision mode matched with the first bit includes: and taking the backward decision result as a decision result matched with the first bit.
9. The method of claim 6, wherein, in a case where the fourth comparison result is that the first percentage is not less than the third preset threshold and the fifth comparison result is that the second percentage is not less than the third preset threshold, the determining the decision mode matching the first bit corresponds to the fourth comparison result comprises:
determining a third percentage between a first sample value and the first average value, and determining a fourth percentage between the first sample value and the second average value; the first sampling value is any sampling value in M sampling values contained in the first bit;
comparing the third percentage with the third preset threshold to obtain a seventh comparison result, and comparing the fourth percentage with the third preset threshold to obtain an eighth comparison result;
Determining a decision result of the first sampling value based on the seventh comparison result and the eighth comparison result;
determining that the judgment result of the first sampling value is a third number of first results and the judgment result of the first sampling value is a fourth number of second results;
determining a decision mode matched with the first bit based on the third quantity and the fourth quantity, wherein the sum of the third quantity and the fourth quantity is not more than M;
wherein the first result is 1; the second result is 0.
10. The method of claim 9, wherein the determining a decision way to match the first bit based on the third number and the fourth number comprises:
and under the condition that the third quantity is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the first result is used as a judging result matched with the first bit;
and under the condition that the fourth number is larger than a fourth preset threshold value, determining a judging mode matched with the first bit as follows: the second result is used as a judging result matched with the first bit;
Outputting prompt information under the condition that the third quantity is not larger than a fourth preset threshold value and the fourth quantity is not larger than the fourth preset threshold value; the hint information is used to indicate a demodulation failure for the first bit.
11. A demodulation apparatus for amplitude shift keying ASK, the apparatus comprising: a sampling unit, a first obtaining unit, a first determining unit, a second determining unit and a second obtaining unit, wherein,
the sampling unit is used for sampling the envelope signal according to the set frequency to obtain an envelope detection data stream; the envelope signal is obtained after envelope detection processing of the signal to be demodulated; the envelope detection data stream comprises a plurality of bits; each bit of the plurality of bits contains M sample values; wherein M is a positive integer;
the first obtaining unit is configured to obtain a first average value of N consecutive bits before adjacent to a first bit, and obtain a second average value of N consecutive bits after adjacent to the first bit; the first bit is any one bit of the plurality of bits; wherein N is a positive integer;
the first determining unit is configured to determine a forward decision result of the first bit based on the first average value and M sampling values of the first bit, and determine a backward decision result of the first bit based on the second average value and M sampling values of the first bit;
The second determining unit is configured to determine a decision mode matched with the first bit based on the forward decision result and the backward decision result; the judging mode is used for indicating a judging result matched with the first bit;
the second obtaining unit is configured to obtain a demodulation result based on a decision result corresponding to each first bit in the envelope detection data stream; the demodulation result is a digital baseband signal which corresponds to the signal to be demodulated and contains specific information and is not modulated.
12. A computer readable storage medium, wherein the readable storage medium has a computer program stored thereon; the computer program implementing the steps of the method of any one of claims 1 to 10 when executed by a processor.
13. An amplitude shift keying ASK demodulation device, characterized in that the demodulation device comprises: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is adapted to perform the steps of the method of any of claims 1 to 10 when the computer program is run.
CN202010820401.7A 2020-08-14 2020-08-14 Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium Active CN112104583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010820401.7A CN112104583B (en) 2020-08-14 2020-08-14 Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010820401.7A CN112104583B (en) 2020-08-14 2020-08-14 Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112104583A CN112104583A (en) 2020-12-18
CN112104583B true CN112104583B (en) 2023-05-05

Family

ID=73754428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010820401.7A Active CN112104583B (en) 2020-08-14 2020-08-14 Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112104583B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686844A (en) * 2012-09-04 2014-03-26 北京展讯高科通信技术有限公司 Method and system for demodulating and judging channels and communication system
CN105119864A (en) * 2015-07-10 2015-12-02 东南大学 Symmetrical extended binary phase shift keying modulation and demodulation method
CN110417696A (en) * 2018-04-27 2019-11-05 西南科技大学 A kind of 2ASK signal demodulating method based on accidental resonance

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7995678B2 (en) * 2007-11-28 2011-08-09 Harris Corporation System and method for communicating data using weighted bit soft decisions for differentially encoded phase shift keying

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686844A (en) * 2012-09-04 2014-03-26 北京展讯高科通信技术有限公司 Method and system for demodulating and judging channels and communication system
CN105119864A (en) * 2015-07-10 2015-12-02 东南大学 Symmetrical extended binary phase shift keying modulation and demodulation method
CN110417696A (en) * 2018-04-27 2019-11-05 西南科技大学 A kind of 2ASK signal demodulating method based on accidental resonance

Also Published As

Publication number Publication date
CN112104583A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
EP3175592B1 (en) Orthogonal differential vector signaling codes with embedded clock
JP2016522604A (en) Digital wireless transmission processing
JP2016502354A (en) Enhanced decoding and demapping method and apparatus for QAM data signals
CN108512552A (en) A kind of the decoding system and coding/decoding method of Manchester code
CN112104583B (en) Demodulation method, device and equipment for amplitude shift keying and computer readable storage medium
CN101083513A (en) Communication signal decoding
EP3297240B1 (en) Phase ambiguity processing method and device for quadrature amplitude modulation signal
EP2081341B1 (en) Device and method for correcting a data error in communication path
EP3944575A1 (en) Encoded signal demodulation method, apparatus, device, and computer readable storage medium
CN102265541B (en) Bler estimation method and communication device
CN111800360B (en) FSK software decoding method based on frequency identification
EP3113399A1 (en) Frame bit detector in near field communications
CN111769835A (en) Manchester code decoding method based on FPGA and IEC60044-8 standard
FR3093198A1 (en) Transmission of linked data on I2C bus
CN114598418A (en) Method, device and system applied to encoder data transmission
CN112235221A (en) BPSK signal decoding method and device
WO2010094296A1 (en) Method for decoding manchester code
US20170272208A1 (en) Method for Detecting Sent Sequence, Receiver, and Receiving Device
JP4607997B2 (en) Error handling method
US8737627B2 (en) Electronic device and decoding method of audio data thereof
CN115348141A (en) DSC signal demodulation method and device and storage medium
CN102255632B (en) Adaptive pulse position modulation signal demodulation method
CN112688906B (en) Auto-negotiation method and device
US7292655B2 (en) Apparatus and method and decoding biphase signals
CN109802761B (en) Fault identification method and 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
GR01 Patent grant
GR01 Patent grant