CN101377440A - Temperature measuring apparatus and temperature checking method - Google Patents
Temperature measuring apparatus and temperature checking method Download PDFInfo
- Publication number
- CN101377440A CN101377440A CNA2007100768317A CN200710076831A CN101377440A CN 101377440 A CN101377440 A CN 101377440A CN A2007100768317 A CNA2007100768317 A CN A2007100768317A CN 200710076831 A CN200710076831 A CN 200710076831A CN 101377440 A CN101377440 A CN 101377440A
- Authority
- CN
- China
- Prior art keywords
- temperature
- digital conversion
- verification
- sampling
- conversion 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.)
- Granted
Links
Images
Abstract
The invention discloses a temperature measurement device and the temperature check method. The temperature measurement device comprises a temperature sensor, a MCU, a memory and a temperature sensor. The temperature sensor is connected with the sampling end of the MCU. The memory is installed inside the MCU, or the memory is installed on the outside and connected with the MCU. The inside of the memory is provided with a corresponding curve of the temperature sensor sampling analog-digital conversion value and the temperature obtained through the temperature check method. The sampling analog-digital conversion value of the MCU can be obtained through the voltage drop of the MUC sampling temperature sensor. The corresponding temperature value can be calculated based on the corresponding curve of the temperature sensor sampling analog-digital conversion value and the temperature. Because the temperature value in the corresponding curve of the temperature sensor sampling analog-digital conversion value and the temperature has nothing to do with the change of the reference voltage, the temperature error caused by the sampling VCC fluctuation of the reference voltage can be eliminated by using the method. The precision of the collected temperature is improved about 10 percent. The accuracy and the stability of the measuring results are improved.
Description
[technical field]
The present invention relates to a kind of control system, particularly temperature measuring equipment wherein.
[background technology]
In the temperature measurement technology, generally use resistance that manufacturer the provides characteristic relation function curve with temperature, insert some spots thereon, face mutually at 2 and link to each other with straight line, this family curve just has been divided into some segments like this, and the slope of establishing every section is k
x(x is every section a segment number) after the AD value that obtains to sample at temperature measuring equipment, according to the AD transfer algorithm, calculates its corresponding voltage value V
x, again according to formula
Inverse goes out resistance value R
x,
So just, can know this R
xBe positioned at which section of piecewise function, can calculate corresponding temperature T according to slope then
x, as shown in Figure 2,
From computing formula V as can be seen just
CCThe variation meeting degree of accuracy of temperature value is exerted an influence, in fact because the otherness of components and parts, the V of each temperature measuring equipment
CCAll inequality, thus make measured temperature error occur, and the border is measured factually, V
CCThe voltage fluctuation of every 20mv promptly can cause the thermometric error of 1 degree, the performance of product is made a big impact.
[summary of the invention]
Fundamental purpose of the present invention is: a kind of reduction thermometric error is provided, makes measurement result temperature measuring equipment and temperature checking method thereof more accurately.
For achieving the above object, the present invention proposes a kind of temperature measuring equipment, comprises temperature sensor, MCU, storer, and described temperature sensor is connected with described MCU sampling end; Described memory built-in is in described MCU, or external and be connected with described MCU; Described memory built-in has temperature sensor sampling analog to digital conversion value-vs. temperature curve; The pressure drop of described MCU sample temperature sensor draws its sampling analog to digital conversion value; Calculate corresponding temperature value by described sampling analog to digital conversion value-vs. temperature opisometer.
Above-mentioned temperature measuring equipment also comprises the CAN transceiver, is connected with described MCU.
Simultaneously, the present invention proposes a kind of temperature checking method, comprise the steps: to adopt test fixture that some verification branch roads are set, each verification branch road draws its sampling analog to digital conversion value according to the pressure drop of the resistance-vs. temperature resistance correspondence of temperature sensor; Sampling analog to digital conversion value is stored in the storer of temperature measuring equipment one by one, and the temperature value corresponding with this verification resistance value constitutes the sampling analog to digital conversion value-vs. temperature curve of temperature sensor.
Above-mentioned temperature checking method, verification branch road of the every access of described test fixture promptly sends the sampling notice to described temperature measuring equipment; Described temperature measuring equipment is sampled voltage, calculating sampling analog to digital conversion value and deposit storer in view of the above.Described temperature measuring equipment whenever deposits a sampling analog to digital conversion value in, promptly sends when time verification notice that finishes to described test fixture, and described test fixture switches the next verification branch road of access in view of the above.Described temperature measuring equipment and described test fixture communicate by the CAN bus.
Owing to adopted above scheme, the present invention replaces original function characteristic curve with the piecewise function of actual verification gained, the resistance-temperature characteristics curve of temperature sensor is replaced to the sampling analog to digital conversion value-temperature characteristics of real-time verification gained; Because the variation of temperature value and reference voltage is irrelevant in sampling analog to digital conversion value-temperature characteristics, eliminated the reference voltage V of sampling behind employing the present invention
CCThe temperature error that fluctuation causes has improved about 10% the precision of the temperature of being gathered, and has improved accuracy, the stability of measurement result.
[description of drawings]
Fig. 1 is a circuit theory synoptic diagram of the present invention;
Fig. 2 is temperature check catenation principle figure of the present invention;
Fig. 3 is the R-T family curve synoptic diagram of the used temperature sensor of the present invention;
Fig. 4 is the AD-T family curve synoptic diagram that the R-T family curve by the used temperature sensor of the present invention is transformed; Fig. 5 is a process flow diagram of the present invention.
[embodiment]
Also the present invention is described in further detail in conjunction with the accompanying drawings below by specific embodiment.
Below in conjunction with accompanying drawing this routine hardware circuit and method are introduced: as shown in Figure 1, temperature measuring equipment comprises MCU, temperature sensor, storer, CAN transceiver; Temperature sensor, storer, CAN transceiver are connected with MCU respectively; During use, temperature sensor is installed on the scene that needs monitor temperature.As shown in Figure 2, test fixture comprises some verification branch roads, MCU, CAN transceiver; Each verification branch road comprises pull-up resistor r, verification resistance R
x, verification resistance is several resistance values that the temperature-resistance characteristic Curve selection of the temperature sensor that provides according to manufacturer is come out, and SW-DPST is a double-point double-throw switch, and VCC is a reference voltage.When test, by verification resistance simulation temperature sensor, the verification branch road among Fig. 2 is one of them branch road in a plurality of verification branch roads, other verification prop, verification branch road among Fig. 2 is one of them branch road in a plurality of verification branch roads, and other verification branch road similarly.
Method is as follows: corresponding I/O mouth will be dragged down on the test fixture when the verification branch switch being pushed a retaining, so frock will detect the corresponding check tributary signal; To be received on the A/D sample circuit of temperature measuring equipment by connector with the corresponding verification resistance of verification tributary signal simultaneously, after pressing the check request button, test fixture detects this signal and promptly sends the order that begins to sample by the CAN transceiver to temperature measuring equipment with the CAN message, temperature measuring equipment startup A/D changes and notes the pairing AD value of this verification resistance value it is deposited in the storer, send signal that this grade verification finish with the CAN message to test fixture by the CAN transceiver then, test fixture is confirmed promptly after receiving this signal that this grade verification finishes and is waited for the beginning of next verification branch road verification.All finished the back test fixture with the finish I/O mouth of pilot lamp correspondence of software set verification at all verification branch roads, light this pilot lamp by verification.After verification finished, the R-T family curve of temperature sensor shown in Figure 3 was just replaced by AD-T family curve shown in Figure 4.The AD value that records when as shown in Figure 4, supposing the actual measurement temperature is AD
xAnd be positioned on the 3rd section function, then can be according to formula:
AD
x=2
10*V
x/V
CC
V
x=V
CC*R
x/R
x+r
Calculate T
xValue as can be seen should value and V by formula
CCIrrelevant, can eliminate because V
CCDifference and the temperature error that causes.Control flow chart as shown in Figure 5.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.
Claims (6)
1. a temperature measuring equipment comprises temperature sensor, MCU, storer, and described temperature sensor is connected with described MCU sampling end; Described memory built-in is in described MCU, or external and be connected with described MCU; It is characterized in that: described memory built-in has temperature sensor sampling analog to digital conversion value-vs. temperature curve; The pressure drop of described MCU sample temperature sensor draws its sampling analog to digital conversion value; Calculate corresponding temperature value by described sampling analog to digital conversion value-vs. temperature opisometer.
2. temperature measuring equipment as claimed in claim 2 is characterized in that: also comprise the CAN transceiver, be connected with described MCU.
3. a temperature checking method comprises the steps: to adopt test fixture that some verification branch roads are set, and each verification branch road is chosen the verification resistance value according to the resistance-vs. temperature curve of temperature sensor; With verification branch road cut-in temperature measurement mechanism one by one, the pressure drop of each verification resistance value correspondence of sampling draws its sampling analog to digital conversion value; Sampling analog to digital conversion value is stored in the storer of temperature measuring equipment one by one, and the temperature value corresponding with this verification resistance value constitutes the sampling analog to digital conversion value-vs. temperature curve of temperature sensor.
4. temperature checking method as claimed in claim 3 is characterized in that: verification branch road of the every access of described test fixture promptly sends the sampling notice to described temperature measuring equipment; Described temperature measuring equipment is sampled voltage, calculating sampling analog to digital conversion value and deposit storer in view of the above.
5. temperature checking method as claimed in claim 4 is characterized in that: described temperature measuring equipment whenever deposits a sampling analog to digital conversion value in, promptly sends when time verification notice that finishes to described test fixture, and described test fixture switches the next verification branch road of access in view of the above.
6. as claim 4 or 5 described temperature check systems, it is characterized in that: described temperature measuring equipment and described test fixture communicate by the CAN bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100768317A CN101377440B (en) | 2007-08-31 | 2007-08-31 | Temperature measuring apparatus and temperature checking method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100768317A CN101377440B (en) | 2007-08-31 | 2007-08-31 | Temperature measuring apparatus and temperature checking method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101377440A true CN101377440A (en) | 2009-03-04 |
CN101377440B CN101377440B (en) | 2010-08-25 |
Family
ID=40421088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100768317A Active CN101377440B (en) | 2007-08-31 | 2007-08-31 | Temperature measuring apparatus and temperature checking method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101377440B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104228516A (en) * | 2013-06-12 | 2014-12-24 | 铃木株式会社 | Vehicle control device |
CN104618185A (en) * | 2015-01-29 | 2015-05-13 | 曙光云计算技术有限公司 | Link testing method and device |
CN107643503A (en) * | 2017-07-31 | 2018-01-30 | 惠州市德赛西威汽车电子股份有限公司 | The calibration detection circuit and method of a kind of potentiometer |
CN112747797A (en) * | 2020-12-31 | 2021-05-04 | 金卡智能集团股份有限公司 | Flow metering circuit |
CN115657646A (en) * | 2022-12-12 | 2023-01-31 | 北京紫光芯能科技有限公司 | Test method and device of CAN controller |
-
2007
- 2007-08-31 CN CN2007100768317A patent/CN101377440B/en active Active
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104228516A (en) * | 2013-06-12 | 2014-12-24 | 铃木株式会社 | Vehicle control device |
CN104228516B (en) * | 2013-06-12 | 2016-10-19 | 铃木株式会社 | Vehicle console device |
CN104618185A (en) * | 2015-01-29 | 2015-05-13 | 曙光云计算技术有限公司 | Link testing method and device |
CN104618185B (en) * | 2015-01-29 | 2018-04-27 | 曙光云计算集团有限公司 | link test method and device |
CN107643503A (en) * | 2017-07-31 | 2018-01-30 | 惠州市德赛西威汽车电子股份有限公司 | The calibration detection circuit and method of a kind of potentiometer |
CN112747797A (en) * | 2020-12-31 | 2021-05-04 | 金卡智能集团股份有限公司 | Flow metering circuit |
CN115657646A (en) * | 2022-12-12 | 2023-01-31 | 北京紫光芯能科技有限公司 | Test method and device of CAN controller |
Also Published As
Publication number | Publication date |
---|---|
CN101377440B (en) | 2010-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3919899A1 (en) | Formaldehyde concentration measurement method and apparatus, and air purifier | |
CN101377440B (en) | Temperature measuring apparatus and temperature checking method | |
CN210863662U (en) | Formaldehyde concentration detection device and air purifier | |
US5054315A (en) | Coding of the value of several quantities measured in a tire | |
CA1180118A (en) | Method and apparatus for the direct measurement of thermal energy transferred by a fluid medium | |
CN107478382B (en) | Automatic detection device and detection method for pressure instrument | |
EP3516348B1 (en) | Ultrasonic flowmeter and method using partial flow measurements | |
CN101819230A (en) | Method and device for monitoring power consumption of single board | |
CN108919063B (en) | Electric field telemetry system and method based on capacitance correction principle | |
CN108957174A (en) | A kind of voltage dip detection device and method | |
CN108981835B (en) | Method for indirectly measuring gas usage amount by gas pressure | |
CN113932889A (en) | Intelligent fuel metering and correcting device based on turbine flowmeter | |
CN102889915A (en) | Flowmeter and calorimeter asynchronous metering and detecting method and flowmeter and calorimeter asynchronous metering and detecting system based on communication | |
CN103428011A (en) | Node state detection method, system and device used in distributed system | |
CN108037358B (en) | Single-chip microcomputer frequency testing system and method | |
JP3879999B2 (en) | Liquid volume management system | |
CN100453991C (en) | Treating meter and signal measurement for semiconductive high-molecular material pressure and temp sensor | |
SU1539810A1 (en) | Device for determining parameters of article maintanence | |
CN108801373B (en) | Gas flow indirect metering method based on gas pressure waveform integration period extraction algorithm | |
CN105745549A (en) | Apparatus for use in disturbance evaluation systems based on disturbance extraction from an electrical network | |
CN113720527B (en) | Pressure test unit field calibration method of test flight parameter test system | |
CN105181080A (en) | Digitized capacitance-type level meter based on TDC chip technology | |
RU86732U1 (en) | SENSOR-FLOW METER WITH DETECTION OF SOURCES OF FAILURES | |
NO314324B1 (en) | Method for time synchronization of a remote measurement system | |
CN206002157U (en) | Tipping bucket vibration signal receiver |
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 |