[go: up one dir, main page]

CN102832911B - A kind of digital signal recovery method and device - Google Patents

A kind of digital signal recovery method and device Download PDF

Info

Publication number
CN102832911B
CN102832911B CN201110159262.9A CN201110159262A CN102832911B CN 102832911 B CN102832911 B CN 102832911B CN 201110159262 A CN201110159262 A CN 201110159262A CN 102832911 B CN102832911 B CN 102832911B
Authority
CN
China
Prior art keywords
information
current pulse
pulse length
judged result
length information
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
CN201110159262.9A
Other languages
Chinese (zh)
Other versions
CN102832911A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110159262.9A priority Critical patent/CN102832911B/en
Publication of CN102832911A publication Critical patent/CN102832911A/en
Application granted granted Critical
Publication of CN102832911B publication Critical patent/CN102832911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention provides a kind of digital signal recovery method and device, by based on a reference clock, measurement is detected the current pulse length information of data signal;Based on described current pulse length information, calculate digital signal samples frequency;Based on described digital signal samples frequency, recovery process is carried out to described detected data signal.Thus realize the pulse width phenomenon current based on detected data signal, the digital signal samples rate obtaining in real time, thus avoid the occurrence of the phenomenon that dropout occurs when recovering in data signal.

Description

A kind of digital signal recovery method and device
Technical field
The present invention relates to data signal recovery technology field, specifically can design a kind of digital signal recovery method And device.
Background technology
Data signal is producing, is transmitting and in recovery process, due to discreteness, the transmission medium of information source self Inhomogeneities, signal unavoidably occurs that decay, distortion etc. are abnormal, as shown in Figure 1.Common letter Number dutycycle distortion, it is simply that data signal ratio of low and high level within a cycle shifts, and deviate from The 50% of standard.Accordingly, it would be desirable to carry out recovering to overcome the problems referred to above to data signal.
Recovery for data signal at present, universal method is to use a upper frequency and frequency is fixed Clock sample, recovered by related filtering scheduling algorithm.According to nyquist sampling theorem: When sample frequency fs.max is more than 2 times of highest frequency fmax in signal, it may be assumed that fs.max >=2fmax, Data signal after then sampling intactly remains the information in primary signal, the correct reconstruction signal of ability, General reality ensures 5~10 times that sample frequency is signal highest frequency in applying.
As a rule, sample rate is higher, and the data of sampling also can be more accurate credible.Such as oscillograph is in sampling It during low-duty-cycle pulses signal, in order to improve measuring accuracy, is generally all to use oscillographic high sampling rate Gather Wave data.Use higher sample rate can directly result in the data collecting excessively huge, to depositing Store up space and processor (CPU) arithmetic speed and Capability Requirement is higher, be unfavorable in the field that low cost requires Conjunction is widely popularized use.Meanwhile, the frequency of part application requirements sampling clock can not be too high, crosses high-frequency anti- And the inaccurate problem of repeated sampling result can be caused.For example in communication base station conventional fan rotating speed signals is adopted Collection, owing in general number of fans is more, more sensitive to holistic cost, higher while being not suitable for using The CPU process of sample rate and high operational capability.
Gathering under scene at low frequency signal, the collection of such as fan rotating speed signals, due to this kind of tach signal Slowly, sample rate is too high, arises that within edge 0.7~1IH time repeatedly for rising edge and trailing edge change Repeated sampling adds up, and causes counting to increase bigger than normal;If sample rate is too low, will want because being unsatisfactory for sample rate Asking and occurring that digit pulse detection is imperfect, cause dropout, counting reduces.Both of these case all can be led Cause fan rotating speed signals sampled result inaccurate.This kind of analog device of fan, in addition to tach signal frequency is low, Tach signal digit pulse dutycycle is also unstable, in some instances it may even be possible to bigger saltus step occur;Especially at speed regulation process In this situation particularly evident.The situation of signal dutyfactor distortion can be as shown in Figure 1.Normal digital pulse In one cycle of signal, low and high level dutycycle is 50%, that is is high level and low level respectively accounts for 50%. But for a certain reason, high-level pulse width narrows, become 50% Δ x, low electricity from original 50% Flat pulse is changed to 50%+ Δ x.Signal dutyfactor changes, if or using the proper of original design The fixed sample rate meeting well sample rate requirement is sampled, and just inevitably occurs because being unsatisfactory for sample rate Require, and cause data signal that the phenomenon of dropout occurs when recovering.
Comprehensive above all situations, use fixed sample rate to carry out digital signal samples, for pulse width at present The pulse signal of degree saltus step, it is impossible to meet sample rate and require, it is impossible to fully meet all application scenarios, thus Cause data signal that the phenomenon of dropout occurs when recovering.
Content of the invention
The technical problem to be solved is to provide a kind of digital signal recovery method and device, thus keeps away Exempt from that the phenomenon that dropout occurs when recovering in data signal occurs.
For solving above-mentioned technical problem, the present invention provides scheme as follows:
Embodiments provide a kind of digital signal recovery method, comprising:
Based on a reference clock, the current pulse length information of the detected data signal of measurement;
Based on described current pulse length information, calculate digital signal samples frequency;
Based on described digital signal samples frequency, recovery process is carried out to described detected data signal.
Preferably, in described method, the current pulse length information of the detected data signal of described measurement includes:
According to the pulse type parameters of default detected data signal, measurement is detected the current of data signal Pulse width information.
Preferably, in described method, based on described current pulse length information, digital signal samples is calculated Include before frequency:
Judge described current pulse length information with preset lowest numeric signal sampling pulse width information it Between magnitude relationship, obtain the first judged result;
When described first judged result is that described current pulse length information is believed more than or equal to described lowest numeric During number sampling pulse width information, enter described based on described current pulse length information, calculate data signal Sample frequency step.
Preferably, in described method, when described first judged result is that described current pulse length information is less than During described lowest numeric signal sampling pulse width information, described method also includes:
Judge whether described current pulse length information is more than 2 doubling time time widths of described reference clock, Obtain the second judged result;
When described second judged result is 2 times less than described reference clock of described current pulse length information It during width cycle time, is the maximum sample frequency that system allows by described digital signal samples set of frequency;
When described second judged result is 2 times more than described reference clock of described current pulse length information During width cycle time, based on an adjustment step-length preset, adjust described default lowest numeric signal sampling Pulse width information, reduces described default lowest numeric signal sampling pulse width numerical value.
Preferably, in described method, based on an adjustment step-length preset, described default minimum number is adjusted Also include after word signal sampling pulse width information:
Judge described current pulse length information whether more than or equal to the lowest numeric signal sampling arteries and veins after adjustment Rush width information, obtain the 3rd judged result;
After described 3rd judged result is described current pulse length information more than or equal to described adjustment During decimal fractions signal sampling pulse width information, enter described based on described current pulse length information, calculate Digital signal samples frequency step;
Minimum number after described 3rd judged result is described current pulse length information less than described adjustment During word signal sampling pulse width information, return described based on an adjustment step-length preset, adjust described presetting Lowest numeric signal sampling pulse width information step.
Preferably, it, in described method, is being that described current pulse length information is less than institute when the first judged result When stating lowest numeric signal sampling pulse width information, or when described second judged result be described currently When pulse width information is less than 2 doubling time time width of described reference clock, also include: send alarm and carry Show.
Preferably, in described method, described based on described current pulse length information, calculate data signal and adopt Sample frequency includes:
Based on described current pulse length information and a sampling multiplying power parameter preset, calculate digital signal samples Frequency.
Preferably, in described method, also include:
At a time interval week after date preset, again performing described based on a reference clock, measurement is detected The current pulse length information Step of data signal.
The embodiment of the present invention additionally provides a kind of data signal recovery device, comprising:
Measurement module, for based on a reference clock, the current pulse length of the detected data signal of measurement is believed Breath;
Computing module, for based on described current pulse length information, calculates digital signal samples frequency;
Processing module, for based on described digital signal samples frequency, is carried out to described detected data signal Recovery process.
Preferably, in described device, also include:
First judge module, for judge current pulse length information that described measurement module obtains with default Magnitude relationship between lowest numeric signal sampling pulse width information, obtains the first judged result, and in institute Stating the first judged result is that described current pulse length information is more than or equal to described lowest numeric signal sampling arteries and veins When rushing width information, trigger described computing module.
Preferably, in described device, also include:
Second judge module, for being described current PRF when the first judged result of described first judge module When width information is less than described lowest numeric signal sampling pulse width information, it is judged that described current pulse length Whether information is more than 2 doubling time time widths of described reference clock, obtains the second judged result;
Module is set, for being described current pulse length when the second judged result of described second judge module When information is less than 2 doubling time time width of described reference clock, by described digital signal samples set of frequency The maximum sample frequency allowing for system;
Adjusting module, for being described current pulse length when the second judged result of described second judge module When information is more than 2 doubling time time width of described reference clock, based on an adjustment step-length preset, adjust Described lowest numeric signal sampling pulse width information, reduces described default lowest numeric signal sampling pulse Width numerical value, and trigger described first judge module after the adjustment.
Preferably, in described device, described first judge module is additionally operable to: judge described current pulse length Information, whether more than or equal to the lowest numeric signal sampling pulse width information after adjustment, obtains the 3rd judgement knot Really;
After described 3rd judged result is described current pulse length information more than or equal to described adjustment During decimal fractions signal sampling pulse width information, described first judge module triggers described computing module;
Minimum number after described 3rd judged result is described current pulse length information less than described adjustment During word signal sampling pulse width information, described first judge module triggers described adjusting module.
Preferably, in described device, also include:
Alarm module, for being described current pulse length letter when the first judged result of the first judge module When breath is less than described lowest numeric signal sampling pulse width information, or when described second judge module Second judged result is the 2 doubling time time width less than described reference clock for the described current pulse length information When spending, send alarm prompt.
Preferably, in described device, also include:
Presetting module, is used for pre-setting lowest numeric signal sampling pulse width information.
Preferably, in described device, also include:
Restart module, for the time interval week after date preset, trigger described measurement module.
From the above it can be seen that the digital signal recovery method of embodiment of the present invention offer and device, logical Cross based on a reference clock, the current pulse length information of the detected data signal of measurement;Based on described currently Pulse width information, calculates digital signal samples frequency;Based on described digital signal samples frequency, to described Detected data signal carries out recovery process.Thus realize the pulse width current based on detected data signal Phenomenon, the digital signal samples rate obtaining in real time, thus avoid the occurrence of data signal, when recovering, signal occurs The phenomenon lost.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes of the application Point, the schematic description and description of the present invention is used for explaining the present invention, is not intended that to the present invention not Work as restriction.In the accompanying drawings:
Fig. 1 is the data signal schematic diagram that in prior art, dutycycle is distorted;
The digital signal recovery method schematic flow sheet one that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 shows for the digital signal recovery method digital signal pulses width measure that the embodiment of the present invention provides It is intended to;
The digital signal recovery method schematic flow sheet two that Fig. 4 provides for the embodiment of the present invention;
The digital signal recovery method sampling self-adaptative adjustment schematic diagram that Fig. 5 provides for the embodiment of the present invention;
The data signal recovery device structural representation one that Fig. 6 provides for the embodiment of the present invention;
The data signal recovery device structural representation two that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
Embodiments providing a kind of digital signal recovery method, as shown in Figure 2, the method is concrete May include that
Step 201, based on a reference clock, the current pulse length information of the detected data signal of measurement;
Step 202, based on described current pulse length information, calculates digital signal samples frequency;
Step 203, based on described digital signal samples frequency, recovers to described detected data signal Process.
The digital signal recovery method that the embodiment of the present invention provides, appoints in not changing current signal sampling system In the case of what hardware resource, only be can be achieved with the self adaptation of sample frequency by related algorithm computing, and Sample rate self adaptation is a lasting process, and reference signal is measuring measured number signal, root always According to survey calculation result, real-time update sample frequency, it is ensured that the credibility of sampled data, thus avoid the occurrence of There is the phenomenon of dropout when recovering in data signal.
The digital signal recovery method that the embodiment of the present invention provides is at the current arteries and veins of the detected data signal of measurement When rushing width information, need the reference clock of a High-precision high-frequency, it is generally the case that can directly use number The system work clock of word signal sampling system.
In the embodiment of the present invention, the measurement process of current pulse length information, can be based on the measurement preset in advance Parameter, the pulse pattern etc. being for example detected data signal realizes.And digital signal samples frequency calculated Journey can be based on the calculating parameter preset in advance, and such as sampling multiplying power realizes.
The pulse pattern of the detected data signal involved by the embodiment of the present invention, mainly applies according to reality Occasion demand, the pulse of the detected data signal of measurement is high level (H) or low level (L), this survey The setting of amount parameter is adapted to current part occasion demand low level signal, and part occasion demand high level is believed Number demand.When concrete application, if detection high level pulse signal width, then in detected pulse Signal rising edge starts counting, stops counting at trailing edge;If detection low level pulse signal width, Then start counting at detected pulse signal trailing edge, stop counting at rising edge.Showing of above-mentioned counting process Intention can be as shown in Figure 3.And counting principle can be: in high level or the low-level period of pulse signal In, reference clock often exports periodic signal counting (N that just automatically adds 1n+1=Nn+1).If measurement institute The reference clock frequency needing is F, then the cycle of measuring is 1/F, if a certain pulse signal width measurement count Value is N, then the current pulse length P being detected data signal can be: P=N/F.
Sampling multiplying power involved by the embodiment of the present invention specifically may be configured as M, and M is necessary for being not less than The integer of 2.The purpose so arranging is mainly due to the requirement of sampling thheorem, and sampling signal frequency is necessary for It is sampled signal frequency more than 2 times.
Due to any one system owing to the performance of hardware device own limits, certainty of measurement has certain credible Scope;The simultaneously particular demands according to application scenario, needs to filter the interference signal outside expected signal.Cause This, the embodiment of the present invention can pre-set a lowest numeric signal sampling pulse according to practical application Width information, can be set to Pmin。PminSetting, the mainly characteristic according to data signal to be measured, to the unknown Interference signal arrange filter thresholding, be equivalent to make the data signal of input through a specific bandpass filtering Device, only detects normal digital signal possible under this applied environment, filters the interference signal outside band, and enhancing is adopted The credibility of sample result.In the embodiment of the present invention, the lowest numeric i.e. sampling gate of signal sampling pulse width information Limit PminIt must is fulfilled for claimed below: meet sampling thheorem such as nyquist sampling theorem requirement;Measure necessary Using frequency F of reference clock as reference frame.
When implementing, based on a reference clock, measurement obtains the current PRF of detected data signal After width information P, the P that reality can be measured and the lowest numeric signal sampling pulse width information preset, I.e. sampling thresholding PminCompare judgement, carry out subsequent treatment according to comparative result.
Concrete, if P >=Pmin, it is i.e. detected the pulse width information of data signal in reference signal Within the scope of measurement, the follow-up calculating that can be sampled frequency, and the employing frequency that can obtain based on calculating, Carry out data signal recovery process.If P is < Pmin, then super minimum threshold alarm, prompting sampling knot can be carried out Fruit is credible to reduce, and even can not use.
If P is < Pmin, then also have another kind of situation, the lowest numeric signal sampling frequency i.e. pre-setting PminUnreasonable, then for this situation, the embodiment of the present invention also can be sampled thresholding and automatically adjusts stream Journey.Further, thresholding self-regulating process of sampling can be carried out based on a judged result, and this judged result can be based on Pmin, the size between P and the 2 i.e. 2/F of doubling time time width of reference clock compare determination.
Concrete, if P is not only smaller than Pmin, but also it is less than 2/F, then can be directly by data signal Recovery processes the sample frequency needing and arranges maximum sample frequency P that digital signal samples system allowsmax( In one specific embodiment, because being limited by systematic function, PmaxCan be with the frequency one of system reference clock Cause), and alarm prompt measurement result is completely insincere;If 2/F < P is < Pmin, then sampling thresholding is started certainly The sampling thresholding pre-setting is deducted a sampling preset and adjusts step-length, i.e. reduces and sample by dynamic adjustment flow process The numerical value of thresholding.Specifically can be as shown in following formula: Pmin2=Pmin1(wherein x is adopting of pre-setting to x Sample thresholding adjust step-length, on the basis of default setting reference clock F one cycle time width 1/F), adjust Whole sampling thresholding.Further, follow-up pulse width information P and the tune that also again data signal can be worked as pre-test Sampling thresholding after whole compares judgement, obtains a judged result.If measured value P is still less than adjustment After sampling thresholding, such as Pmin2, then the adjustment of sampling thresholding is again carried out, until measured value P is more than Sampling thresholding after adjustment.
When measured value P is more than or equal to the P presettingminOr the P after Tiao ZhengingminWhen, the embodiment of the present invention can be entered Sample frequency as described in step 202 for the row calculates process.
Concrete, the calculating process of sample frequency (may be configured as H) can be based on equation below: H=M/P Carrying out, wherein, P is the current measurement value of detected digital signal pulses width, and M is the sampling times preset Rate, due to P=N/F, then H=MF/N.
The embodiment of the present invention, after calculating determination sample frequency H, can enter row number letter based on this sample frequency Number recovery process.Concrete restored processed journey has also been ripe technical operation, does not repeats them here.
Content such as above statement understands, the data signal that the embodiment of the present invention provides is recovered processing method and wanted It is accomplished that sample frequency adaptive process, and the adaptive essence of sample rate obtains according to when pre-test The pulse width information of detected data signal, calculates the sample frequency obtaining current digital signal in real time, because of This, the method that the embodiment of the present invention provides can be after a prefixed time interval, step 21 to step again Rapid 23, to realize the self adaptation of sample frequency.
In order to make it easy to understand, below in conjunction with the accompanying drawings 4, the data signal recovery side that the embodiment of the present invention is provided One complete embodiment of method is described in detail.This embodiment specifically may include that
Step 401, arranges detection parameter.
Detection parameter involved in this step, specifically can include sampling multiplying power M, detected numeral letter Number pulse pattern, lowest numeric signal sampling pulse width information is i.e. sampled thresholding Pmin1Deng.
Step 402, the current pulse length information of the detected data signal of measurement.
Concrete, detected data signal can be measured based on the system work clock F of signal sampling system Current pulse length information P.
Data signal involved by the embodiment of the present invention concretely handshake etc..
Step 403, it is judged that whether P is more than or equal to Pmin1
As P >=PminWhen, subsequent execution step step 407;If P is < Pmin1When, subsequent execution step 404.
Step 404, it is judged that whether P is less than 2/F.
If P < 2/F, then step 405, the maximum employing frequency being allowed signal sampling system sets It is set to data signal recovery and processes the sample frequency needing, and alarm prompt measurement result is completely insincere.Need It is noted that between step 403 and step 404, it is possible to carry out alarm prompt.
If P > 2/F, then step 406, adjust Pmin1
Concrete, can preset based on one and adjust step-length, such as 1/F, adjust Pmin1, reduce Pmin1Numerical value, Sampling thresholding after adjustment can use Pmin2Represent.
After adjustment, can step 403 again, it is judged that whether P is more than or equal to Pmin2
If P >=Pmin2, then subsequent execution step 407, otherwise step 406 again, until adjusting After sampling thresholding be more than or equal to P.
Step 407, calculates sample frequency.
Concrete, can be based on formula: H=MF/N carries out using the calculating of frequency.
Step 408, carries out data signal recovery process.
Concrete, the recovery process of data signal can be carried out based on calculating employing frequency H obtaining.
Step 409, restarts step 402.
Concrete, after a time interval preset, restart step 402, to realize sample frequency Self adaptation.
Below in conjunction with such as accompanying drawing 5, in the embodiment of the present invention concrete digital signal samples frequency self adaptation Adjustment process illustrates.
First, can require according to sample rate, minimum sampling multiplying power M=2 is set, it is assumed that be sampled numeral letter Number (502) cycle is 2T, requires according to sampling thheorem, the digital signal samples frequency that now self adaptation goes out (501) it is f1=MF/N1(note: Sampling Theorem requires that sampled signal must no more than be sampled cycle time The 1/2 of signal high impulse time).After measured signal is distorted (504), although the overall cycle does not change Become, be still 2T, but it is 40% that high level dutycycle has 50% original distortion.In order to meet sampling Rate requires, then self adaptation digital signal samples frequency f outx=5/4*f1(503), process is specifically calculated Can be as follows:
f1=MF/N1;N1* 1/F=T (1)
Fx=MxF/Nx;Nx* 1/F=T*4/5 (2)
Then, fx=5/4*f (3)
Visible, embodiment of the present invention technical scheme can realize the self adaptation of sample frequency.
From the above it can be seen that the embodiment of the present invention provide digital signal recovery method, by based on One reference clock, the current pulse length information of the detected data signal of measurement;Based on described current PRF width Degree information, calculates digital signal samples frequency;It based on described digital signal samples frequency, is detected to described Data signal carries out recovery process.Thus realize the pulse width phenomenon current based on detected data signal, The digital signal samples rate obtaining in real time, thus avoid the occurrence of data signal, when recovering, dropout occurs Phenomenon.And, the embodiment of the present invention provide method, do not change in existing signal sampling system any firmly Part resource, by utilizing existing hardware resource, according to above self-adaptive processing and algorithm, final realization is sampled Rate self adaptation, this is not only the sampling request meeting dutycycle distorted signal, actually reduces to quilt The requirement of sampled signal quality, enhances the ability that data signal recovery is processed, is substantially reduced data signal and adopts The cost that collection is rebuild.
The embodiment of the present invention additionally provides a kind of data signal recovery device, and as shown in Figure 6, this device has Body may include that
Measurement module 601, for based on a reference clock, measurement is detected the current PRF width of data signal Degree information;
Computing module 602, for based on described current pulse length information, calculates digital signal samples frequency;
Processing module 603, for based on described digital signal samples frequency, to described detected data signal Carry out recovery process.
The data signal recovery device that the embodiment of the present invention provides, appoints in not changing current signal sampling system In the case of what hardware resource, only be can be achieved with the self adaptation of sample frequency by related algorithm computing, and Sample rate self adaptation is a lasting process, and reference signal is measuring measured number signal, root always According to survey calculation result, real-time update sample rate, it is ensured that the credibility of data sampling, thus avoid the occurrence of number There is the phenomenon of dropout when recovering in word signal.
The data signal recovery device that the embodiment of the present invention provides is at the current arteries and veins of the detected data signal of measurement When rushing width information, need the reference clock of a High-precision high-frequency, it is generally the case that can directly use letter The system work clock F of number sampling system.
In one alternative embodiment of the present invention, described device can also include:
Presetting module 604, is used for pre-setting sampling parameter, such as lowest numeric signal sampling pulse width letter Breath Pmin., sampling multiplying power M, the pulse pattern etc. of detected data signal.
Measurement module 601, can survey based on parameters such as the pulse patterns of the detected data signal preset in advance Current pulse length information P of the detected data signal of amount, and P=N/F, wherein N is detected number Word signal width measure count value.
Computing module 602, can calculate digital signal samples frequency F based on sampling multiplying power M preset in advance, Concrete available formula H=M/P is carried out, due to P=N/F, then and H=MF/N.
Due to any one system owing to the performance of hardware device own limits, certainty of measurement has certain credible Scope;The simultaneously particular demands according to application scenario, needs to filter the interference signal outside expected signal.Cause This, the embodiment of the present invention can pre-set a lowest numeric signal sampling pulse according to practical application Width information, can be set to Pmin。PminSetting, the mainly characteristic according to data signal to be measured, to the unknown Interference signal arrange filter thresholding, be equivalent to make the data signal of input through a specific bandpass filtering Device, only detects normal digital signal possible under this applied environment, filters the interference signal outside band, and enhancing is adopted The credibility of sample result.In the embodiment of the present invention, the lowest numeric i.e. sampling gate of signal sampling pulse width information Limit PminIt must is fulfilled for claimed below: meet sampling thheorem and require;Measurement must be with frequency F of reference clock As reference frame.
In one alternative embodiment of the present invention, described device also includes:
Judge module 605, for judge current pulse length information P that described measurement module 601 obtains and Lowest numeric signal sampling pulse width information P presetminBetween magnitude relationship, obtain one judgement knot Really.
When judged result is that current pulse length information P is more than or equal to lowest numeric signal sampling pulse width Information PminWhen, it is judged that module 605 triggers described computing module 602.
When judged result is that current pulse length information P is less than described lowest numeric signal sampling pulse width Information PminWhen, it is judged that module 605 also can trigger optional judge module 606 in the embodiment of the present invention.
Judge module 606, for judging whether current pulse length information P is more than 2 times of reference clock F Cycle time, width 2/F, obtained a judged result.
In one alternative embodiment of the present invention, described device also includes:
Module 607 is set, for being that current pulse length information P is little when the judged result of judge module 606 2/F when 2 doubling time time width of reference clock, numeral letter required when data signal recovery is processed Number sample frequency is set to the maximum sample frequency that signal sampling system allows.
Adjusting module 608, for being that current pulse length information P is big when the judged result of judge module 606 When 2 doubling time time width 2/F of reference clock, based on an adjustment step-length preset, such as 1/F, adjust Whole lowest numeric signal sampling pulse width information Pmin, i.e. reduce PminNumerical value.Minimum number after adjustment Word signal sampling pulse width information can use Pmin2Represent.
In one alternative embodiment of the present invention, it is judged that module 605 is additionally operable to judge current pulse length information Whether P is more than or equal to lowest numeric signal sampling pulse width information P after adjustmentmin2
When P is more than or equal to Pmin2When, it is judged that module 605 triggers computing module 602;
When P is less than Pmin2When, it is judged that module 605 triggers adjusting module 608, repeats set-up procedure, Until P is more than or equal to the P after adjustmentminX
In one alternative embodiment of the present invention, described device also includes:
Alarm module 609, for being current pulse length information P when the judged result of judge module 605 Less than lowest numeric signal sampling pulse width information P presetminWhen, or when judge module 606 When judged result is the 2 doubling time time width 2/F that current pulse length information P is less than reference clock, send out Send alarm prompt.
In one alternative embodiment of the present invention, described device also includes:
Restart module 610, for the time interval week after date preset, again trigger and start measurement module 601。
The data signal recovery device that i.e. embodiment of the present invention provides, after a certain interval, again through Measurement and calculation process, obtain up-to-date sample frequency, and enter row number letter based on up-to-date sample frequency Number recovery process, thus realize the self adaptation of sample frequency.
The concrete structure schematic diagram of the data signal recovery device that the embodiment of the present invention provides also can be such as accompanying drawing 7 Shown in.
From the above it can be seen that the embodiment of the present invention provide data signal recovery device, by based on One reference clock, the current pulse length information of the detected data signal of measurement;Based on described current PRF width Degree information, calculates digital signal samples frequency;It based on described digital signal samples frequency, is detected to described Data signal carries out recovery process.Thus realize the pulse width phenomenon current based on detected data signal, The digital signal samples rate obtaining in real time, thus avoid the occurrence of data signal, when recovering, dropout occurs Phenomenon.And, the embodiment of the present invention provide method, do not change in existing signal sampling system any firmly Part resource, by utilizing existing hardware resource, according to above self-adaptive processing and algorithm, final realization is sampled Rate self adaptation, this is not only the sampling request meeting dutycycle distorted signal, actually reduces to quilt The requirement of sampled signal quality, enhances the ability that data signal recovery is processed, is substantially reduced data signal and adopts The cost that collection is rebuild.
The above is only embodiments of the present invention, it is noted that for the ordinary skill of the art For personnel, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these Improvements and modifications also should be regarded as protection scope of the present invention.

Claims (14)

1. a digital signal recovery method, it is characterised in that include:
Based on a reference clock, the current pulse length information of the detected data signal of measurement;
Based on described current pulse length information and a sampling multiplying power parameter preset, calculate digital signal samples Frequency, wherein, described default sampling multiplying power parameter is the integer not less than 2;
Based on described digital signal samples frequency, recovery process is carried out to described detected data signal.
2. method according to claim 1, it is characterised in that described measurement is detected data signal Current pulse length information include:
According to the pulse type parameters of default detected data signal, measurement is detected the current of data signal Pulse width information.
3. method according to claim 1, it is characterised in that described method based on described currently Pulse width information and a sampling multiplying power parameter preset, include before calculating digital signal samples frequency:
Judge described current pulse length information with preset lowest numeric signal sampling pulse width information it Between magnitude relationship, obtain the first judged result;
When described first judged result is that described current pulse length information is believed more than or equal to described lowest numeric During number sampling pulse width information, enter described based on described current pulse length information with a sampling preset Multiplying power parameter, calculates digital signal samples frequency step.
4. method according to claim 3, it is characterised in that when described first judged result is institute When stating current pulse length information less than described lowest numeric signal sampling pulse width information, described method is also Including:
Judge whether described current pulse length information is more than 2 doubling time time widths of described reference clock, Obtain the second judged result;
When described second judged result is 2 times less than described reference clock of described current pulse length information It during width cycle time, is the maximum sample frequency that system allows by described digital signal samples set of frequency;
When described second judged result is 2 times more than described reference clock of described current pulse length information During width cycle time, based on an adjustment step-length preset, adjust described default lowest numeric signal sampling Pulse width information, reduces described default lowest numeric signal sampling pulse width numerical value.
5. method according to claim 4, it is characterised in that described method based on one preset Adjust step-length, also include after adjusting described default lowest numeric signal sampling pulse width information:
Judge described current pulse length information whether more than or equal to the lowest numeric signal sampling arteries and veins after adjustment Rush width information, obtain the 3rd judged result;
After described 3rd judged result is described current pulse length information more than or equal to described adjustment During decimal fractions signal sampling pulse width information, enter described pre-based on described current pulse length information and one If sampling multiplying power parameter, calculate digital signal samples frequency step;
Minimum number after described 3rd judged result is described current pulse length information less than described adjustment During word signal sampling pulse width information, return described based on an adjustment step-length preset, adjust described presetting Lowest numeric signal sampling pulse width information step.
6. method according to claim 4, it is characterised in that described method is when the first judgement knot When fruit is less than described lowest numeric signal sampling pulse width information for described current pulse length information, or It it is being 2 times of weeks less than described reference clock for the described current pulse length information when described second judged result During phase time width, also include: send alarm prompt.
7. the method according to any one of claim 1 to 6, it is characterised in that described method is also wrapped Include:
At a time interval week after date preset, again performing described based on a reference clock, measurement is detected The current pulse length information Step of data signal.
8. a data signal recovery device, it is characterised in that include:
Measurement module, for based on a reference clock, the current pulse length of the detected data signal of measurement is believed Breath;
Computing module, for based on described current pulse length information and a sampling multiplying power parameter preset, meter Calculating digital signal samples frequency, wherein, described default sampling multiplying power parameter is the integer not less than 2;
Processing module, for based on described digital signal samples frequency, is carried out to described detected data signal Recovery process.
9. device according to claim 8, it is characterised in that described device also includes:
First judge module, for judge current pulse length information that described measurement module obtains with default Magnitude relationship between lowest numeric signal sampling pulse width information, obtains the first judged result, and in institute Stating the first judged result is that described current pulse length information is more than or equal to described lowest numeric signal sampling arteries and veins When rushing width information, trigger described computing module.
10. device according to claim 9, it is characterised in that described device also includes:
Second judge module, for being described current PRF when the first judged result of described first judge module When width information is less than described lowest numeric signal sampling pulse width information, it is judged that described current pulse length Whether information is more than 2 doubling time time widths of described reference clock, obtains the second judged result;
Module is set, for being described current pulse length when the second judged result of described second judge module When information is less than 2 doubling time time width of described reference clock, by described digital signal samples set of frequency The maximum sample frequency allowing for system;
Adjusting module, for being described current pulse length when the second judged result of described second judge module When information is more than 2 doubling time time width of described reference clock, based on an adjustment step-length preset, adjust Described lowest numeric signal sampling pulse width information, reduces described default lowest numeric signal sampling pulse Width numerical value, and trigger described first judge module after the adjustment.
11. devices according to claim 10, it is characterised in that described first judge module is also used In: the lowest numeric signal sampling pulse after judging described current pulse length information whether more than or equal to adjustment Width information, obtains the 3rd judged result;
After described 3rd judged result is described current pulse length information more than or equal to described adjustment During decimal fractions signal sampling pulse width information, described first judge module triggers described computing module;
Minimum number after described 3rd judged result is described current pulse length information less than described adjustment During word signal sampling pulse width information, described first judge module triggers described adjusting module.
12. devices according to claim 11, it is characterised in that described device also includes:
Alarm module, for being described current pulse length letter when the first judged result of the first judge module When breath is less than described lowest numeric signal sampling pulse width information, or when described second judge module Second judged result is the 2 doubling time time width less than described reference clock for the described current pulse length information When spending, send alarm prompt.
13. devices according to claim 9, it is characterised in that described device also includes:
Presetting module, is used for pre-setting lowest numeric signal sampling pulse width information.
14. according to Claim 8 to the device described in 13 any one, it is characterised in that described device is also Including:
Restart module, for the time interval week after date preset, trigger described measurement module.
CN201110159262.9A 2011-06-14 2011-06-14 A kind of digital signal recovery method and device Active CN102832911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110159262.9A CN102832911B (en) 2011-06-14 2011-06-14 A kind of digital signal recovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110159262.9A CN102832911B (en) 2011-06-14 2011-06-14 A kind of digital signal recovery method and device

Publications (2)

Publication Number Publication Date
CN102832911A CN102832911A (en) 2012-12-19
CN102832911B true CN102832911B (en) 2016-11-23

Family

ID=47335906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110159262.9A Active CN102832911B (en) 2011-06-14 2011-06-14 A kind of digital signal recovery method and device

Country Status (1)

Country Link
CN (1) CN102832911B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9515785B2 (en) * 2014-12-11 2016-12-06 Huawei Technologies Co., Ltd. System and method for detecting loss of signal
CN106291205B (en) * 2016-10-14 2019-04-16 广州视源电子科技股份有限公司 Blood oxygen probe fault diagnosis method and device
CN108234928B (en) * 2016-12-21 2020-05-01 杭州海康威视数字技术股份有限公司 Display synchronization method and video display terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5327466A (en) * 1991-08-28 1994-07-05 Frank Marinaro 1X asynchronous data sampling clock
JPH1082874A (en) * 1996-09-05 1998-03-31 Seiko Kurotsuku Kk Pulse detecting circuit and radio wave correcting timepiece
CN1771661A (en) * 2003-04-09 2006-05-10 夏普株式会社 Waveform shaping method, waveform shaping device, electronic device, waveform shaping program, and recording medium
CN101272362A (en) * 2008-05-08 2008-09-24 中兴通讯股份有限公司 Recovery method of baseband signal
CN101548167A (en) * 2006-07-14 2009-09-30 Dft微系统公司 Signal integrity measurement systems and methods using a predominantly digital time-base generator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5327466A (en) * 1991-08-28 1994-07-05 Frank Marinaro 1X asynchronous data sampling clock
JPH1082874A (en) * 1996-09-05 1998-03-31 Seiko Kurotsuku Kk Pulse detecting circuit and radio wave correcting timepiece
CN1771661A (en) * 2003-04-09 2006-05-10 夏普株式会社 Waveform shaping method, waveform shaping device, electronic device, waveform shaping program, and recording medium
CN101548167A (en) * 2006-07-14 2009-09-30 Dft微系统公司 Signal integrity measurement systems and methods using a predominantly digital time-base generator
CN101272362A (en) * 2008-05-08 2008-09-24 中兴通讯股份有限公司 Recovery method of baseband signal

Also Published As

Publication number Publication date
CN102832911A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
US9363151B2 (en) Dynamically determining packet sampling rates
US9647606B2 (en) Counter based circuit for measuring movement of an object
CN106645780B (en) DSP-based rotating speed detection method and system
CN102832911B (en) A kind of digital signal recovery method and device
CN108810431B (en) Training method of multichannel low-frequency CMOS serial image data
CN102236048A (en) Method for measuring phasor frequency of electric system
CN104181391A (en) Harmonic detection method of digital power meter
EP3037831A1 (en) A system and a method for measuring power quality
CN114595210A (en) Anomaly detection method, device and electronic device for multidimensional data
CN109001672B (en) Time difference and frequency difference parameter estimation method and device
CN101111888A (en) Signal processing method and device
CN107294533A (en) Analog-digital converter dynamic parameter testing system and method
CN102175286A (en) Signal processing method for turbine flow meter
CN108120452A (en) The filtering method of MEMS gyroscope dynamic data
CN104677486B (en) The aero-engine vibration signal Method for Phase Difference Measurement reconstructed based on tacho-pulse
CN118158141A (en) Data receiving method, data sending method, system, equipment and medium
CN109684970B (en) Window length determination method for moving principal component analysis of structural dynamic response
CN110799807B (en) Orthogonal encoder signal filtering method, device and system
CN108037362B (en) A kind of method and device based on spectrum analysis measurement number BPM sampling clock shake
CN105929198B (en) High stability based on principle of inertia predicts rotating speed measurement method in real time
CN111641400B (en) A Transfer Function Equivalent Method of CIC Filter Bank
CN113884972B (en) Intelligent ammeter remote operation error detection method based on big data
Sundaramurthy et al. Hard real time implementation of reconfigurable virtual instruments using FPGA
CN111092600B (en) FPGA Frequency Multiplication Method Based on Phase Superposition Method
CN111189471A (en) Correction method, correction device and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant