A PCB board lamp bead defect detection method, device and storage medium

Through the automated detection method, the reference value and the detection image are used to calculate the confidence, which solves the problems of low manual detection efficiency and eye damage, achieves efficient and accurate lamp bead detection, protects the health of workers and reduces the missed detection rate.

CN118464385BActive Publication Date: 2024-10-25JIANGSU BOLAI IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410551975.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-10-25
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

In the PCB board production process, when manually checking whether the lamp beads are on normally, long-term naked eye observation will cause damage to the eyes, which is inefficient and easy to miss, affecting the yield.

Method used

A PCB board lamp bead defect detection method is adopted. By obtaining the reference value and detection image, calculating the confidence level and comparing it with the preset experience value, it can automatically determine whether the lamp bead is qualified, reduce manual naked eye observation, protect eyes and improve detection efficiency.

Benefits of technology

It effectively protects the health of workers, improves detection efficiency, reduces the probability of missed detection, and improves identification accuracy by correcting ambient light interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118464385B_ABST
    Figure CN118464385B_ABST
Patent Text Reader

Abstract

The present application relates to the field of PCB board production, and in particular to a PCB board lamp bead defect detection method, device and storage medium, which includes obtaining a reference value; receiving a detection signal, obtaining a detection image; determining a confidence level by comparing the detection image with the reference value; comparing and judging the confidence level with a preset experience value, if the confidence level is greater than the experience value, outputting a result signal indicating a qualified result; if the confidence level is less than the experience value, outputting a result signal indicating an unqualified result. The present application has the effect of protecting the health of workers and improving efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of PCB board production, and in particular to a PCB board lamp bead defect detection method, device and storage medium. Background Art

[0002] Today, as people's economic conditions are getting better and better, but the traffic conditions in the city are getting worse and worse, more and more young people and office workers who travel frequently choose two-wheeled new energy electric vehicles for travel. The instruments of two-wheeled electric vehicles need to use PCB boards, and the light beads on them display information such as speed, power, and turn signals.

[0003] However, in the production process of PCB boards, workers are required to check whether the lamp beads light up normally after being powered on. However, observing the lamp beads with the naked eye for a long time is extremely harmful to the eyes of the inspectors. After such irritating observation for a long time, it is easy to become distracted, resulting in missed inspections, greatly reducing efficiency, and affecting subsequent processes, resulting in a decrease in the yield rate. Summary of the invention

[0004] In order to improve the problem of low efficiency of manual detection and easy damage to the eyes, the present application provides a PCB board lamp bead defect detection method, device and storage medium.

[0005] The present application provides a method for detecting defects in PCB lamp beads, which adopts the following technical solutions:

[0006] A method for detecting defects of PCB lamp beads, comprising:

[0007] Get the benchmark value;

[0008] Receive detection signals and obtain detection images;

[0009] Determining the confidence level by comparing the detection image with the reference value;

[0010] By comparing the confidence level with a preset experience value, if the confidence level is greater than the experience value, a result signal indicating a qualified result is output; if the confidence level is less than the experience value, a result signal indicating an unqualified result is output.

[0011] By adopting the above technical solution, the lamp beads on the PCB board are identified and compared and calculated, so as to automatically complete the detection of whether the lamp beads can be lit normally, whether the color is within the normal range, etc., without the need for staff to observe with the naked eye, thereby protecting the health of the staff, improving the detection efficiency, and reducing the probability of missed detection.

[0012] Optionally, obtaining the benchmark value includes:

[0013] Acquire a reference image;

[0014] Determining a reference area image by comparing the reference image with a preset comparison area;

[0015] Determine a reference color parameter by using the reference area image and a preset color model;

[0016] A plurality of the reference color parameters are calculated to form a reference parameter, and the reference parameter is used as a reference value.

[0017] By adopting the above technical solution, a plurality of reference color parameters are calculated according to a certain algorithm to form a reference parameter, which is convenient for subsequent comparative calculation and makes the calculation, recognition and judgment of color more accurate.

[0018] Optionally, determining the confidence by comparing the detection image with the reference value includes:

[0019] Determine a comparison image by using the detection image and the comparison area;

[0020] Determine the detection color parameter by using the comparison image and the color model;

[0021] Calculating a plurality of the detection color parameters to form a detection parameter;

[0022] The confidence level is determined by the detection parameter and the reference value.

