RGB atmosphere lamp finished product calibration method and system
By using AOI defect detection algorithm and intelligent calibration algorithm in RGB ambient lamp finished product calibration, combined with the use of sensing collaboration module, the shortcomings of manual visual inspection and manual adjustment in the existing technology are solved, and high-precision ambient lamp finished product calibration is achieved , improve product quality and production efficiency.
Patent Information
- Application Number
- CN202411553600.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-02
- Publication Date
- 2025-02-21
AI Technical Summary
The existing RGB ambient lamp final calibration method mainly relies on manual visual inspection and manual adjustment, and cannot achieve accurate and rapid detection and calibration, and is susceptible to personal differences among operators, and cannot achieve big data analysis and high-precision control, which limits product quality improvement and production. efficiency.
The AOI defect detection algorithm is used to identify the chip defects of the LED chip, and the first calibration is performed through multi-angle image acquisition and intelligent calibration algorithm. The sensing collaboration module is configured to analyze the ambient lamp characteristics and build the calibration environment, calculate the deviation coefficient and perform the second calibration. Get the target finished RGB ambient light.
It improves the production quality of RGB ambient lamps, achieves high-precision color, brightness and color temperature control, reduces manual intervention, and improves production efficiency and product consistency.
Smart Images

Figure CN119492520A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method and system for calibrating a finished RGB atmosphere lamp, and belongs to the field of electronic engineering. Background Art
[0002] RGB atmosphere light finished product calibration refers to the process of adjusting and calibrating key performance parameters such as color, brightness, and color temperature of RGB atmosphere lights to ensure that each batch of atmosphere light products achieves consistency and expected quality standards in visual performance. Through finished product calibration, RGB atmosphere lights can provide stable and high-quality lighting effects in different usage environments and conditions to meet user needs.
[0003] RGB atmosphere lamp finished product calibration Traditional RGB atmosphere lamp finished product calibration usually adopts manual visual inspection and manual adjustment. The operator evaluates and adjusts the color, brightness and color temperature of the finished lamp by comparing it with the standard light source. This method cannot accurately and quickly detect and calibrate defects, is easily affected by individual differences of operators, and cannot achieve big data analysis and high-precision control, thus limiting product quality improvement and production efficiency. Summary of the invention
[0004] The present invention provides a method and system for calibrating a finished RGB atmosphere lamp, the main purpose of which is to improve the production quality of the finished RGB atmosphere lamp.
[0005] To achieve the above purpose, the present invention provides a method for calibrating a finished RGB atmosphere lamp, comprising:
[0006] Constructing an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere lamp, collecting multi-angle images of the LED chip, and based on the multi-angle images, using the AOI defect detection algorithm to identify chip defects of the LED chip, and based on the chip defects, performing a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp;
[0007] Analyze the atmosphere light characteristics of the first calibrated finished RGB atmosphere light, and configure the sensing coordination module of the first calibrated finished RGB atmosphere light according to the atmosphere light characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor, and an NFC module;
[0008] Calculate the synergy value of the sensing synergy module, and when the synergy value meets the preset synergy threshold, construct a calibration environment for the first calibrated finished RGB atmosphere lamp, and define a reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value, and a color temperature reference value;
[0009] The sensor collaborative module is used to collect output data of the first calibrated finished RGB atmosphere lamp in the calibration environment, the output data is preprocessed by using the trained optical model to obtain model-processed data, and the deviation coefficient of the first calibrated finished RGB atmosphere lamp is calculated according to the model-processed data and the reference value;
[0010] Construct an intelligent calibration algorithm for the first calibrated finished RGB atmosphere light, and based on the deviation coefficient, use the intelligent calibration algorithm to analyze the deviation compensation parameters of the first calibrated finished RGB atmosphere light, and perform a second calibration of the first calibrated finished RGB atmosphere light in combination with the deviation compensation parameters to obtain a target finished RGB atmosphere light.
[0011] Optionally, the identifying chip defects of the LED chip based on the multi-angle image and using the AOI defect detection algorithm includes:
[0012] Converting the multi-angle image into a gray image to obtain a gray multi-angle image;
[0013] Detecting the image edge of the gray multi-angle image to obtain an edge multi-angle image;
[0014] Expanding the edge multi-angle image to obtain an expanded multi-angle image;
[0015] identifying defect features of the expanded multi-angle image;
[0016] Based on the defect features, the chip defects of the LED chip are identified using the AOI defect detection algorithm.
[0017] Optionally, the identifying chip defects of the LED chip based on the defect features and using the AOI defect detection algorithm includes:
[0018] Based on the defect characteristics, construct a defect characteristic map of the LED chip;
[0019] The convolution value of the defect feature map is calculated using the AOI defect detection algorithm, wherein the AOI defect detection algorithm:
[0020]
[0021] Among them, (c*q)(x,y) represents the convolution value of the defect feature map at the position (x,y), c represents the convolution kernel, q represents the defect feature map, (r,v) represents the coordinate position of the convolution kernel, α represents the bias term, ω(r,v) represents the weight of the convolution kernel at the coordinate position (r,v), ω represents the weight matrix, r represents the value of the convolution kernel on the x-axis, and v represents the value of the convolution kernel on the y-axis;
[0022] Based on the convolution value, a chip defect of the LED chip is identified.
[0023] Optionally, based on the chip defect, performing a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp includes:
[0024] Analyze the light impact of the chip defect on the finished RGB atmosphere lamp, and calculate the light impact degree of the light impact;
[0025] When the light influence degree meets a preset light influence threshold, analyzing defect characteristics of the chip defect;
[0026] Based on the defect characteristics and the light impact, define the object to be operated of the chip defect, wherein the object to be operated includes the LED chip hardware and LED chip software of the finished RGB atmosphere lamp;
[0027] Combining the defect characteristics, the light impact and the object to be operated, constructing a defect repair strategy for the LED chip;
[0028] Through the defect repair strategy, a first calibration is performed on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp.
[0029] Optionally, configuring the sensing coordination module of the first calibrated finished RGB atmosphere lamp according to the characteristics of the atmosphere lamp includes:
[0030] According to the characteristics of the atmosphere lamp, analyzing the color monitoring requirements, brightness monitoring requirements and data transmission requirements of the first calibrated finished RGB atmosphere lamp;
[0031] Based on the color monitoring requirements and the brightness monitoring requirements, determining a high-precision color sensor and a high-precision brightness sensor for the first calibrated finished RGB atmosphere lamp;
[0032] According to the data transmission requirement, the NFC module of the first calibrated finished RGB atmosphere lamp is configured;
[0033] Integrate the high-precision color sensor, the high-precision brightness sensor, and the NFC module into the first calibrated finished RGB atmosphere lamp to obtain a sensing module;
[0034] Analyzing a module compatibility value of the sensor module;
[0035] When the module compatibility value meets the preset module compatibility threshold, a collaborative algorithm of the sensor module is constructed in combination with the data transmission requirement;
[0036] The collaborative algorithm is integrated into the sensing module to obtain the sensing collaborative module.
[0037] Optionally, the calculating the coordination value of the sensing coordination module includes:
[0038] Collecting collaborative data of the sensor collaborative module;
[0039] filtering the collaborative data to obtain filtered collaborative data;
[0040] Extracting collaborative features of the filtered collaborative data, and constructing an Adam feature fusion optimization function of the collaborative features;
[0041] Using the Adam feature fusion optimization function, the collaborative features are fused to obtain a fused collaborative feature;
[0042] Defining the collaborative index of the sensor collaborative module;
[0043] Based on the fusion collaboration feature and the collaboration index, a collaboration value of the sensing collaboration module is calculated.
[0044] Optionally, the calculating the synergy value of the sensing synergy module based on the fusion synergy feature and the synergy index includes:
[0045] Calculating an indicator synergy value of the synergy indicator according to the fusion synergy feature;
[0046] defining a synergy weight of the synergy indicator;
[0047] Based on the indicator synergy value and the synergy weight, the synergy value of the sensor synergy module is calculated using the following formula:
[0048]
[0049] Among them, SPI represents the cooperative value of the sensor cooperative module, σ cm represents the collaborative weight of the module accuracy in the collaborative index corresponding to the sensor collaborative module, cm represents the indicator collaborative value of the module accuracy in the collaborative index corresponding to the sensor collaborative module, θ 1 A constant representing the saturation speed used to control the module accuracy, σ La represents the collaborative weight of the module stability in the collaborative index corresponding to the sensor collaborative module, e represents the exponential function, La represents the index collaborative value of the module stability in the collaborative index corresponding to the sensor collaborative module, La min represents the minimum threshold of module stability in the cooperative index corresponding to the sensor cooperative module, θ 2 Represents the constant that controls the growth rate of the exponential function; σ RTrepresents the collaborative weight of the module response time in the collaborative index corresponding to the sensor collaborative module, RT represents the indicator collaborative value of the module response time in the collaborative index corresponding to the sensor collaborative module, θ 3 A constant that represents the degree to which the control module response time affects the coordination value.
[0050] Optionally, calculating the deviation coefficient of the first calibrated finished RGB atmosphere lamp according to the model processing data and the reference value includes:
[0051] Based on the light characteristics, analyzing the actual color value, the actual brightness value, and the actual color temperature value of the first calibrated finished RGB atmosphere light;
[0052] Performing color conversion on the color actual value and the color reference value corresponding to the reference value to obtain an actual Lab value and a reference Lab value;
[0053] Calculating the color deviation of the first calibrated finished RGB atmosphere lamp based on the actual Lab value and the reference Lab value;
[0054] Calculate an actual nonlinear brightness value and a reference nonlinear brightness value of a brightness reference value corresponding to the actual brightness value and the reference value;
[0055] Calculating the brightness deviation of the first calibrated finished RGB atmosphere lamp according to the actual non-linear brightness value and the reference non-linear brightness value;
[0056] Calculating the color temperature deviation of the first calibrated finished RGB atmosphere lamp based on the actual color temperature value and the color temperature reference value corresponding to the reference value;
[0057] The deviation coefficient of the first calibrated finished RGB atmosphere lamp is calculated by combining the color deviation, the brightness deviation and the color temperature deviation.
[0058] Optionally, the analyzing the deviation compensation parameters of the first calibrated finished RGB atmosphere lamp by using the intelligent calibration algorithm based on the deviation coefficient includes:
[0059] Based on the deviation coefficient, constructing initial deviation compensation parameters of the first calibrated finished RGB atmosphere lamp;
[0060] Calculating a compensation parameter gradient of the initial deviation compensation parameter;
[0061] Based on the compensation parameter gradient, an updated deviation compensation parameter of the initial deviation compensation parameter is updated using an intelligent calibration algorithm, wherein the intelligent calibration algorithm:
[0062]
[0063] in, represents the updated deviation compensation parameter of the initial deviation compensation parameter, represents the initial deviation compensation parameter, β represents the learning rate, represents the compensation parameter gradient, represents partial derivative, U represents loss function, ΔR represents color R channel compensation parameter corresponding to initial deviation compensation parameter, ΔG represents color G channel compensation parameter corresponding to initial deviation compensation parameter, ΔB represents color B channel compensation parameter corresponding to initial deviation compensation parameter, ΔCT represents brightness compensation parameter corresponding to initial deviation compensation parameter, ΔCT represents color temperature compensation parameter corresponding to initial deviation compensation parameter;
[0064] Calculating an updated compensation parameter gradient of the updated deviation compensation parameter;
[0065] Analyzing the gradient change rate of the updated compensation parameter gradient;
[0066] When the gradient change rate meets a preset gradient change threshold, the updated compensation parameter gradient is used as the deviation compensation parameter of the first calibrated finished RGB atmosphere lamp.
[0067] In order to solve the above problems, the present invention also provides a RGB atmosphere lamp finished product calibration system, the system comprising:
[0068] The atmosphere light initial calibration module is used to construct an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere light, collect multi-angle images of the LED chip, and identify chip defects of the LED chip based on the multi-angle images using the AOI defect detection algorithm. Based on the chip defects, the LED chip corresponding to the finished RGB atmosphere light is first calibrated to obtain a first calibrated finished RGB atmosphere light;
[0069] A sensing coordination module construction module, used for analyzing the atmosphere lamp characteristics of the first calibrated finished RGB atmosphere lamp, and configuring the sensing coordination module of the first calibrated finished RGB atmosphere lamp according to the atmosphere lamp characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor and an NFC module;
[0070] A calibration environment building module, used to calculate the synergy value of the sensing synergy module, and when the synergy value meets the preset synergy threshold, build a calibration environment for the first calibrated finished RGB atmosphere lamp, and define a reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value, and a color temperature reference value;
[0071] an atmosphere light deviation analysis module, for collecting output data of the first calibrated finished RGB atmosphere light in the calibration environment using the sensing collaboration module, preprocessing the output data using the trained optical model to obtain model-processed data, and calculating a deviation coefficient of the first calibrated finished RGB atmosphere light based on the model-processed data and the reference value;
[0072] The finished product RGB atmosphere light calibration module is used to construct an intelligent calibration algorithm for the first calibrated finished product RGB atmosphere light. Based on the deviation coefficient, the intelligent calibration algorithm is used to analyze the deviation compensation parameters of the first calibrated finished product RGB atmosphere light, and the second calibration of the first calibrated finished product RGB atmosphere light is performed in combination with the deviation compensation parameters to obtain the target finished product RGB atmosphere light.
[0073] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0074] at least one processor; and,
[0075] a memory communicatively connected to the at least one processor; wherein,
[0076] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the above-mentioned RGB atmosphere lamp finished product calibration method.
[0077] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned RGB atmosphere lamp finished product calibration method.
[0078] Compared with the problems described in the background technology, the present invention, based on the multi-angle image, utilizes the AOI defect detection algorithm to identify the chip defects of the LED chip for identifying defects on the LED chip, thereby providing a basis for the subsequent preliminary calibration of the B atmosphere lamp; further, based on the chip defects, the present invention performs a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp, and obtains a first calibrated finished RGB atmosphere lamp to meet the design standards, thereby improving the overall quality of the LED chip and user experience; further, the present invention configures the sensor coordination module of the first calibrated finished RGB atmosphere lamp according to the characteristics of the atmosphere lamp, thereby realizing the rapid collection and transmission of atmosphere lamp data, thereby improving the reliability of subsequent atmosphere lamp optimization; further, the present invention can ensure the stable operation of the subsequent sensor coordination module by calculating the coordination value of the sensor coordination module. The synergy value of the present invention meets the preset synergy threshold value, and the calibration environment of the first calibrated finished RGB atmosphere lamp can ensure that the RGB atmosphere lamp can be analyzed in different usage environments, thereby providing a basis for the subsequent optimization. Next, the present invention can automatically generate deviation compensation parameters according to the deviation coefficient by constructing the intelligent calibration algorithm of the first calibrated finished RGB atmosphere lamp to improve the performance of color output devices such as RGB atmosphere lamps, and ensure that their output is consistent with the expected target. Finally, the present invention performs the second calibration of the first calibrated finished RGB atmosphere lamp in combination with the deviation compensation parameters, and obtains the target finished RGB atmosphere lamp, which ensures that the RGB atmosphere lamp can accurately output color, brightness and color temperature according to the design requirements, thereby meeting the needs of users. Therefore, the present invention can improve the generation quality of the finished RGB atmosphere lamp. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 A schematic diagram of a process flow of a method for calibrating a finished RGB atmosphere lamp provided by an embodiment of the present invention;
[0080] Figure 2 A functional module diagram of a finished RGB atmosphere lamp calibration system provided by an embodiment of the present invention;
[0081] Figure 3 A schematic diagram of the structure of an electronic device of a finished RGB atmosphere lamp calibration system provided by an embodiment of the present invention;
[0082] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0083] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0084] The embodiment of the present application provides a method for calibrating a finished RGB atmosphere lamp. The execution subject of the method for calibrating a finished RGB atmosphere lamp includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the method for calibrating a finished RGB atmosphere lamp can be executed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0085] Embodiment 1:
[0086] Reference Figure 1 FIG. 1 is a flow chart of a method for calibrating a finished RGB atmosphere lamp according to an embodiment of the present invention. In this embodiment, the method for calibrating a finished RGB atmosphere lamp includes:
[0087] S1. Construct an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere light, collect multi-angle images of the LED chip, and based on the multi-angle images, use the AOI defect detection algorithm to identify chip defects of the LED chip, and based on the chip defects, perform a first calibration on the LED chip corresponding to the finished RGB atmosphere light to obtain a first calibrated finished RGB atmosphere light.
[0088] It should be explained that the AOI defect detection algorithm refers to a series of computer vision algorithms and technologies used to automatically detect various defects (such as solder joints, components, printing, surface flaws, etc.) in the manufacturing process of electronic products. The AOI defect detection algorithm can more efficiently and accurately identify the defects in the LED chips corresponding to the finished RGB atmosphere lights, thereby improving the quality of the finished RGB atmosphere lights. The multi-angle image refers to the image of the LED chip at multiple angles, which can be collected using a high-definition camera.
[0089] The present invention is based on the multi-angle image and utilizes the AOI defect detection algorithm to identify chip defects of the LED chip for identifying defects on the LED chip, thereby providing a basis for the subsequent preliminary calibration of the B atmosphere lamp.
[0090] In detail, based on the multi-angle image, using the AOI defect detection algorithm to identify the chip defects of the LED chip includes:
[0091] Converting the multi-angle image into a gray image to obtain a gray multi-angle image;
[0092] Detecting the image edge of the gray multi-angle image to obtain an edge multi-angle image;
[0093] Expanding the edge multi-angle image to obtain an expanded multi-angle image;
[0094] identifying defect features of the expanded multi-angle image;
[0095] Based on the defect features, the chip defects of the LED chip are identified using the AOI defect detection algorithm.
[0096] Among them, the gray multi-angle image refers to an image obtained by converting a color multi-angle image into a grayscale image, the edge multi-angle image refers to an image obtained by applying an edge detection algorithm (such as Canny, Sobel, etc.) to the gray multi-angle image, the expanded multi-angle image refers to an image obtained by performing a morphological expansion operation on the edge multi-angle image, the defect feature refers to the specific attributes of the defect identified in the expanded multi-angle image by image analysis technology, such as shape, size, position, texture, etc., and the chip defect refers to the actual physical defects on the LED chip, such as scratches, stains, cracks, embedded foreign matter and other defects.
[0097] Further, based on the defect feature, using the AOI defect detection algorithm to identify the chip defect of the LED chip includes:
[0098] Based on the defect characteristics, construct a defect characteristic map of the LED chip;
[0099] The convolution value of the defect feature map is calculated using the AOI defect detection algorithm, wherein the AOI defect detection algorithm:
[0100]
[0101] Among them, (c*q)(x,y) represents the convolution value of the defect feature map at the position (x,y), c represents the convolution kernel, q represents the defect feature map, (r,v) represents the coordinate position of the convolution kernel, α represents the bias term, ω(r,v) represents the weight of the convolution kernel at the coordinate position (r,v), ω represents the weight matrix, r represents the value of the convolution kernel on the x-axis, and v represents the value of the convolution kernel on the y-axis;
[0102] Based on the convolution value, a chip defect of the LED chip is identified.
[0103] Among them, the defect feature map represents a two-dimensional array related to defects in the LED chip image, the convolution value is the result of multiplying and summing the convolution kernel and the defect feature map at a specific position in the convolution operation, the convolution kernel is a small weight matrix, which slides on the defect feature map to perform the convolution operation, the bias term is a scalar value, which is added to the convolution value after the convolution operation to adjust the value of the output feature map, and the weight matrix refers to the set of weight values in the convolution kernel, which defines how the convolution kernel works in the convolution operation.
[0104] Based on the chip defects, the present invention performs a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp to meet the design standards, thereby improving the overall quality of the LED chip and user experience.
[0105] In detail, based on the chip defect, performing a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp includes:
[0106] Analyze the light impact of the chip defect on the finished RGB atmosphere lamp, and calculate the light impact degree of the light impact;
[0107] When the light influence degree meets a preset light influence threshold, analyzing defect characteristics of the chip defect;
[0108] Based on the defect characteristics and the light impact, define the object to be operated of the chip defect, wherein the object to be operated includes the LED chip hardware and LED chip software of the finished RGB atmosphere lamp;
[0109] Combining the defect characteristics, the light impact and the object to be operated, constructing a defect repair strategy for the LED chip;
[0110] Through the defect repair strategy, a first calibration is performed on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp.
[0111] Among them, the light impact refers to the negative effect of defects on the LED chip (such as scratches, stains, cracks, embedded foreign matter, etc.) on the light emitted by the LED, including light scattering, absorption, refraction, brightness reduction, color deviation, etc. The light impact degree refers to a quantitative indicator used to measure the specific impact of defects on the LED light output. The light impact threshold refers to a preset standard or limit used to determine whether the light impact degree is acceptable. The defect characteristics refer to the specific attributes of the defects, including the type of defects (such as scratches, cracks, etc.), size, shape, location, depth, distribution, etc. The LED chip hardware refers to the physical components of the LED chip, including semiconductor materials, electrodes, packaging materials, etc. These hardware parts may need to be replaced or repaired due to defects. The LED chip software refers to the software part that controls the light emission of the LED chip, including firmware, drivers, control algorithms, etc. These software can be programmed to adjust the brightness, color and other optical properties of the LED. The defect repair strategy is a set of operational plans formulated for the detected defects, including possible hardware replacement, physical repair, software adjustment or algorithm optimization steps, aiming to reduce or eliminate the impact of defects on LED performance. The first calibrated finished RGB atmosphere lamp refers to an RGB atmosphere lamp product whose optical performance has been adjusted according to the defect repair strategy after the preliminary calibration process to meet certain quality standards.
[0112] Optionally, the defect repair strategy for the LED chip is constructed by combining the defect characteristics, the light impact and the object to be operated. Hardware repair strategy: When the object to be operated is LED chip hardware, it may be necessary to replace the LED chip or perform physical repair. When the object to be operated is LED chip hardware: repair can be performed through the following strategies: adjusting LED drive current, using image processing algorithms to optimize light output, implementing adaptive brightness adjustment and color correction algorithms, etc.
[0113] S2. Analyze the atmosphere light characteristics of the first calibrated finished RGB atmosphere light, and configure the sensing coordination module of the first calibrated finished RGB atmosphere light according to the atmosphere light characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor and an NFC module.
[0114] It should be explained that the characteristics of the ambient light refer to the unique properties of the ambient light in terms of design and function, which determine the use effect, user experience and applicable scenarios of the ambient light, including: color change, brightness adjustment, color temperature adjustment, dimming mode and other characteristics.
[0115] The present invention configures the sensor coordination module of the first calibrated finished RGB atmosphere lamp according to the characteristics of the atmosphere lamp to realize the rapid collection and transmission of the atmosphere lamp data, so as to improve the reliability of the subsequent atmosphere lamp optimization.
[0116] In detail, configuring the sensing coordination module of the first calibrated finished RGB atmosphere lamp according to the characteristics of the atmosphere lamp includes:
[0117] According to the characteristics of the atmosphere lamp, analyzing the color monitoring requirements, brightness monitoring requirements and data transmission requirements of the first calibrated finished RGB atmosphere lamp;
[0118] Based on the color monitoring requirements and the brightness monitoring requirements, determining a high-precision color sensor and a high-precision brightness sensor for the first calibrated finished RGB atmosphere lamp;
[0119] According to the data transmission requirement, the NFC module of the first calibrated finished RGB atmosphere lamp is configured;
[0120] Integrate the high-precision color sensor, the high-precision brightness sensor, and the NFC module into the first calibrated finished RGB atmosphere lamp to obtain a sensing module;
[0121] Analyzing a module compatibility value of the sensor module;
[0122] When the module compatibility value meets the preset module compatibility threshold, a collaborative algorithm of the sensor module is constructed in combination with the data transmission requirement;
[0123] The collaborative algorithm is integrated into the sensing module to obtain the sensing collaborative module.
[0124] Among them, the color monitoring requirement refers to the requirement for color monitoring of the first calibrated finished RGB atmosphere lamp, the brightness monitoring requirement refers to the requirement for brightness monitoring of the first calibrated finished RGB atmosphere lamp, the data transmission requirement refers to the requirement for realizing data collection and transmission of the first calibrated finished RGB atmosphere lamp, the high-precision color sensor refers to a sensor with high color recognition accuracy and low latency to meet the color monitoring requirement, the high-precision brightness sensor refers to a sensor that can accurately measure the ambient brightness to meet the brightness monitoring requirement, the NFC module refers to a module for realizing data transmission requirements, the sensing module refers to installing the high-precision color sensor, the high-precision brightness sensor and the NFC module into the first calibrated finished RGB atmosphere lamp to obtain a sensing module, the module compatibility value refers to a value for evaluating whether the various components of the integrated sensing module can work effectively together, the module compatibility threshold refers to a threshold for judging whether the various components of the integrated sensing module are compatible, the collaborative algorithm refers to an algorithm for processing and integrating data from different sensors and enabling these sensors to work together, and the sensing collaborative module refers to a module that integrates components such as color sensors, brightness sensors, NFC modules, and realizes data fusion and intelligent control through collaborative algorithms.
[0125] S3. Calculate the coordination value of the sensing coordination module. When the coordination value meets the preset coordination threshold, construct the calibration environment of the first calibrated finished RGB atmosphere light, and define the reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value and a color temperature reference value.
[0126] The present invention can ensure the working stability and reliability of the subsequent sensing cooperation module by calculating the cooperation value of the sensing cooperation module, thereby providing a basis for the parameter optimization of the subsequent atmosphere light.
[0127] In detail, the calculating the synergy value of the sensing synergy module includes:
[0128] Collecting collaborative data of the sensor collaborative module;
[0129] filtering the collaborative data to obtain filtered collaborative data;
[0130] Extracting collaborative features of the filtered collaborative data, and constructing an Adam feature fusion optimization function of the collaborative features;
[0131] Using the Adam feature fusion optimization function, the collaborative features are fused to obtain a fused collaborative feature;
[0132] Defining the collaborative index of the sensor collaborative module;
[0133] Based on the fusion collaboration feature and the collaboration index, a collaboration value of the sensing collaboration module is calculated.
[0134] Among them, the collaborative data refers to the raw data collected from multiple sensors (such as high-precision color sensors, high-precision brightness sensors, NFC modules, etc.). These data usually include environmental color information, brightness levels, short-range communication information, etc. The filtered collaborative data refers to collaborative data that has undergone some filtering processing (such as sliding average, Kalman filtering, median filtering, etc.). The purpose of filtering is to remove noise and outliers in the data and improve the quality and reliability of the data. The collaborative features are meaningful information or attributes extracted from the filtered collaborative data, which can represent specific aspects or patterns of the data. The Adam feature fusion optimization function is a function based on the Adam (Adaptive Moment Estimation) optimization algorithm, which is used to optimize the feature fusion process in the machine learning model. The fused collaborative features refer to the new feature set obtained after processing by the Adam feature fusion optimization function. These features are the result of the fusion of multiple sensor data and can provide a more comprehensive description of the environment. The collaborative indicators are a set of standards or metrics for evaluating the performance of the sensor collaborative module, including color matching, brightness accuracy, response time, stability, energy efficiency, and data transmission efficiency. The collaborative value refers to a value that quantifies the overall performance of the sensor collaborative module.
[0135] Further, the calculating the synergy value of the sensing synergy module based on the fusion synergy feature and the synergy index includes:
[0136] Calculating an indicator synergy value of the synergy indicator according to the fusion synergy feature;
[0137] defining a synergy weight of the synergy indicator;
[0138] Based on the indicator synergy value and the synergy weight, the synergy value of the sensor synergy module is calculated using the following formula:
[0139]
[0140] Among them, SPI represents the cooperative value of the sensor cooperative module, σ cm represents the collaborative weight of the module accuracy in the collaborative index corresponding to the sensor collaborative module, cm represents the indicator collaborative value of the module accuracy in the collaborative index corresponding to the sensor collaborative module, θ 1 A constant representing the saturation speed used to control the module accuracy, σ La represents the collaborative weight of the module stability in the collaborative index corresponding to the sensor collaborative module, e represents the exponential function, La represents the index collaborative value of the module stability in the collaborative index corresponding to the sensor collaborative module, La minrepresents the minimum threshold of module stability in the cooperative index corresponding to the sensor cooperative module, θ 2 Represents the constant that controls the growth rate of the exponential function; σ RT represents the collaborative weight of the module response time in the collaborative index corresponding to the sensor collaborative module, RT represents the indicator collaborative value of the module response time in the collaborative index corresponding to the sensor collaborative module, θ 3 A constant that represents the degree to which the control module response time affects the coordination value.
[0141] Among them, the indicator synergy value refers to a quantitative value calculated separately for each synergy indicator (such as module accuracy, module stability, module response time), the synergy weight refers to the importance coefficient assigned to each synergy indicator, the module accuracy refers to the accuracy of the sensor synergy module in detecting and reporting environmental parameters (such as color, brightness, etc.), the module stability refers to the ability of the sensor synergy module to maintain performance consistency during long-term operation or under different environmental conditions, and the module response time refers to the time required for the sensor synergy module to detect environmental changes and output the corresponding signal.
[0142] In the present invention, when the synergy value meets the preset synergy threshold, constructing the calibration environment of the first calibrated finished RGB atmosphere lamp can ensure the effect analysis of the RGB atmosphere lamp in different usage environments, thereby providing a basis for subsequent optimization. In detail, the calibration environment refers to an environment with stable temperature and humidity conditions, which is not interfered by external light sources and can simulate different lighting conditions. Among them, the synergy threshold refers to a parameter for judging whether the sensing synergy module meets the synergy requirements, the color reference value refers to the standard color value that the RGB atmosphere lamp should emit under specific lighting conditions, the brightness reference value refers to the standard brightness level that the RGB atmosphere lamp should reach under specific lighting conditions, and the color temperature reference value refers to the standard color temperature that the light emitted by the RGB atmosphere lamp should have under specific lighting conditions.
[0143] S4. Use the sensing collaborative module to collect the output data of the first calibrated finished RGB atmosphere lamp in the calibration environment, use the trained optical model to preprocess the output data to obtain model-processed data, and calculate the deviation coefficient of the first calibrated finished RGB atmosphere lamp based on the model-processed data and the reference value.
[0144] It should be explained that the output data measures and records the lighting performance parameters of the first calibrated finished RGB atmosphere lamp under different lighting environments through the sensor, including color data, brightness data and color temperature data.
[0145] The present invention uses a trained optical model to preprocess the output data, and the obtained model-processed data can be converted or enhanced to facilitate subsequent analysis and calculation. The optical model refers to a machine learning model designed to process optical-related data (such as RGB values, brightness, color temperature, etc. of light), including data standardization, noise elimination, data enhancement and other operations.
[0146] The present invention calculates the deviation coefficient of the first calibrated finished RGB atmosphere lamp according to the model processing data and the reference value, so as to more comprehensively and accurately evaluate the performance of the RGB atmosphere lamp and take corresponding calibration measures.
[0147] In detail, the calculating the deviation coefficient of the first calibrated finished RGB atmosphere lamp according to the model processing data and the reference value includes:
[0148] Based on the light characteristics, analyzing the actual color value, the actual brightness value, and the actual color temperature value of the first calibrated finished RGB atmosphere light;
[0149] Performing color conversion on the color actual value and the color reference value corresponding to the reference value to obtain an actual Lab value and a reference Lab value;
[0150] Calculating the color deviation of the first calibrated finished RGB atmosphere lamp based on the actual Lab value and the reference Lab value;
[0151] Calculate an actual nonlinear brightness value and a reference nonlinear brightness value of a brightness reference value corresponding to the actual brightness value and the reference value;
[0152] Calculating the brightness deviation of the first calibrated finished RGB atmosphere lamp according to the actual non-linear brightness value and the reference non-linear brightness value;
[0153] Calculating the color temperature deviation of the first calibrated finished RGB atmosphere lamp based on the actual color temperature value and the color temperature reference value corresponding to the reference value;
[0154] The deviation coefficient of the first calibrated finished RGB atmosphere lamp is calculated by combining the color deviation, the brightness deviation and the color temperature deviation.
[0155] Among them, the actual color value refers to the actual color value of the RGB atmosphere light obtained by measurement, the actual brightness value refers to the actual brightness value of the RGB atmosphere light obtained by measurement, the actual color temperature value refers to the actual color temperature value of the RGB atmosphere light obtained by measurement, the actual Lab value is the value obtained by converting the actual color value from the RGB color space to the CIE Lab color space, the reference Lab value is the value obtained by converting the color reference value from the RGB color space to the CIE Lab color space, the color deviation is the color difference calculated by comparing the actual Lab value and the reference Lab value, the actual non-linear brightness value is the value after the actual brightness value is converted by a non-linear function, the reference non-linear brightness value is the value after the brightness reference value is converted by the same non-linear function, the brightness deviation is the difference calculated by comparing the actual non-linear brightness value and the reference non-linear brightness value, the color temperature deviation is the difference calculated by comparing the actual color temperature value and the color temperature reference value, which is used to quantify the deviation in color temperature perception, and the deviation coefficient refers to the overall deviation degree of the RGB atmosphere light from the reference value for comprehensive evaluation.
[0156] Optionally, the color deviation of the first calibrated finished RGB atmosphere light calculated based on the actual Lab value and the reference Lab value may be quantified using a CIEDE2000 color difference formula.
[0157] S5. Construct an intelligent calibration algorithm for the first calibrated finished RGB atmosphere light. Based on the deviation coefficient, use the intelligent calibration algorithm to analyze the deviation compensation parameters of the first calibrated finished RGB atmosphere light. Perform a second calibration of the first calibrated finished RGB atmosphere light in combination with the deviation compensation parameters to obtain a target finished RGB atmosphere light.
[0158] The present invention can automatically generate deviation compensation parameters according to the deviation coefficient by constructing the first calibrated finished RGB atmosphere lamp intelligent calibration algorithm to improve the performance of color output devices such as RGB atmosphere lamps, and ensure that their output is consistent with the expected target. Among them, the intelligent calibration algorithm refers to an algorithm that uses computer algorithms and data processing technology to automatically detect and adjust the output parameters of the device to achieve optimization and correction of the device performance. In detail, the intelligent calibration algorithm can be constructed using a gradient descent algorithm.
[0159] Optionally, based on the deviation coefficient, the present invention uses the intelligent calibration algorithm to analyze the deviation compensation parameters of the first calibrated finished RGB atmosphere lamp and can gradually adjust the deviation compensation parameters so that the output of the RGB atmosphere lamp is close to the target value, thereby improving the effect of the first calibrated finished RGB atmosphere lamp.
[0160] In detail, the method of analyzing the deviation compensation parameters of the first calibrated finished RGB atmosphere lamp using the intelligent calibration algorithm based on the deviation coefficient includes:
[0161] Based on the deviation coefficient, constructing initial deviation compensation parameters of the first calibrated finished RGB atmosphere lamp;
[0162] Calculating a compensation parameter gradient of the initial deviation compensation parameter;
[0163] Based on the compensation parameter gradient, an updated deviation compensation parameter of the initial deviation compensation parameter is updated using an intelligent calibration algorithm, wherein the intelligent calibration algorithm:
[0164]
[0165] in, represents the updated deviation compensation parameter of the initial deviation compensation parameter, represents the initial deviation compensation parameter, β represents the learning rate, represents the compensation parameter gradient, represents partial derivative, U represents loss function, ΔR represents color R channel compensation parameter corresponding to initial deviation compensation parameter, ΔG represents color G channel compensation parameter corresponding to initial deviation compensation parameter, ΔB represents color B channel compensation parameter corresponding to initial deviation compensation parameter, ΔCT represents brightness compensation parameter corresponding to initial deviation compensation parameter, ΔCT represents color temperature compensation parameter corresponding to initial deviation compensation parameter;
[0166] Calculating an updated compensation parameter gradient of the updated deviation compensation parameter;
[0167] Analyzing the gradient change rate of the updated compensation parameter gradient;
[0168] When the gradient change rate meets a preset gradient change threshold, the updated compensation parameter gradient is used as the deviation compensation parameter of the first calibrated finished RGB atmosphere lamp.
[0169] Among them, the initial deviation compensation parameter refers to the initial deviation compensation parameter set before calibration of the RGB atmosphere lamp, which includes the compensation parameters of the RGB color channels, the brightness compensation parameters and the color temperature compensation parameters. The compensation parameter gradient refers to the gradient of the loss function to the initial deviation compensation parameter, which is used to guide how to adjust the compensation parameter to minimize the loss function. The updated deviation compensation parameter refers to the deviation compensation parameter updated based on the compensation parameter gradient. The loss function refers to a function that measures the difference between the actual output and the target output. The color R channel compensation parameter refers to the deviation compensation parameter representing the red channel, the color G channel compensation parameter refers to the deviation compensation parameter of the green channel, the color B channel compensation parameter refers to the deviation compensation parameter of the blue channel, the brightness compensation parameter refers to the deviation compensation parameter of the brightness, the color temperature compensation parameter refers to the deviation compensation parameter of the color temperature, the updated compensation parameter gradient refers to the gradient calculated for the updated deviation compensation parameter, the gradient change rate refers to the rate of gradient change, the gradient change threshold refers to the preset gradient change threshold, when the gradient change rate is lower than this threshold, it is considered that the algorithm has converged, and the deviation compensation parameter refers to the final deviation compensation parameter, which is used to adjust the output of the RGB atmosphere lamp to reach the target value.
[0170] Optionally, the present invention may calculate the updated compensation parameter gradient of the updated deviation compensation parameter using a loss function.
[0171] Finally, the present invention performs the second calibration of the first calibrated finished RGB atmosphere lamp in combination with the deviation compensation parameter to obtain the target finished RGB atmosphere lamp, which ensures that the RGB atmosphere lamp can accurately output color, brightness and color temperature according to the design requirements, thereby meeting the needs of users. After completing this step, the RGB atmosphere lamp is calibrated.
[0172] Compared with the problems described in the background technology, the present invention, based on the multi-angle image, utilizes the AOI defect detection algorithm to identify the chip defects of the LED chip for identifying defects on the LED chip, thereby providing a basis for the subsequent preliminary calibration of the B atmosphere lamp; further, based on the chip defects, the present invention performs a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp, and obtains a first calibrated finished RGB atmosphere lamp to meet the design standards, thereby improving the overall quality of the LED chip and user experience; further, the present invention configures the sensor coordination module of the first calibrated finished RGB atmosphere lamp according to the characteristics of the atmosphere lamp, thereby realizing the rapid collection and transmission of atmosphere lamp data, thereby improving the reliability of subsequent atmosphere lamp optimization; further, the present invention can ensure the stable operation of the subsequent sensor coordination module by calculating the coordination value of the sensor coordination module. The synergy value of the present invention meets the preset synergy threshold value, and the calibration environment of the first calibrated finished RGB atmosphere lamp can ensure that the RGB atmosphere lamp can be analyzed in different usage environments, thereby providing a basis for the subsequent optimization. Next, the present invention can automatically generate deviation compensation parameters according to the deviation coefficient by constructing the intelligent calibration algorithm of the first calibrated finished RGB atmosphere lamp to improve the performance of color output devices such as RGB atmosphere lamps, and ensure that their output is consistent with the expected target. Finally, the present invention performs the second calibration of the first calibrated finished RGB atmosphere lamp in combination with the deviation compensation parameters, and obtains the target finished RGB atmosphere lamp, which ensures that the RGB atmosphere lamp can accurately output color, brightness and color temperature according to the design requirements, thereby meeting the needs of users. Therefore, the present invention can improve the generation quality of the finished RGB atmosphere lamp.
[0173] Embodiment 2:
[0174] like Figure 2 , which is a functional module diagram of a finished RGB atmosphere lamp calibration system provided by an embodiment of the present invention.
[0175] The RGB atmosphere lamp finished product calibration system 200 of the present invention can be installed in an electronic device. According to the functions to be implemented, the RGB atmosphere lamp finished product calibration system 200 can include an atmosphere lamp initial calibration module 201, a sensor coordination module construction module 202, a calibration environment construction module 203, an atmosphere lamp deviation analysis module 204 and a finished product RGB atmosphere lamp calibration module 205. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0176] In this embodiment, the functions of each module / unit are as follows:
[0177] The atmosphere lamp initial calibration module 201 is used to construct an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere lamp, collect multi-angle images of the LED chip, and identify chip defects of the LED chip based on the multi-angle images using the AOI defect detection algorithm, and perform a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp based on the chip defects to obtain a first calibrated finished RGB atmosphere lamp;
[0178] The sensing coordination module construction module 202 is used to analyze the atmosphere light characteristics of the first calibrated finished RGB atmosphere light, and configure the sensing coordination module of the first calibrated finished RGB atmosphere light according to the atmosphere light characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor and an NFC module;
[0179] The calibration environment building module 203 is used to calculate the synergy value of the sensing synergy module, and when the synergy value meets the preset synergy threshold, build the calibration environment of the first calibrated finished RGB atmosphere lamp, and define the reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value, and a color temperature reference value;
[0180] The atmosphere lamp deviation analysis module 204 is used to collect output data of the first calibrated finished RGB atmosphere lamp in the calibration environment using the sensing collaboration module, pre-process the output data using the trained optical model to obtain model-processed data, and calculate the deviation coefficient of the first calibrated finished RGB atmosphere lamp based on the model-processed data and the reference value;
[0181] The finished product RGB atmosphere light calibration module 205 is used to construct an intelligent calibration algorithm for the first calibrated finished product RGB atmosphere light. Based on the deviation coefficient, the intelligent calibration algorithm is used to analyze the deviation compensation parameters of the first calibrated finished product RGB atmosphere light, and the second calibration of the first calibrated finished product RGB atmosphere light is performed in combination with the deviation compensation parameters to obtain the target finished product RGB atmosphere light.
[0182] In detail, each module described in the RGB atmosphere lamp finished product calibration system 200 described in the embodiment of the present invention adopts the same technical means as the RGB atmosphere lamp finished product calibration method described in the accompanying drawings when used, and can produce the same technical effects, which will not be repeated here.
[0183] An embodiment of the present invention provides an electronic device for implementing a method for calibrating a finished RGB atmosphere lamp.
[0184] See also Figure 3As shown, the electronic device may include a processor 30, a memory 31, a communication bus 32 and a communication interface 33, and may also include a computer program stored in the memory 31 and executable on the processor 30, such as a RGB atmosphere lamp finished product calibration method program.
[0185] In some embodiments, the processor may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device, and executes or executes the programs or modules stored in the memory (for example, executing the RGB atmosphere lamp finished product calibration program, etc.), and calls the data stored in the memory to execute various functions of the electronic device and process data.
[0186] The memory includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory may also include both an internal storage unit and an external storage device of the electronic device. The memory can be used not only to store application software and various types of data installed in the electronic device, such as code based on the RGB atmosphere lamp finished product calibration program, but also to temporarily store data that has been output or is to be output.
[0187] The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory and at least one processor, etc.
[0188] The communication interface is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0189] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0190] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0191] The RGB atmosphere lamp finished product calibration program stored in the memory of the electronic device is a combination of multiple instructions, and when running in the processor, it can achieve:
[0192] Constructing an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere lamp, collecting multi-angle images of the LED chip, and based on the multi-angle images, using the AOI defect detection algorithm to identify chip defects of the LED chip, and based on the chip defects, performing a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp;
[0193] Analyze the atmosphere light characteristics of the first calibrated finished RGB atmosphere light, and configure the sensing coordination module of the first calibrated finished RGB atmosphere light according to the atmosphere light characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor, and an NFC module;
[0194] Calculate the synergy value of the sensing synergy module, and when the synergy value meets the preset synergy threshold, construct a calibration environment for the first calibrated finished RGB atmosphere lamp, and define a reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value, and a color temperature reference value;
[0195] The sensor collaborative module is used to collect output data of the first calibrated finished RGB atmosphere lamp in the calibration environment, the output data is preprocessed by using the trained optical model to obtain model-processed data, and the deviation coefficient of the first calibrated finished RGB atmosphere lamp is calculated according to the model-processed data and the reference value;
[0196] Construct an intelligent calibration algorithm for the first calibrated finished RGB atmosphere light, and based on the deviation coefficient, use the intelligent calibration algorithm to analyze the deviation compensation parameters of the first calibrated finished RGB atmosphere light, and perform a second calibration of the first calibrated finished RGB atmosphere light in combination with the deviation compensation parameters to obtain a target finished RGB atmosphere light.
[0197] Specifically, the specific implementation method of the processor for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0198] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0199] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0200] Constructing an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere lamp, collecting multi-angle images of the LED chip, and based on the multi-angle images, using the AOI defect detection algorithm to identify chip defects of the LED chip, and based on the chip defects, performing a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp;
[0201] Analyze the atmosphere light characteristics of the first calibrated finished RGB atmosphere light, and configure the sensing coordination module of the first calibrated finished RGB atmosphere light according to the atmosphere light characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor, and an NFC module;
[0202] Calculate the synergy value of the sensing synergy module, and when the synergy value meets the preset synergy threshold, construct a calibration environment for the first calibrated finished RGB atmosphere lamp, and define a reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value, and a color temperature reference value;
[0203] The sensor collaborative module is used to collect output data of the first calibrated finished RGB atmosphere lamp in the calibration environment, the output data is preprocessed by using the trained optical model to obtain model-processed data, and the deviation coefficient of the first calibrated finished RGB atmosphere lamp is calculated according to the model-processed data and the reference value;
[0204] Construct an intelligent calibration algorithm for the first calibrated finished RGB atmosphere light, and based on the deviation coefficient, use the intelligent calibration algorithm to analyze the deviation compensation parameters of the first calibrated finished RGB atmosphere light, and perform a second calibration of the first calibrated finished RGB atmosphere light in combination with the deviation compensation parameters to obtain a target finished RGB atmosphere light.
[0205] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0206] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0207] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0208] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0209] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0210] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0211] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems stated in a system claim can also be implemented by one unit or system through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for calibrating a finished RGB atmosphere lamp, characterized in that: The method comprises: Constructing an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere lamp, collecting multi-angle images of the LED chip, and based on the multi-angle images, using the AOI defect detection algorithm to identify chip defects of the LED chip, and based on the chip defects, performing a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp; Analyze the atmosphere light characteristics of the first calibrated finished RGB atmosphere light, and configure the sensing coordination module of the first calibrated finished RGB atmosphere light according to the atmosphere light characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor, and an NFC module; Calculate the synergy value of the sensing synergy module, and when the synergy value meets the preset synergy threshold, construct a calibration environment for the first calibrated finished RGB atmosphere lamp, and define a reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value, and a color temperature reference value; The sensor collaborative module is used to collect output data of the first calibrated finished RGB atmosphere lamp in the calibration environment, the output data is preprocessed by using the trained optical model to obtain model-processed data, and the deviation coefficient of the first calibrated finished RGB atmosphere lamp is calculated according to the model-processed data and the reference value; Construct an intelligent calibration algorithm for the first calibrated finished RGB atmosphere light, and based on the deviation coefficient, use the intelligent calibration algorithm to analyze the deviation compensation parameters of the first calibrated finished RGB atmosphere light, and perform a second calibration of the first calibrated finished RGB atmosphere light in combination with the deviation compensation parameters to obtain a target finished RGB atmosphere light.
2. The RGB atmosphere lamp finished product calibration method according to claim 1, characterized in that: The step of identifying chip defects of the LED chip based on the multi-angle image and using the AOI defect detection algorithm includes: Converting the multi-angle image into a gray image to obtain a gray multi-angle image; Detecting the image edge of the gray multi-angle image to obtain an edge multi-angle image; Expanding the edge multi-angle image to obtain an expanded multi-angle image; identifying defect features of the expanded multi-angle image; Based on the defect features, the chip defects of the LED chip are identified using the AOI defect detection algorithm.
3. The RGB atmosphere lamp finished product calibration method according to claim 2, characterized in that: The step of identifying the chip defects of the LED chip based on the defect features and using the AOI defect detection algorithm includes: Based on the defect characteristics, construct a defect characteristic map of the LED chip; The convolution value of the defect feature map is calculated using the AOI defect detection algorithm, wherein the AOI defect detection algorithm: Among them, (c*q)(x,y) represents the convolution value of the defect feature map at the position (x,y), c represents the convolution kernel, q represents the defect feature map, (r,v) represents the coordinate position of the convolution kernel, α represents the bias term, ω(r,v) represents the weight of the convolution kernel at the coordinate position (r,v), ω represents the weight matrix, r represents the value of the convolution kernel on the x-axis, and v represents the value of the convolution kernel on the y-axis; Based on the convolution value, a chip defect of the LED chip is identified.
4. The RGB atmosphere lamp finished product calibration method according to claim 3, characterized in that: Based on the chip defect, performing a first calibration on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp includes: Analyze the light impact of the chip defect on the finished RGB atmosphere lamp, and calculate the light impact degree of the light impact; When the light influence degree meets a preset light influence threshold, analyzing defect characteristics of the chip defect; Based on the defect characteristics and the light impact, define the object to be operated of the chip defect, wherein the object to be operated includes the LED chip hardware and LED chip software of the finished RGB atmosphere lamp; Combining the defect characteristics, the light impact and the object to be operated, constructing a defect repair strategy for the LED chip; Through the defect repair strategy, a first calibration is performed on the LED chip corresponding to the finished RGB atmosphere lamp to obtain a first calibrated finished RGB atmosphere lamp.
5. The RGB atmosphere lamp finished product calibration method according to claim 4, characterized in that: The sensing coordination module of configuring the first calibrated finished RGB atmosphere lamp according to the atmosphere lamp characteristics includes: According to the characteristics of the atmosphere lamp, analyzing the color monitoring requirements, brightness monitoring requirements and data transmission requirements of the first calibrated finished RGB atmosphere lamp; Based on the color monitoring requirements and the brightness monitoring requirements, determining a high-precision color sensor and a high-precision brightness sensor for the first calibrated finished RGB atmosphere lamp; According to the data transmission requirement, the NFC module of the first calibrated finished RGB atmosphere lamp is configured; Integrating the high-precision color sensor, the high-precision brightness sensor, and the NFC module into the first calibrated finished RGB atmosphere lamp to obtain a sensing module; Analyzing a module compatibility value of the sensor module; When the module compatibility value meets the preset module compatibility threshold, a collaborative algorithm of the sensor module is constructed in combination with the data transmission requirement; The collaborative algorithm is integrated into the sensing module to obtain the sensing collaborative module.
6. The RGB atmosphere lamp finished product calibration method according to claim 5, characterized in that: The calculating the coordination value of the sensing coordination module includes: Collecting collaborative data of the sensor collaborative module; filtering the collaborative data to obtain filtered collaborative data; Extracting collaborative features of the filtered collaborative data, and constructing an Adam feature fusion optimization function of the collaborative features; Using the Adam feature fusion optimization function, the collaborative features are fused to obtain a fused collaborative feature; Defining the collaborative index of the sensor collaborative module; Based on the fusion collaboration feature and the collaboration index, a collaboration value of the sensing collaboration module is calculated.
7. The RGB atmosphere lamp finished product calibration method according to claim 6, characterized in that: The calculating the coordination value of the sensing coordination module based on the fusion coordination feature and the coordination index includes: Calculating an indicator synergy value of the synergy indicator according to the fusion synergy feature; defining a synergy weight of the synergy indicator; Based on the indicator synergy value and the synergy weight, the synergy value of the sensor synergy module is calculated using the following formula: Among them, SPI represents the cooperative value of the sensor cooperative module, σ cm represents the collaborative weight of the module accuracy in the collaborative index corresponding to the sensing collaborative module, cm represents the indicator collaborative value of the module accuracy in the collaborative index corresponding to the sensing collaborative module, θ1 represents the constant used to control the saturation speed of the module accuracy, σ La represents the collaborative weight of the module stability in the collaborative index corresponding to the sensor collaborative module, e represents the exponential function, La represents the index collaborative value of the module stability in the collaborative index corresponding to the sensor collaborative module, La min represents the minimum threshold of module stability in the cooperative index corresponding to the sensor cooperative module, θ2 represents the constant corresponding to the growth rate of the control exponential function; σ RT It represents the collaborative weight of the module response time in the collaborative index corresponding to the sensing collaborative module, RT represents the indicator collaborative value of the module response time in the collaborative index corresponding to the sensing collaborative module, and θ3 represents the constant that controls the influence of the module response time on the collaborative value.
8. The RGB atmosphere lamp finished product calibration method according to claim 7, characterized in that: The calculating the deviation coefficient of the first calibrated finished RGB atmosphere lamp according to the model processing data and the reference value includes: Based on the light characteristics, analyzing the actual color value, the actual brightness value, and the actual color temperature value of the first calibrated finished RGB atmosphere light; Performing color conversion on the color actual value and the color reference value corresponding to the reference value to obtain an actual Lab value and a reference Lab value; Calculating the color deviation of the first calibrated finished RGB atmosphere lamp based on the actual Lab value and the reference Lab value; Calculate an actual nonlinear brightness value and a reference nonlinear brightness value of a brightness reference value corresponding to the actual brightness value and the reference value; Calculating the brightness deviation of the first calibrated finished RGB atmosphere lamp according to the actual non-linear brightness value and the reference non-linear brightness value; Calculating the color temperature deviation of the first calibrated finished RGB atmosphere lamp based on the actual color temperature value and the color temperature reference value corresponding to the reference value; The deviation coefficient of the first calibrated finished RGB atmosphere lamp is calculated by combining the color deviation, the brightness deviation and the color temperature deviation.
9. The RGB atmosphere lamp finished product calibration method according to claim 8, characterized in that: The step of analyzing the deviation compensation parameters of the first calibrated finished RGB atmosphere lamp using the intelligent calibration algorithm based on the deviation coefficient includes: Based on the deviation coefficient, constructing initial deviation compensation parameters of the first calibrated finished RGB atmosphere lamp; Calculating a compensation parameter gradient of the initial deviation compensation parameter; Based on the compensation parameter gradient, an updated deviation compensation parameter of the initial deviation compensation parameter is updated using an intelligent calibration algorithm, wherein the intelligent calibration algorithm: in, represents the updated deviation compensation parameter of the initial deviation compensation parameter, represents the initial deviation compensation parameter, β represents the learning rate, represents the compensation parameter gradient, represents partial derivative, U represents loss function, ΔR represents color R channel compensation parameter corresponding to initial deviation compensation parameter, ΔG represents color G channel compensation parameter corresponding to initial deviation compensation parameter, ΔB represents color B channel compensation parameter corresponding to initial deviation compensation parameter, ΔCT represents brightness compensation parameter corresponding to initial deviation compensation parameter, ΔCT represents color temperature compensation parameter corresponding to initial deviation compensation parameter; Calculating an updated compensation parameter gradient of the updated deviation compensation parameter; Analyzing the gradient change rate of the updated compensation parameter gradient; When the gradient change rate meets a preset gradient change threshold, the updated compensation parameter gradient is used as the deviation compensation parameter of the first calibrated finished RGB atmosphere lamp.
10. A finished RGB atmosphere lamp calibration system, characterized in that: The system is used to execute the RGB atmosphere lamp finished product calibration method according to any one of claims 1 to 9, and comprises: The atmosphere light initial calibration module is used to construct an AOI defect detection algorithm for the LED chip corresponding to the finished RGB atmosphere light, collect multi-angle images of the LED chip, and identify chip defects of the LED chip based on the multi-angle images using the AOI defect detection algorithm. Based on the chip defects, the LED chip corresponding to the finished RGB atmosphere light is first calibrated to obtain a first calibrated finished RGB atmosphere light; A sensing coordination module construction module, used for analyzing the atmosphere lamp characteristics of the first calibrated finished RGB atmosphere lamp, and configuring the sensing coordination module of the first calibrated finished RGB atmosphere lamp according to the atmosphere lamp characteristics, wherein the sensing coordination module includes a high-precision color sensor, a high-precision brightness sensor and an NFC module; A calibration environment building module, used to calculate the synergy value of the sensing synergy module, and when the synergy value meets the preset synergy threshold, build a calibration environment for the first calibrated finished RGB atmosphere lamp, and define a reference value of the calibration environment, wherein the reference value includes a color reference value, a brightness reference value, and a color temperature reference value; an atmosphere light deviation analysis module, for collecting output data of the first calibrated finished RGB atmosphere light in the calibration environment using the sensing collaboration module, preprocessing the output data using the trained optical model to obtain model-processed data, and calculating a deviation coefficient of the first calibrated finished RGB atmosphere light based on the model-processed data and the reference value; The finished product RGB atmosphere light calibration module is used to construct an intelligent calibration algorithm for the first calibrated finished product RGB atmosphere light. Based on the deviation coefficient, the intelligent calibration algorithm is used to analyze the deviation compensation parameters of the first calibrated finished product RGB atmosphere light, and the second calibration of the first calibrated finished product RGB atmosphere light is performed in combination with the deviation compensation parameters to obtain the target finished product RGB atmosphere light.
Citation Information
Cited By
Test execution assembly of photosensitive chip and image test system
CN122063421A