An intelligent driving control method for a resistor array
By analyzing the temperature and voltage data change trends of the pixel units in the resistor array, and performing abnormal detection and correction based on the position distribution, the problem of inaccurate voltage data correction in the existing technology is solved and the quality of the infrared image is improved.
Patent Information
- Application Number
- CN202410865982.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-01
AI Technical Summary
In the existing infrared image simulation of the resistor array, only the abnormal detection of voltage data is considered, and the temperature data is not combined, resulting in inaccurate voltage data correction results and affecting the quality of the infrared image.
Collect the temperature data and voltage data of each pixel unit, analyze the difference in change trends of the temperature and voltage data, calculate the data fluctuation factor, determine the distance metric value based on the location distribution, iterate the neighborhood parameters for anomaly detection, and correct the voltage data to generate Infrared image.
By combining temperature and voltage data, the accuracy of anomaly detection is improved, array scanning interference is reduced, and the quality of infrared images is improved.
Smart Images

Figure CN118409553B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an intelligent driving control method of a resistor array. Background Art
[0002] The resistor array is a device composed of multiple resistor elements arranged in a certain way. Common arrangements include linear arrangement and matrix arrangement. Its main function is to provide multi-channel resistance for applications such as analog signal processing, digital signal processing, and sensor interface. Among them, the MOS (metal oxide semiconductor) resistor array is the key core device of the infrared imaging target simulation system. It is controlled by the drive control system, and the quality of the infrared image it projects will directly affect the credibility of the infrared imaging simulation test.
[0003] When using MOS resistor arrays to simulate infrared scenes, it is necessary to use the voltage signal generated by the driver to drive the corresponding current to heat up different units of the resistor array and generate infrared radiation, thereby generating infrared images. Therefore, it is very important to ensure that the voltage data and temperature data of the resistor array are normal. The accuracy and stability of these two types of data directly affect the quality and reliability of the final generated infrared simulation image.
[0004] At present, the voltage data of the pixel units with abnormal conditions in the resistor array are often corrected in combination with the data fitting situation. However, in the abnormality detection process of determining the abnormal voltage data, only the abnormal voltage situation is considered, and the distribution of the temperature data is not combined, which makes the voltage abnormality detection result of the pixel units in the resistor array less accurate, and further leads to less accurate correction results of the voltage data, resulting in poor quality of the infrared image generated by the resistor array. Summary of the invention
[0005] In order to solve the technical problem that the correction result of the existing voltage data is relatively inaccurate, resulting in poor quality of the infrared image generated by the resistor array, the purpose of the present invention is to provide an intelligent driving control method for the resistor array, and the technical solution adopted is as follows:
[0006] Acquire temperature data and voltage data of each pixel unit in the resistor array at each moment, wherein the moment includes the current moment and the historical moments before the current moment;
[0007] Based on the difference between the change trend of the temperature data and the change trend of the voltage data of each pixel unit in the resistor array at each moment, and the difference distribution of the voltage data at each moment, the data fluctuation factor of each pixel unit is obtained;
[0008] In combination with the data fluctuation factor, the difference between the temperature data and the voltage data of different pixel units at the current moment, as well as the position distribution between different pixel units are analyzed to determine the distance measurement value between different pixel units; according to the fluctuation of the temperature data and the voltage data of all pixel units at the current moment, the neighborhood parameters are iterated in combination with the distance measurement value, and anomaly detection is performed on each pixel unit to obtain an anomaly score of each pixel unit;
[0009] According to the actual value and the fitted value of the voltage data between each pixel unit and the pixel units in the spatial neighborhood of the resistor array, combined with the abnormal score and the data fluctuation factor, the corrected voltage data of each pixel unit is determined; and the infrared image corresponding to the resistor array is acquired using the corrected voltage data.
[0010] Preferably, combining the data fluctuation factor, analyzing the difference in temperature data and voltage data of different pixel units at the current moment, and the position distribution between different pixel units, and determining the distance measurement value between different pixel units specifically includes:
[0011] For any pixel unit, based on the data fluctuation factor of the pixel unit, the temperature data and the voltage data of the pixel unit at each moment are fused to determine the global fusion parameter of the pixel unit;
[0012] For any two pixel units, a distance measurement value between the any two units is obtained based on the position distance between the two pixel units in the resistor array and the difference between the global fusion parameters of the two pixel units.
[0013] Preferably, the method for acquiring the global fusion parameter of the pixel unit is specifically as follows:
[0014] The temperature data and voltage data of the pixel unit at each moment are weighted and summed using the data fluctuation factor of the pixel unit to determine the initial fusion parameter of the pixel unit at each moment, wherein the weight corresponding to the temperature data of the pixel unit at each moment is positively correlated with the data fluctuation factor, and the weight corresponding to the voltage data of the pixel unit at each moment is negatively correlated with the data fluctuation;
[0015] Based on the equalization level of the initial fusion parameters of the pixel unit at all times, the global fusion parameter of the pixel unit is determined.
[0016] Preferably, the data fluctuation factor of each pixel unit is obtained based on the difference between the change trend of the temperature data and the change trend of the voltage data of each pixel unit in the resistor array at each moment, and the difference distribution of the voltage data at each moment, specifically including:
[0017] For any pixel unit, a difference coefficient is obtained based on the difference between the change trend of the temperature data and the change trend of the voltage data of the pixel unit at each moment;
[0018] Determine the fluctuation coefficient based on the overall distribution level of the difference between the voltage data of the pixel unit at each two adjacent moments;
[0019] A data fluctuation factor of the pixel unit is obtained according to the difference coefficient and the fluctuation coefficient, and both the difference coefficient and the fluctuation coefficient are positively correlated with the data fluctuation factor.
[0020] Preferably, obtaining the difference coefficient based on the difference between the change trend of the temperature data and the change trend of the voltage data of the pixel unit at each moment specifically includes:
[0021] Based on the change rate of the temperature data of the pixel unit at each moment, determine the temperature change coefficient of the pixel unit at each moment; based on the change rate of the voltage data of the pixel unit at each moment, determine the voltage change coefficient of the pixel unit at each moment;
[0022] The coefficient of variation is determined based on the overall distribution of the difference between the temperature variation coefficient and the voltage variation coefficient of the pixel unit at each moment.
[0023] Preferably, the iterating neighborhood parameters according to the fluctuation of the temperature data and the voltage data of all pixel units at the current moment in combination with the distance metric value, and performing anomaly detection on each pixel unit to obtain an anomaly score of each pixel unit specifically includes:
[0024] Obtaining a preset number of initial parameters, each of which represents a different neighborhood range size;
[0025] Determine the effect evaluation value of each initial parameter according to the temperature variation coefficient and the voltage variation coefficient of each pixel unit in the neighborhood corresponding to each initial parameter at the current moment, the distance measurement value, and the fluctuation degree of the temperature data and the fluctuation degree of the voltage data at the current moment;
[0026] The effect evaluation value is used to screen the initial parameters to determine the neighborhood parameters, and based on the neighborhood parameters and the distance measurement value, anomaly detection is performed on the pixel units to obtain an anomaly score for each pixel unit.
[0027] Preferably, the method for obtaining the effect evaluation value of each initial parameter is specifically as follows:
[0028] Determine the nearest neighbor distance of each pixel unit under the initial parameters based on the maximum value of the distance measurement value between each pixel unit and the pixel units within the neighborhood range corresponding to the initial parameters;
[0029] Determine a weight coefficient of the pixel unit based on the difference between the temperature variation coefficient and the voltage variation coefficient of the pixel unit at the current moment; for any initial parameter, determine a first evaluation parameter based on a discrete coefficient of a neighbor distance of each pixel unit under the any initial parameter in combination with the weight coefficient of each pixel unit;
[0030] Based on the discrete degree of temperature data and the discrete degree of voltage data of all pixel units in the neighborhood range corresponding to the initial parameter of each pixel unit at the current moment, a second evaluation parameter is obtained; and the difference between the first evaluation parameter and the second evaluation parameter is used as the effect evaluation value of the initial parameter.
[0031] Preferably, the method of using the effect evaluation value to screen the initial parameters and determine the neighborhood parameters specifically includes: taking the initial parameters corresponding to the maximum value of the effect evaluation value as the neighborhood parameters.
[0032] Preferably, the method of determining the corrected voltage data of each pixel unit based on the actual value and the fitted value of the voltage data between each pixel unit and the pixel units in the spatial neighborhood of the resistor array, in combination with the abnormality score and the data fluctuation factor, specifically includes:
[0033] For any pixel unit, the voltage data at each moment is fitted to obtain the fitting value of the voltage of the pixel unit at the current moment;
[0034] Taking any pixel unit as a target pixel unit, and taking each pixel unit in a spatial neighborhood in the resistor array of the target pixel unit as a neighborhood pixel unit;
[0035] Obtaining a neighborhood voltage value according to the abnormality score of each neighborhood pixel unit, the position distance between the target pixel unit and each neighborhood pixel unit, and the voltage data of each neighborhood pixel unit at the current moment;
[0036] The neighborhood voltage value and the fitting value are weightedly fused using the data fluctuation factor of the target pixel unit to obtain the corrected voltage data of the target pixel unit, the weight corresponding to the neighborhood voltage value is positively correlated with the data fluctuation factor of the target pixel unit, and the weight corresponding to the fitting value is negatively correlated with the data fluctuation factor of the target pixel unit.
[0037] Preferably, the method for obtaining the neighborhood voltage value is specifically as follows:
[0038] A weighted parameter of each neighborhood pixel unit is obtained according to the abnormality score of each neighborhood pixel unit and the position distance between the target pixel unit and each neighborhood pixel unit in the resistor array; the abnormality score and the position distance are negatively correlated with the weighted parameter; based on the weighted parameter and the voltage data of each neighborhood pixel unit at the current moment, the neighborhood voltage value is determined.
[0039] The embodiments of the present invention have at least the following beneficial effects:
[0040] The present invention first collects the temperature data and voltage data of each pixel unit in the resistor array, and collects data for the current moment and the historical moment, combines the data distribution of the historical time and the current time, and combines the data distribution of the temperature and voltage, so as to provide a data basis for the subsequent abnormal analysis. Then, by comparing and analyzing the difference between the temperature and voltage change trends of the pixel unit at each moment, combined with the difference distribution of the voltage data at each moment, the data fluctuation factor is obtained, and the data fluctuation of each pixel unit can be characterized. Further, the first aspect integrates the temperature data and the voltage data, and the second aspect considers the position distribution between the pixel units, and combines the data fluctuation factor to adaptively quantize the distance metric value, which can fully and accurately characterize the distance difference between different pixel units and avoid the influence of array scanning. At the same time, by analyzing the fluctuation of the temperature data and the voltage data of the pixel unit at the current moment, combining the distance metric value to perform parameter iteration, and determining the neighborhood parameters, the neighborhood parameters with the best effect during abnormal detection can be adaptively obtained, and the metric distance and neighborhood parameters during abnormal detection are adaptively obtained, so that the abnormal score obtained by abnormal detection can be more accurate, and the interference during array scanning can be further avoided. The influence on the data analysis result. Finally, a joint analysis is performed by combining the preliminary correction data of the time neighborhood, which is the fitting value, and the preliminary correction data of the space neighborhood, which is the voltage data of the pixel unit in the space neighborhood, so that the correction result of the pixel unit is more accurate, and the data interference of adjacent pixel units during array scanning can be effectively avoided, so that the infrared image generated by the resistor array is of better quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 It is a flow chart of steps of an intelligent driving control method of a resistor array provided by the present invention;
[0043] Figure 2 It is a flowchart of the steps of the method for obtaining the data fluctuation factor of the pixel unit provided by the present invention;
[0044] Figure 3 is a flowchart of the steps of the method for obtaining the metric distance value provided by the present invention;
[0045] Figure 4 is a flowchart of the steps of the method for obtaining the abnormality score of the pixel unit provided by the present invention;
[0046] Figure 5 It is a flowchart of the steps of the method for obtaining the effect evaluation value of the initial parameter provided by the present invention;
[0047] Figure 6 is a flowchart of the steps of the method for obtaining the corrected voltage data of the pixel unit provided by the present invention;
[0048] Figure 7 It is a system block diagram of an intelligent drive control system of a resistor array provided by the present invention;
[0049] Figure 8 The present invention provides a schematic diagram of the structure of a computer device. DETAILED DESCRIPTION
[0050] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the intelligent drive control method of a resistor array proposed by the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0051] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0052] The specific scheme of the intelligent driving control method of a resistor array provided by the present invention is described in detail below with reference to the accompanying drawings.
[0053] See also Figure 1 , which shows a flowchart of a method for intelligent driving control of a resistor array provided by an embodiment of the present invention, the method comprising the following steps:
[0054] Step S100, obtaining temperature data and voltage data of each pixel unit in the resistor array at each moment, wherein the moment includes the current moment and the historical moments before the current moment.
[0055] It should be noted that in the infrared image simulation system, the resistor array is a key component, which is controlled by the drive control system to produce infrared images. The resistor array is composed of a pixel unit array with infrared radiation function, and each pixel unit contains a unit drive circuit and a micro-radiator in the form of a resistor. The micro-bridge resistor radiator is the core part of the device and is an energy conversion mechanism whose function is to convert some other form of energy into the required infrared radiation energy. Each pixel unit in the resistor array is controlled by a site selection circuit, and the unit drive circuit is used to control the micro-radiator. Driven by the circuit, the micro-bridge resistor generates a temperature rise, thereby releasing infrared radiation. The current is adjusted by controlling the voltage, thereby changing the surface temperature and infrared radiation of the micro-radiator.
[0056] Therefore, in order to ensure the quality and reliability of the infrared image generated by the resistor array, it is necessary to analyze the stability and normal distribution of the voltage data and temperature data generated by each pixel unit in the resistor array. This embodiment quantifies the stability and normal distribution of the two data by analyzing the characteristic analysis of the two data at the current moment and a period of time before. Compared with only analyzing the instantaneous data at the current moment, the analysis result will be more accurate and more convincing.
[0057] Based on this, this embodiment collects temperature data and voltage data of each pixel unit in the resistor array at each moment at the current moment and each historical moment before the current moment, wherein the time interval between each two adjacent moments is set to 3.3 milliseconds, and data within one second before the current moment is collected in total. The implementer can set it according to the specific implementation scenario.
[0058] It should be noted that in order to avoid the impact of dimension issues on data analysis results, the temperature data and voltage data collected in this embodiment are all standardized data.
[0059] Step S200, based on the difference between the change trend of the temperature data and the change trend of the voltage data of each pixel unit in the resistor array at each moment, and the difference distribution of the voltage data at each moment, the data fluctuation factor of each pixel unit is obtained.
[0060] The infrared radiation generated by each pixel unit of the resistor array is controlled by the temperature and voltage emitted by the driver, wherein the voltage data is the specific voltage value applied to the pixel unit of the resistor array in order to simulate the infrared radiation at a specific temperature, and then each pixel unit of the resistor array generates infrared radiation, and a continuous frame of infrared images is generated in the infrared simulation system. In order to ensure the quality and reliability of the generated infrared images, the change trend and change situation of the temperature data and voltage data of the same pixel unit will not be very different, and the fluctuation of the voltage data itself can also reflect the abnormal situation of the pixel unit in the resistor array to a certain extent. Therefore, the fluctuation of the voltage data of the pixel unit in the resistor array can be analyzed first, and the difference distribution between the change trends of the temperature data and the voltage data at the same time can be comprehensively considered to clearly and accurately characterize the voltage fluctuation of each pixel unit, and provide a data basis for the subsequent data abnormality of the pixel unit.
[0061] Based on this, Figure 2 As shown, the method for acquiring the data fluctuation factor of each pixel unit can be implemented by steps S201 to S203.
[0062] Step S201 : for any pixel unit, a difference coefficient is obtained based on the difference between the change trend of the temperature data and the change trend of the voltage data of the pixel unit at each moment.
[0063] First, we analyze the difference between the changing trends of temperature data and voltage data of the same pixel unit at the same time, which reflects the synchronization of the changes of the two data of the same pixel unit, and further characterizes the possibility of abnormal data distribution of the pixel unit.
[0064] Specifically, based on the change rate of the temperature data of the pixel unit at each moment, the temperature change coefficient of the pixel unit at each moment is determined; based on the change rate of the voltage data of the pixel unit at each moment, the voltage change coefficient of the pixel unit at each moment is determined.
[0065] The temperature variation coefficient represents the instantaneous change rate of the temperature data of the pixel unit at each moment, and the voltage variation coefficient represents the instantaneous change rate of the voltage data of the pixel unit at each moment. In this embodiment, the slope of the temperature data of the pixel unit at each moment is used as the temperature variation coefficient. Similarly, the slope of the voltage data of the pixel unit at each moment is used as the voltage variation coefficient.
[0066] Here, temperature data is used as an example for explanation. For any pixel unit, curve fitting is performed on the temperature data of the pixel unit at all times. Based on the curve obtained by fitting, the slope of the temperature data of the pixel unit at each time can be calculated. The calculation method is a well-known technology and will not be introduced in detail here. In other embodiments, curve fitting can be omitted, and the slope can be expressed by calculating the difference ratio of the temperature data between each time and the adjacent time. Specifically, the temperature change coefficient of the pixel unit at the i-th time It can be expressed as ,in, and Respectively represent the temperature data at the i-th moment and the i-1-th moment, and Respectively represent the time corresponding to the i-th moment and the i-1-th moment, It may represent the time interval between two adjacent moments. It should be noted that, in other embodiments, the implementer may select a suitable method to obtain an indicator representing the instantaneous change rate of the temperature data of the pixel unit at each moment according to the specific implementation scenario.
[0067] Furthermore, a comparative analysis is performed on the temperature change rate and the voltage change rate of the pixel unit at each same moment, and the data fluctuation of the pixel unit and the possibility of data anomaly are quantified from the aspect of data change synchronization. Specifically, the difference coefficient is determined based on the overall distribution of the difference between the temperature change coefficient and the voltage change coefficient of the pixel unit at each moment.
[0068] In this embodiment, any pixel unit in the resistor array is taken as an example for explanation. At each moment, the temperature change coefficient and the voltage change coefficient corresponding to the pixel unit can be obtained, and then the temperature change coefficient of the pixel unit at all moments can constitute a temperature change coefficient sequence in chronological order, and the voltage change coefficient of the pixel unit at all moments can constitute a voltage change coefficient sequence in chronological order. By comparing the difference between the temperature change coefficient sequence and the voltage change coefficient sequence, the overall distribution of the difference between the temperature change coefficient and the voltage change coefficient of the pixel unit at each moment can be obtained, and the difference coefficient can be quantified.
[0069] Specifically, the mean square error between the temperature change coefficient sequence and the voltage change coefficient sequence is used as the difference coefficient corresponding to the pixel unit. The mean square error measures the degree of difference in data at the same time between the two sequences by calculating the average value of the square of the difference between the data at the same time in the two sequences. The difference coefficient also characterizes the overall distribution difference characteristics of the temperature change rate and the voltage change rate of the pixel unit at the same time. The larger the value of the difference coefficient, the poorer the synchronization between the temperature change rate and the voltage change rate, the smaller the similarity of the change trend, and the greater the possibility of anomaly.
[0070] Meanwhile, it should be noted that, in other embodiments, the implementer may also determine the difference coefficient corresponding to the pixel unit by calculating the DTW distance between the temperature variation coefficient sequence and the voltage variation coefficient sequence, which represents the overall distribution difference between the two sequences.
[0071] Step S202 : determining the fluctuation coefficient based on the overall distribution level of the difference between the voltage data of the pixel unit at every two adjacent moments.
[0072] Secondly, considering that the variation trend of the voltage data of the pixel unit itself is relatively stable under normal circumstances, the fluctuation degree of the voltage data of the pixel unit can be reflected by analyzing the overall distribution of the data difference of the voltage data of the pixel unit within a period of time.
[0073] Specifically, this embodiment reflects the change trend of the voltage data of the pixel unit within a certain period of time by calculating the difference between the voltage data of each two adjacent moments of the pixel unit, and then analyzes the overall distribution level of the difference between the voltage data of adjacent moments, and determines the index that can characterize the overall distribution level of the difference between the voltage data of adjacent moments as the fluctuation coefficient. This embodiment uses the mean of the difference between the voltage data of each two adjacent moments of the pixel unit as the fluctuation coefficient corresponding to the pixel unit. The fluctuation coefficient reflects the data change trend and fluctuation of the voltage data of the pixel unit itself.
[0074] Among them, this embodiment calculates the absolute value of the difference between the voltage data of the pixel unit at each moment and the next adjacent moment, that is, there are N moments in total, and the difference values of the voltage data at adjacent moments of N-1 moments can be calculated. In other embodiments, the first-order difference value of the voltage data at all moments can also be directly calculated for feature analysis. At the same time, in other embodiments, the implementer can also select other characteristic indicators as the fluctuation coefficient to reflect the overall level of the difference in voltage data of the pixel unit at adjacent moments, such as the mode and the median.
[0075] Step S203, obtaining a data fluctuation factor of a pixel unit according to the difference coefficient and the fluctuation coefficient, wherein both the difference coefficient and the fluctuation coefficient are positively correlated with the data fluctuation factor.
[0076] The difference coefficient corresponding to the pixel unit characterizes the synchronization or difference of the data change trend of the pixel unit by comparing the change trend of the temperature data with the change trend of the voltage data. The fluctuation coefficient corresponding to the pixel unit characterizes the data change trend and fluctuation of the voltage data of the pixel unit by analyzing the overall distribution of the difference of the voltage data itself. Combining these two aspects of data change analysis can more accurately and comprehensively reflect the change trend characterization of the voltage data of the pixel unit. Among them, the positive correlation can be an additive relationship or a multiplicative relationship, etc.
[0077] In this embodiment, the product of the difference coefficient and the fluctuation coefficient of the pixel unit is normalized to obtain the data fluctuation factor of the pixel unit. Considering that the voltage data is the key data for each pixel unit in the resistor array to generate infrared radiation, the temperature data is combined to quantify the voltage fluctuation to provide a data basis for subsequent data analysis. Among them, the normalization method can be processed by the maximum and minimum value normalization method, and the implementer can use other appropriate normalization methods according to the specific implementation scenario.
[0078] Step S300, in combination with the data fluctuation factor, analyze the difference in temperature data and voltage data of different pixel units at the current moment, as well as the position distribution between different pixel units, and determine the distance measurement value between different pixel units; according to the fluctuation of temperature data and voltage data of all pixel units at the current moment, in combination with the distance measurement value, iterate the neighborhood parameters, and perform anomaly detection on each pixel unit to obtain the anomaly score of each pixel unit.
[0079] When analyzing the abnormal conditions of the driving voltage of each pixel unit in the resistor array by traditional methods, only the driving voltage data at the current moment is often analyzed for abnormality analysis. However, the driving method of the resistor array is often performed by column scanning. When the driving voltage of the pixel unit in the resistor array is disturbed, the data of a certain column in the resistor array may be affected. Therefore, in order to ensure the accuracy of the abnormality analysis results, the difference measurement method between the data in the abnormality analysis process firstly combines the data difference characteristics of the two aspects, and adds the fluctuation of the voltage data for analysis, so that the distance measurement result can more accurately and comprehensively reflect the difference conditions and difference characteristics between different pixel units.
[0080] Furthermore, when determining the neighborhood parameters in the anomaly detection process, the data fluctuations of each pixel unit in the resistor array in two aspects are combined to iterate and obtain the optimal choice, so that the final anomaly detection result is more accurate, and the anomaly score of the pixel unit can more accurately and comprehensively characterize the abnormal situation of the pixel unit itself at the current moment.
[0081] Based on this, firstly, in combination with the data fluctuation factor, the difference in temperature data and voltage data of different pixel units at the current moment and the position distribution between different pixel units are analyzed to quantify the distance measurement values between different pixel units.
[0082] It should be noted that the driving voltage data of the resistor array changes with the change of the infrared target. There may be certain differences in the voltage data of pixel units with similar spatial distances in the resistor array, that is, the position distribution between different pixel units in the resistor array may be relatively uneven. Therefore, when analyzing the data anomalies of the pixel units, considering adding the position distribution between different pixel units for joint analysis can more accurately reflect the difference measurement between different pixel units.
[0083] like Figure 3 As shown, the method for obtaining the distance measurement values between different pixel units can be implemented by steps S301 to S302.
[0084] Step S301 : for any pixel unit, based on the data fluctuation factor of the pixel unit, the temperature data and the voltage data of the pixel unit at each moment are fused to determine the global fusion parameter of the pixel unit.
[0085] Traditional anomaly detection algorithms, such as the LOF anomaly detection algorithm, measure the distance between different data using Euclidean distance. However, for each pixel unit in the resistor array, it is difficult to obtain a more accurate anomaly detection result by only performing anomaly analysis through the Euclidean distance between voltage data. At the same time, in the case of column scanning, it may be interfered by other pixel units and cause anomalies. Therefore, by using the data fluctuation factor as a weight and combining the temperature data and voltage data, the data features of each pixel unit used to measure the distance are determined, which can effectively avoid interference from other pixel units and make the distance measurement results in the subsequent anomaly analysis process more accurate.
[0086] Specifically, the data fluctuation factor of the pixel unit is used to perform weighted summation on the temperature data and voltage data of the pixel unit at each moment to determine the initial fusion parameter of the pixel unit at each moment, the weight corresponding to the temperature data of the pixel unit at each moment is positively correlated with the data fluctuation factor, and the weight corresponding to the voltage data of the pixel unit at each moment is negatively correlated with the data fluctuation.
[0087] In order to avoid the influence of interference between the driving voltages of pixel units on the data analysis results, it is necessary to analyze the voltage data fluctuation characteristics of each pixel unit. For pixel units with large voltage data fluctuations, the accuracy of determining the difference distance only by comparing the differences in voltage data between different pixel units is low. Therefore, when fusing the voltage data and temperature data, the greater the fluctuation of the voltage data, the smaller the weight of the corresponding voltage data should be. When further fusing the data, the corresponding weight of the temperature data should be greater, that is, the reference value of the temperature data is greater.
[0088] In this embodiment, taking any moment as an example for explanation, the initial fusion parameter of the pixel unit at the tth moment can be expressed as: ,in, represents the initial fusion parameter of the pixel unit at the tth moment, Represents the temperature data of the pixel unit at the tth moment, represents the voltage data of the pixel unit at the tth moment, Indicates the data fluctuation factor of the pixel unit.
[0089] in, It means that the temperature data is weighted using the data fluctuation factor as the weight, that is, the greater the data fluctuation of the voltage data of the pixel unit, the greater the weight value corresponding to the temperature data, and the greater the reference value of the distance difference of the temperature data. It means that the voltage data is weighted using the negative correlation coefficient of the data fluctuation factor as the weight, that is, the greater the data fluctuation of the voltage data of the pixel unit, the smaller the value of the weight corresponding to the voltage data, and the smaller the reference value of the distance difference of the voltage data. That is, this embodiment adopts the weighted summation method to fuse the temperature data and voltage data of the same pixel unit at each moment, providing a data basis for subsequent distance measurement.
[0090] Furthermore, based on the balanced level of the initial fusion parameters of the pixel unit at all times, the global fusion parameter of the pixel unit is determined. For any pixel unit, a parameter that can characterize the balanced level of the initial fusion parameters at all times is obtained as the global fusion parameter, that is, in this embodiment, the mean value of the initial fusion parameters of the pixel unit at all times is used as the global fusion parameter.
[0091] In other embodiments, the implementer may select other appropriate parameters to characterize the balance of a set of data according to a specific implementation scenario, such as the median, mode, etc.
[0092] Step S302 : for any two pixel units, based on the position distance between the two pixel units in the resistor array and the difference between the global fusion parameters of the two pixel units, obtain a distance measurement value between the two units.
[0093] Considering that the driving voltages between pixel units at different positions in the resistor array may have a certain degree of continuity and are easily interfered by other pixel units, adding the positional relationship factor to the distance measurement process can effectively avoid interference between pixel units that are close in position.
[0094] For any two pixel units, the Euclidean distance between the positions of the two pixel units in the resistor array is calculated, and the difference between the global fusion parameters of the two pixel units is calculated. The Euclidean distance between the positions and the difference between the global fusion parameters are fused to obtain the distance measurement value between the two pixel units. The fusion method can be processed by summing or multiplying. As a specific example, the calculation method of the distance measurement value between any two pixel units in the resistor array given in this embodiment can be expressed as: ,in represents the distance measurement value between pixel unit a and pixel unit b, represents the Euclidean distance between the positions of pixel unit a and pixel unit b in the resistor array, that is, the position distance in the resistor array; represents the global fusion parameter of pixel unit a, Represents the global fusion parameter of pixel unit b.
[0095] Combining the position distance between two pixel units and the difference distance of the global fusion parameters, the distance measurement value between the two pixel units is characterized, which can more comprehensively analyze the data difference between the two pixel units, and make the subsequent abnormality analysis using the distance measurement value more accurate.
[0096] It should be noted that in the idea of the LOF anomaly detection algorithm, in order to distinguish the local density differences between different normal data points and abnormal data points, simulate the interference that different data may be subject to, and analyze the local range in combination with the fluctuations of different data, a more accurate local range parameter in the LOF anomaly detection algorithm can be obtained, that is, the local K value, i.e., the K neighborhood range, which has the best anomaly detection effect, needs to be adaptively analyzed and set. Therefore, this embodiment combines the data fluctuations in two aspects, iterates the neighborhood parameters, and adaptively obtains a more accurate anomaly score.
[0097] like Figure 4 As shown, the method for obtaining the abnormality score of each pixel unit can be implemented by steps S303 to S305.
[0098] Step S303: obtaining a preset number of initial parameters, each of which represents a different neighborhood range size.
[0099] This embodiment evaluates the effect of different K values corresponding to different neighborhood range sizes on distinguishing abnormal data from normal data by iteratively analyzing different K values. That is, in this embodiment, the initial parameters are represented by different initial K values, and the neighborhood parameters finally determined by iteration are the K values with the best evaluation effect. The implementer of the method for obtaining different K values can set them according to experience.
[0100] In this embodiment, in order to reflect the local density difference between normal data and abnormal data as much as possible, this embodiment is based on the selection of density adaptive K value. Specifically, the K-means clustering algorithm is used to cluster pixel units based on the distance metric value. The number of clusters in the K-means clustering algorithm can be obtained by the elbow method. In the clustering result, the mean of all distance metric values in each cluster is obtained, and the number of pixel units contained in the cluster corresponding to the minimum value of the mean of the distance metric value is used as the upper limit of the K value iteration. The initial K value is set in a manner from small to large, and a preset number of initial parameters can be obtained. Each initial parameter corresponds to an initial K value, and different K values also represent different neighborhood size ranges.
[0101] Step S304, determining the effect evaluation value of each initial parameter according to the temperature variation coefficient and voltage variation coefficient of each pixel unit in the neighborhood range corresponding to each initial parameter at the current moment, the distance measurement value, and the fluctuation degree of the temperature data and the fluctuation degree of the voltage data at the current moment.
[0102] In the concept of LOF anomaly detection algorithm, the anomaly scores of different pixel units are calculated by local density. The smaller the local density of the pixel unit, the higher the anomaly score and the more abnormal the data; the larger the local density, the lower the anomaly score and the more normal the data. The best K value for anomaly evaluation should be able to accurately distinguish normal data from abnormal data based on the data density distribution in the local neighborhood. The K neighborhood range of normal pixel units in the K neighborhood is relatively small and the local density is large, while the K neighborhood range of abnormal pixel units is relatively large and the local density is small. In other words, the better K value maximizes the difference in the K nearest neighbor distances corresponding to normal data and abnormal data.
[0103] Based on this, the effects of different initial parameters can be evaluated by analyzing the data fluctuations and K-neighbor distance fluctuations of each pixel unit in the K-neighborhood corresponding to the initial parameters under different initial parameters, and combining the fluctuations of the two data in the K-neighborhood corresponding to the initial parameters of each pixel unit. It can be understood that due to the distribution of abnormal data, the larger the fluctuation of the K-neighbor distance is, the smaller the data fluctuation within each K-neighborhood, and the better the effect of the initial parameters corresponding to the K-neighborhood as the neighborhood parameters of the LOF anomaly detection algorithm for anomaly evaluation.
[0104] In this embodiment, if Figure 5 As shown, the method for obtaining the effect evaluation value of the initial parameter can be implemented by steps S314 to S334.
[0105] Step S314, determining the neighbor distance of each pixel unit under the initial parameters based on the maximum value of the distance measurement value between each pixel unit and the pixel units in the neighborhood range corresponding to the initial parameters.
[0106] In this embodiment, the neighborhood range corresponding to different initial parameters characterizes the K neighborhood range corresponding to different K values, and then the K nearest neighbor distance of each pixel unit can be calculated based on the distance measurement value between each pixel unit and the pixel units in the K neighborhood range, as the nearest neighbor distance of each pixel unit under the initial parameters, that is, a nearest neighbor distance corresponding to the pixel unit can be calculated under each different initial parameter, that is, a nearest neighbor distance can be calculated under each different K value. The nearest neighbor distance corresponding to each pixel unit under different K values characterizes the local density distribution of data of each pixel unit in the corresponding neighborhood range.
[0107] Step S324, determining the weight coefficient of the pixel unit based on the difference between the temperature variation coefficient and the voltage variation coefficient of the pixel unit at the current moment; for any initial parameter, determining the first evaluation parameter based on the discrete coefficient of the neighbor distance of each pixel unit under the any initial parameter in combination with the weight coefficient of each pixel unit.
[0108] First, the difference in the trend change of the two data of each pixel unit at the current moment is analyzed, that is, the difference between the temperature change coefficient and the voltage change coefficient of the pixel unit at the current moment is calculated to determine the weight coefficient of the pixel unit. In this embodiment, the normalized value of the absolute value of the difference between the temperature change coefficient and the voltage change coefficient of each pixel unit at the current moment is used as the weight coefficient of the pixel unit, which can be expressed as , represents the temperature variation coefficient of pixel unit b at the current moment, represents the voltage change coefficient of pixel unit b at the current moment, and Norm is a linear normalization function. The weight coefficient reflects the difference between the change rate of temperature data and voltage data of each pixel unit at the current moment. The greater the difference, the greater the data fluctuation at the current moment, the more likely it is to be abnormal, and the greater the data analysis weight of the pixel unit should be.
[0109] Then, for each different value of the initial parameter, the first aspect of the effect evaluation is performed, that is, the weight coefficient is used as the weight corresponding to each pixel unit, the discrete coefficient of the neighbor distance of each pixel unit in the neighborhood range corresponding to the initial parameter is calculated, and the first evaluation parameter is determined.
[0110] In this embodiment, taking any initial parameter k as an example, the formula for calculating the first evaluation parameter under the initial parameter k can be expressed as: ,in, represents the first evaluation parameter corresponding to the initial parameter k, M represents the total number of pixel units, represents the temperature variation coefficient of the mth pixel unit, represents the voltage variation coefficient of the mth pixel unit, represents the neighbor distance of the mth pixel unit under the initial parameter k, It represents the mean value of the k nearest neighbor distances of all pixel units in the neighborhood corresponding to the initial parameter k of the mth pixel unit. is the weight coefficient of the mth pixel unit.
[0111] It represents the variance of the k-nearest neighbor distances of all pixel units, reflecting the fluctuation of the k-nearest neighbor distances of pixel units. At the same time, the difference in the data change rate of each pixel unit is used as a weight. The faster the rate changes, the more attention is paid to the difference in the local density distribution of the pixel unit.
[0112] The first evaluation parameter characterizes the fluctuation of the neighbor distance of all pixel units under the initial parameter k, and reflects the fluctuation of the local data density distribution of the pixel units. The larger the value of the first evaluation parameter, the greater the fluctuation of the corresponding neighbor distance under the current initial parameter k, and the better the effect of the corresponding initial parameter k as a neighborhood parameter for anomaly detection.
[0113] Step S334, obtaining a second evaluation parameter based on the discrete degree of temperature data and the discrete degree of voltage data of all pixel units within the neighborhood range corresponding to the initial parameter of each pixel unit at the current moment; and taking the difference between the first evaluation parameter and the second evaluation parameter as the effect evaluation value of the initial parameter.
[0114] First, considering that the data fluctuations of the pixel units in the same neighborhood are small in both aspects, it means that the initial parameters have a better evaluation effect as the neighborhood parameters for anomaly detection. For each pixel unit in the neighborhood corresponding to the initial parameters, the data fluctuations or data dispersion of all pixel units are evaluated. The data dispersion can be characterized by dispersion coefficients such as variance or standard deviation.
[0115] In this embodiment, any initial parameter k is taken as an example for explanation, and the second evaluation parameter corresponding to the initial parameter k is The calculation method can be expressed as ,in, It represents the variance of the temperature data of all pixel units in the neighborhood of the mth pixel unit corresponding to the initial parameter k at the current moment. represents the variance of the voltage data of all pixel units in the neighborhood of the mth pixel unit corresponding to the initial parameter k at the current moment, and M represents the total number of all pixel units.
[0116] It reflects the discrete degree of temperature data within the k-neighborhood. It reflects the discreteness of the voltage data within the k-neighborhood range. In this embodiment, the discreteness of the data in the two aspects is combined by summing. In other embodiments, the discreteness of the data in the two aspects can be combined by taking the product or the like. The smaller the value of the discreteness of the data in the two aspects of all pixel units is, the greater the similarity between the data of the pixel units in the neighborhood range corresponding to the current initial parameter k, the smaller the difference fluctuation is, and the better the effect of the corresponding initial parameter k for abnormality detection is. The second evaluation parameter reflects the fluctuation and similarity of the data in the neighborhood range corresponding to the initial parameter k. The smaller the value is, the better the effect of the initial parameter k for abnormality detection is.
[0117] Furthermore, the larger the value of the first evaluation parameter corresponding to the initial parameter k, the greater the fluctuation difference of the local data density of all pixel units under the initial parameter k, and the smaller the value of the second evaluation parameter corresponding to the initial parameter k, the greater the similarity of the data distribution of different pixel units in the neighborhood range corresponding to the initial parameter k, and the smaller the difference. In this case, the effect of using the initial parameter k for anomaly detection is better.
[0118] Based on this, the difference between the first evaluation parameter and the second evaluation parameter corresponding to the initial parameter is used as the effect evaluation value of the initial parameter. When the value of the first evaluation parameter corresponding to the initial parameter is the largest, the value of the second evaluation parameter is the smallest, and the value of the corresponding effect evaluation value is the largest, the effect of abnormality detection using the corresponding initial parameter is the best.
[0119] Step S305: using the effect evaluation value to screen the initial parameters to determine the neighborhood parameters, and based on the neighborhood parameters and the distance measurement value, performing anomaly detection on the pixel units to obtain an anomaly score for each pixel unit.
[0120] Specifically, the initial parameter corresponding to the maximum value of the effect evaluation value is used as the neighborhood parameter. At this time, affected by the distribution of abnormal data, the fluctuation of the K nearest neighbor distance of all pixel units under the neighborhood parameter is relatively the largest, and the data fluctuation within the K neighborhood range corresponding to the neighborhood parameter is the smallest. The better the neighborhood parameter is used as the K neighborhood parameter of the LOF anomaly detection algorithm for anomaly evaluation.
[0121] Furthermore, based on the neighborhood parameters and the distance measurement value between pixel units, the LOF anomaly detection algorithm is used to perform anomaly detection on all pixel units, and an anomaly score of each pixel unit can be obtained, which reflects the abnormality of each pixel unit. The method for obtaining the anomaly score is a well-known technology and will not be introduced in detail here.
[0122] Step S400, determining the corrected voltage data of each pixel unit based on the actual value and the fitted value of the voltage data between each pixel unit and the pixel units in the spatial neighborhood of the resistor array, combined with the abnormal score and the data fluctuation factor; and obtaining the infrared image corresponding to the resistor array using the corrected voltage data.
[0123] First, for pixel units with abnormal conditions, the data distribution of the pixel units with abnormal conditions can be corrected by analyzing the distribution of data values of other pixel units in the local adjacent space of the pixel unit in the resistor array. The larger the abnormal score, the smaller the data reference value of the pixel units in the neighborhood. Second, the data values of the pixel unit at the current moment are fitted by fitting the data in a period of time before the current moment. The data fitting is performed based on the data distribution and change trend of the same pixel unit at historical moments, and the data distribution that may have abnormal conditions is preliminarily corrected. Third, considering the pixel unit to be corrected itself, the larger the value of the data fluctuation factor, the greater the data fluctuation, the more the corresponding reference to the data distribution of the adjacent pixel units should be made, and the smaller the reference value of the fitting correction data of the corresponding pixel unit itself. Based on this, combined with the data characteristics of the three aspects, the voltage data of each pixel unit can be corrected to avoid the abnormal voltage data affecting the quality of subsequent infrared image generation, so that the quality of the generated infrared image is guaranteed.
[0124] In this embodiment, if Figure 6 As shown, the method for acquiring the corrected voltage data of the pixel unit can be implemented by steps S401 to S403.
[0125] Step S401 : for any pixel unit, fitting is performed on the voltage data at each moment to obtain a fitting value of the voltage of the pixel unit at the current moment.
[0126] In this embodiment, for each pixel unit, the least square method is used to fit the voltage data at each moment, and the fitting value of the voltage data of the pixel unit at each moment can be obtained. In this embodiment, only the abnormal situation of the voltage data of each pixel unit at the current moment is corrected and analyzed. The fitting value of the voltage of the pixel unit at the current moment is more consistent with the data distribution change trend of the past period of time, and the abnormal data is preliminarily corrected. However, the fluctuation of the data change trend of the pixel unit in the past period of time may be large, so it is necessary to combine the data fluctuation factor of the pixel unit for correction analysis later.
[0127] Step S402, taking any pixel unit as a target pixel unit, and taking each pixel unit in the spatial neighborhood of the target pixel unit resistor array as a neighborhood pixel unit; obtaining a neighborhood voltage value according to the abnormality score of the target pixel unit, the position distance between the target pixel unit and each neighborhood pixel unit, and the voltage data of each neighborhood pixel unit at the current moment.
[0128] Taking into account that the voltage data or temperature data between pixel units in a locally adjacent space in the resistor array may affect each other, and the data distribution between the pixel units in the locally adjacent space is relatively similar, in this embodiment, the pixel unit voltage data distribution in the 8-neighborhood space of each pixel unit in the resistor array is analyzed to provide a basis for correction of the voltage data of each pixel unit.
[0129] Specifically, taking any pixel unit as an example, the mth pixel unit is taken as the target pixel unit, and all pixel units within the spatial 8 neighborhood range of the mth pixel unit in the resistor array can be recorded as neighborhood pixel units, and then taking any neighborhood pixel unit as an example, the weighted parameter of the nth neighborhood pixel unit is obtained according to the abnormal score of the nth neighborhood pixel unit and the position distance between the target pixel unit and the nth neighborhood pixel unit in the resistor array; the abnormal score and the position distance are negatively correlated with the weighted parameter; based on the weighted parameter and the voltage data of the nth neighborhood pixel unit at the current moment, the neighborhood voltage value is determined. Among them, the negative correlation can be in the form of a reciprocal, or in the form of a negative exponential power, etc.
[0130] In this embodiment, as a specific example, the calculation method of the neighborhood voltage value of the nth neighborhood pixel unit can be expressed as: ,in, represents the neighborhood voltage value of the nth neighboring pixel unit corresponding to the mth pixel unit, represents the voltage data of the nth neighboring pixel unit corresponding to the mth pixel unit at the current moment, It represents the Euclidean distance between the m-th pixel unit and the corresponding n-th neighboring pixel unit in the resistor array, that is, the spatial position distance. Represents the abnormal score of the nth neighboring pixel unit corresponding to the mth pixel unit.
[0131] is the weighted parameter corresponding to the nth neighbor pixel unit. When the distance between the neighbor pixel unit and the target pixel unit in the resistor array is closer, the data distribution similarity between the two may be greater. At this time, the voltage data of the neighbor pixel unit has more reference value. At the same time, the smaller the abnormal score of the neighbor pixel unit, the lower the possibility of abnormal data of the neighbor pixel unit. The reference value of the voltage data corresponding to the neighbor pixel unit is greater, and the accuracy of using its voltage data to correct the voltage data of the target pixel unit is higher. That is, The smaller the value of The smaller the value of , the larger the value of the weighted parameter of the corresponding neighborhood pixel unit, the greater the reference value of the voltage data of the neighborhood pixel unit, and the larger the value of the corresponding neighborhood voltage value.
[0132] The neighborhood voltage value corresponding to each neighborhood pixel unit represents the correction of the voltage data of the target pixel unit in the dimension where each neighborhood pixel unit is located.
[0133] Step S403, using the data fluctuation factor of the target pixel unit to perform weighted fusion on the neighborhood voltage value and the fitting value to obtain the corrected voltage data of the target pixel unit, the weight corresponding to the neighborhood voltage value is positively correlated with the data fluctuation factor of the target pixel unit, and the weight corresponding to the fitting value is negatively correlated with the data fluctuation factor of the target pixel unit.
[0134] The fitting value of the voltage of the target pixel unit at the current moment represents the voltage data that is preliminarily corrected in combination with the voltage data characteristics of the temporal neighborhood. The neighborhood voltage value of each neighborhood pixel unit represents the voltage data that is preliminarily corrected in combination with the voltage data characteristics of the spatial neighborhood. Considering that the larger the data fluctuation factor of the target pixel unit, the greater the data fluctuation of the target pixel unit, the smaller the reference value of the data distribution of itself corrected using the temporal neighborhood data. In contrast, the data distribution of other pixel units in the spatial neighborhood can be referred to more, so that the correction result of the target pixel unit is more accurate.
[0135] Specifically, the corrected voltage data of the target pixel unit can be expressed as , represents the corrected voltage data of the mth pixel unit, Represents the data fluctuation factor of the mth pixel unit, Represents the total number of neighboring pixel cells contained in the spatial neighborhood of the target pixel cell in the resistor array, represents the neighborhood voltage value of the nth neighboring pixel unit corresponding to the mth pixel unit, Represents the fitted value of the voltage of the mth pixel unit at the current moment.
[0136] The larger the value of is, the greater the data fluctuation of the target pixel unit is, and the more attention is paid to the data value of the neighboring pixel unit to correct the target pixel unit. That is, the larger the weight value corresponding to the neighborhood voltage value is, the higher the weight value is. As the weight corresponding to the neighborhood voltage value, the negative correlation coefficient of the data fluctuation factor As the weight corresponding to the fitted value.
[0137] Finally, the corrected voltage data of each pixel unit is obtained, which comprehensively considers the data distribution characteristics of the time neighborhood and the spatial neighborhood, reduces the interference of array scanning in the abnormal analysis process, improves the credibility of the corrected value of the voltage data, and reduces the probability of abnormal situations in the generation of infrared images, so that the quality of infrared images generated by each unit in the resistor array is better.
[0138] Finally, the corrected voltage data of each pixel unit is used to obtain the infrared image corresponding to the resistor array. The controller transmits the scanning signals of the rows and columns corresponding to the resistor array to the driver, and the driver sends the processed voltage data to the resistor array. The microbridge resistors of each pixel element of the resistor array heat up, release infrared radiation, generate infrared heat maps, and realize intelligent driving of the resistor array. Using resistor arrays to generate infrared images is a well-known technology and will not be introduced in detail here.
[0139] like Figure 7 As shown, an intelligent drive control system of a resistor array is provided, the system comprising:
[0140] A data acquisition module, used to obtain temperature data and voltage data of each pixel unit in the resistor array at each moment, wherein the moment includes the current moment and the historical moments before the current moment;
[0141] A fluctuation analysis module, for obtaining a data fluctuation factor of each pixel unit in the resistor array based on the difference between the change trend of the temperature data and the change trend of the voltage data of each pixel unit at each moment, and the difference distribution of the voltage data at each moment;
[0142] An anomaly detection module is used to analyze the difference between the temperature data and the voltage data of different pixel units at the current moment and the position distribution between different pixel units in combination with the data fluctuation factor, and determine the distance measurement value between different pixel units; according to the fluctuation of the temperature data and the voltage data of all pixel units at the current moment, iterate the neighborhood parameters in combination with the distance measurement value, and perform anomaly detection on each pixel unit to obtain the anomaly score of each pixel unit;
[0143] The data correction module is used to determine the corrected voltage data of each pixel unit based on the actual value and fitting value of the voltage data between each pixel unit and the pixel units in the spatial neighborhood of the resistor array, combined with the abnormal score and the data fluctuation factor; and use the corrected voltage data to obtain the infrared image corresponding to the resistor array.
[0144] It should be noted that the system provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the intelligent drive control system of a resistor array and the intelligent drive control method of a resistor array provided in the above embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0145] The present application also provides a computer device. Figure 8 , which shows a schematic diagram of the structure of a computer device provided by an embodiment of the present invention, the computer device includes a memory 801, a processor 802, and a computer program 803 stored in the memory 801 and running on the processor 802, wherein when the processor 802 executes the computer program 803, the computer device can execute any of the intelligent drive control methods for the resistor array introduced above.
[0146] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer device, the computer device can execute any one of the intelligent drive control methods for the resistor array introduced above.
[0147] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer device, the computer device can execute any of the intelligent drive control methods for the resistor array introduced above.
[0148] In the embodiments provided in the present application, it should be understood that the provided computer device, computer program product and computer-readable storage medium are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the methods provided above and will not be repeated here.
[0149] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An intelligent driving control method for a resistor array, characterized in that: The method comprises the following steps: Acquire temperature data and voltage data of each pixel unit in the resistor array at each moment, wherein the moment includes the current moment and the historical moments before the current moment; Based on the difference between the change trend of the temperature data and the change trend of the voltage data of each pixel unit in the resistor array at each moment, and the difference distribution of the voltage data at each moment, the data fluctuation factor of each pixel unit is obtained; In combination with the data fluctuation factor, the difference between the temperature data and the voltage data of different pixel units at the current moment, as well as the position distribution between different pixel units are analyzed to determine the distance measurement value between different pixel units; according to the fluctuation of the temperature data and the voltage data of all pixel units at the current moment, the neighborhood parameters are iterated in combination with the distance measurement value, and anomaly detection is performed on each pixel unit to obtain an anomaly score for each pixel unit; Determine the corrected voltage data of each pixel unit according to the actual value and the fitted value of the voltage data between each pixel unit and the pixel units in the spatial neighborhood of the resistor array, combined with the abnormal score and the data fluctuation factor; and obtain the infrared image corresponding to the resistor array using the corrected voltage data; The combining of the data fluctuation factor, analyzing the difference of the temperature data and the voltage data of different pixel units at the current moment, and the position distribution between different pixel units, and determining the distance measurement value between different pixel units specifically includes: For any pixel unit, based on the data fluctuation factor of the pixel unit, the temperature data and the voltage data of the pixel unit at each moment are fused to determine the global fusion parameter of the pixel unit; For any two pixel units, based on the position distance between the two pixel units in the resistor array and the difference between the global fusion parameters of the two pixel units, a distance measurement value between the two units is obtained; The data fluctuation factor of each pixel unit is obtained based on the difference between the change trend of the temperature data and the change trend of the voltage data of each pixel unit in the resistor array at each moment, and the difference distribution of the voltage data at each moment, specifically including: For any pixel unit, a difference coefficient is obtained based on the difference between the change trend of the temperature data and the change trend of the voltage data of the pixel unit at each moment; Determine the fluctuation coefficient based on the overall distribution level of the difference between the voltage data of the pixel unit at each two adjacent moments; Obtaining a data fluctuation factor of a pixel unit according to the difference coefficient and the fluctuation coefficient, wherein both the difference coefficient and the fluctuation coefficient are positively correlated with the data fluctuation factor; The method further comprises: determining the corrected voltage data of each pixel unit according to the actual value and the fitted value of the voltage data between each pixel unit and the pixel units in the spatial neighborhood of the resistor array, in combination with the abnormality score and the data fluctuation factor, specifically comprising: For any pixel unit, the voltage data at each moment is fitted to obtain the fitting value of the voltage of the pixel unit at the current moment; Taking any pixel unit as a target pixel unit, and taking each pixel unit in a spatial neighborhood in the resistor array of the target pixel unit as a neighborhood pixel unit; Obtaining a neighborhood voltage value according to the abnormality score of each neighborhood pixel unit, the position distance between the target pixel unit and each neighborhood pixel unit, and the voltage data of each neighborhood pixel unit at the current moment; The neighborhood voltage value and the fitting value are weightedly fused using the data fluctuation factor of the target pixel unit to obtain the corrected voltage data of the target pixel unit, the weight corresponding to the neighborhood voltage value is positively correlated with the data fluctuation factor of the target pixel unit, and the weight corresponding to the fitting value is negatively correlated with the data fluctuation factor of the target pixel unit.
2. The intelligent driving control method of a resistor array according to claim 1, characterized in that: The method for obtaining the global fusion parameters of the pixel unit is specifically as follows: The temperature data and voltage data of the pixel unit at each moment are weighted and summed using the data fluctuation factor of the pixel unit to determine the initial fusion parameter of the pixel unit at each moment, wherein the weight corresponding to the temperature data of the pixel unit at each moment is positively correlated with the data fluctuation factor, and the weight corresponding to the voltage data of the pixel unit at each moment is negatively correlated with the data fluctuation; Based on the equalization level of the initial fusion parameters of the pixel unit at all times, the global fusion parameter of the pixel unit is determined.
3. The intelligent driving control method of a resistor array according to claim 1, characterized in that: The obtaining of the difference coefficient based on the difference between the change trend of the temperature data and the change trend of the voltage data of the pixel unit at each moment specifically includes: Based on the change rate of the temperature data of the pixel unit at each moment, determine the temperature change coefficient of the pixel unit at each moment; based on the change rate of the voltage data of the pixel unit at each moment, determine the voltage change coefficient of the pixel unit at each moment; The coefficient of variation is determined based on the overall distribution of the difference between the temperature variation coefficient and the voltage variation coefficient of the pixel unit at each moment.
4. The intelligent driving control method of a resistor array according to claim 3, characterized in that: The method of iterating the neighborhood parameters according to the fluctuation of the temperature data and the voltage data of all the pixel units at the current moment in combination with the distance metric value and performing anomaly detection on each pixel unit to obtain an anomaly score of each pixel unit specifically includes: Obtaining a preset number of initial parameters, each of which represents a different neighborhood range size; Determine the effect evaluation value of each initial parameter according to the temperature variation coefficient and the voltage variation coefficient of each pixel unit in the neighborhood corresponding to each initial parameter at the current moment, the distance measurement value, and the fluctuation degree of the temperature data and the fluctuation degree of the voltage data at the current moment; The effect evaluation value is used to screen the initial parameters to determine the neighborhood parameters, and based on the neighborhood parameters and the distance measurement value, anomaly detection is performed on the pixel units to obtain an anomaly score for each pixel unit.
5. The intelligent driving control method of a resistor array according to claim 4, characterized in that: The method for obtaining the effect evaluation value of each initial parameter is specifically as follows: Determine the nearest neighbor distance of each pixel unit under the initial parameters based on the maximum value of the distance measurement value between each pixel unit and the pixel units within the neighborhood range corresponding to the initial parameters; Determine a weight coefficient of the pixel unit based on the difference between the temperature variation coefficient and the voltage variation coefficient of the pixel unit at the current moment; for any initial parameter, determine a first evaluation parameter based on a discrete coefficient of a neighbor distance of each pixel unit under the any initial parameter in combination with the weight coefficient of each pixel unit; Based on the discrete degree of temperature data and the discrete degree of voltage data of all pixel units in the neighborhood range corresponding to the initial parameter of each pixel unit at the current moment, a second evaluation parameter is obtained; and the difference between the first evaluation parameter and the second evaluation parameter is used as the effect evaluation value of the initial parameter.
6. The intelligent driving control method of a resistor array according to claim 5, characterized in that: The method of using the effect evaluation value to screen the initial parameters and determine the neighborhood parameters specifically includes: taking the initial parameters corresponding to the maximum value of the effect evaluation value as the neighborhood parameters.
7. The intelligent driving control method of a resistor array according to claim 1, characterized in that: The method for obtaining the neighborhood voltage value is specifically as follows: A weighted parameter of each neighborhood pixel unit is obtained according to the abnormality score of each neighborhood pixel unit and the position distance between the target pixel unit and each neighborhood pixel unit in the resistor array; the abnormality score and the position distance are negatively correlated with the weighted parameter; based on the weighted parameter and the voltage data of each neighborhood pixel unit at the current moment, the neighborhood voltage value is determined.
Citation Information
Patent Citations
Infrared event-radiation dual-mode imaging system for long-distance small target detection
CN115900968A
Resistor array radiation characteristic low-temperature background test method
CN116125142A
Resistor array radiation maintenance and stability characteristic test method
CN117213644A
Temperature calibration method and system for temperature tester
CN117249922A
Method for monitoring operation state of numerical control machine tool
CN117798744A
