CN109963392B - Control method of intelligent color temperature control desk lamp - Google Patents
Control method of intelligent color temperature control desk lamp Download PDFInfo
- Publication number
- CN109963392B CN109963392B CN201910146562.XA CN201910146562A CN109963392B CN 109963392 B CN109963392 B CN 109963392B CN 201910146562 A CN201910146562 A CN 201910146562A CN 109963392 B CN109963392 B CN 109963392B
- Authority
- CN
- China
- Prior art keywords
- color temperature
- compensation
- control
- desk lamp
- value
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Abstract
The application provides a control method of an intelligent color temperature control desk lamp, wherein an input device sets a desired color temperature X DEG K, and finds out corresponding tristimulus values R1, G1 and B1; reading the external color temperature Y DEG K, and finding out corresponding tristimulus values R2, G2 and B2; after the compensation color temperatures Ra, Ga and Ba are obtained, judging whether at least one of Ra, Ga and Ba is less than 0, if so, opening a shielding mechanism; if not, judging whether Ra, Ga and Ba are all larger than 0, and if so, starting the color temperature compensation mechanism; after the shielding mechanism is opened, reading the external color temperature Z DEG K, and finding out corresponding tristimulus values R3, G3 and B3; and solving the compensation color temperatures Rb, Gb and Bb, judging whether the Rb, the Gb and the Bb are all larger than 0, if so, starting the color temperature compensation mechanism, and if not, opening the shielding mechanism. The control method of the intelligent color temperature control desk lamp is characterized in that the color temperature is expressed by the corresponding tristimulus values to obtain the difference value between the target color temperature and the actual color temperature, automatic compensation can be achieved, and compensation precision is high.
Description
Technical Field
The invention relates to a control method of a desk lamp, in particular to a control method of an intelligent color temperature control desk lamp.
Background
Color temperature is the most common indicator of light source spectral quality and is also an important parameter in displays. The color temperature is used for indicating the temperature of the light source, and the light sources with different color temperatures have different cooling and heating feelings for people.
In existing electronic devices, such as luminaires, displays, the color temperature may be fixed or may be manually adjusted by the user. Since the color temperature parameter range is large and is not known to the user as the attribute parameters in the image mode, the color temperature parameter cannot be adjusted more accurately by the ordinary user, which directly affects the precision of the display effect, reduces the visual experience of the user, and even deteriorates the eyesight of the user.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a control method of an intelligent color temperature control table lamp capable of automatically and accurately adjusting color temperature.
In order to solve the technical problems, the invention provides the following technical scheme:
a control method of an intelligent color temperature control desk lamp comprises the following steps:
step 1: starting, turning on a switch button to start the input device, and lighting the lamp tube;
step 2: the desired color temperature X DEG K is set by the input device, and the control mechanism calls the corresponding tristimulus values R according to the corresponding table preset in the storage module1、G1、B1;
Step 3: the color temperature sensor is used for reading the external color temperature Y DEG K, and the control mechanism calls out the corresponding tristimulus values R according to the corresponding table preset in the storage module2、G2、B2;
Step 4: calculating the compensated color temperature R by means of a control mechanisma、Ga、Ba,Ra=R1-R2;Ga=G1-G2;Ba=B1-B2;
Step 5: using control means to determine Ra、Ga、BaIf at least one of the parameters is less than 0, executing Step 6; if not, Step9 is executed, and Rb=Ra;Gb=Ga;Bb=Ba;
Step 6: the shielding mechanism is opened to a certain angle to shield external light, and the color temperature of the reading area is reduced;
step 7: reading the external color temperature Z DEG K by the color temperature sensor again, and calling out the corresponding tristimulus values R by the control mechanism according to the corresponding table preset in the storage module3、G3、B3;
Step 8: calculating the compensated color temperature R after shadingb、Gb、Bb,Rb=R1-R3;Gb=G1-G3;Bb=B1-B3;
Step 9: using control means to determine Rb、Gb、BbIf the values are all larger than 0, executing Step 10; if not, executing Step 11;
step 10: starting a color temperature compensation mechanism;
step 11: if the condition is over, the control means (8) determines whether or not the condition R is satisfiedb=0、Gb=0、BbIf yes, Step12 is executed; if not, executing Step 4;
step 12: and (6) ending.
Further, in Step10, the actual compensation value of the color temperature compensation mechanism is determined according to the gain table corresponding to the compensated color temperature value.
Further, the gain table is obtained as follows:
s1: an ideal color temperature T is determined by using a color temperature sensor1Finding out the color temperature T according to the existing color temperature reference corresponding table1Corresponding tristimulus value parameter R1n、G1n、B1n;
S2: finding T1Corresponding tristimulus value parameter R after 1 degree K addition2n、G2n、B2nColor temperature difference Rb1、Gb1、Bb1,Rb1=R2n-R1n,Gb1=G2n-G1n,Bb1=B2n-B1n;
S3: starting the adjustable R, G, B three light source lamps of the color temperature compensation mechanism, gradually adjusting the brightness of each light source lamp, and when the color temperature sensor reads that the external color temperature is T1At +1 degree KRecord the value Q of each light source lamp1、M1、N1,(Q1、M1、N1) Is (R)b1、Gb1、Bb1) A gain value of (d);
s4: s2 is executed, and T1+1 ° K is a new T1。
Furthermore, the color temperature sensor is a CCD chip sensor, and the CCD chip sensor is in communication connection with the control mechanism.
Further, the one-time opening angle of the shielding mechanism is 5-10 degrees, and the maximum opening angle of the shielding mechanism is 180 degrees.
Furthermore, the color temperature sensor is located on a base of the desk lamp and faces the lamp tube, the color temperature compensation mechanism is arranged on the lamp tube, and the shielding mechanism is located above the lamp tube.
According to the technical scheme, the invention has the following beneficial effects:
in the control process, the target color temperature and the detected color temperature are expressed by adopting corresponding three primary color values, then the difference value of each primary color is obtained, and the light source of the viewing area is close to the target light source by shielding or compensating, so the precision of the adjusting process is high, and the visual experience of a user is improved;
the color temperature compensation is determined by the gain value, and the gain value is obtained through experiments, so that quantitative adjustment can be realized, and the adjustment in place can be realized at one time;
the influence of external light on the color temperature of the viewing area can be reduced through the shielding mechanism, and the light source cover can be more concentrated.
The invention is described in further detail below with reference to the figures and the detailed description.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic perspective view of a desk lamp.
Fig. 2 is a front view of a shielding mechanism of the desk lamp.
Fig. 3 is a side view of the shielding mechanism of the desk lamp when it is unfolded.
Fig. 4 is a side view of the shading mechanism of the desk lamp when closed.
Fig. 5 is a schematic diagram of the control principle of the desk lamp.
FIG. 6 is a control flow diagram of the present invention.
Description of reference numerals: the device comprises a base 1, a color temperature sensor 11, a switch button 12, an input device 13, a fixed upright rod 2, a swing rod 3, a movable headstock 4, a lamp tube 5, a shielding mechanism 6, a fan-shaped shielding plate 61, a transmission mechanism 62, a motor 63, a color temperature compensation mechanism 7, a control mechanism 8 and a power supply mechanism 9.
Detailed Description
The embodiments of the invention will be described in detail below with reference to the drawings, but the invention can be implemented in many different ways as defined and covered by the claims.
The present application is further described with reference to fig. 1 to 4, for example, a table lamp shown in fig. 1 and 5 includes a base 1, a fixed vertical rod 2 is fixedly disposed on the base 1, a swing rod 3 is movably connected to the fixed vertical rod 2, a movable head frame 4 is movably connected to an end of the swing rod 3, a lamp tube 5 and a color temperature compensation mechanism 7 are disposed on the movable head frame 4, a shielding mechanism 6 is disposed above the lamp tube 5, a color temperature sensor 11, a switch button 12, an input device 13, a control mechanism 8, and a power mechanism 9 are disposed on the base 1, the color temperature sensor 11 faces the lamp tube 5, the color temperature sensor 11, the color temperature compensation mechanism 7, the shielding mechanism 6, the switch button 12, and the input device 13 are electrically connected to the control mechanism 8, the power mechanism 9 provides a power source for the table lamp, wherein, the color temperature sensor 11 is a CCD chip sensor, and the CCD chip sensor is in communication connection with the control mechanism 8.
As shown in fig. 2, 3 and 4, the shielding mechanism 6 includes a plurality of fan-shaped shielding plates 61, adjacent fan-shaped shielding plates 61 are connected in an arc sliding manner, the fan-shaped shielding plate 61 located at the innermost side of the shielding mechanism 6 is fixedly connected with the movable head frame 4, the fan-shaped shielding plate 61 located at the outermost side of the shielding mechanism 6 is connected with a motor 63 through a transmission mechanism 62, the motor 63 operates to drive the fan-shaped shielding plates 61 to rotate and open sequentially, the one-time opening angle of the shielding mechanism 6 is 5 ° to 10 °, and the maximum opening angle of the shielding mechanism 6 is 180 °.
As shown in fig. 6, a control method of an intelligent color temperature control desk lamp includes the following steps:
step 1: initially, the switch button 12 is turned on to start the input device 13, and the lamp 5 is lighted;
step 2: the desired color temperature X DEG K is set by the input device 13, and the control means 8 calls the corresponding tristimulus values R according to the corresponding table preset in the memory module1、G1、B1Wherein, the corresponding tristimulus value table is analyzed by an optical experiment to obtain a corresponding numerical value;
step 3: the color temperature sensor 11 is used to read the external color temperature Y DEG K, and the control mechanism 8 calls out the corresponding tristimulus value R according to the corresponding table preset in the storage module2、G2、B2;
Step 4: the compensation color temperature R is obtained by the control mechanism 8a、Ga、Ba,Ra=R1-R2;Ga=G1-G2;Ba=B1-B2;
Step 5: determination of R by means of the control means 8a、Ga、BaIf at least one of the parameters is less than 0, executing Step 6; if not, Step9 is executed, and Rb=Ra;Gb=Ga;Bb=Ba;
Step 6: the shielding mechanism 6 is opened at a certain angle to shield external light, and the color temperature of the reading area is reduced;
step 7: the color temperature sensor 11 is used again to read the external color temperature Z DEG K, and the control mechanism 8 is used to set the external color temperature according to the preset valueCalling out corresponding tristimulus values R in corresponding tables in storage module3、G3、B3;
Step 8: calculating the compensated color temperature R after shadingb、Gb、Bb,Rb=R1-R3;Gb=G1-G3;Bb=B1-B3;
Step 9: determination of R by means of the control means 8b、Gb、BbIf the values are all larger than 0, executing Step 10; if not, executing Step 11;
step 10: starting the color temperature compensation mechanism 7, wherein the actual compensation value of the color temperature compensation mechanism 7 is based on Rb、Gb、BbThe corresponding gain value in the gain table is determined, and the color temperature compensation mechanism 7 is controlled to adjust by using the gain value;
step 11: if the condition is over, the control means (8) determines whether or not the condition R is satisfiedb=0、Gb=0、BbIf yes, Step12 is executed; if not, executing Step 4;
step 12: and (6) ending.
In the color temperature compensation process, the desired color temperature X DEG K and the read external color temperature Y DEG K are respectively decomposed into corresponding three primary color values for calculation, so that the compensation precision is high.
The gain table in Step10 is obtained as follows:
s1: an ideal color temperature T is determined by the color temperature sensor 111Finding out the color temperature T according to the existing color temperature reference corresponding table1Corresponding tristimulus value parameter R1n、G1n、B1n;
S2: finding T1Corresponding tristimulus value parameter R after 1 degree K addition2n、G2n、B2nColor temperature difference Rb1、Gb1、Bb1,Rb1=R2n-R1n,Gb1=G2n-G1n,Bb1=B2n-B1n;
S3: adjustable R, G, B III for starting color temperature compensation mechanism 7The brightness of each light source is gradually adjusted, and when the color temperature sensor 11 reads the external color temperature T1Record the value Q of each light source lamp at +1 degree K1、M1、N1,Q1、M1、N1Is Rb1、Gb1、Bb1A gain value of (d);
s4: s2 is executed, and T1+1 ° K is a new T1。
The gain value obtained by the experimental method is accurate, the color temperature compensation is determined by the gain value, quantitative adjustment can be realized, and the adjustment in place can be realized at one time, so that automatic adjustment is realized, the adjustment precision is high, and the use is convenient.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (4)
1. A control method of an intelligent color temperature control desk lamp is characterized by comprising the following steps:
step 1: starting, turning on a switch button (12) to start the input device (13), and simultaneously lighting the lamp tube (5);
step 2: a desired color temperature X DEG K is set by an input device (13), and a control means (8) calls out a corresponding tristimulus value R according to a corresponding table preset in a storage module1、G1、B1;
Step 3: the color temperature sensor (11) is used for reading the external color temperature Y DEG K, and the control mechanism (8) calls out the corresponding tristimulus value R according to the corresponding table preset in the storage module2、G2、B2;
Step 4: the compensation color temperature R is obtained by using a control mechanism (8)a、Ga、Ba,Ra=R1-R2;Ga=G1-G2;Ba=B1-B2;
Step 5: r is judged by a control mechanism (8)a、Ga、BaIf at least one of the parameters is less than 0, executing Step 6; if not, Step9 is executed, and Rb=Ra;Gb=Ga;Bb=Ba;
Step 6: the shielding mechanism (6) is opened at a certain angle to shield external light, and the color temperature of the reading area is reduced;
step 7: the color temperature sensor (11) is used again to read the external color temperature Z DEG K, and the control mechanism (8) calls out the corresponding tristimulus value R according to the corresponding table preset in the storage module3、G3、B3;
Step 8: calculating the compensated color temperature R after shadingb、Gb、Bb,Rb=R1-R3;Gb=G1-G3;Bb=B1-B3;
Step 9: r is judged by a control mechanism (8)b、Gb、BbIf the values are all larger than 0, executing Step 10; if not, executing Step 11;
step 10: starting a color temperature compensation mechanism (7), wherein the actual compensation value of the color temperature compensation mechanism (7) is determined according to a gain table corresponding to the compensation color temperature value, and the gain table is obtained by the following method:
s1: an ideal color temperature T is determined by a color temperature sensor (11)1Finding out the color temperature T according to the existing color temperature reference corresponding table1Corresponding tristimulus value parameter R1n、G1n、B1n;
S2: finding T1Corresponding tristimulus value parameter R after 1 degree K addition2n、G2n、B2nColor temperature difference Rb1、Gb1、Bb1,Rb1=R2n-R1n,Gb1=G2n-G1n,Bb1=B2n-B1n;
S3: r, G, B adjustable three light source lamps for starting color temperature compensation mechanism (7) to gradually adjust brightness of each light source lampThe color temperature sensor (11) reads the external color temperature as T1Record the value Q of each light source lamp at +1 degree K1、M1、N1,(Q1、M1、N1) Is (R)b1、Gb1、Bb1) A gain value of (d);
s4: s2 is executed, and T1+1 ° K is a new T1;
Step 11: if the condition is over, the control means (8) determines whether or not the condition R is satisfiedb=0、Gb=0、BbIf yes, Step12 is executed; if not, executing Step 4;
step 12: and (6) ending.
2. The control method of the intelligent color temperature control desk lamp as claimed in claim 1, wherein the color temperature sensor (11) is a CCD chip sensor, and the CCD chip sensor is connected to the control mechanism (8) in communication.
3. The control method of the intelligent color temperature control desk lamp according to claim 1, wherein the opening angle of the shielding mechanism (6) is 5-10 ° at a time, and the maximum opening angle of the shielding mechanism (6) is 180 °.
4. The control method of the intelligent color temperature control desk lamp according to claim 1, wherein the color temperature sensor (11) is located on the base (1) of the desk lamp, the color temperature sensor (11) faces the lamp tube (5), the color temperature compensation mechanism (7) is disposed on the lamp tube (5), and the shielding mechanism (6) is located above the lamp tube (5).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910146562.XA CN109963392B (en) | 2019-02-27 | 2019-02-27 | Control method of intelligent color temperature control desk lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910146562.XA CN109963392B (en) | 2019-02-27 | 2019-02-27 | Control method of intelligent color temperature control desk lamp |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109963392A CN109963392A (en) | 2019-07-02 |
CN109963392B true CN109963392B (en) | 2021-04-16 |
Family
ID=67023977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910146562.XA Expired - Fee Related CN109963392B (en) | 2019-02-27 | 2019-02-27 | Control method of intelligent color temperature control desk lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109963392B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103889101A (en) * | 2012-12-24 | 2014-06-25 | 鸿富锦精密工业(深圳)有限公司 | Color temperature adjusting method and lighting device using same |
CN104768280A (en) * | 2015-01-22 | 2015-07-08 | 浙江凯耀照明股份有限公司 | Color temperature compensation method for LED lamp |
CN106304536A (en) * | 2015-06-24 | 2017-01-04 | 财团法人工业技术研究院 | Light emitting device capable of adjusting color temperature and color temperature adjusting method thereof |
CN207539816U (en) * | 2017-10-19 | 2018-06-26 | 广州市浩洋电子股份有限公司 | A kind of color temperature compensating system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI538555B (en) * | 2012-12-24 | 2016-06-11 | 鴻海精密工業股份有限公司 | A color temperature adjustment method and an illumination device using the method thereof |
CN107547887A (en) * | 2016-06-28 | 2018-01-05 | 深圳富泰宏精密工业有限公司 | Electronic installation and its color temperature adjusting method |
-
2019
- 2019-02-27 CN CN201910146562.XA patent/CN109963392B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103889101A (en) * | 2012-12-24 | 2014-06-25 | 鸿富锦精密工业(深圳)有限公司 | Color temperature adjusting method and lighting device using same |
CN104768280A (en) * | 2015-01-22 | 2015-07-08 | 浙江凯耀照明股份有限公司 | Color temperature compensation method for LED lamp |
CN106304536A (en) * | 2015-06-24 | 2017-01-04 | 财团法人工业技术研究院 | Light emitting device capable of adjusting color temperature and color temperature adjusting method thereof |
CN207539816U (en) * | 2017-10-19 | 2018-06-26 | 广州市浩洋电子股份有限公司 | A kind of color temperature compensating system |
Also Published As
Publication number | Publication date |
---|---|
CN109963392A (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8040425B2 (en) | Imaging apparatus and imaging method using ND filters for color-temperature correction | |
CN100407771C (en) | Image input device | |
CN105264880B (en) | Optical filtering for camera | |
US20080303918A1 (en) | Color correcting for ambient light | |
US7301534B2 (en) | Determining the lighting conditions surrounding a device | |
CN105282531B (en) | Control the method and device of low gray level white balance | |
TW200740211A (en) | Imaging apparatus and exposure control method | |
US7522280B2 (en) | Apparatus and method for equalizing illumination of light sources for digital image test member, and apparatus and method for testing color of digital image using the same | |
CN109963392B (en) | Control method of intelligent color temperature control desk lamp | |
JP2009053064A (en) | Color meter | |
CN108737806A (en) | A kind of projecting apparatus color correcting method and device, computer storage media | |
CN209417635U (en) | A kind of cover board that one is black and display device | |
JP2003324670A (en) | Projection type video display device | |
TWI410737B (en) | Method for compensating light reflection of projection frame and projection apparatus | |
WO2015176668A1 (en) | Lamp control method, device and system | |
JP2006154703A (en) | Device and method for adjusting luminosity of display panel | |
WO2014064865A1 (en) | Illumination device | |
CN207197666U (en) | A kind of novel color luminance meter | |
JP2011109188A (en) | Display device | |
CN109509436A (en) | A kind of driving method of display panel, driving device and display device | |
JP4661129B2 (en) | Imaging apparatus and program thereof | |
CN102025893A (en) | Projection picture light reflection compensating method and projection device | |
JP2011529581A (en) | Display characterization by filtering | |
CN209045136U (en) | Can long-range DICOM correction display | |
CN207601496U (en) | A kind of erect image color corrector for color development unit |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210416 |