CN110890926A - Decoding method and device - Google Patents

Decoding method and device Download PDF

Info

Publication number
CN110890926A
CN110890926A CN201811066520.7A CN201811066520A CN110890926A CN 110890926 A CN110890926 A CN 110890926A CN 201811066520 A CN201811066520 A CN 201811066520A CN 110890926 A CN110890926 A CN 110890926A
Authority
CN
China
Prior art keywords
zero point
determining
time
value
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811066520.7A
Other languages
Chinese (zh)
Inventor
万维逸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811066520.7A priority Critical patent/CN110890926A/en
Publication of CN110890926A publication Critical patent/CN110890926A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/21Monitoring; Testing of receivers for calibration; for correcting measurements

Abstract

The invention discloses a decoding method and a decoding device, which are used for solving the problem of error code increase caused by zero drift of baseband signals. The method comprises the following steps: determining a zero point in a baseband signal according to an extreme point in the baseband signal; the following steps are performed for each zero point determined in turn: determining the time interval between the zero point and the adjacent previous target zero point; judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, otherwise, determining the zero point as a target zero point; and decoding according to each determined target zero point.

Description

Decoding method and device
Technical Field
The present invention relates to the field of decoding technologies, and in particular, to a decoding method and apparatus.
Background
Radio Frequency Identification (RFID) technology is a communication technology that can identify a specific target by Radio signals and read and write related data without mechanical or optical contact between an Identification system and the specific target. Structurally, RFID is a simple wireless system with only two basic devices that are used to control, detect and track objects. The system comprises: a reader and a plurality of transponders. The reader receives the signal reflected by the transponder, restores the original signal through processing the signal, and then the protocol processing unit in the reader analyzes the signal, so that corresponding operation is performed.
The RFID digital baseband signal part, especially the decoding part, has a great influence on the operation performance of the system. Because the baseband signal is obtained after the radio frequency signal passes through the radio frequency circuit, the radio frequency circuit can cause the jump edge of the baseband signal to show obvious charging and discharging phenomena because of containing a large number of analog circuits such as capacitors and the like, and the jump edge of the baseband signal can also change due to the difference of devices and different charging and discharging time, and decoding can cause error codes when the change is serious. As shown in fig. 1, assuming that the signal is encoded by fm0, the signal is encoded as "1" if it is not inverted within one symbol period according to the fm0 encoding rule, otherwise, it is encoded as "0" if it is inverted within one symbol period. The original waveform of the baseband signal is shown in a, but after charging and discharging, the waveform is changed into b, and at this time, through zero point judgment, the zero point position appears in the middle of the code element period, which shows that when the signal is inverted, decoding errors occur.
Disclosure of Invention
The embodiment of the invention provides a decoding method and a decoding device, which are used for solving the problems that a baseband signal generates a zero drift phenomenon and influences the subsequent decoding effect.
The embodiment of the invention provides a decoding method, which comprises the following steps:
determining a zero point in a baseband signal according to an extreme point in the baseband signal;
the following steps are performed for each zero point determined in turn:
determining the time interval between the zero point and the adjacent previous target zero point;
judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, otherwise, determining the zero point as a target zero point;
and decoding according to each determined target zero point.
Further, before determining the time interval between the zero point and the previous target zero point adjacent to the zero point, the method further includes:
judging whether the zero point is the first zero point;
if not, the subsequent steps are carried out.
Further, if the zero point is the first determined zero point, the method further comprises:
the zero point is determined as the target zero point.
The determining the zero point in the baseband signal according to the extreme point in the baseband signal includes:
determining at least three adjacent time points according to a set time interval, and determining a baseband signal value corresponding to each time point;
when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of increasing first and then reducing, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value, and determining the time point corresponding to the maximum value as a zero point;
when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of reduction and increase, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value, and determining the time point corresponding to the minimum value as a zero point.
Further, after determining the baseband signal value corresponding to each time point, the method further includes:
storing the determined values of the baseband signals in corresponding registers according to a time sequence;
when the values of the baseband signals corresponding to the at least three adjacent time points satisfy the conditions of increasing first and then decreasing, determining the maximum value of the values of the baseband signals corresponding to the at least three time points as the maximum value comprises:
aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
when the sequence of each difference value meets the condition of first positive number and then negative number, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value;
when the values of the baseband signals corresponding to the at least three adjacent time points satisfy the conditions of decreasing first and increasing second, determining the minimum value of the values of the baseband signals corresponding to the at least three time points as the minimum value includes:
aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
and when the sequence of each difference value meets the condition of first negative number and then positive number, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value.
An embodiment of the present invention provides a decoding apparatus, including:
the first determining module is used for determining a zero point in a baseband signal according to an extreme point in the baseband signal;
a second determining module, configured to perform the following steps for each determined zero point in turn: determining the time interval between the zero point and the adjacent previous target zero point; judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, otherwise, determining the zero point as a target zero point;
and the decoding module is used for decoding according to each determined target zero point.
Further, the second determining module is further configured to determine whether the zero point is a first zero point determined before the time interval between the zero point and a previous target zero point adjacent to the zero point is determined; if not, the time interval between the zero point and the previous target zero point adjacent to the zero point is determined.
Further, the second determining module is further configured to determine the zero point as a target zero point if the zero point is the first determined zero point.
Further, the first determining module is specifically configured to determine at least three adjacent time points according to a set time interval, and determine a baseband signal value corresponding to each time point; when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of increasing first and then reducing, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value, and determining the time point corresponding to the maximum value as a zero point; when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of reduction and increase, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value, and determining the time point corresponding to the minimum value as a zero point.
Further, the first determining module is specifically configured to store the determined values of the baseband signals in corresponding registers according to a time sequence; aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
when the sequence of each difference value meets the condition of first positive number and then negative number, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value; and when the sequence of each difference value meets the condition of first negative number and then positive number, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value.
The embodiment of the invention provides a decoding method and a device, wherein the method determines zero points in a baseband signal according to extreme points in the baseband signal, and the process of determining whether the zero point is a target zero point or not for each zero point comprises the following steps: determining the time interval between the zero point and the adjacent previous target zero point; and judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, and otherwise, determining the zero point as a target zero point. And decoding according to each determined target zero point. In the embodiment of the invention, whether each zero point is a zero point caused by jitter is judged according to whether the time interval between the zero point and the previous target zero point of each zero point is smaller than a set threshold value, the zero point caused by jitter is removed, decoding is carried out according to the residual target zero point, the zero point generating drift is eliminated, and the error rate is effectively reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram illustrating a prior art signal inversion;
FIG. 2 is a schematic diagram of a decoding process according to an embodiment of the present invention;
fig. 3 is a detailed flowchart of a decoding method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a complete operation process of a decoder according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a decoding apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 2 is a schematic diagram of a decoding process provided in an embodiment of the present invention, where the decoding process includes the following steps:
s201: and determining a zero point in the baseband signal according to the extreme point in the baseband signal.
Because the original baseband signal will change after the charge and discharge process of the radio frequency circuit, specifically, the jump edge changes, the zero point also drifts. Although the jump edge changes, the extreme value does not change, and the position where the extreme value appears is the zero point position, so the zero point of the baseband signal is determined according to the extreme point of the baseband signal.
The method is applied to a baseband decoder, in order to determine a zero point in a baseband signal, in the embodiment of the present invention, an extreme point is first determined, where the extreme point includes a maximum point and a minimum point, and an implementation method in the prior art may be adopted when determining the extreme point in the baseband signal, which is not described in detail in the embodiment of the present invention.
And after the extreme points are determined, taking the time point corresponding to each extreme point as a zero point.
S202: the following steps are performed for each zero point determined in turn: determining the time interval between the zero point and the adjacent previous target zero point; and judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, and otherwise, determining the zero point as a target zero point.
Because the zero drift problem may occur due to the influence of the radio frequency front end analog device in the baseband decoder, the determined zero may not be a true zero for decoding, and in the embodiment of the present invention, each zero is determined to determine whether the zero is a target zero, that is, whether the zero is a true zero.
The specific judgment method for each zero point is as follows: judging the current zero point according to the time interval delta t between the current zero point and the previously determined target zero point, if the time interval delta t is smaller than a set threshold value, considering the zero point as the zero point caused by the jitter, and removing the zero point; if the time interval Δ t is greater than or equal to the set threshold, the zero point is considered to be the target zero point.
In a specific implementation, the set threshold is an empirical value obtained through a large number of experiments.
S203: and decoding according to each determined target zero point.
After the target zero point is determined, the process of decoding by the baseband decoder is the prior art, and is not described in detail in the embodiment of the present invention.
In the embodiment of the invention, the zero point of the baseband signal is determined through the extreme point of the baseband signal aiming at each zero point, the zero point generated by jitter is removed through the set threshold value, the target zero point is determined, and decoding is carried out according to the target zero point, so that the probability of generating error codes is relatively lower compared with a decoding method without zero point recovery.
Example 2:
in order to make the determined target zero point more accurate, and generally when decoding the baseband signal, the first zero point is not a zero point caused by jitter, and therefore, to further ensure the accuracy of decoding, on the basis of the above embodiment, before determining the time interval between the zero point and the previous target zero point adjacent to the zero point, the method further includes:
judging whether the zero point is the first zero point;
if not, the subsequent steps are carried out.
Further, if the zero point is the first determined zero point, the method further comprises:
the zero point is determined as the target zero point.
After all the zero points of the baseband signal are determined, taking the first zero point as a target zero point, and adopting a time interval for determining the zero point and the previous target zero point adjacent to the zero point for the rest zero points; and judging whether the time interval is smaller than a set threshold value, if so, considering the zero point as a zero point caused by the jitter, removing the zero point, and otherwise, determining the zero point as a target zero point.
Example 3:
for detecting an extreme value, on the basis of the foregoing embodiments, in an embodiment of the present invention, the determining a zero point in the baseband signal according to an extreme point in the baseband signal includes:
determining at least three adjacent time points according to a set time interval, and determining a baseband signal value corresponding to each time point;
when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of increasing first and then reducing, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value, and determining the time point corresponding to the maximum value as a zero point;
when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of reduction and increase, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value, and determining the time point corresponding to the minimum value as a zero point.
The extreme value is in a neighborhood, if the value corresponding to the point is the maximum value in the neighborhood, the value corresponding to the point is a maximum value, and the point is a maximum value point; if the corresponding value of the point is the minimum value in the neighborhood, the corresponding value of the point is a minimum value, and the point is a minimum value point. In order to indicate that the value corresponding to the point is the maximum value or the minimum value in the neighborhood, in the embodiment of the present invention, at least three values of the baseband signal corresponding to the point in time are required to determine the extremum.
Taking the values of the baseband signals corresponding to the three time points as an example, when the value corresponding to the second time point is larger than the value corresponding to the first time point and the value corresponding to the third time point is smaller than the value corresponding to the second time point, the condition of increasing and then reducing is met, at the moment, the value of the baseband signal corresponding to the second time point is a maximum value, and the second time point is a maximum value point; on the contrary, when the value corresponding to the second time point is smaller than the value corresponding to the first time point, and the value corresponding to the third time point is larger than the value corresponding to the second time point, the condition of reducing first and then increasing is satisfied, at this time, the value of the baseband signal corresponding to the second time point is the minimum value, and the second time point is the minimum value point.
Preferably, when the values of the baseband signal corresponding to the five time points are adopted, the condition that the values are changed by increasing and then decreasing or decreasing and then increasing can be better embodied, so that a better implementation mode is to adopt the values corresponding to the five time points to detect the extreme value of the baseband signal. When the numerical value corresponding to the third time point is larger than the numerical value corresponding to the second time point, the numerical value corresponding to the second time point is larger than the numerical value corresponding to the first time point, the numerical value corresponding to the fourth time point is smaller than the numerical value corresponding to the third time point, and the numerical value corresponding to the fifth time point is smaller than the numerical value corresponding to the fourth time point, at the moment, the numerical value of the third time point meets the condition of increasing and reducing firstly, then the numerical value corresponding to the third time point is the maximum value, and the third time point is the maximum value point. On the contrary, when the numerical value corresponding to the third time point satisfies the condition of decreasing first and then increasing, the numerical value corresponding to the third time point is a minimum value, and the third time point is a minimum value point.
Example 4:
in order to compare the magnitudes of the values corresponding to the baseband signals, on the basis of the foregoing embodiments, in an embodiment of the present invention, after determining the baseband signal value corresponding to each time point, the method further includes:
storing the determined values of the baseband signals in corresponding registers according to a time sequence;
when the values of the baseband signals corresponding to the at least three adjacent time points satisfy the conditions of increasing first and then decreasing, determining the maximum value of the values of the baseband signals corresponding to the at least three time points as the maximum value comprises:
aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
when the sequence of each difference value meets the condition of first positive number and then negative number, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value;
when the values of the baseband signals corresponding to the at least three adjacent time points satisfy the conditions of decreasing first and increasing second, determining the minimum value of the values of the baseband signals corresponding to the at least three time points as the minimum value includes:
aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
and when the sequence of each difference value meets the condition of first negative number and then positive number, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value.
When detecting the extreme value, the values of the baseband signals need to be compared. In the specific implementation, in order to compare the values of the baseband signals, the values of the baseband signals should be sequentially stored in a set of registers according to the time sequence.
Determining the number of registers according to the number of the collected time points, wherein the specific storage process is as follows: at the moment 1, the acquired baseband signal enters a register 1; at the moment 2, the numerical value of the register 1 enters the register 2, and the newly acquired signal enters the register 1; by analogy, the collected baseband signals are sequentially stored in the register according to the time sequence.
Subtracting the value of the register 2 from the value of the register 1 to obtain a difference value 1, subtracting the value of the register 3 from the value of the register 2 to obtain a difference value 2, and calculating the difference value between each two adjacent registers by analogy. Taking three registers in total as an example, when the difference 1 is greater than 0 and the difference 2 is less than 0, the condition of first positive number and then negative number is met, and the numerical value in the register 2 is the maximum value; on the contrary, when the difference 1 is smaller than 0 and the difference 2 is larger than 0, the condition of first negative number and then positive number is satisfied, and the value in the register 2 is the minimum value.
Fig. 3 is a detailed description of a process of determining a target zero point according to an embodiment of the present invention, and as shown in fig. 3, the detailed description of the process is given by taking baseband signals corresponding to five time points as an example as follows:
the five collected baseband signals are firstly respectively placed in five registers. Specifically, the input baseband signal is uniformly sampled for 5 beats through the register group, and at the moment 1, the sampled baseband signal enters the register REG 1; at time 2, the value of the baseband signal of the register REG1 enters the register REG2, and the newly acquired baseband signal enters the register REG 1; at time 3, the value of the baseband signal of the register REG2 enters the register REG3, the value of the baseband signal of the register REG1 enters the register REG2, and the newly acquired baseband signal enters the register REG 1. And analogizing to collect baseband signals at five moments.
And a comparator is arranged between two adjacent registers and is used for comparing the value of the baseband signal in the two adjacent registers. Aiming at the baseband signals in the five registers, 4 comparators are adopted to respectively calculate the numerical difference of the baseband signals in two adjacent registers, and the specific calculation method is as follows: the difference value 1 is obtained by subtracting the value of the register REG2 from the value of the register REG1, the difference value 2 is obtained by subtracting the value of the register REG3 from the value of the register REG2, and so on, the difference value 3 and the difference value 4 are obtained.
And performing logic judgment on the difference values, determining a maximum value and a minimum value, and further determining a zero point according to time points corresponding to the maximum value and the minimum value. Specifically, when the difference 1 is greater than 0, the difference 2 is greater than 0, the difference 3 is less than 0, and the difference 4 is less than 0, the difference sequence satisfies the condition of positive number first and negative number second, and the value of the baseband signal corresponding to the register REG3 is the maximum value at this time; on the contrary, if the difference 1 is smaller than 0, the difference 2 is smaller than 0, the difference 3 is larger than 0, and the difference 4 is larger than 0, the difference sequence satisfies the condition of first negative number and then positive number, and the value of the baseband signal corresponding to the register REG3 is the minimum value at this time. And determining the time points corresponding to the maximum value and the minimum value as zero points.
And performing de-jitter operation on the determined zero point, wherein the calculation method comprises the steps of judging whether the zero point is a zero point caused by jitter according to the time interval between the zero point and the previous adjacent target zero point, and if not, determining the zero point as the target zero point. Specifically, after all zeros of the baseband signal are obtained according to the above process, the first zero of the baseband signal is determined as the target zero. For each zero point, judging the time interval delta t between the zero point and the previous adjacent target zero point, if the time interval delta t is smaller than a set threshold value, determining the zero point as a zero point caused by jitter, removing the zero point, and calculating whether the next zero point is the target zero point; and if the time interval delta t is larger than or equal to the set threshold, determining the zero point as a target zero point, and calculating whether the next zero point is the target zero point according to the target zero point. And judging all zero points caused by the jitter according to the calculation process, removing the zero points caused by the jitter, and taking the rest zero points as the required target zero points. In a specific implementation, the set threshold may be one symbol period.
For example, fig. 4 is a schematic diagram of a complete operation process of a decoder, wherein the process of determining the target zero point provided by the embodiment of the present invention corresponds to the zero point recovery operation in fig. 4. Where I refers to the in-phase signal of the baseband signal and Q refers to the quadrature signal of the baseband signal. Before determining the target zero point, the following operations are further included, respectively:
firstly, performing down-sampling operation on an in-phase signal I and an orthogonal signal Q of a baseband signal by respectively using an integrator-Comb (CIC) filter and two Half-Band (HB) filters, so that the down-sampled data meets the requirements of a subsequent processing circuit;
and respectively carrying out direct current removing operation on the in-phase signal I and the orthogonal signal Q after down sampling, and removing direct current signals possibly introduced in the signals through the direct current removing operation.
After the zero point recovery operation provided by the embodiment of the present invention determines the target zero point, the following operations are performed according to the target zero point, respectively:
obtaining the time length between the target zero points by adopting zero point judgment operation aiming at the determined target zero points, and using the time length for subsequent decoding operation;
decoding operation is carried out according to the obtained time length between the target zero points;
and after the decoding operation is finished, selecting a correct decoding channel and outputting a decoded signal.
The input baseband signal can be subjected to down sampling operation through the operation process, and a direct current component possibly introduced in the signal is removed through direct current removing operation; and determining a zero point according to the extreme point of the baseband signal, determining whether the zero point is a target zero point according to the time interval between the zero point and the previously determined target zero point, decoding all the target zero points after the zero point is determined according to the time length between the target zero points, and selecting a correct decoding channel to output a decoded signal.
Example 5:
based on the same technical concept, the embodiment of the invention also provides a decoding device, and the device can execute the method embodiment. As shown in fig. 5, the apparatus provided in the embodiment of the present invention mainly includes: a first determining module 501, a second determining module 502, a decoding module 503, wherein: a first determining module 501, configured to determine a zero point in a baseband signal according to an extreme point in the baseband signal;
a second determining module 502, configured to perform the following steps for each determined zero point in turn: determining the time interval between the zero point and the adjacent previous target zero point; judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, otherwise, determining the zero point as a target zero point;
and a decoding module 503, configured to perform decoding according to each determined target zero point.
Further, the first determining module 501 is specifically configured to: determining at least three adjacent time points according to a set time interval, and determining a baseband signal value corresponding to each time point; when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of increasing first and then reducing, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value, and determining the time point corresponding to the maximum value as a zero point; when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of reduction and increase, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value, and determining the time point corresponding to the minimum value as a zero point.
Still further, the first determining module 501 is further configured to: storing the determined values of the baseband signals in corresponding registers according to a time sequence; aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
when the sequence of each difference value meets the condition of first positive number and then negative number, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value; and when the sequence of each difference value meets the condition of first negative number and then positive number, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value.
Further, the second determining module 502 is specifically configured to: before the time interval between the zero point and the adjacent previous target zero point is determined, judging whether the zero point is the first zero point; if not, the time interval between the zero point and the previous target zero point adjacent to the zero point is determined.
Further, the second determining module 502 is further configured to: and if the zero point is the first zero point determined, determining the zero point as a target zero point.
In summary, an embodiment of the present invention provides a decoding method and apparatus, including: determining a zero point in the baseband signal according to the extreme point in the baseband signal; the following steps are performed for each zero point determined in turn: determining the time interval between the zero point and the adjacent previous target zero point; judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, otherwise, determining the zero point as a target zero point; and decoding according to each determined target zero point. By adopting the method provided by the embodiment of the invention, the probability of generating error codes is reduced compared with the method without correcting the zero point.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of decoding, the method comprising:
determining a zero point in a baseband signal according to an extreme point in the baseband signal;
the following steps are performed for each zero point determined in turn:
determining the time interval between the zero point and the adjacent previous target zero point;
judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, otherwise,
determining the zero point as a target zero point;
and decoding according to each determined target zero point.
2. The method of claim 1, wherein prior to determining the time interval between the zero point and its adjacent previous target zero point, the method further comprises:
judging whether the zero point is the first zero point;
if not, the subsequent steps are carried out.
3. The method of claim 2, wherein if the zero is the first zero determined, the method further comprises:
the zero point is determined as the target zero point.
4. The method of claim 1, wherein determining the zero in the baseband signal based on the extreme point in the baseband signal comprises:
determining at least three adjacent time points according to a set time interval, and determining a baseband signal value corresponding to each time point;
when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of increasing first and then reducing, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value, and determining the time point corresponding to the maximum value as a zero point;
when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of reduction and increase, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value, and determining the time point corresponding to the minimum value as a zero point.
5. The method of claim 4, wherein after determining the baseband signal value corresponding to each time point, the method further comprises:
storing the determined values of the baseband signals in corresponding registers according to a time sequence;
when the values of the baseband signals corresponding to the at least three adjacent time points satisfy the conditions of increasing first and then decreasing, determining the maximum value of the values of the baseband signals corresponding to the at least three time points as the maximum value comprises:
aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
when the sequence of each difference value meets the condition of first positive number and then negative number, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value;
when the values of the baseband signals corresponding to the at least three adjacent time points satisfy the conditions of decreasing first and increasing second, determining the minimum value of the values of the baseband signals corresponding to the at least three time points as the minimum value includes:
aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
and when the sequence of each difference value meets the condition of first negative number and then positive number, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value.
6. An apparatus for decoding, the apparatus comprising:
the first determining module is used for determining a zero point in a baseband signal according to an extreme point in the baseband signal;
a second determining module, configured to perform the following steps for each determined zero point in turn: determining the time interval between the zero point and the adjacent previous target zero point; judging whether the time interval is smaller than a set threshold value, if so, removing the zero point, otherwise, determining the zero point as a target zero point;
and the decoding module is used for decoding according to each determined target zero point.
7. The apparatus of claim 6, wherein the second determining module is further configured to determine whether the zero point is the first zero point determined before the time interval between the zero point and the previous target zero point adjacent to the zero point; if not, the time interval between the zero point and the previous target zero point adjacent to the zero point is determined.
8. The apparatus of claim 7, wherein the second determining module is further configured to determine the zero point as a target zero point if the zero point is the first determined zero point.
9. The apparatus according to claim 6, wherein the first determining module is specifically configured to determine at least three adjacent time points according to a set time interval, and determine a baseband signal value corresponding to each time point; when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of increasing first and then reducing, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value, and determining the time point corresponding to the maximum value as a zero point; when the numerical values of the baseband signals corresponding to at least three adjacent time points meet the conditions of reduction and increase, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value, and determining the time point corresponding to the minimum value as a zero point.
10. The apparatus according to claim 6, wherein the first determining module is specifically configured to store the determined values of the baseband signals in corresponding registers in chronological order; aiming at a register for storing numerical values of two adjacent baseband signals in time, subtracting the numerical value in the register before the time from the numerical value in the register after the time to determine a corresponding difference value;
when the sequence of each difference value meets the condition of first positive number and then negative number, determining the maximum value of the numerical values of the baseband signals corresponding to the at least three time points as a maximum value; and when the sequence of each difference value meets the condition of first negative number and then positive number, determining the minimum value of the numerical values of the baseband signals corresponding to the at least three time points as a minimum value.
CN201811066520.7A 2018-09-11 2018-09-11 Decoding method and device Pending CN110890926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811066520.7A CN110890926A (en) 2018-09-11 2018-09-11 Decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811066520.7A CN110890926A (en) 2018-09-11 2018-09-11 Decoding method and device

Publications (1)

Publication Number Publication Date
CN110890926A true CN110890926A (en) 2020-03-17

Family

ID=69745626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811066520.7A Pending CN110890926A (en) 2018-09-11 2018-09-11 Decoding method and device

Country Status (1)

Country Link
CN (1) CN110890926A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005057439A (en) * 2003-08-01 2005-03-03 Akuseru:Kk Band-division type encoding/decoding method and decoding device used for the same
CN101571906A (en) * 2009-06-02 2009-11-04 北京大学深圳研究生院 Decoder and decoding method of RFID receiver
US20100245035A1 (en) * 2005-06-24 2010-09-30 Electronics And Telecommunications Research Institute Electronic tag broadcasting system and broadcasting method using electronic tag
CN103344288A (en) * 2013-06-25 2013-10-09 国家电网公司 Time difference type ultrasonic flowmeter measuring method based on zero point analysis
CN104966113A (en) * 2015-07-27 2015-10-07 威海北洋电气集团股份有限公司 RFID reading-writing system and coding and conflict processing method for label return signal thereof
CN106487477A (en) * 2015-11-30 2017-03-08 无锡华润矽科微电子有限公司 Receiving end signal processing method based on zero passage detection
CN106597423A (en) * 2016-12-07 2017-04-26 南京富岛信息工程有限公司 Train driving locus detection method based on phase-sensitive optical time-domain reflectometer
CN107883880A (en) * 2017-10-30 2018-04-06 曲阜师范大学 The method for retrieving sinusoidal phase modulation laser interference digital signal waveform corner position

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005057439A (en) * 2003-08-01 2005-03-03 Akuseru:Kk Band-division type encoding/decoding method and decoding device used for the same
US20100245035A1 (en) * 2005-06-24 2010-09-30 Electronics And Telecommunications Research Institute Electronic tag broadcasting system and broadcasting method using electronic tag
CN101571906A (en) * 2009-06-02 2009-11-04 北京大学深圳研究生院 Decoder and decoding method of RFID receiver
CN103344288A (en) * 2013-06-25 2013-10-09 国家电网公司 Time difference type ultrasonic flowmeter measuring method based on zero point analysis
CN104966113A (en) * 2015-07-27 2015-10-07 威海北洋电气集团股份有限公司 RFID reading-writing system and coding and conflict processing method for label return signal thereof
CN106487477A (en) * 2015-11-30 2017-03-08 无锡华润矽科微电子有限公司 Receiving end signal processing method based on zero passage detection
CN106597423A (en) * 2016-12-07 2017-04-26 南京富岛信息工程有限公司 Train driving locus detection method based on phase-sensitive optical time-domain reflectometer
CN107883880A (en) * 2017-10-30 2018-04-06 曲阜师范大学 The method for retrieving sinusoidal phase modulation laser interference digital signal waveform corner position

Similar Documents

Publication Publication Date Title
CN113630212B (en) Downsampling method and downsampling device for digital signals
CN102546084A (en) Anti-interference error-correcting and sampling system and method in process of receiving asynchronous serial communication data
CN111786865A (en) Data processing method and equipment
CN110890926A (en) Decoding method and device
CN107708145B (en) Synchronous detection method and synchronous detection equipment
CN112214402B (en) Code verification algorithm selection method, device and storage medium
CN104270155A (en) Manchester code stream reception and anti-interference analysis method
CN115660957A (en) Resampling method, device, equipment and medium for waveform data
US7903004B2 (en) Decoding apparatus and method
JP2016165080A (en) Receiver, determination method, and determination program
US6049478A (en) Digital magnetic read channel and method
CN112235218B (en) Manchester signal decoding method and device
KR101249513B1 (en) Variable Data Rate All Digital clock-data recovery system using oversampling method and the method thereof
US11199836B2 (en) Device and method for monitoring a digital control unit with regard to functional safety, and controller
US8243856B2 (en) Adaptable demodulator
CN104778027A (en) Method and apparatus for computing results from dividing dividends by divisors
JP2017161973A (en) Data storage device and data storage program
CN116086497B (en) Output correction method, device and medium for optical fiber gyroscope under low angular rate based on neural network
CN112445835A (en) Business data processing method and device, network management server and storage medium
CN117240674B (en) FSK demodulation code element width adjustment method and device
CN111860164B (en) Low-speed pacing detection method, device and storage medium
CN107102921B (en) Digital quantity monitoring method for SoC (system on chip) with I/O (input/output) type digital quantity asynchronous port
CN110716747B (en) Program operation efficiency optimization method based on function parameter statistics and terminal equipment
CN105446731A (en) Method and device for command processing
US4441194A (en) Triple bit non-coherent matched filter receiving system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200317

RJ01 Rejection of invention patent application after publication