[0023] By adopting the above technical solution, the multiple identified detection color parameters are unified into one detection parameter, the confidence is obtained by comparing the detection parameter with the reference parameter, and the result signal can be obtained by comparing the confidence with the empirical value, which is convenient, fast and accurate.

[0024] Optionally, before determining the confidence by comparing the detection image with the reference value, the method further includes:

[0025] Get the original color reference value and the current original color value;

[0026] Determine the environmental influencing factor by using the primary color reference value and the current primary color value;

[0027] Performing correction calculation on the detected color parameters according to the environmental influencing factors;

[0028] The detected color parameters after correction calculation replace the original detected color parameters to participate in subsequent calculations.

[0029] By adopting the above technical solution, the influence of the current ambient light on the recognition is obtained through the primary color reference value and the current primary color value, and then the detection color parameters are corrected according to the environmental influencing factors to reduce the interference of the ambient light, so as to obtain the actual light color of the lamp bead more accurately.

[0030] Optionally, also include:

[0031] Get the test batch;

[0032] Storing the detection image and the result signal in a database through the corresponding detection batch;

[0033] The result signals stored in the database are statistically determined to determine the number of qualified products, the number of defects, and the qualified rate, and then output;

[0034] If the pass rate is lower than a preset pass threshold, an alarm signal is output.

[0035] By adopting the above technical solution, an alarm signal is automatically output to remind the staff when the pass rate is too low, so that the staff can check whether there is a problem with the device or algorithm, such as occlusion on the camera lens, program burning error, etc., to facilitate self-inspection.

[0036] Optionally, determining the confidence by comparing the detection image with the reference value further includes:

[0037] Determining the interference distance by using a plurality of the comparison areas;

[0038] Determining the interference factor by using the interference distance and a preset interference threshold;

[0039] The reference parameter is corrected and calculated using the interference factor, and the corrected reference parameter is used as the reference value in subsequent calculations.

[0040] By adopting the above technical solution, the probability of a lamp bead having the wrong color and irradiating the wrong light to other lamp beads, resulting in the identification of other lamp beads being unqualified, is reduced, and the mutual interference between the lamp beads is reduced, making the identification more accurate.

[0041] Optionally, also include:

[0042] Get the simulated light source parameters;

[0043] Determine the simulated detection parameter by using the simulated light source parameter and the detected color parameter;

[0044] A simulation parameter is formed by calculating the simulation detection parameter;

[0045] Determining a confidence simulation degree by using the simulation parameter and the reference value;

[0046] The confidence level and the confidence simulation level are compared with the empirical value to obtain a result signal.

[0047] By adopting the above technical scheme, by simulating the lighting in the use environment, the color of the lamp beads in the use environment, that is, the simulation parameters, are obtained, so that the color of the lamp beads in the use environment can be judged whether it is qualified, and at the same time, whether the actual color of the lamp beads is qualified can be judged, thereby further improving the accuracy of judgment.

[0048] The present application provides a PCB board lamp bead defect detection device, which adopts the following technical solution:

[0049] A PCB board lamp bead defect detection device, comprising:

[0050] The power supply module is used to supply power to the lamp beads on the PCB board to be tested;

[0051] A switching module, used to control the switching between the power supply module and the lamp beads on the PCB board;

[0052] An identification module is used to identify the lamp beads on the PCB board after power is turned on to obtain the detection image;

[0053] A processing module receives the detection image and performs data calculation and storage to obtain the result signal;

[0054] The display module receives the detection image and the result signal and displays them to the staff for viewing.

[0055] By adopting the above technical solution, the conduction and disconnection of the lamp beads on the PCB board are realized through the on-off module and the power supply module, the identification is carried out through the identification module, the calculation and judgment are carried out through the processing module, and finally the display module is used to display it to the staff for viewing, which is convenient, fast and efficient.

[0056] Optionally, it includes a frame, an identification cavity is formed in the frame, the frame is also penetrated by a detection slot for placing a PCB board, the PCB board covers the opening surface of the detection slot, the detection slot is connected to the upper end of the identification cavity, the power supply module includes a pin for electrically connecting to the socket strip on the PCB board placed in the detection slot, the on-off module includes a driving member for driving the pin to move, and the identification module includes an identification member installed in the identification cavity to identify the PCB board on the opening surface of the detection slot.

[0057] By adopting the above technical solution, the plugging and unplugging of the pin and the PCB board is controlled by the driving component to realize electrical connection, power supply and circuit breaking, and the detection image is obtained by identifying the lamp beads on the PCB board through the identification component.

[0058] The present application provides a computer-readable storage medium, which adopts the following technical solution:

[0059] A computer-readable storage medium stores a computer program of a PCB lamp bead defect detection method that can be loaded and executed by a processor.

[0060] By adopting the above technical solution, the computer program is stored in a computer-readable storage medium.

[0061] In summary, the present application includes at least one of the following beneficial technical effects:

[0062] 1. Protect the health of staff, improve detection efficiency, and reduce the probability of missed detection.

[0063] 2. Calculate multiple reference color parameters according to a certain algorithm and unify them into one reference parameter, which is convenient for subsequent comparative calculation and makes the calculation, recognition and judgment of color more accurate.

[0064] 3. Reduce the interference of ambient light, so as to obtain the actual light color of the lamp beads more accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a logical schematic diagram of a PCB board lamp bead defect detection method in an embodiment of the present application.

[0066] Figure 2 is a flow chart of step S2.

[0067] Figure 3 It is a flowchart of step S3.

[0068] Figure 4 It is a flowchart of step S4.

[0069] Figure 5 It is a flowchart diagram of step S5.

[0070] Figure 6 It is a flowchart of step S6.

[0071] Figure 7 It is a flowchart of step S7.

[0072] Figure 8 It is a schematic diagram of the overall structure of a PCB board lamp bead defect detection device in an embodiment of the present application.

[0073] Fig. 9 It is a schematic diagram of the structure in which the side wall of the rack is hidden to highlight the identification module.

[0074] Description of reference numerals: 1. power supply module; 11. rack; 12. identification chamber; 13. detection slot; 14. pin; 141. lifting plate; 142. power supply; 2. on-off module; 21. driving member; 3. identification module; 31. identification member; 32. light source; 4. processing module; 41. button; 5. display module; DETAILED DESCRIPTION

[0075] The following is combined with Figure 1-9 This application is described in further detail.

[0076] The present application embodiment discloses a method for detecting defects in PCB lamp beads. Figure 1 , the PCB board lamp bead defect detection method includes the following steps:

[0077] S1. Obtaining a reference value;

[0078] S11, receiving a detection signal;

[0079] S12, obtaining a detection image;

[0080] S13, determining the confidence level by comparing the detected image with the reference value;

[0081] S14. Compare and judge by comparing the confidence level with the preset experience value. If the confidence level is greater than the experience value, output a result signal indicating that the product is qualified; if the confidence level is less than the experience value, output a result signal indicating that the product is unqualified.

[0082] In detail: suppose the benchmark value is 20, the experience value is 95%, the acquired detection images a, b, c are 18, 19, 21, and the corresponding confidence levels of a, b, c are calculated to be 18 / 20*100%=90%, 95%, 95% respectively. Therefore, a fails, while b and c pass. In simple terms, the confidence level is the degree of similarity between the detection image and the benchmark value.

[0083] Reference Figure 2 , step S1 comprises the following steps:

[0084] S2, obtaining a reference image;

[0085] S21, determining a reference area image by comparing the reference image with a preset comparison area;

[0086] S22, determining a reference color parameter by using the reference area image and a preset color model;

[0087] S23, calculating a plurality of reference color parameters to form a reference parameter, and the reference parameter is used as a reference value.

[0088] In detail: the reference image is a picture used as a reference, which can be directly generated through the reference color, or a standard PCB board is taken as a reference through a camera, and the obtained picture is the reference image; the comparison area is the area that needs to be intercepted as a reference. For example, 30 lamp beads are installed on this PCB board, then in the reference image, the positions of these 30 lamp beads need to be marked and the areas where the 30 lamp beads are located need to be intercepted respectively, and the intercepted area is as small as possible, so small that it just includes the lamp beads, and as little as possible The image at other positions on the PCB board is included, this area is the comparison area, and the intercepted image used as a reference is the reference area image; the color model is a model that converts the color in the image into data, such as the RGB (red, green, and blue) model, the CMYK (cyan, magenta, yellow, and black) model, etc. In this embodiment, the RGB model is used. The model is used as an example. The reference area image is calculated and converted through the RGB model, and the obtained parameters are the reference color parameters, such as (250 (red), 250 (green), 210 (blue)). Then the reference color parameter (250, 250, 210) is calculated to form a reference parameter. For example, 250+250+210=710, then 710 is the reference parameter. The reference color parameter can also be calculated through a certain coefficient to form a reference parameter, that is, each parameter in the reference color parameter is calculated through different weight coefficients, such as 250*X1+250*X2+210*X3, X1 is 1, X2 is 0.9, and X3 is 0.8. At this time, the reference parameter is 250*1+250*0.9+210*0.8=643, and the reference parameter is obtained. This reference parameter is used as the reference value in subsequent calculations.

