CN104048777B - Temperature value and resistance value conversion method for NTC-type thermistor - Google Patents
Temperature value and resistance value conversion method for NTC-type thermistor Download PDFInfo
- Publication number
- CN104048777B CN104048777B CN201410285398.8A CN201410285398A CN104048777B CN 104048777 B CN104048777 B CN 104048777B CN 201410285398 A CN201410285398 A CN 201410285398A CN 104048777 B CN104048777 B CN 104048777B
- Authority
- CN
- China
- Prior art keywords
- temperature
- resistance value
- value
- critesistor
- ntc
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Measuring Temperature Or Quantity Of Heat (AREA)
Abstract
The invention discloses a temperature value and resistance value conversion method for an NTC-type thermistor. According to the method, parameters in an empirical formula are obtained through software in a fitting mode according to a corresponding table of the temperature value and the resistance value supplied by a thermistor manufacturer, the temperature value or the resistance value is substituted in the empirical formula, and the corresponding temperature value or the resistance value is worked out and is implemented through computer programming in an engineering application; the empirical formula of the relation between the resistance value and the temperature value of the NTC-type thermistor is that . By means of the new empirical, the method can be directly applied to engineering, the error compared with the actual detecting data is small within the larger temperature range, and meanwhile the computing amount is small.
Description
Technical field
The present invention relates to the ntc type thermistor technology of temperature measuring device, especially for ntc type critesistor temperature with
Resistance value conversion method.
Background technology
Ntc (negative temperature coefficient, negative temperature coefficient) type critesistor refers to its resistance
The resistance that value raises with temperature and reduces, because it is temperature sensitive, precision is higher, low price, easy to use the advantages of, quilt
It is widely used in various thermometric occasions.Its resistance value of ntc critesistor and temperature are in nonlinear correspondence relation, and this characteristic increases
The difficulty of thermometric in practical application.Solving ntc critesistor non-linear method at present mainly has experience equation, a young waiter in a wineshop or an inn
Take advantage of fitting process, hardware circuit penalty method, software checking book method etc..Method of least square needs to enter under obtaining substantial amounts of experimental data
OK, workload is larger, and committed memory is also larger.The requirement to electronic devices and components for the hardware circuit penalty method is higher, multiple with circuit
The increase of miscellaneous degree, also brings circuit additive error simultaneously.Software checking book method is widely adopted in actual applications, but it is right
The storage-space requirement of hardware is larger, and its inquiry velocity is relatively slow, if being used in combination interpolation rule inquiry velocity more
Slowly, the corresponding table that most of producers provide only is accurate to 1 °, and therefore its precision is also poor.Traditional expression resistance value and temperature it
Between the formula of relation be exponential equation, concrete formula is as follows:
In formula: rtIt is the resistance value that temperature is during t (k), rt0It is the resistance value that temperature is during t0, b is critesistor constant.
But this exponential equation is under wider temperature range, the nonlinearity erron of introducing is larger, in unmodified feelings
Substantially can not directly use under condition.
The equation that another is widely used in calculating ntc critesistor is the steinheart-hart containing 3 coefficients
Equation and its curved-edge polygons, concrete formula is as follows:
In formula: c0, c1, c2For constant, rt is the resistance value that temperature is during t (k).
This curved-edge polygons relative indices error in equation is less, but the equation is that 2 rank exponential equations are more complicated.Therefore its
Parameter fitting difficulty is larger, and in engineer applied operand also than larger.The curved-edge polygons of steinheart-hart also have 3
Rank and the form of 4 ranks, equation excessively complexity is it has not been convenient to use in engineering.Therefore traditional empirical equation also less in reality
Middle application, in order to solve the contradiction between error and formula complexity, has document to propose the methods such as disjunction matching.
Although said method can be used for realizing the conversion of resistance and temperature, all there is conversion speed slowly, or
It is a lot of problem of the higher grade of error.
Content of the invention
The present invention is to solve above-mentioned technical problem it is proposed that a kind of relatively simple temperature for ntc type critesistor
With resistance value conversion method, this process employs a kind of new empirical equation, the parameter in formula is obtained by approximating method, should
Method can directly use in engineering, and it is less with measured data error within the scope of larger temperature, and amount of calculation is relatively simultaneously
Little.
Technical scheme is as follows:
Temperature and resistance value conversion method for ntc type critesistor it is characterised in that:
The temperature value table corresponding with resistance value being provided according to critesistor producer first, simulates empirical equation using software
In parameter, then bring temperature value or resistance value into using empirical equation, you can to calculate corresponding temperature value or electricity
Resistance, is realized by computer programming in engineer applied;Wherein, the pass between the resistance value of ntc type critesistor and temperature value
System, is expressed as follows by empirical equation:
In formula: r is the resistance value that temperature is during t, t is kelvin degree.
Empirical equation in this method is to develop from traditional exponential equation, with formula in background technology (1)
The main distinction is that t has added constant term c as denominator, and constant a and b is without being bound by the pass of temperature and critesistor constant
System, under specific parameter setting, equation of the present invention can be equal to exponential equation.Parameter a, b, c are carried with producer by empirical equation
For tables of data obtained using software matching, there is no specific physical significance.
In practical engineering application, a should be obtained using origin software matching manufacturer data in advance, b, c, in fit procedure
The matching initial value of a, b, c need to be calculated and arranged according to the parameter that producer provides, if arbitrarily setting initial value is likely to result in
Calculate and do not restrain, that is, software can not calculate correct result.Then parameter is substituted into empirical equation 3, and empirical equation 3 is carried out
Programming, finally inputs r or t, you can in a program to export corresponding t or r.
It is an advantage of the current invention that:
The method being calculated with respect to traditional utilization index formula, within the scope of bigger temperature with measured data more
It coincide;
Method with respect to being calculated using high-order formula, the formula that this method utilizes is more succinct, fitting parameter
The amount of calculation of amount of calculation and equation is all less, and arithmetic speed is faster;
Less with respect to the computer stored space of the higher occupancy of look-up table precision, in engineer applied, arithmetic speed is more
Hurry up;The speed of look-up table depends on the size write with data volume in table of software algorithm, and in table, the bigger result of data volume is more smart
Really, but software lookup speed is slower, and it is bigger to take Computer Storage space.
Brief description
Fig. 1 is the observed temperature and resistance plot being obtained according to table 1 in the embodiment of the present invention;
Fig. 2 is index equation curve and measured curve comparison diagram in the embodiment of the present invention;
Fig. 3 is empirical equation curve and measured curve comparison diagram in the embodiment of the present invention;
Fig. 4 is the error pair of temperature that rule of thumb formula, exponential formula calculate and measured value in the embodiment of the present invention
Than figure.
Specific embodiment
Taking the 103f3435rt model ntc critesistor of thinking electronic industrial formula as a example.
The resistivity-temperature characteristics table that this model critesistor producer provides is shown in Table 1.
Table 1
First with origin software to parameter a, b, c are fitted, and are drawn according to the data in subordinate list 1 and obtain as Fig. 1
Shown observed temperature and resistance curve (with manufacturer data as measured data).
Nonlinear fitting function, self-defined input equation formula y=10 exp (a+b/ (x+ is utilized in origin software
C)), wherein x is equal to temperature t, and y is equal to resistance r, and a, b, c are set to variable.The initial value of a, b, c can carry according to referring to producer
For 25 ° when parameter set, for example can according to setting a=-b25/t25, b=b25, c=0, now then according to table 1, a
=-3435/298.15=-11.521, b=3435, c=0.When initial value is arranged as previously mentioned, equation expression formula of the present invention is y
=10 exp (- b25/t25+b25/x), with the finger brought into according to parameter t0=t25=25 DEG C r0=r25=10k b=b25
Number equation is identical, sees formula (1), thus it is also seen that exponential equation is a kind of special circumstances of equation of the present invention.According to
Above-mentioned parameter sets, and draws exponential equation curve and producer's measured curve contrast is as shown in Figure 2.
As seen from Figure 2, directly using exponential equation, and substitute into after the provided parameter of manufacturer calculated, equation is asked
The curve obtaining differs larger with measured curve, and particularly in low temperature range, equation income value is very big with actual value error, substantially
Engineer applied can not directly be carried out.Setting a, using the initial value of exponential function during b, c initial value, primarily to avoid origin to exist
Produce software error and be unable to matching because initial value is too poor when matching.Origin software nonlinear fitting instrument inputs
After good formula and initial parameter values, click on matching button till reduced chi-sqr (residual sum of squares (RSS)) no longer changes,
Obtain a=-13.36422, b=4741.1285, c=56.6196.The therefore temperature of 103f3435rt critesistor and ohmmeter
Reach formula as follows:
Wherein: r/k ω is resistance value during t/k for temperature.
Formula (5) is programmed (c language etc. can be used in engineer applied to computer or single-chip microcomputer using excel
It is programmed), in input table 1 in excel, temperature value can get resistance value, draws Equation for Calculating curve obtained bent with actual measurement
Line comparison diagram is as shown in Figure 3.
Equation for Calculating curve and measured curve essentially coincide as seen from Figure 3, precision higher can direct engineer applied,
Record critesistor resistance value first and then substitution formula 5 just can calculate temperature.With actual measurement under identical resistance value
The temperature that temperature deducts calculating obtains error, and Fig. 4 depicts temperature and the error of measured value that empirical equation calculates, and makees simultaneously
Go out exponential formula and calculate error in data as a comparison.
By Fig. 4 it can also be seen that the formula error of present aspect is very little, within the scope of very big temperature, error is all close
0, and traditional exponential equation then error is larger.
Claims (3)
1. be used for temperature and the resistance value conversion method of ntc type critesistor it is characterised in that: first according to critesistor producer
The temperature value table corresponding with resistance value providing, simulates constant term a, b and the c in empirical equation using software, then utilizes warp
Test formula and calculate corresponding temperature value or resistance value, realized by computer programming in engineer applied;Wherein, ntc type heat
Relation between the resistance value of quick resistance and temperature value, is expressed as follows by empirical equation:
In formula: r is the resistance value that temperature is during t, t is kelvin degree.
2. the temperature for ntc type critesistor according to claim 1 and resistance value conversion method it is characterised in that:
Described software is origin software.
3. the temperature for ntc type critesistor according to claim 1 and resistance value conversion method it is characterised in that:
Simulate constant term a, b using software, the matching initial value of c need to be calculated and set according to the parameter that critesistor producer provides
Put.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410285398.8A CN104048777B (en) | 2014-06-24 | 2014-06-24 | Temperature value and resistance value conversion method for NTC-type thermistor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410285398.8A CN104048777B (en) | 2014-06-24 | 2014-06-24 | Temperature value and resistance value conversion method for NTC-type thermistor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104048777A CN104048777A (en) | 2014-09-17 |
| CN104048777B true CN104048777B (en) | 2017-02-01 |
Family
ID=51501910
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410285398.8A Active CN104048777B (en) | 2014-06-24 | 2014-06-24 | Temperature value and resistance value conversion method for NTC-type thermistor |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104048777B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105738702B (en) * | 2016-02-24 | 2019-05-14 | 延锋伟世通电子科技(南京)有限公司 | A kind of NTC thermistor test method for air conditioning for automobiles |
| CN106706153B (en) * | 2017-03-17 | 2019-09-06 | 北京航天试验技术研究所 | A kind of processing method of low temperature temperature-sensitive resistance-temperature characteristic data |
| CN107576410A (en) * | 2017-09-12 | 2018-01-12 | 北京天诚同创电气有限公司 | Temperature checking method and device |
| CN109443601A (en) * | 2018-12-24 | 2019-03-08 | 太原理工大学 | High-precision multipoint temperature measuring system and temperature correction method based on thermal resistance |
| CN111397769A (en) * | 2020-04-17 | 2020-07-10 | 江苏华鹏智能仪表科技股份有限公司 | Calibration method for temperature detection of electric energy meter terminal based on thermistor sampling |
| CN112268633A (en) * | 2020-10-22 | 2021-01-26 | 合肥中科离子医学技术装备有限公司 | Temperature and resistance value conversion method for industrial platinum resistance within 30 to 73K |
| CN112665745B (en) * | 2020-12-18 | 2023-04-07 | 陕西航空电气有限责任公司 | Temperature detection method using NTC thermistor to fit RTD characteristics |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5857777A (en) * | 1996-09-25 | 1999-01-12 | Claud S. Gordon Company | Smart temperature sensing device |
| CN201548349U (en) * | 2009-11-19 | 2010-08-11 | 四川西汉电子科技有限责任公司 | R-T feature test heater for NTC thermistor |
| CN101841128A (en) * | 2009-12-30 | 2010-09-22 | 天津大学 | Dynamic wavelength identification method and device with fast temperature tuning of laser diode |
| CN101922981A (en) * | 2010-09-10 | 2010-12-22 | 中冶南方(武汉)自动化有限公司 | Thermistor temperature detecting method based on DSP (Digital Signal Processing) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0499934A (en) * | 1990-08-18 | 1992-03-31 | Matsushita Electric Works Ltd | Temperature sensor |
-
2014
- 2014-06-24 CN CN201410285398.8A patent/CN104048777B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5857777A (en) * | 1996-09-25 | 1999-01-12 | Claud S. Gordon Company | Smart temperature sensing device |
| CN201548349U (en) * | 2009-11-19 | 2010-08-11 | 四川西汉电子科技有限责任公司 | R-T feature test heater for NTC thermistor |
| CN101841128A (en) * | 2009-12-30 | 2010-09-22 | 天津大学 | Dynamic wavelength identification method and device with fast temperature tuning of laser diode |
| CN101922981A (en) * | 2010-09-10 | 2010-12-22 | 中冶南方(武汉)自动化有限公司 | Thermistor temperature detecting method based on DSP (Digital Signal Processing) |
Non-Patent Citations (3)
| Title |
|---|
| Matlab在热敏电阻器温度-电阻关系分析中的学习应用;范显峰等;《实验技术与管理》;20080330;第25卷(第3期);第60-64页 * |
| NTC型热敏电阻温度特性数据测试及分析;吴华等;《机电信息》;20130831(第24期);第148-149页 * |
| NTC热敏电阻R-T特性的线性化研究;胡勇等;《信息通信》;20130930(第9期);第28-29页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104048777A (en) | 2014-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104048777B (en) | Temperature value and resistance value conversion method for NTC-type thermistor | |
| CN112945411B (en) | A real-time dynamic compensation method and device for an armored thermocouple temperature sensor | |
| CN102945316B (en) | A kind of relay protection device crash rate computing method considering covariant | |
| CN106706153A (en) | Method for processing temperature characteristic data of low-temperature thermistor | |
| CN101609615A (en) | A real-time hardware-in-the-loop simulation system and its data acquisition method | |
| CN107367334A (en) | A kind of non-linear compensation method for RTD measurement | |
| CN118362905A (en) | Method, device, equipment and storage medium for estimating state of charge of battery | |
| CN113156359B (en) | Method and system for determining metering error of capacitive voltage transformer | |
| CN109635330A (en) | A kind of complex optimization control problem based on direct method accurately and quickly method for solving | |
| Grientschnig et al. | Reassessment of a calibration model by Bayesian reference analysis | |
| Mierzwiczak et al. | Application of the method of fundamental solutions with the Laplace transformation for the inverse transient heat source problem | |
| Qiu et al. | Piecewise polynomial model reduction method for nonlinear systems in time domain | |
| CN102221373B (en) | Sensor nonlinear compensation method based on free node recursion B spline | |
| CN109682489B (en) | Selection method and device of thermistor based on protection characteristics of electric energy meter | |
| Rad et al. | Gray-box modeling and closed-loop temperature control of a thermotronic system | |
| Nahvi et al. | Nonlinearity-aware sub-model combination in trajectory based methods for nonlinear Mor | |
| CN105279349A (en) | Simplification order reduction method for Volterra series behavior model | |
| Nikolova et al. | Curve fitting for sensors’ analog behavioural modelling | |
| Oprzędkiewicz et al. | Modeling of Thermal Processes in a Microcontroller System with the Use of Hybrid, Fractional Order Transfer Functions | |
| Carey et al. | A generalized smoother for linear ordinary differential equations | |
| Alavi et al. | Parametric iteration method for solving linear optimal control problems | |
| Wu | MIMO Non-Linear Mechanism Analysis Based Matlab | |
| Nahvi et al. | Trajectory piece-wise quasi-linear approximation of large non-linear dynamic systems | |
| Rao et al. | Emulation to simulate low-resolution atmospheric data | |
| Zhang et al. | Designing of thermistor digital thermometer based on unbalanced electric bridge |
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 |