Method for Processing Infrared Image of Power Device Based on Measured Temperature
20220058789 · 2022-02-24
Assignee
Inventors
- Yun ZHOU (Chengdu City, CN)
- Wuyi WANG (Chengdu City, CN)
- Longcheng QUE (Chengdu City, CN)
- Jian LV (Chengdu City, CN)
Cpc classification
G01J5/0096
PHYSICS
G06F18/217
PHYSICS
G06F18/213
PHYSICS
G01J5/025
PHYSICS
International classification
Abstract
The present disclosure provides a method for processing an infrared image of a power device based on a measured temperature. The method includes: S1: acquiring grey data images of a power device at different environmental temperatures with an infrared thermal imager; and S2: constructing, according to the grey data images of the power device acquired at the different environmental temperatures with the infrared thermal imager in step S1, a machine learning (ML) temperature conversion model, and converting the grey data images at the different environmental temperatures into temperature data with the model. The method for processing an infrared image of a power device based on a measured temperature provided by the present disclosure greatly improves the practicability of the infrared image in the power device, and achieves a better processing effect than the conventional grey data imaging method.
Claims
1. A method for processing an infrared image of a power device based on a measured temperature, comprising the following steps: S1: acquiring grey data images of a power device at different environmental temperatures with an infrared thermal imager; and S2: constructing, according to the grey data images of the power device acquired at the different environmental temperatures with the infrared thermal imager in step S1, a machine learning (ML) temperature conversion model, and converting the grey data images at the different environmental temperatures into temperature data with the model.
2. The method for processing an infrared image of a power device based on a measured temperature according to claim 1, wherein step S2 comprises the following substeps: S21: mapping the grey data images of the power device at the different environmental temperatures to object temperatures with the infrared thermal imager; S22: searching a maximum temperature value and a minimum temperature value with a blind-pixel detection algorithm according to step S21, and removing a blind pixel and an overheated pixel; and S23: establishing a temperature width color code on a temperature data image pattern of the power device according to steps S21 and S22.
3. The method for processing an infrared image of a power device based on a measured temperature according to claim 2, wherein step S21 comprises the following substeps: S211: measuring object temperatures in a same scenario as step S1 with an infrared thermometer, and implementing a one-to-one correspondence between the object temperatures and the grey data images to form temperature data images of the power device; S212: forming sample pairs with the temperature data images and the grey data images of the power device, and dividing the sample pairs into a training set and a test set; S213: constructing the ML temperature conversion model for a measured temperature; and S214: performing parameter tuning and optimization on the model, training the model and testing the model.
4. The method for processing an infrared image of a power device based on a measured temperature according to claim 3, wherein step S211 specifically comprises: implementing a one-to-one correspondence between grey data measured in step S1 and the object temperatures in a pixel relation to form the temperature data images of the power device, wherein a pixel value in the temperature data images represents a corresponding temperature value of an object on a pixel.
5. The method for processing an infrared image of a power device based on a measured temperature according to claim 3, wherein step S213 specifically comprises: enabling the ML temperature conversion model to comprise three portions, wherein a first portion is a feature extraction module composed of one convolutional layer and one nonlinear activation layer; a second portion is a densely connected module; and a third portion is a reconstruction module composed of one convolutional layer.
6. The method for processing an infrared image of a power device based on a measured temperature according to claim 5, wherein in the feature extraction module in step S213, the convolutional layer comprises a convolution kernel having a size of 3×3, an initialized weight distribution of the convolution kernel follows a Gaussian distribution, the grey data image of the power device is taken as an input, a 64-channel feature map is output, and the nonlinear activation layer uses a hyperbolic tangent (tanh) as an activation function.
7. The method for processing an infrared image of a power device based on a measured temperature according to claim 5, wherein the densely connected module in step S213 comprises three convolutional layers, wherein a batch normalization (BN) layer, a nonlinear activation layer and a 1×1 convolutional layer are embedded between every two convolutional layers; and the 64-channel feature map is taken as an input, a 128-channel feature map is output, a convolution kernel has a size of 3×3, an initialized weight distribution of the convolution kernel follows the Gaussian distribution, and the nonlinear activation layer uses a rectified linear unit (ReLU) as an activation function.
8. The method for processing an infrared image of a power device based on a measured temperature according to claim 5, wherein in the reconstruction module in step S213, the convolutional layer comprises a convolution kernel having a size of 3×3, an initialized weight distribution of the convolution kernel follows the Gaussian distribution, the 128-channel feature map is taken as an input, and the temperature data image is output.
9. The method for processing an infrared image of a power device based on a measured temperature according to claim 5, wherein step S214 specifically comprises the following substeps: step a: constructing a loss function,
10. The method for processing an infrared image of a power device based on a measured temperature according to claim 9, wherein in step b, the model is trained with an error back propagation algorithm and iteratively optimized by an Adam optimizer for 100,000 times in total, and a weight of an iteratively optimized model is stored.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings described herein are provided for further understanding on the embodiments of the present disclosure, and constitute a part of this application rather than a limit to the embodiments of the present disclosure. In the drawings:
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] In order to make the objectives, technical solutions, and advantages of the present disclosure more apparent, the present disclosure will be further described in detail below with reference to the embodiments and accompanying drawing. The exemplary implementations and descriptions thereof in the present disclosure are only used to explain the present disclosure, and are not intended to limit the present disclosure.
[0047] In the following descriptions, numerous particular details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to a person of ordinary skill in the art that the present disclosure is implemented unnecessarily with these details. In other examples, well known structures, circuits, materials or methods have not been described in detail in order to avoid obscuring the present disclosure.
[0048] Reference throughout this specification to “one embodiment”, “an embodiment”, “one example” or “an example” means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases “one embodiment”, “an embodiment”, “one example” or “an example” in various places throughout this specification are not necessarily all referring to the same embodiment or example. Furthermore, the particular features, structures, or characteristics may be combined in any suitable combination and/or sub-combination in one or more embodiments or examples. In addition, it should be understood by the person of ordinary skill in the art that the drawings provided herein are illustrative only but are unnecessarily drawn according to a proportion. As used herein, the term “and/or” includes any and all combinations of one or more related items listed.
[0049] In the description of the present disclosure, it should be understood that orientations or positional relationships indicated by the terms “front”, “rear”, “left”, “right”, “upper”, “lower”, “vertical”, “horizontal”, “high”, “low”, “inner”, “outer” and the like are based on the orientations or positional relationships as shown in the drawings, for ease of describing the present disclosure and simplifying the description only, rather than indicating or implying that the indicated device or element must have a particular orientation or be constructed and operated in a particular orientation. Therefore, these terms should not be understood as a limitation to the protection scope of the present disclosure.
EMBODIMENTS
[0050]
[0051] S1: Acquiring grey data images of a power device with an infrared thermal imager at different environmental temperatures.
[0052] S2: Constructing, according to the grey data images of the power device acquired with the infrared thermal imager at the different environmental temperatures in Step S1, an ML temperature conversion model, and converting the grey data images of the power device at the different environmental temperatures into temperature data with the model.
[0053] Specifically, Step S2 includes the following substeps:
[0054] S21: Mapping the grey data images of the power device at the different environmental temperatures to object temperatures with the infrared thermal imager.
[0055] S22: Searching a maximum temperature value and a minimum temperature value with a blind-pixel detection algorithm according to Step S21, and removing a blind pixel and an overheated pixel.
[0056] S23: Establishing a temperature width color code on a temperature data image pattern of the power device according to Steps S21 and S22 for later use.
[0057] Specifically, Step S21 includes the following substeps:
[0058] S211: Measuring object temperatures in the same scenarios as Step S1 with an infrared thermometer, and implementing a one-to-one correspondence between the object temperatures and the grey data images of the power device to form temperature data images of the power device.
[0059] S212: Forming sample pairs with the temperature data images of the power device and the grey data images of the power device, and dividing the sample pairs into a training set and a test set according to a proportion of 7:3.
[0060] S213: Constructing the ML temperature conversion model for a measured temperature.
[0061] S214: Performing parameter tuning and optimization on the model, training the model and test the model.
[0062] Specifically, Step S211 specifically includes:
[0063] Implementing a one-to-one correspondence between grey data measured in Step S1 and the object temperatures in pixel relation to form the temperature data images of the power device, where a pixel value in the temperature data images of the power device represents a corresponding temperature value of an object on a pixel.
[0064] Specifically, Step S213 may be specifically implemented as follows.
[0065] As shown in
[0066] Specifically, in the feature extraction module in Step S213, the convolutional layer includes a convolution kernel having a size of 3×3, an initialized weight distribution of the convolution kernel follows a Gaussian distribution, the grey data image of the power device is taken as the input, a 64-channel feature map is output, and the nonlinear activation layer uses a tanh as an activation function.
[0067] Specifically, in Step S213, as shown in
[0068] Specifically, in the reconstruction module in Step S213, the convolutional layer includes a convolution kernel having a size of 3×3, an initialized weight distribution of the convolution kernel follows the Gaussian distribution, the 128-channel feature map is taken as the input, and the temperature data image of the power device is output.
[0069] Specifically, Step S214 specifically includes the following substeps:
[0070] Constructing a loss function,
where I.sub.grey.sup.j represents the grey data image of the power device input from the model, I.sub.temp.sup.j represents an actual temperature data image of the power device, F (I.sub.grey.sup.j, θ) represents a trained temperature data image of the power device, θ represents a weight of the model, j represents each training sample pair, and N represents the number of samples in the training set.
[0071] Step b: Performing parameter tuning on each convolutional layer, selecting an appropriate optimizer to train the model, and storing a weight of a trained model.
[0072] Step c: Loading the weight of the trained model, and testing the model with the test set.
[0073] Specifically, in Step b, the model is trained with an error back propagation algorithm and iteratively optimized by an Adam optimizer for 100,000 times in total, and a weight of an iteratively optimized model is stored.
[0074] The Adam optimizer (as proposed by Diederik Kingma from the OpenAl and Jimmy Ba from the University of Toronto in a paper “Adam: A Method for Stochastic Optimization” submitted at the ICLR 2015, Adam is a first-order optimization algorithm that can be used instead of the classical stochastic gradient descent procedure to update a weight of a neural network iteratively based on training data) is used to iteratively optimize the model for 100,000 times in total, and the weight of the iteratively optimized model is stored.
[0075] The model obtained at this time can map the grey data at the different environmental temperatures to the object temperature data.
[0076] Further, Step S22 specifically includes: searching the maximum temperature value and the minimum temperature value with the blind-pixel detection algorithm that is proposed by Li Liping et al. in an article “Novel Blind-Pixel Detection Algorithm for Infrared Focal Plane Arrays” in 2014, and removing the blind pixel and the overheated pixel.
[0077] According to the above steps, an image block is stochastically intercepted from the conventional infrared image of the power device, as shown in
[0078] As can be seen, although the conventional infrared image of the power device uses the grey data for imaging, the grey value on each point of the image and the temperature value of the measured object are not in one-to-one correspondence, unless mapping relations under different environments are established. However, the converted image temperature data (Table 2) of the power device is in one-to-one correspondence with the temperature value of the measured object, such that the user can quickly find a temperature segment of interest at any workable environmental temperature.
[0079]
[0080] The present disclosure improves the method for processing an infrared image of a power device based on a measured temperature. The present disclosure converts the grey into the temperature and processes the infrared image of the power device with the temperature, which greatly improves the practicability of the infrared image in the power device, and achieves a better processing effect than the conventional grey data imaging method. Although the conventional infrared image of the power device uses the grey data for imaging, and the grey value on each point of the image corresponds to radiation energy emitted from the point on the measured object and reaching the photoelectric converter, the grey data of the image of the power device is not in one-to-one correspondence with the temperature values of the measured object at different environmental temperatures. The present disclosure implements the one-to-one correspondence between the converted image temperature data of the power device and the temperature values of the measured object at the different environmental temperatures, such that the user can quickly find a temperature segment of interest at any workable environmental temperature.
[0081] The present disclosure provides the ML temperature conversion model which can map the infrared grey data image of the power device to the infrared temperature data image of the power device, thereby meeting the real-time requirement. The present disclosure is novel, practicable, and able to process the infrared image of the power device with the good effect and fast speed.
[0082] The method of the present disclosure is applied to processing different infrared images of the power device and converting the grey data images at the different environmental temperatures into the temperature data. The present disclosure implements the one-to-one correspondence between the converted image temperature data of the power device and the temperature values of the measured object at the different environmental temperatures, such that the user can quickly find a temperature segment of interest at any workable environmental temperature.
[0083] The objectives, technical solutions, and beneficial effects of the present disclosure are further described in detail in the foregoing specific implementations. It should be understood that the foregoing descriptions are merely specific implementations of the present disclosure, but are not intended to limit the protection scope of the present disclosure. Any modification, equivalent replacement, improvement, or the like made within the spirit and principle of the present disclosure shall fall within the protection scope of the present disclosure.