Temperature measuring method, device, system, computer equipment and storage medium

文档序号:1935305 发布日期:2021-12-07 浏览:17次 中文

阅读说明:本技术 温度测量方法、装置、系统、计算机设备和存储介质 (Temperature measuring method, device, system, computer equipment and storage medium ) 是由 朱晓非 张超 陈科新 姜明武 于 2021-09-08 设计创作,主要内容包括:本申请涉及一种温度测量方法、装置、系统、计算机设备和存储介质。所述方法包括:获取光纤传感器在被测环境中生成的各通道初始光信号;获取预设的配置数据,并基于所述配置数据对各通道初始光信号进行判定,生成对应各通道的各判定结果;根据各所述判定结果,对所述多通道光源的光源功率进行调整;在确定各通道初始光信号均满足所述配置数据的要求时,按照调整后的光源功率,进行各通道光信号的采集,并基于采集的各通道光信号,确定被测环境的环境温度。采用本方法能够提升温度检测的准确性。(The application relates to a temperature measurement method, a device, a system, a computer device and a storage medium. The method comprises the following steps: acquiring initial optical signals of each channel generated by an optical fiber sensor in a tested environment; acquiring preset configuration data, judging initial optical signals of each channel based on the configuration data, and generating each judgment result corresponding to each channel; adjusting the light source power of the multi-channel light source according to each judgment result; and when determining that the initial optical signals of each channel meet the requirements of the configuration data, acquiring the optical signals of each channel according to the adjusted light source power, and determining the ambient temperature of the detected environment based on the acquired optical signals of each channel. The method can improve the accuracy of temperature detection.)

1. A method of temperature measurement, the method comprising:

acquiring initial optical signals of each channel generated by an optical fiber sensor in a tested environment;

acquiring preset configuration data, judging initial optical signals of each channel based on the configuration data, and generating each judgment result corresponding to each channel;

adjusting the light source power of the multi-channel light source according to each judgment result;

and when determining that the initial optical signals of each channel meet the requirements of the configuration data, acquiring the optical signals of each channel according to the adjusted light source power, and determining the ambient temperature of the detected environment based on the acquired optical signals of each channel.

2. The method of claim 1, wherein the acquiring of the initial optical signals of each channel generated by the fiber sensor in the tested environment comprises:

acquiring an initial optical signal of each channel generated by an optical fiber sensor in a tested environment;

the collecting of the optical signals of each channel according to the adjusted power of the light source comprises the following steps:

and acquiring a plurality of optical signals corresponding to each channel according to the adjusted power of the light source to obtain optical signals of each channel corresponding to each channel.

3. The method of claim 1, wherein the determining the initial optical signal for each channel based on the configuration data to generate each determination result for each channel comprises:

performing data conversion on the initial optical signals of each channel to generate corresponding initial digital signals;

and judging the initial digital signals corresponding to the channels based on the configuration data to generate corresponding judgment results.

4. The method of claim 3, wherein the configuration data comprises a signal threshold and a signal difference threshold interval;

the determining the initial digital signals corresponding to the channels based on the configuration data to generate corresponding determination results includes:

determining each signal difference value of each initial digital signal and the signal threshold;

and judging each signal difference value based on the signal difference value threshold interval, and generating a corresponding judgment result.

5. The method according to claim 4, wherein the decision results comprise a first decision result that the signal difference is smaller than the signal difference threshold interval, a second decision result that the signal difference is larger than the signal difference threshold interval, and a third decision result that the signal difference is within the signal difference threshold interval;

the adjusting the light source power of the multi-channel light source according to each determination result includes:

according to the first judgment result, the light source power of the corresponding channel in the multi-channel light source is increased;

according to the second judgment result, reducing the light source power of the corresponding channel in the multi-channel light source;

and determining that the light source power of the corresponding channel in the multi-channel light source is not adjusted according to the third judgment result.

6. The method of claim 1, wherein acquiring the initial optical signals of each channel generated by the fiber sensor in the tested environment comprises:

and controlling each channel light source of the multi-channel light source in the tested environment to synchronously emit light and synchronously close, and receiving each channel light source light signal through the optical fiber sensor and generating an initial light signal corresponding to each channel.

7. A temperature measurement device, the device comprising:

the data acquisition module is used for acquiring initial optical signals of each channel generated by the optical fiber sensor in the tested environment;

the signal judgment module is used for acquiring preset configuration data, judging the initial optical signals of each channel based on the configuration data and generating each judgment result corresponding to each channel;

the light source power adjusting module is used for adjusting the light source power of the multi-channel light source according to each judgment result;

and the full data acquisition and temperature measurement module is used for acquiring the optical signals of each channel according to the adjusted light source power when the initial optical signals of each channel meet the requirement of the configuration data, and determining the environmental temperature of the detected environment based on the acquired optical signals of each channel.

8. A temperature measurement system, the system comprising: the device comprises a controller, a light-emitting device and an optical fiber sensor, wherein the light-emitting device and the optical fiber sensor are respectively coupled with the controller;

the light-emitting device is used for providing a multi-channel light source in a tested environment;

the optical fiber sensor is used for receiving the optical signal generated by the light-emitting equipment and generating a feedback optical signal for temperature measurement;

