Search

CN-121612563-B - LED lamp testing method, device, testing equipment, testing system and storage medium

CN121612563BCN 121612563 BCN121612563 BCN 121612563BCN-121612563-B

Abstract

The application relates to the technical field of LED lamp testing and discloses an LED lamp testing method, an LED lamp testing device, an LED lamp testing equipment, an LED lamp testing system and a storage medium, wherein the method comprises the steps of generating corresponding adjusting parameters based on preset adjusting instructions, and sending the adjusting parameters to equipment to be tested so that the equipment to be tested can adjust an LED lamp and a camera according to the adjusting parameters; sending a shooting instruction to the equipment to be detected, so that the equipment to be detected irradiates the standard color card with the adjusted light emitted by the LED lamp, shooting the standard color card through the adjusted camera to obtain a target image, and obtaining a test result corresponding to the LED lamp according to the target image. According to the application, the integrated performance evaluation of the LED lamp on the equipment to be tested is realized by synchronously adjusting and collecting the cooperative output of illumination and imaging under the controllable condition, and the independent LED lamp is not required to be disassembled for testing, so that the testing flow is simplified.

Inventors

  • CHEN WENMING
  • ZHANG SHIMING
  • LV ZHOUJIN
  • LIU HAO
  • CHEN HUAN
  • ZHAO YANCHENG

Assignees

  • 深圳壹秘科技有限公司

Dates

Publication Date
20260512
Application Date
20260130

Claims (8)

  1. 1. The method is characterized in that the method is applied to test equipment in a test system, the test system further comprises a standard color card, the standard color card is arranged in the shooting direction of a camera of equipment to be tested, the equipment to be tested further comprises an LED lamp which is arranged on the same side as the camera, light rays emitted by the LED lamp irradiate the standard color card, and the test equipment is further connected with the equipment to be tested; the method comprises the following steps: Generating corresponding adjusting parameters based on a preset adjusting instruction, and sending the adjusting parameters to the equipment to be measured, so that the equipment to be measured adjusts the LED lamp and the camera according to the adjusting parameters; sending a shooting instruction to the equipment to be detected, so that the equipment to be detected irradiates the standard color card with the adjusted light emitted by the LED lamp, and shoots the standard color card through the adjusted camera to obtain a target image; Obtaining a test result corresponding to the LED lamp according to the target image; The standard color card comprises at least two color lump areas with different colors; the step of obtaining the test result corresponding to the LED lamp according to the target image comprises the following steps: detecting the target image through a preset image feature detection algorithm, and taking a region corresponding to the standard color card in the target image as a detection region; Dividing the detection areas based on the color block layout corresponding to the standard color card to obtain color block detection areas corresponding to the color block areas; Acquiring RGB data corresponding to each pixel point in each color block detection area, carrying out arithmetic average processing on the RGB data to acquire color block RGB data corresponding to each color block detection area, and acquiring a test result corresponding to the LED lamp based on the color block RGB data; the step of obtaining the test result corresponding to the LED lamp based on each color block RGB data includes: Converting each color block RGB data based on a standard conversion formula to obtain YUV color space data corresponding to each color block area and Lab color space data corresponding to each color block area; calculating average brightness according to each YUV color space data to obtain a brightness characteristic value, and determining a brightness deviation value according to a preset brightness characteristic value and the brightness characteristic value; Obtaining a color temperature characteristic value based on each Lab color space data, and determining a color temperature deviation value based on a preset color temperature characteristic value and the color temperature characteristic value; and under the condition that the brightness deviation value is smaller than a preset brightness tolerance and the color temperature deviation value is smaller than a preset color temperature deviation, taking the qualified test as a test result corresponding to the LED lamp.
  2. 2. The method of claim 1, wherein the Lab color space data comprises a red-green color component and a yellow Lan Sedu component; The step of obtaining the color temperature characteristic value based on each Lab color space data comprises the following steps: Performing arithmetic average processing on the red and green chrominance components corresponding to the color block areas to obtain a first arithmetic average value, and performing arithmetic average processing on the yellow and blue chrominance components corresponding to the color block areas to obtain a second arithmetic average value; and obtaining a color temperature characteristic value according to the first arithmetic mean value and the second arithmetic mean value.
  3. 3. The method of claim 1, wherein the test equipment in the test system is further connected to at least one standard equipment; The standard color card is arranged in the shooting direction of a standard camera of the standard device, the standard device further comprises a standard LED lamp which is arranged on the same side as the standard camera, and light rays emitted by the standard LED lamp irradiate the standard color card; before the step of sending the shooting instruction to the device to be detected, the method further comprises the following steps: sending the adjustment parameters to each standard device so that each standard device adjusts the standard LED lamp and the standard camera according to the adjustment parameters; Sending a test instruction to each standard device so that each standard device irradiates the standard color card with the light emitted by the adjusted standard LED lamp, and shooting the standard color card through the adjusted standard camera to obtain a standard image; And obtaining a preset brightness typical value, a preset color temperature typical value, a preset brightness tolerance and a preset color temperature tolerance according to the standard image.
  4. 4. A method according to claim 3, wherein the step of obtaining a preset brightness representative value, a preset color temperature representative value, a preset brightness tolerance, and a preset color temperature tolerance from the standard image comprises: identifying each standard image to obtain standard RGB data corresponding to each standard image; converting the standard RGB data of each standard image into standard YUV color space data, and carrying out average brightness calculation according to each standard YUV color space data to obtain a standard brightness characteristic value corresponding to each standard image; Carrying out average processing based on each standard brightness characteristic value to obtain a preset brightness typical value, and carrying out standard deviation processing based on each standard brightness characteristic value to obtain a preset brightness tolerance; Converting the standard RGB data of each standard image into standard Lab color space data, and obtaining a standard color temperature characteristic value corresponding to each standard image according to each standard Lab color space data; And obtaining a preset color temperature typical value and a preset color temperature tolerance based on each standard color temperature characteristic value through a preset geometric center algorithm.
  5. 5. An LED lamp testing device, the device comprising: The parameter adjusting module is used for generating corresponding adjusting parameters based on a preset adjusting instruction and sending the adjusting parameters to equipment to be measured so that the equipment to be measured can adjust the LED lamp and the camera according to the adjusting parameters; The image acquisition module is used for sending a shooting instruction to the equipment to be detected, so that the equipment to be detected irradiates the standard color card with the adjusted light emitted by the LED lamp, and shoots the standard color card through the adjusted camera to obtain a target image; The result acquisition module is used for acquiring a test result corresponding to the LED lamp according to the target image; The standard color card comprises at least two color lump areas with different colors; the LED lamp comprises a target image, a result acquisition module, a color block detection area, an arithmetic average processing module, a color block detection module and a test module, wherein the target image is detected through a preset image feature detection algorithm, and an area corresponding to the standard color card in the target image is used as a detection area; the result obtaining module is further configured to convert each color block RGB data based on a standard conversion formula to obtain YUV color space data corresponding to each color block region and Lab color space data corresponding to each color block region, perform average luminance calculation according to each YUV color space data to obtain a luminance characteristic value, determine a luminance deviation value according to a preset luminance typical value and the luminance characteristic value, obtain a color temperature characteristic value based on each Lab color space data, determine a color temperature deviation value based on a preset color temperature typical value and the color temperature characteristic value, and use the test qualification as a test result corresponding to the LED lamp when the luminance deviation value is smaller than a preset luminance tolerance and the color temperature deviation value is smaller than a preset color temperature deviation.
  6. 6. A test apparatus comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, the computer program being configured to implement the steps of the LED lamp test method according to any one of claims 1 to 4.
  7. 7. A test system comprising a standard color chip comprising at least two color patch areas of different colors and a test device according to claim 6.
  8. 8. A storage medium, characterized in that the storage medium is a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the LED lamp testing method according to any one of claims 1 to 4.

Description

LED lamp testing method, device, testing equipment, testing system and storage medium Technical Field The application relates to the technical field of LED lamp testing, in particular to an LED lamp testing method, an LED lamp testing device, an LED lamp testing equipment, an LED lamp testing system and a storage medium. Background With the development of society, the LED lamp is spread throughout the life of people, and testing the LED lamp becomes a core link for ensuring the quality, performance consistency and user experience of the LED lamp. The LED lamp test refers to a process of systematically evaluating and verifying key performance indexes of Light Emitting Diodes (LEDs) and modules and lamps thereof through a series of physical, optical and electrical measurement methods. In the existing method, offline measurement is mostly adopted, namely, when an LED lamp assembled in a terminal device (such as a camera) is tested, the LED lamp needs to be detached from the device to obtain an independent light source to be tested, and then the large-scale and professional testing device is used for independent measurement. The offline test mode has complicated steps and low efficiency, and can not be used for rapidly and nondestructively directly testing the LED lamp in an integrated state in a production line environment, so that the test cost is high and the process is complex. Disclosure of Invention The application mainly aims to provide a testing method for an LED lamp, which aims to solve the technical problem that the existing equipment to be tested which is assembled needs to be disassembled to obtain the LED lamp for independent measurement, so that the testing process is complex. In order to achieve the above purpose, the present application provides a method for testing an LED lamp, where the method is applied to a test device in a test system, the test system further includes a standard color chart, the standard color chart is disposed in a shooting direction of a camera of a device to be tested, the device to be tested further includes an LED lamp disposed on the same side as the camera, a light emitted by the LED lamp irradiates the standard color chart, and the test device is further connected with the device to be tested; the method comprises the following steps: Generating corresponding adjusting parameters based on a preset adjusting instruction, and sending the adjusting parameters to the equipment to be measured, so that the equipment to be measured adjusts the LED lamp and the camera according to the adjusting parameters; sending a shooting instruction to the equipment to be detected, so that the equipment to be detected irradiates the standard color card with the adjusted light emitted by the LED lamp, and shoots the standard color card through the adjusted camera to obtain a target image; and obtaining a test result corresponding to the LED lamp according to the target image. In one embodiment, the standard color chart includes at least two color patch areas of different colors; the step of obtaining the test result corresponding to the LED lamp according to the target image comprises the following steps: detecting the target image through a preset image feature detection algorithm, and taking a region corresponding to the standard color card in the target image as a detection region; Dividing the detection areas based on the color block layout corresponding to the standard color card to obtain color block detection areas corresponding to the color block areas; And acquiring RGB data corresponding to each pixel point in each color block detection area, carrying out arithmetic average processing on the RGB data to acquire color block RGB data corresponding to each color block detection area, and acquiring a test result corresponding to the LED lamp based on the color block RGB data. In an embodiment, the step of obtaining the test result corresponding to the LED lamp based on the preset measurement parameters and the RGB data of each color block includes: Converting each color block RGB data based on a standard conversion formula to obtain YUV color space data corresponding to each color block area and Lab color space data corresponding to each color block area; calculating average brightness according to each YUV color space data to obtain a brightness characteristic value, and determining a brightness deviation value according to a preset brightness characteristic value and the brightness characteristic value; Obtaining a color temperature characteristic value based on each Lab color space data, and determining a color temperature deviation value based on a preset color temperature characteristic value and the color temperature characteristic value; and under the condition that the brightness deviation value is smaller than a preset brightness tolerance and the color temperature deviation value is smaller than a preset color temperature tolerance, taking the qualified test as a test re