CN104993877B - A kind of anti-disturbance method and device - Google Patents

A kind of anti-disturbance method and device Download PDF

Info

Publication number
CN104993877B
CN104993877B CN201410152897.XA CN201410152897A CN104993877B CN 104993877 B CN104993877 B CN 104993877B CN 201410152897 A CN201410152897 A CN 201410152897A CN 104993877 B CN104993877 B CN 104993877B
Authority
CN
China
Prior art keywords
data
signal
value
pool
data pool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410152897.XA
Other languages
Chinese (zh)
Other versions
CN104993877A (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.)
PAX Computer Technology Shenzhen Co Ltd
Original Assignee
PAX Computer Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PAX Computer Technology Shenzhen Co Ltd filed Critical PAX Computer Technology Shenzhen Co Ltd
Priority to CN201410152897.XA priority Critical patent/CN104993877B/en
Publication of CN104993877A publication Critical patent/CN104993877A/en
Application granted granted Critical
Publication of CN104993877B publication Critical patent/CN104993877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is applied to field of information processing, there is provided a kind of anti-disturbance method and device, the method include:According to the frequency of predetermined interference signal, it is determined that the frequency acquisition of the pending signal different from the frequency of the interference signal;Process signal is treated according to the frequency acquisition it is acquired and obtains pending signal value;According to the average value of the pending signal value gathered before and after the pending signal value and the collection pending signal value, the signal after being processed.Due to using the frequency acquisition different from the frequency of interference signal, signal can be avoided interference may repeatedly have influence on the defect of signal acquisition, by will gather signal certain hour region aignal averating, and the signal after being processed jointly in itself with pending signal, it is possible to prevente effectively from the influence that interference signal is brought.

Description