the controller is configured to measure an ambient temperature of the environment under test according to the method of any one of claims 1 to 6.

9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.

Technical Field

The present application relates to the field of optical fiber sensing technologies, and in particular, to a temperature measurement method, apparatus, system, computer device, and storage medium.

Background

The optical fiber sensing technology is gradually one of the most representative new technologies in the sensing field due to the advantages of passive sensing medium, corrosion resistance, electromagnetic interference resistance, long service life and the like. The optical fiber fluorescence temperature measurement system is one of novel temperature sensing systems based on an optical fiber technology, and is suitable for temperature measurement in severe environments with strong electromagnetic interference, high temperature, corrosion, high pressure and explosion danger. The optical fiber fluorescence temperature measurement system couples an optical signal emitted by a light-emitting diode (LED) light source into a sensing optical fiber, and performs temperature sensing by using a fluorescent substance arranged on the end face of the tail end of the sensing optical fiber. After the LED light source is turned off, the fluorescent substance continues to emit light for a period of time, the fluorescent signal received by the photoelectric conversion module is in an exponential decay curve, and the exponential decay life and the temperature are a single-value function, so that the temperature can be sensed by detecting the life of the fluorescent signal.

In a traditional mode, a multi-channel optical fiber fluorescence temperature measurement system is generally adopted for temperature detection, namely, a multi-channel design mode is adopted, a controller in the optical fiber fluorescence temperature measurement system is used for completely collecting a fluorescence signal attenuation curve of a certain channel in a serial working mode, and then the fluorescence signal attenuation curve is switched to a next channel for collection so as to collect multi-channel signals and realize temperature sensing.

However, due to the limitation of the manufacturing process of the fluorescent probe, the initial amplitudes of the fluorescent signals returned by the sensing fibers of each channel cannot be guaranteed to be equal, so that the accuracy of subsequent temperature adjustment, namely the accuracy of temperature measurement, is influenced.

Disclosure of Invention

In view of the above, it is necessary to provide a temperature measurement method, an apparatus, a system, a computer device, and a storage medium capable of improving accuracy of temperature measurement.

A method of temperature measurement, comprising:

acquiring initial optical signals of each channel generated by an optical fiber sensor in a tested environment;

acquiring preset configuration data, judging initial optical signals of each channel based on the configuration data, and generating each judgment result corresponding to each channel;

adjusting the light source power of the multi-channel light source according to each judgment result;

and when determining that the initial optical signals of each channel meet the requirements of the configuration data, acquiring the optical signals of each channel according to the adjusted light source power, and determining the ambient temperature of the detected environment based on the acquired optical signals of each channel.

In one embodiment, acquiring initial optical signals of each channel generated by the optical fiber sensor in the tested environment comprises:

acquiring an initial optical signal of each channel generated by an optical fiber sensor in a tested environment;

collecting optical signals of each channel according to the adjusted power of the light source, comprising the following steps:

and acquiring a plurality of optical signals corresponding to each channel according to the adjusted power of the light source to obtain optical signals of each channel corresponding to each channel.

In one embodiment, determining the initial optical signal of each channel based on the configuration data and generating each determination result corresponding to each channel includes:

performing data conversion on the initial optical signals of each channel to generate corresponding initial digital signals;

and judging the initial digital signals corresponding to the channels based on the configuration data to generate corresponding judgment results.

In one embodiment, the configuration data includes a signal threshold and a signal difference threshold interval;

based on the configuration data, the method for judging the initial digital signals corresponding to the channels and generating corresponding judgment results comprises the following steps:

determining each signal difference value of each initial digital signal and a signal threshold;

and judging each signal difference value based on the signal difference value threshold interval, and generating a corresponding judgment result.

In one embodiment, the determination results include a first determination result that the signal difference is smaller than the signal difference threshold interval, a second determination result that the signal difference is greater than the signal difference threshold interval, and a third determination result that the signal difference is within the signal difference threshold interval;

according to each judgment result, the light source power of the multi-channel light source is adjusted, and the method comprises the following steps:

according to the first judgment result, the light source power of the corresponding channel in the multi-channel light source is increased;

according to the second judgment result, the light source power of the corresponding channel in the multi-channel light source is reduced;

and determining that the light source power of the corresponding channel in the multi-channel light source is not adjusted according to the third judgment result.

In one embodiment, acquiring the initial optical signals of each channel generated by the optical fiber sensor in the tested environment comprises:

and controlling each channel light source of the multi-channel light source in the tested environment to synchronously emit light and synchronously close, and receiving each channel light source light signal through the optical fiber sensor and generating an initial light signal corresponding to each channel.

A temperature measurement device, comprising:

the data acquisition module is used for acquiring initial optical signals of each channel generated by the optical fiber sensor in the tested environment;

the signal judgment module is used for acquiring preset configuration data, judging the initial optical signals of each channel based on the configuration data and generating each judgment result corresponding to each channel;

the light source power adjusting module is used for adjusting the light source power of the multi-channel light source according to each judgment result;

and the full data acquisition and temperature measurement module is used for acquiring the optical signals of each channel according to the adjusted light source power when the initial optical signals of each channel meet the requirement of configuration data, and determining the environmental temperature of the detected environment based on the acquired optical signals of each channel.

A temperature measurement system, comprising: the device comprises a controller, a light-emitting device and an optical fiber sensor, wherein the light-emitting device and the optical fiber sensor are respectively coupled with the controller;

the light-emitting device is used for providing a multi-channel light source in a tested environment;

the optical fiber sensor is used for receiving the optical signal generated by the light-emitting equipment and generating a feedback optical signal for temperature measurement;

the method steps of any of the above embodiments are implemented when the controller measures the ambient temperature of the environment being measured.

A computer device comprising a memory storing a computer program and a processor implementing the steps of the method according to any of the embodiments described above when the computer program is executed by the processor.

A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above embodiments.

The temperature measuring method, the temperature measuring device, the temperature measuring system, the computer equipment and the storage medium acquire initial optical signals of each channel of a multi-channel light source generated by an optical fiber sensor in a measured environment, acquire preset configuration data, judge the initial optical signals of each channel based on the configuration data to generate judgment results corresponding to each channel, adjust the light source power of the multi-channel light source according to the judgment results, further collect optical signals of each channel according to the adjusted light source power when the initial optical signals of each channel meet the requirements of the configuration data, and determine the environment temperature of the measured environment based on the collected optical signals of each channel. Therefore, before temperature measurement is carried out, initial optical signals of all channels of the multi-channel light source can be obtained, the initial optical signals of all channels are judged, and the power of the light source is adjusted, so that the initial amplitudes of the optical signals generated by the adjusted multi-channel light source can be kept consistent, the difference of the initial amplitudes of all channels of the optical signals is reduced, the consistency of the initial amplitudes of all channels of the optical signals is improved, and the accuracy of subsequent temperature detection can be improved.

Drawings

FIG. 1 is a diagram illustrating an exemplary temperature measurement method;

FIG. 2 is a schematic flow chart of a temperature measurement method in one embodiment;

FIG. 3 is a flow chart illustrating the power adjustment step of the light source according to one embodiment;

FIG. 4 is a graph showing a lifetime curve of a fluorescence signal in one embodiment;

FIG. 5 is a block diagram of a temperature measurement system in one embodiment;

FIG. 6 is a block diagram showing the construction of a temperature measuring system in another embodiment;

FIG. 7 is a block diagram showing the structure of a temperature measuring device according to an embodiment;

FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

The temperature measuring method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The server 104 provides the terminal 102 with an environment in which the temperature measurement method is implemented, and the terminal 102 installs the environment through which temperature measurement is implemented. Specifically, the server 104 may acquire each channel initial light signal of the multi-channel light source generated by the fiber sensor in the tested environment and convert the initial light signal into a digital signal. Further, the server 104 may obtain preset configuration data, and determine the initial optical signal of each channel based on the configuration data to generate each determination result corresponding to each channel. Further, the server 104 may adjust the light source power of the multi-channel light source according to the determination results. Further, when it is determined that the initial optical signals of each channel all satisfy the requirement of the configuration data, the server 104 may collect the optical signals of each channel according to the adjusted power of the light source, and determine the ambient temperature of the measured environment based on the collected optical signals of each channel. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.

In one embodiment, as shown in fig. 2, a temperature measurement method is provided, which is exemplified by the method applied to the server 104 in fig. 1, and includes the following steps:

step 202, acquiring initial optical signals of each channel generated by the optical fiber sensor in the tested environment.

The measured environment refers to an environment for temperature measurement, and a multi-channel light source and an optical fiber sensor may be disposed in the measured environment, so that the ambient temperature may be determined based on an optical signal generated by the optical fiber sensor.

The multi-channel refers to a plurality of optical output channels on the same hardware circuit of the fluorescence sensing system, such as a multi-channel light source provided with a plurality of light source output channels, and the like, and for example, the multi-channel light source can be 16 channels.

In this embodiment, the initial optical signal of each channel refers to an optical signal of each channel generated by the optical fiber sensor after the multi-channel light source is turned on and turned off, for example, a fluorescent signal generated after the optical fiber fluorescent probe is excited by incident light generated by the LED light source.

In this embodiment, each channel may correspond to one LED light source, and each channel is connected to one sensing fiber.

Step 204, obtaining preset configuration data, and determining the initial optical signal of each channel based on the configuration data to generate each determination result corresponding to each channel.

The preset configuration data refers to parameters for detecting and determining the consistency of the initial amplitude of the optical fiber sensor, and may include, but is not limited to, a signal threshold, a signal difference threshold interval, and the like.

Specifically, in industrial production, due to the density of phosphor particles in different probes, the distribution on the end face of the optical fiber, the inconsistency of the material of the optical fiber, manual operation, and the like, the optical fiber fluorescence probes of the optical fiber sensor are inconsistent, so that the value of the first optical signal for temperature measurement generated after the optical fiber fluorescence probes receive the incident light of the LED light source is inconsistent, that is, the initial amplitude is inconsistent.

In this embodiment, the server may set configuration data in advance, determine the obtained channel initial optical signals, determine consistency of initial amplitudes of the initial channel optical signals, and generate a corresponding determination result.

And step 206, adjusting the light source power of the multi-channel light source according to each judgment result.

In this embodiment, the server may set an adjustment amount for adjusting the light source power in advance, and then adjust the light source power of the multi-channel light source differently based on the difference of the determination results, for example, the adjustment amount may be set to the preset adjustment power value Δ P.

In the present embodiment, the preset adjustment power value Δ P may be any value within the interval [5mW, 10mW ], which is not limited in the present application.

In this embodiment, the power of the light source will directly affect the light signal generated by the light source sensor, i.e. the initial amplitude. The server can adjust the light source power corresponding to each channel of the multi-channel light source respectively based on each judgment result so as to ensure the consistency of the initial amplitude of each initial channel light signal.

And 208, when the initial optical signals of all the channels meet the requirement of the configuration data, acquiring the optical signals of all the channels according to the adjusted light source power, and determining the environmental temperature of the detected environment based on the acquired optical signals of all the channels.

In this embodiment, when the server completes the determination of the initial optical signals of all the channels and determines that the initial optical signals of each channel meet the requirement of the configuration data, the server may collect the optical signals of each channel of the multi-channel light source again according to the adjusted power of the light source, and perform the detection of the ambient temperature.

In this embodiment, for the same channel, the server may collect a plurality of signals, for example, each channel collects k data.

In this embodiment, when the server collects the optical signals of each channel, the optical signals of each channel may be collected sequentially according to the same order as the collection of the initial optical signals of the channel. For example, the server collects the channel optical signals of the first channel, and after the collection of the first optical signal in the first channel is completed, switches to the second channel, and collects the first optical signal of the second channel until the collection of the first optical signals of all the channels is completed. And then, the server returns to the first channel to collect the second optical signal of the first channel, and the steps are repeated until the collection of the kth optical signal of all the channels is completed.

In this embodiment, the server may perform storage in a matrix manner after completing the collection of the optical signals of each channel. It will be understood by those skilled in the art that the present invention is only exemplary, and in other embodiments, other storage manners may be adopted, and the present invention is not limited thereto.

Further, the server can acquire the optical signals of each channel to determine the ambient temperature of the detected environment.

In this embodiment, the fluorescence signal is in an exponential decay curve, and the exponential decay lifetime and the temperature are a single-valued function, the server may determine the ambient temperature of the measured environment based on the change of the optical signal of each channel.

Specifically, based on the collected optical signals of each channel, the server determines a curve graph of the optical signals changing along with time, namely determines the attenuation speed of the optical signals, so as to determine the temperature of the environment to be measured.

The temperature measuring method comprises the steps of obtaining initial optical signals of all channels of a multi-channel light source generated in a measured environment by an optical fiber sensor, obtaining preset configuration data, judging the initial optical signals of all the channels based on the configuration data to generate judgment results corresponding to all the channels, adjusting the power of the light source of the multi-channel light source according to the judgment results, further collecting the optical signals of all the channels according to the adjusted power of the light source when the initial optical signals of all the channels meet the requirements of the configuration data, and determining the environment temperature of the measured environment based on the collected optical signals of all the channels. Therefore, before temperature measurement is carried out, initial optical signals of all channels of the multi-channel light source can be obtained, the initial optical signals of all channels are judged, and the power of the light source is adjusted, so that the initial amplitudes of the optical signals generated by the adjusted multi-channel light source can be kept consistent, the difference of the initial amplitudes of all channels of the optical signals is reduced, the consistency of the initial amplitudes of all channels of the optical signals is improved, and the accuracy of subsequent temperature detection can be improved.

In one embodiment, acquiring the initial optical signals of each channel generated by the optical fiber sensor in the tested environment may include: an initial optical signal of each channel generated by the optical fiber sensor in the tested environment is obtained.

As described above, when the server performs temperature measurement based on the optical signals, a preset number of optical signals, such as k optical signals, need to be collected for each channel.

In this embodiment, when the server collects the initial optical signals of each channel, only one initial optical signal of each channel may be collected, and then subsequent determination and adjustment of the light source power of each channel are performed based on the collected initial optical signal. For example, after the LED light source is turned off and waits for a preset time period, the server collects the first light signal of each channel and uses the first light signal as the initial light signal of each channel.

In this embodiment, the collecting the optical signals of each channel according to the adjusted power of the light source may include: and acquiring a plurality of optical signals corresponding to each channel according to the adjusted power of the light source to obtain optical signals of each channel corresponding to each channel.

Specifically, when temperature measurement and detection are performed, the server may correspondingly collect a plurality of optical signals of each channel to obtain optical signals of each channel corresponding to each channel. As described above, after the server collects the first optical signal of the first channel, the server switches to the second channel to collect the first optical signal of the second channel until the first optical signals of all the channels are collected, then the server switches to the first channel to continue to collect the second optical signal of the first channel, and the above steps are repeated until all the optical signals of all the channels are collected.

In the above embodiment, when the optical signal is determined and the power of the light source is adjusted, the number of data to be acquired in the determination and adjustment stage can be reduced by acquiring only one initial optical signal of each channel and performing the determination and adjustment. And the initial amplitude of the optical signal generated by the adjusted multi-channel light source can be kept consistent by collecting the first initial optical signal of each channel, so that the difference of the initial amplitude of the optical signal of each channel can be reduced, the consistency of the initial amplitude of the optical signal of each channel is improved, and the accuracy of subsequent temperature detection can be improved.

In one embodiment, as shown in fig. 3, determining the initial optical signal of each channel based on the configuration data to generate each determination result corresponding to each channel may include: performing data conversion on the initial optical signals of each channel to generate corresponding initial digital signals; and judging the initial digital signals corresponding to the channels based on the configuration data to generate corresponding judgment results.

In this embodiment, the data conversion of the initial optical signal of each channel by the server specifically means converting the optical signal into a digital signal.

Specifically, the server may sequentially convert the acquired initial signals of each channel, and after sequentially converting all the optical signals in the first channel into digital signals, the server continues to convert the digital signals of the optical signals in the second channel until all the optical signals in all the channels are converted into digital signals.

In this embodiment, the initial digital signal corresponding to each channel obtained by the server performing data conversion on the initial optical signal of each channel may be represented as y [1 ]i]Wherein i is 1, 2, 3 … … N, and N is the number of channels.

Further, the server may determine each converted initial digital signal based on the signal threshold and the signal difference threshold interval, and generate each corresponding determination result.

In the above embodiment, the initial optical signals of each channel are subjected to data conversion to generate corresponding initial digital signals, and then determination is performed, so that the optical signals can be converted into digital signals which can be used for actual comparison determination, and the efficiency and accuracy of subsequent determination processing and adjustment processing can be improved.

In one embodiment, as shown in fig. 3, determining the initial digital signal corresponding to each channel based on the configuration data to generate a corresponding determination result may include: determining each signal difference value of each initial digital signal and a signal threshold; and judging each signal difference value based on the signal difference value threshold interval, and generating a corresponding judgment result.

As previously described, the configuration data may include a signal threshold and a signal difference threshold interval. In this embodiment, the server may determine each initial digital signal obtained after each conversion based on the signal threshold and the signal difference threshold interval.

In this embodiment, as shown in fig. 3, the server may perform a difference operation on each initial digital signal and a signal threshold to obtain a corresponding difference value of each signal, i.e. y [1 ]i]-Y0The server may then decide on each of the obtained signal differences based on the obtained signal difference threshold Δ Y and generate a corresponding decision result.

In one embodiment, the signal threshold Y0In the interval of [3.5V, 4.5V ]]In addition, the server may be set based on an actual application scenario, which is not limited in this application.

Similarly, the signal difference threshold Δ Y is within the interval [0.01V, 0.05V ], and the signal difference threshold interval is [ —, Δ Y ].

In one embodiment, the decision results may include a first decision result that the signal difference is less than the signal difference threshold interval, a second decision result that the signal difference is greater than the signal difference threshold interval, and a third decision result that the signal difference is within the signal difference threshold interval.

As previously mentioned, the signal difference is y [1 ]i]-Y0The threshold interval of signal difference is [ -. DELTA.Y,. DELTA.Y]. When the server determines y 1i]-Y0When smaller than- Δ Y, a corresponding first decision result may be generated; garment capable of being worn as clothesServer determines y [1 ]i]-Y0When the value is larger than delta Y, a corresponding second judgment result can be generated; when the server determines y 1i]-Y0In the interval [ -. DELTA.Y,. DELTA.Y]In the meantime, a corresponding third determination result may be generated.

In this embodiment, after the server determines the initial optical signal corresponding to each channel, the server may determine and generate a corresponding determination result, which is the first determination result, the second determination result, or the third determination result.

In this embodiment, as shown in fig. 3, adjusting the light source power of the multi-channel light source according to each determination result may include: according to the first judgment result, the light source power of the corresponding channel in the multi-channel light source is increased; according to the second judgment result, the light source power of the corresponding channel in the multi-channel light source is reduced; and determining that the light source power of the corresponding channel in the multi-channel light source is not adjusted according to the third judgment result.

Specifically, the ith channel is taken as an example for explanation. When the determination result of the server for the light source power of the ith channel is the first determination result, the server increases the light source power of the ith channel by the preset adjustment amount, such as the preset adjustment power value Δ P. Similarly, when the determination result of the server on the light source power of the ith channel is the second determination result, the server may decrease the light source power of the ith channel by the preset adjustment power value Δ P. When the determination result of the server on the light source power of the ith channel is the third determination result, the server may not adjust the light source power of the ith channel.

In this embodiment, the server may traverse each channel, and perform corresponding adjustment or non-adjustment on the power of each light source corresponding to the multi-channel light source.

In one embodiment, acquiring the initial optical signals of each channel generated by the optical fiber sensor in the tested environment may include: and controlling each channel light source of the multi-channel light source in the tested environment to synchronously emit light and synchronously close, and receiving each channel light source light signal through the optical fiber sensor and generating an initial light signal corresponding to each channel.

In this embodiment, before the collection of the optical signal, the server may control the light sources of the channels to be turned on and turned off simultaneously, for example, turned on and wait for a first preset duration, for example, a preset time Δ t0And then controlling the light sources of all channels to be turned off simultaneously.

Further, after the light sources of each channel are turned off simultaneously, the server may wait for a second preset time period, such as the waiting time period T1And then, the server collects the optical signals of all channels.

In the present embodiment, Δ T0At [10ms, 20ms ]]Inner, T1At [0.05ms, 0.3ms]In addition, the server may be adjusted based on the actual application scenario, which is not limited in the present application.

In this embodiment, when performing temperature detection, the server may convert the collected optical signal into a digital signal y [ k ]i]Wherein K is 1, 2, 3 … … K, and K is the total number of data collected by each channel; i is 1, 2, 3 … … N, and N is the total number of channels, and then stored in the form of a matrix, as shown in the following equation (1).

The total number of rows is the total number K of data collected by each channel, and the total number of columns is the total number N of channels.

Further, the server determines the fluorescence lifetime according to the cached digital signals of each channel, and determines the environmental temperature of the detected environment based on the fluorescence lifetime.

Specifically, the data in the first column, i.e., the first channel, in equation (1) is illustrated as an example.

In this embodiment, based on the data of the first channel, a time-dependent change curve of the fluorescence amplitude of the optical signal, such as the fluorescence signal, can be obtained, as shown in fig. 4.

Further, the server may calculate the areas between the attenuation curve and the t-axis between the time periods, i.e., the areas of S1, S2, S3, by sampling the fluorescence curve.

Further, the server can obtain the relationship between the area and the lifetime of the fluorescence signal by the following equation (2).

In this embodiment, the curve may be divided equally by time 3, i.e. Δ t ═ t may be obtained1-t0=t2-t1=t3-t2And thus the lifetime of the fluorescence signal can be calculated by the following equation (3).

In this embodiment, after the lifetime of the fluorescence signal is obtained, a conversion relation between the real-time temperature and the fluorescence signal needs to be calibrated in advance.

Specifically, the lifetime of the fluorescence signal is a single-valued function relationship with the temperature, and for proving the relationship between the lifetime and the temperature, the calibration can be performed by the following calibration experiment: firstly, a platinum resistance thermometer and an optical fiber fluorescent probe are bound together by a copper wire and are placed in an environment such as a warm box, an oil groove and the like. Then, the temperature interval for calibration is determined to be-40 ℃ to 200 ℃, and the temperature interval is used as a temperature measuring point every 5 ℃. And at each temperature measuring point, recording the fluorescent afterglow service life result obtained by demodulation of the detector and the measurement result of the platinum resistance thermometer after the temperature of the environment to be tested is stable. Further, fitting the recorded fluorescence afterglow life tau and the measurement result T of the platinum resistance thermometer by a least square method to finally obtain a conversion relation between the two.

Further, the server may perform temperature conversion based on the obtained conversion relationship and the lifetime of the fluorescence signal obtained by the vehicle to obtain the environmental temperature of the environment to be measured.

It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.

In one embodiment, as shown in fig. 5, there is provided a temperature measurement system, which may include: a controller 501, a light-emitting device 502 and a fiber sensor 503, wherein the light-emitting device 502 and the fiber sensor 503 are respectively coupled to the controller 501.

In this embodiment, the light emitting device 502 is used to provide a multi-channel light source in the tested environment. The fiber optic sensor 503 is used to receive the light signal generated by the light emitting device 502 and to generate a feedback light signal for temperature measurement. The steps of the method according to any of the embodiments described above are implemented when the controller 501 measures the ambient temperature of the environment being measured.

In one embodiment, with reference to fig. 5 and fig. 6, the controller 501 may include a microcontroller 1, and the microcontroller 1 may be a 32-bit single chip microcomputer.

In the present embodiment, the microcontroller 1 acquires the initial light signals of each channel of the multi-channel light source generated by the fiber sensor 503 in the tested environment.

Further, the microcontroller 1 may further obtain preset configuration data, and determine the initial optical signal of each channel based on the configuration data to generate each determination result corresponding to each channel. Further, the microcontroller 1 may adjust the light source power of the multi-channel light source according to each determination result.

In this embodiment, when determining that the initial optical signals of each channel all satisfy the requirement of the configuration data, the microcontroller 1 collects the optical signals of each channel according to the adjusted light source power, and determines the ambient temperature of the measured environment based on the collected optical signals of each channel.

In one embodiment, the light-emitting device 502 may include: an LED light source 4 and a light source control module 2. The LED light source 4 is used for providing a light source, and the light source control module 2 is used for receiving an instruction of the microcontroller 1, adjusting the power of the light source, and controlling the LED light source 4 to be turned on and off.

In one embodiment, the optical fiber sensor 503 may include: the multi-channel fluorescence sensing optical fiber interface module 6 and a sensing optical fiber externally connected with the multi-channel fluorescence sensing optical fiber interface module 6.

In this embodiment, the multi-channel fluorescence sensing fiber interface module 6 may include a micro lens and a dichroic mirror. Wherein the dichroic mirror is reflective and transmissive for light of different wavelengths.

In one embodiment, the controller 501 may further include an AD chip 3.

In this embodiment, the AD chip 3 may obtain an initial optical signal of each channel of the multi-channel optical source generated by the optical fiber sensor 503 in the tested environment and optical signals of each channel, and upload the initial optical signal and the optical signals of each channel to the microcontroller 1.

In one embodiment, the controller 501 may further include: and a photoelectric conversion module 5.

In this embodiment, the photoelectric conversion module 5 performs data conversion on each optical signal to generate a corresponding digital signal, and then uploads the converted digital signal to the microcontroller 1 through the AD chip 3, for example, through an SPI (Serial Peripheral Interface) bus, so that the microcontroller 1 can perform subsequent processing, for example, performing determination and adjustment of light source power based on the initial digital signal, and performing subsequent temperature measurement and the like.

In this embodiment, light emitted by each channel of LED light source 4 is filtered by the dichroic mirror, the dichroic mirror transmits the light signal to the micro lens, and the micro lens couples the light signal into the external sensing fiber; the optical signal returning from each channel is reflected to the photoelectric conversion module 5 by the dichroic mirror by using the characteristic that the wavelength of the optical signal returning from the sensing optical fiber is inconsistent with the incident wavelength, the photoelectric conversion module 5 finishes the processing of converting the optical signal into a voltage signal, and the digital signal is sent to the AD chip 3.

In one embodiment, the microcontroller 1 determines the initial digital signal corresponding to each channel based on the configuration data to generate a corresponding determination result, which may include: determining each signal difference value of each initial digital signal and a signal threshold; and judging each signal difference value based on the signal difference value threshold interval, and generating a corresponding judgment result.

In one embodiment, the decision results may include a first decision result that the signal difference is less than the signal difference threshold interval, a second decision result that the signal difference is greater than the signal difference threshold interval, and a third decision result that the signal difference is within the signal difference threshold interval.

In this embodiment, the microcontroller 1 may control the light source control module 2 to perform the increase processing on the light source power of the corresponding channel in the multi-channel light source according to the first determination result. Similarly, the microcontroller 1 may control the light source control module 2 to reduce the light source power of the corresponding channel in the multi-channel light source according to the second determination result. Further, the microcontroller 1 may control the light source control module 2 to determine not to adjust the light source power of the corresponding channel in the multi-channel light source according to the third determination result.

Specifically, the controlling, by the microcontroller 1, the light source control module 2 to adjust the light source power of the multi-channel LED light source 4 according to each determination result, which may include: according to the first judgment result, controlling the light source control module 2 to increase the light source power of the corresponding channel by a preset adjustment power value delta P; controlling the light source control module 2 to reduce the light source power of the corresponding channel by a preset adjustment power value delta P according to the second judgment result; and controlling the light source control module 2 not to adjust the light source power of the corresponding channel according to the third judgment result.

In one embodiment, as shown in fig. 7, there is provided a temperature measuring device including: data acquisition module 100, signal judge module 200, light source power regulation module 300 and full data acquisition and temperature measurement module 400, wherein:

the data acquisition module 100 is configured to acquire initial optical signals of each channel generated by the optical fiber sensor in a detected environment;

the signal determination module 200 is configured to obtain preset configuration data, determine initial optical signals of each channel based on the configuration data, and generate determination results corresponding to each channel;

the light source power adjusting module 300 is used for adjusting the light source power of the multi-channel light source according to each judgment result;

and the full data acquisition and temperature measurement module 400 is configured to, when it is determined that the initial optical signals of each channel all meet the requirement of configuration data, acquire the optical signals of each channel according to the adjusted light source power, and determine the ambient temperature of the measured environment based on the acquired optical signals of each channel.

In one embodiment, the data acquisition module 100 may include:

and the initial light signal acquisition sub-module is used for acquiring an initial light signal of each channel generated by the optical fiber sensor in the tested environment.

And each channel optical signal acquisition submodule is used for acquiring each channel optical signal according to the adjusted light source power.

In one embodiment, the signal determination module 200 may include:

and the data conversion submodule is used for performing data conversion on the initial optical signals of each channel to generate corresponding initial digital signals.

And the result judgment submodule is used for judging the initial digital signals corresponding to the channels based on the configuration data and generating corresponding judgment results.

In one embodiment, the configuration data includes a signal threshold and a signal difference threshold interval.

In this embodiment, the result determination sub-module may include:

a signal difference determination unit for determining respective signal differences of the respective initial digital signals and a signal threshold.

And the judgment result generation unit is used for judging each signal difference value based on the signal difference value threshold interval and generating a corresponding judgment result.

In one embodiment, the determination results include a first determination result that the signal difference is less than the signal difference threshold interval, a second determination result that the signal difference is greater than the signal difference threshold interval, and a third determination result that the signal difference is within the signal difference threshold interval.

In this embodiment, the light source power adjusting module 300 may include:

the light source power increasing submodule is used for increasing the light source power of a corresponding channel in the multi-channel light source according to the first judgment result;

the light source power reduction submodule is used for reducing the light source power of a corresponding channel in the multi-channel light source according to a second judgment result;

and the light source power holding submodule is used for determining that the light source power of the corresponding channel in the multi-channel light source is not adjusted according to the third judgment result.

In one embodiment, the data acquisition module 100 may further include:

and the light source switching control submodule is used for controlling each channel light source of the multi-channel light source in the tested environment to synchronously emit light and synchronously close.

For the specific definition of the temperature measuring device, reference may be made to the above definition of the temperature measuring method, which is not described herein again. The various modules in the temperature measuring device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.

In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store digital signal data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a temperature measurement method.

Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.

