CN106452439A - Sampling method and device - Google Patents
Sampling method and device Download PDFInfo
- Publication number
- CN106452439A CN106452439A CN201610798952.1A CN201610798952A CN106452439A CN 106452439 A CN106452439 A CN 106452439A CN 201610798952 A CN201610798952 A CN 201610798952A CN 106452439 A CN106452439 A CN 106452439A
- Authority
- CN
- China
- Prior art keywords
- temperature
- calibration
- signal
- processor
- representing
- 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
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/10—Calibration or testing
- H03M1/1009—Calibration
- H03M1/1014—Calibration at one point of the transfer characteristic, i.e. by adjusting a single reference value, e.g. bias or gain error
- H03M1/1023—Offset correction
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/124—Sampling or signal conditioning arrangements specially adapted for A/D converters
- H03M1/1245—Details of sampling arrangements or methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Abstract
The invention discloses a sampling method and device. The method comprises the following steps of: obtaining the practical environment temperature, which is collected by a temperature sensor, of a processor; judging whether the difference value of the practical environment temperature and calibration temperature exceeds a preset difference value range or not; and if the difference value exceeds the preset difference value range, compensating the current sampling signal of the processor according to a compensation coefficient corresponding to the difference value. By use of sampling method, the technical problem that a sampling method in the prior art is low in sampling accuracy due to the change of the environment temperature is solved.
Description
Technical field
The present invention relates to field of signal processing, in particular to a kind of method of sampling and device.
Background technology
Sampling (sampling) refers to gather the sample of analogue signal, the continuous quantity of time domain or spatial domain is converted into
The process of discrete magnitude.Distribution network automation feeder terminal is a kind of sample devicess mainly using out of doors, the outdoor ring of its work
Border temperature typically -40 DEG C to 70 DEG C it, but, be limited to DSP (the Digital Signal of distribution network automation feeder terminal
Processing, Digital Signal Processing) part built-in AD (analog/digital conversion) transducer operating characteristic, when outdoor environment
When too high or too low for temperature, sample devicess typically occur temperature drift phenomenon, thus leading to sampling precision relatively low.
At present, distribution network automation feeder terminal of the prior art is typically sampled by following two ways:
Mode one, directly sampling, are directly sampled to external signal by the built-in AD converter of DSP part;
Mode two, the outside A/D chip of increase are sampled, that is, pass through bus read-write operation, external signal is sampled.
But, aforesaid way one is limited to the operating characteristic of AD converter, it is difficult to ensure that sampling precision, although mode two can
To ensure sampling precision, but relatively costly, it is not suitable for the sample devicess of low and middle-end.To sum up, the method for sampling of the prior art
There is relatively low, the relatively costly technical problem of sampling precision.
The relatively low problem of the sampling precision that led to by the change of ambient temperature for the method for sampling of the prior art,
At present effective solution is not yet proposed.
Content of the invention
Embodiments provide a kind of method of sampling and device, with least solve the method for sampling of the prior art by
The relatively low technical problem of the sampling precision that led in the change of ambient temperature.
A kind of one side according to embodiments of the present invention, there is provided method of sampling, sets in the preset range of processor
Put temperature sensor, the method for sampling includes:Obtain the actual environment temperature residing for processor that temperature sensor collects;Judge
Whether actual environment temperature exceeds preset difference value scope with the difference of calibration temperature;If difference exceeds preset difference value scope,
Compensated according to the sampled signal that the corresponding penalty coefficient of difference is current to processor.
Another aspect according to embodiments of the present invention, additionally provides a kind of sampling apparatuses, in the preset range of processor
Setting temperature sensor, sampling apparatuses include:First acquisition module, for obtaining residing for the processor that temperature sensor collects
Actual environment temperature;Judge module, for judging whether actual environment temperature and the difference of calibration temperature exceed preset difference value
Scope;Compensating module, if exceeding preset difference value scope for difference, works as to processor according to the corresponding penalty coefficient of difference
Front sampled signal compensates.
In embodiments of the present invention, obtain the actual environment temperature residing for processor that temperature sensor collects, judge
Whether actual environment temperature exceeds preset difference value scope with the difference of calibration temperature, if difference exceeds preset difference value scope,
Compensated according to the sampled signal that the corresponding penalty coefficient of difference is current to processor.Such scheme passes through to correspond to using the temperature difference
Penalty coefficient sampled signal is compensated, thus eliminating the impact of the accuracy to sampled signal for the temperature difference, solve existing
There is the technical problem that the sampling precision that the method for sampling in technology is led to is relatively low by the change of ambient temperature.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of method of sampling according to embodiments of the present invention;
Fig. 2 is the schematic diagram of a kind of optional setting temperature sensor according to embodiments of the present invention;
Fig. 3 is the flow chart of a kind of optional precision calibration according to embodiments of the present invention;
Fig. 4 is a kind of flow chart optionally sampled signal being compensated according to embodiments of the present invention;And
Fig. 5 is a kind of structural representation of sampling apparatuses according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention it is clear that described embodiment is only
The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of not making creative work, all should belong to the model of present invention protection
Enclose.
It should be noted that term " presetting " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that such use
Data can exchange in the appropriate case so that embodiments of the invention described herein can with except here diagram or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation are it is intended that cover
Cover non-exclusive comprising, for example, contain series of steps or process, method, system, product or the equipment of unit are not necessarily limited to
Those steps clearly listed or unit, but may include clearly not listing or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the method for sampling, it should be noted that the flow process in accompanying drawing
The step illustrating can execute in the computer system of such as one group of computer executable instructions, and although in flow process
In figure shows logical order, but in some cases, can be to be different from shown or described by order execution herein
Step.
Fig. 1 is the flow chart of the method for sampling according to embodiments of the present invention, as shown in figure 1, the preset range in processor
Interior setting temperature sensor, the method comprises the steps:
Step S102, obtains the actual environment temperature residing for processor that temperature sensor collects.
Specifically, in above-mentioned steps, processor can be the control chips such as DSP, at temperature sensor setting and distance
In the preset range of reason device, so that the temperature of accurate measurement processor local environment.
In a kind of optional embodiment, in conjunction with shown in Fig. 2, CPU is carried out to current input signal and voltage input signal
Sampling, temperature sensor is arranged near CPU, for detecting the ambient temperature of CPU local environment.
Step S104, judges whether actual environment temperature and the difference of calibration temperature exceed preset difference value scope.
Specifically, in above-mentioned steps, calibration temperature is the temperature when carrying out mastery routine calibration for the processor.
Step S106, if difference exceeds preset difference value scope, works as to processor according to the corresponding penalty coefficient of difference
Front sampled signal compensates.
In above-mentioned steps, exceed preset difference value scope then it is assumed that working as in the difference of actual environment temperature and calibration temperature
The levels of precision that front actual temperature is sampled to processor creates certain impact.
Herein it should be noted that temperature drift (temperature drift) is used for referring to caused by temperature change
The change of semiconductor device parameter, after lead to the parameter of transistor to change due to temperature drift, the static state of transistor
Operating point can be unstable, thus lead to circuit in processor dynamic parameter unstable, therefore lead to sampling processor in temperature
When changing, sampled result is inaccurate, in order to obtain accurate sampled data, by the corresponding penalty coefficient of difference to sampling
Data compensates, to eliminate the impact to sampled data for the temperature.
From the foregoing, it will be observed that the application above-mentioned steps obtain the actual environment temperature residing for processor that temperature sensor collects
Degree, judges whether actual environment temperature and the difference of calibration temperature exceed preset difference value scope, if difference exceeds preset difference value
Scope, then compensate according to the corresponding penalty coefficient of the difference sampled signal current to processor.Such scheme passes through to adopt
The corresponding penalty coefficient of the temperature difference compensates to sampled signal, thus eliminating the impact of the accuracy to sampled signal for the temperature difference,
Solve the relatively low technical problem of the sampling precision that the method for sampling of the prior art led to by the change of ambient temperature.
Optionally, according to the above embodiments of the present application, obtaining the current environment of the processor that collects of temperature sensor
Before temperature value, method also includes:
Step S108, calibration processor.
Step S1010, in the case of processor calibration success, the processor that acquisition temperature sensor collects is in calibration
When residing calibration environment temperature, and calibration environment temperature setting is calibration temperature.
Fig. 3 is the flow chart of a kind of optional precision calibration according to embodiments of the present invention, in conjunction with shown in Fig. 3, in one kind
In optional embodiment, calibration processor includes:
Step S31, carries out precision calibration to processor.
Step S32, if calibrate successfully.
In above-mentioned steps, if calibrated successfully, entering step S33, all then entering step S34.
Step S33, preserves Current Temperatures in the case of calibration success.
Step S34, adjusts processor precision.
Above-mentioned steps can be that the circuit in processor and the device in circuit are adjusted.
Optionally, according to the above embodiments of the present application, if difference exceeds preset difference value scope, corresponding according to difference
The penalty coefficient sampled signal current to processor compensates, including:
Step S1061, is compensated coefficient according to actual environment temperature, calibration temperature and default sampling deviation.
Herein it should be noted that being the ambient temperature residing when processor is calibrated due to calibrating temperature, therefore
When ambient temperature is not changed in, the accuracy of the sampled signal of processor is higher, when ambient temperature changes, by
It is because the change of ambient temperature causes in sampling error, therefore with actual environment temperature and calibration temperature and default sampling
Deviation is calculating penalty coefficient.
Step S1063, is compensated to sampled signal by penalty coefficient.
From the foregoing, it will be observed that the application above-mentioned steps obtain according to actual environment temperature, calibration temperature and default sampling deviation
To penalty coefficient, by penalty coefficient, sampled signal is compensated.The actual rings that such scheme obtains according to temperature sensor
Border temperature, calibration temperature and default sampling deviation are compensated coefficient, and using penalty coefficient, sampled signal are mended
Repay.
Fig. 4 is a kind of flow chart optionally sampled signal being compensated according to embodiments of the present invention, in conjunction with Fig. 4 institute
The example shown, is optionally described to the method that sampled signal compensates to a kind of.
S41, processor carries out AD sampling.
S42, judges whether actual environment temperature and the difference of calibration temperature are more than preset difference value.
In above-mentioned steps, if actual environment temperature is not more than preset difference value with the difference of calibration temperature, enter step
Rapid S43, otherwise enters step S44.
S43, sampling calculates.
S44, compensation calculation of sampling.
In above-mentioned steps, the method for sampling compensation calculation can be, according to actual environment temperature, calibration temperature and pre-
If sampling deviation be compensated coefficient, by penalty coefficient, sampled signal is compensated.
Optionally, according to the above embodiments of the present application, inclined according to actual environment temperature, calibration temperature and default sampling
Difference is compensated coefficient, including:
Step S10611, is compensated coefficient by equation below:
Wherein, U_XiShu is used for representing penalty coefficient, and WenDu_FlyZhi is used for representing actual environment temperature,
TongDaoZengYi_YunXing is used for representing calibration temperature, DianYa_XiShuD is used for representing default sampling deviation.
Optionally, according to the above embodiments of the present application, by penalty coefficient, sampled signal is compensated, including:
Step S10631, in the case that sampled signal is for amplitude signal, is mended to sampled signal by equation below
Repay:
U_FlyFuZhi=U U_XiShu,
Wherein, U_FlyFuZhi is used for representing the amplitude after compensating, U is used for representing actual sample value, and U_XiShu is used for table
Show penalty coefficient.
Optionally, according to the above embodiments of the present application, by penalty coefficient, sampled signal is compensated, including:Adopting
In the case that sample signal is phase signal, obtained after corresponding compensation according to default temperature gap and the relation table search of phase place
Phase signal.
Optionally, according to the above embodiments of the present application, in adopt current to processor according to the corresponding penalty coefficient of difference
After sample signal compensates, step also includes:Calculate current power, wherein, the step calculating current power includes:
Step S1012, obtains the real part of amplitude signal after compensating and imaginary part, wherein, amplitude signal includes:Sampled voltage
And sample rate current.
Real part and the void of the amplitude signal after compensating in a kind of optional embodiment, can be calculated by equation below
Portion:
Ur_temp=
jkjiboshibu[U_jisuan]·cos(XiangWeiJiaoZhun)-;
jkjiboxubu[U_jisuan]·sin(XiangWeiJiao)
Ui_temp=
jkjiboxubu[U_jisuan]·cos(XiangWeiJiaoZhun)+;
jkjiboshibu[U_jisuan]·sin(XiangWeiJiao)
Wherein, Ur_temp is the voltage real part after phase compensation, and Ui_temp is the voltage imaginary part after phase compensation, passes through
The step of step S10631 obtains, and jkjiboshibu [U_jisuan] is the voltage real part before compensating, jkjiboshibu [U_
Jisuan] be compensate before voltage imaginary part, XiangWeiJiaoZhun be compensate after phase place, can by search default temperature
Difference is obtained with the relation table of phase place.
Step S1014, the phase signal after the real part according to the amplitude signal after compensating and imaginary part, and compensation is worked as
Front power.
In above-mentioned steps, current power includes active power and reactive power.
Still in the above-described embodiments, current power can be obtained by equation below:
1st, for active power:
P=
(JKiar_temp)·Uabr_temp+JKiai_temp·Uabi_temp-
JKicr_temp·Ubcr_temp+JKici_temp·Ubci_temp;
2nd, for reactive power:
Q=
(JKiar_temp)·Uabi_temp-JKiai_temp·Uabr_temp-
JKicr_temp·Ubci_temp-JKici_temp·Ubcr_temp
Wherein,
JKixr_temp is used for the real part of the x phase current in three-phase electricity after expression compensates;
JKixi_temp is used for representing the imaginary part of the x phase current after compensating;
The real part of JKxxr_temp voltage between biphase for xx in three-phase electricity after expression compensation;
The imaginary part of JKxxi_temp voltage between biphase for xx in three-phase electricity after expression compensation;
Above-mentioned x is respectively a, b, c, and above-mentioned parameter is obtained by step S1012.
Embodiment 2
According to the embodiment of the present application, additionally provide a kind of sampling apparatuses, for executing the method for sampling in embodiment 1, Fig. 5
It is a kind of schematic diagram of sampling apparatuses according to embodiments of the present invention, in conjunction with shown in Fig. 5, arrange in the preset range of processor
Temperature sensor, this sampling apparatus includes:
First acquisition module 50, for obtaining the actual environment temperature residing for the processor that temperature sensor collects;
Judge module 52, for judging whether actual environment temperature and the difference of calibration temperature exceed preset difference value scope;
Compensating module 54, if exceed preset difference value scope for difference, according to the corresponding penalty coefficient of difference to place
The current sampled signal of reason device compensates.
Optionally, according to the above embodiments of the present application, device also includes:
Calibration module, for calibration processor.
Second acquisition module, for, in the case of processor calibration success, obtaining the process that temperature sensor collects
The device calibration environment temperature residing in calibration, and calibration environment temperature setting is calibration temperature.
Optionally, according to the above embodiments of the present application, compensating module includes:
Acquisition submodule, for being compensated and being according to actual environment temperature, calibration temperature and default sampling deviation
Number.
Compensate submodule, for compensating to sampled signal by penalty coefficient.
Optionally, according to the above embodiments of the present application, acquisition submodule includes:
First computing unit, for being compensated coefficient by equation below:
Wherein, U_XiShu is used for representing penalty coefficient, and WenDu_FlyZhi is used for representing actual environment temperature,
TongDaoZengYi_YunXing is used for representing calibration temperature, DianYa_XiShuD is used for representing default sampling deviation.
Optionally, according to the above embodiments of the present application, the logical submodule that compensates includes:
Second computing unit, in the case of in sampled signal for amplitude signal, by equation below to sampled signal
Compensate:
U_FlyFuZhi=U U_XiShu,
Wherein, U_FlyFuZhi is used for representing the amplitude after compensating, U is used for representing actual sample value, and U_XiShu is used for table
Show penalty coefficient.
Optionally, according to the above embodiments of the present application, by penalty coefficient, sampled signal is compensated, including:Adopting
In the case that sample signal is phase signal, obtained after corresponding compensation according to default temperature gap and the relation table search of phase place
Phase signal.
Optionally, according to the above embodiments of the present application, device also includes:
Computing module, for calculating current power, wherein, calculates computing module and includes:
First acquisition unit, for obtaining real part and the imaginary part of the amplitude signal after compensating, wherein, amplitude signal includes:
Sampled voltage and sample rate current.
Second acquisition unit, for the phase place letter after the real part according to the amplitude signal after compensating and imaginary part, and compensation
Number obtain current power.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part describing in detail, may refer to the associated description of other embodiment.
It should be understood that disclosed technology contents in several embodiments provided herein, can pass through other
Mode is realized.Wherein, device embodiment described above is only the schematically division of for example described unit, Ke Yiwei
A kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of unit or module or communication link
Connect, can be electrical or other form.
The described unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On unit.The purpose to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art being contributed or all or part of this technical scheme can be in the form of software products
Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer
Equipment (can be personal computer, server or network equipment etc.) execution each embodiment methods described of the present invention whole or
Part steps.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited
Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above is only the preferred embodiment of the present invention it is noted that ordinary skill people for the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (14)
1. a kind of method of sampling is it is characterised in that arrange temperature sensor, the described method of sampling in the preset range of processor
Including:
Obtain the actual environment temperature residing for described processor that described temperature sensor collects;
Judge whether described actual environment temperature and the difference of calibration temperature exceed preset difference value scope;
If described difference exceeds described preset difference value scope, according to the corresponding penalty coefficient of described difference to described processor
Current sampled signal compensates.
2. method according to claim 1 is it is characterised in that the processor collecting in the described temperature sensor of acquisition is worked as
Before front ambient temperature value, methods described also includes:
Calibrate described processor;
In the case of the calibration success of described processor, the described processor that the described temperature sensor of acquisition collects is in calibration
Residing calibration environment temperature, and described calibration environment temperature setting is described calibration temperature.
If 3. method according to claim 2 is it is characterised in that described difference exceeds described preset difference value scope,
Compensated according to the sampled signal that the corresponding penalty coefficient of described difference is current to described processor, including:
Coefficient is compensated according to described actual environment temperature, described calibration temperature and default sampling deviation;
By described penalty coefficient, described sampled signal is compensated.
4. method according to claim 3 it is characterised in that according to described actual environment temperature, described calibration temperature with
And default sampling deviation is compensated coefficient, including:
Coefficient is compensated by equation below:
Wherein, described U_XiShu is used for representing described penalty coefficient, and described WenDu_FlyZhi is used for representing described actual environment
Temperature, described TongDaoZengYi_YunXing is used for representing described calibration temperature, described DianYa_XiShuD is used for representing
Described default sampling deviation.
5. method according to claim 3 is it is characterised in that mended to described sampled signal by described penalty coefficient
Repay, including:
In the case that described sampled signal is amplitude signal, by equation below, described sampled signal is compensated:
U_FlyFuZhi=U U_XiShu,
Wherein, described U_FlyFuZhi is used for representing the amplitude after compensating, described U is used for representing actual sample value, described U_
XiShu is used for representing described penalty coefficient.
6. method according to claim 5 is it is characterised in that mended to described sampled signal by described penalty coefficient
Repay, including:In the case that described sampled signal is phase signal, according to the relation table search of default temperature gap and phase place
Obtain the phase signal after corresponding compensation.
7. method according to claim 6 it is characterised in that according to the corresponding penalty coefficient of described difference to described place
After the current sampled signal of reason device compensates, methods described also includes:Calculate current power, wherein, calculate described current
The step of power includes:
Obtain the real part of amplitude signal after compensating and imaginary part, wherein, described amplitude signal includes:Sampled voltage and sampling electricity
Stream;
Phase signal after real part according to the amplitude signal after described compensation and imaginary part, and described compensation obtains described current
Power.
8. a kind of sampling apparatuses are it is characterised in that arrange temperature sensor, described sampling apparatuses in the preset range of processor
Including:
First acquisition module, for obtaining the actual environment temperature residing for the described processor that described temperature sensor collects;
Judge module, for judging whether described actual environment temperature and the difference of calibration temperature exceed preset difference value scope;
Compensating module, if exceeding described preset difference value scope for described difference, according to corresponding compensation of described difference be
Several sampled signals current to described processor compensate.
9. device according to claim 8 is it is characterised in that described device also includes:
Calibration module, for calibrating described processor;
Second acquisition module, for, in the case of the calibration success of described processor, obtaining what described temperature sensor collected
The described processor calibration environment temperature residing in calibration, and described calibration environment temperature setting is described calibration temperature.
10. device according to claim 9 is it is characterised in that described compensating module includes:
Acquisition submodule, for being mended according to described actual environment temperature, described calibration temperature and default sampling deviation
Repay coefficient;
Compensate submodule, for compensating to described sampled signal by described penalty coefficient.
11. devices according to claim 10 are it is characterised in that described acquisition submodule includes:
First computing unit, for being compensated coefficient by equation below:
Wherein, described U_XiShu is used for representing described penalty coefficient, and described WenDu_FlyZhi is used for representing described actual environment
Temperature, described TongDaoZengYi_YunXing is used for representing described calibration temperature, described DianYa_XiShuD is used for representing
Described default sampling deviation.
12. devices according to claim 10 are it is characterised in that logical described compensation submodule includes:
Second computing unit, in the case of being amplitude signal in described sampled signal, by equation below to described sampling
Signal compensates:
U_FlyFuZhi=U U_XiShu,
Wherein, described U_FlyFuZhi is used for representing the amplitude after compensating, described U is used for representing actual sample value, described U_
XiShu is used for representing described penalty coefficient.
13. devices according to claim 12 are it is characterised in that carried out to described sampled signal by described penalty coefficient
Compensate, including:In the case that described sampled signal is phase signal, looked into according to the relation table of default temperature gap and phase place
Find the phase signal after corresponding compensation.
14. devices according to claim 13 are it is characterised in that described device also includes:
Computing module, for calculating current power, wherein, calculates described computing module and includes:
First acquisition unit, for obtaining real part and the imaginary part of the amplitude signal after compensating, wherein, described amplitude signal includes:
Sampled voltage and sample rate current;
Second acquisition unit, for the phase after the real part according to the amplitude signal after described compensation and imaginary part, and described compensation
Position signal obtains described current power.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610798952.1A CN106452439A (en) | 2016-08-31 | 2016-08-31 | Sampling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610798952.1A CN106452439A (en) | 2016-08-31 | 2016-08-31 | Sampling method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106452439A true CN106452439A (en) | 2017-02-22 |
Family
ID=58165502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610798952.1A Pending CN106452439A (en) | 2016-08-31 | 2016-08-31 | Sampling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452439A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108992068A (en) * | 2018-08-10 | 2018-12-14 | 京东方科技集团股份有限公司 | A kind of phase compensating circuit, magnetic induction image device and phase compensating method |
CN113938219A (en) * | 2021-10-08 | 2022-01-14 | 天津津航计算技术研究所 | Channel calibration method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166637A (en) * | 2011-12-13 | 2013-06-19 | 洛阳天枢光电技术有限公司 | Data collection system |
CN103684451A (en) * | 2012-09-20 | 2014-03-26 | 广东美的制冷设备有限公司 | Deviation compensation device for A/D converter and temperature detecting device and method |
CN103888140A (en) * | 2013-03-01 | 2014-06-25 | 上海富欣智能交通控制有限公司 | Analog-to-digital conversion error self-correction device and method |
CN105092914A (en) * | 2015-08-18 | 2015-11-25 | 南京澳德思电气有限公司 | Digital electrical quantity transducer and instrument temperature drift compensation algorithm |
CN105306056A (en) * | 2014-07-28 | 2016-02-03 | 北京自动化控制设备研究所 | Scale factor temperature compensating method of current frequency conversion circuit |
-
2016
- 2016-08-31 CN CN201610798952.1A patent/CN106452439A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166637A (en) * | 2011-12-13 | 2013-06-19 | 洛阳天枢光电技术有限公司 | Data collection system |
CN103684451A (en) * | 2012-09-20 | 2014-03-26 | 广东美的制冷设备有限公司 | Deviation compensation device for A/D converter and temperature detecting device and method |
CN103888140A (en) * | 2013-03-01 | 2014-06-25 | 上海富欣智能交通控制有限公司 | Analog-to-digital conversion error self-correction device and method |
CN105306056A (en) * | 2014-07-28 | 2016-02-03 | 北京自动化控制设备研究所 | Scale factor temperature compensating method of current frequency conversion circuit |
CN105092914A (en) * | 2015-08-18 | 2015-11-25 | 南京澳德思电气有限公司 | Digital electrical quantity transducer and instrument temperature drift compensation algorithm |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108992068A (en) * | 2018-08-10 | 2018-12-14 | 京东方科技集团股份有限公司 | A kind of phase compensating circuit, magnetic induction image device and phase compensating method |
CN113938219A (en) * | 2021-10-08 | 2022-01-14 | 天津津航计算技术研究所 | Channel calibration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104076319B (en) | Online error analysis system of digitized electric energy metering device | |
CN104391480B (en) | Expert system based numerically-controlled machine tool fault diagnosis system | |
CN102353481B (en) | Method and device for complementing temperature and pressure of pressure sensor based on two-dimensional orthogonal function | |
CN101488031A (en) | High-precision magnetic bearing axial control method based on interference observer | |
CN108132448B (en) | Device and method for calibrating phase zero of phase generator | |
CN1869615A (en) | Temp. compensation device of electronic signal | |
CN108664901A (en) | Based on the micro-capacitance sensor power quality disturbance signal detection method for improving LMD | |
US20150178963A1 (en) | Graphical analysis system and graphical analysis method | |
CN105306056A (en) | Scale factor temperature compensating method of current frequency conversion circuit | |
CN106452439A (en) | Sampling method and device | |
CN105842728B (en) | Digitize the pulse base estimation method in nuclear spectrum measurement system | |
CN108695569A (en) | Current sensor calibration device | |
CN211234451U (en) | MEMS gyroscope calibration test platform | |
CN105571666B (en) | Flow-compensated method and compensation device, flow sensor | |
CN105651416A (en) | Current type temperature sensor circuit | |
CN102538787A (en) | Digital orientation parameter measurement device | |
CN207910744U (en) | A kind of signal processing circuit based on quartz resonance | |
CN110501115A (en) | A kind of method and device of writing pencil pressure curve calibration | |
CN102654515B (en) | Calibration algorithm for z sensitive shaft of three-shaft acceleration transducer | |
CN103575434B (en) | Pressure detection circuit | |
CN109471151A (en) | Signal processing method, device and user terminal | |
CN104569675A (en) | Flickering detecting circuit and detecting method in electric energy measuring chip | |
CN107218988A (en) | The weighing instrument and its detection method of a kind of quick high accuracy | |
Kommuri et al. | Development of real time environment monitoring system using with MSP430 | |
CN106501582A (en) | Signal base line processing method and signal base line processing equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 101318 1, 1 yuan 17, Juyuan Road, Mapo Town, Shunyi District, Beijing. Applicant after: Beijing DeWitt electric Polytron Technologies Inc Address before: 101318 Beijing Shunyi District Tianzhu Airport Industrial Area B area Anqing avenue a 9 Applicant before: Beijing Devote Relay Protection Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |