CN113472350A - Continuous adjusting and optimizing method for analog-to-digital conversion precision - Google Patents

Continuous adjusting and optimizing method for analog-to-digital conversion precision Download PDF

Info

Publication number
CN113472350A
CN113472350A CN202110708590.3A CN202110708590A CN113472350A CN 113472350 A CN113472350 A CN 113472350A CN 202110708590 A CN202110708590 A CN 202110708590A CN 113472350 A CN113472350 A CN 113472350A
Authority
CN
China
Prior art keywords
filter
analog
value
digital conversion
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110708590.3A
Other languages
Chinese (zh)
Inventor
于大任
刘宗宝
谭智敏
庄博阳
詹少博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Computer Technology and Applications
Original Assignee
Beijing Institute of Computer Technology and Applications
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 Beijing Institute of Computer Technology and Applications filed Critical Beijing Institute of Computer Technology and Applications
Priority to CN202110708590.3A priority Critical patent/CN113472350A/en
Publication of CN113472350A publication Critical patent/CN113472350A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • H03M1/08Continuously compensating for, or preventing, undesired influence of physical parameters of noise
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0201Wave digital filters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • H03M1/0617Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
    • H03M1/0626Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by filtering
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H2017/0072Theoretical filter design
    • H03H2017/009Theoretical filter design of IIR filters

Abstract

The invention relates to a continuous adjusting and optimizing method for analog-to-digital conversion precision, and belongs to the field of data optimization. The invention removes noise and interference by a comparison method; the continuous tuning of the analog-to-digital conversion precision is realized by an algorithm aiming at an input signal, and the realization method comprises the following steps: selecting a cut-off frequency of a normalized analog filter and a normalized digital filter, and obtaining a digitized filter through conversion; inputting an input signal into a digitized filter for filtering; and taking the values of 2 points before and after the value on the basis of the filtered value, taking the values of five points in total, and taking an average value, wherein the obtained average value of the points is the value after the continuous adjustment of the analog-to-digital conversion precision. The filter has a simple structure, and has high real-time performance in processing the signals after the analog-digital conversion; the method can continuously adjust and optimize, can self-adaptively adjust the parameters of the filter according to the input signal, and has high analog-to-digital conversion precision.

Description