A kind of anti-disturbance method and device
Technical field
The invention belongs to field of information processing, more particularly to a kind of anti-disturbance method and device.
Background technology
During information gathering, in order to ensure the accuracy of collection information, is generally required and signal is produced or is gathered During noise signal be removed.
In electron trade, the anti-jamming signal of electronic signature capture is typically removed using filter method, its principle is:It is right In a series of sampled point, judge whether the value deviation of two neighboring sampled point is excessive, if bias is excessive, abandon new sampling The value for arriving.This filter method is generally used for processing substantial amounts of sampled data, and a small amount of doing is contains only in sampled data The situation of signal is disturbed, the excessive sampled point of deviation can be effectively filtered, so that the sampled data of entirety is stablized and smoothed.
But, such filter method still has its defect, and filter algorithm can abandon the sampled point comprising valid data, if Interference signal be timeliness long, periodically, then the filter method can abandon almost all of sampled data, it is impossible to effectively enter The collection of row electronic signal.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of anti-disturbance method, to solve prior art because of interference signal Filtering can cause to abandon the data of collection, so as to the problem of the collection of electronic signal can not be carried out effectively.
The embodiment of the present invention is achieved in that a kind of anti-disturbance method, and methods described includes:
According to the frequency of predetermined interference signal, it is determined that the pending signal different from the frequency of the interference signal Frequency acquisition;
Process signal is treated according to the frequency acquisition it is acquired and obtains pending signal value;
According to the pending signal value gathered before and after the pending signal value and the collection pending signal value Average value, the signal after being processed.
The another object of the embodiment of the present invention is to provide a kind of means for anti-jamming, and described device includes:
Frequency acquisition determining unit, for the frequency according to predetermined interference signal, it is determined that with the interference signal The different pending signal of frequency frequency acquisition;
Collecting unit, is acquired for treating process signal according to the frequency acquisition and obtains pending signal value;
Signal generation unit, for adopted before and after the pending signal value according to the pending signal value and being gathered The average value of the pending signal value of collection, the signal after being processed.
In embodiments of the present invention, according to the frequency of predetermined interference signal, it is determined that the frequency acquisition being different from, After collecting pending signal by the frequency acquisition, by the average of the pending signal that is gathered before and after pending signal value Value and pending signal in itself, the signal after being processed.Due to using the frequency acquisition different from the frequency of interference signal, Signal can be avoided interference may repeatedly have influence on the defect of signal acquisition, the certain hour region of the signal by that will gather Aignal averating, and the signal after being processed jointly in itself with pending signal, it is possible to prevente effectively from what interference signal was brought Influence.
Brief description of the drawings
Fig. 1 is that a kind of anti-disturbance method that first embodiment of the invention is provided realizes flow chart;
Fig. 2 is that a kind of anti-disturbance method that second embodiment of the invention is provided realizes flow chart;
Fig. 3 is that a kind of anti-disturbance method that third embodiment of the invention is provided realizes flow chart;
Fig. 4 is that a kind of anti-disturbance method that fourth embodiment of the invention is provided realizes flow chart;
Fig. 5 is the jamproof implementing circuit structural representation that fourth embodiment of the invention is provided;
The another jamproof implementing circuit structural representation that Fig. 5 a are provided for fourth embodiment of the invention;
Fig. 6 is a kind of structured flowchart of means for anti-jamming that fifth embodiment of the invention is provided.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
May be used primarily for fixing the anti-interference process of the electronic product signal of interfering frequency, an allusion quotation in the embodiment of the present invention The application example of type can be the anti-interference process of POS.With the development of technology, near-field communication(English full name is Near Field Communication, English abbreviation is NFC)The use of technology is more and more universal.
NFC technology is recognized by non-contact radio-frequency(RFID)And Technology Integration differentiation of interconnecting, Combining induction card reader, icah wavw and point-to-point function on one chip, can be in short distance and compatible equipment It is identified and data exchange, its working frequency is 13.56MHz.Airport boarding is can serve as be configured with payment function Checking, gate inhibition's key of mansion, traffic all-purpose card, credit card, Payment Card etc..
When using the POS for being integrated with NFC near field communication (NFC) functions, due to the generation of NFC interference signals, touch screen function is received To very big influence, the normal of influence POS touch-screens is used, it is then desired to one kind can be effective to solve to do with anti-disturbance method Disturb the influence that signal treats process signal.It is specifically described below by embodiment.
Embodiment one:
Fig. 1 shows that a kind of anti-disturbance method that first embodiment of the invention is provided realizes flow, and details are as follows:
In step S101, according to the frequency of predetermined interference signal, it is determined that with the frequency of the interference signal not The frequency acquisition of same pending signal.
Specifically, the frequency of the predetermined interference signal, can according to the configuration of specific product facility and Applied environment is determined, and can be single interfering frequency, or multiple interfering frequencies of different sizes, can also be One interfering frequency of frequency separation.Such as the issuable interference signal of POS, including its integrated NFC near-field communication The interfering frequency of function, and its frequency is about 13.56MHz.In addition, the Wireless Telecom Equipment in residing environment, can Extremely to determine the frequency of the interference source brought by environment greatly, it can be a point value, or an interval value.
The frequency acquisition of the pending signal different from the frequency of the interference signal, it is therein different, can be with For:Frequency acquisition is differed with the frequency of interference signal, i.e. point value of the frequency acquisition not with the frequency of interference signal is identical, or Frequency acquisition is not belonging to the interval of the frequency of interference signal.
A kind of implementation method for being more highly preferred to is, the pending signal different from the frequency of the interference signal is adopted Collection frequency, therein different, Ke Yiwei:According to the advance interfering frequency f for obtainingInterference, select the frequency acquisition of pending signal fCollectionIt is more than fInterference* a, or the frequency acquisition f for selecting pending signalCollectionIt is less than fInterference/ a, and(fInterference-fCollection*a)/fInterference≥ 10%, wherein a are default frequency-selecting threshold value and a is positive integer more than 1, preferably such as can be 10 or whole more than 10 Number.
For example, the frequency of interference signal is 13.56MHz, it is a kind of preferably to be carried out using its more than 10 times frequency acquisition Data acquisition, certainly for interference signal frequency it is larger in itself when, can be using less than 0.1 times of interference signal frequency of frequency It is acquired, preferably ensures the accuracy rate of the data of collection.
In step s 102, process signal is treated according to the frequency acquisition it is acquired and obtains pending signal value.
The frequency acquisition of the pending signal determined by step S101, is acquired to the pending signal, is treated Process signal value.Pending signal described in the present embodiment, including interference signal.The interference signal can be for frequency The interference signal of one fixed value, or the interference signal in a frequency range.
In step s 103, according to the pending signal value and gather what is gathered before and after the pending signal value The average value of pending signal value, the signal after being processed.
In the present embodiment, to realize the removal to interference signal, except being used and interference signal frequency values in collection Outside the frequency acquisition for differing, also including in step S103:To the specific interval homogenizing treatment of data, the specific interval Refer to the interval adjacent with the data of collection.After to specifying the data in interval to average, with reference to the data sheet of collection Body, the signal after can be processed.
The method of the signal after the average value of specified interval data and pending signal value generation treatment, in embodiment Two and embodiment three in will further detailed specific description.
The embodiment of the present invention is according to the frequency of predetermined interference signal, it is determined that the frequency acquisition being different from, by institute State after frequency acquisition collects pending signal, by the average value of the pending signal gathered before and after pending signal value with And pending signal is in itself, the signal after being processed.Due to using the frequency acquisition different from the frequency of interference signal, can be with Avoiding interference signal may repeatedly have influence on the defect of signal acquisition, by will gather signal certain hour region signal Equalization, and the signal after being processed jointly in itself with pending signal, it is possible to prevente effectively from the influence that interference signal is brought.
Embodiment two:
Fig. 2 shows that a kind of anti-disturbance method that second embodiment of the invention is provided realizes flow, and details are as follows:
In step s 201, according to the frequency of predetermined interference signal, it is determined that with the frequency of the interference signal not The frequency acquisition of same pending signal.
In step S202, process signal is treated according to the frequency acquisition it is acquired obtaining pending signal value.
S101 is identical to step S102 for the step of step S201 to step S202 is with described in embodiment one, does not make weight herein Repeat again.
In step S203, foundation can accommodate the n data pool of data, and the data of collection are stored into data successively Pond.
The number n of the data that the capacity of the data pool, i.e. data pool can be accommodated, the frequency acquisition with pending signal It is corresponding, i.e., when frequency acquisition is higher, the number n of the data that data pool can be accommodated also accordingly it is bigger so that more preferably The data that are gathered of receiving, will not cause the data of collection due to treatment not in time, cause the data in data pool to be overflowed.I.e. A kind of preferential mode is:The size of the number n of data can be accommodated in the data pool, the collection according to pending signal is frequently Rate fCollectionIncrease and increase.
In step S204, judge storage to the number m of the data in data pool whether less than n.
Gathered since data, i.e., data initially enter data pool, after data filling is full in data pool, be divided into two kinds of feelings Condition is processed, that is, correspond to two kinds of situations of step S205 and step S206.
In step S205, if storage to the data in data pool number m be less than n, to data pool in every number According to XiCarry out convergence algorithm:X′i=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and will The X ' for calculatingiValue be recorded as X in data pooliValue.
It is specifically described as follows:
It is X by the data markers when first data is carried out into data pool0, now m is 1, can be accommodated less than data pool Number n, according to convergence algorithm formula X 'i=(1/2i)*avg+(1-1/2i)*Xi, obtain X '0=avg, because average value is X0 Itself, therefore X0Value it is constant.
When second data of collection enter data pool, second data that will be gathered are labeled as X1, now data pool In the number n of data that can accommodate less than data pool of data amount check m=2, according to convergence algorithm formula X 'i=(1/2i)*avg+ (1-1/2i)*Xi, obtain X '1=(1/2)*avg+(1/2)*X1, X '0=avg, now average value is X1With X0Average value.And The X ' that will be calculatediThe value X that is recorded as in data pooliValue, the X ' that will be calculated0Value, be recorded as the X in data pool0 Value.The value that will be calculated replaces original value, to each data in data pool, is once counted by convergence algorithm formula Calculate and update.
In the same way, a data are often being collected, all the data in data pool can be once being updated, directly Data filling in data pool is completed.That is, first data is initially entered to data pool from just, in data pool Data are filled up, and first data completes n computing according to above-mentioned convergence algorithm formula, the data after being processed.
In step S206, if storage is equal to n, in taking-up data pool first to the number m of the data in data pool Individual data X0As the signal after treatment, from small to large successively by i-th data Xi-1Replace with XiValue, wait to locate by freshly harvested Reason signal value is stored as Xm-1, to each data X after replacementiCarry out convergence algorithm:X′i=(1/2i)*avg+(1-1/2i)*Xi, Wherein avg is the average of data in data pool, and the X ' that will be calculatediValue be recorded as X in data pooliValue.Wherein, n It is the open ended data amount check of data pool, m is the number of data in data pool, XiIt is i-th data, 0≤i in data pool<m.
When data in data pool are filled up, that is, when the number m for storing the data in data pool is equal to n, in data pool Data need by after treatment data release, so as to store freshly harvested data.In the embodiment of the present invention, by data pool First data X0Release, from small to large successively by i-th data Xi-1Replace with XiValue, by freshly harvested pending signal value It is stored as Xm-1, to each data X after replacementiCarry out convergence algorithm.
Wherein, when just storage is started to data pool, first data X0It is first data of collection, as data are filled out After full data pool, first data refers to being located in data pool, according to acquisition order, arrangement data up front.And Change with the continuous release of the data in data pool.
It is described from small to large successively by i-th data Xi-1Replace with XiValue, refer to by X0Value release after, by X1Value It is written to X0In, then by X2Value be written to X1In, the rest may be inferred, until by Xm-1Value be written to Xm-2In.It is corresponding updating Numerical value after, freshly harvested pending signal value is stored as Xm-1.Each data in the data pool after updating, root will be replaced According to X 'i=(1/2i)*avg+(1-1/2i)*XiComputing is carried out, wherein, n is the open ended data amount check of data pool, and m is data pool The number of middle data, XiIt is i-th data, 0≤i in data pool<m.
Wherein, the avg is (X0+X1+…+Xm-1)/m or (X0+X1+…+Xm-1-Xmax-Xmin)/(m-2), wherein, m It is the number of data in data pool, XiIt is i-th data, 0≤i in data pool<M, XmaxIt is the maximum of data in data pool, XminIt is the minimum value of data in data pool.
The difference part of the embodiment of the present invention and embodiment one is the data gathered to each, all can be according to above-mentioned receipts Holding back operational formula carries out convergence algorithm, and convergence pond is entered to release from data, by n convergence algorithm, makes the data after treatment Can be good at reducing the influence of interference signal.
Embodiment three:
Fig. 3 shows that a kind of anti-disturbance method that third embodiment of the invention is provided realizes flow, and details are as follows:
In step S301, according to the frequency of predetermined interference signal, it is determined that with the frequency of the interference signal not The frequency acquisition of same pending signal.
In step s 302, process signal is treated according to the frequency acquisition it is acquired and obtains pending signal value.
In step S303, foundation can accommodate the n data pool of data, and the data of collection are stored into data successively Pond.
Step S301 to step S303 is identical to step S203 with step S201 in embodiment two, is not repeated herein superfluous State.
In step s 304, judge whether storage is equal to n to the number m of the data in data pool.
In step S305, if storage to the data in data pool number m be equal to n, to data pool in every number According to XiCarry out convergence algorithm:X′i=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and will The X ' for calculatingiValue be recorded as X in data pooliValue, take out data pool in first data X0As the letter after treatment Number, from small to large successively by i-th data Xi-1Replace with XiValue, freshly harvested pending signal value is stored as Xm-1, it is no Do not process then, wait the data of next collection.
Wherein, n is the open ended data amount check of data pool, and m is the number of data in data pool, XiFor i-th in data pool Individual data, 0≤i<m.
The present embodiment is with the difference part of embodiment two, when the data in data pool are unfilled, not to data pool In data processed.When the data in data pool are filled up, that is, the number m for storing the data in data pool is equal to n, right Each data X in data pooliAccording to X 'i=(1/2i)*avg+(1-1/2i)*XiCarry out convergence algorithm.And will calculate X′iValue be recorded as X in data pooliValue, take out data pool in first data X0As the signal after treatment, from it is small to Greatly successively by i-th data Xi-1Replace with XiValue, freshly harvested pending signal value is stored as Xm-1
The difference of the processing mode in the present embodiment and embodiment two is, the data in data pool less than when not Convergence algorithm is carried out, convergence algorithm is carried out after data pool data are filled up, i.e., the numerical value of each position carried out according to formula Calculate.
Certainly, it is not limited to this, convergence algorithm only can also be carried out to the partial data in data pool, such as only logarithm Convergence algorithm etc. is carried out according to first data of position in pond, it is possible to reduce to the operation times of data in data pool, it is right to realize While the removal of interference signal, treatment effeciency is improved.
Example IV:
Fig. 4 shows that a kind of anti-disturbance method that fourth embodiment of the invention is provided realizes flow, and details are as follows:
In step S401, according to the frequency of predetermined interference signal, it is determined that with the frequency of the interference signal not The frequency acquisition of same pending signal.
In step S402, according to the frequency of the interference signal, between signal detection position and ground, or signal inspection Location is put between power supply, connects the resonance circuit of respective frequencies.
The resonance circuit, can use LC resonance circuits.The resonant frequency of resonance circuit, the frequency with the interference signal Rate correspondence.The corresponding relation can be understood as:The resonant frequency of resonance circuit is identical with the frequency of interference signal, or interference When the frequency of signal is an interval, resonant frequency is the median of the frequency separation of interference signal.
The anti-jamming circuit schematic diagram being applied in POS that Fig. 5 is provided for fourth embodiment of the invention, due to POS Product form miniaturization, ultrathin need, and for save space, many POS products design in LCD or touch NFC antenna Screen surrounding, and NFC antenna is closer with LCD or touch-screen interval.
In order to effectively remove the interference of NFC signals, as shown in figure 5, the touch point of the touch-screen and sample circuit it Between, it is connected with resonance circuit(Only it is illustrated as being connected to the ground in Fig. 5, it can also be connected with power supply in practice), it is described humorous Shake circuit frequency for 13.56MHz, the other end of resonance circuit is connected to ground, the width of the radiation-induced interference signal of NFC carrier waves Value, can greatly reduce.
When the frequency of the interference signal is for multiple, can be using the resonance circuit of multiple respective frequencies, by parallel connection Form, can reduce or eliminate the influence of multiple interference signals.
It is exemplified below:Assuming that in the presence of three interference signals, interference signal frequency is interfering frequency f1, interfering frequency f2, is done Scrambling rate f3, then as shown in Figure 5 a,
By resonance circuit 1, resonance circuit 2, the wherein parallel connection of resonance circuit 3, the corresponding interfering frequency f1 of resonance circuit 1, resonance The corresponding interfering frequency f2 of circuit 2, the corresponding interfering frequency f3 of resonance circuit 3, so as to reduce interfering frequency f1, f2, tri- frequencies of f3 Influence.
The present embodiment further improves jamproof performance by the improvement on hardware circuit.
Embodiment five:
The structural representation of the jamproof device that Fig. 6 is provided for fifth embodiment of the invention, details are as follows:
As shown in fig. 6, jamproof device described in the embodiment of the present invention, including:
Frequency acquisition determining unit 601, for the frequency according to predetermined interference signal, it is determined that believing with the interference Number the different pending signal of frequency frequency acquisition;
Collecting unit 602, is acquired for treating process signal according to the frequency acquisition and obtains pending signal value;
Signal generation unit 603, before and after according to the pending signal value and the collection pending signal value The average value of the pending signal value for being gathered, the signal after being processed.
Wherein, the signal generation unit includes:
First memory cell, the n data pool of data can be accommodated for setting up, and the data of collection are stored into number successively According to pond;
First judging unit, for judging storage to the number m of the data in data pool whether less than n;
First arithmetic element, if for store to the data in data pool number m be less than n, to data pool in it is every Individual data XiCarry out convergence algorithm:X′i=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and And the X ' that will be calculatediValue be recorded as X in data pooliValue;
Second arithmetic element, if the number m for storing to the data in data pool is equal to n, in taking-up data pool First data X0As the signal after treatment, from small to large successively by i-th data Xi-1Replace with XiValue, will be freshly harvested Pending signal value is stored as Xm-1, to each data X after replacementiCarry out convergence algorithm:X′i=(1/2i)*avg+(1-1/ 2i)*Xi, wherein avg is the average of data in data pool, and the X ' that will be calculatediValue be recorded as X in data pooli's Value;
Wherein, n is the open ended data amount check of data pool, and m is the number of data in data pool, XiFor i-th in data pool Individual data, 0≤i<m.
The signal generation unit includes:
Second memory cell, the n data pool of data can be accommodated for setting up, and the data of collection are stored into number successively According to pond;
Second judging unit, for judging whether storage is equal to n to the number m of the data in data pool;
3rd arithmetic element, if for store to the data in data pool number m be equal to n, to data pool in it is every Individual data XiCarry out convergence algorithm:X′i=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and And the X ' that will be calculatediValue be recorded as X in data pooliValue, take out data pool in first data X0After treatment Signal, from small to large successively by i-th data Xi-1Replace with XiValue, freshly harvested pending signal value is stored as Xm-1, do not process otherwise;
Wherein, n is the open ended data amount check of data pool, and m is the number of data in data pool, XiFor i-th in data pool Individual data, 0≤i<m.
Preferably, avg is (X0+X1+…+Xm-1)/m or (X0+X1+…+Xm-1-Xmax-Xmin)/(m-2), wherein, m is The number of data, X in data pooliIt is i-th data, 0≤i in data pool<M, XmaxIt is the maximum of data in data pool, Xmin It is the minimum value of data in data pool.
Preferably, the frequency acquisition determining unit specifically for:According to the advance interfering frequency f for obtainingInterference, selection treats The frequency acquisition f of process signalCollectionIt is more than fInterference* a, or the frequency acquisition f for selecting pending signalCollectionIt is less than fInterference/ a, Wherein a is default frequency-selecting threshold value.
Preferably, the size of the number n of data can be accommodated in the data pool, according to the frequency acquisition of pending signal fCollectionIncrease and increase.
Further, methods described also includes the frequency according to the interference signal, between signal detection position and ground, Connect the resonance circuit of respective frequencies.
Jamproof device is corresponding with anti-disturbance method described in embodiment one to three described in the embodiment of the present invention, herein not Repetition is repeated.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of anti-disturbance method, it is characterised in that methods described includes:
According to the frequency of predetermined interference signal, it is determined that the pending signal different from the frequency of the interference signal is adopted Collection frequency;
Process signal is treated according to the frequency acquisition it is acquired and obtains pending signal value;
According to the flat of the pending signal value gathered before and after the pending signal value and the collection pending signal value Average, the signal after being processed.
2. method according to claim 1, it is characterised in that described to be treated according to the pending signal value and collection The average value of the pending signal value gathered before and after process signal value, the signals step after being processed includes:
Foundation can accommodate the n data pool of data, and the data of collection are stored into data pool successively;
Judge storage to the number m of the data in data pool whether less than n;
If the number m stored to the data in data pool is less than n, to each data X in data pooliCarry out convergence algorithm: Xi'=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and the X that will be calculatedi' value It is recorded as X in data pooliValue;
If the number m stored to the data in data pool is equal to n, first data X in data pool is taken out0After treatment Signal, from small to large successively by i-th data Xi-1Replace with XiValue, freshly harvested pending signal value is stored as Xm-1, to each data X after replacementiCarry out convergence algorithm:Xi'=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is data The average of data in pond, and the X that will be calculatedi' value be recorded as X in data pooliValue;
Wherein, n is the open ended data amount check of data pool, and m is the number of data in data pool, XiIt is i-th number in data pool According to 0≤i<m.
3. method according to claim 1, it is characterised in that described to be treated according to the pending signal value and collection The average value of the pending signal value gathered before and after process signal value, the signals step after being processed includes:
Foundation can accommodate the n data pool of data, and the data of collection are stored into data pool successively;
Judge whether storage is equal to n to the number m of the data in data pool;
If the number m stored to the data in data pool is equal to n, to each data X in data pooliCarry out convergence algorithm: Xi'=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and the X that will be calculatedi' value It is recorded as X in data pooliValue, take out data pool in first data X0As the signal after treatment, successively will from small to large I-th data Xi-1Replace with XiValue, freshly harvested pending signal value is stored as Xm-1, do not process otherwise;
Wherein, n is the open ended data amount check of data pool, and m is the number of data in data pool, XiIt is i-th number in data pool According to 0≤i<m.
4. according to claim 2-3 any one methods describeds, it is characterised in that the avg is (X0+X1+…+Xm-1)/m or (X0+X1+…+Xm-1-Xmax-Xmin)/(m-2), wherein, m is the number of data in data pool, XiIt is i-th data in data pool, 0≤i<M, XmaxIt is the maximum of data in data pool, XminIt is the minimum value of data in data pool.
5. according to claim 2-3 any one methods describeds, it is characterised in that described according to predetermined interference signal Frequency, it is determined that the frequency acquisition step of the pending signal different from the frequency of the interference signal includes:
According to the advance interfering frequency f for obtainingInterference, select the frequency acquisition f of pending signalCollectionIt is more than fInterference* a, or selection The frequency acquisition f of pending signalCollectionIt is less than fInterference/ a,
And (fInterference-fCollection*a)/fInterference>=10%, wherein a are default frequency-selecting threshold value and a is integer more than 1.
6. method according to claim 5, it is characterised in that the size of the number n of data can be accommodated in the data pool, Frequency acquisition f according to pending signalCollectionIncrease and increase.
7. method according to claim 1, it is characterised in that methods described also includes the frequency according to the interference signal, Between signal detection position and ground, or between signal detection position and power supply, the resonance circuit of respective frequencies is connected.
8. a kind of means for anti-jamming, it is characterised in that described device includes:
Frequency acquisition determining unit, for the frequency according to predetermined interference signal, it is determined that the frequency with the interference signal The frequency acquisition of the different pending signal of rate;
Collecting unit, is acquired for treating process signal according to the frequency acquisition and obtains pending signal value;
Signal generation unit, for according to the pending signal value and gathering what is gathered before and after the pending signal value The average value of pending signal value, the signal after being processed.
9. device according to claim 8, it is characterised in that the signal generation unit includes:
First memory cell, the n data pool of data can be accommodated for setting up, and the data of collection are stored into data successively Pond;
First judging unit, for judging storage to the number m of the data in data pool whether less than n;
First arithmetic element, if for store to the data in data pool number m be less than n, to data pool in every number According to XiCarry out convergence algorithm:Xi'=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and will The X for calculatingi' value be recorded as X in data pooliValue;
Second arithmetic element, if the number m for storing to the data in data pool is equal to n, in taking-up data pool first Individual data X0As the signal after treatment, from small to large successively by i-th data Xi-1Replace with XiValue, wait to locate by freshly harvested Reason signal value is stored as Xm-1, to each data X after replacementiCarry out convergence algorithm:Xi'=(1/2i)*avg+(1-1/2i)*Xi, Wherein avg is the average of data in data pool, and the X that will be calculatedi' value be recorded as X in data pooliValue;
Wherein, n is the open ended data amount check of data pool, and m is the number of data in data pool, XiIt is i-th number in data pool According to 0≤i<m.
10. device according to claim 8, it is characterised in that the signal generation unit includes:
Second memory cell, the n data pool of data can be accommodated for setting up, and the data of collection are stored into data successively Pond;
Second judging unit, for judging whether storage is equal to n to the number m of the data in data pool;
3rd arithmetic element, if for store to the data in data pool number m be equal to n, to data pool in every number According to XiCarry out convergence algorithm:Xi'=(1/2i)*avg+(1-1/2i)*Xi, wherein avg is the average of data in data pool, and will The X for calculatingi' value be recorded as X in data pooliValue, take out data pool in first data X0As the letter after treatment Number, from small to large successively by i-th data Xi-1Replace with XiValue, freshly harvested pending signal value is stored as Xm-1, it is no Do not process then;
Wherein, n is the open ended data amount check of data pool, and m is the number of data in data pool, XiIt is i-th number in data pool According to 0≤i<m.
CN201410152897.XA 2014-04-16 2014-04-16 A kind of anti-disturbance method and device Active CN104993877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410152897.XA CN104993877B (en) 2014-04-16 2014-04-16 A kind of anti-disturbance method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410152897.XA CN104993877B (en) 2014-04-16 2014-04-16 A kind of anti-disturbance method and device

Publications (2)

Publication Number Publication Date
CN104993877A CN104993877A (en) 2015-10-21
CN104993877B true CN104993877B (en) 2017-06-20

Family

ID=54305638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410152897.XA Active CN104993877B (en) 2014-04-16 2014-04-16 A kind of anti-disturbance method and device

Country Status (1)

Country Link
CN (1) CN104993877B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363345B1 (en) * 1999-02-18 2002-03-26 Andrea Electronics Corporation System, method and apparatus for cancelling noise
CN1797034A (en) * 2004-12-29 2006-07-05 中国石油天然气集团公司 Method for eliminating single frequency interference in signal of seismological record
CN101105411A (en) * 2007-08-10 2008-01-16 中国航天科技集团公司第四研究院第四十四研究所 Self-adaptive filtering method of dynamic axle weighing signal of vehicle
CN101867390A (en) * 2010-05-04 2010-10-20 中兴通讯股份有限公司 Anti-interference method and system for mobile communication terminal
CN103312419A (en) * 2012-03-07 2013-09-18 苏州汉朗光电有限公司 Method and system for data communication based on audio or ultrasonic

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012141532A (en) * 2011-01-06 2012-07-26 Panasonic Corp Active noise reduction device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363345B1 (en) * 1999-02-18 2002-03-26 Andrea Electronics Corporation System, method and apparatus for cancelling noise
CN1797034A (en) * 2004-12-29 2006-07-05 中国石油天然气集团公司 Method for eliminating single frequency interference in signal of seismological record
CN101105411A (en) * 2007-08-10 2008-01-16 中国航天科技集团公司第四研究院第四十四研究所 Self-adaptive filtering method of dynamic axle weighing signal of vehicle
CN101867390A (en) * 2010-05-04 2010-10-20 中兴通讯股份有限公司 Anti-interference method and system for mobile communication terminal
CN103312419A (en) * 2012-03-07 2013-09-18 苏州汉朗光电有限公司 Method and system for data communication based on audio or ultrasonic

Also Published As

Publication number Publication date
CN104993877A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
US20140074691A1 (en) Bill split for nfc transactions
CN105187092B (en) A kind of method and apparatus for the interference signal for reducing mobile communication
DE112017001712T5 (en) METHOD AND DEVICE FOR DETECTING NFC DEVICES BY PTUs
CN107492215B (en) Method for sharing bank note in ATM and ATM terminal
CN105912916B (en) A kind of unlocked by fingerprint method and terminal
CN103491152A (en) Metadata obtaining method, device and system in distributed file system
CN107122761A (en) Fingerprint image processing method and Related product
CN109445527B (en) Data unloading system of tablet personal computer
CN105122195A (en) Information processing method and electronic device
CN106096358A (en) A kind of solution lock control method and mobile terminal
CN110445558A (en) Performance test methods, device and terminal device
US11201492B2 (en) Detecting objects placed on wireless charger
CN104993877B (en) A kind of anti-disturbance method and device
CN107454251A (en) Solve lock control method and Related product
CN106772165A (en) The determination method and device of amide proton transfer effect
EP2911064A1 (en) Memory initializing method and electronic device supporting the same
CN107610367B (en) Bill processing device and method, self-service financial equipment and terminal equipment
CN107705414A (en) A kind of recognition methods of bank note, device, terminal device and storage medium
CN115865138A (en) Method and apparatus for acquiring near field communication signal, electronic device, and medium
CN109714473A (en) A kind of method, storage medium and mobile phone for eliminating LCD mipi frequency interferences
CN113238911B (en) Alarm processing method and device
CN105095382A (en) Method and device for sample distributed clustering calculation
CN107730230A (en) A kind of method of payment and vendor end
CN108021669A (en) Image classification method and device, electronic equipment, computer-readable recording medium
CN113743580A (en) Immunity detector training method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant