CN112904258B - Multi-stage bias correction method and device based on dynamic target value evaluation - Google Patents

Multi-stage bias correction method and device based on dynamic target value evaluation Download PDF

Info

Publication number
CN112904258B
CN112904258B CN202110177945.0A CN202110177945A CN112904258B CN 112904258 B CN112904258 B CN 112904258B CN 202110177945 A CN202110177945 A CN 202110177945A CN 112904258 B CN112904258 B CN 112904258B
Authority
CN
China
Prior art keywords
offset
output
stage
bias
gain
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
CN202110177945.0A
Other languages
Chinese (zh)
Other versions
CN112904258A (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.)
Uni Trend Technology China Co Ltd
Original Assignee
Uni Trend Technology China 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 Uni Trend Technology China Co Ltd filed Critical Uni Trend Technology China Co Ltd
Priority to CN202110177945.0A priority Critical patent/CN112904258B/en
Publication of CN112904258A publication Critical patent/CN112904258A/en
Application granted granted Critical
Publication of CN112904258B publication Critical patent/CN112904258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/005Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references

Abstract

The invention provides a multi-stage bias correction method and device based on dynamic target value evaluation. The method comprises the following steps: obtaining output bias S under any voltage gear out (ii) a Changing the gain amplification K at said voltage level VGA (ii) a Based on the gain magnification K after the change VGA Determining the output offset S out Whether or not to change; if not, completing the offset correction. The multi-stage bias correction method based on the dynamic target value evaluation does not need equipment to provide reference or disconnect the multi-stage association of equipment channels, does not need to change hardware setting and provide default parameters, only needs to disconnect external input signals, and directly changes the gain amplification factor K under the condition that no external input signals exist VGA And obtaining the output offset S collected by the analog-to-digital converter out Judging the output offset S out Whether or not to follow gain amplification factor K VGA The offset correction process is greatly simplified, and the influence of the calibration process on the system, particularly high-frequency signals, is reduced, so that design risks are prevented from being introduced.

Description

Multi-stage bias correction method and device based on dynamic target value evaluation
Technical Field
The invention relates to the field of bias correction, in particular to a multi-stage bias correction method and device based on dynamic target value evaluation.
Background
Bias adjustment is one of the important functions of a digital oscilloscope, and fig. 1 is a schematic block diagram of bias adjustment of a digital oscilloscope in the prior art. As shown in fig. 1, the input signal S x After input from the signal input terminal (BNC), an offset S is introduced through a passive attenuation network 0 To a pre-stage bias module, introducing a bias S through the pre-stage bias module 1 To a variable-gain-amplifier (VGA) module, introducing a bias S2 to a post-stage bias module through the VGA module, and passing through the post-stage bias moduleStage bias module introduces output bias S out Final output bias S out Directly into an analog-to-digital-converter (ADC). Wherein the passive attenuation network firstly amplifies the input signal S x And the front-stage bias module is one-stage or multi-stage impedance transformation network and is used for isolating the influence between the front-stage circuit and the rear-stage circuit and increasing the driving capability of the rear stage. And the voltage variable gain amplifier module amplifies the small signals output after attenuation and impedance conversion. The back-stage bias module is a final-stage bias adjusting circuit, amplified bias S for output of a voltage variable gain amplifier module 2 And the regulated signal is sent to an analog-digital converter, and the rear-stage bias module also plays a role of buffer driving. Thus, the offset S is output out Can be formulated as S out =f(S x ,K,offset 1 ,offset 2 ,K VGA ) Where f is the transfer function, S x For input signals, K is the amplification factor K of the passive attenuation network 0 Amplification factor K of preceding stage bias module 1 And the amplification factor K of the rear-stage bias module 2 Total amplification gain, offset of 1 For pre-stage offset, offset 2 For later stage biasing, K VGA Is the gain amplification of the voltage variable gain amplifier module. The ideal static operating point of the oscilloscope channel should satisfy: s x =0, Δo 1 =offset 1 -offset Correction 1 =0,Δo 2 =offset 2 -offset Correction 2 =0, wherein offset Correction 1 、offset Correction 2 The offset correction value is a front-stage offset correction value and a rear-stage offset correction value which correspond to a zero value set by software of offset correction, wherein the zero value is a state that a user sets a channel label on an oscilloscope interface to be vertically centered (a waveform is in the middle of a display area and is offset to be 0) and a front-stage offset voltage is also set to be zero. So that it is obtained whether K is 0 ,K 1 ,K VGA ,K 2 For what gain amplification factor, S should be obtained out Is zero, i.e.: s out = f(0,K,offset Correction 1 ,offset Correction 2 ,K VGA )=0。
K is caused by non-uniformity of hardware circuit distribution parameters and devices 0 ,K 1 ,K VGA ,K 2 With different errors and at the same time offset S 0 ,S 1 ,S 2 ,S out Respectively introducing positive and negative direct current bias C of dozens of millivolts 1 、C 2 、C 3 、C 4 Thus S out The zero output of (c) is affected by a number of factors. However, in order to make the system in a large displacement dynamic range in a small-amplitude gear, S is defined x Zero input S out At zero output, S 2 The output signal should be less than a certain precision, for example 1mV, the specific value of which varies according to the specific project and hardware constitution. Since the offset of both the front and rear stages can influence S out So if it is only the hardware that is adjusted to correct the pre-S x Zero input, offset Correction 1 、offset Correction 2 There are numerous combinations. But to ensure S 2 The output signal is less than 1mV, offset Correction 1 、offset Correction 2 Only one combination of the two is needed, so a set of calibration solution is needed to solve the calibration difficulty of multiple offsets.
Currently, manual calibration is commonly used for multi-offset calibration. When the device is used for batch production, the labor cost and efficiency are wasted, and the precision is influenced by human factors and has certain uncontrollable property. In addition, the oscilloscope in the hands of a user is influenced by the service time and the ambient temperature to cause parameter drift, and the correction parameters of the system cannot work in an undesirable state, so that the subsequent use is influenced.
Disclosure of Invention
In view of the problem of limitation of multi-level offset correction only manually in the prior art, the present invention is proposed to provide a multi-level offset correction method and apparatus based on dynamic target value evaluation, which overcomes or at least partially solves the above problem.
According to an aspect of the present invention, there is provided a multi-stage bias correction method based on dynamic target value evaluation, including:
obtaining any one ofOutput bias at voltage level S out
Changing the gain amplification K at said voltage level VGA
Based on the gain amplification factor K after the change VGA Determining the output offset S out Whether or not to change;
if not, completing the offset correction.
Preferably, the method further comprises:
if the output is biased by S out If the gain is changed, a measurement sequence is obtained, wherein the measurement sequence is a plurality of gain amplification factors K VGA The one-to-one corresponding output offset S out A set of (a);
obtaining a first slope k based on linear fitting according to the measurement sequence; wherein S is out =k*K VGA +NC, NC=(C 4 +offset 2 )*K 2 ,C 4 To output an offset S out Is offset constant, offset 2 For later stage biasing, K 2 The amplification factor of the rear-stage bias module;
adjusting a preceding stage offset based on a first slope k 1 So that the output is biased by S out Convergence to no gain magnification K VGA A constant of change, wherein k = (offset) 1 +b)*NK,
Figure BDA0002941289970000031
NK=K 1 *K 2 ,S x As an input signal, C 1 、C 2 、C 3 Offset constants, K, of the passive attenuation network, the pre-bias module and the voltage variable gain amplifier module, respectively 0 ,K 1 The amplification factors of the passive attenuation network and the preceding stage bias module are respectively.
Preferably, the preceding stage offset is adjusted based on the first slope k 1 The method comprises the following steps:
according to the preceding stage offset 1 Obtaining a pre-stage offset correction value offset Correction 1
According to the offset correction value offset of the preceding stage Correction 1 Adjusting the pre-stage offset 1
Preferably, the preceding stage offset is adjusted 1 Thereafter, the method further comprises:
obtaining a back-stage offset 2
According to the back-stage offset 2 Obtaining a post-stage offset correction value offset Correction 2
Based on the post-stage offset correction value offset Correction 2 Biasing the output at said voltage level by S out And carrying out offset correction.
Preferably, the pre-stage offset 1 Including one or more levels of biasing.
Preferably, the method further comprises:
determining an output offset S out Is less than a first threshold, the output offset S out Is the output offset S out The mean square error of (d);
if yes, outputting the bias S out Convergence to gain-independent amplification K VGA A constant of change.
Preferably, the output offset S is determined out Whether the convergence value of (a) is less than a first threshold value comprises:
and judging whether the mean square error of the measurement sequence is smaller than a first threshold value.
Preferably, the method further comprises: biasing the output at all voltage levels by S out And carrying out offset correction.
According to another aspect of the present invention, there is provided a multi-stage bias correction apparatus dynamically evaluated based on a target value, comprising:
a first obtaining unit for obtaining the output bias S at any voltage level out
A first adjusting unit for changing gain amplification factor K under the voltage gear VGA
A first judgment unit for judging whether the gain amplification factor K is larger than a predetermined value VGA Determining the output offset S out Whether or not to change;
and the first confirmation unit is used for finishing the offset correction if the offset correction is not finished.
Preferably, the apparatus further comprises:
a second obtaining unit for obtaining the output offset S out If the gain is changed, a measurement sequence is obtained, wherein the measurement sequence comprises a plurality of gain amplification times K VGA The one-to-one corresponding output offset S out A set of (a);
a third obtaining unit, configured to obtain a first slope k based on linear fitting according to the measurement sequence; wherein S is out =k*K VGA +NC,NC=(C 4 +offset 2 )*K 2 ,C 4 For output biasing S out Offset constant of 2 For later stage biasing, K 2 The amplification factor of the rear-stage bias module;
a second adjustment unit for adjusting the preceding stage offset based on the first slope k 1 So that the output is biased by S out Convergence to gain-independent amplification K VGA A constant of change, wherein k = (offset) 1 +b)*NK,
Figure BDA0002941289970000041
NK=K 1 *K 2 ,S x As an input signal, C 1 、C 2 、C 3 Offset constants, K, of the passive attenuation network, the pre-bias module and the voltage variable gain amplifier module, respectively 0 ,K 1 The amplification factors of the passive attenuation network and the preceding stage bias module are respectively.
The multi-level offset correction method and device based on the dynamic target value evaluation do not need equipment to provide reference or disconnect the multi-level association of equipment channels, do not need to change hardware setting and provide default parameters, only need to disconnect external input signals, and directly change the gain amplification factor K under the condition of no external input signals VGA And obtaining the output offset S collected by the A/D converter out Judging the output offset S out Whether or not to follow gain amplification factor K VGA Is changed when the judgment result is the output offset S out Gain-independent amplification factor K VGA When the variation of the offset value is changed, the offset correction is directly finished without calculating the offset value, so that the offset correction process is greatly simplified, the influence of the calibration process on the system, particularly high-frequency signals, is reduced, and the design risk is prevented from being introduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a bias correction in the prior art;
fig. 2 is a flowchart of a multi-level offset calibration method based on dynamic target value evaluation according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a multi-stage bias correction apparatus based on dynamic target value evaluation according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a multi-stage offset correction apparatus based on dynamic target value evaluation according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a multi-level offset correction method based on dynamic evaluation of a target value, which comprises the following steps as shown in fig. 2:
step 201, obtaining output offset S under any voltage gear out (ii) a The voltage gear is realized by controlling the attenuation and amplification factor of an internal circuit of the oscilloscope, so that the input voltage is attenuated and amplified and then is positioned in the sampling range of the analog-to-digital converter (ADC), and a better sampling effect is achieved. Specifically, in the embodiment of the present invention, for example, the passive attenuation network and the pre-stage bias module are respectively controlled by two relays, so that the on and off states of the two relays correspond to four signal transmission paths, which means that four amplification factors can be combined, and in other embodiments, multiple amplification factors can be designed, and the specific application of the present invention is not limited thereto. Specifically, the amplification factor K of the passive attenuation network is controlled by two relays respectively 0 Amplification factor K of preceding stage bias module 1 Therefore K is 0 ,K 1 1. The amplifier can provide 4 kinds of fixed amplification factors, each amplification factor can correspond to one voltage step, and therefore four voltage steps can be provided. Wherein an output bias S out And collecting through an analog-to-digital converter.
Step 202, changing gain amplification factor K under the voltage gear VGA (ii) a Specifically, the gain amplification factor K is changed by the voltage variable gain amplifier module VGA And at gain amplification factor K VGA Value range of [1, 100 ]]Is made to vary the gain amplification K according to its selectable factor VGA The larger the number taken, the better. Preferably, the oscilloscope is taken into consideration of speed and precision, and the gain amplification factor K VGA Values can be taken in accordance with the arithmetic progression of 1, 10, 20, 30, … … 100.
Step 203, based on the changed gain amplification factor K VGA Determining the output offset S out Whether or not to change; in particular, when the gain amplification factor K is changed VGA Then, the output offset S is determined out Whether it is changed. The gain can be amplified by a factor K VGA Once changed, the gain magnification K after the change is judged VGA Lower output bias S out Whether or not to change, e.g. to increase the gain by a factor K VGA Obtaining an output offset S after 10 times change out And making a judgment. In order to prevent errors caused by one judgment, a plurality of or all of the gain amplification factors K can be used VGA Both as a reference and measuring each gain magnification K simultaneously VGA Corresponding output offset S out And determining the output offset S out Whether or not to follow the gain magnification K VGA And changes accordingly. If the offset correction has reached the ideal correction value, then regardless of the gain amplification factor K VGA How the value changes, the output offset S out Is constant, i.e. is a fixed value, and if the offset S is output out A change has occurred, indicating that the bias correction has not achieved the desired correction result.
And step 204, if not, completing the offset correction. I.e. if the output is biased by S out Gain-independent amplification factor K VGA Is varied, that is, the output offset S out Is fixed, it means that the bias correction has reached the ideal state, and thus the bias correction is ended.
In the multi-stage offset correction method based on dynamic target value evaluation according to the specific embodiment of the present invention, it is not necessary for a device to provide a reference or disconnect the multi-stage association of a device channel, and it is not necessary to change hardware settings and provide default parameters, and it is only necessary to disconnect an external input signal, and directly change the gain amplification factor K in the absence of an external input signal VGA And obtaining the output offset S collected by the analog-to-digital converter out Judging the output offset S out Whether or not to follow gain amplification factor K VGA Is changed when the judgment result is the output offset S out Gain-independent amplification factor K VGA When the offset value changes, the offset correction is directly finished without calculating the offset value subsequently, so that the offset correction process is greatly simplified, the influence of the calibration process on the system, particularly high-frequency signals, is reduced, and the introduction of design is preventedAnd (4) risks.
In step 203, when the gain amplification factor K is changed VGA Then, if the output is biased by S out And the change follows, that is, the bias correction has not reached the ideal correction result, the bias correction still needs to be continued according to the following steps.
Preferably, the method further comprises, if the output offset S out If the gain is changed, obtaining a measuring sequence, wherein the measuring sequence is a plurality of gain amplification times K VGA The one-to-one corresponding output offset S out A collection of (a). In a specific embodiment, the gain amplification factor K is changed once if the previous step is performed VGA And output an offset S out Also changed, then in this step it is necessary to amplify the signal according to all the gains K VGA To obtain a one-to-one corresponding output offset S out To obtain an output offset S out A collection of (a). If all the gain amplification factors K in the previous step VGA Both as a reference and measuring each gain magnification K simultaneously VGA Corresponding output offset S out Can then change the gain amplification K at each time VGA Then, the collected output is biased by S out Recording is performed, and in this step the recorded data is looked up and finally the output offset S is formed out So as to directly omit the re-acquisition of the output offset S out The process of (1).
Obtaining a first slope k based on linear fitting according to the measurement sequence; wherein S is out =k*K VGA +NC, NC=(C 4 +offset 2 )*K 2 ,C 4 To output an offset S out Is offset constant, offset 2 For later stage biasing, K 2 Is the amplification factor of the back-stage bias module. Specifically, when the output is biased S out With gain amplification factor K VGA When the gain is changed, the gain amplification factor K can be changed VGA As an argument, output offset S out As a dependent variable, a first order function can thus be obtained: s out =k*K VGA + NC, where the first slope k is the bias voltageThe sum of the pressures. Since the offset of the later stage is offset when the offset correction of the earlier stage is being performed 2 And the magnification of the back-stage bias is kept constant, so NC = (C) 4 +offset 2 )*K 2 Is constant, can be out =k*K VGA + NC is regarded as a fitting straight line, and then the fitting straight line S can be obtained through linear fitting out =k*K VGA The value of the first slope k in + NC.
Adjusting a preceding stage offset based on a first slope k 1 So that the output is biased by S out Convergence to no gain magnification K VGA A constant of change, wherein k = (offset) 1 +b)*NK,
Figure BDA0002941289970000071
NK=K 1 *K 2 ,S x As an input signal, C 1 、C 2 、C 3 Offset constants, K, for the passive attenuator network, the pre-bias module and the voltage-variable-gain amplifier module, respectively 0 ,K 1 The amplification factors of the passive attenuation network and the preceding stage bias module are respectively. Specifically, since the value of the first slope k is already obtained in the previous step, the equation k = (offset) is used 1 + b) NK further gets the previous offset 1 And NK = K 1 *K 2 That is, NK is the product of the amplification factor of the front offset block and the amplification factor of the rear offset block, so that NK is a constant greater than zero, and thus the front offset is adjusted 1 Such that the first slope k is equal to zero, such that the output offset S out Convergence to non-increasing magnification K VGA A constant of change.
The above acquisition of the preceding stage offset is shown in full in one embodiment below 1 The process of (1). In the oscillograph offset correction method, the output offset S is known out Can be expressed by the following formula:
S out =((((S x +C 1 )*K 0 +C 2 +offset 1 )*K 1 +C 3 )*K VGA +C 4 +offset 2 )*K 2
wherein S is x As an input signal, C 1 、C 2 、C 3 、C 4 Offset constants, K, of the passive attenuation network, the pre-stage bias module, the voltage variable gain amplifier module and the post-stage bias module 0 、K 1 、K 2 Amplification factors, K, of the passive attenuation network, the pre-stage bias module and the post-stage bias module, respectively VGA For gain amplification, offset 1 For pre-stage offset, offset 2 Is the latter stage bias. As can be seen from the above equation, C is due to non-uniformity of the distribution parameters and devices 1 、C 2 、C 3 、C 4 Existing in each stage circuit, and is affected by amplification factor of each stage circuit to obtain bias S 0 ,S 1 ,S 2 All have positive and negative direct current bias of dozens of millivolts, and finally output bias S out A relatively large bias may be generated due to a variety of factors. In the formula K 0 ,K 1 Controlled by a relay and divided into two amplification states, so that K 0 ,K 1 A total of 4 magnifications can be provided. With K 0 ,K 1 One example of a fixed magnification is due to K 0 ,K 1 For a fixed magnification factor, i.e. a non-zero constant, so that K is given by the above formula VGA The previous section may be modified as follows:
(((S x +C 1 )*K 0 +C 2 +offset 1 )*K 1 +C 3 )*K VGA
=(((S x +C 1 )*K 0 +C 2 )*K 1 +offset 1 *K 1 +C 3 )*K VGA
=(offset 1 *K 1 +((S x +C 1 )*K 0 +C 2 )*K 1 +C 3 )*K VGA
=(offset 1 +(((S x +C 1 )*K 0 +C 2 )*K 1 +C 3 )/K 1 )*K VGA *K 1
wherein S is x ,C1,C2,C3,K 0 ,K 1 Is a constant, so (((S) x +C 1 )*K 0 +C 2 )*K 1 +C 3 )/K 1 Expressed by a constant b, the output offset S out Can be simplified as follows:
S out =((offset 1 +b)*K VGA *K 1 +C 4 +offset 2 )*K 2
=(offset 1 +b)*K VGA *K 1 *K 2 +(C 4 +offset 2 )*K 2
since the offset of the subsequent stage is corrected at the time of the previous stage 2 Amplification factor K of module with back-stage bias 2 Also does not change, so (C) 4 +offset 2 )*K 2 Is constant and is represented by NC; k 1 、K 2 Is also constant, hence NK = K 1 *K 2 So as to output an offset S out The formula of (c) is further simplified as:
S out =(offset 1 +b)*K VGA *NK+NC
according to the above formula, when offset is obtained 1 + b is zero, no matter K VGA How the value of (A) changes, the output bias S out The value of (a) is unchanged, and the bias can be considered to reach an ideal state at the moment, namely an ideal static working point of an oscilloscope channel is reached; when S is out When changed, indicates offset 1 The ideal correction value is not reached, so it is necessary to continue to offset 1 Adjusting to finally make the output offset S out Convergence to gain-independent amplification K VGA A constant that varies to effect bias correction. Can avoid the work return and the teaching of parameter drift caused by long-time use or parameter change caused by use environment.
In the multi-stage offset correction method based on dynamic target value evaluation according to the embodiment of the present invention, preferably, the pre-stage offset is adjusted based on the first slope k 1 The method comprises the following steps:
according to the preceding stage offset 1 Obtaining a pre-stage offset correction value offset Correction 1
According to the offset correction value offset of the preceding stage Correction 1 Adjusting the pre-stage offset 1 In particular, Δ o, one of the conditions according to the ideal quiescent operating point 1 =offset 1 -offset Correction 1 =0 directly determinable offset Correction 1 Finally, such that Δ o 1 =0。
The multi-stage offset correction method based on the dynamic target value evaluation adjusts the front-stage offset according to the embodiment of the invention 1 After, preferably, the method further comprises:
obtaining a post-stage offset 2 Due to offset 2 Is at offset 1 Measured directly after validation and thus can be used to validate offset 1 Obtaining a post-stage offset by post-direct measurement 2
According to the back-stage offset 2 Obtaining a post-stage offset correction value offset Correction 2
Based on the back-stage offset correction value offset Correction 2 Biasing the output at said voltage level by S out And carrying out offset correction. In particular, another condition Δ o according to the ideal static operating point 2 =offset 2 -offset Correction 2 =0, confirm offset Correction 2 Is finally made to be Δ o 2 =0。
In the above-described embodiment of the present invention, the offset is finally obtained Correction 1 And offset Correction 2 And respectively adjust the offset of the preceding stage 1 And a back-stage offset 2 So that the oscilloscope reaches an ideal static working point under the voltage gear no matter K 0 ,K 1 ,K VGA ,K 2 The output bias S can be obtained according to various amplification factors out Is unchanged.
In the multi-stage offset calibration method based on dynamic target value evaluation according to the embodiment of the present invention, preferably, the pre-stage offset is set to be smaller than the pre-stage offset 1 Including one or more levels of biasing. Specifically, the embodiment of the present invention may adopt a first-level gain of the variable gain amplifier module, or may adopt a first-level gain of the variable gain amplifier moduleThe single chip realizes multi-stage controllable gain to realize output of various attenuation and amplification factors, or the combination of a plurality of groups of passive attenuation networks or the combination of a plurality of groups of active amplification circuits, or the combination of the active and passive networks can realize the layout of the multi-stage gain controllable circuit, and the specific bias correction method is the same as the single-stage gain adjustment mode, and is not described again here.
The multi-stage bias correction method based on the dynamic evaluation of the target value according to the embodiment of the present invention preferably further includes:
judging the output offset S out Is less than a first threshold, the output offset S out Has a convergence value of the output offset S out The mean square error of (d);
if yes, outputting the bias S out Convergence to gain-independent amplification K VGA A constant of change.
Specifically, since all the amplification factors are not precise values and there is an error in the acquisition process, the output offset S is actually output out Will not remain unchanged and therefore only the output offset S needs to be determined out Converging on the first threshold, the output offset S can be considered out Convergence to gain-independent amplification K VGA A constant of change. Specifically, the output bias S out Has a convergence value of the offset S out The mean square error of (c).
The multi-stage bias correction method based on the dynamic target value evaluation, which is disclosed by the embodiment of the invention, preferably judges the output bias S out Whether the convergence value of (a) is less than a first threshold value comprises:
and judging whether the mean square error of the measurement sequence is smaller than a first threshold value. In this step, the precision deviation of the correction completion needs to be smaller than a first threshold, where the first threshold is 1/3 of the set target precision, for example, the first threshold is 1/3/NK, NK = K 1 *K 2 I.e. NK as input signal S x The magnification of (2). For example, a target value of 1mV, NK = 10 times, the convergence condition may be set to 1mV/3/10=0.03mv. The offset correction method has high precision and good calibration consistency, and actually measures S in the pre-stage offset 1 The error is less than 0.6mV, which meets the technical index.
In order to realize signal observation in a larger dynamic range, the oscillograph of the middle and high ends uses two-stage bias adjustment at present, wherein the front stage is thick, and the rear stage is fine adjustment. The multi-level bias correction method can dynamically predict the target convergence value, is not influenced by default parameters, input cascade series and rigidity limitation of a correction sequence, so that the scheme has wide universality and is suitable for a correction model using multi-level controllable gain and multi-bias input.
The multi-stage bias correction method based on the dynamic evaluation of the target value according to the embodiment of the present invention preferably further includes: biasing the output at all voltage levels by S out The offset correction is performed, so that no offset problem exists in any voltage gear, and the specific correction method is the same as that in the above embodiment, and is not described herein again. The user can calibrate one voltage step or multiple voltage steps as desired.
The multi-stage offset correction method based on the target value dynamic evaluation can be carried out before starting up each time, and can also be operated at any time according to the requirements of users, for example, when the change of the environmental temperature affects the corresponding correction parameters, the correction parameters are dynamically adjusted to be automatically calibrated, so that the user operation is convenient, and the process of returning to the factory for maintenance is reduced. Meanwhile, the manual hardware debugging working hours in batch production can be reduced, the manual operation error is reduced, the batch production efficiency is improved, and the productivity and yield value is improved.
An embodiment of the present invention further provides a multi-level offset correction apparatus based on dynamic evaluation of a target value, as shown in fig. 3, including:
a first obtaining unit 301 for obtaining the output offset S at any voltage step out
A first adjusting unit 302 for changing the gain amplification factor K under the voltage level VGA
First of allA judging unit 303 for judging the gain amplification factor K based on the changed gain VGA Determining the output offset S out Whether or not to change;
a first confirming unit 304, configured to complete the offset correction if no.
The multi-stage offset correction apparatus based on dynamic target value evaluation according to the embodiment of the present invention, as shown in fig. 4, preferably includes:
a second obtaining unit 401 for obtaining the output offset S out If the gain is changed, a measurement sequence is obtained, wherein the measurement sequence comprises a plurality of gain amplification times K VGA The one-to-one corresponding offset S out A set of (a);
a third obtaining unit 402, configured to obtain a first slope k based on linear fitting according to the measurement sequence; wherein S is out =k*K VGA +NC,NC=(C 4 +offset 2 )*K 2 ,C 4 To output an offset S out Is offset constant, offset 2 For later stage biasing, K 2 The amplification factor of the rear-stage bias module;
a second adjustment unit 403 for adjusting the previous stage offset based on the first slope k 1 So that the output is biased by S out Converging to an unaccompanied gain amplification factor K VGA A constant of change, wherein k = (offset) 1 +b)*NK,
Figure BDA0002941289970000111
NK=K 1 *K 2 ,S x As an input signal, C 1 、C 2 、C 3 Offset constants, K, of the passive attenuation network, the pre-bias module and the voltage variable gain amplifier module, respectively 0 ,K 1 The amplification factors of the passive attenuation network and the preceding stage bias module are respectively.
The multi-stage offset correction device based on the dynamic target value evaluation can be performed before starting up each time, and can also be operated at any time according to user requirements, for example, when the corresponding correction parameters are influenced by the change of the environmental temperature, the correction parameters are dynamically adjusted to be automatically calibrated, so that the user operation is convenient, and the process of returning to a factory for maintenance is reduced. Meanwhile, the manual hardware debugging working hours in batch production can be reduced, the manual operation error is reduced, the batch production efficiency is improved, and the productivity and the output value are improved.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It should also be understood that, in the embodiment of the present invention, the term "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates a relationship in which the front and rear associated objects are an "or".
Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, apparatuses and units described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and the actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A multi-stage bias correction method based on target value dynamic evaluation is characterized by comprising the following steps:
obtaining output bias at any voltage gear
Figure DEST_PATH_IMAGE002
Changing gain amplification at said voltage level
Figure DEST_PATH_IMAGE004
Based on the gain amplification factor after the change
Figure 288632DEST_PATH_IMAGE004
Determining the output offset
Figure 2510DEST_PATH_IMAGE002
Whether or not to change;
if not, completing the offset correction;
if the output is biased
Figure 313405DEST_PATH_IMAGE002
If the gain is changed, a measurement sequence is obtained, wherein the measurement sequence comprises a plurality of gain amplification factors
Figure 990505DEST_PATH_IMAGE004
The output offset of one-to-one correspondence
Figure 336036DEST_PATH_IMAGE002
A set of (a);
obtaining a first slope based on linear fitting from the measurement sequence
Figure DEST_PATH_IMAGE006
(ii) a Wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE008
Figure DEST_PATH_IMAGE010
Figure DEST_PATH_IMAGE012
is the offset constant of the subsequent stage bias block,
Figure DEST_PATH_IMAGE014
in order to bias the back-stage of the converter,
Figure DEST_PATH_IMAGE016
is the amplification factor of the back-stage bias module;
based on the first slope
Figure 460897DEST_PATH_IMAGE006
Adjusting pre-stage bias
Figure DEST_PATH_IMAGE018
So that the output is biased
Figure 540980DEST_PATH_IMAGE002
Convergence to gain-independent amplification
Figure 271039DEST_PATH_IMAGE004
A constant of change, wherein,
Figure DEST_PATH_IMAGE020
Figure DEST_PATH_IMAGE022
Figure DEST_PATH_IMAGE024
Figure DEST_PATH_IMAGE026
in order to input the signal, the signal is,
Figure DEST_PATH_IMAGE028
offset constants of the passive attenuation network, the pre-stage bias module and the voltage variable gain amplifier module respectively,
Figure DEST_PATH_IMAGE030
the amplification factors of the passive attenuation network and the preceding stage bias module are respectively.
2. The multi-stage bias correction method based on dynamic target value evaluation of claim 1, wherein the method is based on the first slope
Figure 143180DEST_PATH_IMAGE006
Adjusting pre-stage bias
Figure 415505DEST_PATH_IMAGE018
The method comprises the following steps:
according to the preceding stage bias
Figure 966572DEST_PATH_IMAGE018
Obtaining a pre-stage offset correction value
Figure DEST_PATH_IMAGE032
According to the pre-stage bias correction value
Figure 500321DEST_PATH_IMAGE032
Adjusting the pre-stage bias
Figure 305597DEST_PATH_IMAGE018
3. The method according to claim 2, wherein the pre-stage bias is adjusted
Figure 532179DEST_PATH_IMAGE018
Thereafter, the method further comprises:
obtaining a back-stage bias
Figure 39384DEST_PATH_IMAGE014
According to the back stage bias
Figure 845666DEST_PATH_IMAGE014
Obtaining a later stage offset correction value
Figure DEST_PATH_IMAGE034
Based on the later stage bias correction value
Figure 302186DEST_PATH_IMAGE034
Biasing output at said voltage level
Figure 168511DEST_PATH_IMAGE002
And carrying out offset correction.
4. The method according to claim 1, wherein the pre-stage bias is dynamically evaluated based on the target value
Figure 428591DEST_PATH_IMAGE018
Including one or more levels of biasing.
5. The multi-stage bias correction method based on dynamic target value evaluation according to claim 1, further comprising:
determining output offset
Figure 789296DEST_PATH_IMAGE002
Is less than a first threshold, the output is biased
Figure 818432DEST_PATH_IMAGE002
Convergence value of is output offset
Figure 121238DEST_PATH_IMAGE002
The mean square error of (d);
if yes, then output bias
Figure 603035DEST_PATH_IMAGE002
Convergence to gain-independent amplification
Figure 764501DEST_PATH_IMAGE004
A constant of change.
6. The multi-stage bias correction method based on dynamic target value evaluation of claim 5, wherein the output bias is judged
Figure 648143DEST_PATH_IMAGE002
Whether the convergence value of (a) is less than a first threshold value comprises:
and judging whether the mean square error of the measurement sequence is smaller than a first threshold value.
7. The multi-stage bias correction method based on dynamic target value evaluation according to any one of claims 1 to 6, characterized in that the method further comprises: biasing output at all voltage levels
Figure 121850DEST_PATH_IMAGE002
And carrying out offset correction.
8. A multi-stage bias correction device dynamically evaluated based on a target value, comprising:
a first obtaining unit for obtaining output bias at any voltage level
Figure 90943DEST_PATH_IMAGE002
A first adjusting unit for changing gain amplification factor under the voltage gear
Figure 793451DEST_PATH_IMAGE004
A first judgment unit for judging the gain amplification factor based on the changed gain
Figure 797179DEST_PATH_IMAGE004
Determining the output offset
Figure 441787DEST_PATH_IMAGE002
Whether or not to change;
a first confirmation unit, configured to, if no, complete offset correction; further comprising:
a second obtaining unit for obtaining the output bias
Figure 898176DEST_PATH_IMAGE002
If the gain is changed, a measurement sequence is obtained, wherein the measurement sequence comprises a plurality of gain amplification factors
Figure 669954DEST_PATH_IMAGE004
The output offset of one-to-one correspondence
Figure 997030DEST_PATH_IMAGE002
A set of (a);
a third obtaining unit for obtaining a first slope based on linear fitting according to the measurement sequence
Figure 78119DEST_PATH_IMAGE006
(ii) a Wherein, the first and the second end of the pipe are connected with each other,
Figure 756225DEST_PATH_IMAGE008
Figure 66115DEST_PATH_IMAGE010
Figure 854555DEST_PATH_IMAGE012
is the offset constant of the subsequent stage bias block,
Figure 840965DEST_PATH_IMAGE014
in order to be biased in the later stage,
Figure 6367DEST_PATH_IMAGE016
the amplification factor of the rear-stage bias module;
a second adjusting unit for adjusting the first slope
Figure DEST_PATH_IMAGE036
Adjusting pre-stage bias
Figure DEST_PATH_IMAGE038
So that the output is biased
Figure DEST_PATH_IMAGE040
Convergence to gain-independent amplification
Figure DEST_PATH_IMAGE042
A constant of change, wherein,
Figure DEST_PATH_IMAGE044
Figure 260893DEST_PATH_IMAGE022
Figure DEST_PATH_IMAGE046
Figure DEST_PATH_IMAGE048
in order to input the signal, the signal is,
Figure DEST_PATH_IMAGE050
offset constants of the passive attenuation network, the pre-stage bias module and the voltage variable gain amplifier module respectively,
Figure DEST_PATH_IMAGE052
the amplification factors of the passive attenuation network and the preceding stage bias module are respectively.
CN202110177945.0A 2021-02-08 2021-02-08 Multi-stage bias correction method and device based on dynamic target value evaluation Active CN112904258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110177945.0A CN112904258B (en) 2021-02-08 2021-02-08 Multi-stage bias correction method and device based on dynamic target value evaluation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110177945.0A CN112904258B (en) 2021-02-08 2021-02-08 Multi-stage bias correction method and device based on dynamic target value evaluation

Publications (2)

Publication Number Publication Date
CN112904258A CN112904258A (en) 2021-06-04
CN112904258B true CN112904258B (en) 2023-01-17

Family

ID=76123075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110177945.0A Active CN112904258B (en) 2021-02-08 2021-02-08 Multi-stage bias correction method and device based on dynamic target value evaluation

Country Status (1)

Country Link
CN (1) CN112904258B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114578112B (en) * 2022-04-29 2022-07-15 深圳市鼎阳科技股份有限公司 Attenuation temperature drift method for digital oscilloscope and digital oscilloscope

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4553091A (en) * 1983-02-07 1985-11-12 Tektronix, Inc. Automatic vertical calibration method and system for an oscilloscope
US5121119A (en) * 1990-01-08 1992-06-09 Hitachi Denshi Kabushikikaisha Analog-to-digital conversion method and system with correction of analog gain and offset
JPH05172853A (en) * 1991-01-09 1993-07-13 Kikusui Electron Corp Calibration device for vertical amplifier for multirace oscilloscope
CN1881788A (en) * 2005-06-15 2006-12-20 恩益禧电子股份有限公司 Variable gain amplifier circuit and DC offset correction method and radio receiving device
CN105891760A (en) * 2016-05-18 2016-08-24 电子科技大学 Digital oscilloscope vertical sensitivity self correcting method
CN106597343A (en) * 2016-12-29 2017-04-26 电子科技大学 Oscilloscope automatic calibration method based on gain judgment
CN107179519A (en) * 2017-06-09 2017-09-19 中国电子科技集团公司第四十研究所 A kind of passage calibrating installation and method for digital oscilloscope
CN107872205A (en) * 2016-09-23 2018-04-03 瑞萨电子株式会社 Variable gain amplifier, bearing calibration and reception device
CN110716076A (en) * 2019-12-13 2020-01-21 深圳市鼎阳科技股份有限公司 Digital oscilloscope and gain self-correction method for digital oscilloscope
CN111157032A (en) * 2019-11-15 2020-05-15 西安海的电子科技有限公司 Signal calibration method of sensor
CN112098702A (en) * 2020-11-17 2020-12-18 深圳市鼎阳科技股份有限公司 Digital oscilloscope and vertical gear correction method for digital oscilloscope

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4553091A (en) * 1983-02-07 1985-11-12 Tektronix, Inc. Automatic vertical calibration method and system for an oscilloscope
US5121119A (en) * 1990-01-08 1992-06-09 Hitachi Denshi Kabushikikaisha Analog-to-digital conversion method and system with correction of analog gain and offset
JPH05172853A (en) * 1991-01-09 1993-07-13 Kikusui Electron Corp Calibration device for vertical amplifier for multirace oscilloscope
CN1881788A (en) * 2005-06-15 2006-12-20 恩益禧电子股份有限公司 Variable gain amplifier circuit and DC offset correction method and radio receiving device
CN105891760A (en) * 2016-05-18 2016-08-24 电子科技大学 Digital oscilloscope vertical sensitivity self correcting method
CN107872205A (en) * 2016-09-23 2018-04-03 瑞萨电子株式会社 Variable gain amplifier, bearing calibration and reception device
CN106597343A (en) * 2016-12-29 2017-04-26 电子科技大学 Oscilloscope automatic calibration method based on gain judgment
CN107179519A (en) * 2017-06-09 2017-09-19 中国电子科技集团公司第四十研究所 A kind of passage calibrating installation and method for digital oscilloscope
CN111157032A (en) * 2019-11-15 2020-05-15 西安海的电子科技有限公司 Signal calibration method of sensor
CN110716076A (en) * 2019-12-13 2020-01-21 深圳市鼎阳科技股份有限公司 Digital oscilloscope and gain self-correction method for digital oscilloscope
CN112098702A (en) * 2020-11-17 2020-12-18 深圳市鼎阳科技股份有限公司 Digital oscilloscope and vertical gear correction method for digital oscilloscope

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
数字存储示波器自动设置及校正技术的研究与实现;关莹;《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》;20111215(第12期);第C042-447页 *
数字示波器的增益自校正;丁浩等;《电子测量技术》;20200423;第43卷(第08期);第175-178、188页 *

Also Published As

Publication number Publication date
CN112904258A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
EP1566885B1 (en) Adaptive equalizer with DC offset compensation
US7924088B1 (en) Offset voltage calibration method and apparatus and amplifier thereof
CN112904258B (en) Multi-stage bias correction method and device based on dynamic target value evaluation
CN110716076B (en) Digital oscilloscope and gain self-correction method for digital oscilloscope
WO2023061309A1 (en) Method, apparatus and system for calibrating offset voltage of operational amplifier circuit
CN115753022B (en) Testing system and testing method for performance of optical device
CN110289821B (en) Radio frequency signal output power control circuit, method and device adapting to working condition environment
CN103840827A (en) Assembly line ADC interstage gain calibration method
CN106501743A (en) A kind of digital oscilloscope accuracy calibrating method and device
CN112600629A (en) Method and system for realizing power calibration and data processing of radio frequency receiver of MIMO channel simulator
CN106850055A (en) A kind of wideband low noise analog front circuit for optical fiber hit detecting system
CN111308224B (en) Signal flatness compensation method of radio astronomical receiver and radio astronomical receiver
CN107222178B (en) Vector network analyzer receiving channel gain control device and method
CN107979350B (en) HFC amplifier output port consistency calibration method
CN112098702B (en) Digital oscilloscope and vertical gear correction method for digital oscilloscope
CN106646314B (en) A kind of digital oscilloscope zero bias calibration method based on stepping optimization
CN102594276A (en) Gain calibration system for instrument amplifier and gain calibration method
CN113406527B (en) Radio frequency power supply control system, calibration method and device thereof and semiconductor device
CN115290949A (en) Analog front end chip and oscilloscope
CN201904788U (en) Signal detection device
CN114629560B (en) On-line DC offset calibration system and method
US8354834B2 (en) Methods and apparatus for acquiring measurements and performing an auto-zero process using a multi-range measurement apparatus
EP1678822B1 (en) Method for calibration of a signal receiver
CN107490438A (en) Sensor circuit and its application method
CN216356645U (en) Temperature compensation circuit with variable temperature compensation coefficient

Legal Events

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