CN108024411B - Lighting device and light color control method thereof - Google Patents
Lighting device and light color control method thereof Download PDFInfo
- Publication number
- CN108024411B CN108024411B CN201711015155.2A CN201711015155A CN108024411B CN 108024411 B CN108024411 B CN 108024411B CN 201711015155 A CN201711015155 A CN 201711015155A CN 108024411 B CN108024411 B CN 108024411B
- Authority
- CN
- China
- Prior art keywords
- photochromic
- light
- memory
- operating mode
- external switch
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000005286 illumination Methods 0.000 claims abstract description 48
- 230000015654 memory Effects 0.000 claims description 47
- 238000004020 luminiscence type Methods 0.000 claims description 43
- 230000003287 optical effect Effects 0.000 claims description 30
- 230000005611 electricity Effects 0.000 claims description 23
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 239000003990 capacitor Substances 0.000 claims description 8
- 230000003760 hair shine Effects 0.000 claims description 5
- 230000005055 memory storage Effects 0.000 claims 1
- 239000003086 colorant Substances 0.000 abstract description 11
- 238000001514 detection method Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000005669 field effect Effects 0.000 description 5
- 230000001351 cycling effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 238000004804 winding Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 2
- 150000001875 compounds Chemical class 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 229910044991 metal oxide Inorganic materials 0.000 description 2
- 150000004706 metal oxides Chemical class 0.000 description 2
- 229910052760 oxygen Inorganic materials 0.000 description 2
- 239000001301 oxygen Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000010453 quartz Substances 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
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
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/20—Controlling the colour of the light
-
- 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/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Abstract
The application discloses a lighting device and a light color control method thereof. TheThe light color control method of the lighting device comprises the following steps: firstly, an external switch is turned on to enable a light-emitting unit to emit low-brightness white light; then judging that the external switch is turned off when the time exceeds a first interval, and executing a working mode identification program by a microprocessor unit; if the judgment result is a first working mode, the microprocessor unit firstly controls the light-emitting unit to emit lighting white light; then, the microprocessor unit controls the light emitting unit to emit a plurality of different light colors C when the external switch is turned off within a second intervaln(ii) a Then, the microprocessor unit controls the light-emitting unit to emit a light color Ci(ii) a If the first working mode is judged, the microprocessor unit controls the light-emitting unit to emit the corresponding illumination white light or the light color Ci。
Description
Technical field
The present invention relates to a kind of lighting device and its photochromic control method, espespecially a kind of lighting device with memory function
And its photochromic control method.
Background technique
With the progress of light emitting diode manufacturing technology, the photochromic color for no longer there was only conventional white issued, also
Can have various color composed by red, green, blue and combinations thereof, also because in this way, make the function of lighting device in addition to
Except illuminating target and keeping it more clear, by the photochromic of transformation lighting device, to reach environment arrangement, create an atmosphere and hold
The usage mode of the purpose of recreation more becomes prevailing.
If TaiWan, China patent of invention announces I 540934, a kind of LED illumination light adjusting circuit is proposed, be control LED group
The light modulation of part, it is characterised in that include power supply terminal, supply line voltage;Ground terminal connects into ground connection;1st output end
Son is connect with aforementioned power source terminal, and connects the anode-side of aforementioned LED component;2nd output terminal connects aforementioned LED component
Cathode side;Capacitor, connects wherein one end to aforementioned 1st output terminal, connects the other end to aforementioned 2nd output terminal;Coil,
Wherein one end is connected to the aforementioned capacitor other end;Switch block connects wherein one end to the aforementioned coil other end;Resistance, it is right
The aforementioned switches component other end connects wherein one end, connects the other end to aforementioned ground terminal;Diode, to aforementioned power source terminal
Cathode is connected, to aforementioned coil other end jointed anode;And control circuit, it can be according to the dimming ratio for showing aforementioned LED component
Dim signal reduces corresponding detection voltage and flowing in the detection electric current of aforementioned coil with the voltage of aforementioned resistance, utilizes
Switch control signal controls the movement of aforementioned switches component;Also, aforementioned control circuit, shows the 1st tune in aforementioned dim signal
In 1st mode of light rate, by down periods institute's structure during the unlatching for opening aforementioned switches component with closing aforementioned switches component
At switch periods fixed, in addition, show in aforementioned dim signal from aforementioned 1st dimming ratio to more than aforementioned 1st dimming ratio
In 2nd mode of the 1st light modulation section dimming ratio until the 2nd low dimming ratio, the drop of dimming ratio shown by aforementioned dim signal
When low, maintain to make the aforementioned switches period become smaller, in addition, preceding during aforementioned unlatching and in the state of the ratio of aforementioned down periods
It states dim signal and shows that the until from aforementioned 2nd dimming ratio to the 3rd dimming ratio more lower than aforementioned 2nd dimming ratio the 2nd dims area
Between dimming ratio the 3rd mode in, when dimming ratio shown by aforementioned dim signal reduces, the state of fixed aforementioned down periods
Under, make to shorten during aforementioned unlatching, in addition, show in aforementioned dim signal from aforementioned 3rd dimming ratio to more than aforementioned 3rd dimming ratio
In 4th mode of the 3rd light modulation section dimming ratio until the 4th low dimming ratio, the drop of dimming ratio shown by aforementioned dim signal
When low, make to shorten during aforementioned unlatching, and keep the aforementioned down periods elongated, in addition, show aforementioned 4th light modulation in aforementioned dim signal
In 5th mode of the dimming ratio of rate, during fixed aforementioned unlatching, and the aforementioned down periods are fixed into than aforementioned 4th mode
Down periods longer period judges into aforementioned LED illumination light modulation electricity when the value of aforementioned dim signal is the 1st threshold value or more
The control model on road is aforementioned 1st mode, is the 2nd threshold value more smaller than aforementioned 1st threshold value or more in the value of aforementioned dim signal
And when less than aforementioned 1 threshold value, aforementioned control model is judged into as the 2nd mode.
Among the above prior art, traditional multisection type brightness-adjusting lighting device does not have the Color control function of colourama
Can, therefore luminous color is single, mainly focuses on white light and its brightness, the change of colour temperature, and lighting device does not have memory yet
Function, that is to say, that need time-consuming to operate when selecting light for the first time, still need to set again when to use same brightness or colour temperature next time
It is fixed, therefore traditional lighting device, convenience when for operation still have much room for improvement.
Summary of the invention
It is a primary object of the present invention to, when solving Color control and operation of the known lighting device for colourama
The problem of convenience still has much room for improvement.
In order to achieve the above object, the present invention provides a kind of photochromic control method of lighting device, including the following steps:
Step S1: providing a lighting device for being electrically connected at an external switch, which decides whether the city Zi Yi
Electricity obtains an external power, which includes one and external switch electric connection and that the external power is rectified into one is high
It is power-switching circuit that the rectifier of voltage dc, one are electrically connected with the rectifier, one electrical with the power-switching circuit
The luminescence unit of connection and one is with power-switching circuit electric connection and with the micro process of a rewritable read-only memory
Device unit;
Step S2: opening the external switch, which flows through the rectifier and the power-switching circuit is made to receive height electricity
Straightening galvanic electricity and one power supply of execution are converted and one operating voltage of output and a driving voltage, the microprocessor unit receive the work
After making voltage, an initial program is executed;
Step S3: the microprocessor unit exports the white optical control signal of a low-light level in one first interval time, this shines
Unit issues a low-light level white light after receiving the white optical control signal of the low-light level, and judge the external switch whether this between first
Every being turned off in the time;
Step S4: if the external switch is still persistently opened when being more than first interval time, the microprocessor unit
It reads the record data stored in the rewritable read-only memory and executes an operating mode recognizer, which knows
Other program is to judge that the record data stored in the rewritable read-only memory are one first operating mode or one second work
Mode;
Step S5: if the record data are first operating mode, the microprocessor unit is in one second interval time
The one white optical control signal of illumination of output, which issues an illumination white light after receiving the white optical control signal of the illumination, and sentences
Whether the external switch that breaks turns off within second interval time, if it has, then the note is written in the rewritable read-only memory
The photochromic data that data are second operating mode and a corresponding white optical control signal of the illumination are recorded, if it has not, the then micro process
Device unit issues multiple first color control signals to the luminescence unit according to a phase bit timing, the luminescence unit receive this first
Multiple different photochromic C are issued after color control signalsn, the photochromic CnShared n, n is related to the parameter of resolution ratio for one, and sentences
Whether the external switch that breaks turns off, when the luminescence unit issues a photochromic CiWhen, if the microprocessor unit judges to open outside this
Shutdown, then the record data are written in the rewritable read-only memory is second operating mode and corresponding first color
The photochromic data of signal are controlled, wherein CiExpression is issued photochromic, and the light of first color control signals in i-th of timing
Chromatic number evidence and the photochromic CiIt is corresponding;And
Step S6: if the record data are second operating mode, which is read in the record data
Photochromic data, export the white optical control signal of the illumination or first color control signals, it is white which receives the illumination
The corresponding illumination white light or the photochromic C are issued after optical control signal or first color control signalsi。
In order to achieve the above object, the present invention separately provides a kind of lighting device, including a rectifier, a power-switching circuit, one
Luminescence unit and a microprocessor unit, the rectifier decide whether that the outside that an external power is obtained from an alternating current is opened with one
It closes and is electrically connected, and receive the external power and be rectified into high-voltage direct-current electricity, the power-switching circuit and rectifier electricity
Property connection with receive the high-voltage direct-current electricity after can voluntarily be started and carried out a power supply conversion and export a driving voltage and one
Operating voltage, the luminescence unit include multiple light emitting diodes, and the luminescence unit and the power-switching circuit are electrically connected, and are connect
The driving voltage is received to drive the light emitting diode, which has a rewritable read-only memory, with the power supply
Conversion circuit is electrically connected and is activated after receiving the operating voltage and executes an initial program, then in one first interval time
It issues a low-light level white light signal and judges whether the external switch turns off, if it has, then in the rewritable read-only memory weight
A record data are set, if it has not, executing a Working mould after then reading the record data stored in the rewritable read-only memory
Formula recognizer, the operating mode recognizer are to judge that the record data stored in the rewritable read-only memory are one the
One operating mode or one second operating mode, it is defeated in one second interval time if the record data are first operating mode
A white optical control signal of illumination is to the luminescence unit out, so that the luminescence unit issues an illumination white light, and further judgement should
Whether external switch turns off within second interval time, if it has, then the record number is written in the rewritable read-only memory
According to the photochromic data for second operating mode and a corresponding white optical control signal of the illumination, if it has not, the then microprocessor list
Member issues multiple first color control signals to the luminescence unit according to a phase bit timing, which receives first color
Multiple different photochromic C are issued after control signaln, the photochromic CnShared n, n is related to the parameter of resolution ratio for one, and judging should
Whether external switch turns off, when the luminescence unit issues a photochromic CiWhen, if judging, the external switch is had been turned off, erasable at this
It writes read-only memory and the photochromic number that the record data are second operating mode and corresponding first color control signals is written
According to, wherein CiExpression issued in i-th of timing it is photochromic, and the photochromic data of corresponding first color control signals with
The photochromic CiIt is corresponding, according to the photochromic data in the record data, output if the record data are second operating mode
The white optical control signal of the illumination or first color control signals issued to the luminescence unit the corresponding illumination white light or
The photochromic Ci。
As known from the above, the present invention is compared to the accessible effect of prior art, should by record, resetting and reading
The photochromic data of these operating modes and the corresponding photochromic control signal that shines in rewritable read-only memory, to facilitate operation
Person controls the colourama that the lighting device to be issued or illumination white light at any time, and the rewritable read-only memory is in the external power
Still there is Memorability when can not power, thus selected photochromic can directly select in use next time and needn't reset,
Improve convenience when operation.
Detailed description of the invention
Fig. 1 is the device circuit schematic diagram of one embodiment of the invention.
Fig. 2 is the step flow diagram of one embodiment of the invention.
Specific embodiment
It is related to detailed description of the invention and technology contents, now just cooperation schema is described as follows:
It please arrange in pairs or groups as shown in fig.1, being the device circuit schematic diagram of one embodiment of the invention, the present invention is a kind of illumination dress
It sets, including a rectifier 10, a power-switching circuit 20, a luminescence unit 30 and a microprocessor unit 40, the rectifier
10 and one external switch 50 be electrically connected, which decides whether to obtain an external power from an alternating current, opens outside this
Closing 50 for example can be the suitching type power switch (Wall Switch) being arranged on wall, and take a single example this above
Invention is not limited thereto.The rectifier 10 receives the external power and is rectified into high-voltage direct-current electricity, in one embodiment,
The rectifier 10 includes multiple diodes and has a variety of design methods, and function is that will have the alternating current of exchange electrical property to turn
Change the high-voltage direct-current electricity with direct current electrical property into.The power-switching circuit 20 is electrically connected with the rectifier 10 to receive
It can voluntarily be started and carried out power supply conversion after high-voltage direct-current electricity and export a driving voltage VO and an operating voltage, lift
For example, which can be an auto-excitation type power supply conversion circuit, a separated exciting power-switching circuit or a module
Power-switching circuit (Power module).Detailed description are as follows, when alternating current input, can first pass through the rectifier 10 rectification
At high-voltage direct-current electricity, which passes through a first resistor R1 a to metal oxide semiconductor field effect transistor
(Metal Oxide Semiconductor Field Effect Transistor, abbreviation MOSFET) Q1 is managed, the metal oxygen is enabled
The grid potential of compound semiconductor field effect transistor Q1 rises and is connected, and the high-voltage direct-current electricity is made to pass through a transformer T1's
One armature winding N1 simultaneously makes transformer T1 enter an energy storage state, is then electrically connected by an a second resistance R2 and ground wire GW
It connects, it is directly proportional to the electric current of high-voltage direct-current electricity by generating one when the high-voltage direct-current electricity passes through second resistance R2
Component voltage, the component voltage can make a transistor Q2 be connected and the MOS field is truncated by a 3rd resistor R3
The variation of effect transistor Q1, i.e., enter off state by state, and above-mentioned variation enables transformer T1 initially enter one and releases
Energy state, the electric power for discharging the one second winding N2 of transformer T1 are transmitted to a first capacitor via a first diode D1
C1 simultaneously generates driving voltage VO, while a tertiary winding N3 of transformer T1 will release a feedback voltage, the feedback voltage
Via one second diode D2 it is rectified after be stored in one second capacitor C2 and export a system voltage VS, and the feedback voltage
Transistor Q2 is fed back to via one the 4th resistance R4 and one the 5th resistance R5, transistor Q2 is made persistently to maintain on state straight
It is turned off after disappearing to the feedback voltage, then field-effect transistor Q1 conducts into subsequent cycle again, anti-in the manner described above
Driving voltage VO and system voltage VS are persistently exported again.
In the present embodiment, the power-switching circuit 20 also include a voltage regulation unit 21 and a DC detection circuit 22,
The voltage regulation unit 21 is electrically connected between the microprocessor unit 40 and system voltage VS, provided by system voltage VS
Voltage is usually above the voltage that the microprocessor unit 40 can bear, therefore need to pass through the voltage regulation unit 21 and one the 3rd 2
Pole pipe D3 supplies the operating voltage of the microprocessor unit 40 operation to export, and wherein the third diode D3, which has, prevents inversely
The effect of electric current;A first port A and system voltage VS for the DC detection circuit 22 and the microprocessor unit 40 is electrical
Connection, the DC detection circuit 22 include one the 6th resistance R6 and one the 7th resistance R7, the electricity of the 6th resistance R6 and the 7th
Hinder R7 and form a bleeder circuit, with provide a partial pressure proportional to system voltage VS to the microprocessor unit 40 this
Single port A, wherein first port A has the detection function of digital-to-analog conversion, and the microprocessor unit 40 is made to have monitoring
The function of system voltage VS variation.
The luminescence unit 30 includes multiple light emitting diodes, which electrically connects with the power-switching circuit 20
It connects, and receives driving voltage VO to drive the light emitting diode, for example, the luminescence unit 30 may include that multiple difference can
Issue a red light emitting diodes, a green LED, the blue LED of feux rouges, green light, blue light and white light
And a white light-emitting diode, former three are the three primary colors of light, three kinds of luminous colors mixed with different light emission luminance after both
Capable of emitting different colourama, the combination of a variety of light emission luminance are capable of emitting a variety of different colouramas and white light, are implemented one
In example, white light mutually mixes the deep or light of rear adjustable colourama with colourama, and in the present embodiment, white light can be for via three originals
The mixture of colours and generate, a compensation white light can also be added in the white light being blended to produce via three primary colors with improve illumination it is bright
Degree, specifically, the white light-emitting diode are that a selectivity implements photochromic combination.
The microprocessor unit 40 and the power-switching circuit 20 are electrically connected and are activated after receiving the operating voltage, should
Microprocessor unit 40 also has the function of that different ports is different to execute, including a second port B, a third port C, one
4th port D, a fifth port E, one the 6th port F, one the 7th port G and one the 8th port H, second port B output
One low potential interrupts the feedback voltage of tertiary winding N3, and then passes through again after interrupting auto-excitation type power supply conversion circuit operation
Third port C exports a power supply transition drive signal, which is a kind of pulse width modulation signal
(Pulse Width Modulation, abbreviation PWM), for substituting the feedback voltage and changing transistor Q2 and the metal oxygen
The on or off state of compound semiconductor field effect transistor Q1 and the output voltage values for changing driving voltage VO, make this
Microprocessor unit 40 has the function of adjustment driving voltage VO;4th port D has the detection of digital-to-analog conversion
Function, after obtaining all voltage transforming numericals of commercial power rectification signal half cycle phase with the mode continuously detected, then set analysis
Show that a phase intervals time (ts), one can determine whether that the alternating current is to open the status information being also off.In the present invention, this is micro-
Processor unit 40 includes a microprocessor and its peripheral circuit, wherein the built-in a variety of memories of the microprocessor, such as one temporary
Memory (RAM), a read-only memory (ROM) or a rewritable read-only memory (Electrically Erasable
Programmable Read Only Memory, abbreviation EEPROM), which is that an electronics can erase formula
Rewritable read-only memory.
In the present embodiment, as an example with the rewritable read-only memory, which judges outside this
Switch 50 is after more than the shutdown of one first interval time, after reading the record data stored in the rewritable read-only memory
An operating mode recognizer is executed, which is the note for judging to store in the rewritable read-only memory
Recording data is one first operating mode or one second operating mode, which is the microprocessor unit 40 one the
Two interval times output, the one white optical control signal of illumination makes the luminescence unit 30 issue an illumination white light to the luminescence unit 30,
And further judge whether the external switch 50 turns off within second interval time, if it has, then erasable read-only depositing at this
The photochromic data that the record data are second operating mode and a corresponding white optical control signal of the illumination are written in reservoir, if
No, then the microprocessor unit 40 issues multiple first color control signals to the luminescence unit 30 according to a phase bit timing, is somebody's turn to do
Luminescence unit 30 issues multiple different photochromic C after receiving first color control signalsn, the photochromic CnShared n, n relates to for one
And the parameter of resolution ratio.
Second operating mode is the microprocessor unit 40 according to the photochromic data in the record data, to export the photograph
Optical control signal or first color control signals are understood to the luminescence unit 30, and it is corresponding to issue the luminescence unit 30
The illumination white light or a photochromic Ci, wherein the selected of the photochromic data of first color control signals is corresponded to, is when this is outer
For portion's switch 50 not after turning off in second interval time, which issues multiple first according to the phase bit timing
Color control signals to the luminescence unit 30, the luminescence unit 30 receive issue after first color control signals it is multiple different
Photochromic Cn, when the luminescence unit 30 issues the photochromic CiWhen, which judges whether the external switch 50 turns off,
If it has, then it is second operating mode and corresponding first color that the record data, which are written, in the rewritable read-only memory
Control the photochromic data of signal, CiExpression is issued photochromic, and the photochromic number of first color control signals in i-th of timing
According to the photochromic CiIt is corresponding.Above-mentioned color control signals refer to the microprocessor unit 40 respectively fifth port E, this
The pulse width modulation control of six port F, the 7th port G and the different power on/off time scales of the 8th port H output one
Signal (PWM) processed, wherein the microprocessor unit 40 with the variable of byte (byte) determine light step and color control signals its
In power on/off time scale, determine that the byte variable of light step is a light step information, such as the light step packet of a byte
Containing 8 positions, in that case it can be decided that color control signals issue 256 kinds of power on/off time scales, issue the luminescence unit 30
256 kinds of brightness, therefore, which can be corresponding with light emission luminance, and the 8th port H issues a corresponding compensation white light
White brightness thermal compensation signal, photochromic data are an information data comprising three primary colors light step and white light step.The microprocessor
Unit 40 issues color control signals and controls the list that shines according to the light step information of three primary colors and white in photochromic data
Member 30, to issue the three primary colors colourama and white light of different brightness respectively, capable of emitting one is corresponding with photochromic data after mixing
It is photochromic, specifically, when issuing the illumination white light, three primary colors light emission luminance it is close and make the illumination white light because three original
The luminance difference of color and issue partially blue or partially yellow illumination white light, the photochromic data of the illumination white light are when executing an initial program
It is set.In the present embodiment, one the 9th port I and 1 the tenth port J of the microprocessor unit 40 receive the work respectively
Make voltage a positive potential and a negative potential and be activated.
In the present invention, which is related to light step, for example, in one embodiment of the invention, three primary colors are respectively divided into
256 light steps can produce 768 kinds of colors, therefore n=768 after being mutually mixed, in addition, used in n and the microprocessor unit 40
Byte (byte) is related, therefore a not fixed numbers.
It should be noted that the photochromic CnFor a spectrum, the photochromic CiFor the spectrum wherein photochromic, colour changing interval time
(t) be a single color control signals duration, and different photochromic shared n, therefore issue multiple different light
The one color cycling time of color is equal to (t) × (n), wherein being (t) to detect being somebody's turn to do for the alternating current via the microprocessor unit 40
Phase intervals time (ts) and using the multiple of the phase intervals time (ts) as the colour changing interval time (t) and this is photochromic
Sequence variables (i) be equal to 0 arrive n variable, those a variety of color control signals starting when (i)=0, later at interval of primary
After the colour changing interval time (t), change primary trichromatic light step state, while color sequence variable increases by a units,
It is exactly (i)=i+1, when issuing n kind different photochromic, (i)=n, while also completing a color cycling, wherein CnIt indicates
It is color Zi the set of (i)=0 to (i)=n, Ci(i)=0 is expressed as to the one such color of (i)=n, then completes one
After a color cycling, (i)=0 it is again introduced into next color cycling.The colour changing interval time (t) is a chronomere,
When that cannot obtain phase intervals time (ts) under alternating current phase state, can also be used one can produce the mode of time reference
It obtains the colour changing interval time (t), such as when the external power is a direct current, obtains the colour changing using a quartz circuit
Interval time (t).
In the present invention, which may also include an alternating current detection unit 60, inside a constant current unit 70 and one
Power supply unit 80, the alternating current detection unit 60 are electrically connected between the alternating current and the rectifier 10 and including an output contacts,
4th endpoint D of the output contact and the microprocessor unit 40 is electrically connected, which includes one electrical
It is connected to the 8th resistance R8 of a firewire L, a 9th resistance R9 and one for being electrically connected at a zero curve N is electrically connected at the ground
The tenth resistance R10 of line GW, when making the alternating current positive phase because of the rectified action of the rectifier 10, firewire L be positive potential and
Zero curve N current potential and ground wire GW current potential are close, therefore the electric connection between the 8th resistance R8 and the tenth resistance R10
The point one positive positive voltage signal proportional to an alternating current positive half cycle of the alternating current of output, when which is minus phase, this zero
Line N is positive potential and firewire L current potential and ground wire GW current potential are close, therefore the 9th resistance R9 and the tenth resistance R10
Between electric connection point export a negative positive voltage signal proportional to an alternating current negative half period of the alternating current, the positive is just
After voltage signal is mixed with the negative positive voltage signal, city's electric signal after forming a rectification, wherein the 8th resistance R8, this
The amplitude of city's electric signal after the rectification is reduced to the commercial power rectification signal by the partial pressure of nine resistance R9 and the tenth resistance R10.
Specifically, voltage electricity of the detectable voltage potential of microprocessor unit 40 far below the alternating current
Position, therefore after the microprocessor unit 40 need to reduce the voltage magnitude of the alternating current by the alternating current detection unit 60, it could detect this
The voltage magnitude and phase information of alternating current.
The constant current unit 70 is electrically connected between those light emitting diodes and the microprocessor unit 40, including one first
Constant current electronic switch 71, one second constant current electronic switch 72, a third constant current electronic switch 73 and one the 4th constant current electronic are opened
Close 74, those constant current electronics switch for it is a kind of can electronic switch electronic circuit by control to be opened or closed, micro- place
Reason device unit 40 exports pulse width modulation control signal (PWM) to control those constant current electronics switch, makes the luminescence unit
30 control light emission luminance with corresponding power on/off time scale, when it is controlled be made as shutdown when the magnitude of current be zero, when being controlled
When for conducting can one electric conduction flow of volitional check in the range of fixed specification, it should be noted that, which has more
Kind design, including the design of separate type circuit design, constant current integrated circuit (IC) or interior build setting for the microprocessor unit 40 in
Meter.The in-line power unit 80 and the microprocessor unit 40 are electrically connected, specifically, when the external power interrupts
Afterwards, then driving voltage VO can not be generated, therefore the control methods of the known regulation lighting device are not interrupt the external electrical
Carried out in the case where power, however, the present invention then be using interrupt the external power after, using the in-line power unit 80 power with
The mode for modifying the record data is regulated and controled, which provides an inside electricity after external power interruption
Source is maintained at the operation during the record data are written in the rewritable read-only memory to the microprocessor unit 40, in this reality
Apply in example, the in-line power unit 80 be a capacitor, wherein the capacitor be with a third capacitor C3 as an example.
It please arrange in pairs or groups as shown in fig.2, being the step flow diagram of one embodiment of the invention, the present invention is a kind of illumination dress
The photochromic control method set, including the following steps:
Step S1: providing a lighting device for being electrically connected at an external switch 50, which decides whether certainly
One alternating current obtains an external power, which is electrically connected with the external switch 50 including one and rectifies the external power
The power-switching circuit 20, one and the power supply being electrically connected at the rectifier 10, one of high-voltage direct-current electricity and the rectifier 10
The luminescence unit 30 and one that conversion circuit 20 is electrically connected are with the power-switching circuit 20 electric connection and erasable with one
The microprocessor unit 40 of read-only memory.
Step S2: opening the external switch 50, which flows through the rectifier 10 and receive the power-switching circuit 20
High-voltage direct-current electricity simultaneously executes power supply conversion and exports an operating voltage and a driving voltage VO, the microprocessor unit
After 40 receive the operating voltage, an initial program is executed.
Step S3: the microprocessor unit 40 exports the white optical control signal of a low-light level, the hair in one first interval time
Whether light unit 30 issues a low-light level white light after receiving the white optical control signal of the low-light level, and judge the external switch 50 at this
Shutdown in first interval time, wherein first interval time be the luminescence unit 30 issue the low-light level white light it is lasting when
Between, it is set when the microprocessor unit 40 executes the initial program.Following steps are still further comprised in step s3: step
S3A: if the external switch 50 turns off within first interval time, the microprocessor unit 40 resetting this erasable read-only deposit
One record data of reservoir storage, and it is one first operating mode and one that the record data, which are written, in the rewritable read-only memory
The photochromic data of the corresponding white optical control signal of the illumination.
Step S4: if the external switch 50 is still persistently opened when being more than first interval time, the microprocessor list
After member 40 reads the record data stored in the rewritable read-only memory, an operating mode recognizer, the work are executed
Pattern recognition program is to judge that the record data stored in the rewritable read-only memory are first operating mode or one the
Two operating modes.
Step S5: if the record data are first operating mode, the microprocessor unit 40 is at one second interval
Between the one white optical control signal of illumination of output, which issues an illumination white light after receiving the white optical control signal of the illumination,
And judge whether the external switch 50 turns off within one second interval time, wherein second interval time is white to issue the illumination
The duration of light sets when the microprocessor unit 40 executes the initial program.Still further comprise in step s 5 with
Lower step: step S5A: if after judging that the external switch 50 turns off not within second interval time, the microprocessor unit 40
Multiple first color control signals are issued to the luminescence unit 30, in the present embodiment, the phase bit timing according to a phase bit timing
It can further be defined as follows, when: and the phase locked colour changing interval time (t) of the alternating current, sequence: the photochromic sequence variables (i),
Timing provides the function of one with the colour changing of alternating current Phase synchronization.Sending is more after the luminescence unit 30 receives first color control signals
A different photochromic Cn, the photochromic CnShared n, n is related to the parameter of a resolution ratio for one, and whether judges the external switch 50
Shutdown;When the luminescence unit 30 issues the photochromic CiWhen, which judges whether the external switch 50 has been turned off,
If it has, then it is second operating mode and corresponding first color that the record data, which are written, in the rewritable read-only memory
Control the photochromic data of signal, wherein the photochromic data for corresponding to first color control signals be correspondence instantly this is photochromic
Ci, CiExpression is issued photochromic in i-th of timing;Step S5B: if the external switch 50 turns off within second interval time,
It is second operating mode and a corresponding illumination white light control letter that the record data then, which are written, in the rewritable read-only memory
Number photochromic data.
Step S6: if the record data are second operating mode, which reads the record data
In photochromic data after, export the white optical control signal of the illumination corresponding with photochromic data or first color control signals,
It is white that the corresponding illumination is issued after the luminescence unit 30 reception white optical control signal of the illumination or first color control signals
Light or the photochromic Ci。
In conclusion due to that can pass through record, resetting and read those operating modes in the rewritable read-only memory
And the photochromic data of the corresponding photochromic control signal that shines, it controls the lighting device at any time to facilitate operation person and issues desired light
Color, and the rewritable read-only memory still has Memorability when the external power can not power, thus it is selected it is photochromic
Next time can directly be selected and needn't reset when using, and convenience when operation is improved.
The above has been described in detail, only as described above, a preferred embodiment only of the invention,
When cannot limit the scope of implementation of the present invention.I.e. all equivalent changes and modifications made according to the claims of the present invention etc., all should be still
Belong in patent covering scope of the invention.
Claims (8)
1. a kind of photochromic control method of lighting device, characterized in that it comprises the following steps:
Step S1: providing a lighting device for being electrically connected at an external switch, which decides whether to take from an alternating current
An external power is obtained, which includes that one and the external switch are electrically connected and the external power are rectified into a high voltage
The rectifier of direct current, one with the rectifier be electrically connected power-switching circuit, one with the power-switching circuit be electrically connected
Luminescence unit and one with the power-switching circuit be electrically connected and with a rewritable read-only memory microprocessor list
Member;
Step S2: opening the external switch, which flows through the rectifier and so that the power-switching circuit is received the high voltage straight
Galvanic electricity simultaneously executes power supply conversion and exports an operating voltage and a driving voltage, which receives work electricity
After pressure, an initial program is executed;
Step S3: the microprocessor unit exports the white optical control signal of a low-light level, the luminescence unit in one first interval time
A low-light level white light is issued after receiving the white optical control signal of the low-light level, and judges the external switch whether at first interval
Interior shutdown;
Step S4: if the external switch is still persistently opened when being more than first interval time, which is read
After the record data stored in the rewritable read-only memory, an operating mode recognizer, operating mode identification are executed
Program is to judge that the record data stored in the rewritable read-only memory are one first operating mode or one second Working mould
Formula;
Step S5: if the record data are first operating mode, which exports in one second interval time
The one white optical control signal of illumination, which issues an illumination white light after receiving the white optical control signal of the illumination, and judging should
Whether external switch turns off within one second interval time, if it has, then the record number is written in the rewritable read-only memory
According to the photochromic data for second operating mode and a corresponding white optical control signal of the illumination, if it has not, the then microprocessor list
Member issues multiple first color control signals to the luminescence unit according to a phase bit timing, which receives first color
Multiple different photochromic C are issued after control signaln, the photochromic CnShared n, n is related to the parameter of resolution ratio for one, and judging should
Whether external switch turns off, when the luminescence unit issues a photochromic CiWhen, if the microprocessor unit judges that the external switch closes
Disconnected, then the record data are written in the rewritable read-only memory is second operating mode and corresponding first Color control
The photochromic data of signal, wherein CiExpression is issued photochromic in i-th of timing, and first color control signals is photochromic
Data and the photochromic CiIt is corresponding;And
Step S6: if the record data are second operating mode, which reads the light in the record data
Chromatic number evidence, to export the white optical control signal of the illumination or first color control signals, which receives the illumination white light
The corresponding illumination white light or the photochromic C are issued after control signal or first color control signalsi。
2. the photochromic control method of lighting device as described in claim 1, which is characterized in that step S3 further comprises following
Step:
Step S3A: if the external switch turns off within first interval time, which resets this erasable
The record data of memory storage are read, and it is first operating mode that the record data, which are written, in the rewritable read-only memory
With the photochromic data of a corresponding white optical control signal of the illumination.
3. a kind of lighting device characterized by comprising
One rectifier decides whether that the external switch that an external power is obtained from an alternating current is electrically connected with one, and it is outer to receive this
Portion's electric power is simultaneously rectified into high-voltage direct-current electricity;
One power-switching circuit can voluntarily be started and carried out one after receiving high-voltage direct-current electricity with rectifier electric connection
Power supply is converted and exports a driving voltage and an operating voltage;
One luminescence unit includes multiple light emitting diodes, and the luminescence unit and the power-switching circuit are electrically connected, and receiving should
Driving voltage is to drive the light emitting diode;And
One microprocessor unit with a rewritable read-only memory, is electrically connected with the power-switching circuit and receives the work
It is activated after making voltage and executes an initial program, then issue a low-light level white light signal and judgement in one first interval time
Whether the external switch turns off, if it has, then in one record data of rewritable read-only memory resetting, if it has not, then reading
After the record data stored in the rewritable read-only memory, an operating mode recognizer, operating mode identification are executed
Program is to judge that the record data stored in the rewritable read-only memory are one first operating mode or one second Working mould
Formula extremely should if the record data are first operating mode in one second interval time output, the one white optical control signal of illumination
Whether luminescence unit so that the luminescence unit issues an illumination white light, and further judges the external switch at second interval
Shutdown in time, if it has, then it is second operating mode and a pair that the record data, which are written, in the rewritable read-only memory
The photochromic data of white optical control signal should be illuminated, if it has not, then the microprocessor unit is multiple according to phase bit timing sending
First color control signals to the luminescence unit, the luminescence unit receive issue after first color control signals it is multiple different
Photochromic Cn, the photochromic CnShared n, n is related to the parameter of resolution ratio for one, and judges whether the external switch turns off, when this shines
Unit issues a photochromic CiWhen, if judging, the external switch is had been turned off, and the record number is written in the rewritable read-only memory
According to the photochromic data for second operating mode and corresponding first color control signals, wherein CiIt indicates in i-th of timing
What is issued is photochromic, and photochromic data and the photochromic C of corresponding first color control signalsiIt is corresponding, if the record number
According to for second operating mode, then according to the photochromic data in the record data, export the white optical control signal of the illumination or this
One color control signals issue the corresponding illumination white light or the photochromic C to the luminescence uniti。
4. lighting device as claimed in claim 3, which is characterized in that further include that one and the microprocessor unit are electrically connected
In-line power unit, the in-line power unit provide an internal electric source to the microprocessor unit after external switch shutdown
To be worked normally during maintaining the rewritable read-only memory that data are written.
5. lighting device as claimed in claim 4, which is characterized in that the in-line power unit is a capacitor.
6. lighting device as claimed in claim 3, which is characterized in that the rewritable read-only memory is that an electronics can erase formula
Rewritable read-only memory.
7. lighting device as claimed in claim 3, which is characterized in that the light emitting diode is selected from two pole of an emitting red light
Group composed by pipe, a green LED, a blue LED and a white light-emitting diode.
8. lighting device as claimed in claim 3, which is characterized in that further include one be electrically connected at the light emitting diode and should
Constant current unit between microprocessor unit.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105135305 | 2016-11-01 | ||
TW105135305A TWI604755B (en) | 2016-11-01 | 2016-11-01 | Illumination device and its light color control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108024411A CN108024411A (en) | 2018-05-11 |
CN108024411B true CN108024411B (en) | 2019-11-05 |
Family
ID=61023418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711015155.2A Active CN108024411B (en) | 2016-11-01 | 2017-10-26 | Lighting device and light color control method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108024411B (en) |
TW (1) | TWI604755B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379800B (en) * | 2018-09-13 | 2020-11-10 | 深圳和而泰智能控制股份有限公司 | Light emitting control method and device for light emitting diode |
TWI801858B (en) * | 2020-09-29 | 2023-05-11 | 仁寶電腦工業股份有限公司 | Electronic device with auxiliary lighting function and operation method thereof |
TWI727910B (en) * | 2020-12-03 | 2021-05-11 | 節明科技股份有限公司 | Switch adjustable lamp and its using method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080150439A1 (en) * | 2005-04-29 | 2008-06-26 | O2Micro. Inc. | Serial powering of an light emitting diode string |
US7317403B2 (en) * | 2005-08-26 | 2008-01-08 | Philips Lumileds Lighting Company, Llc | LED light source for backlighting with integrated electronics |
CN201758471U (en) * | 2010-06-28 | 2011-03-09 | 秦兵 | Dimming LED illuminating lamp |
US9326407B1 (en) * | 2012-08-31 | 2016-04-26 | Alexander Uchenov | Automated dimmer wall switch with a color multi-touch LCD/LED display |
WO2014125579A1 (en) * | 2013-02-13 | 2014-08-21 | 新電元工業株式会社 | Led illumination dimming circuit and led illumination dimming method |
JP5654175B1 (en) * | 2013-04-16 | 2015-01-14 | 新電元工業株式会社 | LED lamp lighting device and control method of LED lamp lighting device |
TWI577234B (en) * | 2014-09-29 | 2017-04-01 | Hu Yu Jie Chang | An adjustable lighting fixture |
-
2016
- 2016-11-01 TW TW105135305A patent/TWI604755B/en active
-
2017
- 2017-10-26 CN CN201711015155.2A patent/CN108024411B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108024411A (en) | 2018-05-11 |
TWI604755B (en) | 2017-11-01 |
TW201818786A (en) | 2018-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102783253B (en) | Light dimming apparatus and LED illumination system | |
CN108024411B (en) | Lighting device and light color control method thereof | |
CN102479489B (en) | Semiconductor integrated circuit and method of work thereof | |
CN110062493B (en) | Lighting fixture and lighting device for same | |
CN101561083B (en) | LED light-emitting device with variable color temperature and implementation method thereof | |
CN102682696B (en) | Pwm control circuit and utilize the LED drive circuit of this circuit | |
CN104704920B (en) | Lamp device and the ligthing paraphernalia of this lamp device of use | |
CN105848354B (en) | A kind of shading process being used in intelligent illuminating system and system | |
CN103889115A (en) | Illumination control system | |
CA2600009A1 (en) | An led assembly, and a process for manufacturing the led assembly | |
CN110677955A (en) | Method and system for determining maximum brightness of RGB LED light source matching target chromaticity | |
CN204145802U (en) | The LED light lamp adjusting device of color-temperature regulating and light modulation while of a kind of and LED light lamp | |
CN104081530A (en) | Lighting devices including current shunting responsive to LED node and related method | |
CN106211498B (en) | Light color control method of lighting device | |
CN108561769A (en) | A kind of LED plant growth lamp | |
CN210491261U (en) | LED lamp and LED lamp strip adjust luminance mixing of colors temperature control circuit | |
CN202160308U (en) | Multicolor luminous element circuit | |
CN110708797B (en) | Accurate dimming method and system for three-color LED light source | |
CN103079305A (en) | Light-emitting diode (LED) illuminating device and light regulation method thereof | |
CN207460541U (en) | The driving circuit of Bluetooth remote control LED light and Bluetooth remote control LED light | |
CN208175060U (en) | Lamp-controlling circuit | |
CN106332383A (en) | Intelligent lighting device | |
CN110602837B (en) | Method and system for determining maximum brightness of super-three-color LED light source matched target chromaticity | |
CN106255282A (en) | A kind of Lighting Control Assembly and illumination control method | |
CN108541105A (en) | LED drive system and method |
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 |