CN117648807A - Main and auxiliary channel temperature transmitter and control method - Google Patents

Main and auxiliary channel temperature transmitter and control method Download PDF

Info

Publication number
CN117648807A
CN117648807A CN202311592402.0A CN202311592402A CN117648807A CN 117648807 A CN117648807 A CN 117648807A CN 202311592402 A CN202311592402 A CN 202311592402A CN 117648807 A CN117648807 A CN 117648807A
Authority
CN
China
Prior art keywords
temperature value
reliability
channel
auxiliary
auxiliary channel
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.)
Pending
Application number
CN202311592402.0A
Other languages
Chinese (zh)
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.)
Shanghai Automation Instrumentation Co Ltd
Original Assignee
Shanghai Automation Instrumentation 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 Shanghai Automation Instrumentation Co Ltd filed Critical Shanghai Automation Instrumentation Co Ltd
Priority to CN202311592402.0A priority Critical patent/CN117648807A/en
Publication of CN117648807A publication Critical patent/CN117648807A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K2219/00Thermometers with dedicated analog to digital converters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Nonlinear Science (AREA)
  • Control Of Temperature (AREA)

Abstract

The application provides a main and auxiliary channel temperature transmitter and a control method, and relates to the technical field of industrial instruments and meters. Comprising the following steps: and acquiring a main channel temperature electric signal and an auxiliary channel temperature electric signal, and respectively performing analog-to-digital conversion on the main/auxiliary channel temperature electric signals to obtain the main channel temperature electric signal and the auxiliary channel temperature electric signal. And calculating a main channel temperature value according to the main channel temperature electric signal and a preset conversion function, and calculating an auxiliary channel temperature value according to the auxiliary channel temperature electric signal and the preset conversion function. And inputting the main channel temperature electric signal and the auxiliary channel temperature electric signal into a preset temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value. And determining the reliability of the channel by analyzing and predicting the relation among the main channel temperature value, the auxiliary channel temperature value and the auxiliary channel temperature value. When a certain channel of the temperature transmitter fails, a normal channel is adopted so as to ensure the detection accuracy.

Description

