LED lamp detection circuit and device

By designing the LED lamp detection circuit, the main control chip and the acquisition module automatically compare the lighting parameters of the LED lamp, the problem of missed detection and missed detection caused by subjective judgment of manual detection is solved, the error rate is reduced, the detection efficiency is improved, and the detection efficiency is ensured. Light consistency and uniformity.

CN222259540UActive Publication Date: 2024-12-27TCL TECH ELECTRONICS (HUIZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420171645.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2024-12-27
Estimated Expiration
2034-01-23

AI Technical Summary

Technical Problem

In the prior art, there are problems of missed detection and misdetection caused by subjective judgment in the lighting parameters of LED lamps, resulting in a high rate of misdetection.

Method used

A LED lamp detection circuit is designed, including a collection module and a main control chip. The lighting parameters of the LED lamp are collected through the I2C bus, and compared with the preset parameter range, and abnormal prompt information is output to realize automatic detection.

Benefits of technology

It effectively avoids missed and missed detection of manual detection, reduces the rate of error detection, improves detection efficiency, and ensures the lighting consistency and uniformity of LED lamps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222259540U_ABST
    Figure CN222259540U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of electronic products, and discloses an LED lamp detection circuit and device, one end of an acquisition module of the circuit is connected with a main control chip through an I2C bus, and the other end of the acquisition module is connected with a plurality of LED lamps; the circuit acquires light parameters of each LED lamp through an acquisition module, and transmits each light parameter to a main control chip through an I2C bus; the main control chip compares the light parameters with a preset parameter range; and when the light parameters do not belong to the preset parameter range, the main control chip outputs corresponding prompt information indicating that the LED lamp is abnormal to a user. According to the utility model, the LED lamp parameters acquired by the acquisition module are compared with the preset range through the main control chip, so that automatic detection of the LED lamp is realized, undesirable conditions of missing detection, false detection and the like caused by subjective judgment in manual detection are avoided, and the false detection rate is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of electronic products, and in particular to an LED lamp detection circuit and a device. Background Art

[0002] As the demand for cool lighting effects in consumer electronic products increases, the number of light emitting diodes (LEDs) designed in electronic products increases, and the requirements for the consistency and uniformity of product lighting continue to increase. In order to ensure the lighting effect when the product is shipped, the color, brightness and other lighting parameters of LED lights are manually tested during the production process to screen out defective products that do not meet the specification requirements.

[0003] However, since the above method manually detects the product lighting, there are undesirable situations such as missed detection and false detection due to subjective judgment, resulting in a high false detection rate.

[0004] The above contents are only used to assist in understanding the technical solution of the present utility model and do not constitute an admission that the above contents are prior art. Utility Model Content

[0005] The main purpose of the utility model is to provide a method, device, equipment and storage medium for writing stream data, aiming to solve the technical problem that the existing technology uses manual detection of product lighting, and there are undesirable situations such as missed detection and false detection due to subjective judgment, resulting in a high false detection rate.

[0006] To achieve the above object, the utility model provides an LED light detection circuit, which includes: a collection module and a main control chip;

[0007] One end of the acquisition module is connected to the main control chip via an I2C bus, and the other end of the acquisition module is connected to a plurality of LED lights;

[0008] The acquisition module is used to collect the lighting parameters of each LED lamp and transmit the lighting parameters to the main control chip through the I2C bus;

[0009] The main control chip is used to compare each of the lighting parameters with a preset parameter range;

[0010] The main control chip is also used to output corresponding LED light abnormality prompt information to the user when the lighting parameters do not fall within the preset parameter range.

[0011] Optionally, the acquisition module includes: a switching unit and a color acquisition unit;

[0012] The switching unit is connected to the main control chip and the color acquisition unit respectively through the I2C bus, and the color acquisition unit is connected to each of the LED lamps respectively;

[0013] Wherein, the switching unit is extended with multiple I2C channels;

[0014] The main control chip is also used to send a channel selection signal to the switching unit;

[0015] The switching unit is used to open the target I2C channel corresponding to the channel selection signal when receiving the channel selection signal;

[0016] The color acquisition unit is used to collect the lighting parameters of each of the LED lights and transmit the lighting parameters to the main control chip in the target I2C channel.

[0017] Optionally, the color acquisition unit includes: a plurality of color sensors;

[0018] Each of the color sensors corresponds to each of the I2C channels, one end of each of the color sensors is connected to the corresponding I2C channel, and the other end of each of the color sensors is connected to the corresponding LED light;

[0019] The main control chip is also used to receive, in the target I2C channel, light parameters transmitted by the color sensor corresponding to the target I2C channel.

[0020] Optionally, the main control chip is further used to send a multi-channel selection signal to the switching unit;

[0021] The switching unit is further configured to, upon receiving the multi-channel selection signal, turn on a plurality of target I2C channels corresponding to the multi-channel selection signal;

[0022] The main control chip is also used to receive multiple lighting parameters transmitted by the corresponding multiple color sensors in each target I2C channel.

[0023] Optionally, the main control chip is further used to send a polling selection signal to the switching unit, so that each I2C channel in the switching unit is turned on by polling;

[0024] The main control chip is also used to receive the lighting parameters transmitted by the corresponding color sensor in the currently opened I2C channel.

[0025] Optionally, the switch unit includes: a first switch and a second switch;

[0026] A plurality of I2C channels are extended in the first switch and the second switch;

[0027] The control pin of the first switch is connected to the main control chip via an I2C bus, and each I2C channel pin of the first switch is connected to a corresponding color sensor respectively;

[0028] The control pin of the second switch is connected to the main control chip via an I2C bus, and each I2C channel pin of the second switch is connected to a corresponding color sensor.

[0029] Optionally, the color sensor includes: a plurality of first color sensors and a plurality of second color sensors;

[0030] One end of each of the first color sensors is connected to each I2C channel pin of the first switch, and the other end of each of the first color sensors is connected to different LED lights;

[0031] One end of each of the second color sensors is connected to each of the I2C channel pins of the second switch, and the other end of each of the second color sensors is connected to different LED lights.

[0032] Optionally, the first color sensor is used to collect a first light parameter of the connected LED lamp, and transmit the first light parameter to the main control chip in the turned-on I2C channel of the first switch;

[0033] The second color sensor is used to collect the second lighting parameter of the connected LED lamp, and transmit the second lighting parameter to the main control chip through the turned-on I2C channel of the second switch.

[0034] Optionally, the first switch and the second switch are both of model PCA9548APW;

[0035] The model of the first color sensor is JSA1502, and the model of the second color sensor is TCS34725.

[0036] In addition, to achieve the above-mentioned purpose, the utility model also provides an LED lamp detection device, which includes the LED lamp detection circuit mentioned above.

[0037] The utility model provides an LED light detection circuit and device, the LED light detection circuit includes: a collection module and a main control chip; one end of the collection module is connected to the main control chip through an I2C bus, and the other end of the collection module is connected to multiple LED lights; the circuit collects the light parameters of each LED light through the collection module, and transmits each light parameter to the main control chip through the I2C bus; the main control chip compares each light parameter with a preset parameter range; when there is a light parameter that does not belong to the preset parameter range, the main control chip outputs a corresponding LED light abnormal prompt information to the user. The utility model compares the LED light parameters collected by the collection module with the preset range through the main control chip to realize automatic detection of the LED light, avoids undesirable situations such as missed detection and false detection caused by subjective judgment in manual detection, and effectively reduces the false detection rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a schematic diagram of the structure of the first embodiment of the LED lamp detection circuit of the utility model;

[0039] Figure 2 This is a schematic diagram of the structure of the second embodiment of the LED lamp detection circuit of the utility model;

[0040] Figure 3 This is a schematic diagram of the structure of the third embodiment of the LED lamp detection circuit of the utility model;

[0041] Figure 4 This is a schematic diagram of the structure of the switching unit in the third embodiment of the LED lamp detection circuit of the utility model;

[0042] Figure 5 This is a schematic diagram of the structure of the LED detection based on JSA1502 and TCS34725 in the third embodiment of the LED lamp detection circuit of the utility model.

[0043] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] 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.

