CN102661814A - Thermocouple temperature transmitter and realizing method - Google Patents

Thermocouple temperature transmitter and realizing method Download PDF

Info

Publication number
CN102661814A
CN102661814A CN2012101463406A CN201210146340A CN102661814A CN 102661814 A CN102661814 A CN 102661814A CN 2012101463406 A CN2012101463406 A CN 2012101463406A CN 201210146340 A CN201210146340 A CN 201210146340A CN 102661814 A CN102661814 A CN 102661814A
Authority
CN
China
Prior art keywords
thermocouple
value
chip microcomputer
temperature
type
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
Application number
CN2012101463406A
Other languages
Chinese (zh)
Other versions
CN102661814B (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.)
Suzhou Xunpeng Instrument Co ltd
Original Assignee
Nanjing University of Finance and Economics
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 Nanjing University of Finance and Economics filed Critical Nanjing University of Finance and Economics
Priority to CN201210146340.6A priority Critical patent/CN102661814B/en
Publication of CN102661814A publication Critical patent/CN102661814A/en
Application granted granted Critical
Publication of CN102661814B publication Critical patent/CN102661814B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a thermocouple temperature transmitter and a realizing method. The thermocouple temperature transmitter is characterized by comprising a K type thermocouple, a K type thermocouple signal processing integrated circuit, a single chip and a TTL/RS485 level switching circuit which are connected in turn; an indexing table for the K type thermocouple is stored in the single chip; a thermoelectromotive force value is calculated by the single chip by reading an analog-to-digital conversion result of the K type thermocouple signal processing integrated circuit; the indexing table for the K type thermocouple is looked up and a temperature value is accurately calculated according to a linear interpolation method; and the temperature value is outputted in a serial mode. The thermocouple temperature transmitter has the advantages that: software is used for compensating nonlinearity of the thermocouple, the temperature value is outputted in a digital value serial mode, the error caused by an analog signal during a transmission process is eliminated and the measurement precision is increased.

Description