[0089] Reference Figure 3 , step S13 comprises the following steps:

[0090] S3, determining a comparison image by detecting the image and the comparison area;

[0091] S31, determining the detection color parameters by comparing the image with the color model;

[0092] S32, calculating a plurality of detection color parameters to form a detection parameter;

[0093] S33. Determine the confidence level by testing the parameters and the reference value.

[0094] In detail: the detection parameters obtained from the contrast image of the detection image corresponding to the contrast area are compared with the reference value obtained from the reference area image corresponding to the same contrast area to obtain the confidence level. For example, if the reference value is 643 and the detection parameter is 640, the confidence level is 640 / 643=99.5%.

[0095] Reference Figure 4, further comprising the following steps:

[0096] S4, obtaining the primary color reference value and the current primary color value;

[0097] S41, determining environmental influencing factors according to the primary color reference value and the current primary color value;

[0098] S42, performing correction calculation on the detected color parameters according to environmental influencing factors;

[0099] S43, replacing the original detection color parameters with the detected color parameters after correction calculation to participate in subsequent calculations.

[0100] Detailed: The original color reference value is a theoretical value that is directly input, and a reference plate of the color corresponding to this original color reference value is placed at the detection position, and then photographed by a camera. The color of the reference plate is manufactured and produced based on the original color reference value. At this time, the image obtained is converted into a detection color parameter through a color model. For example, the original color reference value of standard red is (255,0,0). At this time, the reference plate produced based on this standard is photographed, and the current original color value is (250,0,0), then (255-250,0- 0,0-0)=(5,0,0) is the environmental influencing factor. If the subsequent detection color parameter is (255,250,210), then according to the environmental influencing factor, calculate (255-5*Y1, 250-0*Y2, 210-0*Y3)=(250,250,210) to replace the original detection color parameter. Y1, Y2, and Y3 are weight coefficients to reduce the interference of ambient light on shooting. After adjusting the parameters at different positions according to the weight coefficients, the benchmark parameters are calculated again.

[0101] Reference Figure 5 , after step S14, the following steps are also included:

[0102] S5. Obtain the test batch;

[0103] S51, storing the detection image and result signal into the database through the corresponding detection batch;

[0104] S52, statistically determine the number of qualified products, the number of defects, and the qualified rate through the result signals stored in the database and output them;

[0105] S53: If the qualified rate is lower than the preset qualified threshold, an alarm signal is output.

[0106] In detail: suppose this is the 5th batch, and the result signal is qualified. After the test is completed, something like (5 (batch corresponding data), test image, qualified (result signal corresponding data)) will be stored in the database. When traceability is required later, the staff can use the data corresponding to the batch or the data corresponding to the result signal to bring out the other two corresponding data. For example, if the staff inputs the query for the 5th batch, the test image and the result signal will be brought out together. Suppose the qualified threshold is 95%. If the current qualified rate is 96%, there are 50 result data currently stored in the database, of which 48 are qualified result signals and 2 are unqualified result signals. The number of defects is the unqualified result signal. Suppose the result data stored this time is unqualified. After storage, the qualified rate will become 48 / (50+1)=94.1%<95%, and an alarm signal will be output to the staff.

[0107] Reference Figure 6 , step S13 further comprises the following steps:

[0108] S6. Determine the interference distance through multiple comparison areas;

[0109] S61, determining the interference factor according to the interference distance and the preset interference threshold;

[0110] S62, correcting and calculating the reference parameter by using the interference factor, and using the corrected reference parameter as a reference value for subsequent calculations.