[0045] The technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments in the present invention, all embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.

[0046] It should be noted that the descriptions of "first", "second", etc. in the embodiments of the present utility model are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.

[0047] Reference Figure 1 , Figure 1 It is a structural schematic diagram of the first embodiment of the LED lamp detection circuit of the utility model.

[0048] like Figure 1 As shown, in this embodiment, the LED light detection circuit includes: a collection module 100 and a main control chip 200 .

[0049] One end of the acquisition module 100 is connected to the main control chip 200 via an I2C bus, and the other end of the acquisition module 100 is connected to a plurality of LED lights.

[0050] The acquisition module 100 is used to acquire the lighting parameters of each LED lamp and transmit the lighting parameters to the main control chip 200 via the I2C bus.

[0051] It should be noted that the above-mentioned lighting parameters may be parameters related to the consistency and uniformity of LED lighting, including parameters such as light color and brightness. For example, the lighting parameters may be used to determine whether the color or brightness of the light emitted by the LED lamp is the required color or brightness, and whether the color or brightness is consistent between different lamps and within the same lamp. LED lamps with consistent color or brightness can ensure that the lighting effects of different lamps are consistent, and there will be no color or brightness differences. The lighting parameters may also be used to determine whether the lighting effect of the LED lamp is uniform, that is, whether the brightness is the required brightness and whether the brightness is consistent, and whether there are obvious differences in light and dark within the lighting area. LED lamps with good light uniformity can achieve uniform and consistent lighting within the lighting area, avoiding situations where local brightness is too high or too low.