In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: acquiring initial optical signals of each channel generated by an optical fiber sensor in a tested environment; acquiring preset configuration data, judging initial optical signals of each channel based on the configuration data, and generating each judgment result corresponding to each channel; adjusting the light source power of the multi-channel light source according to each judgment result; and when determining that the initial optical signals of each channel meet the requirements of the configuration data, acquiring the optical signals of each channel according to the adjusted light source power, and determining the ambient temperature of the detected environment based on the acquired optical signals of each channel.

In one embodiment, the processor, when executing the computer program, implements obtaining each channel initial optical signal generated by the optical fiber sensor in the tested environment, including: an initial optical signal of each channel generated by the optical fiber sensor in the tested environment is obtained.

In this embodiment, the processor, when executing the computer program, may further implement: collecting optical signals of each channel according to the adjusted power of the light source, comprising the following steps: and acquiring a plurality of optical signals corresponding to each channel according to the adjusted power of the light source to obtain optical signals of each channel corresponding to each channel.

In one embodiment, when the processor executes the computer program, the processor determines the initial optical signal of each channel based on the configuration data, and generates each determination result corresponding to each channel, including: performing data conversion on the initial optical signals of each channel to generate corresponding initial digital signals; and judging the initial digital signals corresponding to the channels based on the configuration data to generate corresponding judgment results.

In one embodiment, the configuration data includes a signal threshold and a signal difference threshold interval.

In this embodiment, when the processor executes the computer program, the method for determining the initial digital signal corresponding to each channel based on the configuration data and generating the corresponding determination result includes: determining each signal difference value of each initial digital signal and a signal threshold; and judging each signal difference value based on the signal difference value threshold interval, and generating a corresponding judgment result.

In one embodiment, the determination results include a first determination result that the signal difference is less than the signal difference threshold interval, a second determination result that the signal difference is greater than the signal difference threshold interval, and a third determination result that the signal difference is within the signal difference threshold interval.

In this embodiment, when the processor executes the computer program, the adjusting the light source power of the multi-channel light source according to each determination result includes: according to the first judgment result, the light source power of the corresponding channel in the multi-channel light source is increased; according to the second judgment result, the light source power of the corresponding channel in the multi-channel light source is reduced; and determining that the light source power of the corresponding channel in the multi-channel light source is not adjusted according to the third judgment result.

In one embodiment, the processor, when executing the computer program, implements obtaining initial optical signals of each channel generated by the fiber sensor in the tested environment, including: and controlling each channel light source of the multi-channel light source in the tested environment to synchronously emit light and synchronously close, and receiving each channel light source light signal through the optical fiber sensor and generating an initial light signal corresponding to each channel.

In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring initial optical signals of each channel generated by an optical fiber sensor in a tested environment; acquiring preset configuration data, judging initial optical signals of each channel based on the configuration data, and generating each judgment result corresponding to each channel; adjusting the light source power of the multi-channel light source according to each judgment result; and when determining that the initial optical signals of each channel meet the requirements of the configuration data, acquiring the optical signals of each channel according to the adjusted light source power, and determining the ambient temperature of the detected environment based on the acquired optical signals of each channel.

In one embodiment, the computer program, when executed by the processor, implements obtaining initial optical signals of each channel generated by the fiber sensor in the tested environment, including: an initial optical signal of each channel generated by the optical fiber sensor in the tested environment is obtained.

In this embodiment, the computer program when executed by the processor may further implement: collecting optical signals of each channel according to the adjusted power of the light source, comprising the following steps: and acquiring a plurality of optical signals corresponding to each channel according to the adjusted power of the light source to obtain optical signals of each channel corresponding to each channel.

In one embodiment, the computer program when executed by the processor implements determining initial optical signals of each channel based on the configuration data to generate determination results corresponding to each channel, including: performing data conversion on the initial optical signals of each channel to generate corresponding initial digital signals; and judging the initial digital signals corresponding to the channels based on the configuration data to generate corresponding judgment results.

In one embodiment, the configuration data includes a signal threshold and a signal difference threshold interval;

in this embodiment, when executed by a processor, the computer program implements determining an initial digital signal corresponding to each channel based on configuration data, and generating a corresponding determination result, including: determining each signal difference value of each initial digital signal and a signal threshold; and judging each signal difference value based on the signal difference value threshold interval, and generating a corresponding judgment result.

In one embodiment, the determination results include a first determination result that the signal difference is less than the signal difference threshold interval, a second determination result that the signal difference is greater than the signal difference threshold interval, and a third determination result that the signal difference is within the signal difference threshold interval.

In this embodiment, the computer program, when executed by the processor, for implementing the adjustment of the light source power of the multi-channel light source according to the determination results, includes: according to the first judgment result, the light source power of the corresponding channel in the multi-channel light source is increased; according to the second judgment result, the light source power of the corresponding channel in the multi-channel light source is reduced; and determining that the light source power of the corresponding channel in the multi-channel light source is not adjusted according to the third judgment result.

In one embodiment, the computer program, when executed by the processor, for implementing acquisition of each channel of initial optical signals generated by the fiber sensor in the tested environment, includes: and controlling each channel light source of the multi-channel light source in the tested environment to synchronously emit light and synchronously close, and receiving each channel light source light signal through the optical fiber sensor and generating an initial light signal corresponding to each channel.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种具有太阳辐照和气压温度补偿功能的电阻式温度脉动仪

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!