CN106483484A - Sampling scaling method and device - Google Patents
Sampling scaling method and device Download PDFInfo
- Publication number
- CN106483484A CN106483484A CN201510535131.4A CN201510535131A CN106483484A CN 106483484 A CN106483484 A CN 106483484A CN 201510535131 A CN201510535131 A CN 201510535131A CN 106483484 A CN106483484 A CN 106483484A
- Authority
- CN
- China
- Prior art keywords
- actual
- value
- interval
- demarcation
- sampling
- 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
Links
Abstract
The invention discloses a kind of sampling scaling method and device, the method comprising the steps of:Treat the corresponding actual actual value of sampling parameter to be divided to obtain multiple demarcation intervals;Obtain each described calibrating parameters demarcating interval;Described demarcate interval calibrating parameters and demarcate interval actual sample value and demarcated so that calibrated actual sample value matching theory sampled value to corresponding according to each.Thus, by way of segmentation demarcation, multiple demarcation intervals are demarcated, so that each demarcates interval calibrated actual sample value is respectively provided with higher precision, improve the degree of accuracy of demarcation, ensured input voltage or the current precision of subsequent conditioning circuit.
Description
Technical field
The present invention relates to technical field of vehicle, particularly to a kind of sampling scaling method and a kind of sampling caliberating device.
Background technology
The voltage/current sampled value that the voltage/current and outfan output being exactly to work as circuit board input input is demarcated in sampling is not inconsistent
When closing preset ratio relation, demarcated by software, regression correction is carried out to the voltage/current sampled value exporting and is adopted with obtaining theory
Sample value, thus provide accurately control source for subsequent conditioning circuit.
Sampling in correlation technique is demarcated and is simply entered rower to the voltage/current sampled value in the range of commonly used voltage/current
Calmly, the voltage/current outside to above range is not targetedly demarcated, the voltage/current sampled value essence outside above range
Degree is relatively low, and for example, the input voltage range of certain circuit board is 0 to 1000V, the high pressure range one of certain rear-guard driving plate
As between 400V to 700V, correlation technique is only demarcated to the voltage sample value of 400V to 700V, thus part
The precision of voltage sample value is relatively low.
Content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.For this reason, the one of the present invention
Purpose is to propose a kind of sampling scaling method that can ensure that each sampled value has degree of precision.
It is an object of the present invention to proposing a kind of sampling caliberating device.
For reaching above-mentioned purpose, one aspect of the present invention embodiment proposes a kind of sampling scaling method, comprises the following steps:Right
The corresponding actual actual value of parameter to be sampled divided with obtain multiple demarcate interval;Obtain each described mark demarcating interval
Determine parameter;Demarcated so that being marked according to each described interval calibrating parameters actual sample value interval to corresponding demarcation of demarcating
Actual sample value matching theory sampled value after fixed.
The sampling scaling method proposing according to embodiments of the present invention, treat the corresponding actual actual value of sampling parameter divided with
Obtain multiple demarcation interval, and obtain each and demarcate interval calibrating parameters, then the calibrating parameters in interval are demarcated according to each
Demarcate interval actual sample value and demarcated so that calibrated actual sample value matching theory sampled value to corresponding.Thus,
By way of segmentation demarcation, multiple demarcation intervals are demarcated, so that each demarcates interval calibrated actual samples
Value is respectively provided with higher precision, improves the degree of accuracy of demarcation, has ensured input voltage or the current precision of subsequent conditioning circuit.
For reaching above-mentioned purpose, another aspect of the present invention embodiment proposes a kind of sampling caliberating device, including:Division module,
Divided for treating the corresponding actual actual value of sampling parameter to obtain multiple demarcation intervals;Acquisition module, for obtaining
Each described calibrating parameters demarcating interval;Demarcating module, for calibrating parameters interval according to each described demarcation to corresponding
Demarcate interval actual sample value and demarcated so that calibrated actual sample value matching theory sampled value.
The sampling caliberating device proposing according to embodiments of the present invention, treats sampling parameter by division module corresponding actual true
Value is divided to obtain multiple demarcation intervals, and obtains the interval calibrating parameters of each demarcation, Ran Houbiao by acquisition module
Cover half tuber is demarcated interval calibrating parameters according to each and is demarcated interval actual sample value and demarcated so that calibrated to corresponding
Actual sample value matching theory sampled value.Thus, by way of segmentation demarcation, multiple demarcation intervals are demarcated, so that
Obtain the interval calibrated actual sample value of each demarcation and be respectively provided with higher precision, improve the degree of accuracy of demarcation, ensure
The input voltage of subsequent conditioning circuit or current precision.
Brief description
Fig. 1 is the flow chart of sampling scaling method according to embodiments of the present invention;
Fig. 2 is the flow chart obtaining calibrating parameters in sampling scaling method according to an embodiment of the invention;
Fig. 3 is the flow chart of the sampling scaling method according to one specific embodiment of the present invention;And
Fig. 4 is the block diagram of sampling caliberating device according to embodiments of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein identical from start to finish
Or the element that similar label represents same or similar element or has same or like function.Retouch below with reference to accompanying drawing
The embodiment stated is exemplary it is intended to be used for explaining the present invention, and is not considered as limiting the invention.
First, present inventor is found by many experiments, analysis, in different voltage ranges, actual sample value with
Theoretical sampled value meets different relations, and the relation in each voltage range, between actual sample value and theoretical sampled value
Close to linear.For example, the input voltage range of circuit board is 0 to arrive 1000V, from 0V to 400V, actual sample value and reason
Become the first linear relationship by sampled value;From 400V to 700V, actual sample value becomes the second linear relationship with theoretical sampled value;
From 700V to 1000V, actual sample value becomes third linear relation with theoretical sampled value.
Based on this, the embodiment of the present invention proposes a kind of sampling scaling method and sampling caliberating device.
Below with reference to the accompanying drawings sampling scaling method and the sampling caliberating device of the embodiment of the present invention to be described.
Fig. 1 is the flow chart of sampling scaling method according to embodiments of the present invention.As shown in figure 1, this sampling scaling method bag
Include following steps:
S1:Treat the corresponding actual actual value of sampling parameter to be divided to obtain multiple demarcation intervals.
According to a specific example of the present invention, parameter to be sampled can be the parameter such as voltage or electric current.
S2:Obtain each and demarcate interval calibrating parameters.
Wherein it should be appreciated that multiple demarcation interval can have multigroup calibrating parameters, multigroup calibrating parameters can all differ,
Such as first is demarcated interval calibrating parameters is A, and second is demarcated interval calibrating parameters is B, and B is differed with A.
S3:After the corresponding actual sample value demarcating interval being demarcated so that being demarcated according to the calibrating parameters that each demarcates interval
Actual sample value matching theory sampled value.
That is, the different actual sample value demarcating interval are demarcated using different calibrating parameters, thus each demarcation
Interval calibrated actual sample value, closer to theoretical sampled value, improves the degree of accuracy of demarcation.
It should be noted that actual actual value can be analog quantity, actual sample value and theoretical sampled value are digital quantity, work as reality
When actual value is input to the input of circuit board, actual actual value will be converted to actual sample value according to passage ratio by circuit board,
Wherein, passage ratio is the conversion proportion of analog quantity to digital quantity.
It should be noted that, each is demarcated interval calibrating parameters and all can store EEPROM (Electrically Erasable
Programmable Read-Only Memory, EEPROM) in, so actual sample value is being entered
Rower timing can be used directly the calibrating parameters of storage in EEPROM.
Specifically, in the sampling scaling method by the embodiment of the present invention, rower is entered to voltage (being equivalent to actual actual value)
Regularly, can first judge that the demarcation belonging to current voltage is interval, then obtain the interval corresponding demarcation of demarcation belonging to current voltage
Parameter, so after obtaining the actual sample value of current voltage, can be according to the reality to current voltage for the calibrating parameters obtaining
Sampled value is demarcated to obtain the calibrated actual sample value of current voltage, and this calibrated actual sample value will provide for
To subsequent conditioning circuit, thus providing accurate ground voltage or electric current input for subsequent conditioning circuit.
Thus, by way of segmentation demarcation, multiple demarcation intervals are demarcated, so that after each demarcates interval demarcation
Actual sample value be respectively provided with higher precision, improve the degree of accuracy of demarcation, ensured input voltage or the electricity of subsequent conditioning circuit
Stream precision.
According to one embodiment of present invention, calibrating parameters may include nominal gain and demarcate skew, wherein, as shown in Fig. 2
Obtain each and demarcate interval calibrating parameters, specifically include:
S10:Obtain each and demarcate the actual actual value of interval corresponding any two, and calculated according to the actual actual value of any two
Obtain corresponding two theoretical sampled values.
S20:To any two, actual actual value is sampled to obtain corresponding two actual sample value.
S30:Calculate nominal gain and demarcate skew according to two theoretical sampled values and two actual sample value.
It should be noted that nominal gain and demarcate skew and electrochronograph can calculate and store it is also possible to every on circuit board is first
Calculate once every a period of time and store, can all calculate once and store during electricity on each again.
Specifically, demarcate interval at each, the relation between actual sample value and theoretical sampled value close to linear, that is, is sayed,
Theoretical sampled value and actual actual value have a linear corresponding relation:(theoretical sampled value=k* actual sample value+b).So,
Due to can determine linear equation by two data points on straight line, so, demarcate interval at each, by two
Theoretical sampled value and two actual sample value are assured that linear between this demarcation interval theory sampled value and actual actual value
Equation, this linear equation can be used as calibration equation.After obtaining actual sample value so that it may according to corresponding demarcate interval
Calibration equation is demarcated to actual sample value to calculate calibrated actual sample value.
Specifically, nominal gain can be calculated according to below equation:
K=(xH-xL)/(yH-yL)
Wherein, k is nominal gain, xH and xL is two theoretical sampled values, yH and yL is two actual sample value.
And, the demarcation skew of this linear relationship can be calculated according to below equation:
B=xL-yL*k or b=xH-yH*k
Wherein, b is to demarcate skew.
That is, demarcating in interval at any one, select two actual actual value L and H first, then according to circuit board
Analog digital conversion ratio, correspondingly two theoretical quantized value xL and xH can be obtained, and true to two reality by circuit board
Real-valued carry out analog digital conversion respectively, two actual sample value yL and yH can be obtained.According to xL and xH and yL and yH
Nominal gain k=(xH-xL)/(yH-L) can be calculated, according to xL, yL and nominal gain k, demarcation skew can be calculated
B=xL-yL*k.Thus it is possible to obtain calibration equation:Z=k*y+b, wherein, y is actual sample value, and z is calibrated
Actual sample value.
As an example it is assumed that demarcating interval is 2V-4V, two virtual voltage 2V and 4V can be selected, when the input of circuit board
When voltage is 2V, actual sample value yL=1719 that actual measurement obtains, and theoretical sampled value
XL=(2*0.6*4095)/3=1638;When the input voltage of circuit board is 4V, sampled value yH=3391 that actual measurement obtains,
And theory sampled value xH=(4*0.6*4095)/3=3276.It is then possible to calculate corresponding calibrating parameters:K=(xH-xL)
/ (yH-yL)=0.980, b=xH-yH*k=-47.18, and then can obtain demarcating the calibration formula of interval 2V-4V and be:
Z=0.98*y+b, wherein, y is actual sample value, and the span of y is (0-4095), and z is calibrated actual sample value,
Z is directly output to subsequent conditioning circuit.
According to one embodiment of present invention, each is demarcated the actual actual value of interval corresponding any two and is respectively corresponding demarcation
Interval corresponding actual actual value bound.That is, two actual actual values choose the border demarcating interval two respectively
Value.
To describe the sampling scaling method of the embodiment of the present invention with reference to a specific embodiment in detail.
First actual actual value is divided into 3 intervals, is 0V to 400V, 400V to 700V, 700V to 1000V respectively.
When obtaining the calibrating parameters that 3 are demarcated interval, each interval is required for 2 data points, altogether chooses 6 data points.
Demarcate interval 0V to 400V for first group, choose 0V and 400V as two interval actual actual values of this demarcation,
And obtain the corresponding two theoretical sampled values of 0V and 400V, according to the method that above-described embodiment is mentioned obtain nominal gain k1,
Demarcate skew b1;Demarcate interval 400V to 700V for second group, 400V and 700V can be chosen interval as this demarcation
Two actual actual values, and obtain the corresponding two theoretical sampled values of 400V and 700V, mentioned according to above-described embodiment
Method obtains nominal gain k2, demarcates skew b2;Demarcate interval 700V to 1000V for the 3rd group, 700V can be chosen
With 1000V as two interval actual actual values of this demarcation, and obtain the corresponding two theoretical samplings of 700V and 1000V
Value, obtains nominal gain k3, demarcates skew b3 according to the method that above-described embodiment is mentioned.Then, three groups of data are demarcated
Gain k1 offsets b3 and stores with demarcation skew b1, nominal gain k2 and demarcation skew b2, nominal gain k3 and demarcation
In EEPROM.
So, after measuring actual sample value, using the nominal gain of storage in EEPROM and demarcation skew basis
Calibration equation z=k*y+b, can calculate actual sample value z through demarcating.Specifically, as shown in figure 3, the present invention is implemented
The sampling scaling method of example may include following steps:
S101:Obtain the actual actual value of circuit board input voltage.
S102:Obtain the actual sample value of circuit board output voltage.
S103:Judge that the demarcation belonging to the corresponding actual actual value of actual sample value is interval.
If actual actual value is more than or equal to 0V and is less than or equal to 400V, execution step S104;If actual actual value is big
In 400V and less than or equal to 700V, then execution step S105;If actual actual value is more than 700V and is less than or equal to 1000V,
Then execution step S106.
S104:Actual actual value is more than or equal to 0V and is less than or equal to 400V, is calculated according to calibration equation z=k1*y+b1 and demarcates
Actual sample value afterwards, execution step S107.
S105:Actual actual value is more than 400V and is less than or equal to 700V, is calculated according to calibration equation z=k2*y+b3 after demarcating
Actual sample value, execution step S107.
S106:Actual actual value is more than 700V and is less than or equal to 1000V, is calculated according to calibration equation z=k3*y+b3 and demarcates
Actual sample value afterwards.
S107:Obtain calibrated actual sample value z.
In sum, the sampling scaling method proposing according to embodiments of the present invention, treats the corresponding actual actual value of sampling parameter
Divided interval to obtain multiple demarcation, and obtained each and demarcated interval calibrating parameters, then interval is demarcated according to each
Calibrating parameters demarcate interval actual sample value and demarcated so that the sampling of calibrated actual sample value matching theory to corresponding
Value.Thus, by way of segmentation demarcation, multiple demarcation intervals are demarcated, so that after each demarcates interval demarcation
Actual sample value be respectively provided with higher precision, improve the degree of accuracy of demarcation, ensured input voltage or the electricity of subsequent conditioning circuit
Stream precision.
In order to execute above-described embodiment, the embodiment of the present invention also proposed a kind of sampling caliberating device.
Fig. 4 is the block diagram of sampling caliberating device according to embodiments of the present invention.As shown in figure 4, dress is demarcated in this sampling
Put including:Division module 10, acquisition module 20 and demarcating module 30.
Wherein, division module 10 be used for treating the corresponding actual actual value of sampling parameter divided with obtain multiple demarcate interval,
Wherein, parameter to be sampled can be the parameter such as voltage or electric current;Acquisition module 20 is used for obtaining the interval calibrating parameters of each demarcation;
Demarcating module 30 be used for according to each demarcate interval calibrating parameters to corresponding demarcate interval actual sample value demarcated with
Make calibrated actual sample value coupling.That is, different demarcate interval actual sample value using different calibrating parameters
Demarcated, thus each demarcates interval calibrated actual sample value closer to theoretical sampled value, improves the essence of demarcation
Exactness.
It should be appreciated that multiple demarcation intervals can have multigroup calibrating parameters, multigroup calibrating parameters can all differ, for example
First is demarcated interval calibrating parameters is A, and second is demarcated interval calibrating parameters is B, and B is differed with A.
It should be noted that actual actual value can be analog quantity, actual sample value and theoretical sampled value are digital quantity, work as reality
When actual value is input to the input of circuit board, actual actual value will be converted to actual sample value according to passage ratio by circuit board,
Wherein, passage ratio is the conversion proportion of analog quantity to digital quantity.
It should be noted that, each is demarcated interval calibrating parameters and all can store EEPROM (Electrically Erasable
Programmable Read-Only Memory, EEPROM) in, so actual sample value is being entered
Rower timing demarcating module 30 can be used directly the calibrating parameters of storage in EEPROM.
Specifically, in the sampling caliberating device by the embodiment of the present invention, rower is entered to voltage (being equivalent to actual actual value)
Regularly, can first judge that by division module 10 demarcation belonging to current voltage is interval, then pass through acquisition module 20 acquisition and work as
The interval corresponding calibrating parameters of demarcation belonging to front voltage, so after obtaining the actual sample value of current voltage, calibration mold
Block 30 can be demarcated after the demarcation to obtain current voltage to the actual sample value of current voltage according to the calibrating parameters obtaining
Actual sample value, this calibrated actual sample value will provide for subsequent conditioning circuit, thus providing accurately for subsequent conditioning circuit
Voltage or electric current input.
Thus, by way of segmentation demarcation, multiple demarcation intervals are demarcated, so that after each demarcates interval demarcation
Actual sample value be respectively provided with higher precision, improve the degree of accuracy of demarcation, ensured input voltage or the electricity of subsequent conditioning circuit
Stream precision.
According to one embodiment of present invention, calibrating parameters include nominal gain and demarcate skew, wherein, are obtaining each mark
During the calibrating parameters in fixed interval, acquisition module 20 obtains each and demarcates the actual actual value of interval corresponding any two, and according to
The actual actual value of any two is calculated corresponding two theoretical sampled values, and actual actual value is adopted to any two
Sample is to obtain corresponding two actual sample value, and calculates nominal gain according to two theoretical sampled values and two actual sample value
Offset with demarcating.
It should be noted that nominal gain and demarcate skew and electrochronograph can calculate and store it is also possible to every on circuit board is first
Calculate once every a period of time and store, can all calculate once and store during electricity on each again.
Specifically, demarcate interval at each, the relation between actual sample value and theoretical sampled value is close to linear, that is, theoretical
Sampled value and actual actual value have a linear corresponding relation:(theoretical sampled value=k* actual sample value+b).So, due to
Can determine linear equation by two data points on straight line, so, demarcate interval at each, acquisition module 20 leads to
Cross two theoretical sampled values and two actual sample value are assured that between this demarcation interval theory sampled value and actual actual value
Linear equation, this linear equation can be used as calibration equation.After obtaining actual sample value, demarcating module 30 can root
According to the corresponding calibration equation demarcating interval, actual sample value is demarcated to calculate calibrated actual sample value.
Specifically, acquisition module 20 can calculate nominal gain according to below equation:
K=(xH-xL)/(yH-yL)
Wherein, k is nominal gain, xH and xL is two theoretical sampled values, yH and yL is two actual sample value.
And, acquisition module 20 can calculate according to below equation and demarcate skew:
B=xL-yL*k or b=xH-yH*k
Wherein, b is to demarcate skew.
That is, demarcating in interval at any one, select two actual actual value L and H first, then according to circuit board
Analog digital conversion ratio, acquisition module 20 can obtain correspondingly two theoretical quantized value xL and xH, and passes through circuit board pair
Two actual actual values carry out analog digital conversion respectively, and acquisition module 20 can obtain two actual sample value yL and yH.According to
XL and xH and yL and yH acquisition module 20 can calculate nominal gain k=(xH-xL)/(yH-L), according to xL, yL and
Nominal gain k, acquisition module 20 can calculate demarcation skew b=xL-yL*k.Thus, acquisition module 20 can obtain demarcation
Equation:Z=k*y+b, wherein, y is actual sample value, and z is calibrated actual sample value.
As an example it is assumed that demarcating interval is 2V-4V, two virtual voltage 2V and 4V can be selected, when the input of circuit board
When voltage is 2V, actual sample value yL=1719 that actual measurement obtains, and theoretical sampled value
XL=(2*0.6*4095)/3=1638;When the input voltage of circuit board is 4V, sampled value yH=3391 that actual measurement obtains,
And theory sampled value xH=(4*0.6*4095)/3=3276.Then, acquisition module 20 can calculate corresponding calibrating parameters:
K=(xH-xL)/(yH-yL)=0.980, b=xH-yH*k=-47.18, and then it is public to obtain demarcating the demarcation of interval 2V-4V
Formula is:Z=0.98*y+b, wherein y are actual sample value, and the span of y is (0~4095), and z is calibrated reality
Sampled value, z is directly output to subsequent conditioning circuit.
According to one embodiment of present invention, each is demarcated the actual actual value of interval corresponding any two and is respectively corresponding demarcation
Interval corresponding actual actual value bound.That is, two actual actual values choose the border demarcating interval two respectively
Value.
In sum, the sampling caliberating device proposing according to embodiments of the present invention, treats sampling parameter by division module and corresponds to
Actual actual value divided with obtain multiple demarcate interval, and each obtained by acquisition module demarcate interval demarcation and join
Number, then demarcating module according to each demarcate interval calibrating parameters to corresponding demarcate interval actual sample value demarcated with
Make calibrated actual sample value matching theory sampled value.Thus, by way of segmentation demarcation, rower is entered to multiple demarcation intervals
Fixed, so that each demarcates interval calibrated actual sample value is respectively provided with higher precision, improve the accurate of demarcation
Degree, has ensured input voltage or the current precision of subsequent conditioning circuit.
In describing the invention it is to be understood that term " " center ", " longitudinal ", " horizontal ", " length ", " width ",
" thickness ", " on ", D score, "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outward ",
The orientation of instruction such as " clockwise ", " counterclockwise ", " axial ", " radially ", " circumferential " or position relationship are based on shown in the drawings
Orientation or position relationship, be for only for ease of description the present invention and simplify description, rather than instruction or hint indication device or
Element must have specific orientation, with specific azimuth configuration and operation, be therefore not considered as limiting the invention.
Additionally, term " first ", " second " be only used for describe purpose, and it is not intended that instruction or hint relative importance or
The implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or hidden
Include at least one this feature containing ground.In describing the invention, " multiple " are meant that at least two, such as two, three
Individual etc., unless otherwise expressly limited specifically.
In the present invention, unless otherwise clearly defined and limited, the art such as term " installation ", " being connected ", " connection ", " fixation "
Language should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or integral;Can be machinery
Connect or electrically connect;Can be to be joined directly together it is also possible to be indirectly connected to by intermediary, can be two units
Connection within part or the interaction relationship of two elements, limit unless otherwise clear and definite.Ordinary skill for this area
For personnel, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
In the present invention, unless otherwise clearly defined and limited, fisrt feature second feature " on " or D score can be
First and second feature directly contacts, or the first and second features are by intermediary mediate contact.And, first is special
Levy second feature " on ", " top " and " above " but fisrt feature directly over second feature or oblique upper, or only
Only represent that fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " lower section " and " below "
Can be fisrt feature immediately below second feature or obliquely downward, or be merely representative of fisrt feature level height and be less than second
Feature.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specific example ",
Or the description of " some examples " etc. means specific features with reference to this embodiment or example description, structure, material or feature bag
It is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term necessarily
It is directed to identical embodiment or example.And, the specific features of description, structure, material or feature can be arbitrary
Combine in an appropriate manner in individual or multiple embodiment or example.Additionally, in the case of not conflicting, the skill of this area
The feature of the different embodiments described in this specification or example and different embodiment or example can be combined by art personnel
And combination.
Although embodiments of the invention have been shown and described above it is to be understood that above-described embodiment is exemplary,
It is not considered as limiting the invention, those of ordinary skill in the art within the scope of the invention can be to above-described embodiment
It is changed, changes, replacing and modification.
Claims (10)
1. a kind of sampling scaling method is it is characterised in that comprise the following steps:
Treat the corresponding actual actual value of sampling parameter to be divided to obtain multiple demarcation intervals;
Obtain each described calibrating parameters demarcating interval;
After the corresponding actual sample value demarcating interval being demarcated so that being demarcated according to each described calibrating parameters demarcating interval
Actual sample value matching theory sampled value.
2. sampling scaling method as claimed in claim 1 is it is characterised in that described calibrating parameters include nominal gain and mark
Fixed calibrating parameters offseting, wherein, obtaining each described demarcation interval, specifically include:
Obtain each and described demarcate the actual actual value of interval corresponding any two, and according to the actual actual value of described any two
It is calculated corresponding two theoretical sampled values;
To described any two, actual actual value is sampled to obtain corresponding two actual sample value;
Calculate described nominal gain according to described two theory sampled values and described two actual sample value and demarcate skew.
3. sampling scaling method as claimed in claim 2 is it is characterised in that calculate described nominal gain according to below equation:
K=(xH-xL)/(yH-yL)
Wherein, k is described nominal gain, xH and xL is described two theory sampled value, yH and yL is described two realities
Border sampled value.
4. sampling scaling method as claimed in claim 3 offsets it is characterised in that calculating described demarcation according to below equation:
B=xL-yL*k or b=xH-yH*k
Wherein, b is that described demarcation offsets.
5. the sampling scaling method any one of claim 2-4 is it is characterised in that demarcation as described in each is interval right
The actual actual value of any two answered is respectively the interval corresponding actual actual value bound of corresponding demarcation.
6. a kind of sampling caliberating device is it is characterised in that include:
Division module, be used for treating the corresponding actual actual value of sampling parameter divided with obtain multiple demarcate interval;
Acquisition module, for obtaining each described calibrating parameters demarcating interval;
Demarcating module, for carrying out according to each described interval calibrating parameters actual sample value interval to corresponding demarcation of demarcating
Demarcate so that calibrated actual sample value matching theory sampled value.
7. sampling caliberating device as claimed in claim 6 is it is characterised in that described calibrating parameters include nominal gain and mark
Fixed skew, wherein, when obtaining the calibrating parameters in each described demarcation interval, described acquisition module obtains each described demarcation
The actual actual value of the corresponding any two in interval, and corresponding two reasons are calculated according to the actual actual value of described any two
By sampled value, and actual actual value is sampled to obtain corresponding two actual sample value to described any two, and root
Calculate described nominal gain according to described two theory sampled values and described two actual sample value and demarcate skew.
8. sampling caliberating device as claimed in claim 7 is it is characterised in that described acquisition module calculates according to below equation
Described nominal gain:
K=(xH-xL)/(yH-yL)
Wherein, k is described nominal gain, xH and xL is described two theory sampled value, yH and yL is described two realities
Border sampled value.
9. sampling caliberating device as claimed in claim 8 is it is characterised in that described acquisition module calculates according to below equation
Described demarcation offsets:
B=xL-yL*k or b=xH-yH*k
Wherein, b is that described demarcation offsets.
10. sampling caliberating device as claimed in any one of claims 7-9 is it is characterised in that each described demarcation is interval
The actual actual value of corresponding any two is respectively corresponding demarcates interval corresponding actual actual value bound.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510535131.4A CN106483484A (en) | 2015-08-27 | 2015-08-27 | Sampling scaling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510535131.4A CN106483484A (en) | 2015-08-27 | 2015-08-27 | Sampling scaling method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106483484A true CN106483484A (en) | 2017-03-08 |
Family
ID=58233338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510535131.4A Pending CN106483484A (en) | 2015-08-27 | 2015-08-27 | Sampling scaling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106483484A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352021A (en) * | 2020-03-10 | 2020-06-30 | 上海御渡半导体科技有限公司 | Signal calibration method of test equipment |
CN111751609A (en) * | 2020-06-24 | 2020-10-09 | 合肥工大高科信息科技股份有限公司 | Method and system for 50Hz track signal detection and state identification |
CN112688687A (en) * | 2020-12-09 | 2021-04-20 | 南方电网数字电网研究院有限公司 | Method and device for acquiring physical information to be tested, computer equipment and storage medium |
CN113485197A (en) * | 2021-07-22 | 2021-10-08 | 北京经纬恒润科技股份有限公司 | Method, device and system for calibrating current of car door and window |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002181899A (en) * | 2000-12-15 | 2002-06-26 | Advantest Corp | Method of calibrating timing |
US20030028339A1 (en) * | 2001-07-31 | 2003-02-06 | Caso Gregory S. | Method of and apparatus for calibrating receive path gain |
CN103051339A (en) * | 2012-04-27 | 2013-04-17 | 深圳市正弦电气股份有限公司 | Correcting method and system of AD (Analogue to Digital) sampling value |
CN103412202A (en) * | 2013-06-08 | 2013-11-27 | 惠州市亿能电子有限公司 | Method for current partitioned calibration |
CN103714551A (en) * | 2014-01-20 | 2014-04-09 | 哈尔滨工业大学 | Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination |
CN103983920A (en) * | 2014-05-26 | 2014-08-13 | 北京理工大学 | Method for establishing model of power battery of electric vehicle |
-
2015
- 2015-08-27 CN CN201510535131.4A patent/CN106483484A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002181899A (en) * | 2000-12-15 | 2002-06-26 | Advantest Corp | Method of calibrating timing |
US20030028339A1 (en) * | 2001-07-31 | 2003-02-06 | Caso Gregory S. | Method of and apparatus for calibrating receive path gain |
CN103051339A (en) * | 2012-04-27 | 2013-04-17 | 深圳市正弦电气股份有限公司 | Correcting method and system of AD (Analogue to Digital) sampling value |
CN103412202A (en) * | 2013-06-08 | 2013-11-27 | 惠州市亿能电子有限公司 | Method for current partitioned calibration |
CN103714551A (en) * | 2014-01-20 | 2014-04-09 | 哈尔滨工业大学 | Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination |
CN103983920A (en) * | 2014-05-26 | 2014-08-13 | 北京理工大学 | Method for establishing model of power battery of electric vehicle |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352021A (en) * | 2020-03-10 | 2020-06-30 | 上海御渡半导体科技有限公司 | Signal calibration method of test equipment |
CN111751609A (en) * | 2020-06-24 | 2020-10-09 | 合肥工大高科信息科技股份有限公司 | Method and system for 50Hz track signal detection and state identification |
CN112688687A (en) * | 2020-12-09 | 2021-04-20 | 南方电网数字电网研究院有限公司 | Method and device for acquiring physical information to be tested, computer equipment and storage medium |
CN113485197A (en) * | 2021-07-22 | 2021-10-08 | 北京经纬恒润科技股份有限公司 | Method, device and system for calibrating current of car door and window |
CN113485197B (en) * | 2021-07-22 | 2023-03-28 | 北京经纬恒润科技股份有限公司 | Method, device and system for calibrating current of car door and window |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106483484A (en) | Sampling scaling method and device | |
CN102610996B (en) | Method and device for rapidly calibrating luminous power | |
CN104949605B (en) | Position detecting module, position detecting system and method | |
CN105891727B (en) | A kind of method of estimation and system of the power battery charged state of double structure changes filtering | |
CN106053899B (en) | A kind of reference signal generating system and method | |
CN106154168B (en) | The method for estimating charge state of power cell of data-driven | |
CN111998919A (en) | Gas meter calibration method and device | |
CN101241146A (en) | Automatic range volt-ampere phase meter | |
CN105223416B (en) | A kind of method for improving intelligent electric meter measuring accuracy | |
CN106773652A (en) | A kind of PID systems and its parameter automatic adjusting method | |
CN104330096B (en) | A kind of rectification building-out of measurement signal and the method and device of automatic Calibration | |
CN104596547A (en) | Full-temperature and full-dynamic testing method of acceleration measurement channel of inertia measurement device | |
CN105319434B (en) | A kind of method and device of electric energy meter measurement electric current | |
CN103605323B (en) | The Discrete Control Method of Chemical Manufacture and device | |
CN104833932A (en) | Drift amount calculating method of current sensor and calculating device | |
CN105785061A (en) | Sample adding amount correcting method and system | |
CN209961898U (en) | Metering device and electricity meter | |
DE2439809C2 (en) | Circuit arrangement for measuring a physical quantity | |
CN109856550A (en) | The evaluation method and system of the SOC of flow battery | |
CN104454789B (en) | A kind of field calibration method of electro-hydraulic servo valve test flow system flow parameter | |
CN101126801A (en) | Volt-ampere phase meter simple calibration technology | |
CN109900771B (en) | Method for determining uranium isotope ratio | |
US10067193B2 (en) | Method and apparatus for determining a constant current limit value | |
CN107203495B (en) | S parameter circular interpolation method | |
DE102014109745B3 (en) | Method and device for determining a motor position |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170308 |
|
RJ01 | Rejection of invention patent application after publication |