[0111] Details: The interference distance is the distance between two corresponding contrasting areas where interference will occur. The interference threshold is usually a coefficient or relationship related to the distance. For ease of understanding, in this embodiment, the interference threshold adopts the coefficient Q. Suppose that there is a contrasting area E whose confidence exceeds the empirical value. If the distance where interference will occur is W, then with this contrasting area as the center and W as the radius, calculate the distance between all contrasting areas within this range and the center of the circle to obtain multiple interference distances. If the multiple interference distances are E1, E2, and E3 respectively, it means that within the distance W, the light emitted by the lamp beads represented by the unqualified contrasting area will affect other lamps. The light color on the beads is affected, and then the interference factors are calculated through the interference threshold Q, which are E1*Q, E2*Q, and E3*Q. Then, when calculating the benchmark values ​​of the lamp beads in the contrast areas corresponding to E1, E2, and E3, the benchmark parameters will be corrected in combination with the interference factors. For example, when calculating the confidence of the contrast area with a distance of E1 from E, the detection color parameters are obtained through the current shooting. After the benchmark parameters are calculated, if the benchmark parameters are 643, 643-E1*Q is used to obtain new benchmark parameters, and 643-E1*Q is used as the new benchmark parameters to replace the original benchmark parameters.

[0112] Reference Figure 7, further comprising the following steps:

[0113] S7, obtaining simulated light source parameters;

[0114] S71, determining simulation detection parameters by simulating light source parameters and detection color parameters;

[0115] S72, forming a simulation parameter by simulating the detection parameter calculation;

[0116] S73, determining a confidence simulation degree through simulation parameters and reference values;

[0117] S74, comparing the confidence level and the confidence simulation level with the empirical value to obtain a result signal.

[0118] In detail: The lamp beads are simulated in the use environment by simulating the light source. The simulated light source parameters are the parameters of the light emitted by the simulated light source. If the simulated light source parameters are (250, 220, 40), if the detected color parameters are (240, 230, 20), the simulated detection parameters are calculated to be (240-250*Z, 230-220*Z, 20-40*Z). In the presence of a simulated light source, the detected color parameters are the color of the lamp beads in the use environment, and the simulated detection parameters are the actual color of the lamp beads after restoration. Z is the relationship or coefficient used to exclude the influence of the simulated light source on the color of the lamp beads. The confidence levels of both the detected color parameters and the simulated detection parameters must be calculated and compared with the empirical values. Both the actual colors under the influence of the simulated light source and without the simulated light source must be qualified.

[0119] The present application embodiment discloses a PCB board lamp bead defect detection device. Figure 8 and Fig. 9The PCB board lamp bead defect detection method includes a power supply module 1, a switch module 2, an identification module 3, a processing module 4, a display module 5 and a frame 11. An identification cavity 12 is formed in the frame 11. A detection slot 13 for placing a PCB board is also provided on the side wall of the frame 11. In this embodiment, the detection slot 13 is a countersunk slot. The PCB board covers the opening surface of the detection slot 13. The detection slot 13 is connected to the upper end of the identification cavity 12. The power supply module 1 includes a lifting plate 141, a power supply 142 and a pin 14 for electrically connecting to a socket on a PCB board placed in the detection slot 13. The pin 14 is fixedly connected to the lifting plate 141. The power supply 142 is electrically connected to the pin 14 through a wire to supply power. The lifting plate 141 can be made of transparent materials such as acrylic plate and glass to facilitate observation of the pin 14. The on-off module 2 includes a driving member 21 for driving the pin 14 to move. In this embodiment, the driving member 21 can be a cylinder, and the end of the cylinder is fixedly connected to the lifting plate 141 to drive the lifting plate 141 to move in the direction of approaching or moving away from the detection slot 13. The identification module 3 includes an identification member 31 installed in the identification cavity 12 to identify the PCB board on the opening surface of the detection slot 13 and a light source 32 for providing light to simulate the use environment. The identification member 31 can be a camera to obtain a detection image. The processing module 4 includes at least a processor and a database. The database is used to store data and signals and provide them for the processor to call. The processor is used to receive the detection image and interact with the data and signals in the database to calculate and process the data and signals to obtain the result signal. The processing module 4 can also include a button 41. The human-computer interaction between the staff and the processor and the database can be realized through the button 41. The button 41 can also be replaced by other operating devices such as a keyboard. In this embodiment, the display module 5 can use a display screen, such as a digital display screen, a liquid crystal display screen, and other instruments and equipment with image display functions. The display screen is used to receive the result signal and the detection image output by the processor and display them to the staff for viewing.

[0120] The processor may include a central processing unit such as a CPU or MPU or a host system built around a CPU or MPU, including hardware or software. After the meter has a processor, people can freely control the metering instrument through programming to make it run according to people's wishes. The processor can control local measurement transmission, remote measurement transmission, remote communication, etc. through internal protocols. Internal protocols refer to all protocols that achieve mutual communication or links within the same metering instrument or the same system, including: human-computer interaction protocols, software / hardware (interface) protocols, chip bus (C-Bus) protocols, internal bus (I-Bus) protocols, etc. Part or all of the protocols. With the development of integrated circuit technology, some protocols that belong to the external bus (E-Bus) protocol are also classified as internal protocols after the external bus (E-Bus) is integrated into the chip.

[0121] The embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that can be loaded by a processor and execute a method for detecting defects of lamp beads on a PCB.

[0122] Computer-readable storage media include, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0123] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for detecting defects of PCB lamp beads, characterized in that: include: Get the benchmark value; Receive detection signals and obtain detection images; Determining the confidence level by comparing the detection image with the reference value; By comparing the confidence level with a preset experience value, if the confidence level is greater than the experience value, a result signal indicating a qualified result is output; If the confidence level is less than the empirical value, outputting a result signal indicating failure; Obtaining benchmark values ​​includes: Acquire a reference image; Determining a reference area image by comparing the reference image with a preset comparison area; Determine a reference color parameter by using the reference area image and a preset color model; Calculate a plurality of the reference color parameters to form a reference parameter, and use the reference parameter as a reference value; Determining the confidence by comparing the detection image with the reference value further includes: Determining the interference distance by using a plurality of the comparison areas; Determining the interference factor by using the interference distance and a preset interference threshold; The reference parameter is corrected and calculated using the interference factor, and the corrected reference parameter is used as the reference value in subsequent calculations.

2. A PCB board lamp bead defect detection method according to claim 1, characterized in that: Determining the confidence by comparing the detection image with the reference value includes: Determine a comparison image by using the detection image and the comparison area; Determine the detection color parameter by using the comparison image and the color model; Calculating a plurality of the detection color parameters to form a detection parameter; The confidence level is determined by the detection parameter and the reference value.

3. A PCB board lamp bead defect detection method according to claim 2, characterized in that: Before determining the confidence by comparing the detection image with the reference value, the method further includes: Get the original color reference value and the current original color value; Determine the environmental influencing factor by using the primary color reference value and the current primary color value; Performing correction calculation on the detected color parameters according to the environmental influencing factors; The detected color parameters after correction calculation replace the original detected color parameters to participate in subsequent calculations.

4. A PCB board lamp bead defect detection method according to claim 1, characterized in that: Also includes: Get the test batch; Storing the detection image and the result signal in a database through the corresponding detection batch; The result signals stored in the database are statistically determined to determine the number of qualified products, the number of defects, and the qualified rate, and then output; If the pass rate is lower than a preset pass threshold, an alarm signal is output.

5. A PCB board lamp bead defect detection method according to claim 2, characterized in that: Also includes: Get the simulated light source parameters; Determine the simulated detection parameter by using the simulated light source parameter and the detected color parameter; A simulation parameter is formed by calculating the simulation detection parameter; Determining a confidence simulation degree by using the simulation parameter and the reference value; The confidence level and the confidence simulation level are compared with the empirical value to obtain a result signal.

6. A PCB board lamp bead defect detection device, using a PCB board lamp bead defect detection method according to claim 1, characterized in that: include: A power supply module (1), used to supply power to the lamp beads on the PCB board to be tested; An on-off module (2) used to control the on-off between the power supply module (1) and the lamp beads on the PCB board; An identification module (3) is used to identify the lamp beads on the PCB board after power is supplied, and obtain the detection image; A processing module (4) receives the detection image and performs data calculation and storage to obtain the result signal; A display module (5) receives the detection image and the result signal and displays them to staff for viewing.

7. A PCB board lamp bead defect detection device according to claim 6, characterized in that: The invention comprises a frame (11), wherein an identification cavity (12) is formed in the frame (11), and a detection slot (13) for placing a PCB board is also formed through the frame (11), wherein the PCB board covers the opening surface of the detection slot (13), and the detection slot (13) is connected to the upper end of the identification cavity (12); the power supply module (1) comprises a plug pin (14) for electrically connecting to a plug strip on a PCB board placed in the detection slot (13); the on-off module (2) comprises a driving member (21) for driving the plug pin (14) to move; and the identification module (3) comprises an identification member (31) installed in the identification cavity (12) to identify the PCB board on the opening surface of the detection slot (13).

8. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute any one of the PCB board lamp bead defect detection methods as claimed in claims 1 to 5.