CN111595561A - Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module - Google Patents

Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module Download PDF

Info

Publication number
CN111595561A
CN111595561A CN202010623530.7A CN202010623530A CN111595561A CN 111595561 A CN111595561 A CN 111595561A CN 202010623530 A CN202010623530 A CN 202010623530A CN 111595561 A CN111595561 A CN 111595561A
Authority
CN
China
Prior art keywords
led lamp
backlight module
keyboard backlight
control unit
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010623530.7A
Other languages
Chinese (zh)
Inventor
梁健明
赵久伟
朱启昌
陶于奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Juming Electronic Technology Co ltd
Original Assignee
Dongguan Juming Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Juming Electronic Technology Co ltd filed Critical Dongguan Juming Electronic Technology Co ltd
Priority to CN202010623530.7A priority Critical patent/CN111595561A/en
Publication of CN111595561A publication Critical patent/CN111595561A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image

Abstract

An intelligent detection method and device for counting and identifying a backlight module of an LED lamp bead keyboard comprises the following steps: enabling the keyboard backlight module to be detected placed on the push disc to enter the box body of the detection device; after the control unit drives LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors, the camera module carries out first-period shooting on the keyboard backlight module to be tested; the control unit obtains coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data based on graying processing, sequentially scans and counts light rays with each preset color emitted by the LED lamp beads on the keyboard backlight module to be tested, and presses down a pressing plate of the keyboard backlight module; and the control unit compares the shot second period picture data with the shot first period picture data, and judges that the keyboard backlight module to be tested is qualified if the second period picture data is consistent with the shot first period picture data. The invention solves the problem of how to detect the false welding if vibration and external pressing occur in the detection of the keyboard backlight module at present.

Description

Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module
Technical Field
The invention relates to the field of mechanical vision recognition, in particular to an intelligent detection method and device for counting recognition of an LED lamp bead keyboard backlight module.
Background
The computer keyboard backlight module is one of key components of a computer, along with the development of the computer keyboard backlight module, the number of LED lamps integrated on the computer keyboard backlight module is more and more, and the efficiency and the reliability of detection are difficult to ensure when the computer keyboard backlight module is detected by purely means of manual visual inspection in the face of tens or hundreds of color LED lamp tests. In order to solve the problem of false welding of the LED lamp bead, if the adverse reaction of external interference performance such as vibration, pressing and the like occurs under the condition of false welding of the LED lamp bead, the required result is difficult to obtain through manual visual inspection test.
Therefore, the invention provides a technical scheme for intelligently detecting the counting identification of the LED lamp bead keyboard backlight module, solves the problem of how to detect the false welding of the LED lamp beads if vibration and external pressing occur in the detection of the keyboard backlight module at present, and improves the reliability of the test of the keyboard backlight module integrated with high-density LED lamp beads at present.
Disclosure of Invention
The invention provides an intelligent detection method and device for counting and identifying an LED lamp bead keyboard backlight module, which are used for solving the problem of how to detect the false welding of LED lamp beads under the conditions of vibration and external pressing in the detection of the current keyboard backlight module and improving the reliability of the test of the current keyboard backlight module integrating high-density LED lamp beads.
In order to solve the above problems, the present invention provides an intelligent detection method for counting and identifying a backlight module of an LED lamp bead keyboard, comprising:
setting the detection device as a box with six sides, and enabling the keyboard backlight module to be detected placed on the push disc to enter the box of the detection device; the top plate of the box body is provided with a driving unit, and the driving unit can drive the keyboard backlight module pressing plate to reciprocate in the box body along the direction vertical to the plane of the base; the front plate of the box body is provided with a control unit, one side of the front plate close to the base is provided with an opening, the shape of the opening is suitable for the shape of the push disc, and the shape of the opening enables the keyboard backlight module placed on the push disc to enter the box body; a back plate in the box body is provided with a light supplementing module and a camera module;
after the control unit controls the light supplementing module to be started, the brightness in the box body meets the requirement of the keyboard backlight module to be tested on mechanical vision detection;
after the control unit drives LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors, the camera module carries out first-period shooting on the keyboard backlight module to be tested and transmits the shot first-period picture data to the control unit;
the control unit performs binarization processing on the acquired first period picture data based on graying processing, judges a coordinate point of the first period picture data where a gray value data peak value appears, so as to obtain the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, then, scanning and counting the light rays with each preset color emitted by the LED lamp beads on the keyboard backlight module to be tested in the acquired first period picture data in sequence, judging whether the light rays with all the preset colors emitted by all the LED lamp beads on the keyboard backlight module to be tested are equal to the preset total number or not, the control unit controls the driving unit to drive the pressing plate of the keyboard backlight module to perform a pressing action to a preset position of the keyboard backlight module to be tested on the push plate, after a preset time is reached, the control unit controls the driving unit to drive the keyboard backlight module pressing plate to perform ascending reset action;
after the control unit drives the LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors again, the camera module carries out second-period shooting on the keyboard backlight module to be tested and transmits the shot second-period picture data to the control unit; and the control unit compares the shot second period picture data with the shot first period picture data in sequence, judges that the backlight module of the keyboard to be detected is qualified if all the corresponding picture data of the two periods are consistent, and completes the detection of the backlight module of the keyboard to be detected.
The invention also provides an intelligent detection device for counting and identifying the LED lamp bead keyboard backlight module, which comprises the following components:
the intelligent detection device is a box body with six sides, wherein a top plate of the box body is provided with a driving unit; the front plate of the box body is provided with a control unit, one side of the front plate close to the base is provided with an opening, the shape of the opening is suitable for the shape of the push disc, and the shape of the opening enables the keyboard backlight module placed on the push disc to enter the box body; a light supplementing module and a camera module are arranged on a back plate in the box body, wherein,
the light supplementing module is used for illuminating to enable the brightness in the box body to meet the requirement of the keyboard backlight module to be tested on mechanical vision detection;
the driving unit is used for driving the keyboard backlight module pressing plate to reciprocate in the box body along the direction vertical to the plane of the base;
the camera module is used for shooting the keyboard backlight module to be tested and transmitting the shot picture data to the control unit;
the control unit is used for driving LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors and then receiving first period picture data which are transmitted by the camera module and shot by the keyboard backlight module to be tested; based on the graying processing, the binarization processing is carried out on the acquired first period picture data, the coordinate point of the first period picture data with the gray value data peak value is judged, so as to obtain the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, then, scanning and counting the light rays with each preset color emitted by the LED lamp beads on the keyboard backlight module to be tested in the acquired first period picture data in sequence, judging whether the light rays with all the preset colors emitted by all the LED lamp beads on the keyboard backlight module to be tested are equal to the preset total number or not, controlling a driving unit to drive a pressing plate of the keyboard backlight module to perform a pressing action to a preset position of the keyboard backlight module to be detected on the push disc, and controlling the driving unit to drive the pressing plate of the keyboard backlight module to perform a lifting reset action after a preset time is reached; after the LED lamp beads on the keyboard backlight module to be tested are driven again to emit light rays with preset colors, receiving second period picture data shot by the camera module; and comparing the shot second period picture data with the shot first period picture data in sequence, judging that the keyboard backlight module to be detected is qualified if all the corresponding picture data of the two periods are consistent, and finishing the detection of the keyboard backlight module to be detected.
By the scheme, the light source required by detection is provided for the box through the light supplementing module, the high-definition picture is shot by the camera module on the keyboard backlight module which enters the box and needs to be detected, and the shot high-definition picture data is transmitted to the control unit; firstly, judging whether all LED lamp beads of the keyboard backlight module to be detected are normal in light emitting and color, then comparing a picture of the keyboard backlight module to be detected shot before with a picture shot after pressing after the keyboard backlight module to be detected is pressed by a keyboard backlight module pressing plate, and judging whether the keyboard backlight module to be detected has defects. The intelligent detection device has universality, and only the number of light sources which should appear in the acquired image needs to be modified when the keyboard backlight modules of other models are tested, so that the adaptability of the intelligent detection device is improved, and the production cost can be greatly reduced when the keyboard backlight modules of various specifications are tested; meanwhile, the traditional manual visual inspection mode is not needed, the on-site debugging workload of personnel can be effectively reduced, the problems of low efficiency, large damage to eyes of workers and poor reliability in manual visual inspection are solved, and the working efficiency of the production system is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic structural diagram of an intelligent detection device for counting and identifying a backlight module of an LED lamp bead keyboard according to the present invention;
FIG. 2 is a cross-sectional view of an intelligent detection device for counting and identifying a backlight module of an LED lamp bead keyboard of the present invention;
FIG. 3 is a schematic structural diagram of a pressing plate 3 of the keyboard backlight module according to the present invention;
fig. 4 is a flowchart of an intelligent detection method for counting and identifying the LED lamp bead keyboard backlight module according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The technical scheme of the intelligent detection is based on counting, analyzing and identifying, and whether the quantity of the light sources in the sampling image meets the requirement or not is counted to judge whether the sample to be detected is qualified or not. If 145 LED lamp beads exist in the sample to be detected, sampling an image, and analyzing the image to obtain 145 light sources, the sample to be detected is qualified, otherwise, the sample to be detected is unqualified. The scheme of this application need not fix a position the keyboard backlight unit that awaits measuring in detection device, so push away the dish part and need not set up reference column or location frame, the intelligent detection device of this application has the commonality, when testing the keyboard backlight unit of other models, only need modify gather in the image should appear the light source number can, improved intelligent detection device's adaptability, can greatly reduced manufacturing cost when testing the keyboard backlight unit of multiple specification.
As shown in fig. 1 and 2, the intelligent detection device for counting and identifying the LED lamp bead keyboard backlight module can perform intelligent detection on the keyboard backlight module in a mechanical vision manner. Intelligent detection device sets up to box T who has six, and each face of hexahedron sets up to the rectangle. The light supplementing module 1 and the camera module 4 are arranged on the top plate 2 of the box T, the touch display screen module 6 is arranged on the front plate 5 of the box T, an opening is formed in one side, close to the bottom plate 14, of the front plate 5, the shape of the opening is suitable for the shape of the push disc 9, and the keyboard backlight module 7 placed on the push disc 9 can enter the box T due to the shape of the opening; a control unit 12 and a brightness sensor 13 are arranged on a bottom plate 14 of the box body T; the light supplementing module 1, the camera module 4, the touch display screen module 6, the keyboard backlight module 7, the control unit 12 and the brightness sensor 13 are electrically connected.
The light supplementing module 1 can provide a light source required for detection in the box body T, and the camera module 4 can shoot a high-definition picture for the keyboard backlight module 7 required to be detected entering the box body T and transmit the shot high-definition picture data to the control unit 12; the control unit 12 analyzes the obtained actual picture data of the keyboard backlight module 7 to be detected, and determines whether the keyboard backlight module 7 to be detected has defects.
As shown in fig. 3, the intelligent detection method for counting and identifying the LED lamp bead keyboard backlight module comprises the following steps:
step 31, setting the detection device as a box with six sides, and enabling the keyboard backlight module to be detected placed on the push disc to enter the box of the detection device; the top plate of the box body is provided with a driving unit, and the driving unit can drive the keyboard backlight module pressing plate to reciprocate in the box body along the direction vertical to the plane of the base; the front plate of the box body is provided with a control unit, one side of the front plate close to the base is provided with an opening, the shape of the opening is suitable for the shape of the push disc, and the shape of the opening enables the keyboard backlight module placed on the push disc to enter the box body; a back plate in the box body is provided with a light supplementing module and a camera module; the light supplementing module also comprises a brightness sensor;
step 32, after the control unit controls the light supplementing module to be started, the brightness in the box body meets the requirement of the keyboard backlight module to be detected for mechanical vision detection;
after the control unit controls the light supplementing module to be started, the brightness sensor transmits the brightness data which is detected by the light supplementing module to be luminous to the control unit; and after the control unit calculates according to the obtained brightness data, the brightness value of light emitted by the light compensation module is adjusted, so that the brightness in the box body meets the requirement of the keyboard backlight module on mechanical vision detection.
Specifically, the range of the luminance value collected by the luminance sensor is 0.01lux to 64k lux, and the luminance value is transmitted to the control unit by sending 32bit data by adopting an IIC protocol. The light supplement module is internally provided with a high-frequency PWM control constant-current driving circuit, and the control unit controls the brightness of the LED lamp of the light supplement module by adjusting the sent PWM signal. The illumination value range in the normal state in the box body is preset in the control unit to be 500lux to 550lux, the illumination sensor carries out illumination collection once before starting the test every time, and when the illumination value in the box body deviates from the normal range, the control unit adjusts the duty ratio of a PWM signal sent to the illumination module through a PI algorithm to correct the illumination in the box body, so that the illumination value returns to the normal range.
The following formula is a relationship between the measured value of the brightness sensor and the duty ratio of the PWM signal sent by the control unit to the fill light module:
Figure BDA0002562054370000071
wherein e (K) is the deviation between the illuminance measured value at the current moment and the preset value range, KpAnd KIRespectively taking a proportional coefficient and an integral coefficient, and taking 0.05 and 0.036; t is the accumulated error times, t can be 10, and u (k) is the duty ratio value of the PWM signal sent by the control unit to the lighting module.
Step 33, after the control unit drives the LED lamp beads on the backlight module of the keyboard to be tested to emit light rays with preset colors, the camera module carries out first-period shooting on the backlight module of the keyboard to be tested, and the shot first-period picture data are transmitted to the control unit;
wherein, because LED lamp pearl density is higher among the keyboard backlight unit that awaits measuring, carry out the image sampling in the luminous LED lamp pearl on the keyboard backlight unit at camera module group and obtain the image, adjacent two bright spots can link together, influence discernment and judge, so in the actual operation in-process, need carry out the luminous of grouping to the LED lamp pearl on the keyboard backlight unit, A group and B group (being 1 LED lamp pearl of B group in the centre of 2 adjacent LED lamp pearls in A group, can push away like the same reason, 1 LED lamp pearl of A group in the centre of 2 adjacent LED lamp pearls in B group, can prevent like this in the image sampling, adjacent two bright spots can link together, influence final discernment rate). In the test process, the group A is tested, and the group B is closed completely; and after the group A test is finished, testing the group B again, and closing all the group A.
Specifically, step 33 includes:
the LED lamp beads on the keyboard backlight module to be tested are grouped, wherein the grouping strategy is as follows: the LED lamp beads are divided into a group A and a group B, wherein two adjacent LED lamp beads are divided into different groups, namely the middle of 2 adjacent LED lamp beads in the group A is 1 LED lamp bead in the group B, and similarly, the middle of 2 adjacent LED lamp beads in the group B is 1 LED lamp bead in the group A;
the control unit drives the group A of LED lamp beads on the backlight module of the keyboard to be tested to emit light rays with preset colors, and after the group B of LED lamp beads are closed, the camera module carries out first-period shooting on the backlight module of the keyboard to be tested; wherein, the last LED lamp pearl of keyboard backlight unit that awaits measuring sends the light of predetermineeing the colour can include: red, green and blue light;
the control unit drives the group B of LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors, and after the group A of LED lamp beads are closed, the camera module carries out first-period shooting on the keyboard backlight module to be tested; wherein, the last LED lamp pearl of keyboard backlight unit that awaits measuring sends the light of predetermineeing the colour can include: red, green and blue light.
In an actual test, 145 RGB-LED lamp beads are arranged on the backlight module of the keyboard to be tested, and it is necessary to detect red, green, and blue light emissions of all the LED lamp beads to determine whether the LED lamp beads are normal.
Step 34, the control unit performs binarization processing on the acquired first period picture data based on graying processing, determines a coordinate point where a peak value of the grayscale data appears in the first period picture data, thereby obtaining coordinates of each LED lamp bead of the keyboard backlight module to be tested in the photographed first period picture data, then sequentially scans and counts light rays of each preset color emitted by the LED lamp beads on the keyboard backlight module to be tested in the acquired first period picture data, respectively, and determines whether all light rays of the preset color emitted by all LED lamp beads on the keyboard backlight module to be tested are equal to a preset total number, the control unit controls the driving unit to drive the pressing plate of the keyboard backlight module to be pressed down to a preset position of the keyboard backlight module to be tested on the push plate, and after reaching a preset time (the preset time can be 1s, 2s or 3s, etc., the application is not limited in any way, as long as the action time of simulating vibration and external pressing is within the protection range of the application), the control unit controls the driving unit to drive the keyboard backlight module pressing plate to perform rising reset action;
the control unit is used for carrying out binarization processing on the acquired first period picture data based on graying processing, judging a coordinate point where a gray value data peak value appears in the first period picture data, and obtaining the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, wherein the step comprises the following steps:
the control unit obtains coordinate values of the group A of LED lamp beads in the obtained first period picture, wherein the control unit drives all red lamps, green lamps and blue lamps in the group A of LED lamp beads to be turned on, the camera module collects a first period image for the backlight module of the keyboard to be tested once to obtain 320 x 240 pixel point data, the collected pixel point data respectively comprise brightness values of red R (i, j), green G (i, j) and blue B (i, j), and the obtained first period picture data are subjected to graying processing by adopting a weighted average method, and the specific formula is as follows:
Gray(i,j)=0.299×R(i,j)+0.578×G(i,j)+0.114×B(i,j);
the control unit traverses the image Gray value data of all the pixel points, compares the Gray value Gray (i, j) of the pixel point with the Gray values of 48 pixel points around the pixel point, and judges that if the Gray value of the pixel point is the maximum value of the Gray values in 49 pixel points and is greater than 100, the Gray value of the pixel point is set to be 255, otherwise, the Gray value is set to be 0; after traversing all the gray value data of the pixel points in the first periodic picture acquired for one time, the coordinate of the pixel point finally marked as 255 is the central coordinate of each LED lamp bead of the keyboard backlight module to be tested in the acquired first periodic picture.
32 45 46 63 48 39 32 42 68 84 61 45 21 1
42 63 86 104 83 61 40 62 82 110 86 66 41 19
83 103 122 145 123 108 82 102 131 153 128 110 92 40
124 148 169 192 170 149 123 143 179 201 173 153 110 86
103 128 141 162 142 121 98 110 150 172 145 123 98 71
64 89 104 126 101 86 63 83 109 136 105 84 63 42
42 63 84 108 82 61 39 52 71 92 69 42 28 3
1 20 42 63 84 106 77 54 31 16 0 0 0 0
32 53 72 98 119 143 129 108 96 71 54 21 1 0
63 89 110 131 154 187 162 143 121 101 85 43 26 5
43 75 98 106 125 139 108 84 62 42 19 7 0 0
0 11 28 43 69 99 71 54 32 10 0 0 0 0
TABLE 1 local Gray value data of pre-processed images
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 255 0 0 0 0 0 255 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 255 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
TABLE 2 local Gray value data of processed image
The control unit respectively to waiting in the first cycle picture data of the shooting that acquire to await measuring the keyboard backlight unit on the LED lamp pearl send respectively predetermine the light of colour and scan the count in proper order, judge that all light of predetermineeing the colour that all LED lamp pearls sent on the keyboard backlight unit that awaits measuring were all equal to the step of predetermineeing the total number, include:
the control unit calculates the quantity of light sources with different colors after obtaining the central coordinates of all LED lamp beads of the keyboard backlight module to be tested in the shot first period picture data, wherein the control unit drives all red lamps in all LED lamp beads of the group A on the keyboard backlight module to be tested to be turned on, and after turning off the green lamps and the blue lamps, the camera module carries out image acquisition on the keyboard backlight module once to obtain picture data and send the picture data to the control unit, judges the light source central pixel point data of the marked LED lamp beads, and if the central coordinates satisfy R (i, j)>160,G(i,j)<80 and B (i, j)<80, the number of red light emitting lamps is RAcountAdding 1 to count the A groups of luminous red lamps to obtain the quantity R of the A groups of luminous red lampsAcount(ii) a Similarly, the counting of the group A of the green light-emitting lamps is completed according to the mode to obtain the number G of the group A of the green light-emitting lampsAcountAnd the number B of the group A of the luminous blue lamps is obtained after the group A of the luminous blue lamps is countedAcount
The control unit finishes the luminous red light R of the group A of LED lamp beadsBcountGreen light GBcountAnd a light-emitting blue lamp BBcountAfter calculation, the same reasoning can be inferred, and the luminous red light R of the group B of LED lamp beads is subjected to the above-mentioned modeBcountGreen light GBcountAnd a light-emitting blue lamp BBcountCounting is carried out;
the control unit is used for emitting red light (R) of the LED lamp beads of the group A and the group Bcount=RAcount+RBcount)Green light (G)count=GAcount+GBcount)And a luminous blue lamp (B)count=BAcount+BBcount)The number is summed separately, and if R is satisfied, the number is judgedcount=Gcount=BcountAnd if the sum is the preset total number, judging that all the red lamps, the green lamps and the blue lamps on all the LED lamp beads on the keyboard backlight module are normal.
Step 35, after the control unit drives the LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors again, the camera module carries out second-period shooting on the keyboard backlight module to be tested and transmits the shot second-period picture data to the control unit; and the control unit compares the shot second period picture data with the shot first period picture data in sequence, judges that the backlight module of the keyboard to be detected is qualified if all the corresponding picture data of the two periods are consistent, and completes the detection of the backlight module of the keyboard to be detected.
Note that: in the application, the first period picture data and the second period picture data do not refer to a shot picture but a group of shot pictures, wherein the first period picture data is a group of pictures shot for the keyboard backlight module to be tested which is not pressed, the second period picture data is a group of pictures shot for the keyboard backlight module to be tested which is pressed, and all LED lamp beads of the keyboard backlight module to be tested which are shot in two periods independently emit red, blue and green light pictures.
In actual operation, after coordinates of the LED lamp beads on the keyboard backlight module are obtained, the number of light sources with different colors is calculated. The control unit drives all red lamps in all LED lamp beads of the group A on the backlight module of the keyboard to be tested to be turned on, all green lamps and all blue lamps are turned off, and the camera module collects a first period image once to acquire first period image data. Judging whether the pixel point data of the coordinate position of the LED lamp bead meets R (i, j)>160,G(i,j)<80 and B (i, j)<80, the number R of the luminous red lamps meets the requirementAcountAnd adding one. And after the counting of the group A of the luminous red lamps is finished, counting the number of the group A of the luminous green lamps. The control unit drives all green lamps of the group A on the backlight module of the keyboard to be tested to be turned on, the red lamps and the blue lamps are turned off, and the camera module collects a first period image for one time to acquire first period image data. Judging whether the marked LED lamp bead data satisfy G (i, j)>160,R(i,j)<80 and B (i, j)<80, the number G of green lamps is satisfiedAcountAnd adding one. After the counting of the group A of the luminous green lamps is finished, the quantity B of the group A of the luminous blue lamps can be calculated in the same wayAcountAnd (6) performing calculation.
After the calculation of the luminous red light, the luminous green light and the luminous blue light of the group A of LED lamp beads is completed, the same principle can be deduced, and the luminous red light R of the group B of LED lamp beads is calculated according to the modeBcountGreen light GBcountAnd a light-emitting blue lamp BBcountCounting is performed. Finally, the luminous red lamps (R) of the LED lamp beads of the group A and the group Bcount=RAcount+RBcount)Green light (G)count=GAcount+GBcount)And a luminous blue lamp (B)count=BAcount+BBcount)The numbers are summed individually. Judging whether R is satisfiedcount=Gcount=BcountIf the key point is 145, all the red lamps, the green lamps and the blue lamps on all the RGB-LED lamp beads on the keyboard backlight module are normal, the keyboard backlight module to be tested is pressed, and the pictures shot after pressing and the blue lamps are all normalAnd sequentially comparing the pictures shot before pressing, judging that the keyboard backlight module to be detected is qualified if all the corresponding picture data of the two periods are consistent, and completing the detection of the keyboard backlight module to be detected.
Furthermore, a pushing disc groove 8 and a keyboard backlight module connector 11 are also arranged on the pushing disc 9, and the keyboard backlight module 10 is fixedly placed on the pushing disc groove 8 of the pushing disc 9 through the keyboard backlight module connector 11 and is connected with the control unit 7 through the keyboard backlight module connector 11; the keyboard backlight module connector is connected with the keyboard backlight module, when a plurality of keyboard backlight modules are tested, the keyboard backlight module can be detected only after the keyboard backlight module connector is plugged with the keyboard backlight module to be detected, so that the keyboard backlight module is very convenient to operate, simple in structure and high in reliability.
Further, the device also comprises a camera module fixing frame 20 arranged on the back plate 14 in the box body T; the camera module 13 is arranged on the back plate 14 in the box body T through a camera module fixing frame 20; the camera module fixing frame 20 is provided with a bending angle J (the bending angle is larger than 15 degrees and smaller than 90 degrees, and the optimal selection is 48 degrees in an actual test), and the bending angle can enable the camera module 13 fixed on the camera module fixing frame 20 to have a better shooting angle for the keyboard backlight module 10 which enters the box body T and is placed on the push disc 9, so that focusing is convenient and accurate, the definition of shot pictures is improved, and the detection efficiency is improved; light filling module 15 shines box T's inside simultaneously, can form the diffuse reflection at the part that enters into box T's inside keyboard backlight unit 7 on pushing away the dish 9, thereby camera module can realize shooing the small characteristic of keyboard backlight unit 10, has improved the definition of shooing the photo, improves detection efficiency.
(in the process of image acquisition by mechanical vision detection, the requirement on ambient light is high, and when the light irradiated on the keyboard backlight module is dark, the acquired image has a lot of noise points, when the light irradiated on the keyboard backlight module is unstable, the difference of R, G, B values obtained by image acquisition is very large, so that the main function of the light supplement module is to provide a stable light source in the box body, and the luminance of the light emitted by the light supplement module is calibrated before each test by matching with a luminance sensor, and the problem of gray-black images can be effectively avoided by adopting the action sequence of starting the light supplement module 1 and then taking pictures by the camera module), and meanwhile, the light supplement module irradiates the inside of the box body T, so that diffuse reflection can be formed on the part of the keyboard backlight module on the push plate in the box body T, and the camera module can shoot the tiny characteristics of the keyboard backlight module, the definition of the shot pictures is improved, and the detection efficiency is improved.
Further, a test key 12 is further arranged on the front plate 6 of the box body T, the test key 12 is connected with the control unit 7, and by pressing the test key 12 (the test key 12 is a control switch for detection), a test of vibration and external pressing is started on the keyboard backlight module 10, and whether the keyboard backlight module 10 reaches a qualified standard after pressing is detected.
Furthermore, the control unit 7 has a display function, and can display the final test result, so that the test is very convenient and clear.
Furthermore, a top plate 2 of the box body T is provided with a driving unit fixing frame 1 (namely, a driving unit 5 is arranged outside the box body T through the driving unit fixing frame 1), and a push rod of the driving unit 5 is connected with a keyboard backlight module pressing plate 3 in the box body T; the drive unit holder 1 can keep the drive unit 5 stable in motion. The driving unit 5 comprises a cylinder or a servo motor and other driving modes, wherein the cylinder is simple in structure and low in cost, and can simulate pressing and vibrating operations more easily; the servo motor has better stability, but the cost is higher than that of an air cylinder. In order to simulate the pressing and vibrating operation, the driving mode of the air cylinder is the best mode in the application.
As shown in fig. 3, further, a pressing column 19 is further disposed on the keyboard backlight module pressing plate 3, and the pressing column 19 on the keyboard backlight module pressing plate 3 is driven by the driving unit 5 to perform a pressing operation with the keyboard light-emitting module 10; the surface of the contact position between the press column 19 and the keyboard light-emitting module 10 is provided with a soft material, the soft material may include rubber or silica gel, and the soft material provided on the surface of the press column 19 is for better simulating the pressing operation in practical use.
Further, the keyboard backlight module comprises a left push disc slide rail 17 and a right push disc slide rail 18, wherein the left push disc slide rail 17 and the right push disc slide rail 18 are fixedly installed on the base 14, two side edges of the push disc 9 are respectively installed on the left push disc slide rail 17 and the right push disc slide rail 18, and the push disc 9 can enable the keyboard backlight module 10 placed on the push disc 9 to be horizontally moved into the box body T through the left push disc slide rail 17 and the right push disc slide rail 18; the two side sliding rails are mature and simple in structure, production and manufacturing cost is reduced, and stability is high.
The detection device of the present invention includes: the device comprises a driving unit fixing frame 1, a box top plate 2, a keyboard backlight module pressing plate 3, a box left side plate 4, a driving unit 5, a box front plate 6, a control unit 7, a push disc groove 8, a push disc 9, a keyboard light-emitting module 10, a keyboard light-emitting module connector 11, a test key 12, a camera module 13, a box back plate 14, a light supplementing module 15, a base 16, a left push disc rail 17, a right push disc rail 18, a compression column 19, a camera module fixing frame 20 and a box right side plate 21; the box body left side plate 4, the box body front plate 6, the box body back plate 14 and the box body right side plate 21 are respectively and fixedly arranged at the left side, the front side, the rear side and the right side edge of the base 16 to form a frame body in a surrounding way; the box top plate 2 is fixedly arranged on the box left side plate 4, the box front plate 6, the box back plate 14 and the box right side plate 21; the box body left side plate 4, the box body front plate 6, the box body back plate 14, the box body right side plate 21, the box body top plate 2 and the base 16 form a closed box body; the left push tray slide rail 17 and the right push tray slide rail 18 are fixedly arranged on the base 16, the push tray 9 is arranged on the left push tray slide rail 17 and the right push tray slide rail 18, and the push tray 9 moves along the left push tray slide rail 17 and the right push tray slide rail 18; the driving unit fixing frame 1 is arranged on the base 16, the main body of the driving unit 5 is arranged on the driving unit fixing frame 1, and the push rod of the driving unit 5 is connected with the keyboard backlight module pressing plate 3; the keyboard backlight module pressing plate 3 moves up and down along with the movement of the driving unit 5; the keyboard light-emitting module 10 is placed on the push disc groove 8 and is fixed through a keyboard light-emitting module connector 11 on the push disc 9; the light supplementing module 15 and the camera module fixing frame 20 are arranged on the box body back plate 14; the camera module 13 is mounted on the camera module fixing frame 20; a push disc 9, a test key 12 and a window of the control unit 7 are reserved on the box body front plate 6, and the control unit 7 and the test key 12 are installed on the window of the box body front plate 6; the push tray 9 can be windowed from the front plate 9 and pushed into the box body along the left push tray slide rail 17 and the right push tray slide rail 18; the driving unit 5, the control unit 7, the keyboard light-emitting module 10, the keyboard light-emitting module connector 11, the test key 12, the camera module 13 and the light supplement module 15 are electrically connected.
The utility model provides an intelligent detection device's of LED lamp pearl keyboard backlight unit's count discernment's workflow is as follows: the keyboard backlight module 10 to be tested is placed on the push disc groove 8 of the push disc 9 and is electrically connected with the control power supply 7 through the keyboard backlight module connector 11; the push tray 9 is pushed into the box body along the left push tray slide rail 17 and the right push tray slide rail 18; the testing key 12 is pressed down, the light supplementing module 15 is lightened to provide a stable light source in the box body, the control unit 7 drives the keyboard backlight module 10 to be tested to emit light with different colors and brightness, and the camera module 13 performs primary image sampling on the luminous keyboard backlight module 10 and feeds data back to the control unit 7; the first image acquisition is completed, the control unit 7 controls the driving unit 5 to drive the keyboard backlight module pressing plate 3 to press down on the keyboard backlight module 10, and the pressing column 19 at the bottom of the keyboard backlight module pressing plate 3 presses a specific part on the keyboard backlight module 10; after a certain time, the control unit 7 controls the driving unit 5 to drive the keyboard backlight module pressing plate 3 to ascend and reset, the camera module 13 performs image acquisition on the keyboard backlight module 10 emitting light rays with different colors for one time, and data are fed back to the control unit 7; the control unit 7 analyzes whether the keyboard backlight module 10 reaches the qualified standard after being pressed by comparing the image acquisition data of the previous time and the image acquisition data of the next time.
The application discloses intelligent detection device of LED lamp pearl keyboard backlight unit's count discernment includes:
the intelligent detection device is a box body with six sides, wherein a top plate of the box body is provided with a driving unit; the front plate of the box body is provided with a control unit, one side of the front plate close to the base is provided with an opening, the shape of the opening is suitable for the shape of the push disc, and the shape of the opening enables the keyboard backlight module placed on the push disc to enter the box body; a light supplementing module and a camera module are arranged on a back plate in the box body, wherein,
the light supplementing module is used for illuminating to enable the brightness in the box body to meet the requirement of the keyboard backlight module to be tested on mechanical vision detection;
the driving unit is used for driving the keyboard backlight module pressing plate to reciprocate in the box body along the direction vertical to the plane of the base;
the camera module is used for shooting the keyboard backlight module to be tested and transmitting the shot picture data to the control unit;
the control unit is used for driving LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors and then receiving first period picture data which are transmitted by the camera module and shot by the keyboard backlight module to be tested; based on the graying processing, the binarization processing is carried out on the acquired first period picture data, the coordinate point of the first period picture data with the gray value data peak value is judged, so as to obtain the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, then, scanning and counting the light rays with each preset color emitted by the LED lamp beads on the keyboard backlight module to be tested in the acquired first period picture data in sequence, judging whether the light rays with all the preset colors emitted by all the LED lamp beads on the keyboard backlight module to be tested are equal to the preset total number or not, controlling a driving unit to drive a pressing plate of the keyboard backlight module to perform a pressing action to a preset position of the keyboard backlight module to be detected on the push disc, and controlling the driving unit to drive the pressing plate of the keyboard backlight module to perform a lifting reset action after a preset time is reached; after the LED lamp beads on the keyboard backlight module to be tested are driven again to emit light rays with preset colors, receiving second period picture data shot by the camera module; and comparing the shot second period picture data with the shot first period picture data in sequence, judging that the keyboard backlight module to be detected is qualified if all the corresponding picture data of the two periods are consistent, and finishing the detection of the keyboard backlight module to be detected.
In the present application, each preferred embodiment is described with emphasis on different from other preferred embodiments, each preferred embodiment can be arbitrarily combined as long as there is no conflict, embodiments formed by combination are also within the scope disclosed in the present specification, and in view of the conciseness of the text, the embodiments formed by combination are not separately described herein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
In the present specification, the respective preferred embodiments are only described with emphasis on differences from other preferred embodiments, and the respective preferred embodiments may be arbitrarily combined as long as they do not conflict with each other, and the embodiments formed by combining are also within the scope disclosed in the present specification, and in view of the brevity of the text, the embodiments formed by combining are not separately described herein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. The utility model provides an intelligent detection method of LED lamp pearl keyboard backlight unit's count discernment which characterized in that includes:
setting the detection device as a box with six sides, and enabling the keyboard backlight module to be detected placed on the push disc to enter the box of the detection device; the top plate of the box body is provided with a driving unit, and the driving unit can drive the keyboard backlight module pressing plate to reciprocate in the box body along the direction vertical to the plane of the base; the front plate of the box body is provided with a control unit, one side of the front plate close to the base is provided with an opening, the shape of the opening is suitable for the shape of the push disc, and the shape of the opening enables the keyboard backlight module placed on the push disc to enter the box body; a back plate in the box body is provided with a light supplementing module and a camera module;
after the control unit controls the light supplementing module to be started, the brightness in the box body meets the requirement of the keyboard backlight module to be tested on mechanical vision detection;
after the control unit drives LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors, the camera module carries out first-period shooting on the keyboard backlight module to be tested and transmits the shot first-period picture data to the control unit;
the control unit performs binarization processing on the acquired first period picture data based on graying processing, judges a coordinate point of the first period picture data where a gray value data peak value appears, so as to obtain the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, then, scanning and counting the light rays with each preset color emitted by the LED lamp beads on the keyboard backlight module to be tested in the acquired first period picture data in sequence, judging whether the light rays with all the preset colors emitted by all the LED lamp beads on the keyboard backlight module to be tested are equal to the preset total number or not, the control unit controls the driving unit to drive the pressing plate of the keyboard backlight module to perform a pressing action to a preset position of the keyboard backlight module to be tested on the push plate, after a preset time is reached, the control unit controls the driving unit to drive the keyboard backlight module pressing plate to perform ascending reset action;
after the control unit drives the LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors again, the camera module carries out second-period shooting on the keyboard backlight module to be tested and transmits the shot second-period picture data to the control unit; and the control unit compares the shot second period picture data with the shot first period picture data in sequence, judges that the backlight module of the keyboard to be detected is qualified if all the corresponding picture data of the two periods are consistent, and completes the detection of the backlight module of the keyboard to be detected.
2. The method of claim 1, further comprising: the light supplementing module also comprises a brightness sensor;
after the control unit control light filling module was opened, the step that makes luminance satisfy keyboard backlight unit in the box and carry out mechanical vision detection's requirement includes:
after the control unit controls the light supplement module to be started, the brightness sensor transmits the brightness data of the detected light emitted by the light supplement module to the control unit; and after the control unit calculates according to the obtained brightness data, the light-emitting brightness value of the light supplementing module is adjusted, so that the brightness in the box body meets the requirement of the keyboard backlight module on mechanical vision detection.
3. The method of claim 2,
after the control unit drives LED lamp pearl on the keyboard backlight unit that awaits measuring and sends the light of predetermineeing the colour, camera module carries out the first cycle to the keyboard backlight unit that awaits measuring and shoots to with the first cycle picture data transmission to the control unit's of shooing step, include:
the LED lamp beads on the keyboard backlight module to be tested are grouped, wherein the grouping strategy is as follows: the LED lamp beads are divided into a group A and a group B, wherein two adjacent LED lamp beads are divided into different groups, namely the middle of 2 adjacent LED lamp beads in the group A is 1 LED lamp bead in the group B, and similarly, the middle of 2 adjacent LED lamp beads in the group B is 1 LED lamp bead in the group A;
the control unit drives the group A of LED lamp beads on the backlight module of the keyboard to be tested to emit light rays with preset colors, and after the group B of LED lamp beads are closed, the camera module carries out first-period shooting on the backlight module of the keyboard to be tested; wherein, the last LED lamp pearl of keyboard backlight unit that awaits measuring sends the light of predetermineeing the colour and includes: red, green and blue light;
the control unit drives the group B of LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors, and after the group A of LED lamp beads are closed, the camera module carries out first-period shooting on the keyboard backlight module to be tested; wherein, the last LED lamp pearl of keyboard backlight unit that awaits measuring sends the light of predetermineeing the colour and includes: red, green and blue light.
4. The method of claim 3,
the control unit is used for carrying out binarization processing on the acquired first period picture data based on graying processing, judging a coordinate point where a gray value data peak value appears in the first period picture data, and obtaining the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, wherein the step comprises the following steps:
the control unit obtains coordinate values of the group A of LED lamp beads in the obtained first period picture, wherein the control unit drives all red lamps, green lamps and blue lamps in the group A of LED lamp beads to be turned on, the camera module collects a first period image for the backlight module of the keyboard to be tested once to obtain 320 x 240 pixel point data, the collected pixel point data respectively comprise brightness values of red R (i, j), green G (i, j) and blue B (i, j), and the obtained first period picture data are subjected to graying processing by adopting a weighted average method, and the specific formula is as follows:
Gray(i,j)=0.299×R(i,j)+0.578×G(i,j)+0.114×B(i,j);
the control unit traverses the image Gray value data of all the pixel points, compares the Gray value Gray (i, j) of the pixel point with the Gray values of 48 pixel points around the pixel point, and judges that if the Gray value of the pixel point is the maximum value of the Gray values in 49 pixel points and is greater than 100, the Gray value of the pixel point is set to be 255, otherwise, the Gray value is set to be 0; after traversing all the gray value data of the pixel points in the first periodic picture acquired for one time, the coordinate of the pixel point finally marked as 255 is the central coordinate of each LED lamp bead of the keyboard backlight module to be tested in the acquired first periodic picture.
5. The method of claim 4,
the control unit respectively to waiting in the first cycle picture data of the shooting that acquire to await measuring the keyboard backlight unit on the LED lamp pearl send respectively predetermine the light of colour and scan the count in proper order, judge that all light of predetermineeing the colour that all LED lamp pearls sent on the keyboard backlight unit that awaits measuring were all equal to the step of predetermineeing the total number, include:
the control unit calculates the quantity of light sources with different colors after obtaining the central coordinates of all LED lamp beads of the keyboard backlight module to be tested in the shot first period picture data, wherein the control unit drives all red lamps in all LED lamp beads of the group A on the keyboard backlight module to be tested to be turned on, and after turning off the green lamps and the blue lamps, the camera module carries out image acquisition on the keyboard backlight module once to obtain picture data and send the picture data to the control unit, judges the light source central pixel point data of the marked LED lamp beads, and if the central coordinates satisfy R (i, j)>160,G(i,j)<80 and B (i, j)<80, the number of red light emitting lamps is RAcountAdding 1 to count the A groups of luminous red lamps to obtain the quantity R of the A groups of luminous red lampsAcount(ii) a Similarly, the counting of the group A of the green light-emitting lamps is completed according to the mode to obtain the number G of the group A of the green light-emitting lampsAcountAnd the number B of the group A of the luminous blue lamps is obtained after the group A of the luminous blue lamps is countedAcount
The control unit finishes the luminous red light R of the group A of LED lamp beadsBcountGreen light GBcountAnd a light-emitting blue lamp BBcountAfter calculation, the same reasoning can be inferred, and the luminous red light R of the group B of LED lamp beads is subjected to the above-mentioned modeBcountGreen light GBcountAnd a light-emitting blue lamp BBcountCounting is carried out;
the control unit is used for emitting red light (R) of the LED lamp beads of the group A and the group Bcount=RAcount+RBcount)Green light (G)count=GAcount+GBcount)And a luminous blue lamp (B)count=BAcount+BBcount)The number is summed separately, and if R is satisfied, the number is judgedcount=Gcount=BcountAnd if the sum is the preset total number, judging that all the red lamps, the green lamps and the blue lamps on all the LED lamp beads on the keyboard backlight module are normal.
6. The utility model provides a LED lamp pearl keyboard backlight unit's count discernment's intellectual detection system device which characterized in that includes:
the intelligent detection device is a box body with six sides, wherein a top plate of the box body is provided with a driving unit; the front plate of the box body is provided with a control unit, one side of the front plate close to the base is provided with an opening, the shape of the opening is suitable for the shape of the push disc, and the shape of the opening enables the keyboard backlight module placed on the push disc to enter the box body; a light supplementing module and a camera module are arranged on a back plate in the box body, wherein,
the light supplementing module is used for illuminating to enable the brightness in the box body to meet the requirement of the keyboard backlight module to be tested on mechanical vision detection;
the driving unit is used for driving the keyboard backlight module pressing plate to reciprocate in the box body along the direction vertical to the plane of the base;
the camera module is used for shooting the keyboard backlight module to be tested and transmitting the shot picture data to the control unit;
the control unit is used for driving LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors and then receiving first period picture data which are transmitted by the camera module and shot by the keyboard backlight module to be tested; based on the graying processing, the binarization processing is carried out on the acquired first period picture data, the coordinate point of the first period picture data with the gray value data peak value is judged, so as to obtain the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, then, scanning and counting the light rays with each preset color emitted by the LED lamp beads on the keyboard backlight module to be tested in the acquired first period picture data in sequence, judging whether the light rays with all the preset colors emitted by all the LED lamp beads on the keyboard backlight module to be tested are equal to the preset total number or not, controlling a driving unit to drive a pressing plate of the keyboard backlight module to perform a pressing action to a preset position of the keyboard backlight module to be detected on the push disc, and controlling the driving unit to drive the pressing plate of the keyboard backlight module to perform a lifting reset action after a preset time is reached; after the LED lamp beads on the keyboard backlight module to be tested are driven again to emit light rays with preset colors, receiving second period picture data shot by the camera module; and comparing the shot second period picture data with the shot first period picture data in sequence, judging that the keyboard backlight module to be detected is qualified if all the corresponding picture data of the two periods are consistent, and finishing the detection of the keyboard backlight module to be detected.
7. The apparatus of claim 6,
the light supplementing module also comprises a brightness sensor; the brightness sensor is used for transmitting the brightness data of the detected light emitting of the light supplementing module to the control unit after the light supplementing module is started;
and the control unit is also used for adjusting the luminous brightness value of the light supplementing module after calculation according to the obtained brightness data, so that the brightness in the box body meets the requirement of the keyboard backlight module on mechanical vision detection.
8. The apparatus of claim 7,
after LED lamp pearl sent the light of predetermineeing the colour on the keyboard backlight unit that the control unit drive awaits measuring, camera module carries out the first cycle to the keyboard backlight unit that awaits measuring and shoots to with the first cycle picture data transmission who shoots to the control unit, specifically indicate:
the LED lamp beads on the keyboard backlight module to be tested are grouped, wherein the grouping strategy is as follows: the LED lamp beads are divided into a group A and a group B, wherein two adjacent LED lamp beads are divided into different groups, namely the middle of 2 adjacent LED lamp beads in the group A is 1 LED lamp bead in the group B, and similarly, the middle of 2 adjacent LED lamp beads in the group B is 1 LED lamp bead in the group A;
the control unit drives the group A of LED lamp beads on the backlight module of the keyboard to be tested to emit light rays with preset colors, and after the group B of LED lamp beads are closed, the camera module carries out first-period shooting on the backlight module of the keyboard to be tested; wherein, the last LED lamp pearl of keyboard backlight unit that awaits measuring sends the light of predetermineeing the colour and includes: red, green and blue light;
the control unit drives the group B of LED lamp beads on the keyboard backlight module to be tested to emit light rays with preset colors, and after the group A of LED lamp beads are closed, the camera module carries out first-period shooting on the keyboard backlight module to be tested; wherein, the last LED lamp pearl of keyboard backlight unit that awaits measuring sends the light of predetermineeing the colour and includes: red, green and blue light.
9. The apparatus of claim 8,
the control unit is used for carrying out binarization processing on the acquired first period picture data based on graying processing, judging a coordinate point where a gray value data peak value appears in the first period picture data, and thus obtaining the coordinates of each LED lamp bead of the keyboard backlight module to be tested in the shot first period picture data, and specifically comprises the following steps:
the control unit obtains coordinate values of the group A of LED lamp beads in the obtained first period picture, wherein the control unit drives all red lamps, green lamps and blue lamps in the group A of LED lamp beads to be turned on, the camera module collects a first period image for the backlight module of the keyboard to be tested once to obtain 320 x 240 pixel point data, the collected pixel point data respectively comprise brightness values of red R (i, j), green G (i, j) and blue B (i, j), and the obtained first period picture data are subjected to graying processing by adopting a weighted average method, and the specific formula is as follows:
Gray(i,j)=0.299×R(i,j)+0.578×G(i,j)+0.114×B(i,j);
the control unit traverses the image Gray value data of all the pixel points, compares the Gray value Gray (i, j) of the pixel point with the Gray values of 48 pixel points around the pixel point, and judges that if the Gray value of the pixel point is the maximum value of the Gray values in 49 pixel points and is greater than 100, the Gray value of the pixel point is set to be 255, otherwise, the Gray value is set to be 0; after traversing all the gray value data of the pixel points in the first periodic picture acquired for one time, the coordinate of the pixel point finally marked as 255 is the central coordinate of each LED lamp bead of the keyboard backlight module to be tested in the acquired first periodic picture.
10. The apparatus of claim 9,
the control unit respectively scans and counts the light rays of preset colors sent by the LED lamp beads on the keyboard backlight module to be tested in the acquired first period picture data, judges whether the light rays of all preset colors sent by all the LED lamp beads on the keyboard backlight module to be tested are equal to the preset total number, and specifically indicates that:
the control unit calculates the quantity of light sources with different colors after obtaining the central coordinates of all LED lamp beads of the keyboard backlight module to be tested in the shot first period picture data, wherein the control unit drives all red lamps in all LED lamp beads of the group A on the keyboard backlight module to be tested to be turned on, and after turning off the green lamps and the blue lamps, the camera module carries out image acquisition on the keyboard backlight module once to obtain picture data and send the picture data to the control unit, judges the light source central pixel point data of the marked LED lamp beads, and if the central coordinates satisfy R (i, j)>160,G(i,j)<80 and B (i, j)<80, the number of red light emitting lamps is RAcountAdding 1 to count the A groups of luminous red lamps to obtain the quantity R of the A groups of luminous red lampsAcount(ii) a Similarly, the counting of the group A of the green light-emitting lamps is completed according to the mode to obtain the number G of the group A of the green light-emitting lampsAcountAnd the number B of the group A of the luminous blue lamps is obtained after the group A of the luminous blue lamps is countedAcount
The control unit finishes the luminous red light R of the group A of LED lamp beadsBcountGreen light GBcountAnd a light-emitting blue lamp BBcountAfter calculation, the same reasoning can be inferred, and the luminous red light R of the group B of LED lamp beads is subjected to the above-mentioned modeBcountGreen light GBcountAnd a light-emitting blue lamp BBcountCounting is carried out;
the control unit is used for emitting red light (R) of the LED lamp beads of the group A and the group Bcount=RAcount+RBcount)Green light (G)count=GAcount+GBcount)And a luminous blue lamp (B)count=BAcount+BBcount)The number is summed separately, and if R is satisfied, the number is judgedcount=Gcount=BcountAnd if the sum is the preset total number, judging that all the red lamps, the green lamps and the blue lamps on all the LED lamp beads on the keyboard backlight module are normal.
CN202010623530.7A 2020-06-30 2020-06-30 Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module Pending CN111595561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010623530.7A CN111595561A (en) 2020-06-30 2020-06-30 Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010623530.7A CN111595561A (en) 2020-06-30 2020-06-30 Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module

Publications (1)

Publication Number Publication Date
CN111595561A true CN111595561A (en) 2020-08-28

Family

ID=72188134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010623530.7A Pending CN111595561A (en) 2020-06-30 2020-06-30 Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module

Country Status (1)

Country Link
CN (1) CN111595561A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596002A (en) * 2020-12-03 2021-04-02 苏州汇亿达光学科技有限公司 Automatic testing method for color backlight module of notebook computer keyboard
CN112698125A (en) * 2020-12-03 2021-04-23 苏州汇亿达光学科技有限公司 Method for testing color backlight module of notebook computer keyboard
CN113567087A (en) * 2021-07-30 2021-10-29 深圳市汇创达科技股份有限公司 Detection method of vibrating type flexible backlight module of notebook computer keyboard

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002341345A (en) * 2001-05-17 2002-11-27 Toshiba Corp Method for manufacturing flat display device and method for inspecting backlight therefor
KR20090094694A (en) * 2008-03-03 2009-09-08 엘지디스플레이 주식회사 Test apparatus and method for liquid crystal display
CN102183703A (en) * 2011-01-10 2011-09-14 山东明华光电科技有限公司 Light emitting diode (LED) false welding detector and using method thereof
CN102323528A (en) * 2010-04-01 2012-01-18 夏普株式会社 Luminescence measuring apparatus, Luminescence assay, control program and readable medium recording program performing
CN105241638A (en) * 2015-09-09 2016-01-13 重庆平伟光电科技有限公司 Vision-based quick LED module brightness uniformity detection method
CN107220969A (en) * 2017-05-23 2017-09-29 太仓市同维电子有限公司 The method of testing and detecting system of product lamp position
CN107507558A (en) * 2017-06-27 2017-12-22 深圳市灵星雨科技开发有限公司 A kind of bearing calibration of LED display
CN207396370U (en) * 2017-10-31 2018-05-22 厦门盈趣科技股份有限公司 Key-press backlight tests system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002341345A (en) * 2001-05-17 2002-11-27 Toshiba Corp Method for manufacturing flat display device and method for inspecting backlight therefor
KR20090094694A (en) * 2008-03-03 2009-09-08 엘지디스플레이 주식회사 Test apparatus and method for liquid crystal display
CN102323528A (en) * 2010-04-01 2012-01-18 夏普株式会社 Luminescence measuring apparatus, Luminescence assay, control program and readable medium recording program performing
CN102183703A (en) * 2011-01-10 2011-09-14 山东明华光电科技有限公司 Light emitting diode (LED) false welding detector and using method thereof
CN105241638A (en) * 2015-09-09 2016-01-13 重庆平伟光电科技有限公司 Vision-based quick LED module brightness uniformity detection method
CN107220969A (en) * 2017-05-23 2017-09-29 太仓市同维电子有限公司 The method of testing and detecting system of product lamp position
CN107507558A (en) * 2017-06-27 2017-12-22 深圳市灵星雨科技开发有限公司 A kind of bearing calibration of LED display
CN207396370U (en) * 2017-10-31 2018-05-22 厦门盈趣科技股份有限公司 Key-press backlight tests system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596002A (en) * 2020-12-03 2021-04-02 苏州汇亿达光学科技有限公司 Automatic testing method for color backlight module of notebook computer keyboard
CN112698125A (en) * 2020-12-03 2021-04-23 苏州汇亿达光学科技有限公司 Method for testing color backlight module of notebook computer keyboard
CN112596002B (en) * 2020-12-03 2022-10-21 苏州汇亿达光学科技有限公司 Automatic testing method for color backlight module of notebook computer keyboard
CN112698125B (en) * 2020-12-03 2022-10-21 苏州汇亿达光学科技有限公司 Method for testing color backlight module of notebook computer keyboard
CN113567087A (en) * 2021-07-30 2021-10-29 深圳市汇创达科技股份有限公司 Detection method of vibrating type flexible backlight module of notebook computer keyboard

Similar Documents

Publication Publication Date Title
CN111595561A (en) Intelligent detection method and device for counting and identifying LED lamp bead keyboard backlight module
CN111721509A (en) Intelligent detection method and device for LED lamp bead keyboard backlight module based on polar coordinates
CN111721506A (en) Automatic calibration detection method and device for counting identification of keyboard backlight module
CN1982857B (en) Method for automatically measuring luminescent device
CN111721508A (en) Intelligent detection method and device for keyboard backlight module based on counting analysis and identification
CN201707304U (en) Device for automated optical inspection of surface of product
CN103501435B (en) With method and the device of airtight LED light source lamp box test video camera dynamic range
CN111006608A (en) Transparent plate through hole visual detection system and method
CN110261390A (en) A kind of the surface defect Systems for optical inspection and method of diffusing reflection structure light
CN111721507B (en) Intelligent detection method and device for keyboard backlight module based on polar coordinate identification
CN208459716U (en) A kind of liquid crystal display detection device
CN114527073A (en) Rapid high-precision appearance quality detection system and detection method for reflective curved surface
CN111721505A (en) Automatic calibration detection method and device for keyboard backlight module based on polar coordinates
CN210664378U (en) Customized light source roughness detection device based on red-green chromatic aberration
CN112926702A (en) Active light source type object material identification system and method
CN108896578B (en) Transparent part defect detection system based on integral cage illumination
CN217542344U (en) AR lens transmission performance test equipment
CN108811483A (en) Populated circuit board detecting system and populated circuit board detection method
CN208984513U (en) For detecting the image capturing system of transparent substrate defect
CN102392957B (en) Light-source device for image-identifying system
CN212965343U (en) Detection apparatus for keyboard backlight unit of integrated high density LED lamp pearl
CN211330310U (en) High reflection of light object surface defect detection device
CN114383815A (en) Method for rapidly detecting pixel out-of-control point of display screen
CN212963940U (en) Intelligent detection device of keyboard backlight unit based on mechanical vision
CN112839221A (en) Quantification method and quantification device for definition of display equipment under ambient light

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200828

RJ01 Rejection of invention patent application after publication