Temperature measuring system based on thermocouple
By introducing a temperature sensor and signal processing device into the thermocouple system and using the cold junction temperature value for compensation, the problem of thermocouple measurement error is solved, and more accurate temperature measurement is achieved.
Patent Information
- Application Number
- CN202410978039.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-08
AI Technical Summary
In practical applications, the cold junction of a thermocouple may not be at 0°C, leading to errors in the measurement results.
The target temperature value is obtained by measuring and compensating for the cold junction temperature using thermocouples, temperature sensors, and signal processing devices.
It reduces errors in the thermocouple measurement process and provides more accurate temperature values.
Smart Images

Figure CN118913466A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of temperature measurement, and in particular to a system for measuring temperature based on thermocouples. Background Art
[0002] Thermocouple is a thermoelectric temperature sensor, which is widely used in machinery, chemical industry, ceramics, scientific research and other fields. The basic principle of thermocouple temperature measurement is to weld two conductors or semiconductors A and B of different materials to form a closed loop. When there is a temperature difference between conductors A and B, an electromotive force is generated between the two, thereby forming a current in the loop. This phenomenon is called the thermoelectric effect. Thermocouples have hot ends and cold ends, which can convert temperature signals into thermoelectric potential signals, and increase with the increase of the temperature of the measuring end. By collecting the thermoelectric potential signal output by the thermocouple, the temperature difference between the two ends of the thermocouple can be converted to obtain the measured temperature value; however, the thermocouple is based on the cold end being 0°C for measurement, and in actual application, the position where the cold end is exposed is usually not 0°C, resulting in errors in the measurement results. Summary of the invention
[0003] The purpose of this application is to provide a system for measuring temperature based on thermocouples in order to solve the above problems, including:
[0004] A thermocouple, wherein the thermocouple has a hot end and a cold end, wherein the hot end is used to contact the medium to be measured so that there is a temperature difference between the hot end and the cold end, thereby generating a thermoelectromotive force signal;
[0005] A temperature sensor, wherein the temperature sensor is used to measure the temperature value of the cold end to obtain a compensation temperature value;
[0006] A signal processing device, the signal processing device is used to obtain an initial temperature value according to the thermoelectromotive force signal; it is also used to compensate the initial temperature value according to the compensation temperature value to obtain a target temperature value; the initial temperature value is the temperature difference between the hot end and the cold end, and the target temperature value is the temperature value of the medium to be measured.
[0007] According to the technical solution provided in certain embodiments of the present application, the signal processing device includes an A / D converter and a field programmable gate array, the A / D converter is used to amplify the thermoelectromotive force signal and perform A / D conversion to obtain a thermoelectromotive force code value; the field programmable gate array is used to obtain the initial temperature value according to the thermoelectromotive force code value, and is also used to compensate the initial temperature value according to the compensation temperature value to obtain the target temperature value.
[0008] According to the technical solution provided in certain embodiments of the present application, the field programmable gate array includes an SPI scheduling module, a processing module and an SPI communication interface, the SPI scheduling module is used to receive the thermoelectromotive force code value through the SPI communication interface, and is also used to transmit the thermoelectromotive force code value to the processing module, the processing module has a built-in first database, the first database includes multiple thermoelectromotive force code values and an initial temperature value corresponding to each of the thermoelectromotive force code values, and the processing module is used to query the first database according to the thermoelectromotive force code value to obtain the initial temperature value.
[0009] According to the technical solution provided by certain embodiments of the present application, the field programmable gate array also includes a temperature compensation module, which is used to receive the compensation temperature value through the temperature sensor interface, and compensate the initial temperature value according to the compensation temperature value to obtain the target temperature value.
[0010] According to the technical solution provided in some embodiments of the present application, a DSP host computer is also included, and the temperature compensation module is also used to report the target temperature value to the DSP host computer.
[0011] Compared with the prior art, the beneficial effects of the present application are as follows: the present application provides a system for measuring temperature based on thermocouples, including a thermocouple, a temperature sensor and a signal processing device, the thermocouple having a hot end and a cold end, the hot end being used to contact the medium to be measured so that there is a temperature difference between the hot end and the cold end, thereby generating a thermoelectromotive force signal; the temperature sensor is used to measure the temperature value of the cold end to obtain a compensated temperature value; the signal processing device is used to obtain an initial temperature value according to the thermoelectromotive force signal, and is also used to compensate the initial temperature value according to the compensated temperature value to obtain a target temperature value; by using the temperature sensor to measure the current actual temperature value of the cold end of the thermocouple, that is, the compensated temperature value, and then compensating the temperature difference according to the compensated temperature value, errors in the thermocouple measurement process can be avoided, and a more accurate target temperature value can be obtained.
[0012] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 A schematic diagram of the structure of a system for measuring temperature based on thermocouples provided in an embodiment of the present application.
[0015] The text annotations in the figure represent:
[0016] 1. Thermocouple; 2. Temperature sensor; 3. Field programmable gate array; 4. A / D converter; 5. DSP host computer; 31. SPI scheduling module; 32. Processing module; 33. SPI communication interface; 34. Temperature sensor interface; 35. Temperature compensation module. DETAILED DESCRIPTION
[0017] In order to enable those skilled in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings. The description in this section is only exemplary and explanatory and should not have any limiting effect on the protection scope of the present application. Specifically, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present invention.
[0018] It should be noted that similar reference numerals and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0019] As mentioned in the background technology, in view of the problems existing in the prior art, this embodiment provides a system for measuring temperature based on a thermocouple, comprising:
[0020] Thermocouple 1, the thermocouple 1 has a hot end and a cold end, the hot end is used to contact with the medium to be measured, so that there is a temperature difference between the hot end and the cold end, thereby generating a thermoelectromotive force signal;
[0021] Temperature sensor 2, temperature sensor 2 is used to measure the temperature value of the cold end to obtain a compensation temperature value;
[0022] The signal processing device is used to obtain an initial temperature value according to the thermoelectromotive force signal; it is also used to compensate the initial temperature value according to the compensation temperature value to obtain a target temperature value; the initial temperature value is the temperature difference between the hot end and the cold end, and the target temperature value is the temperature value of the medium to be measured.
[0023] like Figure 1 As shown, in this embodiment, a K-graded thermocouple 1 is selected, and its temperature measurement range is -40°C to +1100°C. When there is a temperature difference between the hot end and the cold end of the thermocouple 1, an electromotive force, i.e., a thermoelectromotive force signal, is generated. Compared with the hot end temperature value, the cold end temperature value of the thermocouple 1 has a small temperature variation range and a low temperature value. The cold end temperature value, i.e., the compensated temperature value, can be accurately measured by the temperature sensor 2; the signal processing device queries the "thermoelectric potential-temperature difference scale" of the thermocouple 1 according to the thermoelectromotive force signal output by the thermocouple 1. The scale has a corresponding relationship between voltage and temperature values, as shown in Table 1, and the corresponding initial temperature value can be obtained. Since the "thermoelectric potential-temperature difference scale" is graded based on the cold end temperature of 0°C, the initial temperature value is compensated according to the compensated temperature value to obtain the target temperature value, i.e., the actual temperature value of the medium to be measured.
[0024] Table 1
[0025] Voltage value Initial temperature value Voltage value A Initial temperature value a Voltage value B Initial temperature value b Voltage value C Initial temperature value c Voltage value D Initial temperature value d Voltage value E Initial temperature value e
[0026] By using temperature sensor 2 to measure the current actual temperature value of the cold end of thermocouple 1, that is, the compensation temperature value, and then compensating the temperature difference according to the compensation temperature value, errors in the measurement process of thermocouple 1 can be avoided and a more accurate target temperature value can be obtained.
[0027] In a preferred embodiment, the signal processing device includes an A / D converter 4 and a field programmable gate array 3. The A / D converter 4 is used to amplify the thermoelectromotive force signal and perform A / D conversion to obtain a thermoelectromotive force code value; the field programmable gate array 3 is used to obtain an initial temperature value based on the thermoelectromotive force code value, and is also used to compensate the initial temperature value based on the compensation temperature value to obtain a target temperature value.
[0028] like Figure 1 As shown, the thermoelectric potential signal output by the thermocouple 1 is usually a small signal of millivolt level. In order to facilitate subsequent measurement, the small signal needs to be amplified and subjected to high-precision A / D conversion. In this embodiment, a programmable gain amplifier or a programmable digital filter is usually used to convert the thermoelectric potential signal from an analog signal to a digital signal, that is, a thermoelectric potential code value. Since the thermoelectric potential signal has been converted into a thermoelectric potential code value, and the voltage in the "thermoelectric potential-temperature difference scale" is a floating-point voltage value, in order to facilitate the query of the scale according to the thermoelectric potential code value, the floating-point voltage value can be converted into an A / D conversion code value according to the amplification factor of the thermoelectric potential signal and the number of bits after it is converted into a digital signal, so as to obtain a new "thermoelectric potential-temperature difference scale", which is referred to as the first database below for the convenience of description. As shown in Table 2, the field programmable gate array 3 can query the first database according to the thermoelectric potential code value to obtain an initial temperature value, and compensate the initial temperature value according to the compensation temperature value to obtain a target temperature value.
[0029] Table 2
[0030] Code value Initial temperature value Code value A Initial temperature value a Code value B Initial temperature value b Code value C Initial temperature value c Code value D Initial temperature value d Code value E Initial temperature value e
[0031] In a preferred embodiment, the field programmable gate array 3 includes an SPI scheduling module 31, a processing module 32 and an SPI communication interface 33. The SPI scheduling module 31 is used to receive the thermoelectromotive force code value through the SPI communication interface 33, and is also used to transmit the thermoelectromotive force code value to the processing module 32. The processing module 3) has a built-in first database, and the first database includes multiple thermoelectromotive force code values and an initial temperature value corresponding to each thermoelectromotive force code value. The processing module 32 is used to query the first database according to the thermoelectromotive force code value to obtain the initial temperature value.
[0032] like Figure 1As shown, the SPI scheduling module 31 controls the SPI communication interface 33, collects the thermoelectromotive force code value output by the A / D converter 4 and transmits it to the processing module 32. The processing module 32 stores a first database in advance, and the first database can be queried according to the thermoelectromotive force code value to obtain the initial temperature value.
[0033] In a preferred embodiment, the field programmable gate array 3 further includes a temperature compensation module 35, which is used to receive a compensation temperature value through the temperature sensor interface 34, and compensate the initial temperature value according to the compensation temperature value to obtain the target temperature value.
[0034] like Figure 1 As shown, a temperature compensation algorithm is pre-set in the temperature compensation module 35. The temperature compensation module 35 calculates the initial temperature value according to the initial temperature value and the compensation temperature value through the temperature compensation algorithm. The temperature compensation algorithm obtains the target temperature value according to the following formula:
[0035] T0=T1+T2
[0036] Among them, T0 is the target temperature value, T1 is the initial temperature value, and T2 is the compensation temperature value.
[0037] In a preferred embodiment, a DSP host computer 5 is further included, and the temperature compensation module 35 is further used to report the target temperature value to the DSP host computer 5 .
[0038] like Figure 1 As shown, the temperature compensation module 35 reports the target temperature value to the DSP host computer 5, and the DSP host computer 5 records the target temperature value. In this embodiment, the system measures the temperature of the medium to be measured according to a set period, and the multiple target temperature values obtained are uniformly counted and recorded by the DSP host computer 5.
[0039] Working principle: During operation, the hot end of the thermocouple 1 contacts the medium to be measured, and there is a temperature difference between the hot end and the cold end, thereby generating a thermoelectromotive force signal. The thermoelectromotive force signal is amplified by the A / D converter 4 and converted into a thermoelectromotive force code value. The SPI scheduling module 31 controls the SPI communication interface 33, collects the thermoelectromotive force code value output by the A / D converter 4 and transmits it to the processing module 32. The processing module 32 pre-stores a first database, and the first database can be queried according to the thermoelectromotive force code value to obtain an initial temperature value and transmit it to the temperature compensation module 35; at the same time, the temperature compensation module 35 collects the cold end temperature value according to the temperature sensor 2, that is, the compensation temperature value, and the temperature compensation module 35 compensates the initial temperature value according to the compensation temperature value to obtain the target temperature value and report it to the DSP host computer 5.
[0040] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.
Claims
1. A system for measuring temperature based on thermocouples, characterized in that: include: A thermocouple (1), the thermocouple (1) having a hot end and a cold end, the hot end being used to contact a medium to be measured so that a temperature difference exists between the hot end and the cold end, thereby generating a thermoelectromotive force signal; A temperature sensor (2), the temperature sensor (2) being used to measure the temperature value of the cold end to obtain a compensated temperature value; A signal processing device, the signal processing device is used to obtain an initial temperature value according to the thermoelectromotive force signal; It is also used to compensate the initial temperature value according to the compensation temperature value to obtain a target temperature value; The initial temperature value is the temperature difference between the hot end and the cold end, and the target temperature value is the temperature value of the medium to be measured.
2. A system for measuring temperature based on thermocouples according to claim 1, characterized in that: The signal processing device comprises an A / D converter (4) and a field programmable gate array (3), wherein the A / D converter (3) is used to amplify the thermoelectromotive force signal and perform A / D conversion to obtain a thermoelectromotive force code value; The field programmable gate array (3) is used to obtain the initial temperature value according to the thermoelectromotive force code value, and is also used to compensate the initial temperature value according to the compensation temperature value to obtain the target temperature value.
3. A system for measuring temperature based on thermocouples according to claim 2, characterized in that: The field programmable gate array (3) comprises an SPI scheduling module (31), a processing module (32) and an SPI communication interface (33); the SPI scheduling module (31) is used to receive the thermoelectromotive force code value through the SPI communication interface (33), and is also used to transmit the thermoelectromotive force code value to the processing module (32); the processing module (32) has a first database built in, the first database comprises a plurality of thermoelectromotive force code values and an initial temperature value corresponding to each of the thermoelectromotive force code values; the processing module (32) is used to query the first database according to the thermoelectromotive force code value to obtain the initial temperature value.
4. A system for measuring temperature based on thermocouples according to claim 3, characterized in that: The field programmable gate array (3) further comprises a temperature compensation module (35) and a temperature sensor interface (34), wherein the temperature compensation module (35) is used to receive the compensation temperature value through the temperature sensor interface (34), and to compensate the initial temperature value according to the compensation temperature value to obtain the target temperature value.
5. A system for measuring temperature based on thermocouples according to claim 4, characterized in that: It also includes a DSP host computer (5), and the temperature compensation module (35) is also used to report the target temperature value to the DSP host computer (5).
Citation Information
Cited By
Temperature calibration method, electronic equipment and storage medium
CN119469475A
Temperature calibration method, electronic device, and storage medium
CN119469475B
