TWI411770B - Method for judging a light color of light-emitting diode - Google Patents
Method for judging a light color of light-emitting diode Download PDFInfo
- Publication number
- TWI411770B TWI411770B TW99145353A TW99145353A TWI411770B TW I411770 B TWI411770 B TW I411770B TW 99145353 A TW99145353 A TW 99145353A TW 99145353 A TW99145353 A TW 99145353A TW I411770 B TWI411770 B TW I411770B
- Authority
- TW
- Taiwan
- Prior art keywords
- component
- maximum value
- color
- interval range
- interval
- Prior art date
Links
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
Description
本發明係關於一種發光顏色的判定方法,特別關於一種發光二極體的發光顏色判定方法。The present invention relates to a method for determining a luminescent color, and more particularly to a method for determining a luminescent color of a light-emitting diode.
隨著發光二極體的不斷開發,發光二極體的輝度或是使用壽命已大幅的改進,其已經逐步在取代傳統照明元件。用發光二極體背光取代手持裝置原有的電激發光(Electroluminescent,EL)背光、冷陰極燈管(Cold Cathode Fluorescent Lamps,CCFL)背光,不僅電路設計更簡潔容易,且有較高的外力抗受性。用發光二極體背光取代液晶顯示器原有的冷陰極燈管背光,不僅更環保而且顯示更逼真亮麗。用發光二極體照明取代白光燈、鹵素燈等照明,不僅更光亮省電,使用期限也較長,且點亮速度更快,用於煞車燈時也能減少後車追撞率。除了在照明的應用外,大部分的電子產品也都採用發光二極體作為指示燈,例如主機板、顯示卡和網路卡也都有發光二極體指示燈,用來指示電路板的工作狀態。With the continuous development of light-emitting diodes, the brightness or lifetime of light-emitting diodes has been greatly improved, and it has gradually replaced traditional lighting components. Replacing the original electroluminescent (EL) backlight and Cold Cathode Fluorescent Lamps (CCFL) backlight of the handheld device with a light-emitting diode backlight, not only the circuit design is simpler and easier, but also has higher external force resistance. Receptive. Replacing the original cold cathode lamp backlight of the liquid crystal display with a light-emitting diode backlight is not only more environmentally friendly but also displays a more vivid and beautiful display. The use of LED illumination instead of white light, halogen lamp and other lighting, not only more bright and energy-saving, the use period is longer, and the lighting speed is faster, can also reduce the rear car collision rate when used in the vehicle lights. In addition to lighting applications, most electronic products also use LEDs as indicators. For example, motherboards, display cards, and network cards also have LED indicators to indicate the operation of the board. status.
發光二極體的測試一直以來都是採用人工方式,人工測試的缺點是容易因為視覺的疲勞和主觀因素,會產生較大的辨別錯誤率,並且無法對亮度以及發光二極體的顏色進行較準確的判斷。The test of light-emitting diodes has always been manual. The disadvantage of manual testing is that it is easy to produce a large discrimination error rate due to visual fatigue and subjective factors, and it is impossible to compare the brightness and the color of the light-emitting diode. Accurate judgment.
為解決上述問題,習知業者提出利用發光二極體測試裝置取代人工測試,但由於發光二極體所發出的光線為非線性(即多種波段的光所組成),使得發光二極體測試裝置於測試過程中無法對發光二極體的顏色進行較準確的判斷。In order to solve the above problems, the prior art has proposed to replace the manual test with the light-emitting diode test device, but since the light emitted by the light-emitting diode is nonlinear (ie, composed of light of multiple wavelength bands), the light-emitting diode test device is made. The color of the LED cannot be accurately judged during the test.
鑒於以上問題,本發明提供一種發光二極體的發光顏色判定方法,以解決先前技術所存在的問題,並提高發光二極體測試裝置對發光二極體的顏色進行較準確的判斷。In view of the above problems, the present invention provides a method for determining the color of a light-emitting diode to solve the problems of the prior art, and to improve the light-emitting diode test device to accurately determine the color of the light-emitting diode.
依據本發明所揭露之發光二極體的發光顏色判定方法的一實施例,發光二極體的發光顏色判定方法包括:以面積參數與時間參數設定感測元件的感光面積與感光面積接收光線的時間;藉由感測元件接收光線而獲得第一紅色分量、第一綠色分量與第一藍色分量;比較第一紅色分量、第一綠色分量與第一藍色分量的大小而獲得最大值;判斷最大值是否於第一區間範圍或第二區間範圍內,其中第一區間範圍為大於十六進制的0xF2,第二區間範圍為大於或等於十六進制的0x47且小於或等於十六進制的0x4c;當最大值於第一區間範圍或第二區間範圍內時,進行補償程序而輸出第二紅色分量、第二綠色分量與第二藍色分量;將第二紅色分量、第二綠色分量與第二藍色分量進行格式轉換程序而獲得色彩值;以及判斷色彩值是否在預期範圍內而輸出結果信號。According to an embodiment of the method for determining the color of the light-emitting diode of the light-emitting diode according to the present invention, the method for determining the color of the light-emitting diode includes: setting the light-receiving area of the sensing element and the light-receiving area to receive light by using the area parameter and the time parameter. Obtaining a first red component, a first green component, and a first blue component by receiving the light by the sensing component; obtaining a maximum value by comparing a size of the first red component, the first green component, and the first blue component; Determining whether the maximum value is within the first interval range or the second interval range, wherein the first interval range is greater than hexadecimal 0xF2, and the second interval range is greater than or equal to hexadecimal 0x47 and less than or equal to sixteen 0x4c in hexadecimal; when the maximum value is in the range of the first interval or the second interval, the compensation process is performed to output the second red component, the second green component and the second blue component; the second red component, the second component The green component and the second blue component perform a format conversion process to obtain a color value; and determine whether the color value is within an expected range and output a result signal.
依據本發明所揭露之發光二極體的發光顏色判定方法,可用以提高發光二極體測試裝置正確判定發光顏色的機率。藉由調整適當的面積參數與時間參數,以避免因光線的亮度太大或太小而造成發光二極體測試裝置的誤判。可藉由補償程序將使進行格式轉換程序而輸出的色彩值更接近預期範圍,以便提高發光顏色的判斷。The method for determining the illuminating color of the illuminating diode according to the present invention can be used to improve the probability that the illuminating diode test device correctly determines the illuminating color. By adjusting the appropriate area parameters and time parameters, to avoid false positives of the light-emitting diode test device due to the brightness of the light being too large or too small. The color value outputted by the format conversion program can be made closer to the expected range by the compensation program to improve the judgment of the illuminating color.
以上關於本發明的內容說明及以下之實施方式的說明係用以示範與解釋本發明的精神與原理,並且提供本發明的專利申請範圍更進一步的解釋。The description of the present invention and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.
請參照「第1圖」,係為應用本發明所揭露之發光二極體的發光顏色判定方法的發光二極體測試裝置之一實施例結構示意圖。在本實施例中,發光二極體測試裝置100包含有至少一發光二極體插座102、至少一感測元件104、至少一光纖106與控制器108。其中發光二極體插座102用以插接發光二極體50,控制器108電性連接至發光二極體插座102與感測元件104並用以控制發光二極體50與感測元件104。發光二極體50所發出的光線(未標示)經過光纖106而被感測元件104所接收與感測。Please refer to FIG. 1 , which is a schematic structural view of an embodiment of a light-emitting diode test apparatus applying the light-emitting color determining method of the light-emitting diode disclosed in the present invention. In this embodiment, the LED test apparatus 100 includes at least one LED socket 102, at least one sensing component 104, at least one optical fiber 106, and a controller 108. The LED socket 102 is used to connect the LEDs 50 to the LEDs 102 and the sensing components 104 for controlling the LEDs 50 and the sensing components 104. Light (not labeled) emitted by the LEDs 50 is received and sensed by the sensing element 104 through the optical fibers 106.
請參照「第1圖」與「第2圖」,「第2圖」係為依據本發明所揭露之發光二極體的發光顏色判定方法的第一實施例流程示意圖。發光二極體的發光顏色判定方法包括:步驟202:以面積參數與時間參數設定感測元件的感光面積與感光面積接收光線的時間;步驟204:藉由感測元件接收光線而獲得第一紅色分量、第一綠色分量與第一藍色分量;步驟206:比較第一紅色分量、第一綠色分量與第一藍色分量的大小而獲得最大值;步驟208:判斷最大值是否於第一區間範圍或第二區間範圍內,其中第一區間範圍為大於十六進制的0xF2,第二區間範圍為大於或等於十六進制的0x47且小於或等於十六進制的0x4c;步驟210:當最大值於第一區間範圍或第二區間範圍內時,進行補償程序而輸出第二紅色分量、第二綠色分量與第二藍色分量;步驟212:將第二紅色分量、第二綠色分量與第二藍色分量進行格式轉換程序而獲得色彩值;以及步驟214:判斷色彩值是否在預期範圍內而輸出結果信號。Please refer to FIG. 1 and FIG. 2, and FIG. 2 is a schematic flow chart of a first embodiment of a method for determining the color of light emitted by a light-emitting diode according to the present invention. The method for determining the illuminating color of the illuminating diode includes: step 202: setting the time of receiving the ray by the photosensitive area and the photosensitive area of the sensing element by using the area parameter and the time parameter; Step 204: obtaining the first red by receiving the light by the sensing element a component, a first green component and a first blue component; step 206: comparing a size of the first red component, the first green component, and the first blue component to obtain a maximum value; and step 208: determining whether the maximum value is in the first interval Within the range or the second interval, wherein the first interval range is greater than hexadecimal 0xF2, and the second interval range is greater than or equal to hexadecimal 0x47 and less than or equal to hexadecimal 0x4c; step 210: When the maximum value is within the first interval range or the second interval range, the compensation process is performed to output the second red component, the second green component, and the second blue component; and step 212: the second red component and the second green component are And performing a format conversion process with the second blue component to obtain a color value; and step 214: determining whether the color value is within an expected range and outputting the result signal.
上述步驟202中,控制器108以面積參數設定感測元件104的感光面積,其中感光面積可為但不限於整個感光面積的百分之二十五、百分之五十、百分之七十五或百分之百。控制器108時間參數可用以設定上述感光面積所接收光線的時間,其中感光面積所接收光線的時間可為但不限於3階、5階、7階、9階、11階或13階,每一階可為但不限於0.001秒,但本實施例並非用以限定本發明。需注意的是,面積參數與時間參數的設定與發光二極體50所發出的光線有關。舉例而言,紅光的亮度較小,感測元件104所需的感光面積較大,感光面積所接收光線的時間較長;綠光的亮度較大,感測元件104所需的感光面積較小,感光面積所接收光線的時間較短。In the above step 202, the controller 108 sets the photosensitive area of the sensing element 104 by the area parameter, wherein the photosensitive area can be, but not limited to, twenty-five percent, fifty percent, seventy percent of the entire photosensitive area. Five or one hundred percent. The controller 108 time parameter can be used to set the time of the light received by the photosensitive area, wherein the time of receiving the light in the photosensitive area can be, but not limited to, 3rd order, 5th order, 7th order, 9th order, 11th order or 13th order, each The order may be, but not limited to, 0.001 seconds, but this embodiment is not intended to limit the invention. It should be noted that the setting of the area parameter and the time parameter is related to the light emitted by the LED 50. For example, the brightness of the red light is small, the photosensitive area required by the sensing element 104 is large, the time of receiving the light by the photosensitive area is long, the brightness of the green light is large, and the photosensitive area required by the sensing element 104 is larger. Small, the light-receiving area receives light for a short period of time.
在步驟204中,感測元件104利用設定的感光面積與時間接收光線而獲得第一紅色分量、第一綠色分量與第一藍色分量。需注意的是,第一紅色分量的範圍可為但不限於十六進制的0x00至0xFF(即十進制的0至255),第一綠色分量的範圍可為但不限於十六進制的0x00至0xFF,第一藍色分量的範圍可為但不限於十六進制的0x00至0xFF,實際的第一紅色分量、第一綠色分量與第一藍色分量係與實際感測元件104感測發光二極體50所發出的光線有關。In step 204, the sensing component 104 receives the light using the set photosensitive area and time to obtain a first red component, a first green component, and a first blue component. It should be noted that the range of the first red component may be, but not limited to, 0x00 to 0xFF in hexadecimal (ie, 0 to 255 in decimal), and the range of the first green component may be, but not limited to, 0x00 in hexadecimal. Up to 0xFF, the range of the first blue component may be, but not limited to, hexadecimal 0x00 to 0xFF, and the actual first red component, the first green component, and the first blue component are sensed by the actual sensing component 104. The light emitted by the light-emitting diode 50 is related.
請參照「第1圖」與「第3圖」,「第3圖」係為依據「第2圖」之步驟210中補償程序的一實施例流程示意圖。補償程序包括:步驟302:判斷最大值於第一區間範圍或第二區間範圍內;步驟304:當最大值於第一區間範圍內時,第一紅色分量、第一綠色分量與第一藍色分量分別減少第一預定值而輸出第二紅色分量、第二綠色分量與第二藍色分量,其中第一預定值小於或等於最大值的百分之八;步驟306:當最大值於第二區間範圍內時,判斷有無接收數量參數;步驟308:當最大值於第二區間範圍內且未接收數量參數時,最大值加上第二預定值而輸出第二紅色分量、第二綠色分量與第二藍色分量,其中第二預定值小於或等於最大值的百分之八;步驟310:當最大值於第二區間範圍內且接收數量參數時,判斷第一紅色分量的大小是否等於第一綠色分量的大小;步驟312:當最大值於第二區間範圍內,接收數量參數且第一紅色分量不等於第一綠色分量時,第一紅色分量加上十進制的五而輸出第二紅色分量,第一綠色分量加上十進制的五而輸出第二綠色分量,第一藍色分量等於第二藍色分量;以及步驟314:當最大值於第二區間範圍內,接收數量參數且第一紅色分量等於第一綠色分量時,第一紅色分量加上十進制的七而輸出第二紅色分量,第一綠色分量加上十進制的五而輸出第二綠色分量,第一藍色分量等於第二藍色分量。Please refer to "1st" and "3rd", and "3rd" is a schematic flow chart of an embodiment of the compensation procedure in step 210 according to "2nd drawing". The compensation procedure includes: Step 302: determining that the maximum value is within the first interval range or the second interval range; Step 304: when the maximum value is within the first interval range, the first red component, the first green component, and the first blue The components respectively decrease the first predetermined value and output the second red component, the second green component and the second blue component, wherein the first predetermined value is less than or equal to eight percent of the maximum value; step 306: when the maximum value is at the second When the interval is within the range, it is determined whether there is a receiving quantity parameter; Step 308: When the maximum value is within the second interval range and the quantity parameter is not received, the maximum value is added to the second predetermined value to output the second red component and the second green component a second blue component, wherein the second predetermined value is less than or equal to eight percent of the maximum value; step 310: determining whether the size of the first red component is equal to the first when the maximum value is within the second interval range and receiving the quantity parameter a size of a green component; step 312: when the maximum value is within the second interval range, the quantity parameter is received and the first red component is not equal to the first green component, the first red component is added a second red component is outputted by a fifth digit, a first green component plus a decimal five to output a second green component, a first blue component equal to a second blue component; and a step 314: when the maximum value is in the second interval In the range, when the quantity parameter is received and the first red component is equal to the first green component, the first red component plus the decimal seven outputs the second red component, and the first green component plus the decimal five outputs the second green component. The first blue component is equal to the second blue component.
上述步驟304的第一預定值可為但不限於十進制的十六,可依據實際需求進行調整。需注意的是,第一預定值越大時,代表第二紅色分量、第二綠色分量與第二藍色分量越小,也就是說,光線的亮度變小。換句話說,由於最大值於第一區間範圍內(即第一紅色分量、第一綠色分量與第一藍色分量較大,代表光線的亮度較大),亮度大可能造成感測元件104的誤判,所以利用第一紅色分量、第一綠色分量與第一藍色分量同時減少第一預設值的方式(即灰階的調整),一方面可將亮度變小以降低誤判的機率,另一方面不會影響測量結果。The first predetermined value of the above step 304 may be, but not limited to, sixteen in decimal, which may be adjusted according to actual needs. It should be noted that the larger the first predetermined value, the smaller the second red component, the second green component and the second blue component, that is, the brightness of the light becomes smaller. In other words, since the maximum value is within the first interval range (ie, the first red component, the first green component, and the first blue component are larger, representing a greater brightness of the light), the brightness may be caused by the sensing element 104. Misjudgment, so the first red component, the first green component and the first blue component are simultaneously reduced by the first preset value (ie, the grayscale adjustment), on the one hand, the brightness can be reduced to reduce the probability of misjudgment, and On the one hand, it will not affect the measurement results.
上述步驟308係適用於光線的亮度較暗(即最大值於第二區間範圍內)的單色光(即未接受數量參數),例如但不限於紅光、綠光或藍光。可藉由第一紅色分量、第一綠色分量與第一藍色分量分別加上第二預定值,一方面增加光線的亮度以降低誤判的機率,另一方面不會影響測量結果。上述的第二預定值可為但不限於十進制的五,可依據實際需求進行調整。The above step 308 is applicable to monochromatic light (i.e., unacceptable quantity parameter) in which the brightness of the light is dark (i.e., the maximum value is within the second interval), such as, but not limited to, red light, green light, or blue light. By adding the second predetermined value to the first red component, the first green component and the first blue component, respectively, the brightness of the light is increased on the one hand to reduce the probability of misjudgment, and the measurement result is not affected on the other hand. The second predetermined value may be, but is not limited to, a decimal five, which may be adjusted according to actual needs.
上述步驟312與步驟314係適用於光線的亮度較暗(即最大值於第二區間範圍內)的雙色光(即接受數量參數,也就是由紅色、綠色與藍色中的任二顏色所組成),例如但不限於琥珀色。舉例而言,當光線為琥珀色時,需先判斷第一紅色分量與第一綠色分量是否相同(即步驟310)。當第一紅色分量與第一綠色分量不同時執行步驟312,當第一紅色分量與第一綠色分量相同時執行步驟314,但本實施例並非用以限定本發明。The above steps 312 and 314 are applicable to the two-color light whose light intensity is dark (ie, the maximum value is in the second interval range) (ie, the acceptance quantity parameter, that is, consists of any two colors of red, green and blue). ), such as but not limited to amber. For example, when the light is amber, it is first determined whether the first red component is the same as the first green component (ie, step 310). Step 312 is performed when the first red component is different from the first green component, and step 314 is performed when the first red component is the same as the first green component, but the embodiment is not intended to limit the present invention.
在步驟212中,格式轉換程序係為利用第二紅色分量、第二綠色分量與第二藍色分量經過HSB公式轉換後獲得色彩值,色彩值可為零至三百六十度。其中,HSB公式如下:In step 212, the format conversion program obtains the color value by using the second red component, the second green component, and the second blue component after the HSB formula conversion, and the color value may be zero to three hundred and sixty degrees. Among them, the HSB formula is as follows:
其中,H為色彩值,r為第二紅色分量,g為第二綠色分量,b為第二藍色分量,max為第二紅色分量、第二綠色分量與第二藍色分量中的最大值,min為第二紅色分量、第二綠色分量與第二藍色分量中的最小值。也就是說,當第二紅色分量、第二綠色分量與第二藍色分量中的最大值等於最小值(即第二紅色分量、第二綠色分量與第二藍色分量相等,即符合公式(1))時,色彩值為零度。當第二紅色分量、第二綠色分量與第二藍色分量中的最大值為第二紅色分量及第二綠色分量大於且等於第二藍色分量時,色彩值符合上述公式(2)。當第二紅色分量、第二綠色分量與第二藍色分量中的最大值為第二紅色分量及第二綠色分量小於第二藍色分量時,色彩值符合上述公式(3)。當第二紅色分量、第二綠色分量與第二藍色分量中的最大值為第二綠色分量時,色彩值符合上述公式(4)。當第二紅色分量、第二綠色分量與第二藍色分量中的最大值為第二藍色分量時,色彩值符合上述公式(5)。Where H is the color value, r is the second red component, g is the second green component, b is the second blue component, and max is the maximum of the second red component, the second green component, and the second blue component , min is the minimum of the second red component, the second green component, and the second blue component. That is, when the maximum value of the second red component, the second green component, and the second blue component is equal to the minimum value (ie, the second red component, the second green component, and the second blue component are equal, that is, the formula is satisfied ( When 1)), the color value is zero degrees. When the maximum value of the second red component, the second green component, and the second blue component is the second red component and the second green component is greater than and equal to the second blue component, the color value conforms to the above formula (2). When the maximum value of the second red component, the second green component, and the second blue component is the second red component and the second green component is less than the second blue component, the color value conforms to the above formula (3). When the maximum value among the second red component, the second green component, and the second blue component is the second green component, the color value conforms to the above formula (4). When the maximum value among the second red component, the second green component, and the second blue component is the second blue component, the color value conforms to the above formula (5).
上述步驟214所述之預期範圍係為單一顏色的色彩值範圍,舉例而言,紅色可為但不限於零度至十二度與三百三十度至三百六十度(三百六十度即為零度),綠色可為但不限於九十度至一百五十度,藍色可為但不限於二百一十度至二百六十度,琥珀色可為但不限於十三度至六十度的範圍,但本實施例並非用以限定本發明。當色彩值在預期範圍內時輸出的結果信號可為成功信號(即發光二極體50合格),當色彩值在預期範圍內時輸出的結果信號可為失敗信號(即發光二極體50不合格)。結果信號的輸出方式可為但不限於利用發光二極體測試裝置100外接顯示單元(未繪製)進行顯示。也就是說,結果信號的輸出方式亦可為利用發光二極體測試裝置100外接聲音單元(未繪製)進行聲音的提示。需注意的是,預期範圍係為發光二極體測試裝置100進行測量前即設定好的範圍。The expected range described in the above step 214 is a range of color values of a single color. For example, the red color may be, but not limited to, zero to twelve degrees and three hundred thirty degrees to three hundred and sixty degrees (three hundred and sixty degrees). That is, zero degrees), green can be but not limited to ninety to one hundred and fifty degrees, blue can be but not limited to two hundred and ten degrees to two hundred and sixty degrees, and amber can be but not limited to thirteen degrees To the extent of sixty degrees, this embodiment is not intended to limit the invention. When the color value is within the expected range, the output signal may be a success signal (ie, the light-emitting diode 50 is qualified), and the output signal outputted when the color value is within the expected range may be a failure signal (ie, the light-emitting diode 50 is not qualified). The output signal of the result signal can be, but is not limited to, displayed by an external display unit (not drawn) of the LED test apparatus 100. That is to say, the output mode of the result signal may also be a sound prompt by the external sound unit (not drawn) of the light-emitting diode test device 100. It should be noted that the expected range is the range set before the measurement by the light-emitting diode test apparatus 100.
請參照「第1圖」與「第4圖」,「第4圖」係為依據本發明所揭露之發光二極體的發光顏色判定方法的第二實施例流程示意圖。本實施例的發光二極體的發光顏色判定方法除了上述第一實施例的流程外,更可包括:步驟402:當最大值不在第一區間範圍或第二區間範圍內時,重新接收面積參數與時間參數;步驟404:當重新接收面積參數與時間參數時,增加計數參數的大小;步驟406:判斷計數參數小於或等於預定次數;步驟408:當計數參數小於預定次數時,判斷最大值是否於第一區間範圍或第二區間範圍內;步驟410:當計數參數小於預定次數且最大值於第一區間範圍或第二區間範圍內時,最大值進行補償程序而輸出第二紅色分量、第二綠色分量與第二藍色分量;步驟412:當計數參數等於預定次數時,判斷最大值是否於第一區間範圍或第二區間範圍內;以及步驟414:當計數參數等於預定次數且最大值不在第一區間範圍或第二區間範圍內時,第一紅色分量、第一綠色分量與第一藍色分量進行格式轉換程序而獲得色彩值。Please refer to FIG. 1 and FIG. 4, and FIG. 4 is a schematic flow chart of a second embodiment of a method for determining the color of light emitted by a light-emitting diode according to the present invention. In addition to the flow of the first embodiment, the method for determining the illuminating color of the illuminating diode of the present embodiment may further include: step 402: re-receiving the area parameter when the maximum value is not within the first interval range or the second interval range And the time parameter; Step 404: When the area parameter and the time parameter are re-received, increase the size of the counting parameter; Step 406: Determine that the counting parameter is less than or equal to the predetermined number of times; Step 408: When the counting parameter is less than the predetermined number of times, determine whether the maximum value is In the first interval range or the second interval range; step 410: when the counting parameter is less than the predetermined number of times and the maximum value is within the first interval range or the second interval range, the maximum value performs a compensation procedure to output a second red component, a second green component and a second blue component; step 412: determining whether the maximum value is within the first interval range or the second interval range when the counting parameter is equal to the predetermined number of times; and step 414: when the counting parameter is equal to the predetermined number of times and the maximum value When not in the first interval range or the second interval range, the first red component, the first green component, and the first blue Format conversion program component obtained color value.
上述步驟402與步驟404所述之計數參數的初始值可為但不限於零,當重新接收面積參數與時間參數時,可將計數參數增加一,但本實施例並非用以限定本發明。上述步驟406所述之預定次數可為但不限於所有設定好的面積參數的數量與所有設定好的時間參數的數量之乘積。換句話說,當最大值不在第一區間範圍或第二區間範圍內時,發光二極體測試裝置100會一直重新接收新的面積參數與時間參數。當發光二極體測試裝置100將所有可用的參數對發光二極體50所發出的光線進行測量後,控制器108所獲得的最大值還是不在第一區間範圍或第二區間範圍內時,控制器108將第一紅色分量、第一綠色分量與第一藍色分量進行格式轉換程序而獲得色彩值。The initial value of the counting parameter described in the above steps 402 and 404 may be, but not limited to, zero. When the area parameter and the time parameter are re-received, the counting parameter may be increased by one, but the embodiment is not intended to limit the present invention. The predetermined number of times described in the above step 406 may be, but is not limited to, the product of the number of all set area parameters and the number of all set time parameters. In other words, when the maximum value is not within the first interval range or the second interval range, the LED test apparatus 100 will always receive new area parameters and time parameters. When the LED device 100 measures all the available parameters to the light emitted by the LEDs 50, the maximum value obtained by the controller 108 is not within the first interval or the second interval, and the control is performed. The device 108 performs a format conversion process on the first red component, the first green component, and the first blue component to obtain a color value.
請參照「第1圖」與「第5圖」,「第5圖」係為依據本發明所揭露之發光二極體的發光顏色判定方法的第三實施例流程示意圖。本實施例的發光二極體的發光顏色判定方法除了上述第一實施例的流程外,在判斷最大值是否於第一區間範圍或第二區間範圍內(即步驟208)後,發光二極體的發光顏色判定方法更可包括:步驟502:判斷最大值於第三區間範圍或第四範圍內,其中第三區間範圍為大於或等於0x00且小於0x47,第四區間範圍為大於0x4c且小於或等於0xF2;步驟504:當最大值於第三區間範圍內時,輸出失敗信號;以及步驟506:當最大值於第四區間範圍內時,第一紅色分量、第一綠色分量與第一藍色分量進行格式轉換程序而獲得色彩值,並判斷色彩值是否在預期範圍內而輸出結果信號。Please refer to FIG. 1 and FIG. 5, and FIG. 5 is a schematic flow chart of a third embodiment of a method for determining the color of light emitted by a light-emitting diode according to the present invention. In addition to the flow of the first embodiment, the method for determining the illuminating color of the illuminating diode of the present embodiment, after determining whether the maximum value is within the first interval range or the second interval (ie, step 208), the light emitting diode The illuminating color determining method may further include: step 502: determining that the maximum value is in the third interval range or the fourth range, wherein the third interval range is greater than or equal to 0x00 and less than 0x47, and the fourth interval range is greater than 0x4c and less than or Equal to 0xF2; Step 504: Output a failure signal when the maximum value is within the third interval range; and Step 506: When the maximum value is within the fourth interval range, the first red component, the first green component, and the first blue The component performs a format conversion process to obtain a color value, and judges whether the color value is within an expected range and outputs a result signal.
在步驟504中,由於最大值於第三區間範圍時,感測元件104幾乎感測不到光線的亮度,因此不需再進行任何步驟即可判斷發光二極體50不合格,以減少測試時間。In step 504, since the maximum value is in the third interval range, the sensing element 104 barely senses the brightness of the light, so that the LED 20 is not qualified to be tested in any further steps to reduce the test time. .
在步驟506中,由於最大值於第四區間範圍時,感測元件104可正確的感測出光線的狀態,因此可直接將第一紅色分量、第一綠色分量與第一藍色分量進行格式轉換程序並判斷色彩值是否在預期範圍內。In step 506, since the maximum value is in the fourth interval range, the sensing element 104 can correctly sense the state of the light, so the first red component, the first green component, and the first blue component can be directly formatted. Convert the program and determine if the color value is within the expected range.
上述實施例為發光二極體測試裝置100可於所有的面積參數與時間參數中尋找適當的面積參數與時間參數,以避免因光線的亮度太大或太小而造成發光二極體測試裝置100的誤判,但本實施例並非用以限定本發明。也就是說,在執行步驟202前,可先預設多組的面積參數與時間參數進行之後的判定流程,其中多組的面積參數與時間參數符合可正確判定大多數發光二極體所發出光線的條件,以避免浪費判定的時間。In the above embodiment, the LED test apparatus 100 can find appropriate area parameters and time parameters in all area parameters and time parameters to avoid the LEDs 100 being too large or too small. Misjudgement, but this embodiment is not intended to limit the invention. That is to say, before the step 202 is performed, the determination process of the plurality of sets of area parameters and time parameters may be preset, wherein the plurality of sets of area parameters and time parameters are matched to correctly determine the light emitted by most of the light-emitting diodes. Conditions to avoid wasting time for judgment.
依據本發明所揭露之發光二極體的發光顏色判定方法,可用以提高發光二極體測試裝置正確判定發光顏色的機率。藉由調整適當的面積參數與時間參數,以避免因光線的亮度太大或太小而造成發光二極體測試裝置的誤判,其中可先預設多組的面積參數與時間參數避免浪費判定的時間。當光線的亮度無法利用面積參數與時間參數調整至較佳的感測結果(即最大值於第一區間範圍內或第二區間範圍內)時,可藉由補償程序將光線的亮度或光線中的第一紅色分量、第一綠色分量與第一藍色分量進行調整,使進行格式轉換程序而輸出的色彩值更接近預期範圍,以便提高發光顏色的判斷。當最大值於第三區間範圍內時,發光二極體測試裝置可輸出失敗信號,且不需再進行任何步驟以減少測試時間。The method for determining the illuminating color of the illuminating diode according to the present invention can be used to improve the probability that the illuminating diode test device correctly determines the illuminating color. By adjusting the appropriate area parameters and time parameters to avoid false positives of the light-emitting diode test device due to the too large or too small brightness of the light, multiple sets of area parameters and time parameters can be preset to avoid waste determination. time. When the brightness of the light cannot be adjusted to the better sensing result by using the area parameter and the time parameter (ie, the maximum value is within the first interval range or within the second interval range), the brightness or light of the light may be used by the compensation program. The first red component, the first green component, and the first blue component are adjusted such that the color value outputted by the format conversion process is closer to the expected range, so as to improve the determination of the illuminating color. When the maximum value is within the third interval, the LED test device can output a failure signal, and no further steps are required to reduce the test time.
雖然本發明以前述的較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,因此本發明的專利保護範圍須視本說明書所附的申請專利範圍所界定者為準。While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection of the invention is subject to the definition of the scope of the patent application attached to this specification.
50...發光二極體50. . . Light-emitting diode
100...發光二極體測試裝置100. . . Light emitting diode test device
102...發光二極體插座102. . . Light-emitting diode socket
104...感測元件104. . . Sensing element
106...光纖106. . . optical fiber
108...控制器108. . . Controller
第1圖係為應用本發明所揭露之發光二極體的發光顏色判定方法的發光二極體測試裝置之一實施例結構示意圖。FIG. 1 is a schematic structural view showing an embodiment of a light-emitting diode test apparatus applying the light-emitting color determining method of the light-emitting diode disclosed in the present invention.
第2圖係為依據本發明所揭露之發光二極體的發光顏色判定方法的第一實施例流程示意圖。FIG. 2 is a schematic flow chart of a first embodiment of a method for determining a color of a light-emitting diode according to the present invention.
第3圖係為依據第2圖之步驟208的補償程序一實施例流程示意圖。Figure 3 is a flow diagram of an embodiment of a compensation procedure in accordance with step 208 of Figure 2;
第4圖係為依據本發明所揭露之發光二極體的發光顏色判定方法的第二實施例流程示意圖。FIG. 4 is a schematic flow chart of a second embodiment of a method for determining the color of light emitted by a light-emitting diode according to the present invention.
第5圖係為依據本發明所揭露之發光二極體的發光顏色判定方法的第三實施例流程示意圖。FIG. 5 is a schematic flow chart of a third embodiment of a method for determining a luminescent color of a light-emitting diode according to the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW99145353A TWI411770B (en) | 2010-12-22 | 2010-12-22 | Method for judging a light color of light-emitting diode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW99145353A TWI411770B (en) | 2010-12-22 | 2010-12-22 | Method for judging a light color of light-emitting diode |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201226867A TW201226867A (en) | 2012-07-01 |
TWI411770B true TWI411770B (en) | 2013-10-11 |
Family
ID=46933013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW99145353A TWI411770B (en) | 2010-12-22 | 2010-12-22 | Method for judging a light color of light-emitting diode |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI411770B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002218273A (en) * | 2001-01-22 | 2002-08-02 | Fuji Xerox Co Ltd | Image processor and image processing method |
US20030182544A1 (en) * | 1992-06-30 | 2003-09-25 | Wise Adrian P. | Multistandard video decoder and decompression system for processing encoded bit streams including a decoder with token generator and methods relating thereto |
US20060139387A1 (en) * | 2004-05-27 | 2006-06-29 | Silverbrook Research Pty Ltd | Printer controller for providing data and command via communication output |
US20070146386A1 (en) * | 2005-12-23 | 2007-06-28 | Xerox Corporation | Anti-aliased tagging using look-up table edge pixel identification |
US7593021B1 (en) * | 2004-09-13 | 2009-09-22 | Nvidia Corp. | Optional color space conversion |
TW201015530A (en) * | 2008-10-13 | 2010-04-16 | Chi Mei Optoelectronics Corp | Display apparatus and image adjusting method |
-
2010
- 2010-12-22 TW TW99145353A patent/TWI411770B/en not_active IP Right Cessation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030182544A1 (en) * | 1992-06-30 | 2003-09-25 | Wise Adrian P. | Multistandard video decoder and decompression system for processing encoded bit streams including a decoder with token generator and methods relating thereto |
JP2002218273A (en) * | 2001-01-22 | 2002-08-02 | Fuji Xerox Co Ltd | Image processor and image processing method |
US20060139387A1 (en) * | 2004-05-27 | 2006-06-29 | Silverbrook Research Pty Ltd | Printer controller for providing data and command via communication output |
US7593021B1 (en) * | 2004-09-13 | 2009-09-22 | Nvidia Corp. | Optional color space conversion |
US20070146386A1 (en) * | 2005-12-23 | 2007-06-28 | Xerox Corporation | Anti-aliased tagging using look-up table edge pixel identification |
TW201015530A (en) * | 2008-10-13 | 2010-04-16 | Chi Mei Optoelectronics Corp | Display apparatus and image adjusting method |
Also Published As
Publication number | Publication date |
---|---|
TW201226867A (en) | 2012-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3376187B1 (en) | Color testing method using standard illuminant color matching box | |
TWI494559B (en) | Apparatus for inspecting light emitting diode and inspecting method using said apparatus | |
CN110731080B (en) | Flash lamp color calibration | |
CN1917731A (en) | Calibrated led light module | |
TWI454679B (en) | Optical detection system and optical property detection method | |
JP2008116850A (en) | Liquid crystal display device and method for controlling liquid crystal display device | |
CN106373527B (en) | The gamma and colour temperature Automatic adjustment method of a kind of highest and minimum gray scale | |
CN101796886A (en) | Backlight unit and display apparatus | |
TWI439676B (en) | An LED white light quality detection method and device | |
TW201300171A (en) | Method for making reparation of glue quantity | |
CN201141906Y (en) | LED test device | |
CN113514480A (en) | LED chip detection method, device and system and terminal equipment | |
ITMI20070577A1 (en) | METHOD FOR THE OPTIMIZATION OF THE CONDITIONS OF EXECUTION OF THE VISION CONTRAST TEST AND ITS SYSTEM | |
TWI387734B (en) | Apparatus and method for providing light source with standard tone characteristics | |
TWI411770B (en) | Method for judging a light color of light-emitting diode | |
TWI695969B (en) | Inspecting system and method for light emitting source | |
CN114783354B (en) | Color cast compensation method, architecture and medium | |
CN106885217A (en) | The full-automatic white balance adjusting methods of RGB of LED | |
CN114910815A (en) | RGB atmosphere lamp calibration mechanism, calibration method and application thereof | |
CN102478430B (en) | Light color determination method of light-emitting diode | |
KR101189909B1 (en) | Method of inspecting mixed light state of simulation light emitting diode light source | |
TWI408698B (en) | Two dimensional colorimeter calibration apparatus | |
CN103712693A (en) | Color recognition method and device | |
TW201437615A (en) | Calibration system and method for display color analyzer | |
WO2022178674A1 (en) | Led display screen and display control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |