CN101437340B - Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp - Google Patents

Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp Download PDF

Info

Publication number
CN101437340B
CN101437340B CN2008101636574A CN200810163657A CN101437340B CN 101437340 B CN101437340 B CN 101437340B CN 2008101636574 A CN2008101636574 A CN 2008101636574A CN 200810163657 A CN200810163657 A CN 200810163657A CN 101437340 B CN101437340 B CN 101437340B
Authority
CN
China
Prior art keywords
rgb
color
led lamp
value
rgb color
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.)
Active
Application number
CN2008101636574A
Other languages
Chinese (zh)
Other versions
CN101437340A (en
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.)
Zhejiang Shenghui Lighting Co Ltd
Original Assignee
Zhejiang Shenghui Lighting 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 Zhejiang Shenghui Lighting Co Ltd filed Critical Zhejiang Shenghui Lighting Co Ltd
Priority to CN2008101636574A priority Critical patent/CN101437340B/en
Publication of CN101437340A publication Critical patent/CN101437340A/en
Application granted granted Critical
Publication of CN101437340B publication Critical patent/CN101437340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an automatic calibration instrument for an RGB variable color LED lamp, and a calibration method. The calibration instrument comprises a power source, a color sensor, a keyboard, a storage, a display screen, a central processing unit and a communication interface, wherein the central processing unit is loaded with control software provided with control parameters for adjusting RGB color; the communication interface is connected with an LED lamp controller; and the central processing unit is respectively connected with the power source, the color sensor, the keyboard, the storage, the display screen and the communication interface. The calibration method comprises the following steps: an RGB color setting value is obtained from the storage; the color sensor is used to obtain an RGB color actual measured value; the control software compares the RGB color setting value with the RGB color actual measured value, and obtains corresponding control parameters for adjusting RGB color according to difference between the setting value and the measured value; and the control parameters are transmitted to the LED lamp controller through a serial port and the LED lamp controller is responsible for executing calibration; therefore, different RGB variable color LED lamps have the same color in the same color lighting mode.

Description

Automatic prover of a kind of RGB chatoyancy LED lamp and calibration steps
Technical field
The present invention relates to the color calibration device and the calibration steps of RGB chatoyancy LED lamp; Be specially adapted to when the RGB chatoyancy LED lamp dispatches from the factory; To its automatic setting that carries out various color lighting pattern controlled variable, make different RGB chatoyancy LED lamps under identical light illumination mode, present identical color.
Background technology
LED since have low in energy consumption, volume is little, reliability is high, the life-span is long and react advantage such as fast, has obtained widespread use.In recent years; Fast development along with the power LED technology; The RGB three-primary color LED of integrated some in a lighting bulb easily, promptly the LED of above-mentioned some is divided into the LED lamp group of three kinds of primary colours of red, green, blue, changes the intensity of illumination of each LED lamp group according to certain proportionate relationship through control circuit; Just change the integral illumination color of LED illuminating lamp, realize color lighting; Organize the proportionate relationships of R, G, B more if prestore, just can realize the multiple color mode of LED illuminating lamp.
Yet; The color of RGB chatoyancy LED lamp is to form through R, G, B three-primary color LED; Usually use constant current to control the control that realizes color; But owing to influenced by production technology and production run, there is individual difference between the luminescent chromaticity of each primary-color LED lamp, intensity and the drive current, makes that the LED in same batch presents different colors under the same settings electric current.So will cause ex factory pass rate low, quality is not good, the ultimate consumer can not obtain good illuminating effect.So make different RGB chatoyancy LED lamps in the same color light illumination mode, present identical color, the controlled variable of just necessary dynamic calibration RGB chatoyancy LED lamp.
Summary of the invention
The present invention is directed to above-mentioned prior art problems; Automatic prover of a kind of RGB chatoyancy LED lamp and calibration steps are provided; The controlled variable of its automatically setting each RGB chatoyancy LED lamp under different light illumination modes; And the LED lamp is regulated calibration through this controlled variable, make different RGB chatoyancy LED lamps under identical color lighting pattern, present identical color.
Technical scheme of the present invention is achieved in that
The automatic prover of a kind of RGB chatoyancy LED lamp, this prover comprises:
Be used to provide the power supply of electric energy;
Be used to obtain the actual light intensity of LED lamp RGB and convert thereof into the color sensor of frequency with the pulse of light intensity variation;
Be used to set the color of LED lamp RGB and the keyboard that light illumination mode switches;
Be used to preserve the storer of the RGB color settings value under each light illumination mode;
The display screen that is used for the RGB color of display setting and the RGB color that actual measurement obtains;
Be used for the central processor unit that data processing, instruction are carried out, be mounted with the Control Software that is used to obtain regulate accordingly the controlled variable of RGB color on the central processor unit;
The communication interface that is used for transmission of data signals, communication interface connects the LED lamp controller;
Central processor unit is connected with said power supply, color sensor, keyboard, storer, display screen, communication interface respectively.
In order to regulate more easily to the LED lamp; As preferably; This prover includes two communication interfaces; One of them communication interface connects LED lamp controller, and another communication interface is connected with a host computer, on host computer, is mounted with the Control Software that is used to obtain regulate accordingly the controlled variable of RGB color equally.Store the RGB color settings value under each pattern on the host computer equally, thus also can come operation calibration LED lamp through host computer, more convenient reliable.
As preferably, described host computer is a computing machine
As preferably, described communication interface is a serial ports.
As preferably, described storer is EEPROM.
As preferably, described display screen is LCD.
A kind of automatic calibrating method of RGB chatoyancy LED lamp includes following steps:
(1), from from host computer or storer, obtaining RGB color settings value;
(2), use color sensor to obtain the RGB color actual measured value;
(3), Control Software compares color settings value and actual measured value, according to setting value and deviation of measuring value, uses pid control algorithm, calculates through central processor unit, obtains to be used to accordingly regulate the controlled variable of RGB color;
(4), central processor unit is sent to the LED lamp controller with above-mentioned controlled variable through serial ports, is responsible for execution by it;
(5), repeat above-mentioned steps,, make that finally the RGB setting value under every kind of light illumination mode is consistent with actual measured value through constantly adjustment.
The beneficial effect that has adopted the present invention of technique scheme to have is: this prover is simple in structure; Economical and practical; Can make amendment and set the color of RGB chatoyancy LED lamp easily through Control Software; Make under identical color lighting pattern to present identical color, make RGB chatoyancy LED lamp ex factory pass rate improve greatly, the user can obtain good illumination change effect.
Description of drawings
Fig. 1 is the theory structure block diagram of the automatic prover of RGB chatoyancy LED lamp in the embodiment of the invention;
Fig. 2 is the circuit diagram of color sensor in the embodiment of the invention;
Fig. 3 is the schematic diagram of keyboard circuit in the embodiment of the invention;
Fig. 4 is the circuit theory diagrams of display screen in the embodiment of the invention;
Fig. 5 is the circuit theory diagrams of storer in the embodiment of the invention;
Fig. 6 is the circuit theory diagrams of serial line interface in the embodiment of the invention;
Fig. 7 is a central processor unit circuit diagram in the embodiment of the invention;
Fig. 8 is the main program flow chart of Control Software in the embodiment of the invention;
Fig. 9 is a central processor unit capture interrupt handling procedure process flow diagram in the embodiment of the invention.
Embodiment
Embodiment of the present invention is following:
Embodiment: the automatic prover of a kind of RGB chatoyancy LED lamp, as shown in Figure 1, this prover comprises power supply 3, color sensor 4; Keyboard 2, storer 8, display screen 5; Communication interface; Central processor unit 1, burning is useful on the Control Software of the controlled variable that obtains the corresponding RGB of adjusting color on the central processor unit 1, and central processor unit 1 connects power supply 3, color sensor 4, keyboard 2, storer 8, display screen 5 and communication interface respectively; This prover comprises two communication interfaces usually, and communication interface all adopts serial ports, when prover uses separately, only uses a communication interface, and this communication interface connects the LED lamp controller, but the independent operation prover is calibrated; When using two communication interfaces; One of them communication interface connects LED lamp controller, and another communication interface is connected with host computer, on host computer, is mounted with the Control Software that is used to obtain regulate accordingly the controlled variable of RGB color equally; Control Software stores the RGB color settings value under each pattern; So also can come operation calibration LED lamp through host computer, more intuitively convenient, improved efficient; Usually, host computer adopts computing machine, can calibrate through the operational computations machine, and is comparatively convenient and swift.
In the present embodiment, this prover includes two communication interfaces, is respectively serial ports 7 and serial ports 6, and display screen 5 adopts LCD, and storer adopts EEPEOM (EEPROM); Wherein, color sensor 4 connects the RGB chatoyancy LED lamp, is used to obtain the actual light intensity of LED lamp RGB and converts thereof into the pulse that frequency changes with light intensity, and pulse is passed to central processor unit 1; Keyboard 2 is used to set the color of LED lamp RGB and the switching of the various light illumination modes of this prover; Storer 8 is used to preserve the RGB color settings value under each light illumination mode; Display screen 5 is used for the RGB color of display setting and the RGB color that actual measurement obtains; Control Software is used for setting value and measured value are compared and obtain to regulate accordingly the controlled variable of RGB color; Serial ports 7 connects host computer, and PC control software can be given central processor unit 1 with the RGB color settings value under each pattern through serial ports 7; Another serial ports 6 connects the LED lamp controller, is used for exporting to the RGB chatoyancy LED lamp to the controlled variable of regulating the RGB color.
A kind of automatic calibrating method of RGB chatoyancy LED lamp includes following steps:
(1), from host computer or storer, reads RGB color settings value;
(2), open the LED lamp, and use color sensor 4 to obtain the RGB color actual measured value;
(3), Control Software compares color settings value and actual measured value, according to setting value and deviation of measuring value,, use pid control algorithm to calculate through central processor unit 1, obtain to be used to accordingly regulate the controlled variable of RGB color;
(4), central processor unit 1 is sent to the LED lamp controller with above-mentioned controlled variable through serial ports 6, is responsible for execution by the LED lamp controller;
(5), repeat above-mentioned steps,, make that finally the RGB setting value under every kind of light illumination mode is consistent with actual measured value through constantly adjustment.
Be illustrated in figure 2 as the physical circuit syndeton of color sensor 4; U2 is the conversion chip of light intensity to frequency; Be used to obtain the actual light intensity of LED lamp RGB and convert thereof into the pulse that frequency changes with light intensity; U1 is a chip for driving, and J1 is a connector, is used to connect central processor unit 1 and color sensor 4; Through the signal that is connected S2 pin and S3 pin that central processor unit 1 is sent here, select the rgb filter of U2 chip internal; The gain multiple of the signal controlling output frequency of bringing through central processor unit 1 that is connected S0 pin and S1 pin, and give central processor unit with pulse signal.
Be illustrated in figure 3 as the instance that keyboard is realized, when key was not pressed, the signal of exporting to central processor unit was high level through drawing on the corresponding resistor.When key was pressed, corresponding output was dragged down.Central processor unit knows that through scanning that key presses.With KEY_S1 is example, and when key was not pressed, the P0_5 signal of exporting to central processor unit 1 was a high level through drawing acquisition on the R1; When key was pressed, the P0_5 signal of exporting to central processor unit was pulled to ground, and acquisition is a low level signal.
Be illustrated in figure 4 as an instance of present embodiment display screen 5 Display Realization, realize the control to the LCD backlight illumination through regulating slide rheostat W1, R33 and C24 realize the electrification reset to LCD, and the control line of LCD links to each other with central processor unit 1 with data line.
Be illustrated in figure 5 as the instance that storer is realized, chip U4 is an IIC type eeprom chip, through using pull-up resistor R10 and R11, the iic bus of chip U4 and the iic bus of central processor unit 1 is linked to each other.
As shown in Figure 6; It is an instance of serial ports 6 and serial ports 7 realizations; Chip U7 is the RS232 interface chip; Transistor-Transistor Logic level partly is that 9,10,11 of chip U7 partly links to each other with central processor unit 1 corresponding serial ports with 12 pin, and the RS232 level partly is that 7,8,13 of chip U7 links to each other with host computer and RGB chatoyancy LED lamp controller with 14 pin.
As shown in Figure 7, be the instance that central processor unit 1 is realized, U1 is embedded central processing unit, adopts philips LPC2138 chip, chip U3 is a monitoring chip, can realize the electrification reset to embedded central processing unit U1.Capacitor C 18, capacitor C 19 is that U1 provides crystal oscillator with crystal oscillator Y1.
Be illustrated in figure 8 as the process flow diagram of the automatic prover Control Software of RGB chatoyancy LED lamp master routine in the present embodiment, its process is described below:
Step 801 gets into the initial state of system works;
Step 802 is carried out necessary initialization to system;
Step 803 is read R under each light illumination mode, G, B color settings data from EEPROM, promptly read the color settings value;
Step 804 connects host computer, sees whether host computer has the new data down transmission that is provided with, if having, changes step 805 and handles, and does not have, and goes step 806;
Step 805 receives R, G, B color settings data that host computer transmits, goes step 807 after handling;
Step 806, judge to wait for host computer whether data time is set overtime, if, change step 807, if do not have overtimely, jump to step 804;
Step 807, keyboard scan;
Step 808 has judged whether that key presses, if, change step 809, if there is not key to press, changes step 807 and handle;
Step 809, button is handled, and changes step 807 after finishing dealing with.
As shown in Figure 9, be the output signal that central processor unit receives color sensor, adopt the process flow diagram of capture interrupt handling procedure, detailed process is described below:
Step 901 reads the value of catching, and the interruption times count value adds 1;
Step 902 judges whether the interruption times count value is 1, if, to change step 904 and handle, words that no are changeed step 903 and are handled;
Step 903 is obtained current value of catching and the difference of the value of catching for the first time, judges difference whether greater than the setting-up time of timer, if, to change step 905 and handle, words that no are changeed step 912 processing;
Step 904 is established the current value of catching and is the value of the catching first time, changes step 912 and handles;
Step 905 calculates the measured value of RGB color respective frequencies according to the number of times of capture interrupt and the current value of catching and the difference of the value of catching for the first time, calculates the error of measured value and setting value, refreshes the measured value of LCD demonstration simultaneously, the reset interrupt count value;
Whether step 906 judges error between color measured values and the setting value less than certain threshold value, if, to change step 907 and handle, words that no are changeed step 911;
Step 907 judges whether the calibration under all patterns finishes, if, to change step 908 and handle, words that no are changeed step 910;
Step 908, all model calibrations of prompting finish in the LCD demonstration;
Step 909 is closed and is interrupted, and prevents to get into once more capture interrupt, returns master routine;
Step 910, pattern adds 1, and changing the RGB setting value is the setting value under the present mode, promptly changes among Fig. 8 the data that are provided with in the step 803;
Step 911 is carried out the PID computing to the error between measured value and the setting value, and the output controlled quentity controlled variable is controlled variable is given the RGB chatoyancy LED lamp through serial ports a controller;
Step 912, clear interrupt identification returns.
Above-mentioned is an optimum implementation of the present invention, and all distortion that those of ordinary skill in the art can directly derive or associate from content disclosed by the invention all should be thought protection scope of the present invention.

Claims (1)

1. the automatic calibrating method of a RGB chatoyancy LED lamp is characterized in that including following steps:
(1), from host computer or storer, obtains RGB color settings value;
(2), use color sensor to obtain the RGB color actual measured value;
(3), Control Software compares color settings value and actual measured value, according to setting value and deviation of measuring value, uses pid control algorithm, calculates through central processor unit, obtains to be used to accordingly regulate the controlled variable of RGB color;
(4), central processor unit is sent to the LED lamp controller with above-mentioned controlled variable through serial ports, is responsible for execution by it;
(5), repeat above-mentioned steps,, make that finally the RGB setting value under every kind of light illumination mode is consistent with actual measured value through constantly adjustment.
CN2008101636574A 2008-12-22 2008-12-22 Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp Active CN101437340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101636574A CN101437340B (en) 2008-12-22 2008-12-22 Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101636574A CN101437340B (en) 2008-12-22 2008-12-22 Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp

Publications (2)

Publication Number Publication Date
CN101437340A CN101437340A (en) 2009-05-20
CN101437340B true CN101437340B (en) 2012-05-09

Family

ID=40711507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101636574A Active CN101437340B (en) 2008-12-22 2008-12-22 Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp

Country Status (1)

Country Link
CN (1) CN101437340B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571419B (en) * 2009-06-15 2010-12-01 浙江大学 Method adopting image segmentation for automatically testing LED indicator light of automobile instruments
WO2012073152A1 (en) 2010-12-03 2012-06-07 Koninklijke Philips Electronics N.V. Adaptable driver circuit for driving a light circuit
CN102196633B (en) * 2011-03-08 2013-10-30 广州市雅江光电设备有限公司 Colour correction method for coloured light lamp
CN105114904A (en) * 2015-08-05 2015-12-02 汉创企业(中国)有限公司 Color-sensitive LED light
CN111278189A (en) * 2020-01-14 2020-06-12 杭州涂鸦信息技术有限公司 Intelligent illumination universal correction method and system, storage medium and computer equipment
CN112698125B (en) * 2020-12-03 2022-10-21 苏州汇亿达光学科技有限公司 Method for testing color backlight module of notebook computer keyboard
CN112700742A (en) * 2021-01-07 2021-04-23 中科网联数据科技有限公司 Advertising screen monitoring system and method
CN113099571B (en) * 2021-03-30 2022-03-08 深圳市绿大科技有限公司 Light environment regulation and control method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633301B1 (en) * 1999-05-17 2003-10-14 Displaytech, Inc. RGB illuminator with calibration via single detector servo
CN1781135A (en) * 2003-04-25 2006-05-31 维申尼尔德图像系统公司 Led illumination source/display with individual led brightness monitoring capability and calibration method
CN201319682Y (en) * 2008-12-22 2009-09-30 沈锦祥 Automatic calibrator for RGB color changing LED lights

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633301B1 (en) * 1999-05-17 2003-10-14 Displaytech, Inc. RGB illuminator with calibration via single detector servo
CN1781135A (en) * 2003-04-25 2006-05-31 维申尼尔德图像系统公司 Led illumination source/display with individual led brightness monitoring capability and calibration method
CN201319682Y (en) * 2008-12-22 2009-09-30 沈锦祥 Automatic calibrator for RGB color changing LED lights

Also Published As

Publication number Publication date
CN101437340A (en) 2009-05-20

Similar Documents

Publication Publication Date Title
CN101437340B (en) Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp
CN106328070B (en) OLED mould group Gamma adjusting process and device
CN103945604A (en) Light adjusting method, light adjusting device, adjustable light source and display equipment
CN101199238A (en) Lighting device
CN101459993A (en) Background lamp apparatus for control panel and control apparatus thereof
CN101471050A (en) System and method for stabilizing wavelength of led radiation in backlight module
CN105702201B (en) A kind of LED display white balance control system and method
CN110621105B (en) Temperature color drift real-time correction device and method for LED multi-primary-color lamp
CN104167174B (en) A kind of method and device of LED display white balance adjusting
CN103906325B (en) Illumination control method and system
CN209312421U (en) A kind of display correction device and display
CN100501953C (en) Luminous diode color matching method
CN201319682Y (en) Automatic calibrator for RGB color changing LED lights
CN110225622A (en) The color and color temperature control system and method for lamps and lanterns
CN102800277B (en) A kind of for regulating method and the display device of display device color and brightness
CN204631016U (en) The water quality alarm set of purifier and purifier
CN202339697U (en) Device for adjusting color white balance of display equipment
CN101520992B (en) Automatic control method for OTP burning of LCD and apparatus thereof
CN207039951U (en) A kind of LED illumination drives automaton
CN105551410A (en) Device and method for automatic determination of white balance adjustment resistor of LED display screen
CN204155591U (en) LED display Automatic white balance brightness regulating structure
CN203968444U (en) Light fixture drives configuration device and the system of parameter
CN102646395B (en) Control device and control method of direct beck light source
CN101494028A (en) Open-loop color management for light emitting diode backlight module
US7538791B2 (en) Color monitor white chromaticity measuring device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: ZHEJIANG SHENGHUI LIGHTING CO., LTD.

Free format text: FORMER OWNER: SHEN JINXIANG

Effective date: 20110907

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 314500 JIAXING, ZHEJIANG PROVINCE TO: 314015 JIAXING, ZHEJIANG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20110907

Address after: 314015 West Road, Xiuzhou Industrial Zone, Jiaxing, Zhejiang

Applicant after: ZHEJIANG SHENGHUI LIGHTING Co.,Ltd.

Address before: 314500, Zhejiang Province, Jiaxing Peninsula apartment, Jia Hong court, room 10, building 306

Applicant before: Shen Jinxiang

C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Automatic calibration instrument and calibration method for RGB chatoyancy LED lamp

Effective date of registration: 20191123

Granted publication date: 20120509

Pledgee: China CITIC Bank Co.,Ltd. Jiaxing Tongxiang sub branch

Pledgor: ZHEJIANG SHENGHUI LIGHTING Co.,Ltd.

Registration number: Y2019330000238

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230208

Granted publication date: 20120509

Pledgee: China CITIC Bank Co.,Ltd. Jiaxing Tongxiang sub branch

Pledgor: ZHEJIANG SHENGHUI LIGHTING Co.,Ltd.

Registration number: Y2019330000238

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An automatic calibrator and calibration method for RGB variable color LED lamps

Effective date of registration: 20230210

Granted publication date: 20120509

Pledgee: China CITIC Bank Co.,Ltd. Jiaxing Tongxiang sub branch

Pledgor: ZHEJIANG SHENGHUI LIGHTING Co.,Ltd.

Registration number: Y2023330000340