[0052] In a specific implementation, the acquisition module 100 can be connected to a plurality of LED lights to be detected, such as Figure 1The number of LED lamps connected to LED1, LED2, ..., LEDn can be set according to production requirements. The acquisition module 100 can communicate with the main control chip 200 based on the serial communication (Inter-Integrated Circuit, I2C) bus, and the acquisition module 100 and each LED lamp can also communicate based on the I2C bus, collect the lighting parameters of each LED lamp through the I2C bus, and then transmit the collected lighting parameters of each LED lamp to the main control chip 200 through the I2C bus.

[0053] The main control chip 200 is used to compare each of the lighting parameters with a preset parameter range.

[0054] It should be noted that the above-mentioned preset parameter range can be set in advance based on production requirements to determine whether the lighting parameters meet the range of lighting consistency and uniformity. That is, if the collected lighting parameters belong to the preset parameter range, it can be determined that the LED lamp meets the requirements of lighting consistency and uniformity. On the contrary, if the collected lighting parameters do not belong to the preset parameter range, it can be determined that the LED lamp does not meet the requirements of lighting consistency and uniformity.

[0055] In a specific implementation, the main control chip 200 may compare each lighting parameter with a preset parameter range. For a color value in a lighting parameter, the color value may be compared with a preset color value range in a preset parameter range, and for a brightness in a lighting parameter, the brightness value may be compared with a preset brightness value range in a preset parameter range.

[0056] It should be understood that the above-mentioned preset color value range is a pre-set parameter used to determine whether the light color meets the color requirements. The above-mentioned preset brightness value range can be a pre-set parameter used to determine whether the light brightness meets the brightness requirements.

[0057] The main control chip 200 is also used to output corresponding LED light abnormality prompt information to the user when the lighting parameters do not fall within the preset parameter range.

[0058] In a specific implementation, when the main control chip 200 detects that the lighting parameters of any LED lamp do not fall within the above-mentioned preset parameter range, that is, exceed the above-mentioned preset parameter range, it can determine that any LED lamp is abnormal, and output a prompt message of the abnormality of any LED lamp to the user, so that the user is informed that any LED lamp has an abnormality, thereby realizing automatic detection of LED lamps without manual detection, and avoiding adverse situations such as missed detection and false detection due to subjective judgment of manual detection, thereby reducing the false detection rate and also improving the detection efficiency.

[0059] It should be understood that if the lighting parameters of the LED lamp fall within the preset parameter range, the LED lamp can be determined to be normal without outputting prompt information to the user. In order to allow the user to confirm the detection situation, indication information indicating that the LED lamp is normal can also be output to the user, so that the user knows that the LED lamp is normal, making the detection process controllable and improving the detection efficiency.

[0060] The LED lamp detection circuit of this embodiment includes: a collection module and a main control chip; one end of the collection module is connected to the main control chip through the I2C bus, and the other end of the collection module is connected to multiple LED lamps; the light parameters of each LED lamp are collected by the collection module, and each light parameter is transmitted to the main control chip through the I2C bus; the main control chip compares each light parameter with a preset parameter range; when there is a light parameter that does not belong to the preset parameter range, the main control chip outputs the corresponding LED lamp abnormal prompt information to the user. This embodiment compares the LED lamp parameters collected by the collection module with the preset range through the main control chip. Automatic detection of LED lamps is achieved, avoiding undesirable situations such as missed detection and false detection caused by subjective judgment in manual detection, and effectively reducing the false detection rate.

[0061] refer to Figure 2 , Figure 2 It is a structural schematic diagram of the second embodiment of the LED lamp detection circuit of the present utility model.

[0062] Based on the above first embodiment, in this embodiment, the acquisition module 100 includes: a switch unit 101 and a color acquisition unit 102 .

[0063] The switch unit 101 is connected to the main control chip 200 and the color acquisition unit 102 respectively through the I2C bus, and the color acquisition unit 102 is connected to each of the LED lights respectively.

[0064] The switch unit 101 is extended with multiple I2C channels.

[0065] It should be noted that the above-mentioned I2C channel can be a path for the main control chip 200 to communicate with the color acquisition unit 102 through I2C. One I2C channel corresponds to one LED light, and each I2C channel is constructed based on the I2C bus. When any I2C channel is turned on, the above-mentioned main control chip 200 can communicate with the color acquisition unit 102 through the turned-on I2C channel, and obtain the light parameters of the LED light corresponding to any I2C channel on the turned-on I2C channel. Different light parameters are transmitted through different I2C channels, so that when the main control chip detects that the light parameters of any LED light are abnormal, it can determine the abnormal LED light according to the corresponding I2C channel, thereby realizing accurate detection of the LED light.

[0066] The main control chip 200 is also used to send a channel selection signal to the switching unit 101 .

[0067] It should be noted that the channel selection signal may be a signal for selecting an I2C channel in the switch unit 101 .

[0068] In a specific implementation, the channel selection signal can be triggered by the user through a related button on the main control chip 200. After triggering the channel selection signal, the main control chip 200 can send the channel selection signal to the switching unit 101 through the I2C bus to select the corresponding I2C channel to open.

[0069] The switching unit 101 is used to turn on the target I2C channel corresponding to the channel selection signal when receiving the channel selection signal.

[0070] In a specific implementation, the channel selection signal can be triggered by the user based on the LED light that needs to be detected. When receiving the channel selection signal, the switch unit 101 can turn on the target I2C channel corresponding to the LED light that the user needs to detect.

[0071] The color acquisition unit 102 is used to acquire the lighting parameters of each of the LED lights and transmit the lighting parameters to the main control chip 200 in the target I2C channel.

[0072] In a specific implementation, the color acquisition unit 101 is connected to a plurality of LED lamps, such as Figure 2 The color acquisition unit 102 can respectively acquire the light parameters of each LED lamp, and then when the target I2C channel in the switching unit 101 is turned on, determine the light parameters of the LED lamp corresponding to the target I2C channel, and then transmit the determined light parameters to the main control chip 200 in the target I2C channel.

[0073] In addition, when it is necessary to detect all LED lights connected to the color acquisition unit 102, the switching unit 101 can sequentially open each I2C channel according to the channel selection signal. After successfully transmitting the light parameters in any I2C channel, the next I2C channel can be opened to collect the light parameters of each LED light. All I2C channels can also be opened at the same time to transmit the corresponding light parameters in each I2C channel.

[0074] In this embodiment, the main control chip sends a channel selection signal to the switching unit; when the switching unit receives the channel selection signal, it turns on the target I2C channel corresponding to the channel selection signal; the color acquisition unit acquires the light parameters of each LED lamp, and transmits the light parameters to the main control chip in the target I2C channel. In this embodiment, the light parameters of each LED lamp are transmitted through the I2C channel corresponding to each LED lamp. Different light parameters are transmitted through different I2C channels, so that the transmission of each light parameter will not interfere with each other. When the main control chip detects that the light parameters of any LED lamp are abnormal, it can determine the abnormal LED lamp according to the corresponding I2C channel, thereby realizing accurate detection of the LED lamp.

[0075] refer to Figure 3 , Figure 3 It is a structural schematic diagram of the third embodiment of the LED lamp detection circuit of the present utility model.

[0076] Based on the above second embodiment, in this embodiment, the color acquisition unit 102 includes: a plurality of color sensors.

[0077] Each of the color sensors corresponds to each of the I2C channels, one end of each of the color sensors is connected to the corresponding I2C channel, and the other end of each of the color sensors is connected to the corresponding LED light.

[0078] like Figure 3 As shown, the color acquisition unit 102 may be composed of a plurality of color sensors, namely, color sensor 1, color sensor 2, ..., color sensor n. The number of the color sensors may be consistent with the number of LED lights to be detected. Since each LED light corresponds to an I2C channel, each color sensor also corresponds to each I2C channel.

[0079] It should be noted that the color sensor may be a sensor capable of detecting and identifying the color transmission of an LED light, such as an RGB sensor.

[0080] The main control chip 200 is further used to receive, in the target I2C channel, light parameters transmitted by the color sensor corresponding to the target I2C channel.

[0081] In a specific implementation, any color sensor can collect light parameters of the LED light connected thereto. When the target I2C channel in the switching unit 101 is turned on, any color sensor can transmit the collected light parameters to the main control chip 200 in the target I2C channel. Correspondingly, when there are multiple target I2C channels, the main control chip 200 can receive multiple parameters transmitted by multiple color sensors in each target I2C channel.

[0082] Furthermore, in this embodiment, the main control chip 200 is also used to send a multi-channel selection signal to the switching unit 101 .

[0083] The switching unit 101 is further configured to enable multiple target I2C channels corresponding to the multi-channel selection signal when receiving the multi-channel selection signal.

[0084] It should be noted that the multi-channel selection signal may be a signal for selecting and switching on multiple I2C channels in the switch unit 101 .

[0085] In a specific implementation, when the user needs to detect multiple LED lights, a multi-channel selection signal can be triggered in the main control chip 200, and the main control chip 200 can transmit the multi-channel selection signal to the switching unit 101 through the I2C bus. When the switching unit 101 receives the multi-channel selection signal, it can determine the multiple LED lights that need to be detected corresponding to the multi-channel selection signal, and then turn on the multiple target I2C channels corresponding to the determined multiple LED lights.

[0086] The main control chip 200 is also used to receive multiple lighting parameters transmitted by the corresponding multiple color sensors in each target I2C channel.

[0087] In a specific implementation, the target color sensor corresponding to any target I2C channel can transmit the collected color sensor to the main control chip 200 in any target I2C channel. Based on this, the main control chip 200 can receive multiple parameters transmitted by the corresponding multiple color sensors in multiple target I2C channels to realize the detection of multiple LED lights.

[0088] Furthermore, in this embodiment, the main control chip 200 is also used to send a polling selection signal to the switching unit 101, so that each I2C channel in the switching unit 101 is polled and turned on.

[0089] It should be noted that the above-mentioned polling selection signal may be a signal for selecting the I2C channels in the switching unit 101 to be turned on in sequence.

[0090] In a specific implementation, when the user needs to detect all LED lights connected to the color acquisition unit 102, the above-mentioned polling selection signal can be triggered in the main control chip 200. The main control chip 200 can send the polling selection signal to the switching unit 101 through the I2C bus. The switching unit 101 can then turn on the I2C channels in sequence to achieve polling turn-on.

[0091] Among them, each I2C channel can be numbered and sorted in advance, such as the first I2C channel is ranked first, and the subsequent I2C channels are the second I2C channel, the third I2C channel, etc. The polling start process can be to open the first I2C channel, successfully transmit the light parameters on the first I2C channel, complete the detection of the LED light, open the second I2C channel, successfully transmit the parameters on the second I2C channel, complete the detection of the LED light, open the third I2C channel, and open the subsequent I2C channels in this way, until all I2C channels are traversed to achieve the detection of each LED light.

[0092] The main control chip 200 is also used to receive the lighting parameters transmitted by the corresponding color sensor in the currently opened I2C channel.

[0093] In a specific implementation, any color sensor can transmit the light parameters it collects to the main control chip 200 through the corresponding I2C channel when its corresponding I2C channel is turned on. That is, the main control chip 200 can receive the light parameters transmitted by the corresponding color sensor in the currently turned on I2C channel. After receiving the light parameters, the LED light corresponding to the currently turned on I2C channel can be detected. The detection process can refer to the description of the above embodiment and will not be repeated here. By polling and turning on each I2C channel in turn, the detection of all LED lights can be achieved.

[0094] In this embodiment, the main control chip receives the light parameters transmitted by the color sensor corresponding to the target I2C channel in the target I2C channel, and when a multi-channel selection signal is received, multiple light parameters transmitted by the corresponding multiple color sensors are received in each target I2C channel. When a polling selection signal is received, the light parameters transmitted by the corresponding color sensor are received in the currently opened I2C channel, thereby realizing flexible detection of LED lights and effectively improving the accuracy of LED light detection.

[0095] Further, refer to Figure 4 , Figure 4 1 is a schematic diagram of the structure of the switch unit in the third embodiment of the LED lamp detection circuit of the utility model. In this embodiment, the switch unit 101 includes: a first switch 1011 and a second switch 1012 .

[0096] Multiple I2C channels are extended in the first switching switch 1011 and the second switching switch 1012; the control pin INT1 of the first switching switch is connected to the main control chip 200 through the I2C bus, and the I2C channel pins of the first switching switch 1011 are respectively connected to the corresponding color sensors; the control pin INT2 of the second switching switch is connected to the main control chip 200 through the I2C bus, and the I2C channel pins of the second switching switch 1012 are respectively connected to the corresponding color sensors.

[0097] like Figure 4 As shown, in this embodiment, the color sensor includes: a plurality of first color sensors and a plurality of second color sensors.

[0098] One end of each of the first color sensors is connected to each of the I2C channel pins of the first switching switch 1011, and the other end of each of the first color sensors is connected to different LED lights; one end of each of the second color sensors is connected to each of the I2C channel pins of the second switching switch 1012, and the other end of each of the second color sensors is connected to different LED lights.

[0099] It should be noted that when the number of LED lights to be detected is large, using a single switching switch cannot meet the demand. Therefore, in order to increase the number of LED lights detected, a first switching switch 1011 and a second switching switch 1012 can be set, and the number of I2C channels expanded by the first switching switch 1011 and the second switching switch 1012 is the same.

[0100] Among them, the color sensors connected to each I2C channel of the first switch 1011 are first color sensors, namely, first color sensor 1, first color sensor 2, ..., first color sensor n, and the number of first color sensors is consistent with the number of I2C channels of the first switch. The color sensors connected to each I2C channel of the second switch 1012 are second color sensors, namely, second color sensor 1, second color sensor 2, ..., second color sensor n, and the number of second color sensors is consistent with the number of I2C channels of the second switch.

[0101] Furthermore, in this embodiment, the first color sensor is used to collect a first lighting parameter of the connected LED lamp, and transmit the first lighting parameter to the main control chip 200 in the turned-on I2C channel of the first switch.

[0102] In a specific implementation, the first color sensor can collect the first light parameter of the LED lamp connected thereto, and then transmit the first light parameter to the main control chip 200 in the opened I2C channel when the I2C channel of the corresponding first switch is turned on.

[0103] The second color sensor is used to collect the second lighting parameter of the connected LED lamp, and transmit the second lighting parameter to the main control chip 200 in the turned-on I2C channel of the second switch.

[0104] In a specific implementation, the second color sensor can collect the second light parameter of the LED lamp connected thereto, and then transmit the second light parameter to the main control chip 200 in the opened I2C channel when the I2C channel of the corresponding second switch is turned on.

[0105] Furthermore, in this embodiment, the models of the first switch 1011 and the second switch 1012 are both PCA9548APW; the model of the first color sensor is JSA1502, and the model of the second color sensor is TCS34725.

[0106] For ease of understanding, refer to Figure 5 This is for illustration only, but does not limit this solution. Figure 5 This is a schematic diagram of the structure of the LED detection based on JSA1502 and TCS34725 in the third embodiment of the LED lamp detection circuit of the utility model. Figure 5In the example, the I2C expansion chip PCA9548APW is used as the first switch 1011 and the second switch 1012, the RGBJSA1502 is used as the first color sensor, and the RGB TCS34725 is used as the second color sensor, and the model of the main control chip 200 is ARM GD32F305RET6 LQFP64. The I2C expansion chip PCA9548APW has 8 I2C channels, so the number of RGB JSA1502 and RGB TCS34725 are both 8, each RGB JSA1502 is connected to an LED lamp, and each RGB TCS34725 is connected to an LED lamp, so the number of LED lamps that can be detected is 16. Both I2C expansion chips PCA9548APW are connected to ARM GD32F305RET6 LQFP64 through the I2C bus. Among them, the I2C expansion chip PCA9548APW as the first switching switch is connected to each RGB JSA1502 through its I2C channel, and the I2C expansion chip PCA9548APW as the second switching switch is connected to each RGB TCS34725 through its I2C channel. The ARMGD32F305RET6LQFP64 is connected to the USB socket through DM / DP and connected to the PC through the USB socket to communicate with the PC.

[0107] In the specific implementation, each I2C expansion chip PCA9548APW is powered by 3.3V. When testing LEDs, each RGBJSA1502 and each RGB TCS34725 are connected to the LED lamp through an optical fiber line, wherein the cut surface at one end of the optical fiber line is connected to the light-emitting surface of the LED lamp, and the cut surface at the other end of the optical fiber line is connected to the RGB JSA1502 and RGB TCS34725, so that the collection of light parameters such as red, green, blue, white, infrared, illumination and color temperature can be realized. After any RGB JSA1502 or any RGB TCS34725 collects the light parameters, it can transmit the collected light parameters to the main control chip through the I2C channel of the corresponding I2C expansion chip PCA9548APW. The main control chip detects the LED lamp based on the light parameters, and effectively intercepts defective products that do not meet the requirements such as color and brightness by comparing the light parameters with the preset parameter range, so as to ensure the consistency and uniformity of the light of the shipped products. By using automatic lamp inspection instead of manual lamp inspection, we can avoid missed inspections and false inspections caused by subjective judgment, and reduce the false detection rate; at the same time, the detection efficiency can be improved by using multiple I2C channels, and multiple LED channels can collect and judge at the same time, saving test costs. In addition, the main control chip communicates with the PC through the USB socket, and can record and upload the defect data in real time, which is convenient for maintenance tracing.

[0108] In addition, an embodiment of the utility model further provides an LED lamp detection device, which includes the LED lamp detection circuit described above.

[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0110] The serial numbers of the above-mentioned embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0111] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An LED lamp detection circuit, characterized in that: The LED light detection circuit includes: a collection module and a main control chip; One end of the acquisition module is connected to the main control chip via an I2C bus, and the other end of the acquisition module is connected to a plurality of LED lights; The acquisition module is used to collect the lighting parameters of each LED lamp and transmit the lighting parameters to the main control chip through the I2C bus; The main control chip is used to compare each of the lighting parameters with a preset parameter range; The main control chip is also used to output corresponding LED light abnormality prompt information to the user when the lighting parameters do not fall within the preset parameter range.

2. The LED lamp detection circuit according to claim 1, characterized in that: The acquisition module includes: a switching unit and a color acquisition unit; The switching unit is connected to the main control chip and the color acquisition unit respectively through the I2C bus, and the color acquisition unit is connected to each of the LED lamps respectively; Wherein, the switching unit is extended with multiple I2C channels; The main control chip is also used to send a channel selection signal to the switching unit; The switching unit is used to open the target I2C channel corresponding to the channel selection signal when receiving the channel selection signal; The color acquisition unit is used to collect the lighting parameters of each of the LED lights and transmit the lighting parameters to the main control chip in the target I2C channel.

3. The LED lamp detection circuit as claimed in claim 2, characterized in that: The color acquisition unit includes: a plurality of color sensors; Each of the color sensors corresponds to each of the I2C channels, one end of each of the color sensors is connected to the corresponding I2C channel, and the other end of each of the color sensors is connected to the corresponding LED light; The main control chip is also used to receive, in the target I2C channel, light parameters transmitted by the color sensor corresponding to the target I2C channel.

4. The LED lamp detection circuit as claimed in claim 3, characterized in that: The main control chip is also used to send a multi-channel selection signal to the switching unit; The switching unit is further configured to, upon receiving the multi-channel selection signal, turn on a plurality of target I2C channels corresponding to the multi-channel selection signal; The main control chip is also used to receive multiple lighting parameters transmitted by the corresponding multiple color sensors in each target I2C channel.

5. The LED lamp detection circuit as claimed in claim 3, characterized in that: The main control chip is further used to send a polling selection signal to the switching unit, so that each I2C channel in the switching unit is polled and turned on; The main control chip is also used to receive the lighting parameters transmitted by the corresponding color sensor in the currently opened I2C channel.

6. The LED lamp detection circuit according to any one of claims 3 to 5, characterized in that: The switch unit includes: a first switch and a second switch; A plurality of I2C channels are extended in the first switch and the second switch; The control pin of the first switch is connected to the main control chip via an I2C bus, and each I2C channel pin of the first switch is connected to a corresponding color sensor respectively; The control pin of the second switch is connected to the main control chip via an I2C bus, and each I2C channel pin of the second switch is connected to a corresponding color sensor.

7. The LED lamp detection circuit as claimed in claim 6, characterized in that: The color sensor comprises: a plurality of first color sensors and a plurality of second color sensors; One end of each of the first color sensors is connected to each I2C channel pin of the first switch, and the other end of each of the first color sensors is connected to different LED lights; One end of each of the second color sensors is connected to each of the I2C channel pins of the second switch, and the other end of each of the second color sensors is connected to different LED lights.

8. The LED lamp detection circuit as claimed in claim 7, characterized in that: The first color sensor is used to collect a first light parameter of the connected LED lamp, and transmit the first light parameter to the main control chip in the turned-on I2C channel of the first switch; The second color sensor is used to collect the second lighting parameter of the connected LED lamp, and transmit the second lighting parameter to the main control chip through the turned-on I2C channel of the second switch.

9. The LED lamp detection circuit according to claim 7, characterized in that: The first switch and the second switch are both of model PCA9548APW; The model of the first color sensor is JSA1502, and the model of the second color sensor is TCS34725.

10. An LED lamp detection device, characterized in that: The device comprises the LED lamp detection circuit according to any one of claims 1 to 9.