CN113518487B - Light mixing method and device for lamp and electronic equipment - Google Patents

Light mixing method and device for lamp and electronic equipment Download PDF

Info

Publication number
CN113518487B
CN113518487B CN202110841087.5A CN202110841087A CN113518487B CN 113518487 B CN113518487 B CN 113518487B CN 202110841087 A CN202110841087 A CN 202110841087A CN 113518487 B CN113518487 B CN 113518487B
Authority
CN
China
Prior art keywords
light
current
monochromatic light
determining
luminous flux
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
CN202110841087.5A
Other languages
Chinese (zh)
Other versions
CN113518487A (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110841087.5A priority Critical patent/CN113518487B/en
Publication of CN113518487A publication Critical patent/CN113518487A/en
Priority to PCT/CN2022/106806 priority patent/WO2023001196A1/en
Application granted granted Critical
Publication of CN113518487B publication Critical patent/CN113518487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • H05B45/22Controlling the colour of the light using optical feedback
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the disclosure discloses a light mixing method and device for a lamp and electronic equipment. The method comprises the following steps: determining a current lighting mode; performing an optical signal determination operation: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; stopping the circular execution of the light mixing operation in response to determining that the optical parameters meet the preset conditions; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determination operation is executed again; the driving signals of the monochromatic light are determined by the determined current luminous flux corresponding to the monochromatic light respectively, and the light emitting of each monochromatic light source is determined by the driving signals of the monochromatic light, so that the driving signals of the monochromatic light are automatically determined according to the current lighting mode, the light emitting of each monochromatic light source is driven, the light emitted by each monochromatic light source is mixed, and the light mixing result matched with the current lighting mode is obtained.

Description

Light mixing method and device for lamp and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a light mixing method and apparatus for a lamp, and an electronic device.
Background
The lighting fixture may provide lighting to a user in an environment with low ambient brightness. The lighting lamp is required to have a high color rendering index, a proper color temperature (4000-5000K) and low color deviation (color tolerance).
LED lamps are currently widely used due to their low power consumption. Most of the lamps based on the LED light source in the current market adopt single color temperature; a few lamps use dual color temperature light sources, i.e. variable color temperature illumination is achieved by giving different luminous flux ratios of warm white light and cold white light.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a light mixing method and device for a lamp and electronic equipment.
In a first aspect, an embodiment of the present disclosure provides a light mixing method for a luminaire, where the method includes: determining a current lighting mode; performing the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet a preset condition matched with a current lighting mode; in response to determining that the optical parameters meet a preset condition matched with the current lighting mode, stopping circularly executing the light mixing operation; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; and determining a driving signal of each monochromatic light by using the current target luminous flux respectively corresponding to each monochromatic light determined by the light signal determination operation, and determining the light emission of each monochromatic light source by using the driving signal of each monochromatic light so as to obtain a light mixing result according with the current illumination mode.
In a second aspect, an embodiment of the present disclosure provides a light mixing device for a luminaire, including: light mixing device for a luminaire, comprising: a first determination unit for determining a current illumination mode; an execution unit configured to execute the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet preset conditions; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet preset conditions; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; and the second determining unit is used for determining the driving signal of each monochromatic light by using the current luminous flux respectively corresponding to each monochromatic light determined by the light signal determining operation, and determining the light emission of each monochromatic light source by using the driving signal of each monochromatic light so as to obtain a light mixing result according with the current lighting mode.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the light mixing method for a luminaire as described in the first aspect.
In a fourth aspect, the embodiments of the present disclosure provide a computer-readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the light mixing method for a luminaire according to the first aspect.
According to the light mixing method and device for the lamp and the electronic equipment, the current lighting mode is determined; performing the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet a preset condition matched with a current lighting mode; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet a preset condition matched with the current lighting mode; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; the driving signals of the monochromatic light are determined by the current target luminous flux corresponding to the monochromatic light determined by the optical signal determining operation, and the driving signals of the monochromatic light are used for determining the light emission of the monochromatic light sources so as to obtain the light mixing result according with the current illumination mode.
In some optional implementations, the optical parameters include color temperature, color coordinates, color rendering index, color tolerance, spectral continuity, spectral matching degree, and energy ratio of light in a target wavelength band, so that the obtained light mixing result has a better matching degree with the current user requirement.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flow diagram of some embodiments of a light mixing method for a luminaire according to the present disclosure;
FIG. 2 is a schematic flow chart diagram of a light mixing method for a luminaire of the present disclosure;
FIG. 3 is a schematic structural diagram of one embodiment of a light mixing device for a luminaire according to the present disclosure;
FIG. 4 is an exemplary system architecture to which the light mixing method for luminaires of one embodiment of the present disclosure may be applied;
fig. 5 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The method of mixing white light or color light by controlling the driving current of each channel using RGB or RGBW chips is not used in lighting fixtures (e.g., table lamps). The reason is that although the spectrum can be adjusted by adopting an RGB or RGBW chip, the requirements of high color rendering property and low color tolerance are difficult to meet at the same time.
Referring to fig. 1, a flow of some embodiments of a light mixing method for a luminaire according to the present disclosure is shown. The light mixing method for the lamp as shown in fig. 1 includes the following steps:
step 101, a current lighting pattern is determined.
In some application scenarios, the current lighting mode may be determined from the current lighting settings of the user.
For example, a user may be given an illumination pattern selection item, and the user may determine the current illumination pattern selected by the user by performing a selection operation on the illumination pattern selection item.
Illustratively, the illumination modes include red, green, and blue color light modes, warm white light modes, and cold light modes. The current illumination mode may be any of the illumination modes described above.
In some optional implementations, the determining the current lighting mode includes determining the current lighting mode according to a current time.
For example, if the current time is within the time period of 7:00 ~ 18:00, the illumination pattern may be a blue illumination pattern. If the current time is within the time period of 20: 00-24: 00, the illumination mode can be a red illumination mode and the like.
In the blue light illumination mode, in the result of mixing the monochromatic light, the energy of the light with the wavelength of 450-480 nm in the illumination light of the blue light illumination mode is relatively large. Light in this band can promote human concentration and excitement. The time period 7: 00-18: 00 is generally the time period of working or learning of people, so that the illumination mode can be set to be the blue illumination mode in the time period, and the working or learning efficiency of people can be improved.
In the red light illumination mode, the energy of light with the wavelength of 650-780 nm in the illumination light of the red light illumination mode is relatively large as a result of mixing the monochromatic light. Light in this band can promote comfort and sleep during the night. The time period 20: 00-24: 00 is a rest and preparation sleeping time period of people generally, therefore, the illumination mode can be set to be the red illumination mode in the time period, and the sleeping quality of people can be improved.
In these alternative implementations, the current illumination mode may be automatically determined according to the current time, and the determined current illumination mode matches the human rhythm in general, enabling automatic rhythmic illumination.
Step 102, performing the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet preset conditions; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet preset conditions; otherwise, updating the current luminous flux of each monochromatic light; and after the current luminous flux of each monochromatic light is updated, the light signal determination operation is executed again.
The current light flux here may be a light flux corresponding to the current light signal determination operation. The initial light flux at which the light signal determination operation is performed may be set in advance. In some application scenarios, the initial luminous flux may be any value greater than 0.
After the initial luminous flux is given, the above-mentioned light signal determining operation may be performed in a loop until the luminous flux of each monochromatic light whose optical parameter satisfies a preset condition.
The monochromatic light includes: red, green, blue and white light.
Optionally, the optical parameters may include: the color temperature, the color coordinate, the color rendering index, the color tolerance, the spectrum continuity, the matching degree of the synthesized spectrum and the target spectrum, and the energy ratio of the light of the target waveband are utilized, and the optical parameters are used as constraint parameters for obtaining the target luminous flux, so that the calculation time for determining the target luminous flux can be shortened on one hand, and the obtained mixed light result has a better matching degree with the current user requirement on the other hand. Due to the introduction of color tolerance, the approximate range of the initial value of the luminous flux of each channel of the RGBW is convenient to be intuitively determined, and the termination of iteration is convenient to be determined so as not to fall into an invalid calculation cycle. In the iterative calculation process, each monochromatic light of the RGBW uses a spectrum matched with the corresponding lumen output, so that the accuracy of operation is improved and the iteration times are reduced.
For each optical parameter, it can be determined using existing methods for determining the optical parameter.
For example, for the color coordinates of the synthesized spectrum, it can be calculated according to the following formula:
Figure BDA0003177831010000061
wherein the content of the first and second substances,
Figure BDA0003177831010000062
Figure BDA0003177831010000063
Figure BDA0003177831010000064
λ is the wavelength, and S (λ) is the synthetic spectrum; t (lambda) is the target spectrum,
Figure BDA0003177831010000065
average of the red spectral sensitivity;
Figure BDA0003177831010000066
average value of green light spectral sensitivity;
Figure BDA0003177831010000067
the average value of the spectral sensitivity of green light.
If the target spectrum T (λ) is known, the matching degree of the synthesized spectrum S (λ) and the target spectrum can be calculated and expressed as
Figure BDA0003177831010000068
The smaller the value, the better.
If the matching degree between a specific visible light band and a target spectrum needs to be considered, a plurality of wavelengths can be extracted from the specific visible light band, the matching degree on the specific visible light band is calculated through the cumulative sum of the absolute values of the differences between the synthesized spectrum and the target spectrum on each wavelength, and in order to highlight the matching degree between the spectrum of the specific visible light band and the target spectrum, the cumulative multiplication and weighting coefficient of the absolute values of the differences between the synthesized spectrum and the target spectrum on each wavelength can be expressed as:
Figure BDA0003177831010000069
n is a positive integer greater than 1. n may be selected by the user. q is a real number greater than 1.
In some application scenarios, the preset condition includes that a value of a preset evaluation function determined based on the optical parameter is smaller than a preset threshold.
The preset evaluation function is used for determining the difference between the optical parameter and the target optical parameter corresponding to the current illumination mode.
As an illustrative example, the preset evaluation function MF may be represented by the following formula:
MF=w 1 |CT-ACT|+w 2 |Cx-Axo|+w 3 |Cy-Ayo|+w 4 |CR-ACR|+w 5 |SD-ASD|+w 6 |SC-ASC|+w 7 |M|+w 8 |ER-AER| (1);
wherein, CT represents the color temperature of the synthesized spectrum, and ACT is the target color temperature; cx and Cy are color coordinates of the synthesized spectrum, and Axo and Ayo are target color coordinates; CR is the color rendering index of the synthetic spectrum, and ACR is the target color rendering index; SD is the color tolerance of the synthesized spectrum, and ASD is the target color tolerance; SC is spectral continuity, ASC is target spectral continuity; m is the matching degree of the synthesized spectrum and the target spectrum; ER is the energy ratio of light in a target waveband, and AER is the target energy ratio; w is a 1 ~w 8 Respectively, are weighting factors.
In some application scenarios, the updating the current luminous flux of each monochromatic light includes: and updating the current luminous flux of each monochromatic light by using a preset optimization method.
The preset optimization method includes a linear programming method or other optimization methods.
And repeatedly iterating through the optical signal determination operation and the preset optimization method to obtain the current luminous flux of each monochromatic light meeting the preset condition.
And 103, determining a driving signal of each monochromatic light by using the current target luminous flux corresponding to each monochromatic light determined by the light signal determination operation, and determining the light emission of each monochromatic light source by using the driving signal of each monochromatic light so as to obtain a light mixing result according with the current illumination mode.
The drive signal may comprise a drive current signal, or a drive voltage signal.
The determining of the driving signal of each monochromatic light includes: determining the magnitude of the driving current of each monochromatic light and/or determining the duty ratio of the driving voltage of each monochromatic light.
Specifically, for each monochromatic light, the driving signal corresponding to the current target luminous flux of the monochromatic light may be determined according to a preset relationship between the luminous flux corresponding to the monochromatic light and the driving signal.
In some alternative implementations, for each monochromatic light, a plurality of luminous fluxes and a corresponding determined electrical signal for each luminous flux may be collected, thereby establishing a calibrated functional relationship between the luminous fluxes and the driving signals.
In these alternative implementations, after the target luminous flux of each monochromatic light is determined through the above step 102, for each monochromatic light, the driving signal corresponding to the target luminous flux may be determined according to the target luminous flux of the monochromatic light and the established calibration function between the luminous flux of the monochromatic light and the driving signal.
According to the light mixing method for the lamp, the current illumination mode is determined; performing the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet a preset condition matched with a current lighting mode; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet a preset condition matched with the current lighting mode; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; the driving signals of the monochromatic light are determined by the current target luminous flux corresponding to the monochromatic light determined by the optical signal determining operation, and the driving signals of the monochromatic light are used for determining the light emission of the monochromatic light sources so as to obtain the light mixing result according with the current illumination mode.
Please continue to refer to fig. 2, which shows a schematic flowchart of the light mixing method for a luminaire provided by the present disclosure.
First, variable arrays are provided in which the luminous fluxes of the monochromatic light sources (for example, red (R), green (G), blue (B), and white (W)) correspond to each other. The initial value of the luminous flux corresponding to each monochromatic light source may be given in advance at the start of the light signal determination operation to start performing the light signal determination operation. And obtaining a synthesized spectrum by using the current luminous flux corresponding to each monochromatic light source. The optical parameters were calculated by synthesizing the spectra. The optical parameters include color temperature, color coordinates, color rendering index, color tolerance, spectral continuity, spectral matching, specified band energy ratio, and the like. After obtaining the optical parameters, it is determined whether the values of the evaluation function (please refer to formula (1), which is not described herein) satisfy the predetermined condition. And if the value of the evaluation function is determined to meet the preset condition, stopping the subsequent optical signal determination operation. And if the current luminous flux of each monochromatic light does not meet the preset condition, updating the current luminous flux of each monochromatic light by using a preset optimization method. The values of the respective luminous fluxes of the monochromatic light-emitting sources described above are re-performed, and the optical signal determination operation is re-performed. After the target luminous flux of each monochromatic light is determined, the driving signal corresponding to the monochromatic light can be determined according to the association relationship between the preset calibrated luminous flux and the driving signal. Determining the drive signal may include determining a current signal magnitude, or determining a duty cycle (PWM) of the drive voltage signal.
With further reference to fig. 3, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of a light mixing device for a luminaire, which corresponds to the method embodiment shown in fig. 1, and which can be applied in various electronic devices.
As shown in fig. 3, the light mixing device for a luminaire of the present embodiment includes: a first determination unit 301, an execution unit 302 and a second determination unit 303. The first determining unit 301 is configured to determine a current lighting mode; an execution unit 302, configured to perform the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet preset conditions; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet preset conditions; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; a second determining unit 303, configured to determine a driving signal of each monochromatic light according to the current luminous flux respectively corresponding to each monochromatic light determined by the light signal determining operation, and determine that each monochromatic light source emits light according to the driving signal of each monochromatic light, so as to obtain a light mixing result according with the current lighting mode.
In this embodiment, specific processes of the first determining unit 301, the executing unit 302, and the second determining unit 303 of the light mixing device for a lamp and technical effects brought by the specific processes can refer to related descriptions of step 101, step 102, and step 103 in the corresponding embodiment of fig. 1, which are not described herein again.
In some optional implementations, the optical parameter includes at least one of: color temperature, color coordinates, color rendering index, color tolerance, spectrum continuity, matching degree with a target spectrum, and energy ratio of a target waveband in a full visible light waveband.
In some optional implementations, the preset condition includes: determining whether a value of a preset evaluation function is smaller than a preset threshold value based on the optical parameter; the preset evaluation function is used for determining the difference between the target optical parameter corresponding to the current illumination mode and the optical parameter.
In some optional implementations, the execution unit 302 is further configured to: and updating the current luminous flux of each monochromatic light by using a preset optimization method.
In some optional implementations, the driving signal includes determining a current magnitude, and/or determining a duty cycle of a driving voltage.
In some optional implementations, the second determining unit 303 is further configured to: and for each monochromatic light, determining a driving signal of the monochromatic light according to the target luminous flux determined by the light signal determination operation and a preset calibration function.
In some alternative implementations, the monochromatic light includes: red light, green light, blue light, white light.
In some optional implementations, the first determining unit 301 is further configured to: a current lighting pattern is determined based on the current time.
Referring to fig. 4, fig. 4 illustrates an exemplary system architecture to which the light mixing method for a luminaire of one embodiment of the present disclosure may be applied.
As shown in fig. 4, the system architecture may include a terminal device 401, a luminaire 402. The terminal device 401 and the lamp 402 are connected in communication through a network. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal device 401 may interact with the luminaire over a network to receive or send messages or the like. For example, to transmit information on the magnitude of the luminous flux to the luminaire.
The terminal device 401 may be hardware or software. When the terminal device 401 is hardware, it may be various electronic devices having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts Group Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4), a laptop computer, a desktop computer, and the like. When the terminal device 401 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The light fixture 402 may be a variety of light fixtures, such as a desk lamp or the like.
It should be noted that the light mixing method for a light fixture provided by the embodiment of the present disclosure may be executed by a terminal device, and accordingly, the light mixing apparatus for a light fixture may be disposed in the terminal device 401. In addition, the light mixing method for the light fixture provided by the embodiment of the present disclosure may also be performed by the light fixture 402, and accordingly, the light mixing device for the light fixture may be disposed in the light fixture 403.
It should be understood that the number of terminal devices and light fixtures in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 5, a schematic diagram of an electronic device (e.g., the terminal device or the light fixture of fig. 4) suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining a current lighting mode; performing the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet preset conditions; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet preset conditions; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; and determining a driving signal of each monochromatic light by using the current luminous flux respectively corresponding to each monochromatic light determined by the light signal determination operation, and determining the light emission of each monochromatic light source by using the driving signal of each monochromatic light so as to obtain a light mixing result according with the current illumination mode.
According to one or more embodiments of the present disclosure, the optical parameters include at least one of: color temperature, color coordinates, color rendering index, color tolerance, spectrum continuity, matching degree with a target spectrum, and energy ratio of a target waveband in a full visible light waveband.
According to one or more embodiments of the present disclosure, the preset condition includes: the value of a preset evaluation function determined based on the optical parameters is smaller than a preset threshold value; the preset evaluation function is used for determining the difference between the target optical parameter corresponding to the current illumination mode and the optical parameter.
According to one or more embodiments of the present disclosure, the updating the current luminous flux of each monochromatic light includes: and updating the current luminous flux of each monochromatic light by using a preset optimization method.
According to one or more embodiments of the present disclosure, the driving signal includes determining a current magnitude, and/or determining a duty cycle of a driving voltage.
According to one or more embodiments of the present disclosure, the determining the driving signal of each monochromatic light by using the current luminous flux respectively corresponding to each monochromatic light determined by the light signal determining operation includes: and for each monochromatic light, determining a driving signal of the monochromatic light according to the target luminous flux determined by the light signal determination operation and a preset calibration function.
According to one or more embodiments of the present disclosure, the monochromatic light includes: red light, green light, blue light, white light.
According to one or more embodiments of the present disclosure, the determining the current lighting pattern includes: a current lighting pattern is determined based on the current time.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A light mixing method for a luminaire, comprising:
determining a current lighting mode;
performing the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet preset conditions; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet preset conditions; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; wherein the updating the current luminous flux of each monochromatic light comprises: updating the current luminous flux of each monochromatic light by using a preset optimization method;
and determining a driving signal of each monochromatic light by using the current luminous flux respectively corresponding to each monochromatic light determined by the light signal determination operation, and determining the light emission of each monochromatic light source by using the driving signal of each monochromatic light so as to obtain a light mixing result according with the current illumination mode.
2. The method of claim 1, wherein the optical parameters include at least one of:
color temperature, color coordinates, color rendering index, color tolerance, spectrum continuity, matching degree with a target spectrum, and energy ratio of a target waveband in a full visible light waveband.
3. The method of claim 1, wherein the preset conditions include:
the value of a preset evaluation function determined based on the optical parameters is smaller than a preset threshold value;
the preset evaluation function is used for determining the difference between the target optical parameter corresponding to the current illumination mode and the optical parameter.
4. The method of claim 1, wherein the driving signal comprises determining a current magnitude, and/or determining a duty cycle of a driving voltage.
5. The method as claimed in claim 1, wherein said determining the driving signal of each monochromatic light by using the current luminous flux corresponding to each monochromatic light determined by said light signal determining operation comprises:
and for each monochromatic light, determining a driving signal of the monochromatic light according to the target luminous flux determined by the light signal determination operation and a preset calibration function.
6. The method of claim 1, wherein the monochromatic light comprises: red light, green light, blue light, white light.
7. The method of claim 1, wherein the determining a current lighting pattern comprises:
a current lighting pattern is determined based on the current time.
8. A light mixing device for a luminaire, comprising:
a first determination unit for determining a current illumination mode;
an execution unit configured to execute the following optical signal determination operations: obtaining the current luminous flux of each monochromatic light; mixing the current luminous flux of each monochromatic light to obtain a current synthesized spectrum; determining optical parameters corresponding to the current synthesized spectrum; determining whether the optical parameters meet preset conditions; stopping circularly executing the light mixing operation in response to determining that the optical parameters meet preset conditions; otherwise, updating the current luminous flux of each monochromatic light; after the current luminous flux of each monochromatic light is updated, the optical signal determining operation is executed again; wherein the updating the current luminous flux of each monochromatic light comprises: updating the current luminous flux of each monochromatic light by using a preset optimization method;
and the second determining unit is used for determining the driving signal of each monochromatic light by using the current luminous flux respectively corresponding to each monochromatic light determined by the light signal determining operation, and determining the light emission of each monochromatic light source by using the driving signal of each monochromatic light so as to obtain a light mixing result according with the current lighting mode.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110841087.5A 2021-07-23 2021-07-23 Light mixing method and device for lamp and electronic equipment Active CN113518487B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110841087.5A CN113518487B (en) 2021-07-23 2021-07-23 Light mixing method and device for lamp and electronic equipment
PCT/CN2022/106806 WO2023001196A1 (en) 2021-07-23 2022-07-20 Light mixing method and apparatus for lamp and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110841087.5A CN113518487B (en) 2021-07-23 2021-07-23 Light mixing method and device for lamp and electronic equipment

Publications (2)

Publication Number Publication Date
CN113518487A CN113518487A (en) 2021-10-19
CN113518487B true CN113518487B (en) 2022-08-09

Family

ID=78068705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110841087.5A Active CN113518487B (en) 2021-07-23 2021-07-23 Light mixing method and device for lamp and electronic equipment

Country Status (2)

Country Link
CN (1) CN113518487B (en)
WO (1) WO2023001196A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518487B (en) * 2021-07-23 2022-08-09 北京字节跳动网络技术有限公司 Light mixing method and device for lamp and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790264A (en) * 2009-12-24 2010-07-28 复旦大学 Method for light-adjusting solar spectrum-like LED
CN104053278A (en) * 2014-06-06 2014-09-17 东南大学 Four-color LED light mixing method based on visible light communication
CN106162981A (en) * 2016-05-22 2016-11-23 上海大学 Light mixing method based on three-primary color LED
CN110163371A (en) * 2019-05-26 2019-08-23 中国计量大学上虞高等研究院有限公司 Sleep environment dims optimization method and lamps and lanterns regulate and control method
CN110677954A (en) * 2019-10-22 2020-01-10 滨州学院 Precise dimming method and system for super-three-color LED light source

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8952631B2 (en) * 2011-03-15 2015-02-10 Telelumen Llc Method of optimizing light output during light replication
KR101779429B1 (en) * 2015-04-24 2017-09-19 엘지전자 주식회사 Lighting apparatus controlling light flux ratio and method for controlling same
US10302493B2 (en) * 2015-05-13 2019-05-28 Shenzhen University System and method for light optimization
CN105848339B (en) * 2016-04-08 2018-08-10 厦门大学 A kind of multi-primary LED lighting source intelligent dimming shading process and device
CN110211191B (en) * 2019-05-31 2021-02-05 广州市雅江光电设备有限公司 Mixed color correction method and device, terminal equipment and readable storage medium
CN110167242B (en) * 2019-06-05 2021-07-13 深圳市光擎光电有限公司 Mixed light adjusting method, device, system and storage medium
CN112203383B (en) * 2020-10-23 2022-07-08 深圳瑞欧光技术有限公司 Multi-spectral LED dimming method
CN113518487B (en) * 2021-07-23 2022-08-09 北京字节跳动网络技术有限公司 Light mixing method and device for lamp and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790264A (en) * 2009-12-24 2010-07-28 复旦大学 Method for light-adjusting solar spectrum-like LED
CN104053278A (en) * 2014-06-06 2014-09-17 东南大学 Four-color LED light mixing method based on visible light communication
CN106162981A (en) * 2016-05-22 2016-11-23 上海大学 Light mixing method based on three-primary color LED
CN110163371A (en) * 2019-05-26 2019-08-23 中国计量大学上虞高等研究院有限公司 Sleep environment dims optimization method and lamps and lanterns regulate and control method
CN110677954A (en) * 2019-10-22 2020-01-10 滨州学院 Precise dimming method and system for super-three-color LED light source

Also Published As

Publication number Publication date
WO2023001196A1 (en) 2023-01-26
CN113518487A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
US11511071B2 (en) Circadian-friendly LED light sources
US10206268B2 (en) Interlaced data architecture for a software configurable luminaire
RU2498540C2 (en) Methods and devices for facilitation of creation, selection and/or adjustment of lighting effects or light shows
US10030829B2 (en) Lighting control based on deformation of flexible lighting strip
CN113518487B (en) Light mixing method and device for lamp and electronic equipment
CN113596343A (en) Lamplight brightness adjusting method and device and electronic equipment
CN111935885B (en) Linkage control method, equipment and storage medium for lamplight colors of terminal and equipment
WO2021057758A1 (en) Interaction method and apparatus, smart mirror, electronic device and computer storage medium
Maiti et al. Evaluation of a daylight-responsive, iterative, closed-loop light control scheme
CN110730262A (en) Environment brightness value detection method and device and electronic equipment
WO2023001000A1 (en) Method and apparatus for determining lamp driving parameter and electronic device
EP4005347A1 (en) Control design for perceptually uniform color-tuning
US11523482B2 (en) Control design for perceptually uniform color tuning
CN114679827A (en) Lighting lamp control method, lighting lamp control device, electronic apparatus, and medium
CN113597065B (en) Desk lamp adjusting method and device and electronic equipment
CN113556850B (en) Lamp brightness calibration method, determination method, device and electronic equipment
US10880689B2 (en) Visitor identification for lighting control
KR102021362B1 (en) MacAdam Ellipse color temperature tracking method and LED tunnel light for using the same
KR101783006B1 (en) Illumination Device and Control Method Thereof
Wang et al. LED spectral optimization based on intermediate vision
Kim et al. Analysis of spectral power distributions for multichannel platforms in a patient room application
CN115633434A (en) Dimming current adjusting method, system, device, storage medium and dimming power supply
WO2018130500A1 (en) Visitor identification for lighting control

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