A kind of thermocouple temperature transmitter and implementation method
Technical field
The invention belongs to the temperature survey field, be specifically related to a kind of transmitter that utilizes thermocouple measuring temperature.
Background technology
The common serviceability temperature transmitter of the measurement of industrial process temperature, high temperature measurement generally uses thermocouple temperature transmitter at present, and transmitter is output as analog electrical signal, and standards such as 4~20mA, 1~5V, 0~5V are arranged.Because the thermopower that thermopair produces is the mV order of magnitude; And and relation is non-linear between the temperature, needs to amplify and nonlinear compensation, because environment temperature is not 0 ℃; Also need cold junction compensation; Thermocouple temperature transmitter in the market, inside is mimic channel, becomes to send precision not high; The simulating signal of output is vulnerable to disturb in transmission simultaneously, after signal passes to measuring and controlling equipment, also need convert digital signal into.
Summary of the invention
The objective of the invention is to solve the problem that exists in the background technology, it is the temperature transmitter of sensor that a kind of K of employing type thermopair is provided, and it adopts software that the non-linear of thermopair compensated, and direct output temperature digital value.
The present invention is achieved in that a kind of thermocouple temperature transmitter, it is characterized in that: comprise K type thermopair, K type thermocouple signal processing integrated circuit, single-chip microcomputer, TTL/RS485 level shifting circuit.
Described K type thermocouple signal processing integrated circuit is connected with K type thermopair, is used for the mould/number conversion of K type thermocouple cold junction compensation, thermopower.
Described single-chip microcomputer is connected with K type thermocouple signal processing integrated circuit; Be used to read the data that the mould/number conversion of K type thermocouple signal processing integrated circuit goes out; Calculate the thermopower value of K type thermopair; Look into K type thermocouple indexing table, accurately calculate Temperature numerical, and export with serial mode with linear interpolation method.
Described TTL/RS485 level shifting circuit is connected with single-chip microcomputer, is used for converting the Transistor-Transistor Logic level of single-chip microcomputer output into the RS485 level.
The present invention compared with prior art, advantage is: adopt software that the non-linear of thermopair compensated, with digital quantity form serial output temperature numerical value, eliminated the error that simulating signal causes in transmission, improved measuring accuracy.
Description of drawings
Fig. 1 is the circuit theory diagrams of the embodiment of the invention;
Fig. 2 is the subroutine flow chart of the embodiment of the invention;
Fig. 3 is the main program flow chart of the embodiment of the invention.
Among Fig. 1: 1.K type thermopair; 2.K type thermocouple signal processing integrated circuit; 3. single-chip microcomputer; 4.TTL/RS485 level shifting circuit.
Embodiment
With reference to the accompanying drawings the embodiment of the invention is described in further detail.
A kind of thermocouple temperature transmitter shown in accompanying drawing 1, comprises K type thermopair 1, K type thermocouple signal processing integrated circuit 2, single-chip microcomputer 3, TTL/RS485 level shifting circuit 4.
The MAX6675 that K type thermocouple signal processing integrated circuit 2 optional U.S. MAXIM companies produce; Its inside has cold junction compensation; The thermopower A/D converter; Can convert the thermopower value to 12 bits, through SPI serial port output, the relation of thermopower and the data of changing out: the data * 10.25 μ V (10.25 μ V/LSB) of thermopower value=change out.
In the accompanying drawing 1, U1 is MAX6675, and "+" of K type thermopair, "-" end is connected with " T+ ", " T-" end of MAX6675 respectively, MAX6675 cs, SCK, SO (SPI serial port) be connected with 3 I/O pins of single-chip microcomputer respectively.
Single-chip microcomputer 3 optional inside are integrated with 8 or 32 single-chip microcomputers of FlashROM, EEPROM.
In the accompanying drawing 1, U2 is a single-chip microcomputer 3, model STC15F104E, and its inside is integrated with 4KB FlashROM, 1KBEEPROM and clock, reset circuit, and 8 pins are externally arranged.
The branch kilsyth basalt of K type thermopair is stored in the FlashROM storer of single-chip microcomputer 3.Adopt 1 ℃ K type thermocouple indexing table at interval, 0~1023 ℃ of temperature range, per 1 thermopower data are 16 bits in the table, wherein store the integral parts that millivolt is worth for 6,10 fraction parts that the storage millivolt is worth.For example: the thermopower value that temperature is 500 ℃ is 20.644mv, and the integral part of millivolt value is 20, corresponding binary number: 010100; The fraction part 644 of millivolt value, corresponding binary number: 1010000100, its storage signal is as follows.
Figure BSA00000715824200021
Above-mentioned 0~1023 ℃ branch kilsyth basalt is deposited with constant array form, takies 3 interior FlashROM 2KB of single-chip microcomputer space.
Use 1 I/O pin (P3.0) simulation serial output interface of single-chip microcomputer 3 among the embodiment, output format is 10 of frame data: 1 start bit, 8 data bit, 1 position of rest, and baud rate 1200bps, every delivery time is 833 μ S.Accompanying drawing 2 is exported the subroutine flow chart of a byte number for serial.
In the accompanying drawing 1, U3 is a TTL/RS485 level shifting circuit 4, and model is MAX487; The DI pin of MAX487 is the Transistor-Transistor Logic level input end; Link to each other with the simulation serial output pin (P3.0) of single-chip microcomputer 3, the pin A of MAX487, B are the RS485 level output end, are connected with measuring and controlling equipment through connection terminal J1; R1 is a build-out resistor in the accompanying drawing 1, and resistance is 120 Ω.
In the accompanying drawing 1, the power supply of MAX6675, STC15F104E, MAX487 all adopts the power supply of direct current 5V power supply.
Accompanying drawing 3 is a main program flow chart, and a kind of implementation method of thermocouple temperature transmitter mainly may further comprise the steps:
Step 1: read the thermopower mould/number conversion numerical value of MAX6675 output by single-chip microcomputer, be kept among the variable TData; Utilize formula: Calculate thermopower value E x
Step 2: table look-up and confirm E xPosition in K type thermocouple indexing table obtains E xFront and rear side dividing value E 0, E 1, and E 0Pairing temperature value T 0
For example:, calculate E if TData is 2443 x=25.041mV;
Table look-up E 0Be 25.033mV (603 ℃), E 1Be 25.075mV (604 ℃);
Step 3: utilize linear interpolation formula
Figure BSA00000715824200032
to calculate measured temperature values;
(going up example calculates: T=603.19 ℃)
Step 4: 1 the I/O pin (P3.0) through single-chip microcomputer is with baud rate 1200bps serial output temperature value T, 2 bytes of integral part, 1 byte of fraction part.

Claims (3)

1. thermocouple temperature transmitter is characterized in that:
(1) comprises K type thermopair (1), K type thermocouple signal processing integrated circuit (2), single-chip microcomputer (3), TTL/RS485 level shifting circuit (4);
(2) adopt the power supply of direct current 5V power supply, with serial mode output temperature numerical value;
(3) model of described K type thermocouple signal processing integrated circuit (2) is MAX6675; K type thermopair (1) is connected with the 2nd, 3 pins of MAX6675; 5,6,7 pins of MAX6675 are connected with 3 I/O pins of single-chip microcomputer (3), and 1 I/O pin of single-chip microcomputer (3) is connected with TTL/RS485 level shifting circuit (4);
(4) store K type thermocouple indexing table among inner FlashROM of described single-chip microcomputer (3) sheet or the EEPROM.
2. a kind of thermocouple temperature transmitter according to claim 1; It is characterized in that: K type thermocouple indexing table location mode is: per 1 thermopower data are 16 bits; Wherein the integral part of 6 storage millivolt values is stored millivolt fraction parts of value for 10.
3. the implementation method of a kind of thermocouple temperature transmitter according to claim 1 and 2 is characterized in that may further comprise the steps:
Step 1: read the thermopower mould/number conversion value of MAX6675 output, be kept among the variable TData; Utilize formula:
Figure FSA00000715824100011
Calculate thermopower value E x
Step 2: table look-up and confirm E xPosition in K type thermocouple indexing table obtains E xFront and rear side dividing value E 0, E 1, and E 0Pairing temperature value T 0
Step 3: utilize linear interpolation formula
Figure FSA00000715824100012
to calculate measured temperature values.
Step 4: through 1 I/O pin serial output temperature value T of single-chip microcomputer.
CN201210146340.6A 2012-05-11 2012-05-11 Realizing method of thermocouple temperature transmitter Expired - Fee Related CN102661814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210146340.6A CN102661814B (en) 2012-05-11 2012-05-11 Realizing method of thermocouple temperature transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210146340.6A CN102661814B (en) 2012-05-11 2012-05-11 Realizing method of thermocouple temperature transmitter

Publications (2)

Publication Number Publication Date
CN102661814A true CN102661814A (en) 2012-09-12
CN102661814B CN102661814B (en) 2013-10-09

Family

ID=46771347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210146340.6A Expired - Fee Related CN102661814B (en) 2012-05-11 2012-05-11 Realizing method of thermocouple temperature transmitter

Country Status (1)

Country Link
CN (1) CN102661814B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105509809A (en) * 2015-12-20 2016-04-20 成都霍睦斯电气有限公司 Temperature transmitter with detection function
CN106297259A (en) * 2016-08-01 2017-01-04 西门子传感器与通讯有限公司 Data transmission system, transmitter, receptor, data transmission method
CN108917964A (en) * 2018-05-31 2018-11-30 北京广利核系统工程有限公司 A kind of thermocouple and temperature conversion method based on FPGA
CN113324677A (en) * 2021-05-18 2021-08-31 佛山市顺德区凯祥电器有限公司 Intelligent thermocouple control circuit

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2211067Y (en) * 1994-12-15 1995-10-25 上海大学 Double-line temp and humidity complex sensor
CN2731447Y (en) * 2004-10-11 2005-10-05 南京华欣分析仪器制造有限公司 Analyser for content of melted iron
US7065542B2 (en) * 2001-06-13 2006-06-20 Oki Electric Industry Co., Ltd. Calculating apparatus and its method
CN1888838A (en) * 2006-07-19 2007-01-03 青岛科技大学 Combined temperature sensor
CN101702526A (en) * 2009-10-16 2010-05-05 东华理工大学 Intelligent power supply control device for uranium ore resource exploration
CN101833889A (en) * 2010-04-27 2010-09-15 广州市唯康通信技术有限公司 Digital display twisted-pair termination detecting device
CN101915623A (en) * 2010-06-30 2010-12-15 上海电气电站设备有限公司 Method for measuring temperature of rotor of brushless exciting generator
CN201936207U (en) * 2011-01-26 2011-08-17 成都锦华药业有限责任公司 Temperature control system
CN102297730A (en) * 2011-05-23 2011-12-28 国网电力科学研究院 Multi-channel general temperature measurement module

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2211067Y (en) * 1994-12-15 1995-10-25 上海大学 Double-line temp and humidity complex sensor
US7065542B2 (en) * 2001-06-13 2006-06-20 Oki Electric Industry Co., Ltd. Calculating apparatus and its method
CN2731447Y (en) * 2004-10-11 2005-10-05 南京华欣分析仪器制造有限公司 Analyser for content of melted iron
CN1888838A (en) * 2006-07-19 2007-01-03 青岛科技大学 Combined temperature sensor
CN101702526A (en) * 2009-10-16 2010-05-05 东华理工大学 Intelligent power supply control device for uranium ore resource exploration
CN101833889A (en) * 2010-04-27 2010-09-15 广州市唯康通信技术有限公司 Digital display twisted-pair termination detecting device
CN101915623A (en) * 2010-06-30 2010-12-15 上海电气电站设备有限公司 Method for measuring temperature of rotor of brushless exciting generator
CN201936207U (en) * 2011-01-26 2011-08-17 成都锦华药业有限责任公司 Temperature control system
CN102297730A (en) * 2011-05-23 2011-12-28 国网电力科学研究院 Multi-channel general temperature measurement module

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
徐凯等: "基于单片机的温控系统设计", 《仪器仪表用户》 *
由勇: "采用MAX487芯片实现单片机与PC机的串行通信", 《内蒙古科技与经济》 *
赵亮: "远程多路温度监控系统的设计", 《机械管理开发》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105509809A (en) * 2015-12-20 2016-04-20 成都霍睦斯电气有限公司 Temperature transmitter with detection function
CN106297259A (en) * 2016-08-01 2017-01-04 西门子传感器与通讯有限公司 Data transmission system, transmitter, receptor, data transmission method
CN106297259B (en) * 2016-08-01 2019-04-30 西门子传感器与通讯有限公司 Data transmission system, data transmission method
CN108917964A (en) * 2018-05-31 2018-11-30 北京广利核系统工程有限公司 A kind of thermocouple and temperature conversion method based on FPGA
CN113324677A (en) * 2021-05-18 2021-08-31 佛山市顺德区凯祥电器有限公司 Intelligent thermocouple control circuit

Also Published As

Publication number Publication date
CN102661814B (en) 2013-10-09

Similar Documents

Publication Publication Date Title
CN102782468B (en) Thermocouple electromotive force voltage to temperature converter with integrated cold-junction compensation and linearization
CN102661814B (en) Realizing method of thermocouple temperature transmitter
CN112665743B (en) Multi-channel monolithic digital temperature sensor with pulse width modulation output
CN202329848U (en) Temperature measuring device
CN105352632A (en) Digital pressure sensor and method for obtaining digital pressure signal
CN103968969A (en) Temperature measuring device and chip of system on programmable chip
CN103604523B (en) A kind of thermocouple temperature display
CN103185645B (en) High-precision temperature detecting device and detecting method applied to draught fan control system
CN102353439A (en) Digital module with temperature compensating function and temperature compensating method thereof
CN101339815B (en) Process checking gauge and design method thereof
CN202582775U (en) Temperature measuring circuit
CN201672987U (en) Temperature measuring apparatus
CN202614406U (en) Thermocouple temperature transmitter
CN102722976B (en) Temperature-measuring transmission device for space-borne equipment
CN101846558B (en) Main board for thermometer and thermocouple precision correcting method
CN101109638B (en) Optic fiber gyroscope analogue quantity angular velocity output circuit with zeroing function
CN204241127U (en) A kind of temperature compensation by thermistor circuit based on index
CN102636188A (en) Sensor signal conditioning device
CN101533076A (en) System for realizing nonlinear output of Hall voltage and Hall integrated circuit therefor
CN201281609Y (en) Process check meter
CN202693001U (en) Sensor signal regulating device
CN103616086B (en) Thermal resistance temperature transmitter
CN204064468U (en) Infrared sensor
CN103674307A (en) Error calibration component and temperature transmitter with same
CN202153161U (en) CAN bus-type intelligent platinum resistance thermometer

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190515

Address after: Room F, Unit 4 Technical Service Center, Unit 11/13, Building 6, Building 5 B, Xinghan Street, Suzhou Industrial Park, Jiangsu Province, 215000

Patentee after: Suzhou Xunpeng Instrument Co.,Ltd.

Address before: 210046 No. 3 Wenyuan Road, Xianlin University City, Qixia District, Nanjing City, Jiangsu Province

Patentee before: Nanjing University of Finance and Economics

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131009