CN103092815B - To the method transferring function by calibration in monitoring device - Google Patents

To the method transferring function by calibration in monitoring device Download PDF

Info

Publication number
CN103092815B
CN103092815B CN201310004828.XA CN201310004828A CN103092815B CN 103092815 B CN103092815 B CN 103092815B CN 201310004828 A CN201310004828 A CN 201310004828A CN 103092815 B CN103092815 B CN 103092815B
Authority
CN
China
Prior art keywords
iteration
parameter
value
rxp
parameter value
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
CN201310004828.XA
Other languages
Chinese (zh)
Other versions
CN103092815A (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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201310004828.XA priority Critical patent/CN103092815B/en
Publication of CN103092815A publication Critical patent/CN103092815A/en
Application granted granted Critical
Publication of CN103092815B publication Critical patent/CN103092815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Volume Flow (AREA)
  • Complex Calculations (AREA)

Abstract

The invention discloses a kind of calibrating installation and to the method transferring function by calibration in monitoring device, described method includes: m parameter of transmission function is set to the parameter value of the 1st iteration;Carry out iterative process at least one times;Wherein in iteration j process, if according to AD1~ADn、Rxp1~Rxpn, iteration j parameter value, the error evaluation value s calculated less than assessment desired value, it is determined that the parameter value of iteration j is calibration result;Otherwise, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, continue iterative process next time;Rxp1~RxpnN the predetermined value for monitored target;AD1~ADnFor n sampled value.Owing to adopting the parameter of contraction algorithm iterative computation transmission function, it is to avoid fall the process solved an equation, it is possible to be applied to nonlinear transmission function and the occasion of non-minimum square law error evaluation function, thus the calibration steps of the present invention has more is widely applied occasion.

Description

To the method transferring function by calibration in monitoring device
Technical field
The present invention relates to collimation technique, particularly relate to calibrating installation and to the method transferring function by calibration in monitoring device.
Background technology
At engineering field, for instance, fields of measurement, control field, the communications field etc. it is frequently necessary to some physical quantity is monitored;The monitoring process of monitoring device is usual as shown in Figure 1: be input in estimating device by the sampled value of sampling apparatus collection, the sampled value of input being estimated by certain transmission function pre-set by estimating device, the estimated value obtained is as the value of monitored target.Sampling apparatus generally can include AD(simulation numeral) transducer;Estimating device can be generally single-chip microcomputer or the device such as microprocessor or CPU.
Before estimating device is applied to monitoring process, it is necessary to the parameter in transmission function is calibrated;And the parameter after calibrating will directly affect estimating device when being applied to monitoring process, the accuracy of the value of obtained monitored target.
At present, the flow process parameter in transmission function being calibrated generally includes following steps as shown in Figure 2:
S201: according to one group of sampled value and expected value, uses transmission function and error evaluation function, calculates error evaluation result.The value of m parameter of the transmission function in error evaluation result is unknown number.
For calculating the transmission function of estimated value, generally it is set to the functional expression fixed according to practical situation by technical staff;Such as, for linear system, once linear function can be adopted as transmission function;More complex system, can adopt many order polynomial function as transmission function;Additionally, also can adopt exponential function or logarithmic function, or piecewise function is as transmission function.The functional expression of transmission function is to arrange in advance, transmits the parameter used in function and then requires over calibration process and determine.
The transmission function of such as quadratic polynomial RxpMon=a × AD × AD+b × AD+c;Wherein, a, b, c is the parameter of transmission function;AD represents the sampled value in Rxp situation, and RxpMon represents the estimated value calculated by transferometer.
The parameter of transmission function is at least one;In most cases transmit the parameter more than one of function.In theory, if the parameter of transmission function is m (m is natural number), then at least needs m sampled value and the corresponding expected value method by solving an equation, calculate the parameter of transmission function.
In practical application, owing to sampling has the reasons such as noise, it is necessary to the number m of the n nuisance parameter of counting of sampled value, being calculated the parameter of transmission function, counting of sampled value is more many, and the parameter of the transmission function of calculating is more accurate.When sampling number n is more than the number of parameters m of transmission function, the method finding out the parameter of optimal transfer function, it is called matching.Find out the parameter of the best, it is necessary to first one error evaluation function of definition assesses the quality of two parameters.Tradition method of least square is estimated.
Such as, by below equation group, calculate parameter a, b, the c of best above-mentioned quadratic polynomial transmission function:
Rxp 0 = a × AD 0 × AD 0 + b × AD 0 + c Rxp 1 = a × AD 1 × AD 1 + b × AD 1 + c Rxp 2 = a × AD 2 × AD 2 + b × AD 2 + c Rxp 3 = a × AD 3 × AD 3 + b × AD 3 + c
AD in above-mentioned equation group0、AD1、AD2、AD3, and Rxp0、Rxp1、Rxp2、Rxp3For known input value;Owing to unknown number number is less than the number of equation, a, b, c generally without solution, but can find the value of the best to make the left side and the right deviation minimum.The error evaluation result of the traditional method of least square weighing deviation size is:
s ( a , b , c ) = Σ i = 0 3 ( Rxp i - Rxp Mon i ) 2
Wherein, RxpMoni=a×ADi×ADi+b×ADi+c;Take different a, b, c so that (a, b, this group parameter of the more little explanation of value c) is more good, and (a, b, c) for minima namely to make s for s.
S202: m the parameter transmitting function is asked by error evaluation result respectively partial derivative, and makes its partial derivative equal to 0, obtain m equation, form an equation group.
Equation group in previous example is as follows:
∂ s ( a , b , c ) ∂ a = 0 ∂ s ( a , b , c ) ∂ b = 0 ∂ s ( a , b , c ) ∂ c = 0
S203: solve this equation group, obtains one group of parameter, as calibration result.
Herein above in example, solving this equation group, obtain the value of a group of a, b, c, now (a, b, c) for minima for s.This class value is according to the optimal parameter that method of least square is error evaluation function.Method of least square can so that all sampled points according to transmission function result of calculation and actual value between absolute error quadratic sum minimum.
But, it was found by the inventors of the present invention that prior art calibration steps application scenario is very limited, such as, in using the occasion of nonlinear transmission function or nonlinear error evaluation function, error evaluation result is extremely complex function, and the equation group of its partial derivative composition is difficult to resolve very much;Thus the calibration steps of prior art can not be applied substantially in these occasions.Such as, the application scenarios such as the optical power monitoring result in optical communication field require that relative error is minimum, then the valuation functions of its preferably parameter is the relative error valuation functions of the composition such as logarithmic function and addition function, if the calibration steps of application prior art, then the equation group of its partial derivative composition is difficult to resolve very much;It is to say, the calibration steps of prior art is not suitable for the optical power monitoring occasion in the only small optical communication field of requirement relative error.
Additionally, in the process of solving an equation, the sampled value used as given value and the number of expected value are corresponding with the number of the parameter of transmission function, it is common that equal or more than the number of parameter several;It is known that the given value used is limited, then the accuracy of the result of calculation generally yielded is also just limited.
Therefore, the calibration steps application scenario of prior art is very limited in sum, and the accuracy of the parameter of the transmission function calibrated out is not high.
Summary of the invention
The embodiment provides a kind of calibrating installation and to the method transferring function by calibration in monitoring device, in order to provide application scenario more calibration steps, and improve the accuracy of the parameter of the transmission function calibrated out.
According to an aspect of the invention, it is provided a kind of to the method transferring function by calibration in monitoring device, including:
M parameter of transmission function to be calibrated in described monitoring device is set to the parameter value of the 1st iteration, respectively
Carry out iterative process at least one times;Wherein in iteration j process, if according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is less than the assessment desired value set, it is determined that the parameter value of iteration j is calibration result;
Otherwise, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, continue+1 iterative process of jth;
Wherein, j is natural number, and n is more than m;Rxp1~RxpnFor n predetermined value of the monitored target of output in calibration process;AD1~ADnN the sampled value respectively obtained after the monitored target of described n predetermined value being sensed, samples for described monitoring device.
It is preferred that described contraction algorithm is specially Lay covers Burger-Ma Kuite levenberg-marquardt algorithm or Gauss-Newton Methods.
Wherein, described according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is specially relative error assessed value RS, determines according to equation below 1:
RS = Σ i = 1 n | log 10 ( g ( AD i , x 1 j . . . x m j ) ) - log 10 ( Rxp i ) | (formula 1)
Wherein, g () represents described transmission function.
According to contraction algorithm, the parameter value of iteration j is adjusted it is preferred that described, obtains the parameter value of+1 iteration of jth, specifically include:
According to described levenberg-marquardt algorithm, calculate Jacobian matrix W;Element in described Jacobian matrix W is determined according to equation below 3:
w h , l = ∂ err h ∂ x l j (formula 3)
Wherein, wh,lFor the element arranged of the h row l in W;H is the natural number less than or equal to n, and l is the natural number less than or equal to m;errhDetermine according to equation below 4:
err h = log 10 ( g ( AD i , x 1 j . . . x m j ) ) - log 10 ( Rxp h ) (formula 4)
Carry out Lay at least one times and cover the adjustment of Burger-Ma Kuite parameter matrix D;Wherein, in the q time adjustment process:
Calculate, according to equation below 5, the Lay adjusted the q time and cover Burger-Ma Kuite parameter matrix Dq:
Dq=[WT×W+u×I]-1×WT× ERR(formula 5)
Wherein, u is decay factor, is set to initial value u before the 1st iterative process0;I is unit matrix;ERR is by err1~errnThe vector constituted;
According to equation below 6, use DqAdjustAfter, obtain
Xq=X-Dq(formula 6)
Wherein, X serves as reasonsThe vector constituted, XqServe as reasonsThe vector constituted;
According to equation below 7, useCalculate sq:
s q = Σ i = 1 n | log 10 ( g ( AD i , x 1 j , q . . . x m j , q ) ) - log 10 ( Rxp i ) | (formula 7)
Judge sqCompared to whether s improves;If judging not improve, then, after increasing decay factor u, continue the adjustment that Lay covers Burger-Ma Kuite parameter matrix the q+1 time;Otherwise, by DqBurger-Ma Kuite parameter matrix D is covered as the Lay finally determined in iteration j process;Wherein, q is natural number;
Cover Burger-Ma Kuite parameter matrix D according to the Lay finally determined in iteration j process, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth.
Wherein, described according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is specially relative error assessed value RS, determines according to equation below 11:
RS = Σ i = 1 n | RxpMon _ dbm i - 10 × Log 10 ( Rxp i ) | (formula 11)
Wherein, RxpMon_dbmiDetermine according to equation below group 12:
(formula group 12)
Wherein, a, b are setup parameter;RxpMoniDetermine according to equation below 13:
Rxp Mon i = g ( AD i , x 1 j . . . x m j ) (formula 13)
Wherein, g () represents described transmission function.
Or, described according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, specifically include:
According to described levenberg-marquardt algorithm, calculate Jacobian matrix W;Element in described Jacobian matrix W is determined according to equation below 3:
w h , l = ∂ err h ∂ x l j (formula 3)
Wherein, wh,lFor the element arranged of the h row l in W;H is the natural number less than or equal to n, and l is the natural number less than or equal to m;errhDetermine according to equation below 14:
errh=RxpMon_dbmh-10×Log10(Rxph) (formula 14)
Wherein, RxpMondbmhDetermine according to equation below group 15:
(formula group 15)
Wherein, a, b are setup parameter;RxpMonhDetermine according to equation below 16:
Rxp Mon h = g ( AD h , x 1 j . . . x m j ) (formula 16)
Carry out Lay at least one times and cover the adjustment of Burger-Ma Kuite parameter matrix D;Wherein, in the q time adjustment process:
Calculate, according to equation below 5, the Lay adjusted the q time and cover Burger-Ma Kuite parameter matrix Dq:
Dq=[WT×W+u×I]-1×WT× ERR(formula 5)
Wherein, u is decay factor, is set to initial value u before the 1st iterative process0;I is unit matrix;ERR is by err1~errnThe vector constituted;
According to equation below 6, use DqAdjustAfter, obtain
Xq=X-Dq(formula 6)
Wherein, X serves as reasonsThe vector constituted, XqServe as reasonsThe vector constituted;
According to equation below 17, useCalculate sq:
s q = Σ i = 1 n | RxpMon _ dbm i q - 10 × log 10 ( Rxp i ) | (formula 17)
Wherein, g () represents described transmission function;Determine according to equation below group 18:
(formula group 18)
Wherein, a, b are setup parameter;Determine according to equation below 19:
Rxp Mon i q = g ( AD i , x 1 j , q . . . x m j , q ) (formula 19)
Judge sqCompared to whether s improves;If judging not improve, then, after increasing decay factor u, continue the adjustment that Lay covers Burger-Ma Kuite parameter matrix the q+1 time;Otherwise, by DqBurger-Ma Kuite parameter matrix D is covered as the Lay finally determined in iteration j process;Wherein, q is natural number;
Cover Burger-Ma Kuite parameter matrix D according to the Lay finally determined in iteration j process, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth.
Or, described according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is specially minimum mean-square error assessed value MS, determines according to equation below 2:
WS = Σ i = 1 n ( g ( AD i , x 1 j . . . x m j ) - Rxp i ) 2 (formula 2)
Wherein, g () represents described transmission function.
Wherein, described according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, specifically include:
According to described levenberg-marquardt algorithm, calculate Jacobian matrix W;Element in described Jacobian matrix W is determined according to equation below 3:
w h , l = ∂ err h ∂ x l j (formula 3)
Wherein, wh,lFor the element arranged of the h row l in W;H is the natural number less than or equal to n, and l is the natural number less than or equal to m;errhDetermine according to equation below 8:
err h = ( g ( AD h , x 1 j . . . x m j ) - Rxp h ) 2 (formula 8)
Carry out Lay at least one times and cover the adjustment of Burger-Ma Kuite parameter matrix D;Wherein, in the q time adjustment process:
Calculate, according to equation below 5, the Lay adjusted the q time and cover Burger-Ma Kuite parameter matrix Dq:
Dq=[WT×W+u×I]-1×WT× ERR(formula 5)
Wherein, u is decay factor, is set to initial value u before the 1st iterative process0;I is unit matrix;ERR is by err1~errnThe vector constituted;
According to equation below 6, use DqAdjustAfter, obtain
Xq=X-Dq(formula 6)
Wherein, X serves as reasonsThe vector constituted, XqServe as reasonsThe vector constituted;
According to equation below 9, useCalculate sq:
s q = Σ i = 1 n ( g ( AD i , x 1 j , q . . . x m j , q ) - Rxp i ) 2 (formula 9)
Judge sqCompared to whether s improves;If judging not improve, then, after increasing decay factor u, continue the adjustment that Lay covers Burger-Ma Kuite parameter matrix the q+1 time;Otherwise, by DqBurger-Ma Kuite parameter matrix D is covered as the Lay finally determined in iteration j process;Wherein, q is natural number;
Cover Burger-Ma Kuite parameter matrix D according to the Lay finally determined in iteration j process, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth.
According to another aspect of the present invention, additionally provide a kind of calibrating installation, including:
Data acquisition module, is used for obtaining AD1~ADn、Rxp1~Rxpn;Wherein, Rxp1~RxpnFor n predetermined value of the monitored target of output in calibration process;AD1~ADnN the sampled value respectively obtained after the monitored target of described n predetermined value being sensed, samples for monitoring device;
Iteration module, for being set to the parameter value of the 1st iteration, respectively by m parameter of transmission function to be calibrated in monitoring deviceAfter, carry out iterative process at least one times;Wherein in iteration j process, if according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is less than setting assessed value, it is determined that the parameter value of iteration j is calibration result and exports;Otherwise, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, continue+1 iterative process of jth;Wherein, j is natural number, and m is less than n;
Parameter setting module, for receiving the calibration result of described iteration module output, and updates the parameter transmitting function in described monitoring device according to the calibration result received.
Wherein, described iteration module includes:
Iteration control unit, for being set to the parameter value of the 1st iteration, respectively by m parameter of transmission function to be calibrated in monitoring deviceAfter, control iterative process at least one times;When iteration j process starts, send the parameter value of error evaluation notice and iteration j
Error evaluation unit, after receiving the error evaluation notice that described iteration control unit sends, according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueDescribed iteration control unit it is sent to after calculating error evaluation value s;
Described iteration control unit is additionally operable to if it is determined that described error evaluation value s is less than setting assessed value, it is determined that the parameter value of iteration j is calibration result and exports;Otherwise, adjustment notice is sent;
Parameter adjustment unit, after receiving the adjustment notice that described iteration control unit sends, is adjusted the parameter value of iteration j according to contraction algorithm, obtains the parameter value of+1 iteration of jth and be sent to described iteration control unit;
After described iteration control unit receives the parameter value of+1 iteration of jth that described parameter adjustment unit sends, start+1 iterative process of jth.
It is preferred that described monitoring device is arranged in optical module, described monitored target is the luminous power of laser.
In the technical scheme of the embodiment of the present invention, owing to adopting contraction algorithm, the parameter of iterative computation transmission function, avoid the process solved an equation, in an iterative process for the calculating process of the parameter of nonlinear transmission function uncomplicated, for non-minimum square law error evaluation function, for instance the calculating process of relative error valuation functions is also uncomplicated, Arbitrary Transfer Function and error evaluation function can be used, thus the calibration steps of the present invention has more is widely applied occasion;
And, comprise the error evaluation function of logarithm operation, it is possible to make absolute error minimum, minimum in the application of target with relative error at the optical power monitoring etc. of optical communication, it is possible to significantly improve the precision of calculating.The minimum fitting algorithm corresponding for the error evaluation function of target of this absolute error being traditional cannot be accomplished.
Further, the parameter of transmission function is estimated by the technical scheme of the embodiment of the present invention according to relative error assessed value, the parameter making the transmission function calibrated out has minimum relative error assessed value, it is adaptable to monitored target has the calibration of the monitoring device of wider dynamic range.
Further, it is contemplated that the Log function used in the valuation functions of relative error assessed value can not meet the contraction algorithm requirement to the continuity of a function;Therefore, in the embodiment of the present invention, adopt piecewise function solve this problem so that valuation functions have employed Log function still can apply contraction algorithm, it is adaptable to Log operand be likely to occur input negative value and imponderable situation.
Accompanying drawing explanation
Fig. 1 is the monitoring device internal structure schematic diagram of prior art;
Fig. 2 is the method flow diagram that the parameter in the transmission function in monitoring device is calibrated of prior art;
Fig. 3 is the monitoring device internal structure block diagram of the embodiment of the present invention;
Fig. 4 be the embodiment of the present invention to the method flow diagram that is calibrated of parameter in the transmission function in monitoring device;
The application Lay that Fig. 5 is the embodiment of the present invention covers the method flow diagram that Burger-Ma Kuite algorithm is iterated;
Fig. 6 is the internal structure block diagram of the calibrating installation of the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearly understand, referring to accompanying drawing and enumerate preferred embodiment, the present invention is described in more detail.However, it is necessary to illustrate, the many details listed in description are only used to make reader that one or more aspects of the present invention are had a thorough explanation, can also realize the aspects of the invention even without these specific details.
The term such as " module " used in this application, " system " is intended to include the entity relevant to computer, for instance but it is not limited to hardware, firmware, combination thereof, software or executory software.Such as, module it may be that it is not limited to: the process run on processor, processor, object, executable program, the thread of execution, program and/or computer.For example, application program and this computing equipment of computing equipment running can be modules.One or more modules may be located in an executory process and/or thread, and module can also on a computer and/or be distributed in two or more between multiple stage computer.
The calibration steps of prior art is analyzed by the present inventor, find that the method solved an equation is minimum in some practical applications of target with relative error, due to nonlinear transmission function, goal-based assessment function with non-minimum square law, such as with logarithmic function, the transmission function of piecewise function etc., and the equation group that its partial derivative forms is extremely complex, solve an equation very difficult realization, be not very suitable for practical application.Therefore, the present inventor considers to adopt the parameter of a kind of iterative calculation method calibration transmission function utilizing contraction algorithm, avoid the process solved an equation, thus adopting the method that contraction algorithm is iteratively calibrated to can apply to the occasion of nonlinear transmission function, it is possible to be applied to the occasion of non-minimum square law error evaluation function;Further, it is modified the targets such as absolute error is minimum of can realizing of goal-based assessment function, has broader practice scene.
The technical scheme of the embodiment of the present invention is described in detail below in conjunction with accompanying drawing.The calibration system that the embodiment of the present invention provides includes: monitoring device and calibrating installation;
Wherein, monitoring device is as it is shown on figure 3, include: conversion equipment 300, sampling apparatus 301, estimation block 302;
Conversion equipment 300 is used for sensing monitored target, and exports corresponding induced signal;In actual applications, conversion equipment 300 is different according to the difference of monitored target;Such as, if monitored target is optical signal, then conversion equipment 300 can pass through photodiode and associated peripheral circuits composition;If monitored target is temperature, then conversion equipment 300 can be realized by temperature sensor;If monitored target is high-tension electricity, then conversion equipment 300 can be realized by transformer.
Sampling apparatus 301, for the induced signal of conversion equipment 300 output is sampled, exports sampled value;
Estimation block 302 calculates corresponding estimated value for each sampled value by transferometer after receiving the sampled value of sampling apparatus 301 output, and the monitor value as monitored target exports.The parameter of the transmission function that estimation block 302 uses can deposit in Flash(nonvolatile semiconductor memory member) in.
Before above-mentioned monitoring device comes into operation, calibrating installation the parameter of the transmission function in estimation block 302 is calibrated, namely determines the parameter transmitting function in monitoring device.
When the parameter transmitting function in estimation block 302 is calibrated, the value controlling monitored target is some predetermined value Rxp1~Rxpn.;Wherein, n is natural number;This control process both can be through automatic or manual adjustment and can export the instrument of monitored target and complete, and namely controlled described instrument with some setting value Rxp1~RxpnOutput monitored target.Such as, in optical module in order to monitor the monitoring device of laser power, monitored target is the luminous power of laser, and calibration personnel can export, by light power meter, the laser that some luminous powers are predetermined value.
Conversion equipment 300 senses monitored target, and after exporting corresponding induced signal, sampling apparatus 301, for the induced signal of conversion equipment 300 output is sampled, obtains the predetermined value Rxp with n monitored target1~RxpnCorresponding n sampled value AD1~ADn.Sampling apparatus 301 exports n sampled value AD1~ADnTo estimation block 302.
For calibrating installation, it is necessary to according to AD1~ADn, and Rxp1~RxpnDetermine the parameter of the transmission function minimum so that error evaluation value;
Wherein, error evaluation value can be relative error assessed value, it is also possible to be method of least square error evaluation value;
The calibration steps of the present invention is to adopt contraction algorithm, calculates the parameter of transmission function in an iterative manner, so as to the error evaluation value calculated is close to a smaller value gradually.
In fact, if calculated the parameter of the minimum transmission function of relative error assessed value by the method solved an equation of prior art, owing to relating to logarithm operation, so object function also has logarithm operation, its partial derivative is also complicated nonlinear function, need the extremely complex equation group surmounted function, logic is extremely complex, and operand is also very huge, therefore, it is difficult to apply in practice, prior art is little to the accuracy adopting relative error assessed value to assess the parameter transmitting function.And this is for needing the occasion of comparatively accurate relative error, the calibration steps of prior art can not meet the requirement of the relative error of measurement.Such as, optical module is when carrying out the optical power monitoring of laser, and the dynamic range of the luminous power of the laser of its reception is the dynamic range of the reception of typical optical module is 20 ~ 25dB, the namely scope of about about 100 ~ 316 times.Namely the maximum signal that can receive is than minimum big more than 100 times of the signal that can receive.Because this receives the non-constant width of dynamic range of signal, while bringing difficulty to monitoring, also bring the problem that another one monitored results is weighed.If the parameter of the transmission function of optical module is based on what method of least square error evaluation value was determined, then its monitoring result caused is likely: 0.1mW and when 0.001mW monitor deviation be similarly 0.001mW, but for the luminous power of 0.001mW, this error has reached 100%;Therefore, the parameter of the transmission function determined according to method of least square error evaluation value is not particularly suited for monitored target and has the situation of wider dynamic range.
And the calibration steps of the present invention is owing to being adopt contraction algorithm, calculate the parameter of transmission function in an iterative manner, so as to the error evaluation value calculated is close to a smaller value gradually;And owing to the calculating formula in iterative process is relatively simple, so decreasing operand, save operation time, take less calculation resources;And, adopt contraction algorithm, calculate in the process of parameter of transmission function in an iterative manner, if use relative error assessed value as error evaluation value without increasing how many amounts of calculation, be more suitable for the determination of parameter of transmission function that monitored target has the monitoring device of wider dynamic range.
The calibrating installation that the embodiment of the present invention provides is to the method transferring function by calibration in monitoring device, and flow chart as shown in Figure 4, comprises the steps:
S401: calibrating installation obtains the predetermined value Rxp of n above-mentioned monitored target1~Rxpn, and corresponding n sampled value AD1~ADn
Specifically, calibrating installation can obtain above-mentioned sampled value AD from the estimation block 302 of monitoring device1~ADn, the predetermined value Rxp of monitored target is obtained from the instrument of above-mentioned output monitored target1~Rxpn
S402: m parameter of calibrating installation transmission function g () to using in estimation block 302 first initializes before being calibrated.
The initialization that calibrating installation carries out includes:
The initial value arranging iterations j is 1;J is natural number;
M the parameter for transmitting function arranges initial value: m parameter is set to the parameter value of the 1st iteration, respectivelyIf quickening contraction speed, it is possible to rule of thumb arrange
Assessment desired value eTarget is set;Such as can arrange eTarget is 0.0001.
S403: in iteration j process, according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated.
Specifically, the error evaluation value s calculated can be that relative error assessed value RS, RS can determine according to equation below 1:
RS = Σ i = 1 n | log 10 ( g ( AD i , x 1 j . . . x m j ) ) - log 10 ( Rxp i ) | (formula 1)
Wherein, g () represents described transmission function.
Or, the error evaluation value s calculated can be that minimum mean-square error assessed value MS, MS determine according to equation below 2:
WS = Σ i = 1 n ( g ( AD i , x 1 j . . . x m j ) - Rxp i ) 2 (formula 2)
Further, it is contemplated that computationally state in the process of formula 1, due to the object of Log computing be necessary on the occasion of, ifNegative value occurs, calculating can be made to make mistakes;It is true that the contraction algorithm used in subsequent step usually requires that valuation functions is continuous print;And Log function is discontinuous, because Log (0) is minus infinity;So, the valuation functions used in contraction algorithm has been improved by the present invention, so as to continuously;
Therefore, the another kind of valuation functions calculating relative error assessed value RS can be as follows, namely calculates RS according to equation below 11:
RS = Σ i = 1 n | RxpMon _ dbm i - 10 × Log 10 ( Rxp i ) | (formula 11)
RxpMon_dbm in formula 11iDetermine according to equation below group 12:
(formula group 12)
Wherein, a, b are the parameter set, for instance can set that a be 40.001, b is 0.0001;RxpMoniDetermine according to equation below 13:
Rxp Mon i = g ( AD i , x 1 j . . . x m j ) (formula 13)
S404: in iteration j process, it is judged that whether the error evaluation value s calculated is less than the assessment desired value eTarget set;If less than, perform step S410;Otherwise, step S405 is performed.
In this step, the error evaluation value s calculated in iteration j process is compared by calibrating installation with assessment desired value eTarget;If error evaluation value s is less than assessment desired value eTarget, then the parameter in iteration j process is describedRequirement has been reached, it is possible to export as calibration result, terminate this calibration process, jump to step S410 when carrying out error evaluation;Otherwise, calculate the parameter in iterative process next time, perform step S405, proceed iteration.
S405: the parameter value of iteration j is adjusted according to contraction algorithm, obtains the parameter value of+1 iteration of jth, jumps to step S403 after making j=j+1.
Specifically, the parameter value of iteration j is carried out shrinking adjustment by calibrating installation according to contraction algorithm, obtains the parameter value of+1 iteration of jth, jumps to step S403 after making j=j+1;The contraction algorithm adopted can be that Lay covers Burger-Ma Kuite levenberg-marquardt algorithm or Gauss-Newton Methods.
S406: the parameter value of iteration j is exported as calibration result in the estimation block 302 of monitoring device, terminate this calibration process.
Specifically, calibrating installation is after error evaluation value reaches requirement, the parameter value of iteration j is exported in the estimation block 302 of monitoring device as calibration result, then monitoring device is after coming into operation, sampled value can be estimated by estimation block 302 according to the parameter of the transmission function of calibrating installation write, obtains the satisfactory estimated value of error.
Cover Burger-Ma Kuite levenberg-marquardt algorithm for Lay below to tell about in detail, according to contraction algorithm, the parameter value of iteration j is adjusted, the method obtaining the parameter value of+1 iteration of jth;Those skilled in the art can according to technology contents disclosed by the invention, it is achieved the iteration of other contraction algorithm;Under the premise without departing from the principles of the invention, the alternative manner of other contraction algorithm is also regarded as protection scope of the present invention.In above-mentioned steps S405, cover Burger-Ma Kuite levenberg-marquardt algorithm according to Lay and carry out the method flow of parameter iteration, as it is shown in figure 5, comprise the steps:
S500: arranging the initial value adjusting number of times q is 1;Q is natural number.
S501: the parameter value according to iteration j, calculates Jacobian matrix W.
Specifically, cover Burger-Ma Kuite levenberg-marquardt algorithm according to Lay, calculate Jacobian matrix W;Element in described Jacobian matrix W is determined according to equation below 3:
w h , l = ∂ err h ∂ x l j (formula 3)
In formula 3, wh,lFor the element arranged of the h row l in W;H is the natural number less than or equal to n, and l is the natural number less than or equal to m;Calculating the difference stepping used in above-mentioned formula 3 isWherein, eps is setting value, those skilled in the art can experience set.
If the error evaluation value s calculated in above-mentioned steps S403 is relative error assessed value RS, then correspondingly, errhDetermine according to equation below 4:
err h = log 10 ( g ( AD h , x 1 j . . . x m j ) ) - log 10 ( Rxp h ) (formula 4)
Similar with what be previously mentioned in above-mentioned steps S403, if considering, the object of Log computing is necessary on the occasion of, then errhCan determine according to equation below 14:
errh=RxpMon_dbmh-10×Log10(Rxph) (formula 14)
RxpMon_dbmhDetermine according to equation below group 15:
(formula group 15)
Wherein, a, b are the parameter set, for instance can set that a be 40.001, b is 0.0001;RxpMonhDetermine according to equation below 16:
Rxp Mon h = g ( AD h , x 1 j . . . x m j ) (formula 16)
If the error evaluation value s calculated in above-mentioned steps S403 is minimum mean-square error assessed value MS, then correspondingly, errhDetermine according to equation below 8:
err h = ( g ( AD h , x 1 j . . . x 1 j ) - Rxp h ) 2 (formula 8)
Further, after calculating Jacobian matrix W, it is possible to W is carried out QR decomposition, Householder transformation is utilized to find an orthogonal matrix Q, a upper trapezoid matrix R, and a permutation matrix P so that W × P=Q × R;Then with W × (QT× ERR) judge whether orthogonal;Wherein, ERR is by err1~errnThe vector constituted.
If orthogonal, parameter and the err of transmission function are describedhUncorrelated, then follow-up parameter adjustment and iteration are without in all senses, it is necessary to reacquire Rxp1~Rxpn, and AD1~ADn, jump to above-mentioned steps S401.
S502: in the adjustment process of the q time Lay illiteracy Burger-Ma Kuite parameter matrix D, calculates the Lay adjusted the q time and covers Burger-Ma Kuite parameter matrix Dq
Specifically, the Lay that the q time adjusts covers Burger-Ma Kuite parameter matrix DqCalculate according to equation below 5:
Dq=[WT×W+u×I]-1×WT× ERR(formula 5)
In formula 5, u is decay factor, in the initialization procedure of the above-mentioned steps S402 before the 1st iterative process, it is possible to be set to initial value u0;I is unit matrix;ERR is by err1~errnThe vector constituted.
S503: in the q time adjustment process, uses DqThe parameter value of iteration j is carried out the q time adjustment.
Specifically, according to equation below 6, use DqRightAfter carrying out the q time adjustment, obtain
Xq=X-Dq(formula 6)
In formula 6, X serves as reasonsThe vector constituted, XqServe as reasonsThe vector constituted.
S504: in the q time adjustment process, calculates the error evaluation value RS in the q time adjustment processq
Specifically, if the error evaluation value s calculated in above-mentioned steps S403 is relative error assessed value RS, then correspondingly, according to equation below 7, useCalculate sq:
s q = Σ i = 1 n | log 10 ( g ( AD i , x 1 j , q . . . x m j , q ) ) - log 10 ( Rxp i ) | (formula 7)
Similar with what be previously mentioned in above-mentioned steps S403, if considering, the object of Log computing is necessary on the occasion of, then sqCan determine according to equation below 17:
s q = Σ i = 1 n | RxpMon _ dbm i q - 10 × log 10 ( Rxp i ) | (formula 17)
Wherein, g () represents described transmission function;Determine according to equation below group 18:
(formula group 18)
Wherein, a, b are the parameter set, for instance can set that a be 40.001, b is 0.0001;Determine according to equation below 19:
Rxp Mon i q = g ( AD i , x 1 j , q . . . x m j , q ) (formula 19)
If the error evaluation value s calculated in above-mentioned steps S403 is minimum mean-square error assessed value MS, then correspondingly, according to equation below 9, useCalculate sq:
s q = Σ n i = 1 ( g ( AD i , x 1 j , q . . . x m j , q ) - Rxp i ) 2 (formula 9)
S505: in the q time adjustment process, it is judged that the error evaluation value s in the q time adjustment processqWhether improve;If judging not improve, then perform step S507;Otherwise, step S506 is performed.
In this step, it is judged that sqIf specifically may is that s compared to the s method whether improvedqLess than s, specification error assessed value reduces, then judge sqImprove compared to s;If sqMore than or equal to s, then show not improve;
Or, ifLess than setting ratio, then judge there is improvement;Otherwise judge not improve;Such asLess than setting ratio 0.9999, then judge there is improvement;Otherwise judge not improve.
If judging not improve, then the space that the adjustment of parameter has not improved is described, jumps to step S507, terminate this and take turns adjustment, enter iterative process next time;If judging there is improvement, then illustrate that adjusting of parameter also has the space improved, it is possible to continue to adjust next time, jump to step S506.
S506: increase decay factor u, after making q=q+1, the adjustment continuing the q+1 time Lay illiteracy Burger-Ma Kuite parameter matrix jumps to step S502.
Specifically, it is possible to after decay factor u is increased 10 times, make q=q+1, jump to step S502.
S507: determine that the Lay adjusted covers Burger-Ma Kuite parameter matrix D the q timeqCover Burger-Ma Kuite parameter matrix D for Lay final in iteration j process, according to the D finally determined, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth.
In this step, according to the D finally determined, the parameter value of iteration j being adjusted, the parameter value obtaining+1 iteration of jth is similar with above-mentioned formula 6, obtains the parameter value of+1 iteration of jth with specific reference to equation below 10:
Xj+1=Xj-D(formula 10)
In formula 10, XjServe as reasonsThe vector constituted, Xj+1For the vector being made up of the parameter value of+1 iteration of jth.
Based on above-mentioned calibration steps, the internal structure block diagram of the calibrating installation that the embodiment of the present invention provides, as shown in Figure 6, and including: data acquisition module 601, iteration module 602, parameter setting module 603.
Data acquisition module 601 is used for obtaining AD1~ADn、Rxp1~Rxpn;Wherein, Rxp1~RxpnFor n predetermined value of the monitored target of output in calibration process;AD1~ADnN the sampled value respectively obtained after the monitored target of described n predetermined value being sensed, samples for monitoring device;Sampled value that data acquisition module 601 obtains and the predetermined value of monitored target both can be through interface by being manually entered, it is also possible to be, after data acquisition module 601 communicates with the estimation block 302 monitored in device, obtain sampled value AD from estimation block 3021~ADn, and the predetermined value Rxp of the instrument communication acquisition monitored target with output monitored target1~Rxpn
Iteration module 602 for being set to the parameter value of the 1st iteration by m parameter of transmission function to be calibrated in monitoring device, respectivelyAfter, carry out iterative process at least one times according to the data that data acquisition module 601 obtains;Wherein in iteration j process, if according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is less than setting assessed value, it is determined that the parameter value of iteration j is calibration result and exports;Otherwise, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, continue+1 iterative process of jth;Wherein, j is natural number, and m is less than n;Iteration module 602 is iterated and is calibrated the method for result and describes in detail in above-mentioned Fig. 4, the method step shown in 5, repeats no more herein.
Parameter setting module 603 is for receiving the calibration result of iteration module 602 output, and updates the parameter transmitting function in described monitoring device according to the calibration result received.
Further, iteration module 602 may include that iteration control unit 611, error evaluation unit 612, parameter adjustment unit 613.
Iteration control unit 611 for being set to the parameter value of the 1st iteration by m parameter of transmission function to be calibrated in monitoring device, respectivelyAfter, control iterative process at least one times;When iteration j process starts, send the parameter value of error evaluation notice and iteration j
After the error evaluation notice that error evaluation unit 612 sends for receiving iteration control unit 611, according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueDescribed iteration control unit it is sent to after calculating error evaluation value s;
Iteration control unit 611 is additionally operable to if it is determined that described error evaluation value s is less than setting assessed value, it is determined that the parameter value of iteration j is calibration result and exports;Otherwise, adjustment notice is sent;
After the adjustment notice that parameter adjustment unit 613 sends for receiving iteration control unit 611, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth and be sent to for control unit 611;
After iteration control unit 611 receives the parameter value of+1 iteration of jth that parameter adjustment unit 613 sends, start+1 iterative process of jth.
In the technical scheme of the embodiment of the present invention, owing to adopting contraction algorithm, the parameter of iterative computation transmission function, avoid the process solved an equation, in an iterative process for the calculating process of the result of nonlinear transmission function uncomplicated, for non-minimum square law error evaluation function, for instance the calculating process of the result of relative error valuation functions is also uncomplicated, thus the calibration steps of the present invention has more is widely applied occasion;
Further, the parameter of transmission function is estimated by the technical scheme of the embodiment of the present invention according to relative error assessed value, the parameter making the transmission function calibrated out has minimum relative error assessed value, it is adaptable to monitored target has the calibration of the monitoring device of wider dynamic range.
Further, it is contemplated that the Log function used in the valuation functions of relative error assessed value can not meet the contraction algorithm requirement to the continuity of a function;Therefore, in the embodiment of the present invention, adopt piecewise function to solve this problem, so that valuation functions have employed Log function still can apply contraction algorithm, it is adaptable to Log operand is likely to occur the situation of negative value.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method can be by the hardware that program carrys out instruction relevant and completes, this program can be stored in a computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc..
The above is only the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (6)

1. the method transferring function by calibration to monitoring in device, it is characterised in that including:
M parameter of transmission function to be calibrated in described monitoring device is set to the parameter value of the 1st iteration, respectively
Carry out iterative process at least one times;Wherein in iteration j process, if according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is less than the assessment desired value set, it is determined that the parameter value of iteration j is calibration result;
Otherwise, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, continue+1 iterative process of jth;
Wherein, j is natural number, and n is more than m;Rxp1~RxpnFor n predetermined value of the monitored target of output in calibration process;AD1~ADnN the sampled value respectively obtained after the monitored target of described n predetermined value being sensed, samples for described monitoring device;
Described contraction algorithm is specially Lay and covers Burger-Ma Kuite algorithm or Gauss-Newton Methods;
Described according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is specially relative error assessed value RS, determines according to equation below 1:
R S = Σ i = 1 n | Log 10 ( g ( AD i , x 1 j ... x m j ) ) - Log 10 ( Rxp i ) | (formula 1)
Wherein, g () represents described transmission function.
2. the method for claim 1, it is characterised in that described according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, specifically includes:
Cover Burger-Ma Kuite algorithm according to described Lay, calculate Jacobian matrix W;Element in described Jacobian matrix W is determined according to equation below 3:
w h , l = ∂ err h ∂ x l j (formula 3)
Wherein, wh,lFor the element arranged of the h row l in W;H is the natural number less than or equal to n, and l is the natural number less than or equal to m;errhDetermine according to equation below 4:
err h = Log 10 ( g ( AD i , x 1 j ... x m j ) ) - Log 10 ( Rxp h ) (formula 4)
Carry out Lay at least one times and cover the adjustment of Burger-Ma Kuite parameter matrix D;Wherein, in the q time adjustment process:
Calculate, according to equation below 5, the Lay adjusted the q time and cover Burger-Ma Kuite parameter matrix Dq:
Dq=[WT×W+u×I]-1×WT× ERR (formula 5)
Wherein, u is decay factor, is set to initial value u before the 1st iterative process0;I is unit matrix;ERR is by err1~errnThe vector constituted;
According to equation below 6, use DqAdjustAfter, obtain
Xq=X-Dq(formula 6)
Wherein, X serves as reasonsThe vector constituted, XqServe as reasonsThe vector constituted;
According to equation below 7, useCalculate sq:
s q = Σ i = 1 n | Log 10 ( g ( AD i , x 1 j , q ... x m j , q ) ) - Log 10 ( Rxp i ) | (formula 7)
Judge sqCompared to whether s improves;If judging not improve, then, after increasing decay factor u, continue the adjustment that Lay covers Burger-Ma Kuite parameter matrix the q+1 time;Otherwise, by DqBurger-Ma Kuite parameter matrix D is covered as the Lay finally determined in iteration j process;Wherein, q is natural number;
Cover Burger-Ma Kuite parameter matrix D according to the Lay finally determined in iteration j process, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth.
3. the method transferring function by calibration to monitoring in device, it is characterised in that including:
M parameter of transmission function to be calibrated in described monitoring device is set to the parameter value of the 1st iteration, respectively
Carry out iterative process at least one times;Wherein in iteration j process, if according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is less than the assessment desired value set, it is determined that the parameter value of iteration j is calibration result;
Otherwise, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, continue+1 iterative process of jth;
Wherein, j is natural number, and n is more than m;Rxp1~RxpnFor n predetermined value of the monitored target of output in calibration process;AD1~ADnN the sampled value respectively obtained after the monitored target of described n predetermined value being sensed, samples for described monitoring device;
Described contraction algorithm is specially Lay and covers Burger-Ma Kuite algorithm or Gauss-Newton Methods;
Described according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is specially relative error assessed value RS, determines according to equation below 11:
R S = Σ i = 1 n | R x p M o n _ dbm i - 10 × Log 10 ( Rxp i ) | (formula 11)
Wherein, RxpMon_dbmiDetermine according to equation below group 12:
Wherein, a, b are setup parameter;RxpMoniDetermine according to equation below 13:
RxpMon i = g ( AD i , x 1 j ... x m j ) (formula 13)
Wherein, g () represents described transmission function.
4. method as claimed in claim 3, it is characterised in that described according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, specifically includes:
Cover Burger-Ma Kuite algorithm according to described Lay, calculate Jacobian matrix W;Element in described Jacobian matrix W is determined according to equation below 3:
w h , l = ∂ err h ∂ x l j (formula 3)
Wherein, wh,lFor the element arranged of the h row l in W;H is the natural number less than or equal to n, and l is the natural number less than or equal to m;errhDetermine according to equation below 14:
errh=RxpMon_dbmh-10×Log10(Rxph) (formula 14)
Wherein, RxpMon_dbmhDetermine according to equation below group 15:
Wherein, a, b are setup parameter;RxpMonhDetermine according to equation below 16:
RxpMon h = g ( AD h , x 1 j ... x m j ) (formula 16)
Carry out Lay at least one times and cover the adjustment of Burger-Ma Kuite parameter matrix D;Wherein, in the q time adjustment process:
Calculate, according to equation below 5, the Lay adjusted the q time and cover Burger-Ma Kuite parameter matrix Dq:
Dq=[WT×W+u×I]-1×WT× ERR (formula 5)
Wherein, u is decay factor, is set to initial value u before the 1st iterative process0;I is unit matrix;ERR is by err1~errnThe vector constituted;
According to equation below 6, use DqAdjustAfter, obtain
Xq=X-Dq(formula 6)
Wherein, X serves as reasonsThe vector constituted, XqServe as reasonsThe vector constituted;
According to equation below 17, useCalculate sq:
s q = Σ i = 1 n | R x p M o n _ dbm i q - 10 × Log 10 ( Rxp i ) | (formula 17)
Wherein, g () represents described transmission function;Determine according to equation below group 18:
Wherein, a, b are setup parameter;Determine according to equation below 19:
RxpMon i q = g ( AD i , x 1 j , q ... x m j , q ) (formula 19)
Judge sqCompared to whether s improves;If judging not improve, then, after increasing decay factor u, continue the adjustment that Lay covers Burger-Ma Kuite parameter matrix the q+1 time;Otherwise, by DqBurger-Ma Kuite parameter matrix D is covered as the Lay finally determined in iteration j process;Wherein, q is natural number;
Cover Burger-Ma Kuite parameter matrix D according to the Lay finally determined in iteration j process, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth.
5. the method transferring function by calibration to monitoring in device, it is characterised in that including:
M parameter of transmission function to be calibrated in described monitoring device is set to the parameter value of the 1st iteration, respectively
Carry out iterative process at least one times;Wherein in iteration j process, if according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is less than the assessment desired value set, it is determined that the parameter value of iteration j is calibration result;
Otherwise, according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, continue+1 iterative process of jth;
Wherein, j is natural number, and n is more than m;Rxp1~RxpnFor n predetermined value of the monitored target of output in calibration process;AD1~ADnN the sampled value respectively obtained after the monitored target of described n predetermined value being sensed, samples for described monitoring device;
Described contraction algorithm is specially Lay and covers Burger-Ma Kuite algorithm or Gauss-Newton Methods;
Described according to AD1~ADn、Rxp1~Rxpn, iteration j parameter valueThe error evaluation value s calculated is specially minimum mean-square error assessed value MS, determines according to equation below 2:
W S = Σ i = 1 n ( g ( AD i , x 1 j ... x m j ) - Rxp i ) 2 (formula 2)
Wherein, g () represents described transmission function.
6. method as claimed in claim 5, it is characterised in that described according to contraction algorithm, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth, specifically includes:
Cover Burger-Ma Kuite algorithm according to described Lay, calculate Jacobian matrix W;Element in described Jacobian matrix W is determined according to equation below 3:
w h , l = ∂ err h ∂ x l j (formula 3)
Wherein, wh,lFor the element arranged of the h row l in W;H is the natural number less than or equal to n, and l is the natural number less than or equal to m;errhDetermine according to equation below 8:
err h = ( g ( AD h , x 1 j ... x m j ) - Rxp h ) 2 (formula 8)
Carry out Lay at least one times and cover the adjustment of Burger-Ma Kuite parameter matrix D;Wherein, in the q time adjustment process:
Calculate, according to equation below 5, the Lay adjusted the q time and cover Burger-Ma Kuite parameter matrix Dq:
Dq=[WT×W+u×I]-1×WT× ERR (formula 5)
Wherein, u is decay factor, is set to initial value u before the 1st iterative process0;I is unit matrix;ERR is by err1~errnThe vector constituted;
According to equation below 6, use DqAdjustAfter, obtain
Xq=X-Dq(formula 6)
Wherein, X serves as reasonsThe vector constituted, XqServe as reasonsThe vector constituted;
According to equation below 9, useCalculate sq:
s q = Σ i = 1 n ( g ( AD i , x 1 j , q ... x m j , q ) - Rxp i ) 2 (formula 9)
Judge sqCompared to whether s improves;If judging not improve, then, after increasing decay factor u, continue the adjustment that Lay covers Burger-Ma Kuite parameter matrix the q+1 time;Otherwise, by DqBurger-Ma Kuite parameter matrix D is covered as the Lay finally determined in iteration j process;Wherein, q is natural number;
Cover Burger-Ma Kuite parameter matrix D according to the Lay finally determined in iteration j process, the parameter value of iteration j is adjusted, obtains the parameter value of+1 iteration of jth.
CN201310004828.XA 2013-01-07 2013-01-07 To the method transferring function by calibration in monitoring device Active CN103092815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310004828.XA CN103092815B (en) 2013-01-07 2013-01-07 To the method transferring function by calibration in monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310004828.XA CN103092815B (en) 2013-01-07 2013-01-07 To the method transferring function by calibration in monitoring device

Publications (2)

Publication Number Publication Date
CN103092815A CN103092815A (en) 2013-05-08
CN103092815B true CN103092815B (en) 2016-07-06

Family

ID=48205403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310004828.XA Active CN103092815B (en) 2013-01-07 2013-01-07 To the method transferring function by calibration in monitoring device

Country Status (1)

Country Link
CN (1) CN103092815B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776276B (en) * 2016-11-16 2019-11-29 北京广利核系统工程有限公司 A kind of nuclear leve I&C system transmission function dynamic characteristic test method
CN106527516B (en) * 2016-12-13 2018-11-13 珠海格力电器股份有限公司 Speed regulating method and device for air outlet motor
CN110135101A (en) * 2019-05-24 2019-08-16 国网河南省电力公司信息通信公司 A kind of algorithm optimizing optical cable monitoring system PD detection of optical power precision
CN111061675A (en) * 2019-10-30 2020-04-24 南京大学 Hardware implementation method of system transfer function identification algorithm, computer equipment and readable storage medium for running method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127128A (en) * 2007-09-14 2008-02-20 清华大学 Annular video camera array calibration system and its method
CN101847171A (en) * 2010-04-29 2010-09-29 河海大学 Back analysis method of slope displacement based on safety monitoring
CN101856219A (en) * 2010-05-13 2010-10-13 天津大学 Optical parameter reconstruction method based on frequency-domain near-infrared photoelasticimetry
CN102510305A (en) * 2011-09-29 2012-06-20 华南理工大学 Optical power real-time monitoring system based on convex optimization

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7664302B2 (en) * 2003-07-18 2010-02-16 Hologic, Inc. Simultaneous grayscale and geometric registration of images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127128A (en) * 2007-09-14 2008-02-20 清华大学 Annular video camera array calibration system and its method
CN101847171A (en) * 2010-04-29 2010-09-29 河海大学 Back analysis method of slope displacement based on safety monitoring
CN101856219A (en) * 2010-05-13 2010-10-13 天津大学 Optical parameter reconstruction method based on frequency-domain near-infrared photoelasticimetry
CN102510305A (en) * 2011-09-29 2012-06-20 华南理工大学 Optical power real-time monitoring system based on convex optimization

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A truncated Levenberg–Marquardt algorithm for the calibration of highly parameterized nonlinear models;Finsterle S, Kowalsky M B.;《Computers & Geosciences》;20111231;第37卷(第6期);第731-738页 *
基于Levenberg—Marquardt算法的图像拼接;伏燕军,杨坤涛,邹文栋,何兴道;《激光杂志》;20071231;第28卷(第5期);第46-47页 *
基于levenberg-Marquardt算法的神经;赵弘,周瑞祥,林廷圻;《西安交通大学学报》;20020531;第36卷(第5期);第523-527页 *

Also Published As

Publication number Publication date
CN103092815A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103364751B (en) A kind of vector network analyzer Electronic Calibration part and calibration steps
US20180274520A1 (en) Method for evaluating power characteristics of wind turbines, apparatus and storage medium
CN103234647B (en) Temperature correction method and temperature correction system of embedded system
CN103092815B (en) To the method transferring function by calibration in monitoring device
CN110514391B (en) Five-hole pressure probe measurement three-dimensional flow field uncertainty evaluation method
CN103983361B (en) Online network temperature-measuring thermal imager calibration method
CN102998663B (en) Calibration method for microwave radiometer
CN110514390B (en) Three-hole pressure probe measurement two-dimensional flow field uncertainty evaluation method
CN104181507A (en) Data processing and controlling apparatus used for ground-based microwave radiometer
JP2021518528A (en) Sensor calibration
CN109981195B (en) Method and device for processing wireless signal strength
CN107063509A (en) A kind of thermosensitive thermometer calibration method based on neutral net
CN104677495A (en) Method for measuring flame temperature and emissivity distribution based on spectral radiance intensity
CN103900723A (en) Method for measuring actual temperature of flames by using all information of radiation spectrum and measuring system
CN103543425A (en) Method for automatically compensating for error caused by change in measuring plane of network analyzer
CN104219512A (en) Method for describing color gamut boundary of display device
CN104102836A (en) Method for quickly estimating robust state of power system
CN109444547B (en) RFID chip impedance measuring method and device based on two-port network
CN106712863B (en) Method and device for the Bluetooth transmission calibration of power
AU2017279703A1 (en) A sensor arrangement for using luminosity measurements in a room
CN116994979B (en) Square resistance measuring method, electronic device and storage medium
CN116318449B (en) Temperature calibration method and device
CN108111188A (en) Self-interference cancellation signal generation apparatus and method for full-duplex communication apparatus
CN103856971A (en) Method for detecting wireless interference and equipment thereof
CN108957398A (en) Wireless device distance measuring method based on linear regression and received signal strength indicator

Legal Events

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