Continuous adjusting and optimizing method for analog-to-digital conversion precision
Technical Field
The invention belongs to the field of data optimization, and particularly relates to a continuous adjusting and optimizing method for analog-to-digital conversion precision.
Background
In the current digital age, signal processing is integrated into our lives, and almost all things can be collected as signals. However, information becomes useful information only after being processed into a useful signal, and thus, the processing of information becomes extremely important. The purpose of signal processing is to attenuate unwanted content in the signal, filter out unwanted noise and interference, or transform the signal into a form that is easy to process, transmit, analyze, and identify for subsequent further processing.
An analog-to-digital converter, or ADC for short, generally refers to an electronic component that converts an analog signal into a digital signal. The ADC module plays a vital role in the fields of aerospace, national defense and military industry and the like, and plays a role in collecting voltage and current information of equipment, monitoring equipment states and the like, but due to various reasons of equipment hardware and the like, the ADC module is not good in processing noise and interference, and therefore continuous optimization of the collected voltage and current information is required in the aspect of software through an algorithm.
Disclosure of Invention
Technical problem to be solved
The invention aims to solve the technical problem of how to provide a continuous adjusting and optimizing method for analog-to-digital conversion precision, so as to solve the problems that the precision of noise and interference in data acquired by an ADC (analog-to-digital converter) module cannot be processed by hardware, and software is required to achieve continuous adjusting and optimizing of the analog-to-digital conversion precision by an algorithm.
(II) technical scheme
In order to solve the above technical problems, the present invention proposes
A continuous adjusting and optimizing method for analog-to-digital conversion precision comprises the following steps:
s1, removing noise and interference by a comparison method, collecting data values of fixed point numbers, comparing the collected data values with two adjacent data values of the data values, and if the data values of the point are beyond a certain range after being compared with the adjacent data values, replacing the data values of the point with the data values of the adjacent points;
s2, realizing continuous adjustment and optimization of analog-to-digital conversion precision through an algorithm aiming at an input signal, wherein the realization method comprises the following steps: selecting a cut-off frequency of a normalized analog filter and a normalized digital filter, and obtaining a digitized filter through conversion; inputting an input signal into a digitized filter for filtering;
and S3, taking the values of 2 points before and after the value on the basis of the filtered value, taking the values of five points in total, and taking the average value of the points, wherein the obtained average value is the value after the continuous adjustment of the analog-to-digital conversion precision.
Further, the data value of the point is replaced with the data value of the neighboring point, specifically, the data value of the point is equal to the value before or after the data value.
Further, the fact that the data value of the point exceeds a certain range after being compared with the data values adjacent to the front and the back means that the data value of the point exceeds the data values adjacent to the front and the back by more than 50% after being compared with the data values adjacent to the front and the back.
Further, the step S2 specifically includes the following steps:
s21, selecting a normalized analog filter H (S);
s22 determining the cut-off frequency f of the z-domain of the digital filterd
S23, using formula
Figure BDA0003132352070000021
Calculating the cut-off frequency of the s domain of the corresponding analog filter; wherein f issIs the sampling frequency;
s24, selecting proper transformation to obtain a transfer function H' (S) of the analog filter from H (S);
s25, in H' (S)
Figure BDA0003132352070000022
Replacing to obtain a system function H (z) of the IIR digital filter;
s26, the input signal is input to the digitized filter h (z) to obtain a filtered value.
Further, the numberCut-off frequency f of the z-domain of the word filterdIn response to a corresponding frequency of-3 db.
Further, the substitution is made as follows, s → s/ωcWherein ω isc=2πfaObtaining H'(s), where ω iscIs the cut-off frequency of the analog filter frequency domain.
Further, the normalized filter H(s) is
Figure BDA0003132352070000031
Further, for the input signal, a certain time series signal is selected, the time series signal is derived from the pre-sampled data of the similar model, and the known sample is analyzed through laplace transform and Z transform to extract the characteristic value, so that the cut-off frequency of the normalized analog filter h(s) and the normalized digital filter are obtained.
Further, the method is used for continuous tuning of the voltage output by the ADC module.
Further, the method is used for continuous adjustment of the current output by the ADC module.
(III) advantageous effects
The invention provides a method for continuously adjusting and optimizing the analog-to-digital conversion precision, which has the following advantages:
1) the filter has a simple structure, and the real-time performance of the processing of the signals after the analog-digital conversion is higher;
2) the method can continuously adjust and optimize, can self-adaptively adjust the parameters of the filter according to the input signal, and has high analog-to-digital conversion precision.
Drawings
FIG. 1 is a flow chart of the continuous tuning of the analog-to-digital conversion accuracy of the present invention;
fig. 2 is a flow chart of the algorithm of the present invention for specifying an input signal.
Detailed Description
In order to make the objects, contents and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
The invention relates to a data optimization method for information acquisition, in particular to voltage and current acquisition of an ADC (analog-to-digital converter) module, which is a continuous adjusting and optimizing method for analog-to-digital conversion precision based on a comparison method, a specified signal input algorithm and an averaging method.
The invention realizes the continuous adjustment and optimization of the analog-to-digital conversion precision through the aspect of software based on a comparison method, an algorithm aiming at the specified input signal and an averaging method for filtering in sequence.
S1, removing noise and interference by a comparison method, specifically, collecting data value of a fixed point number through an ADC module, comparing the collected data value with two adjacent data values of the data value, if the data value of the point is beyond a certain range after being compared with the adjacent data values, replacing the data value of the point with the data value of the adjacent point, and the step is to realize the optimization of the analog-to-digital conversion precision for the first time and primarily remove the noise and the interference.
Further, that the data value of the point exceeds the certain range after being compared with the data values adjacent to the front and the back means that the data value of the point exceeds the data values adjacent to the front and the back by more than 50% after being compared with the data values adjacent to the front and the back.
S2, continuously optimizing the analog-to-digital conversion precision by an algorithm aiming at the input signal, selecting a normalized analog filter and the cut-off frequency of a digital filter, and obtaining a digitized filter through conversion; the input signal is input to a digitized filter for filtering.
The realization method comprises the following steps:
s21, selecting a normalized analog filter H (S);
s22, determining the cut-off frequency of the digital filter, i.e. the response is-3 db (amplitude attenuation is
Figure BDA0003132352070000041
) The corresponding frequency of (a);
s23, using formula
Figure BDA0003132352070000042
Calculating a corresponding simulated cut-off frequency;
s24, selecting properFrom H(s) to H'(s) as for low-pass filter s → s/ωcWherein ω isc=2πfa
S25, in H' (S)
Figure BDA0003132352070000043
The substitution is performed resulting in a digitized filter h (z).
S26, the input signal is input to the digitized filter h (z) to obtain the desired sign of the filtered value:
h(s): a normalized transfer function of the analog filter;
h'(s): simulating a transfer function of the filter;
h (z): designing a system function of the IIR digital filter;
s: the complex frequency of the continuous-time signal (laplace transform);
z: complex frequency of discrete time signals (Z transform);
ωc: a cut-off frequency of the analog filter frequency domain;
fa: simulating a cut-off frequency of an s-domain of the filter;
fs: sampling frequency;
fd: cutoff frequency of designed IIR digital filter (z-domain).
And S3, taking the values of 2 points before and after the value on the basis of the filtered value, taking the values of five points in total, and taking the average value of the points, wherein the obtained average value is the value after the continuous adjustment of the analog-to-digital conversion precision.
The following detailed description of embodiments of the invention is made with reference to the accompanying drawings and examples. The method used in the present invention will be described first.
Comparison method: comparing the collected information value with the two values before and after the value, if the value exceeds a certain range, enabling the data value of the point to be equal to the value before or after the data value, and thus removing the influence of noise and interference;
algorithm for a given input signal: for a specified input signal, a certain time sequence signal is selected, the time sequence signal is derived from pre-sampling data of a similar model, known samples are analyzed through Laplace transform and Z transform to extract characteristic values, and the characteristic values have feedback, so that normalized analog filters H(s) and cut-off frequencies of digital filters are obtained. The algorithm for specifying the input signal is a nonlinear phase (bilinear transformation), which has an influence on the nonlinear phase.
The method comprises the following implementation steps:
the first step is as follows: selecting a normalized analog filter h(s);
the second step is that: the cut-off frequency of the digital filter is determined, i.e. the response is-3 db (amplitude attenuation is
Figure BDA0003132352070000051
) The corresponding frequency of (a);
the third step: using formulas
Figure BDA0003132352070000052
Calculating a corresponding simulated cut-off frequency;
the fourth step: choosing the appropriate transform, H'(s) is obtained as for the low pass filter s → s/ωcWherein ω isc=2πfa
The fifth step: in H'(s), with
Figure BDA0003132352070000061
The substitution is performed resulting in a digitized filter h (z).
Description of the symbols:
h(s): a normalized transfer function of the analog filter;
h'(s): simulating a transfer function of the filter;
h (z): designing a system function of the IIR digital filter;
s: the complex frequency of the continuous-time signal (laplace transform);
z: complex frequency of discrete time signals (Z transform);
ωc: a cut-off frequency of the analog filter frequency domain;
fa: simulating a cut-off frequency of an s-domain of the filter;
fs: sampling frequency;
fd: cutoff frequency of designed IIR digital filter (z-domain).
For example:
1. selecting normalized filters
Figure BDA0003132352070000062
2. The digital cut-off frequency is 10 HZ;
3. the corresponding analog cut-off frequency is:
Figure BDA0003132352070000063
4. replacing s in H(s): s → s/omegac,ωc=2πfa. To obtain
Figure BDA0003132352070000064
Wherein ω isc=2π(11.56)=72.6rad/s;
5. By using
Figure BDA0003132352070000065
Is replaced to obtain
Figure BDA0003132352070000066
The input signal is then fed into the digitised filter h (z) to obtain the filtered value we want.
Averaging method: taking the filtered values obtained twice before as the basis, taking the values of 2 points before and after the value, and taking the average value of the five points, wherein the average value of the five points is the value after the continuous adjustment of the analog-to-digital conversion precision.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A continuous adjusting and optimizing method for analog-to-digital conversion precision is characterized by comprising the following steps:
s1, removing noise and interference by a comparison method, collecting data values of fixed point numbers, comparing the collected data values with two adjacent data values of the data values, and if the data values of the point are beyond a certain range after being compared with the adjacent data values, replacing the data values of the point with the data values of the adjacent points;
s2, realizing continuous adjustment and optimization of analog-to-digital conversion precision through an algorithm aiming at an input signal, wherein the realization method comprises the following steps: selecting a cut-off frequency of a normalized analog filter and a normalized digital filter, and obtaining a digitized filter through conversion; inputting an input signal into a digitized filter for filtering;
and S3, taking the values of 2 points before and after the value on the basis of the filtered value, taking the values of five points in total, and taking the average value of the points, wherein the obtained average value is the value after the continuous adjustment of the analog-to-digital conversion precision.
2. A method as claimed in claim 1, wherein the data value at the point is replaced by the data value at the neighboring point, in particular such that the data value at the point is equal to the value before or after the data value.
3. The method as claimed in claim 1, wherein the data value at the point exceeding a certain range after comparing with the data values adjacent to each other means that the data value at the point exceeding the data values adjacent to each other by more than 50%.
4. The continuous tuning method for the precision of analog-to-digital conversion according to any one of claims 1 to 3, wherein the step S2 specifically comprises the steps of:
s21, selecting a normalized analog filter H (S);
s22 determining the cut-off frequency f of the z-domain of the digital filterd
S23, using formula
Figure FDA0003132352060000011
Calculating the cut-off frequency of the s domain of the corresponding analog filter; wherein f issIs the sampling frequency;
s24, selecting proper transformation to obtain a transfer function H' (S) of the analog filter from H (S);
s25, in H' (S)
Figure FDA0003132352060000012
Replacing to obtain a system function H (z) of the IIR digital filter;
s26, the input signal is input to the digitized filter h (z) to obtain a filtered value.
5. The method as claimed in claim 4, wherein the digital filter has a cutoff frequency f in the z-domaindIn response to a corresponding frequency of-3 db.
6. The method for continuously optimizing the accuracy of analog-to-digital conversion according to claim 4, wherein the suitable transformation is specifically: by substituting s → s/ωcWherein ω isc=2πfaObtaining H'(s), where ω iscIs the cut-off frequency of the analog filter frequency domain.
7. The method as claimed in claim 4, wherein the normalized filter H(s) is
Figure FDA0003132352060000021
8. The method according to any one of claims 5 to 7, wherein a time series signal derived from pre-sampled data of a similar model is selected for the input signal, and the known samples are analyzed by Laplace transform and Z transform to extract the characteristic values, thereby obtaining the cut-off frequencies of the normalized analog filter H(s) and the digital filter.
9. The method as claimed in claim 1, wherein the method is used for continuous tuning of the voltage output by the ADC module.
10. The method as claimed in claim 1, wherein the method is used for continuous tuning of the current output by the ADC module.
CN202110708590.3A 2021-06-25 2021-06-25 Continuous adjusting and optimizing method for analog-to-digital conversion precision Pending CN113472350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110708590.3A CN113472350A (en) 2021-06-25 2021-06-25 Continuous adjusting and optimizing method for analog-to-digital conversion precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110708590.3A CN113472350A (en) 2021-06-25 2021-06-25 Continuous adjusting and optimizing method for analog-to-digital conversion precision

Publications (1)

Publication Number Publication Date
CN113472350A true CN113472350A (en) 2021-10-01

Family

ID=77872947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110708590.3A Pending CN113472350A (en) 2021-06-25 2021-06-25 Continuous adjusting and optimizing method for analog-to-digital conversion precision

Country Status (1)

Country Link
CN (1) CN113472350A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055434A (en) * 2010-12-01 2011-05-11 北京华力创通科技股份有限公司 Method for designing digital filter applied in inertia device
CN103607180A (en) * 2013-11-27 2014-02-26 东南大学 Rapid filtering method for conversion of multiple digital source sampling frequencies in photoelectric transformer
CN105203839A (en) * 2015-08-28 2015-12-30 中国科学院新疆天文台 Broadband-frequency-spectrum-based interference signal extraction method
CN106656187A (en) * 2016-11-25 2017-05-10 芯海科技(深圳)股份有限公司 ADC filtering method for small signal de-noising

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055434A (en) * 2010-12-01 2011-05-11 北京华力创通科技股份有限公司 Method for designing digital filter applied in inertia device
CN103607180A (en) * 2013-11-27 2014-02-26 东南大学 Rapid filtering method for conversion of multiple digital source sampling frequencies in photoelectric transformer
CN105203839A (en) * 2015-08-28 2015-12-30 中国科学院新疆天文台 Broadband-frequency-spectrum-based interference signal extraction method
CN106656187A (en) * 2016-11-25 2017-05-10 芯海科技(深圳)股份有限公司 ADC filtering method for small signal de-noising

Similar Documents

Publication Publication Date Title
Krishna et al. On design and applications of digital differentiators
Piskorowski Suppressing harmonic powerline interference using multiple-notch filtering methods with improved transient behavior
CN108710027B (en) High-precision measurement method for phase difference and amplitude difference between channels
CN113568032B (en) Negative index nuclear pulse signal processing method and system based on z transformation
Pei et al. Fractional bilinear transform for analog-to-digital conversion
CN107294534B (en) Double-channel TIADC frequency response mismatch real-time correction method for narrow-band signal sampling
CN113472350A (en) Continuous adjusting and optimizing method for analog-to-digital conversion precision
Reddy et al. Comparison of FIR and IIR Filters using ECG Signal with Different Sampling Frequencies
CN115308486A (en) Electric energy harmonic wave metering method and system
Bakshi et al. Designand comparison between IIR butterwoth and chebyshev digital filters using matlab
CN112737546B (en) Signal tracking method, filtering method, device and medical equipment
CN111641411B (en) Signal acquisition method and system
CN111289106B (en) Spectral noise reduction method based on digital filtering
CN111010144B (en) Improved two-channel IIR QMFB design method
CN210274516U (en) Audio amplifying circuit and playback apparatus
CN109728860B (en) Communication interference suppression method based on acquisition terminal detection device
CN111697927A (en) Wideband bandpass filter system and method
CN112332809A (en) Fractional order elliptic filter design method for amplitude non-attenuation equalization phase
Li et al. Compensation method for the CIC filter in digital down converter
Sharma et al. Design and analysis of IIR notch filter using LabVIEW
CN110717303A (en) Fault occurrence time detection method and device based on analysis band-pass digital filtering
CN104729540A (en) High-precision measuring system and method for mechanical environment parameter of aircraft
CN111641400B (en) Transfer function equivalent method of CIC filter bank
CN111983307A (en) SOGI-based rapid and accurate frequency detection method
CN112329591B (en) Digital signal processing method for eliminating burr interference signals

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination