CN106921463A - A kind of anti-interference coding/decoding method and system - Google Patents

A kind of anti-interference coding/decoding method and system Download PDF

Info

Publication number
CN106921463A
CN106921463A CN201510994987.8A CN201510994987A CN106921463A CN 106921463 A CN106921463 A CN 106921463A CN 201510994987 A CN201510994987 A CN 201510994987A CN 106921463 A CN106921463 A CN 106921463A
Authority
CN
China
Prior art keywords
signal
sampled
interference
data
sampled signal
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.)
Granted
Application number
CN201510994987.8A
Other languages
Chinese (zh)
Other versions
CN106921463B (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.)
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 CN201510994987.8A priority Critical patent/CN106921463B/en
Publication of CN106921463A publication Critical patent/CN106921463A/en
Application granted granted Critical
Publication of CN106921463B publication Critical patent/CN106921463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Noise Elimination (AREA)

Abstract

The present invention relates to a kind of anti-interference coding/decoding method and system, methods described includes:Base-band analog signal is sampled to obtain sampled signal;Pretreatment is filtered to sampled signal to remove the interference signal not in frequency band, the sampled signal that acquisition is pre-processed after filtering;The change edge of the sampled signal to pre-processing after filtering is identified generating data signal;The noise signal of data signal is removed to obtain by the data signal of shaping;Data signal by shaping is decoded, to obtain decoded signal and corresponding sampled clock signal;And decoded signal is parsed to generate communication data according to the corresponding sampled clock signal.The anti-interference for FM0 coded data solution code systems can be effectively improved using anti-interference coding/decoding method of the invention, the data receiver performance of system is effectively improved.

Description

A kind of anti-interference coding/decoding method and system
Technical field
The present invention relates to wireless communication technology field, and encoded more particularly, to spacing between a kind of two-phase FM0 The anti-interference coding/decoding method and system of coded data.
Background technology
At present, electronic charging( ETC , Electronic Toll Collection )System is the autoelectrinic Fare Collection System of main research and extension in the world, and it is usually as the vehicle toll solution under highway and the bridge tunnel environment of heavy traffic.Mobile unit( OBU , On-Board Unit )It is ETC The standard fitting of system, for the front windshield installed in vehicle.When vehicle passes through ETC During track, OBU With roadside unit( RSU , Roadside Unit )Deng device talk, completed by being not required to parking ETC Charge.
In the whole nation ETC Under the main trend of networking, in order to realize each province ETC Equipment interconnects, RSU With OBU Equipment must all is fulfilled for GB GB/T 20851-2007 《Electronic charging DSRC》And Department of Transportation 2011 Year the 13 Number bulletin《Turn pike networked electronic non-parking charge technical requirements》In regulation.Clear stipulaties in above-mentioned standard and bulletin RSU With OBU Between DSRC The coded system of communication is spacing coding between two-phase FM0 Bi-Phase Space Coding ), and the bit rate of up-link is 512kbps , the bit rate of downlink is 256kbps
FM0 The operation principle of coding is to represent logic using level change in single position window.If level does not overturn from the section start upset of position window in the middle of window in place, then it represents that logic " 1 ”.If level except window in place section start overturn, window intermediate flipped also in place then represent logic " 0 ”。
In actual use, wireless transmission signal would generally be influenceed by noises such as surrounding enviroment and equipment and cause signal quality to be deteriorated. FM0 The data-signal of coding generally occurs that interference, the interference of signal burr, signal dutyfactor change, signal amplitude change and bit rate change for being superimposed other frequencies etc. cause the more severe situation of signal.
Due to carry out ETC The producer of equipment production is numerous, and each producer ETC There is certain inconsistency in structure in equipment.So cause ETC The inconsistency of equipment is superimposed with the influence of interference signal so that decoding device needs the decoding environment for facing more severe.
At present, usually used coding/decoding method is mainly, first by the base band data after demodulation by obtaining digital signal waveform after hardware comparator or directly using integrated chip obtaining digital signal waveform, then made decisions using selected judgement moment and decision threshold, according to signal a position( bit )Whether there is upset in time to determine to be somebody's turn to do bit For 0 Or 1 .This method signal environment it is relatively severe and disturb it is stronger in the case of, the bit error rate will be caused to rise, and cause call duration time to increase or even communication failure.
Therefore, needing one kind can to overcome in the prior art ETC The coding/decoding method and system of the influence of the inconsistency and interference signal of equipment, the anti-interference for effectively strengthening decoding algorithm and the success rate for improving communication.
The content of the invention
In order to solve the above problems, the present invention Propose a kind of FM0 The anti-interference coding/decoding method of coded data, using a series of filtering and shaping measure, can effectively strengthen the anti-interference of decoding algorithm, improve the success rate of communication.
According to the first aspect of the invention, there is provided a kind of anti-interference coding/decoding method, including:
Base-band analog signal is sampled to obtain sampled signal;
Pretreatment is filtered to sampled signal to remove the interference signal not in frequency band, the sampled signal that acquisition is pre-processed after filtering;
The change edge of the sampled signal to pre-processing after filtering is identified generating data signal;
The noise signal of data signal is removed to obtain by the data signal of shaping;
Data signal by shaping is decoded, to obtain decoded signal and corresponding sampled clock signal;And
Decoded signal is parsed to generate communication data according to the corresponding sampled clock signal
Preferably, exist Base-band analog signal is sampled before obtaining sampled signal, primary signal to be demodulated to obtain base-band analog signal.
Preferably, The change edge of the sampled signal to pre-processing after filtering is identified including:Signal value according to the continuous sampling point to sampled signal judges, determines that sampled signal is in first transition or last transition.
Preferably, wherein When signal value of the sampled signal in first transition and subsequent continuous sampling point is changed into constantly reducing, judge whether the amount that signal value reduces reaches change threshold, the upset of sampled signal is determined if change threshold is reached;
When signal value of the sampled signal in last transition and subsequent continuous sampling point is changed into constantly increasing, judge whether the increased amount of signal value reaches change threshold, the upset of sampled signal is determined if change threshold is reached.
Preferably, also include The communication data is stored.
According to another aspect of the present invention, there is provided a kind of Anti-interference decoding device , Including:
AD Sampling unit, is sampled to obtain sampled signal to base-band analog signal;
Filter preprocessing unit, pretreatment is filtered to sampled signal to remove the interference signal not in frequency band, the sampled signal that acquisition is pre-processed after filtering;
Digital comparator unit, the change edge of the sampled signal to pre-processing after filtering is identified generating data signal;
Shaping unit, removes the noise signal of data signal to obtain by the data signal of shaping;
Signal decoding unit, decodes to the data signal by shaping, to obtain decoded signal and corresponding sampled clock signal;And
Data resolution unit, is parsed to generate communication data according to the corresponding sampled clock signal to decoded signal
Preferably, it is described Anti-interference decoding device with Modem is connected, the modem Primary signal is demodulated to obtain base-band analog signal, and the base-band analog signal is sent to anti-interference decoding device AD Sampling unit.
Preferably, The change edge of sampled signal of the digital comparator unit to pre-processing after filtering is identified including:Signal value according to the continuous sampling point to sampled signal judges, determines that sampled signal is in first transition or last transition..
Preferably, wherein When signal value of the sampled signal in first transition and subsequent continuous sampling point is changed into constantly reducing, judge whether the amount that signal value reduces reaches change threshold, the upset of sampled signal is determined if change threshold is reached;
When signal value of the sampled signal in last transition and subsequent continuous sampling point is changed into constantly increasing, judge whether the increased amount of signal value reaches change threshold, the upset of sampled signal is determined if change threshold is reached.
Preferably, the anti-interference decoding device also includes memory cell, the memory cell The communication data is stored.
Brief description of the drawings
By reference to the following drawings, illustrative embodiments of the invention can be more fully understood by:
Figure 1 It is the structural representation of the anti-interference solution code system according to the preferred embodiment for the present invention;
Figure 2 It is the schematic diagram of the signal of filter preprocessing cell processing according to the preferred embodiment for the present invention;
Figure 3 It is the schematic diagram of the signal according to the treatment of the digital comparator unit of the preferred embodiment for the present invention;
Figure 4 It is the schematic diagram of the signal according to the treatment of the shaping unit of the preferred embodiment for the present invention;
Figure 5 It is the schematic diagram of the signal according to the treatment of the signal decoding unit of the preferred embodiment for the present invention;And
Figure 6 It is the flow chart of the anti-interference coding/decoding method according to the preferred embodiment for the present invention.
Specific embodiment
With reference now to accompanying drawing, introduce illustrative embodiments of the invention, but, the present invention can be implemented with many different forms, and it is not limited to embodiment described herein, these embodiments are provided it are to disclose at large and fully the present invention, and the scope of the present invention is fully passed on to person of ordinary skill in the field.It is not limitation of the invention for the term in the illustrative embodiments that are illustrated in the accompanying drawings.In the accompanying drawings, identical unit / Element uses identical reference.
Unless otherwise indicated, term used herein(Including scientific and technical terminology)Have to person of ordinary skill in the field and common understand implication.Further it will be understood that the term limited with usually used dictionary, being appreciated that the linguistic context in field associated therewith has consistent implication, and is not construed as Utopian or excessively formal meaning.
Figure 1 It is the anti-interference solution code system according to the preferred embodiment for the present invention 100 Structural representation.As schemed 1 It is shown, anti-interference solution code system 100 Including: AD Sampling unit 101 , filter preprocessing unit 102 , digital comparator unit 103 , shaping unit 104 , signal decoding unit 105 , data parsing 106 And memory cell 107 .Preferably, anti-interference solution code system 100 Using A series of filtering and shaping measure, can effectively strengthen the anti-interference of decoding algorithm and improve the success rate of communication.
Preferably, AD Sampling unit 101 Base-band analog signal to being obtained after demodulation is sampled to obtain sampled signal.Preferably, anti-interference solution code system 100 Also include modem module(Figure 1 Not shown in ), for the primary signal for receiving to be modulated or is demodulated.Modem module is demodulated to obtain base-band analog signal to the primary signal for receiving.Preferably, in order to as far as possible control in reduced levels the distortion level of primary signal, AD Sampling unit 101 On the basis of nyquist sampling theorem is met, properly increase sample frequency to retain the more information of primary signal.
At present, ETC System FM0 Code rate is up to 512Kbps The bit rate of up-link is 512kbps , the bit rate of downlink is 256kbps ).Preferably, in order to subsequent processing units can effectively filter out interference and burr etc., can be by AD Sampling unit 101 Sample frequency be set to 16.384MHz .In this case, it is single bit Time in can sample 32 Individual point.Preferably, the present invention is only with sample frequency 16.384MHz Illustrated as example, one of ordinary skill in the art it will be appreciated that AD Sampling unit 101 Sample frequency could be arranged to any rational numerical value.
Preferably, filter preprocessing unit 102 It is right AD Sampling unit 101 The sampled signal of output is filtered pretreatment to remove the interference of signal of the part not in frequency band.Preferably, filter preprocessing unit 102 Low pass or band logical can be used limit for length's unit impulse response( FIR , Finite Impulse Response )Wave filter.Generally, the speed of the data for decoding as needed, sets band connection frequency and stop-band frequency.The useful signal near the frequency of needs thus can be as much as possible retained in, and the interference signal of other frequencies is effective filtered out.Preferably, the method for being used is included but is not limited to FIR Filtering, signal peak clipping etc., can effective filter out the interference signal not in signal frequency range
Figure 2 It is the schematic diagram of the signal of filter preprocessing cell processing according to the preferred embodiment for the present invention.As schemed 2 Shown, upper waveform is pretreatment unit after filtering 102 The sampled signal waveform for the treatment of, lower waveform be by AD Sampling unit 101 The sampled signal waveform of sampling.Pretreatment unit after filtering 102 Afterwards, the noise and interference signal to other frequencies are effectively filtered out, and obtain smooth data signal waveforms.After pre-processing after filtering, signal is integrated with about 2bit The time delay in cycle, size and the filter preprocessing unit of time delay 102 The computing capability of the filter preprocessing algorithm for being used and the processor for using is relevant.
Preferably, digital comparator unit 103 The change edge of the sampled signal for that will pre-process after filtering is reduced to generate digital signal waveform.Preferably, digital comparator unit 103 Sampled signal is processed for the method using sampling extreme point.Signal value according to the continuous sampling point to sampled signal judges, it is determined that being currently at first transition or last transition.For example, when the signal value of the continuous sampling point of sampled signal constantly increases, then can determine to be currently at first transition, and the signal value for working as the continuous sampling point of sampled signal constantly reduces, then can determine to be currently at last transition.
Preferably, digital comparator unit 103 It is provided for distinguishing change threshold when first transition and last transition alternating change.Change threshold when first transition is reached and last transition alternately changes, carries out the upset of signal.For example, when the first transition that the signal value of the continuous sampling point in sampled signal constantly increases and when the signal value of subsequent continuous sampling point occur and being changed into constantly reducing, judge whether the amount that signal value reduces reaches change threshold, the upset of sampled signal is determined if change threshold is reached.Similarly, when the continuous sampling point in sampled signal the ever-reduced last transition of signal value and when there is the signal value of subsequent continuous sampling point and being changed into constantly increasing, judge whether the increased amount of signal value reaches change threshold, the upset of sampled signal is determined if change threshold is reached.Preferably, rational change threshold can be set according to factors such as signal quality, interference strength, neighbouring environment.Wherein, the amount that signal value reduces refers to the difference of neighbouring highest signal value and currency, and the increased amount of signal value refers to signal value from neighbouring lowest signal value and the difference of currency.
Due to FM0 Data can all be overturn at the edge of signal, therefore initial level is 0 Or 1 Signal is not influenceed in itself.Preferably, digital comparator unit 103 By the way of extreme value judgement, can more efficiently reflect primary signal / The change moment of sampled signal.Because the processing method of digital comparator unit can effectively reflect the change moment of primary signal, therefore the recovery capability to primary signal dutycycle can also be effectively improved.
Figure 3 It is the schematic diagram of the signal according to the treatment of the digital comparator unit of the preferred embodiment for the present invention.As schemed 3 Shown, upper waveform is by digital comparator unit 103 The digital signal waveform obtained after analog-to-digital conversion is carried out, lower waveform is filter preprocessing unit 102 The sampled signal waveform for pre-processing after filtering of output.Due to digital comparator unit 103 Analog-to-digital conversion is carried out by the way of signal trend is judged, the digital signal waveform being converted to can approach the change moment of primary signal, can obtain good dutycycle.
Preferably, shaping unit 104 To digital comparator unit 103 The digital signal waveform of output carries out shaping.Shaping unit 104 Effective filter out digital comparator unit 103 Burr signal in output waveform, can more accurately reduce clean primary signal.Generally, the width of burr signal is less than the width half of normal signal, therefore in order to distinguish normal signal and burr signal, it is necessary to carry out effectively filtering out for burr according to the threshold value for setting, without causing the influence to normal signal in the case of change in duty cycle etc..Preferably, rational threshold value can be set according to factors such as signal quality, interference strength, neighbouring environment.Due to shaping unit 104 Burr in data signal is filtered, the issuable erroneous judgement of subsequent cell can be processed in order to subsequent cell and be reduced.
Figure 4 It is the schematic diagram of the signal according to the treatment of the shaping unit of the preferred embodiment for the present invention.As schemed 4 Shown, the waveform of top is by digital comparator unit 103 The digital signal waveform obtained after analog-to-digital conversion is carried out, the waveform of lower section is by shaping unit 104 Digital signal waveform afterwards.Shaping unit 104 Burr signal for width less than certain threshold value, can effectively be filtered.
Preferably, signal decoding unit 105 To by shaping unit 104 The data signal of shaping is decoded, to obtain decoded signal and corresponding sampled clock signal.Signal decoding unit 105 Sampled clock signal follow the edge of decoded signal to generate, can be effectively prevented from accumulated error and tolerance bit rate skew, while can reduce signal bit rate change to solve code system influence.In addition signal decoding unit 105 Need to judge whether the signal for receiving meets FM0 Coding rule, for being unsatisfactory for FM0 The signal of coding rule, carries out error abnormality processing.
Figure 5 It is the schematic diagram of the signal according to the treatment of the signal decoding unit of the preferred embodiment for the present invention.As schemed 5 Shown, the top is by signal decoding unit 105 The decoded signal of decoding, centre is the sampled clock signal of generation, and bottom is by shaping unit 104 The signal of shaping.Due to signal decoding unit 105 The sampled clock signal for following decoded signal is generated, subsequent cell is obtained decoded signal, can effectively avoided accumulated error and reduce influence of the bit rate to decoding effect.
Preferably, data resolution unit 106 Using the corresponding sampled clock signal to signal decoding unit 105 Decoded signal obtained by decoding is parsed to obtain communication data.Preferably, communication data is communicating pair, for example ETC The data for information exchange transmitted between equipment communication side..Data are parsed and memory cell 106 Carry out data link layer except zero, enter abnormality processing if not being inconsistent normally, string turn is carried out if rule is met and is operated and is stored, be easy to subsequently carry out protocol processes.
Preferably, memory cell 107 To data resolution unit 106 The communication data of parsing is stored.Memory cell 107 Can be various types of storage mediums, for example, ROM Or PROM , flash memory device.
Preferably, anti-interference solution code system 100 By using filter preprocessing unit 102 , digital comparator unit 103 And shaping unit 104 So that the interference free performance of decoding algorithm is significantly improved.After by unit entire cascaded, the anti-interference decoding capability of whole system is set to be significantly improved.The present invention is as a result of above-mentioned anti-interference solution code system 100 , can be in system interference than in the case of more serious, the effective success rate for improving decoding.
Figure 6 It is the anti-interference coding/decoding method according to the preferred embodiment for the present invention 600 Flow chart.Preferably, anti-interference coding/decoding method 600 The influence that interference signal is caused to decoding can be effective filtered out, can effectively be recovered FM0 Coded data.Anti-interference coding/decoding method 600 ABB data are passed through AD Sampled signal obtained by sampling is filtered pretreatment, and the change edge for then comparing the sampled signal that treatment will be pre-processed after filtering using numeral reduce obtaining data signal, so as to form digital signal waveform.Further, method 600 Shape correction is carried out to data signal to be disturbed to filter flash removed, and to being decoded by the data signal after Shape correction.Preferably, when being decoded to data signal, synchronized sampling clock can also be obtained except recovering primary signal.Then, carried out data parsing and stored analysis result with synchronized sampling clock and the primary signal recovered.
Preferably, filter preprocessing can filter the interference of other frequency signals, numeral and compare treatment and effectively the edge of reduction primary signal and keep that dutycycle, Shape correction can filter burr and signal decoding process can avoid accumulated error and tolerate that bit rate offsets.By above-mentioned multiple treatment so that the interference free performance of decoding algorithm is significantly improved.After by each treatment entire cascaded, the anti-interference decoding capability of whole decoding process is set to be significantly improved
As schemed 6 It is shown, anti-interference coding/decoding method 600 From step 601 Place starts.In step 601 , to after demodulation obtain base-band analog signal sampled to obtain sampled signal.Preferably, in step 601 Before, the primary signal for receiving is demodulated to obtain base-band analog signal.Preferably, in order to as far as possible control in reduced levels, step the distortion level of primary signal 601 On the basis of nyquist sampling theorem is met, properly increase sample frequency to retain the more information of primary signal.
Preferably, in order to subsequent treatment can effectively filter out interference and burr etc., sample frequency can be set to 16.384MHz .In this case, it is single bit Time in can sample 32 Individual point.Preferably, the present invention is only with sample frequency 16.384MHz Illustrated as example, one of ordinary skill in the art it will be appreciated that AD Sampling unit 101 Sample frequency could be arranged to any rational numerical value.
Then, into step 602 , pretreatment is filtered to sampled signal to remove the interference of signal of the part not in frequency band.Preferably, in step 602 , can be used low pass or band logical to have limit for length's unit impulse response( FIR , Finite Impulse Response )Wave filter.Generally, the speed of the data for decoding as needed, sets band connection frequency and stop-band frequency.The useful signal near the frequency of needs thus can be as much as possible retained in, and the interference signal of other frequencies is effective filtered out.
As schemed 2 Shown, upper waveform is the sampled signal waveform for pre-processing after filtering, and lower waveform is through the sampled signal data of over-sampling.After pre-processing after filtering, noise and interference signal to other frequencies are effectively filtered out, and obtain smooth data waveform.After pre-processing after filtering, signal is integrated with about 2bit The time delay in cycle, size and the filter preprocessing unit of time delay 102 The computing capability of the filter preprocessing algorithm for being used and the processor for using is relevant.
Then, into step 603 , the change edge of the sampled signal for that will pre-process after filtering is reduced to generate digital signal waveform.Preferably, sampled signal is processed for the method using sampling extreme point.Signal value according to the continuous sampling point to sampled signal judges, it is determined that being currently at first transition or last transition.For example, when the signal value of the continuous sampling point of sampled signal constantly increases, then can determine to be currently at first transition, and the signal value for working as the continuous sampling point of sampled signal constantly reduces, then can determine to be currently at last transition.
Preferably, in step 603 , it is provided for distinguishing change threshold when first transition and last transition alternating change.Change threshold when first transition is reached and last transition alternately changes, carries out the upset of signal.For example, when the first transition that the signal value of the continuous sampling point in sampled signal constantly increases and when the signal value of subsequent continuous sampling point occur and being changed into constantly reducing, judge whether the amount that signal value reduces reaches change threshold, the upset of sampled signal is determined if change threshold is reached.Similarly, when the continuous sampling point in sampled signal the ever-reduced last transition of signal value and when there is the signal value of subsequent continuous sampling point and being changed into constantly increasing, judge whether the increased amount of signal value reaches change threshold, the upset of sampled signal is determined if change threshold is reached.Preferably, rational change threshold can be set according to factors such as signal quality, interference strength, neighbouring environment.Wherein, the amount that signal value reduces refers to the difference of neighbouring highest signal value and currency, and the increased amount of signal value refers to signal value from neighbouring lowest signal value and the difference of currency.
Due to FM0 Data can all be overturn at the edge of signal, therefore initial level is 0 Or 1 Signal is not influenceed in itself.Preferably, in step 603 , by the way of extreme value judgement, can more efficiently reflect primary signal / The change moment of sampled signal.Because the processing method of digital comparator unit can effectively reflect the change moment of primary signal, therefore the recovery capability to primary signal dutycycle can also be effectively improved.
As schemed 3 Shown, upper waveform is the digital signal waveform by being obtained after analog-to-digital conversion, and lower waveform is the sampled signal waveform for pre-processing after filtering.Due to carrying out analog-to-digital conversion by the way of signal trend is judged, the digital signal waveform being converted to can approach the change moment of original signal waveform, can obtain good dutycycle.
Then, into step 604 , shaping is carried out to digital signal waveform, so as to effective filter out the burr signal in digital signal waveform, can more accurately reduce clean primary signal.Generally, the width of burr signal is less than the width half of normal signal, therefore in order to distinguish normal signal and burr signal, it is necessary to carry out effectively filtering out for burr according to the threshold value for setting, without causing the influence to normal signal in the case of change in duty cycle etc..Preferably, rational threshold value can be set according to factors such as signal quality, interference strength, neighbouring environment.Due to step 604 Burr in data signal is filtered, the issuable erroneous judgement of subsequent cell can be processed in order to subsequent cell and be reduced.
As schemed 4 Shown, the waveform of top is the digital signal waveform by being obtained after analog-to-digital conversion, and the waveform of lower section is by shaping unit 104 Digital signal waveform afterwards.Step 604 Burr signal for width less than certain threshold value, can effectively be filtered.
Then, into step 605 , the data signal by Shape correction is decoded, to obtain decoded signal and corresponding sampled clock signal.Sampled clock signal follows the edge of decoded signal to generate, and can be effectively prevented from accumulated error and tolerance bit rate skew, while the change of signal bit rate can be reduced to solving the influence of code system.Additionally, step 605 , it is necessary to judge whether the signal for receiving meets FM0 Coding rule, for being unsatisfactory for FM0 The signal of coding rule, carries out error abnormality processing.
As schemed 5 Shown, the top is the decoded signal by decoding, and centre is the sampled clock signal of generation, and bottom is by the signal of Shape correction.Due in step 605 The sampled clock signal for following decoded signal is generated, subsequent cell is obtained decoded signal, can effectively avoided accumulated error and reduce influence of the bit rate to decoding effect.
Then, into step 606 , decoded signal is parsed and the data to being obtained by parsing is stored.Additionally, step 606 Carry out data link layer except zero, enter abnormality processing if not being inconsistent normally, string turn is carried out if rule is met and is operated and is stored, be easy to subsequently carry out protocol processes.
Using anti-interference coding/decoding method of the invention can effectively improve for FM0 The anti-interference of coded data solution code system, the effective receptivity for improving system.
Above to one kind provided by the present invention FM0 The anti-interference coding/decoding method of coded data is described in detail, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept.Simultaneously for those of ordinary skill in the art, thought of the invention will change in specific embodiments and applications, and in sum, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of anti-interference coding/decoding method, including:
Base-band analog signal is sampled to obtain sampled signal;
Pretreatment is filtered to sampled signal to remove the interference signal not in frequency band, the sampled signal that acquisition is pre-processed after filtering;
The change edge of the sampled signal to pre-processing after filtering is identified generating data signal;
The noise signal of data signal is removed to obtain by the data signal of shaping;
Data signal by shaping is decoded, to obtain decoded signal and corresponding sampled clock signal;And
Decoded signal is parsed to generate communication data according to the corresponding sampled clock signal.
2. method according to claim 1, is being sampled before obtaining sampled signal, primary signal to be demodulated to obtain base-band analog signal to base-band analog signal.
3. method according to claim 1, the change edge of the sampled signal to pre-processing after filtering is identified including:Signal value according to the continuous sampling point to sampled signal judges, determines that sampled signal is in first transition or last transition.
4. method according to claim 3, wherein
When signal value of the sampled signal in first transition and subsequent continuous sampling point is changed into constantly reducing, judge whether the amount that signal value reduces reaches change threshold, the upset of sampled signal is determined if change threshold is reached;
When signal value of the sampled signal in last transition and subsequent continuous sampling point is changed into constantly increasing, judge whether the increased amount of signal value reaches change threshold, the upset of sampled signal is determined if change threshold is reached.
5. method according to claim 1, also including being stored to the communication data.
6. a kind of anti-interference decoding device, including:
AD sampling units, are sampled to obtain sampled signal to base-band analog signal;
Filter preprocessing unit, pretreatment is filtered to sampled signal to remove the interference signal not in frequency band, the sampled signal that acquisition is pre-processed after filtering;
Digital comparator unit, the change edge of the sampled signal to pre-processing after filtering is identified generating data signal;
Shaping unit, removes the noise signal of data signal to obtain by the data signal of shaping;
Signal decoding unit, decodes to the data signal by shaping, to obtain decoded signal and corresponding sampled clock signal;And
Data resolution unit, is parsed to generate communication data according to the corresponding sampled clock signal to decoded signal.
7. equipment according to claim 6, the anti-interference decoding device is connected with modem, the modem is demodulated to primary signal to obtain base-band analog signal, and the base-band analog signal is sent to the AD sampling units of anti-interference decoding device.
8. equipment according to claim 6, the change edge of sampled signal of the digital comparator unit to pre-processing after filtering is identified including:Signal value according to the continuous sampling point to sampled signal judges, determines that sampled signal is in first transition or last transition.
9. equipment according to claim 8, wherein
When signal value of the sampled signal in first transition and subsequent continuous sampling point is changed into constantly reducing, judge whether the amount that signal value reduces reaches change threshold, the upset of sampled signal is determined if change threshold is reached;
When signal value of the sampled signal in last transition and subsequent continuous sampling point is changed into constantly increasing, judge whether the increased amount of signal value reaches change threshold, the upset of sampled signal is determined if change threshold is reached.
10. equipment according to claim 6, the anti-interference decoding device also includes memory cell, and the memory cell is stored to the communication data.
CN201510994987.8A 2015-12-28 2015-12-28 Anti-interference decoding method and system Active CN106921463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510994987.8A CN106921463B (en) 2015-12-28 2015-12-28 Anti-interference decoding method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510994987.8A CN106921463B (en) 2015-12-28 2015-12-28 Anti-interference decoding method and system

Publications (2)

Publication Number Publication Date
CN106921463A true CN106921463A (en) 2017-07-04
CN106921463B CN106921463B (en) 2020-03-13

Family

ID=59456065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510994987.8A Active CN106921463B (en) 2015-12-28 2015-12-28 Anti-interference decoding method and system

Country Status (1)

Country Link
CN (1) CN106921463B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108289012A (en) * 2018-01-25 2018-07-17 南京科远自动化集团股份有限公司 BIT error correction based on correlated characteristic communicates coding/decoding method
WO2019144754A1 (en) * 2018-01-25 2019-08-01 固高科技(深圳)有限公司 Signal receiving method
CN113395070A (en) * 2021-04-12 2021-09-14 上海昱章电气成套设备有限公司 Analog signal processing method and device and computer equipment
WO2021197046A1 (en) * 2020-03-31 2021-10-07 华为技术有限公司 Signal decoding method, decoding circuit, and stylus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0612790A (en) * 1992-06-26 1994-01-21 Matsushita Electric Ind Co Ltd Device for detecting data
CN102420609A (en) * 2011-11-22 2012-04-18 北京遥测技术研究所 Novel IRIG (Inter Range Instrumentation Group)-B alternating current code intelligent decoding method
CN102522996A (en) * 2011-12-08 2012-06-27 北京握奇数据***有限公司 Decoding method and decoding device of FM0 coded data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0612790A (en) * 1992-06-26 1994-01-21 Matsushita Electric Ind Co Ltd Device for detecting data
CN102420609A (en) * 2011-11-22 2012-04-18 北京遥测技术研究所 Novel IRIG (Inter Range Instrumentation Group)-B alternating current code intelligent decoding method
CN102522996A (en) * 2011-12-08 2012-06-27 北京握奇数据***有限公司 Decoding method and decoding device of FM0 coded data

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108289012A (en) * 2018-01-25 2018-07-17 南京科远自动化集团股份有限公司 BIT error correction based on correlated characteristic communicates coding/decoding method
WO2019144754A1 (en) * 2018-01-25 2019-08-01 固高科技(深圳)有限公司 Signal receiving method
CN108289012B (en) * 2018-01-25 2020-08-14 南京科远智慧科技集团股份有限公司 BIT error correction communication decoding method based on correlation characteristics
WO2021197046A1 (en) * 2020-03-31 2021-10-07 华为技术有限公司 Signal decoding method, decoding circuit, and stylus
CN113541852A (en) * 2020-03-31 2021-10-22 华为技术有限公司 Signal decoding method, decoding circuit and stylus pen
CN113541852B (en) * 2020-03-31 2022-06-10 华为技术有限公司 Signal decoding method, decoding circuit and stylus pen
CN113395070A (en) * 2021-04-12 2021-09-14 上海昱章电气成套设备有限公司 Analog signal processing method and device and computer equipment
CN113395070B (en) * 2021-04-12 2024-02-09 上海昱章电气股份有限公司 Analog signal processing method and device and computer equipment

Also Published As

Publication number Publication date
CN106921463B (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN106921463A (en) A kind of anti-interference coding/decoding method and system
CN1171398C (en) Serial data communication between integrated circuits
CN102054157B (en) Multifunctional electronic tag information decoding method and device thereof
CN111786865B (en) Data processing method and equipment
CN102546084A (en) Anti-interference error-correcting and sampling system and method in process of receiving asynchronous serial communication data
CN101931969B (en) Information detection method and device of downlink high-speed shared control channel
CN109388882A (en) A kind of staggeredly matched filtering method suitable for ASIC Design
CN111016973A (en) Interconnection subway beacon positioning processing system
CN104717036A (en) Differential Manchester decoding circuit and system
CN108833321A (en) Code CPM signal code block synchronization method based on differential phase waveform matching
CN201130945Y (en) Apparatus capable of modulating and demodulating with variable speed
CN102055481B (en) Method and device for decoding FM0 and FM0 codes
CN100358312C (en) Modulator-demodulator based on single chip machine and its method of realizing HART protocol signal transmission
CN103731237A (en) Biphase-space-code-oriented decoding method, device, equipment and communication system
CN102932103B (en) A kind of message transmission rate adaptive reception method based on digital transformer substation
CN105653489A (en) MIL (Military)_STD(Standard)_1553 bus analysis and triggering method
CN101888267B (en) Base band receiver of base station in digital wireless trunking communication system based on TDMA (Time Division Multiple Address) technique and signal processing method thereof
CN102957503A (en) MMC (Multi Media Card) code type data decoding method applicable to different duty ratios
CN211406003U (en) Decoding system of Manchester code
CN113438052A (en) Signal decoding method, device, electronic equipment and storage medium
CN101540656A (en) Decoding device and decoding method used for intermittent balise of CTCS
CN104009825A (en) FM0 coded data decoding device for ETC system
KR101181970B1 (en) New Manchester Decoding Method and Apparatus for Line Coding
CN112217520B (en) Method and system for decoding FM0 encoded data of ETC
CN111262652B (en) Method and system for decoding FM0 code based on edge detection

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