Main and auxiliary channel temperature transmitter and control method
Technical Field
The application provides a control method of a main and auxiliary channel temperature transmitter, and belongs to the technical field of industrial instruments and meters.
Background
A temperature transmitter is a special device for measuring the temperature and converting it into a signal that can be read by other devices. They find wide application in many fields including industrial manufacturing, healthcare, environmental monitoring, food processing, energy production, and the like. There are many ways to measure temperature, but many high precision applications rely on electronic sensors. These sensors, such as Thermocouples (TC), thermal Resistors (RTD) and thermistors (thermal), vary in resistance or voltage with temperature, according to principles of physics. This change can be measured and converted into a temperature reading.
However, the existing temperature transmitter only has one detection probe, can only detect the temperature of a single channel, has limited application occasions, and is difficult to find problems in time when the temperature transmitter fails, so that the detection accuracy cannot be ensured.
Disclosure of Invention
The utility model provides a main and auxiliary channel temperature transmitter control method, through main and auxiliary temperature measurement passageway, can replace in time when one goes wrong, through comparing the signal to main and auxiliary temperature measurement passageway simultaneously, can in time discover the trouble.
The application provides a control method of a main and auxiliary channel temperature transmitter, which comprises the following steps:
acquiring a main channel temperature electric signal and an auxiliary channel temperature electric signal;
performing analog-to-digital conversion on the main channel temperature electric signal to obtain a main channel temperature electric signal, and performing analog-to-digital conversion on the auxiliary channel temperature electric signal to obtain an auxiliary channel temperature electric signal;
obtaining a main channel temperature value according to the main channel temperature electric signal and a preset conversion function;
obtaining an auxiliary channel temperature value according to the auxiliary channel temperature electric signal and a preset conversion function;
acquiring a preset temperature value prediction model, and inputting a main channel temperature electric signal and an auxiliary channel temperature electric signal into the temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value;
determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and the auxiliary channel temperature value;
acquiring a mode signal, and determining a temperature value processing mode according to the mode signal;
and determining a target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value and the temperature value processing mode.
By adopting the technical scheme, firstly, the temperature transmitter control method obtains the main channel temperature electric signal and the auxiliary channel temperature electric signal, and then respectively carries out analog-digital conversion on the main channel temperature electric signal and the auxiliary channel temperature electric signal so as to obtain the main channel temperature electric signal and the auxiliary channel temperature electric signal. Then, a main channel temperature value is calculated according to the main channel temperature electric signal and a preset conversion function, and an auxiliary channel temperature value is calculated according to the auxiliary channel temperature electric signal and the preset conversion function. And then, inputting the main channel temperature electric signal and the auxiliary channel temperature electric signal into a preset temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value. Further, the reliability of the main channel and the reliability of the auxiliary channel are judged by analyzing and predicting the relation among the main channel temperature value, the auxiliary channel temperature value and the auxiliary channel temperature value. When a certain channel of the temperature transmitter fails, a normal channel is adopted so as to ensure the detection accuracy.
Optionally, the temperature value processing mode includes: redundancy measurement mode, difference measurement mode, average measurement mode, and custom measurement mode.
By adopting the technical scheme, the temperature value processing mode comprises a redundant measurement mode, a difference measurement mode, an average value measurement mode and a custom measurement mode. After the main channel temperature electric signal and the auxiliary channel temperature electric signal are obtained, analog-to-digital conversion is carried out to obtain the main channel temperature electric signal and the auxiliary channel temperature electric signal. Then, a main channel temperature value and an auxiliary channel temperature value are calculated. And then, obtaining a predicted main channel temperature value and a predicted auxiliary channel temperature value through a temperature prediction module. And further judging the reliability of the main channel and the reliability of the auxiliary channel. At this time, a temperature value processing mode signal is acquired, and whether a redundant measurement mode, a difference measurement mode, an average measurement mode or a custom measurement mode is adopted is determined according to the signal. And finally, comprehensively considering the reliability of the main channel, the reliability of the auxiliary channel, the predicted temperature value, the measured temperature value and the processing mode, and calculating the target temperature value.
Optionally, determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and the auxiliary channel temperature value includes:
determining a main difference value of the predicted main channel temperature value and the main channel temperature value according to the predicted main channel temperature value and the main channel temperature value, and determining the reliability of the main channel according to the main difference value;
And determining an auxiliary difference value of the predicted auxiliary channel temperature value and the auxiliary channel temperature value according to the predicted auxiliary channel temperature value and the auxiliary channel temperature value, and determining the reliability of the auxiliary channel according to the auxiliary difference value.
By adopting the technical scheme, the main difference value between the predicted main channel temperature value and the main channel temperature value is calculated according to the predicted main channel temperature value and the main channel temperature value, and the reliability of the main channel is judged according to the main difference value. Meanwhile, according to the predicted auxiliary channel temperature value and the auxiliary channel temperature value, an auxiliary difference value between the predicted auxiliary channel temperature value and the auxiliary channel temperature value is calculated, and the reliability of the auxiliary channel is judged according to the auxiliary difference value. In the previous step, the main channel temperature electric signal and the auxiliary channel temperature electric signal have been acquired, and analog-to-digital conversion is performed to obtain the main channel and auxiliary channel temperature electric signals. And then calculating the temperature values of the main channel and the auxiliary channel through a conversion function, and predicting the temperature values of the main channel and the auxiliary channel through a temperature prediction module. Thus, both the measured temperature value and the predicted temperature value are owned. The reliability of the main channel and the auxiliary channel can be judged by comparing the difference between the measured temperature value and the predicted temperature value, namely, calculating the main difference value and the auxiliary difference value. The channel reliability judging method based on temperature prediction avoids single channel faults, and improves reliability and intellectualization.
Optionally, the method further comprises:
and when any one of the reliability of the main channel and the reliability of the auxiliary channel is smaller than a preset reliability threshold value, an alarm is sent out.
By adopting the technical scheme, the reliability of the main channel and the auxiliary channel is judged by calculating the main difference value and the auxiliary difference value. Then, it is detected whether the reliability of the main channel and the reliability of the sub channel are lower than a preset reliability threshold. And when the reliability of the main channel or the reliability of the auxiliary channel is lower than a preset reliability threshold value, an alarm is sent out. In the previous step, the resistance signals of the main and auxiliary channels are acquired, temperature conversion and prediction are carried out, and finally the reliability of the main and auxiliary channels is judged. Based on the above, a reliability threshold value can be set, and when the reliability of the main and auxiliary channels is lower than the threshold value, an alarm prompt is sent out in real time. The reliability monitoring and early warning mechanism can avoid large deviation of temperature measurement, timely feed back channel fault conditions, and ensure the accuracy of temperature measurement.
Optionally, when the temperature value processing mode is a redundant measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
When the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold value, and the reliability of the main channel is greater than the reliability of the auxiliary channel, taking the main channel temperature value as a target temperature value;
when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold value, and the reliability of the main channel is smaller than the reliability of the auxiliary channel, taking the auxiliary channel temperature value as a target temperature value;
when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the average value of the predicted auxiliary channel temperature value and the auxiliary channel temperature value as a target temperature value.
By adopting the technical scheme, whether the reliability of the main channel and the reliability of the auxiliary channel are simultaneously larger than a preset reliability threshold value is judged. And if the reliability of the main channel is larger than that of the auxiliary channel, taking the main channel temperature value as a target temperature value. And if the reliability of the auxiliary channel is greater than that of the main channel, taking the auxiliary channel temperature value as a target temperature value.
In addition, when the reliability of the main channel and the reliability of the auxiliary channel are smaller than the preset reliability threshold, the system adopts a redundancy self-checking mode. At this time, the average value of the predicted auxiliary channel temperature value and the auxiliary channel temperature value is taken as a final target temperature value.
In the above-mentioned target temperature determination mode in the redundancy mode, when the reliability of the main and auxiliary channels is sufficient, a single channel temperature value with higher reliability is selected. When the reliability of the main and auxiliary channels is insufficient, the measurement reliability can be improved by adopting the average value of redundant prediction temperatures. The method realizes redundancy check and selection, ensures measurement accuracy and has the advantage of redundancy fault tolerance.
Optionally, when the temperature value processing mode is a difference measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, taking the difference value of the main channel temperature value and the auxiliary channel temperature value as a target temperature value;
when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the difference value between the predicted main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value;
when the reliability of the main channel is smaller than a preset reliability threshold value, taking the difference value between the predicted main channel temperature value and the auxiliary channel temperature value as a target temperature value;
And when the reliability of the auxiliary channel is smaller than a preset reliability threshold value, taking the difference value between the main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value.
By adopting the technical scheme, whether the reliability of the main channel and the auxiliary channel is simultaneously larger than a preset reliability threshold value is judged. If so, the difference between the main channel temperature value and the auxiliary channel temperature value is used as the target temperature value.
Then, judging whether the reliability of the main channel and the auxiliary channel is simultaneously smaller than a preset reliability threshold value. If so, the difference between the predicted main channel temperature value and the predicted auxiliary channel temperature value is used as the target temperature value.
And independently judging whether the reliability of the main channel is smaller than a threshold value. If so, the difference between the predicted main channel temperature value and the auxiliary channel temperature value is used as the target value.
And finally, independently judging whether the reliability of the auxiliary channel is smaller than a threshold value. If so, the difference between the main channel temperature value and the predicted auxiliary channel temperature value is used as the target value.
The difference mode selects different temperature differences as target values according to the reliability conditions of the main and auxiliary channels. The device can be used for measuring temperature change, and when the reliability of the main channel and the auxiliary channel is sufficient, the actual measurement difference value is adopted; when the reliability is insufficient, the difference value of the predicted temperature is adopted, so that the measurement accuracy is ensured.
Optionally, when the temperature value processing mode is an average value measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, taking the average value of the main channel temperature value and the auxiliary channel temperature value as a target temperature value;
when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the average value of the predicted main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value;
when the reliability of the main channel is smaller than a preset reliability threshold value, taking the average value of the predicted main channel temperature value and the auxiliary channel temperature value as a target temperature value;
and when the reliability of the auxiliary channel is smaller than a preset reliability threshold value, taking the average value of the main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value.
By adopting the technical scheme, whether the reliability of the main channel and the auxiliary channel is simultaneously larger than a preset reliability threshold value is judged. If so, the average value of the main channel temperature value and the auxiliary channel temperature value is adopted as the target temperature value. Then, judging whether the reliability of the main channel and the auxiliary channel is simultaneously smaller than a preset reliability threshold value. If so, adopting an average value of the predicted main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value. And independently judging whether the reliability of the main channel is smaller than a threshold value. If so, adopting an average value of the predicted main channel temperature value and the auxiliary channel temperature value as a target value. And finally, independently judging whether the reliability of the auxiliary channel is smaller than a threshold value. If so, adopting the average value of the main channel temperature value and the predicted auxiliary channel temperature value as the target value. The average value mode selects the average value of different temperature values as a target value according to the reliability condition of the main and auxiliary channels. The method can effectively inhibit the influence of random noise, and when the single channel has insufficient reliability, the measurement accuracy can be ensured by adopting the average value of the predicted temperature and the other channel.
Optionally, when the temperature value processing mode is a custom measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, determining a target temperature value according to the main channel temperature value, the auxiliary channel temperature value and a preset custom function;
when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold, determining a target temperature value according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and a preset custom function;
when the reliability of the main channel is smaller than a preset reliability threshold, determining a target temperature value according to the predicted main channel temperature value, the auxiliary channel temperature value and a preset custom function;
when the reliability of the auxiliary channel is smaller than a preset reliability threshold, determining a target temperature value according to the main channel temperature value, the predicted auxiliary channel temperature value and a preset custom function.
By adopting the technical scheme, whether the reliability of the main channel and the auxiliary channel is simultaneously larger than a preset reliability threshold value is judged. If so, calculating a target temperature value according to the main channel temperature value, the auxiliary channel temperature value and a preset custom function. Then, judging whether the reliability of the main channel and the auxiliary channel is simultaneously smaller than a preset reliability threshold value. If so, calculating a target temperature value according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and a preset custom function.
And independently judging whether the reliability of the main channel is smaller than a threshold value. If so, calculating a target value according to the predicted main channel temperature value, the auxiliary channel temperature value and a preset function. And finally, independently judging whether the reliability of the auxiliary channel is smaller than a threshold value. If so, calculating a target value according to the main channel temperature value, the predicted auxiliary channel temperature value and a preset function. This custom mode allows the target temperature to be calculated by presetting a custom function according to actual demand. It is flexible and can implement more complex temperature calculation algorithms. When the reliability of the main and auxiliary channels is sufficient, using the measured temperature; when the temperature is insufficient, the predicted temperature is used, so that the measurement accuracy is ensured.
On the other hand this application still provides a main passageway temperature transmitter that assists, includes: the device comprises a processor module, a power supply module, a main channel detection probe module, an auxiliary channel detection probe module, a main analog-to-digital conversion module, an auxiliary analog-to-digital conversion module and an upper computer module; the power module is respectively and electrically connected with the main channel detection probe module, the auxiliary channel detection probe module, the main analog-to-digital conversion module and the auxiliary analog-to-digital conversion module; the main channel detection probe module, the main analog-to-digital conversion module and the processor module are electrically connected in sequence; the auxiliary channel detection probe module is electrically connected with the auxiliary analog-to-digital conversion module and the processor module in sequence; the upper computer module is connected with the processor;
The power supply module is used for supplying power to each module;
the main channel detection probe module is used for detecting the temperature of the position of the main probe and generating a main channel temperature electric signal;
the auxiliary channel detection probe module is used for detecting the temperature of the position of the auxiliary probe and generating an auxiliary channel temperature electric signal;
the main analog-to-digital conversion module is used for carrying out analog-to-digital conversion on the main channel temperature electric signal to obtain a main channel temperature electric signal;
the auxiliary analog-to-digital conversion module is used for performing analog-to-digital conversion on the auxiliary channel temperature electric signal to obtain an auxiliary channel temperature electric signal;
the upper computer module is used for acquiring a preset temperature value prediction model, inputting a main channel temperature electric signal and an auxiliary channel temperature electric signal into the temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value, and determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and the auxiliary channel temperature value;
the processor module is used for acquiring the mode signal, determining a temperature value processing mode according to the mode signal, and determining a target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value and the temperature value processing mode.
Optionally, the primary and secondary channel temperature transmitter further comprises: a memory module; the memory module is electrically connected with the processor module;
the memory module is used for storing the target temperature value.
In summary, one or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
1. according to the temperature transmitter control method, the main channel temperature electric signal and the auxiliary channel temperature electric signal are obtained, and then the main channel temperature electric signal and the auxiliary channel temperature electric signal are subjected to analog-digital conversion respectively, so that the main channel temperature electric signal and the auxiliary channel temperature electric signal are obtained. Then, a main channel temperature value is calculated according to the main channel temperature electric signal and a preset conversion function, and an auxiliary channel temperature value is calculated according to the auxiliary channel temperature electric signal and the preset conversion function. And then, inputting the main channel temperature electric signal and the auxiliary channel temperature electric signal into a preset temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value. Further, the reliability of the main channel and the reliability of the auxiliary channel are judged by analyzing and predicting the relation among the main channel temperature value, the auxiliary channel temperature value and the auxiliary channel temperature value. When a certain channel of the temperature transmitter fails, a normal channel is adopted so as to ensure the detection accuracy.
2. The temperature value processing mode comprises a redundancy measurement mode, a difference measurement mode, an average value measurement mode and a custom measurement mode. After the main channel temperature electric signal and the auxiliary channel temperature electric signal are obtained, analog-to-digital conversion is carried out to obtain the main channel temperature electric signal and the auxiliary channel temperature electric signal. Then, a main channel temperature value and an auxiliary channel temperature value are calculated. And then, obtaining a predicted main channel temperature value and a predicted auxiliary channel temperature value through a temperature prediction module. And further judging the reliability of the main channel and the reliability of the auxiliary channel. At this time, a temperature value processing mode signal is acquired, and whether a redundant measurement mode, a difference measurement mode, an average measurement mode or a custom measurement mode is adopted is determined according to the signal. And finally, comprehensively considering the reliability of the main channel, the reliability of the auxiliary channel, the predicted temperature value, the measured temperature value and the processing mode, and calculating the target temperature value.
3. According to the method and the device, the main difference value between the predicted main channel temperature value and the main channel temperature value is calculated, and the reliability of the main channel is judged according to the main difference value. Meanwhile, according to the predicted auxiliary channel temperature value and the auxiliary channel temperature value, an auxiliary difference value between the predicted auxiliary channel temperature value and the auxiliary channel temperature value is calculated, and the reliability of the auxiliary channel is judged according to the auxiliary difference value. In the previous step, the main channel temperature electric signal and the auxiliary channel temperature electric signal have been acquired, and analog-to-digital conversion is performed to obtain the main channel and auxiliary channel temperature electric signals. And then calculating the temperature values of the main channel and the auxiliary channel through a conversion function, and predicting the temperature values of the main channel and the auxiliary channel through a temperature prediction module. Thus, both the measured temperature value and the predicted temperature value are owned. The reliability of the main channel and the auxiliary channel can be judged by comparing the difference between the measured temperature value and the predicted temperature value, namely, calculating the main difference value and the auxiliary difference value. The channel reliability judging method based on temperature prediction avoids single channel faults, and improves reliability and intellectualization.
Drawings
FIG. 1 is a flow chart of an embodiment of a method for controlling a primary and secondary channel temperature transmitter provided herein;
FIG. 2 is a schematic diagram of a primary and secondary channel temperature transmitter provided herein;
fig. 3 is a flowchart of an embodiment of a redundancy measurement mode provided in the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments.
In the description of embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described herein as "such as" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "or" for example "is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In order to facilitate understanding of the methods and systems provided in the embodiments of the present application, a description of the background of the embodiments of the present application is provided before the description of the embodiments of the present application. The temperature transmitter adopts a thermocouple and a thermal resistor as temperature measuring elements, temperature signals measured by the temperature measuring elements are sent to a transmitter module, and are converted into current signals or voltage signals or digital signals for output after being processed by circuits such as voltage stabilizing filtering, operational amplification, nonlinear correction, V/I conversion, constant current and reverse protection and the like, and the signals are sent to a microprocessor and a memory, and are displayed through a display screen.
Common temperature transmitters generally have only one detection probe, can only detect the temperature of a single channel, and have limited application occasions. When the temperature transmitter fails, the problem is difficult to find in time, and the accuracy of detection cannot be ensured
In view of the foregoing background description, those skilled in the art will appreciate that the problems occurring in the prior art, and it is evident that the following description of the embodiments of the present application, taken in conjunction with the accompanying drawings, refers to only a portion of the embodiments of the present application, and not to all of the embodiments.
On the basis of the above background, referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a control method of a primary-secondary channel temperature transmitter provided in the present application, the method includes the following steps:
s101, acquiring a main channel temperature electric signal and an auxiliary channel temperature electric signal;
specifically, a dual-channel temperature sensing probe is arranged and corresponds to the main channel and the auxiliary channel respectively. The two sensing probes can adopt thermistor type sensors to convert the temperature change of the measured object into temperature electric signals. The system acquires resistance change analog signals output by the main channel probe and the auxiliary channel probe through circuit connection.
Thus, real-time resistance signals of the two-channel temperature probes are acquired simultaneously. The dual channel redundancy design improves the reliability of the system compared to a single channel. Two paths of independent signals are collected simultaneously, and subsequent algorithm processing such as redundancy check, difference measurement and the like can be performed, so that the accuracy of temperature measurement is enhanced.
S102, carrying out analog-to-digital conversion on a main channel temperature electric signal to obtain a main channel temperature electric signal, and carrying out analog-to-digital conversion on an auxiliary channel temperature electric signal to obtain an auxiliary channel temperature electric signal;
specifically, a main channel analog-to-digital conversion module and an auxiliary channel analog-to-digital conversion module are arranged to respectively carry out analog-to-digital conversion on resistance change analog signals of the main channel and the auxiliary channel. The conversion mode can adopt serial analog-to-digital conversion, and the analog signals of the two channels are converted into digital temperature electric signals through the processes of quantization and encoding. After conversion, a main channel temperature electrical signal and an auxiliary channel temperature electrical signal are obtained.
In this way, the resistance signal, which is originally in analog form, is converted into temperature data in digital form. With these digital temperature signals, temperature information processing in various digital fields such as accurate temperature value calculation, temperature prediction, temperature comparison, temperature conversion, etc., can be performed using a digital processor or the like. Compared with analog signal processing, digital signal processing is more flexible, accurate and reliable.
S103, obtaining a main channel temperature value according to the main channel temperature electric signal and a preset conversion function;
specifically, a main channel analog-to-digital conversion module and an auxiliary channel analog-to-digital conversion module are arranged to respectively carry out analog-to-digital conversion on resistance change analog signals of the main channel and the auxiliary channel. The conversion mode can adopt serial analog-to-digital conversion, and the analog signals of the two channels are converted into digital temperature electric signals through the processes of quantization and encoding. After conversion, a main channel temperature electrical signal and an auxiliary channel temperature electrical signal are obtained.
In this way, the resistance signal, which is originally in analog form, is converted into temperature data in digital form. With these digital temperature signals, temperature information processing in various digital fields such as accurate temperature value calculation, temperature prediction, temperature comparison, temperature conversion, etc., can be performed using a digital processor or the like. Compared with analog signal processing, digital signal processing is more flexible, accurate and reliable.
S104, obtaining an auxiliary channel temperature value according to the auxiliary channel temperature electric signal and a preset conversion function;
specifically, a conversion function relation between the resistance and the temperature is pre-established, wherein the function takes the resistance value of the auxiliary channel as an independent variable and the corresponding temperature value as a dependent variable. Wherein the functional form may be a polynomial function, an exponential function, etc. Then, the system inputs the auxiliary channel digital resistance signal obtained in the step S102 into a preset conversion function, and converts the auxiliary channel digital resistance signal into a temperature value of the auxiliary channel through function operation, namely the actual temperature of the auxiliary channel corresponding to the measuring point.
Thus, the system can obtain the accurate temperature value of the probe position on the auxiliary channel through the corresponding relation between the resistance and the temperature of the conversion function. Compared with the direct adoption of a resistance signal, the temperature value is more visual after being converted, and a foundation is established for a subsequent temperature processing algorithm.
S105, acquiring a preset temperature value prediction model, and inputting a main channel temperature electric signal and an auxiliary channel temperature electric signal into the temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value;
specifically, a temperature value prediction model is trained and stored in advance, and the model can be a neural network or a physical model. The input of the temperature sensor is a resistance signal of a main channel and an auxiliary channel, and the temperature sensor outputs a predicted temperature value of the main channel and the auxiliary channel. And then the system acquires the prediction model, inputs the resistance signals of the main channel and the auxiliary channel acquired in the step S101, and outputs the temperature value of the predicted main channel and the temperature value of the predicted auxiliary channel through model operation.
In this way, a prediction of the primary and secondary channel temperature is achieved. And then, comparing the predicted temperature value with the temperature value after actual conversion to judge whether the sensor fails or not, thereby realizing redundancy check. Meanwhile, the predicted temperature value can be used as a pilot index for temperature control.
S106, determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and the auxiliary channel temperature value;
specifically, the main channel temperature value obtained in the step S103 is compared with the main channel temperature value predicted in the step S105, and the difference value between the main channel temperature value and the main channel temperature value is calculated as a main channel difference value. Similarly, the auxiliary channel temperature value in the step S104 is compared with the auxiliary channel temperature value predicted in the step S105, and an auxiliary channel difference value is calculated. Then, the system determines whether the main channel is reliable currently according to the difference value of the main channel and the reliability judging rule; and determining whether the auxiliary channel is reliable currently according to the auxiliary channel difference value and the reliability rule.
Thus, the system determines the reliability of the primary channel and the secondary channel, respectively. If the difference is too large, the channel is judged to be unreliable. If the difference is within the normal range, the channel is judged to be reliable. After the channel reliability is obtained, the system can perform intelligent temperature value selection, so that the accuracy is ensured, and redundancy verification is realized.
On the basis of the above embodiment, as an optional implementation, S106, determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value, and the auxiliary channel temperature value, further includes the following steps:
s201, determining a main difference value of the predicted main channel temperature value and the main channel temperature value according to the predicted main channel temperature value and the main channel temperature value, and determining the reliability of the main channel according to the main difference value;
specifically, the predicted main channel temperature value obtained by prediction is obtained, and the main channel actual temperature value obtained by conversion in step S103 is obtained. And then the system carries out difference operation on the predicted main channel temperature value and the main channel temperature value, and calculates the difference value of the predicted main channel temperature value and the main channel temperature value, namely the main difference value. Based on the main difference value, the system refers to a preset reliability judging rule, and if the main difference value is in a normal range, the system judges that the main channel is currently reliable; if the main difference value exceeds the normal range, judging that the main channel is not reliable currently. Therefore, the system can judge the reliability state of the main channel based on the deviation condition of the predicted temperature and the actual temperature by comparing the predicted temperature and the actual temperature.
After the reliability information of the main channel is obtained, the system can comprehensively judge whether the main channel is reliable or not in the subsequent redundancy check or temperature decision, so that the decision intellectualization and the reliability of the system are improved.
S202, determining an auxiliary difference value of the predicted auxiliary channel temperature value and the auxiliary channel temperature value according to the predicted auxiliary channel temperature value and the auxiliary channel temperature value, and determining the reliability of the auxiliary channel according to the auxiliary difference value.
Specifically, the predicted auxiliary channel temperature value obtained by prediction is obtained, and the auxiliary channel actual temperature value obtained by conversion in step S104 is obtained. And then carrying out difference operation on the predicted auxiliary channel temperature value and the auxiliary channel temperature value, and calculating a difference value between the predicted auxiliary channel temperature value and the auxiliary channel temperature value, namely an auxiliary difference value. Based on the auxiliary difference value, the system refers to a preset reliability judging rule, and if the auxiliary difference value is in a normal range, the system judges that the auxiliary channel is currently reliable; if the auxiliary difference value exceeds the normal range, judging that the auxiliary channel is not reliable currently.
Therefore, the system can judge the reliability state of the auxiliary channel based on the deviation condition of the predicted temperature and the actual temperature by comparing the predicted temperature and the actual temperature. After the reliability information of the auxiliary channel is obtained, the system can comprehensively judge whether the auxiliary channel is reliable or not in the subsequent redundancy check or temperature decision, so that the decision intellectualization and the reliability of the system are improved.
S107, acquiring a mode signal, and determining a temperature value processing mode according to the mode signal;
Specifically, different modes such as a redundancy mode, a difference mode, an average mode and the like can be selected and set by a user according to the needs. The module outputs a corresponding mode signal, which the system acquires. And then determining different temperature value processing modes such as a redundancy mode, a difference mode or an average mode according to the content of the signals.
In this way, the system enables flexible configuration and acquisition of temperature processing modes. The redundancy mode can carry out channel verification, the difference mode is suitable for measuring temperature change, and the average mode can restrain noise. Different modes can be configured to meet different use requirements.
On the basis of the above embodiment, as an alternative embodiment, the temperature value processing mode includes: redundancy measurement mode, difference measurement mode, average measurement mode, and custom measurement mode.
Specifically, the redundancy measurement mode, the difference measurement mode, the average measurement mode and the custom measurement mode can be configured. Wherein the redundancy mode is suitable for sensor verification; the difference mode may measure temperature variation; the average mode can filter noise; custom mode allows processing algorithms to be set according to requirements.
On the basis of the above embodiments, as an alternative embodiment, referring to fig. 3, fig. 3 is a schematic flow chart of an embodiment of a redundancy measurement mode provided in the present application, when the temperature value processing mode is the redundancy measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
S301, when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold value, and the reliability of the main channel is greater than the reliability of the auxiliary channel, taking the main channel temperature value as a target temperature value;
specifically, the reliability thresholds of the main channel and the auxiliary channel are preset. And under the condition that the reliability of the main channel and the auxiliary channel is higher than the threshold value, judging whether the reliability value of the main channel is larger than that of the auxiliary channel. If the reliability of the main channel is larger than that of the auxiliary channel as a judging result, directly taking the temperature value of the main channel, namely the temperature of the main channel obtained through conversion of the standard conversion function, as a final target temperature value. Therefore, on the premise that both channels are reliable, the temperature of the main channel with higher reliability is selected as the target value, so that repeated calculation is omitted, and the accuracy and reliability of the target temperature value are ensured. By optimizing the mode of the temperature value according to the channel reliability, the accurate target temperature can be obtained, meanwhile, the calculation efficiency is considered, and the performance of the temperature control system is improved.
S302, when the reliability of the main channel and the reliability of the auxiliary channel are both larger than a preset reliability threshold value, and the reliability of the main channel is smaller than the reliability of the auxiliary channel, taking the auxiliary channel temperature value as a target temperature value;
Specifically, the auxiliary channel temperature value is selected as the target temperature value, and decision is made according to the relative reliability of the main channel and the auxiliary channel on the premise that the reliability of the main channel and the auxiliary channel is qualified, so that the principle of taking the higher reliability is followed. The specific method comprises the following steps: the system may preset the reliability thresholds for the primary and secondary channels. And under the condition that the reliability of the main channel and the auxiliary channel is higher than the threshold value, judging whether the reliability value of the auxiliary channel is larger than that of the main channel. If the reliability of the auxiliary channel is larger than that of the main channel as a judging result, directly taking the temperature value of the auxiliary channel, namely the temperature of the auxiliary channel obtained through standard conversion function conversion, as a final target temperature value. Therefore, on the premise that both channels are reliable, the auxiliary channel temperature with higher reliability is selected as the target value, so that repeated calculation is omitted, and the accuracy and reliability of the target temperature value are ensured.
S303, when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the average value of the predicted auxiliary channel temperature value and the auxiliary channel temperature value as a target temperature value.
Specifically, a reliability threshold of the main and auxiliary channels is preset. And when judging that the reliability of the main channel and the auxiliary channel is lower than the corresponding threshold value, indicating that the main channel and the auxiliary channel are not reliable enough. At this time, the system acquires the predicted temperature value of the auxiliary channel and the actual temperature value obtained by conversion, and calculates the average value of the predicted temperature value and the actual temperature value. The calculated average temperature value is then used as the final target temperature value.
When the main channel and the auxiliary channel are unreliable, the predicted temperature and the actual temperature of the auxiliary channel are adopted to carry out smoothing, and a relatively accurate target temperature value is obtained, so that the basis of completely losing temperature control is avoided.
By means of the average value method of the predicted temperature and the actual temperature of the auxiliary channel, the effective target temperature can be obtained to a certain extent, and the applicability of the system under abnormal conditions is improved.
On the basis of the above embodiment, as an optional embodiment, when the temperature value processing mode is the difference measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
s401, when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, taking the difference value between the main channel temperature value and the auxiliary channel temperature value as a target temperature value;
specifically, the reliability thresholds of the main channel and the auxiliary channel are preset. After the reliability of the main channel and the auxiliary channel is judged, if the judging result shows that the reliability indexes of the main channel and the auxiliary channel are larger than the corresponding threshold values, namely, the two channels are in a reliable state, the system acquires an actual temperature value obtained by the conversion of the standard conversion function of the main channel, and simultaneously acquires an actual temperature value obtained by the conversion of the standard conversion function of the auxiliary channel. And then the system further calculates the numerical difference between the main channel temperature value and the auxiliary channel temperature value, namely the main channel temperature value minus the auxiliary channel temperature value, so as to obtain the temperature difference of the main channel and the auxiliary channel. And finally, the system takes the calculated temperature difference as a target temperature value of the sub-sampling period.
Therefore, on the premise of ensuring that the main channel and the auxiliary channel are reliable, the temperature difference value of the main channel and the auxiliary channel is used as a target value, so that the small temperature change between the two channels can be detected, the accurate capture of the dynamic temperature change is realized, and the follow-up temperature control and optimization are facilitated.
S402, when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the difference value between the predicted main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value;
specifically, in the temperature transmitter control method, when the reliability of the main channel and the auxiliary channel is low, the difference value of the predicted main channel and the auxiliary channel is taken as a target temperature value, and the purpose is to acquire the target temperature through the difference value of the predicted temperature under the condition that the main channel and the auxiliary channel are unreliable, so that the basic temperature control capability of the system is ensured.
The specific implementation mode is as follows: and presetting a reliability threshold of the main channel and the auxiliary channel. After the reliability of the main channel and the auxiliary channel is judged, if the reliability of the main channel and the auxiliary channel is lower than the corresponding threshold value, namely, the two channels are in an unreliable state, the system acquires the predicted temperature value of the main channel and simultaneously acquires the predicted temperature value of the auxiliary channel. And then the system calculates the difference between the predicted temperature value of the main channel and the predicted temperature value of the auxiliary channel, namely the predicted temperature value of the main channel is subtracted by the predicted temperature value of the auxiliary channel, so as to obtain the predicted temperature difference of the main channel and the auxiliary channel. Finally, the system takes the predicted temperature difference as a target temperature value.
S403, when the reliability of the main channel is smaller than a preset reliability threshold, taking the difference value between the predicted main channel temperature value and the auxiliary channel temperature value as a target temperature value;
specifically, when the main channel is unreliable and the auxiliary channel is reliable, the difference value between the predicted main channel temperature value and the actual auxiliary channel temperature value is taken as a target temperature value, and the purpose is to acquire the target temperature through the difference value between the predicted main channel temperature value and the actual auxiliary channel temperature value under the condition that the main channel is unreliable so as to improve the accuracy of temperature control.
The specific implementation mode is as follows: and presetting a reliability threshold of the main channel and the auxiliary channel. After the reliability of the main channel and the auxiliary channel is judged, if the reliability of the main channel is lower than a corresponding threshold value, namely the main channel is unreliable, and the reliability of the auxiliary channel is higher than the threshold value, namely the auxiliary channel is reliable, the system acquires the temperature value of the predicted main channel and acquires the actual temperature value of the auxiliary channel. The system then calculates the difference between the predicted primary channel temperature value and the secondary channel actual temperature value. Finally, the calculated temperature difference is taken as a target temperature value.
S404, when the reliability of the auxiliary channel is smaller than a preset reliability threshold, taking the difference value between the main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value.
Specifically, a reliability threshold of the main and auxiliary channels is preset. After the reliability of the main channel and the auxiliary channel is judged, if the reliability of the auxiliary channel is lower than a corresponding threshold value, namely the auxiliary channel is unreliable, and the reliability of the main channel is higher than the threshold value, namely the main channel is reliable, the system acquires the actual temperature value of the main channel and simultaneously acquires the temperature value of the predicted auxiliary channel. The system then calculates the difference between the actual temperature value of the primary channel and the predicted secondary channel temperature value. Finally, the calculated temperature difference is taken as a target temperature value.
On the basis of the above embodiment, as an optional embodiment, when the temperature value processing mode is the average value measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
s501, when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, taking the average value of the main channel temperature value and the auxiliary channel temperature value as a target temperature value;
specifically, in the temperature transmitter control method, when the main channel and the auxiliary channel are judged to be in a reliable state, the average value of the temperatures of the main channel and the auxiliary channel is taken as a target temperature value, and the purpose is that the accuracy of the target temperature can be improved through the temperature average value on the premise that the two channels are reliable.
The specific method comprises the following steps: the system presets a reliability threshold value of the main channel and the auxiliary channel. After judging the reliability of the main channel and the auxiliary channel, if the reliability of the main channel and the auxiliary channel are both greater than the corresponding threshold, namely, the two channels are both reliable, the system acquires the actual temperature value of the main channel and acquires the actual temperature value of the auxiliary channel. The system then calculates an arithmetic average of the main channel temperature and the auxiliary channel temperature. And finally, outputting the arithmetic average value as the target temperature of the sampling period.
The average value of the temperature of the main channel and the auxiliary channel can improve the accuracy of temperature measurement, smooth random errors, and further output more accurate and reliable target temperature values, thereby improving the effect of subsequent temperature control.
S502, when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the average value of the predicted main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value;
specifically, in the temperature transmitter control method, when the main channel and the auxiliary channel are judged to be in an unreliable state, an average value of the predicted temperatures of the main channel and the auxiliary channel is taken as a target temperature value, and the purpose is that when both channels are unreliable, a relatively accurate target temperature value can be obtained through the average of the predicted temperatures, and the method is used as an alternative scheme.
The specific method comprises the following steps: the system presets a reliability threshold value of the main channel and the auxiliary channel. After judging the reliability of the main channel and the auxiliary channel, if the reliability of the main channel and the auxiliary channel are lower than the corresponding threshold, namely, the reliability of the main channel and the auxiliary channel is unreliable, the system acquires the predicted temperature values of the main channel and the auxiliary channel. The system then calculates an arithmetic average of the predicted main channel temperature and the predicted auxiliary channel temperature. And finally, outputting the arithmetic average value as the target temperature of the sampling period.
By using the average method of the predicted temperature, an effective target temperature value can be obtained to a certain extent, and the complete loss of the uncontrolled temperature capability when the main channel and the auxiliary channel are invalid is avoided.
S503, when the reliability of the main channel is smaller than a preset reliability threshold, taking the average value of the predicted main channel temperature value and the auxiliary channel temperature value as a target temperature value;
s504, when the reliability of the auxiliary channel is smaller than a preset reliability threshold, taking the average value of the main channel temperature value and the predicted auxiliary channel temperature value as a target temperature value.
On the basis of the above embodiment, as an optional embodiment, when the temperature value processing mode is a custom measurement mode, determining the target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode includes:
S601, when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, determining a target temperature value according to the main channel temperature value, the auxiliary channel temperature value and a preset custom function;
specifically, in the temperature transmitter control method, when the main channel and the auxiliary channel are both in a reliable state, the target temperature value is comprehensively determined according to the temperature value of the main channel and the auxiliary channel and a preset self-defined function, and the purpose is to fully utilize the advantage of double-channel reliability and realize more accurate and optimized temperature value calculation through the self-defined function.
The specific method comprises the following steps: the system presets a reliability threshold value of the main channel and the auxiliary channel, and establishes a self-defined multivariable temperature calculation function. After judging the reliability of the main channel and the auxiliary channel, if the reliability of the main channel and the auxiliary channel are both larger than the corresponding threshold, namely, the two channels are both reliable, the system acquires the actual temperature values of the main channel and the auxiliary channel. And then substituting the obtained main channel temperature value and the auxiliary channel temperature value into a custom function at the same time for calculation, and finally outputting a target temperature value according to a function calculation result.
Therefore, through the self-defined function, the two-channel temperature value can be fully utilized, more complex and optimized temperature calculation is realized, and the accuracy of the target temperature is improved, so that the performance of subsequent temperature control is enhanced.
S602, when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold, determining a target temperature value according to a predicted main channel temperature value, a predicted auxiliary channel temperature value and a preset custom function;
specifically, in the temperature transmitter control method, when the main channel and the auxiliary channel are judged to be in an unreliable state, a target temperature value is comprehensively determined according to a predicted temperature value of the main channel and the auxiliary channel and a preset self-defined function, and the purpose is to calculate the predicted temperature through the self-defined function when the two channels are invalid, so as to obtain a relatively accurate target temperature value.
The specific method comprises the following steps: the system presets a reliability threshold value of the main channel and the auxiliary channel, and establishes a self-defined multivariable temperature calculation function. After judging the reliability of the main channel and the auxiliary channel, if the reliability of the main channel and the auxiliary channel are lower than the corresponding threshold, namely, the reliability of the main channel and the auxiliary channel is unreliable, the system acquires the predicted temperature value of the main channel and the auxiliary channel. And substituting the obtained predicted main channel temperature value and the predicted auxiliary channel temperature value into a user-defined function at the same time for calculation, and finally outputting a target temperature value according to a function calculation result.
Therefore, through the custom function and the predicted temperature value, when the dual-channel fails, a substitute target temperature can be obtained, so that the system cannot lose the temperature control capability completely.
S603, when the reliability of the main channel is smaller than a preset reliability threshold, determining a target temperature value according to the predicted main channel temperature value, the auxiliary channel temperature value and a preset custom function;
specifically, in the temperature transmitter control method, when the main channel is determined to be unreliable and the auxiliary channel is determined to be reliable, a target temperature value is determined according to the predicted main channel temperature, the actual auxiliary channel temperature and a self-defined function, and the purpose is to obtain more accurate target temperature through comprehensive calculation of the actual auxiliary channel temperature and the predicted temperature when the main channel fails.
The specific method comprises the following steps: the system presets a reliability threshold value of the main channel and the auxiliary channel, and establishes a self-defined multivariable temperature calculation function. When the reliability of the main channel is judged to be lower than the threshold value, namely the main channel is unreliable, and when the auxiliary channel is reliable, the system acquires a predicted main channel temperature value and an actual auxiliary channel temperature value. And then substituting the predicted main channel temperature value and the auxiliary channel actual temperature value into a custom function at the same time for calculation, and finally outputting a target temperature value according to a function calculation result.
Therefore, through the participation of the actual temperature of the auxiliary channel, the accuracy of the target temperature value can be improved, the influence of failure of the main channel is made up, and the temperature control performance is ensured.
S604, when the reliability of the auxiliary channel is smaller than a preset reliability threshold, determining a target temperature value according to the main channel temperature value, the predicted auxiliary channel temperature value and a preset custom function.
Specifically, in the temperature transmitter control method, when the auxiliary channel is determined to be unreliable and the main channel is determined to be reliable, a target temperature value is determined according to the actual temperature of the main channel, the predicted auxiliary channel temperature and a self-defined function, and the purpose is to obtain more accurate target temperature through comprehensive calculation of the actual temperature and the predicted temperature of the main channel when the auxiliary channel fails.
The specific method comprises the following steps: the system presets a reliability threshold value of the main channel and the auxiliary channel, and establishes a self-defined multivariable temperature calculation function. When the reliability of the auxiliary channel is judged to be lower than the threshold value, namely the auxiliary channel is unreliable, and when the main channel is reliable, the system acquires the actual temperature value of the main channel and the predicted auxiliary channel temperature value. And substituting the actual temperature value of the main channel and the predicted temperature value of the auxiliary channel into a self-defined function at the same time for calculation, and finally outputting a target temperature value according to a function calculation result.
Therefore, through the participation of the actual temperature of the main channel, the accuracy of the target temperature value can be improved, the influence of the failure of the auxiliary channel is made up, and the temperature control performance is ensured.
In step S107, the user can specify which mode to use by the mode selection module. The system then acquires the mode signal and adopts a temperature treatment scheme corresponding thereto according to the selected mode in step S108. In this way, the system realizes multiple temperature processing modes and can adapt to different use situations. The redundancy mode improves reliability, the difference mode can detect temperature change, the average mode filters noise, and the custom mode increases flexibility.
S108, determining a target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value and the temperature value processing mode.
Specifically, the reliability information of the main channel and the auxiliary channel determined in step S106 is obtained. And obtaining actual temperature values of the main channel and the auxiliary channel obtained by conversion in the steps S103 and S104. And S105, obtaining predicted temperature values of the main channel and the auxiliary channel predicted in the step. The temperature processing mode selected in step S107 is also acquired, and may be a redundancy mode, a difference mode, or the like.
And then the system sends the parameters to a temperature decision module, the module comprehensively considers the reliability of the main channel and the auxiliary channel, integrates and compares the measured temperature with the predicted temperature, and finally calculates and outputs a final target temperature value by applying a corresponding specific algorithm according to a selected mode, such as a redundancy mode or a difference mode.
On the basis of the above embodiment, as an alternative embodiment, the primary and secondary channel temperature transmitter control method further includes:
and when any one of the reliability of the main channel and the reliability of the auxiliary channel is smaller than a preset reliability threshold value, an alarm is sent out. Specifically, firstly, a predicted temperature value of the main channel and a temperature value obtained by actual conversion are obtained, and a difference value between the predicted temperature value and the temperature value is calculated, namely the temperature deviation of the main channel. Based on the temperature deviation, the system determines whether the primary channel is currently reliable. Meanwhile, the system acquires a predicted temperature value of the auxiliary channel and an actual temperature value obtained through conversion, and calculates a difference value between the predicted temperature value and the actual temperature value, namely the temperature deviation of the auxiliary channel. Based on the deviation, the system determines whether the secondary channel is currently reliable. After the determination is completed, the system detects whether the reliability of the primary channel is below a preset threshold, and whether the reliability of the secondary channel is below the threshold. If the reliability of either channel is below a threshold, the system will immediately alert.
In this way, once the main channel or the auxiliary channel is failed and the reliability is reduced, the system can quickly respond and send out an alarm prompt. After receiving the alarm, operators can check the corresponding channels in time, calibrate the sensors or replace fault equipment so as to ensure the stable operation of the system.
On the other hand, referring to fig. 2, fig. 2 is a schematic structural diagram of a primary-secondary channel temperature transmitter provided in the present application, where the primary-secondary channel temperature transmitter includes: the device comprises a processor module 1, a power supply module 2, a main channel detection probe module 3, an auxiliary channel detection probe module 4, a main analog-to-digital conversion module 5, an auxiliary analog-to-digital conversion module 6 and an upper computer module 7; the power module 2 is respectively and electrically connected with the main channel detection probe module 3, the auxiliary channel detection probe module 4, the main analog-to-digital conversion module 5 and the auxiliary analog-to-digital conversion module 6; the main channel detection probe module, the main analog-to-digital conversion module and the processor module are electrically connected in sequence; the auxiliary channel detection probe module is electrically connected with the auxiliary analog-to-digital conversion module and the processor module in sequence; the upper computer module is connected with the processor;
the power supply module is used for supplying power to each module;
the main channel detection probe module is used for detecting the temperature of the position of the main probe and generating a main channel temperature electric signal;
the auxiliary channel detection probe module is used for detecting the temperature of the position of the auxiliary probe and generating an auxiliary channel temperature electric signal;
the main analog-to-digital conversion module is used for performing analog-to-digital conversion on the main channel temperature electric signal to obtain a main channel temperature electric signal;
The auxiliary analog-to-digital conversion module is used for performing analog-to-digital conversion on the auxiliary channel temperature electric signal to obtain an auxiliary channel temperature electric signal;
the upper computer module is used for acquiring a preset temperature value prediction model, inputting a main channel temperature electric signal and an auxiliary channel temperature electric signal into the temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value, and determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and the auxiliary channel temperature value;
the processor module is used for acquiring a mode signal, determining a temperature value processing mode according to the mode signal, and determining a target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value and the temperature value processing mode.
On the basis of the above embodiment, as an alternative embodiment, the primary and secondary channel temperature transmitter further includes: a memory module; the memory module is electrically connected with the processor module;
the memory module is used for storing the target temperature value.
In the several embodiments provided herein, it should be understood that the disclosed system may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the partitioning of elements, merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not implemented. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, system or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned memory includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a magnetic disk or an optical disk.
The above are merely exemplary embodiments of the present disclosure and are not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure.
This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (10)

1. A method of controlling a primary and secondary channel temperature transmitter, the method comprising:
acquiring a main channel temperature electric signal and an auxiliary channel temperature electric signal;
performing analog-to-digital conversion on the main channel temperature electric signal to obtain a main channel temperature electric signal, and performing analog-to-digital conversion on the auxiliary channel temperature electric signal to obtain an auxiliary channel temperature electric signal;
obtaining a main channel temperature value according to the main channel temperature electric signal and a preset conversion function;
Obtaining an auxiliary channel temperature value according to the auxiliary channel temperature electric signal and the preset conversion function;
acquiring a preset temperature value prediction model, and inputting the main channel temperature electric signal and the auxiliary channel temperature electric signal into the temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value;
determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and the auxiliary channel temperature value;
acquiring a mode signal, and determining a temperature value processing mode according to the mode signal;
and determining a target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value and the temperature value processing mode.
2. The primary and secondary channel temperature transmitter control method of claim 1, wherein the temperature value processing mode comprises: redundancy measurement mode, difference measurement mode, average measurement mode, and custom measurement mode.
3. The method of claim 1, wherein said determining the reliability of the main channel and the reliability of the auxiliary channel based on the predicted main channel temperature value, the predicted auxiliary channel temperature value, and the auxiliary channel temperature value comprises:
Determining a main difference value of the predicted main channel temperature value and the main channel temperature value according to the predicted main channel temperature value and the main channel temperature value, and determining the reliability of the main channel according to the main difference value;
and determining an auxiliary difference value of the predicted auxiliary channel temperature value and the auxiliary channel temperature value according to the predicted auxiliary channel temperature value and the auxiliary channel temperature value, and determining the reliability of the auxiliary channel according to the auxiliary difference value.
4. The primary and secondary channel temperature transmitter control method of claim 1, further comprising:
and when any one of the reliability of the main channel and the reliability of the auxiliary channel is smaller than a preset reliability threshold value, an alarm is sent out.
5. The method of claim 2, wherein when the temperature value processing mode is a redundant measurement mode, determining a target temperature value based on the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode, comprises:
When the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, and the reliability of the main channel is greater than the reliability of the auxiliary channel, taking the main channel temperature value as the target temperature value;
when the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, and the reliability of the main channel is smaller than the reliability of the auxiliary channel, taking the auxiliary channel temperature value as the target temperature value;
and when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the average value of the predicted auxiliary channel temperature value and the auxiliary channel temperature value as a target temperature value.
6. The method of claim 2, wherein when the temperature value processing mode is a difference measurement mode, determining a target temperature value based on the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode, comprises:
When the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, taking the difference value between the main channel temperature value and the auxiliary channel temperature value as the target temperature value;
when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the difference value of the predicted main channel temperature value and the predicted auxiliary channel temperature value as the target temperature value;
when the reliability of the main channel is smaller than a preset reliability threshold, taking the difference value between the predicted main channel temperature value and the auxiliary channel temperature value as the target temperature value;
and when the reliability of the auxiliary channel is smaller than a preset reliability threshold, taking the difference value between the main channel temperature value and the predicted auxiliary channel temperature value as the target temperature value.
7. The method of claim 2, wherein when the temperature value processing mode is an average measurement mode, determining a target temperature value based on the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode, comprises:
When the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, taking the average value of the main channel temperature value and the auxiliary channel temperature value as the target temperature value;
when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold value, taking the average value of the predicted main channel temperature value and the predicted auxiliary channel temperature value as the target temperature value;
when the reliability of the main channel is smaller than a preset reliability threshold, taking the average value of the predicted main channel temperature value and the auxiliary channel temperature value as the target temperature value;
and when the reliability of the auxiliary channel is smaller than a preset reliability threshold, taking the average value of the main channel temperature value and the predicted auxiliary channel temperature value as the target temperature value.
8. The method of claim 2, wherein when the temperature value processing mode is a custom measurement mode, determining a target temperature value based on the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value, and the temperature value processing mode comprises:
When the reliability of the main channel and the reliability of the auxiliary channel are both greater than a preset reliability threshold, determining a target temperature value according to the main channel temperature value, the auxiliary channel temperature value and a preset custom function;
when the reliability of the main channel and the reliability of the auxiliary channel are smaller than a preset reliability threshold, determining a target temperature value according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and a preset custom function;
when the reliability of the main channel is smaller than a preset reliability threshold, determining a target temperature value according to the predicted main channel temperature value, the auxiliary channel temperature value and a preset custom function;
and when the reliability of the auxiliary channel is smaller than a preset reliability threshold, determining a target temperature value according to the main channel temperature value, the predicted auxiliary channel temperature value and a preset custom function.
9. A primary and secondary channel temperature transmitter, comprising: the device comprises a processor module, a power supply module, a main channel detection probe module, an auxiliary channel detection probe module, a main analog-to-digital conversion module, an auxiliary analog-to-digital conversion module and an upper computer module; the power supply module is respectively and electrically connected with the main channel detection probe module, the auxiliary channel detection probe module, the main analog-to-digital conversion module and the auxiliary analog-to-digital conversion module; the main channel detection probe module, the main analog-to-digital conversion module and the processor module are electrically connected in sequence; the auxiliary channel detection probe module is electrically connected with the auxiliary analog-to-digital conversion module and the processor module in sequence; the upper computer module is connected with the processor; the power supply module is used for supplying power to each module;
The main channel detection probe module is used for detecting the temperature of the position of the main probe and generating a main channel temperature electric signal;
the auxiliary channel detection probe module is used for detecting the temperature of the position of the auxiliary probe and generating an auxiliary channel temperature electric signal;
the main analog-to-digital conversion module is used for performing analog-to-digital conversion on the main channel temperature electric signal to obtain a main channel temperature electric signal;
the auxiliary analog-to-digital conversion module is used for performing analog-to-digital conversion on the auxiliary channel temperature electric signal to obtain an auxiliary channel temperature electric signal;
the upper computer module is used for acquiring a preset temperature value prediction model, inputting the main channel temperature electric signal and the auxiliary channel temperature electric signal into the temperature value prediction model to obtain a predicted main channel temperature value and a predicted auxiliary channel temperature value, and determining the reliability of the main channel and the reliability of the auxiliary channel according to the predicted main channel temperature value, the predicted auxiliary channel temperature value and the auxiliary channel temperature value;
the processor module is used for acquiring a mode signal, determining a temperature value processing mode according to the mode signal, and determining a target temperature value according to the reliability of the main channel, the reliability of the auxiliary channel, the predicted main channel temperature value, the predicted auxiliary channel temperature value, the auxiliary channel temperature value and the temperature value processing mode.
10. The primary and secondary channel temperature transmitter of claim 9, further comprising: a memory module; the memory module is electrically connected with the processor module;
the memory module is used for storing the target temperature value.
CN202311592402.0A 2023-11-27 2023-11-27 Main and auxiliary channel temperature transmitter and control method Pending CN117648807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311592402.0A CN117648807A (en) 2023-11-27 2023-11-27 Main and auxiliary channel temperature transmitter and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311592402.0A CN117648807A (en) 2023-11-27 2023-11-27 Main and auxiliary channel temperature transmitter and control method

Publications (1)

Publication Number Publication Date
CN117648807A true CN117648807A (en) 2024-03-05

Family

ID=90048847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311592402.0A Pending CN117648807A (en) 2023-11-27 2023-11-27 Main and auxiliary channel temperature transmitter and control method

Country Status (1)

Country Link
CN (1) CN117648807A (en)

Similar Documents

Publication Publication Date Title
EP3205990B1 (en) Weighing sensor, weighing network and monitoring method
JP5575986B2 (en) Process fluid temperature measuring instrument
JP5735484B2 (en) Thermocouple assembly and cold junction compensation using the same
EP2559135B1 (en) Battery management system and method for transferring data within the battery management system
WO2022199713A1 (en) Digital load cell and weighing system
CN106908656B (en) Current transformer with enhanced temperature measurement
EP0830576A1 (en) Open sensor diagnostic system for temperature transmitter in a process control system
KR20150019983A (en) System and method for controlling a battery
CN117571142A (en) Method for predicting temperature by curve slope
CN117648807A (en) Main and auxiliary channel temperature transmitter and control method
EP3357203B1 (en) Process variable transmitter with self-learning loop diagnostics
KR101135973B1 (en) Deterioration sensing method for energized parts of power utilities
CN116380266A (en) Temperature detection circuit and temperature control system
CN115639392A (en) Electric power instrument with rated secondary current lower than 1A
JP5091841B2 (en) Field equipment
CN112212908A (en) Intelligent sensor and intelligent method thereof
CN117147008B (en) Low-temperature sensor health state self-diagnosis method and system
JP4835207B2 (en) Temperature transmitter
CN208061047U (en) A kind of thermal oxidation furnace in-furnace temperature control system
KR20210011235A (en) Apparatus and method for diagnosing battery cell
CN113759256A (en) Current and temperature detection system, method and circuit for BMS
CN117782338A (en) Cable temperature alarming and early warning method
JP5700249B2 (en) Transmitter abnormality alarm device
CN113708225A (en) Device and method for monitoring temperature and humidity in switch cabinet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination