Search

CN-122016262-A - Method and system for detecting ultra-long atmosphere lamp

CN122016262ACN 122016262 ACN122016262 ACN 122016262ACN-122016262-A

Abstract

The invention discloses an ultralong atmosphere lamp detection method and system, wherein when an atmosphere lamp to be detected is placed on a corresponding atmosphere lamp fixture, a plurality of clamping mechanisms are controlled to clamp the atmosphere lamp, a plurality of acquisition cameras are controlled to move from two ends of the atmosphere lamp to the middle of the atmosphere lamp simultaneously, brightness value data and image data of a lighting area of the atmosphere lamp are captured in the moving process, the acquisition cameras send the brightness value data and the image data of the lighting area of the atmosphere lamp to a data processing module, the data processing module processes the image data and the brightness value data of the lighting area of the atmosphere lamp, the data processing module sends the processed data to a testing system, and the testing system performs optical contrast compensation on the processed data according to sample data of a test sample preset in the testing system. The invention can realize the full-area coverage detection of the ultra-long atmosphere lamp and improve the accuracy and efficiency of the detection.

Inventors

  • ZHOU ZHIWEI
  • SU JIANWEN

Assignees

  • 广州安通林灯具有限公司

Dates

Publication Date
20260512
Application Date
20260416

Claims (10)

  1. 1. The method for detecting the ultra-long atmosphere lamp is characterized by comprising the following steps of: When the atmosphere lamp to be detected is placed on a corresponding atmosphere lamp fixture, controlling a plurality of clamping mechanisms to clamp the atmosphere lamp; Controlling a plurality of acquisition cameras to move from two ends of the atmosphere lamp to the middle of the atmosphere lamp simultaneously, and capturing brightness value data and image data of a lighting area of the atmosphere lamp in the moving process; the plurality of acquisition cameras send the brightness value data and the image data of the atmosphere lamp light-emitting area to the data processing module, and the data processing module processes the image data and the brightness value data of the atmosphere lamp light-emitting area; The data processing module sends the processed data to a test system, and the test system performs optical contrast compensation on the processed data according to sample data of a test sample preset in the test system.
  2. 2. The method of claim 1, wherein the data processing module processes the brightness value data of the light emitting area of the atmosphere lamp comprises: performing a calculation operation of a brightness average value on the brightness value obtained by the atmosphere lamp light-emitting area; performing a calculation operation of luminance uniformity on the luminance values obtained by the atmosphere lamp light-emitting area; and performing a calculation operation of the brightness specific variation value on the brightness value acquired by the atmosphere lamp light-emitting area.
  3. 3. The method for detecting an ultralong ambient lamp as recited in claim 2, wherein the formula for calculating the average value of the brightness by the data processing module is: Where exp is a natural exponential function, N represents the total number of image pixels, lum (x, y) represents the luminance value of the pixel in the image with coordinates (x, y), and δ is a constant.
  4. 4. The method of claim 1, wherein the optical contrast compensation of the processed data by the test system according to sample data of a test sample preset in the test system comprises: s141, converting the obtained picture data into a two-dimensional light intensity matrix, and calculating a key uniformity index according to the two-dimensional light intensity matrix; S142, calling a model for calculating the compensation quantity according to the key uniformity index, and driving a compensator to execute preset compensation quantity on the obtained picture by the test system according to the required compensation quantity calculated by the model; s143, the test system compares, splices and combines the pictures after the compensation amount is executed, so as to form a larger overall image.
  5. 5. An ultralong atmosphere lamp detection system, characterized in that the ultralong atmosphere lamp detection system is configured to perform the ultralong atmosphere lamp detection method according to any one of claims 1 to 4; The ultra-long atmosphere lamp detection system comprises a workbench, a mounting bracket arranged on the workbench, a detection mechanism and a fixing mechanism; the detection mechanism is arranged at the top of the mounting bracket, the fixing mechanism is arranged on the workbench, and the detection mechanism is positioned right above the fixing mechanism; The detection mechanism comprises a plurality of acquisition cameras and a plurality of moving assemblies, the moving assemblies are connected end to end, and one acquisition camera is movably arranged on one moving assembly; any collection end of the collection camera faces the fixing mechanism, and the collection camera is driven by the moving assembly to move back and forth along the length direction of the moving assembly so as to achieve collection range coverage of the fixing mechanism.
  6. 6. The ultra-long atmosphere lamp detection system according to claim 5, wherein the moving assembly comprises a moving slide block, a mounting housing and a first driving motor, wherein the moving slide block is movably mounted on the mounting housing, and is connected with a screw rod arranged at an output end of the first driving motor, and any acquisition camera is mounted on the moving slide block; The acquisition camera is driven by the first driving motor to move back and forth along the length direction of the screw rod.
  7. 7. The ultra-long atmosphere lamp detection system according to claim 6, wherein the fixing mechanism comprises a mounting base and an atmosphere lamp fixture arranged on the mounting base; the atmosphere lamp fixture comprises a plurality of clamping blocks and a plurality of lamp strip clamping mechanisms, wherein the clamping blocks and the lamp strip clamping mechanisms are distributed in a staggered manner; The upper end surface of each clamping block is recessed to form a mounting groove for accommodating an atmosphere lamp.
  8. 8. The ultra-long atmosphere lamp inspection system according to claim 7, wherein any of the lamp strip clamping mechanisms comprises a clamping base, a first clamping jaw, a second clamping jaw and a second driving cylinder; The root of the first clamping jaw is fixed on the clamping base, the second driving cylinder is embedded in the clamping base, and the root of the second clamping jaw is fixedly connected with the output end of the second driving cylinder; The second clamping jaw is driven by the second driving cylinder to be close to the first clamping jaw or far away from the first clamping jaw.
  9. 9. The ultra-long atmosphere lamp detection system according to claim 8, wherein a lamp cap clamping mechanism is further arranged on the atmosphere lamp fixture, and comprises a clamping swing arm, a clamping pushing block and a clamping pushing rod; The clamping block is driven by the third driving cylinder to approach or depart from the corresponding clamping base, the clamping push rod is driven by the fourth driving cylinder to approach or depart from the corresponding clamping base, and the clamping swing arm is driven by the fifth driving cylinder to approach or depart from the corresponding clamping base.
  10. 10. The ultra-long atmosphere lamp detection system according to claim 5, wherein a plurality of light barriers are arranged on the mounting bracket, and the light barriers are distributed around and on top of the detection mechanism; The plurality of light blocking plates and the workbench are matched to form a detection space.

Description

Method and system for detecting ultra-long atmosphere lamp Technical Field The invention relates to the technical field of atmosphere lamp detection, in particular to a method and a system for detecting an ultralong atmosphere lamp. Background At present, when detecting an ultralong atmosphere lamp, a plurality of cameras are required to be used for collecting data, but although the models of the cameras are the same, small differences may exist in the manufacturing process of each sensor, and the pixel response is different, so that the pixel values of the same position in images collected by different cameras are different under the same illumination condition, the detection of parameters such as brightness and color of the ultralong atmosphere lamp is affected, and as the ultralong atmosphere lamp to be detected emits light when the whole product is required to be detected, when the optical measurement is carried out, the lighting angle is overlarge (namely, the light emitting area of the product far away from the direct position of the camera is detected), the brightness is distorted, and the detection accuracy is reduced. Disclosure of Invention The invention aims to overcome the defects of the prior art, and provides a method and a system for detecting an ultra-long atmosphere lamp, which can realize the full-area coverage detection of the ultra-long atmosphere lamp and improve the accuracy and the efficiency of the detection. The invention provides an ultralong atmosphere lamp detection method, which comprises the steps of controlling a plurality of clamping mechanisms to clamp an atmosphere lamp when the atmosphere lamp to be detected is placed on a corresponding atmosphere lamp fixture; Controlling a plurality of acquisition cameras to move from two ends of the atmosphere lamp to the middle of the atmosphere lamp simultaneously, and capturing brightness value data and image data of a lighting area of the atmosphere lamp in the moving process; the plurality of acquisition cameras send the brightness value data and the image data of the atmosphere lamp light-emitting area to the data processing module, and the data processing module processes the image data and the brightness value data of the atmosphere lamp light-emitting area; The data processing module sends the processed data to a test system, and the test system performs optical contrast compensation on the processed data according to sample data of a test sample preset in the test system. Preferably, the processing of the brightness value data of the light emitting area of the atmosphere lamp by the data processing module includes: performing a calculation operation of a brightness average value on the brightness value obtained by the atmosphere lamp light-emitting area; performing a calculation operation of luminance uniformity on the luminance values obtained by the atmosphere lamp light-emitting area; and performing a calculation operation of the brightness specific variation value on the brightness value acquired by the atmosphere lamp light-emitting area. Preferably, the formula for calculating the average brightness by the data processing module is as follows: Where exp is a natural exponential function, N represents the total number of image pixels, lum (x, y) represents the luminance value of the pixel with coordinates (x, y) in the image, and δ is a small constant for avoiding the occurrence of negative infinity when taking the logarithm. Preferably, the optical contrast compensation of the processed data by the test system according to the sample data of the test sample preset in the test system includes: s141, converting the obtained picture data into a two-dimensional light intensity matrix, and calculating a key uniformity index according to the two-dimensional light intensity matrix; S142, calling a model for calculating the compensation quantity according to the key uniformity index, and driving a compensator to execute preset compensation quantity on the obtained picture by the test system according to the required compensation quantity calculated by the model; s143, the test system compares, splices and combines the pictures after the compensation amount is executed, so as to form a larger overall image. The invention also provides an ultra-long atmosphere lamp detection system, which is used for executing the ultra-long atmosphere lamp detection method; The ultra-long atmosphere lamp detection system comprises a workbench, a mounting bracket arranged on the workbench, a detection mechanism and a fixing mechanism; the detection mechanism is arranged at the top of the mounting bracket, the fixing mechanism is arranged on the workbench, and the detection mechanism is positioned right above the fixing mechanism; The detection mechanism comprises a plurality of acquisition cameras and a plurality of moving assemblies, the moving assemblies are connected end to end, and one acquisition camera is movably arranged on one moving assem