CN114423126B - Light modulation method and device of light emitting device, electronic equipment and storage medium - Google Patents

Light modulation method and device of light emitting device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114423126B
CN114423126B CN202210256525.6A CN202210256525A CN114423126B CN 114423126 B CN114423126 B CN 114423126B CN 202210256525 A CN202210256525 A CN 202210256525A CN 114423126 B CN114423126 B CN 114423126B
Authority
CN
China
Prior art keywords
light source
light
target
illuminance
illumination
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
CN202210256525.6A
Other languages
Chinese (zh)
Other versions
CN114423126A (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.)
Shenzhen Aitushi Innovation Technology Co ltd
Original Assignee
Aputure Imaging Industries 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 Aputure Imaging Industries Co Ltd filed Critical Aputure Imaging Industries Co Ltd
Priority to CN202210256525.6A priority Critical patent/CN114423126B/en
Publication of CN114423126A publication Critical patent/CN114423126A/en
Application granted granted Critical
Publication of CN114423126B publication Critical patent/CN114423126B/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
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/155Coordinated control of two or more light sources
    • 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
    • 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
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters

Abstract

The invention discloses a dimming method, a device, electronic equipment and a storage medium of a light-emitting device, wherein the method comprises the steps of determining color coordinates of light sources in the light-emitting device in a standard color space according to a preset standard color space, then acquiring a target color corresponding to a target color coordinate determined by a user in the standard color space, wherein a point corresponding to the target color coordinate is positioned in an area coverage range of a maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space, then acquiring target illumination provided by the user, determining output illumination of the light sources according to the target illumination, and controlling the light-emitting device to drive the light sources to work according to the output illumination. By adopting the embodiment of the invention, the technical problem of complex light combination mode of the multi-color lamp can be solved.

Description

Light modulation method and device of light emitting device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for dimming a light emitting device, an electronic device, and a storage medium.
Background
Most of existing atmosphere lamps are products which are bicolor or colorful and can combine light, and the lamps usually use two or three lamp beads to combine light. For example, the double-color lamp uses the lamp beads with warm white and cold white for light combination. The tricolor lamp usually adopts tricolor to close light, namely, the lamp beads with three different colors are adopted to close light, and the light closing range is wider.
In order to meet the requirements of more application scenes, such as the requirements of light stage performances, more and more multi-color lamps, such as four-color lamps, five-color lamps and the like, are gradually manufactured. However, as more lamp beads with different colors are provided in a multi-color lamp, the complexity of light combination is increased, and it is more difficult to control the color and color temperature of the combined light of the multi-color lamp.
Disclosure of Invention
The embodiment of the invention aims to provide a dimming method and device of a light-emitting device, electronic equipment and a storage medium, and aims to solve the technical problem that a light combination mode of a multi-color lamp is complex.
In a first aspect, to achieve the above object, an embodiment of the present invention provides a dimming method of a light emitting device including at least three light sources each having a different color, including:
determining color coordinates of each light source in the light-emitting device in a standard color space according to the preset standard color space;
acquiring a target color corresponding to the target color coordinate determined by the user in the standard color space; the point corresponding to the target color coordinate is positioned in the area coverage range of the maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space;
acquiring target illumination provided by a user;
determining the output illumination of each light source according to the target illumination;
and controlling the light-emitting device to drive each light source to work according to the output illumination.
Further, the light emitting device includes three light sources with different colors, including a first light source, a second light source, and a third light source, and determining the output illuminance of each light source according to the target illuminance includes:
and determining output illumination corresponding to the first light source, the second light source and the third light source according to a preset illumination superposition formula and the target illumination.
Further, the illuminance superposition formula is defined such that the target illuminance is equal to a sum of the first illuminance of the first light source, the second illuminance of the second light source, and the third illuminance of the third light source.
Further, the light-emitting device comprises N light sources with different colors, wherein N is more than 3 and is an integer; the determining the output illuminance of each light source according to the target illuminance comprises:
in the standard color space, points corresponding to the N light sources with different colors are taken as vertexes and connected to form at least N/3+ m different triangles; when the remainder of N/3 is 0, m =0, otherwise m =1, and N/3 takes integer part data;
determining N/3+ m target sub-illuminances according to the target illuminance;
determining output sub-illumination of the light source corresponding to the vertex of each triangle according to each target sub-illumination and the illumination superposition formula;
the sum of all the output sub-illuminations of the same light source is taken as the output illumination of the corresponding light source.
Further, the light emitting device includes a driving circuit electrically connected to each of the light sources, and the controlling the light emitting device to drive each of the light sources to operate according to the output illuminance includes:
and controlling a driving circuit of the light-emitting device to provide corresponding current for each light source so as to enable each light source to work according to the output illumination.
Further, the light source comprises an LED lamp bead.
Further, the preset standard color space is a CIE1931 color space.
In a second aspect, to solve the same technical problem, an embodiment of the present invention provides a dimming apparatus for a light emitting device including at least three light sources each having a different color, including:
the coordinate determination module is used for determining color coordinates of each light source in the light-emitting device in a standard color space according to the preset standard color space;
the first acquisition module is used for acquiring a target color corresponding to a target color coordinate determined by a user in the standard color space; the point corresponding to the target color coordinate is positioned in the area coverage range of the maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space;
the second acquisition module is used for acquiring the target illumination provided by the user;
the illumination determination module is used for determining the output illumination of each light source according to the target illumination;
and the control module is used for controlling the light-emitting device to drive each light source to work according to the output illumination.
In a third aspect, to solve the same technical problem, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the memory is coupled to the processor, and the processor executes the computer program to implement the steps in the dimming method of the light emitting device according to any one of the above descriptions.
In a fourth aspect, to solve the same technical problem, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, wherein when the computer program runs, an apparatus in which the computer-readable storage medium is located is controlled to perform any one of the steps in the dimming method of a light emitting device described above.
The embodiment of the invention provides a dimming method, a device, electronic equipment and a storage medium of a light-emitting device, wherein the method determines color coordinates of each light source in the light-emitting device in a preset standard color space, determines a target color corresponding to a target color coordinate within the area coverage range of a maximum polygon formed by points corresponding to the color coordinates of each light source in the standard color space, and determines the output illumination of each light source according to the target illumination provided by a user, so that each light source is controlled to work according to the corresponding output illumination, the light of the target color emitted by the light-emitting device can be controlled in a simple mode, and the technical problem of complex multi-color light combination mode of a lamp is solved.
Drawings
Fig. 1 is a schematic flowchart of a dimming method of a light emitting device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a three-color lamp in a standard color space according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a four-color lamp in a standard color space according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a five-color luminaire in a standard color space according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a dimming device of a light emitting device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
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 "including" and variations thereof as used herein is intended to be 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.
In the related art, a multi-color lamp is mainly used for synthesizing light emitted by lamp beads with different colors in the lamp, so that the multi-color lamp can emit light with more colors and color temperatures. For example, what double-colored lamps and lanterns used is that the lamp pearl of two colours of warm white and cold white closes light to the colour and the colour temperature that make double-colored lamps and lanterns can close out do: the color and the color temperature of the warm white lamp bead and the cold white lamp bead corresponding to the point on the connecting straight line of the color coordinates of the two points in the CIE1931 color space. Secondly, the colored lamps and lanterns usually adopt the three-colour to close light, adopt the lamp pearl of three kinds of different colours to close light, and its light closing range is wider to can close out the colour and the colour temperature that the lamp pearl of three kinds of different colours corresponds arbitrary point in the triangle that the chromaticity coordinates of three points constitutes in CIE1931 color space corresponds.
In order to meet the demands of more application scenes, more and more multi-color lamps such as four-color lamps, five-color lamps, etc. are gradually manufactured. However, as more lamp beads with different colors are provided in a multi-color lamp, the complexity of light combination is increased, and it is more difficult to control the color and color temperature of the combined light of the multi-color lamp.
In order to solve the technical problem of the multi-color lamp, an embodiment of the present invention provides a dimming method for a light emitting device including at least three light sources with different colors, specifically, please refer to fig. 1, fig. 1 is a schematic flow chart of the dimming method for a light emitting device according to the embodiment of the present invention, and as shown in fig. 1, the dimming method for a light emitting device according to the embodiment of the present invention includes steps 101 to 105;
step 101, determining color coordinates of each light source in the light emitting device in a standard color space according to a preset standard color space.
In one case, the light source includes an LED lamp bead. In other cases, the light source may also include a LED strip, or other device that emits light.
In this embodiment, the predetermined standard color space is a CIE1931 color space. Wherein, color space refers to the perception of color on the human eye in an objective way. More precisely, it is necessary to first define three main colors and then describe the colors by using the superposition of the colors. The CIE1931 color space is one such color space.
It should be noted that the preset standard color space provided in the present embodiment is not limited to the CIE1931 color space mentioned above, but may also be other color spaces capable of describing various colors by overlapping colors, which is not illustrated herein.
And 102, acquiring a target color corresponding to the target color coordinate determined by the user in the standard color space.
And the point corresponding to the target color coordinate is positioned in the area coverage range of the maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space.
Since the color corresponding to any point in the triangular region formed by the points corresponding to the three colors can be described by using any three colors in the standard color space, by limiting the target color coordinates to the area coverage of the maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space, it is possible to specify which different triangles formed by the three light sources the target color coordinates are in, and to describe the target color in common based on the light sources included in these different triangles.
Step 103, obtaining the target illumination provided by the user.
In this embodiment, the target illuminance is an illuminance requirement of the light emitted by the lamp by the user, and the specific numerical value is related to the illuminance capability of each light source of the lamp, which is not limited herein.
And step 104, determining the output illumination of each light source according to the target illumination.
In the present embodiment, since the target color can be described by one or more triangular light sources in the standard color space, the output illuminance of each light source can also be determined if the target illuminance is known.
The illumination superposition formula is defined as the sum of the target illumination equal to the first illumination of the first light source, the second illumination of the second light source and the third illumination of the third light source.
And 105, controlling the light emitting device to drive each light source to work according to the output illumination.
In some embodiments, the light emitting device includes three light sources with different colors, including a first light source, a second light source, and a third light source, and the step of determining the output illuminance of each light source according to the target illuminance includes: and determining the output illumination corresponding to the first light source, the second light source and the third light source according to a preset illumination superposition formula and the target illumination.
Specifically, referring to fig. 2, fig. 2 is a schematic diagram of a three-color lamp provided in an embodiment of the present invention in a standard color space, and as shown in fig. 2, the three-color lamp includes three light sources with different colors: a first light source A, a second light source B, and a third light source C, whose color coordinates in the standard color space are A (x)a,ya)、B(xb,yb)、C(xc,yc). Triangle ABC is obtained by connecting A, B, C points in sequence. Then, the target color coordinate T (x) determined by the user in the triangular ABC area is obtainedt,yt) And target illuminance LtAnd according to the formula of the superposition of illuminance, i.e. Lt=La+Lb+LcThen L can be calculateda、Lb、LcThat is, the illuminance to be output by each of the first light source a, the second light source B, and the third light source C can be determined: the first light source A outputs a first illuminance LaThe second light source B outputs a second illuminance LbThe third light source C outputs a third illumination Lc
After determining the illuminance to be output by each of the first light source A, the second light source B and the third light source C, the first light source A is driven to follow the first illuminance L by controlling the light emitting deviceaOperating to drive the second light source B to follow the second illuminance LbWorking, the third light source C according to the third illumination LcThe light emitted by the first light source A, the second light source B and the third light source C can be synthesized into a target color corresponding to the target color coordinate by the operation, and the target illumination L is usedtWork is carried out, and therefore light combination of the three-color lamp is achieved.
In some embodiments, the light emitting device includes a driving circuit electrically connected to each light source, and the step of controlling the light emitting device to drive each light source to operate according to the output illuminance specifically includes: and controlling a driving circuit of the light-emitting device to provide corresponding current for each light source so that each light source works according to the output illumination.
The driving circuit provided by the embodiment of the invention can provide currents with different sizes for different light sources so as to adjust the light of each light source or the synthesized light, thereby obtaining the synthesized light with different color temperatures, different brightness and different color rendering indexes. Therefore, the color matching efficiency of the multicolor lamp can be effectively improved.
The above embodiments mainly define the specific dimming methods of the three-color lamp, and the following embodiments will explain the dimming methods of the light emitting devices including N (N is greater than 3 and is an integer) light sources with different colors.
In some embodiments, the light emitting device includes N light sources with different colors, and the step of determining the output illuminance of each light source according to the target illuminance includes: in the standard color space, points corresponding to N different light sources are used as vertexes and connected to form at least N/3+ m different triangles; when the remainder of N/3 is 0, m =0, otherwise m =1, and N/3 takes integer part data; determining N/3+ m target sub-illuminances according to the target illuminance; determining the output sub-illumination of the light source corresponding to the vertex of each triangle according to the target sub-illumination and the illumination superposition formula; the sum of all the output sub-illuminations of the same light source is taken as the output illumination of the corresponding light source.
In an embodiment, please refer to fig. 3, fig. 3 is a schematic diagram of a four-color lamp in a standard color space according to an embodiment of the present invention, and as shown in fig. 3, the four-color lamp includes four light sources with different colors: the first light source A, the second light source B, the third light source C and the fourth light source D respectively have color coordinates A (x) in the standard color spacea,ya)、B(xb,yb)、C(xc,yc)、D(xd,yd). Forming at least 4/3+ m different triangles by connecting points corresponding to the 4 different light sources with different colors as vertexes, wherein m =0 when the remainder of N/3 is 0, otherwise m =1, N/3 is integer part data, i.e. at least 1+1=2 different triangles are formed: triangle ABD and triangle ACD (FIG. 3 shows only one of the connection ways, and may also be 2 triangles different from each other formed by other connection ways not shown, such as triangle ABD and triangle ABC, or triangle ABD and triangle ACDBCD, or triangle ABC and triangle ACD, or triangle BCD and triangle ACD). Secondly, according to the target illumination provided by the user, 1+1=2 target sub-illuminations are determined, and a first target sub-illumination of the triangular ABD and a second target sub-illumination of the triangular ACD are obtained. In one case, the first target sub-illuminance and the second target sub-illuminance may each be 1/2 of the target illuminance. In another case, the first target sub-illuminance may be n times (0 < n < 1) the target illuminance, and the second target sub-illuminance may be (1-n) times the target illuminance. It can be understood that, as long as the sum of the first target sub-illuminance and the second target sub-illuminance is equal to the target illuminance, that is, the relationship between the first target sub-illuminance and the target illuminance satisfies: target illuminance Lt= first target sub-illuminance Labd+ second target sub-illuminance Lacd
After the first target sub-illuminance of the triangular ABD and the second target sub-illuminance of the triangular ACD are obtained, the output sub-illuminance L of the light source a corresponding to each vertex in the triangular ABD and the triangular ACD is determined according to the determination method of the output illuminance of each light source by the three-color lamp (for a specific output illuminance determination method, please refer to the embodiment of the three-color lamp, i.e., the output illuminance determination method in the embodiment corresponding to fig. 2, which is not described herein again), and the first output sub-illuminance L of the first light source a in the triangular ABD is obtaineda1A second output sub-illuminance L of the second light source Bb1And a third output sub-illuminance L of the fourth light source Dd1Fourth output sub-illuminance L of first light source A in triangular ACDa2A fifth output sub-illuminance L of the third light source Cc1And the sixth output sub-illuminance L of the fourth light source Dd2. Then, the sum of all the output sub-illuminances of the same light source is used as the output illuminance L of the corresponding light source, i.e. the output illuminance L of the first light source Aa= first output sub-illuminance La1+ fourth output sub-illuminance La2Output illuminance L of the second light source Bb= second output sub-illuminance Lb1Output illuminance L of the third light source Cc= fifth output sub-illuminance Lc1Output illuminance L of fourth light source Dd= third output sub-illuminance Ld1+ sixth output sub-illuminance Ld2
In another embodiment, please refer to fig. 4, fig. 4 is a schematic diagram of a five-color lamp in a standard color space according to an embodiment of the present invention, and as shown in fig. 4, the five-color lamp includes five light sources with different colors: the first light source A, the second light source B, the third light source C, the fourth light source D and the fifth light source E respectively have color coordinates A (x) in the standard color spacea,ya)、B(xb,yb)、C(xc,yc)、D(xd,yd)、E(xe,ye). And connecting corresponding points of 5 light sources with different colors as vertexes to form at least 5/3+ m different triangles, wherein m =0 when the remainder of N/3 is 0, and otherwise m =1, N/3 takes integral part of data, namely at least 1+1=2 different triangles.
As an alternative embodiment of the present application, the present embodiment may also form 3 mutually different triangles by the corresponding points of 5 light sources with different colors, such as triangle ABD and triangle AED and triangle ACD (for the same reason, fig. 4 only shows one of the connection modes, and may also form 3 mutually different triangles by other connection modes not shown, which are not illustrated here). Secondly, according to the target illumination provided by the user and the determined number of triangles, determining the corresponding number of target sub-illuminations, namely 3 target sub-illuminations: the first target sub-illumination of the triangular ABD, the second target sub-illumination of the triangular AED and the third target sub-illumination of the triangular ACD are obtained. In one case, the first target sub-illuminance, the second target sub-illuminance, and the third target sub-illuminance may be 1/3 of the target illuminance, respectively. In other cases, the first target sub-illuminance, the second target sub-illuminance and the third target sub-illuminance may be any values as long as the sum of the first target sub-illuminance, the second target sub-illuminance and the third target sub-illuminance is equal to the target illuminance, that is, the relationship between the first target sub-illuminance, the second target sub-illuminance and the third target sub-illuminance and the target illuminance satisfies: target illuminance Lt= first target sub-illuminance Labd+ second target sub-illuminance Laed+ third target sub-illuminance Lacd
After obtaining the first target sub-illuminance L of the first light source a in the triangular ABD, the second target sub-illuminance L of the triangular AED, and the third target sub-illuminance L of the triangular ACD, the output sub-illuminances L of the light sources corresponding to the vertices in the triangular ABD, triangular AED, and triangular ACD are determined according to the determination method of the output illuminance of each light source by the three-color lamp (a specific output illuminance determination method, please refer to the embodiment of the three-color lamp, i.e., the output illuminance determination method in the embodiment corresponding to fig. 2, which is not described herein again), and the first output sub-illuminance L of the first light source a in the triangular ABD is obtaineda1A second output sub-illuminance L of the second light source Bb1And a third output sub-illuminance L of a fourth light source Dd1Fourth output sub-illuminance L of first light Source A in triangular AEDa2A fifth output sub-illuminance L of a fifth light source Ee1Sixth output sub-illuminance L of fourth light source Dd2Seventh output sub-illuminance L of first light source A in triangular ACDa3And the eighth output sub-illuminance L of the third light source Cc1Ninth output sub-illuminance L of fourth light source Dd3. Then, the sum of all the output sub-illuminances of the same light source is used as the output illuminance L of the corresponding light source, i.e. the output illuminance L of the first light source Aa= first output sub-illuminance La1+ fourth output sub-illuminance La2+ seventh output sub-illuminance La3Output illuminance L of the second light source Bb= second output sub-illuminance Lb1Output illuminance L of the third light source Cc= eighth output sub-illuminance Lc1Output illuminance L of fourth light source Dd= third output sub illuminance Ld1+ sixth output sub-illuminance Ld2+ ninth output sub-illuminance Ld3
It should be noted that, when the multi-color lamp includes more light sources with different colors, such as six, seven, eight … … N, only the points corresponding to the N light sources are used as vertices and connected to form at least N/3+ m triangles with different colors, and then according to the target illuminance, at least N/3+ m target sub-illuminances are determined and allocated to each triangle as the corresponding target sub-illuminance. In this way, the output sub-illuminance of the light source corresponding to the vertex of each triangle can be determined according to the embodiment of the three-color lamp, that is, the output illuminance determining method in the embodiment corresponding to fig. 2. And finally, the sum of all output sub-illuminations of the same light source is used as the output illumination of the corresponding light source, so that the dimming control of the multi-color lamp is realized, the light combination complexity of the multi-color lamp is reduced, the control of the multi-color lamp is simplified, and the user experience is improved.
According to the method described in the above embodiments, the present embodiment will be further described from the perspective of a light dimming device of a light emitting device, which may be specifically implemented as a stand-alone entity or integrated in an electronic device, such as a terminal, which may include a mobile phone, a tablet computer, and the like.
In order to solve the same technical problem as that solved by the above method embodiment, an embodiment of the present invention provides a dimming apparatus for a light emitting device including at least three light sources with different colors, specifically, referring to fig. 5, fig. 5 is a schematic structural diagram of the dimming apparatus for a light emitting device according to the embodiment of the present invention, and as shown in fig. 5, the dimming apparatus 500 for a light emitting device according to the embodiment of the present invention includes:
the coordinate determining module 501 is configured to determine color coordinates of each light source in the light emitting device in a standard color space according to a preset standard color space.
In one case, the light source includes an LED lamp bead. In other cases, the light source may also include a LED strip, or other device that emits light.
In this embodiment, the predetermined standard color space is a CIE1931 color space. Wherein, color space refers to the perception of color on the human eye in an objective way. More precisely, it is necessary to first define three main colors and then describe the colors by using the superposition of the colors. The CIE1931 color space is one such color space.
It should be noted that the preset standard color space provided in the present embodiment is not limited to the CIE1931 color space mentioned above, but may also be other color spaces capable of describing various colors by overlapping colors, which is not illustrated herein.
The first obtaining module 502 is configured to obtain a target color corresponding to a target color coordinate determined by a user in a standard color space.
And the point corresponding to the target color coordinate is positioned in the area coverage range of the maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space.
A second obtaining module 503, configured to obtain the target illuminance provided by the user.
An illuminance determination module 504, configured to determine output illuminance of each light source according to the target illuminance.
In an embodiment, the light emitting device includes three light sources with different colors, including a first light source, a second light source, and a third light source, and the illuminance determining module 504 is specifically configured to: and determining the output illumination corresponding to the first light source, the second light source and the third light source according to a preset illumination superposition formula and the target illumination.
The illuminance superposition formula is defined as the sum of the target illuminance equal to the first illuminance of the first light source, the second illuminance of the second light source and the third illuminance of the third light source.
In another embodiment, the light emitting device includes N light sources with different colors, where N is greater than 3 and is an integer, and the illuminance determination module 504 is further specifically configured to: in the standard color space, points corresponding to N different light sources are used as vertexes and connected to form at least N/3+ m different triangles; when the remainder of N/3 is 0, m =0, otherwise m =1, and N/3 takes integer part data; determining N/3+ m target sub-illuminances according to the target illuminance; determining the output sub-illumination of the light source corresponding to the vertex of each triangle according to the target sub-illumination and the illumination superposition formula; the sum of all the output sub-illuminations of the same light source is taken as the output illumination of the corresponding light source.
And a control module 505 for controlling the light emitting devices to drive the light sources to operate according to the output illuminance.
In this embodiment, the light emitting device includes a driving circuit electrically connected to each light source, and the control module 505 is specifically configured to: and controlling a driving circuit of the light-emitting device to provide corresponding current for each light source so that each light source works according to the output illumination.
In a specific implementation, each of the modules and/or units may be implemented as an independent entity, or may be implemented as one or several entities by any combination, where the specific implementation of each of the modules and/or units may refer to the foregoing method embodiment, and specific achievable beneficial effects also refer to the beneficial effects in the foregoing method embodiment, which are not described herein again.
In addition, referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device may be a mobile terminal such as a smart phone and a tablet computer. As shown in fig. 6, the electronic device 600 includes a processor 601, a memory 602. The processor 601 is electrically connected to the memory 602.
The processor 601 is a control center of the electronic device 600, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device 600 and processes data by running or loading an application program stored in the memory 602 and calling data stored in the memory 602, thereby integrally monitoring the electronic device 600.
In this embodiment, the processor 601 in the electronic device 600 loads instructions corresponding to processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions:
determining color coordinates of each light source in the light-emitting device in a standard color space according to a preset standard color space;
acquiring a target color corresponding to a target color coordinate determined by a user in a standard color space;
acquiring target illumination provided by a user;
determining the output illumination of each light source according to the target illumination;
and controlling the light-emitting devices to drive each light source to work according to the output illumination.
The electronic device 600 can implement the steps in any embodiment of the dimming method for a light emitting device provided in the embodiment of the present invention, and therefore, the beneficial effects that can be achieved by the dimming method for a light emitting device provided in the embodiment of the present invention can be achieved, for details, see the foregoing embodiment, and are not described herein again.
Referring to fig. 7, fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, fig. 7 is a specific structural block diagram of the electronic device according to the embodiment of the present invention, where the electronic device may be used to implement the dimming method of the light emitting device provided in the foregoing embodiment. The electronic device 700 may be a mobile terminal such as a smart phone or a notebook computer.
The RF circuit 710 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. The RF circuitry 710 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and so forth. The RF circuit 710 may communicate with various networks such as the internet, intranets, wireless networks, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for micro), and other short message protocols for instant messaging, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 720 may be used to store software programs and modules, such as program instructions/modules corresponding to the dimming method of the light emitting device in the above-mentioned embodiments, and the processor 780 executes various functional applications and dimming of the light emitting device by running the software programs and modules stored in the memory 720, that is, the following functions are implemented:
determining color coordinates of each light source in the light-emitting device in a standard color space according to a preset standard color space;
acquiring a target color corresponding to a target color coordinate determined by a user in a standard color space;
acquiring target illumination provided by a user;
determining the output illumination of each light source according to the target illumination;
and controlling the light-emitting devices to drive each light source to work according to the output illumination.
The memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 720 may further include memory located remotely from processor 780, which may be connected to electronic device 700 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 730 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 730 may include a touch-sensitive surface 731 as well as other input devices 732. Touch-sensitive surface 731, also referred to as a touch display screen or touch pad, can collect touch operations by a user on or near touch-sensitive surface 731 (e.g., operations by a user on or near touch-sensitive surface 731 using a finger, stylus, or any other suitable object or attachment) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 731 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch-sensitive surface 731 can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic wave. The input unit 730 may also include other input devices 732 in addition to the touch-sensitive surface 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic device 700, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 731 can overlay display panel 741, such that when touch-sensitive surface 731 detects a touch event thereon or nearby, processor 780 can determine the type of touch event, and processor 780 can then provide a corresponding visual output on display panel 741 based on the type of touch event. Although in the figure the touch-sensitive surface 731 and the display panel 741 are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface 731 and the display panel 741 may be integrated to implement input and output functions.
The electronic device 700 may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile phone is stationary, and may be used for applications of recognizing gestures of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor that are further configured to the electronic device 700, and are not described herein again.
The audio circuit 760, speaker 761, and microphone 762 may provide an audio interface between a user and the electronic device 700. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, processes the audio data by the audio data output processor 780, and transmits the processed audio data to, for example, another terminal via the RF circuit 710, or outputs the audio data to the memory 720 for further processing. The audio circuitry 760 may also include an earbud jack to provide communication of a peripheral headset with the electronic device 700.
Electronic device 700, via transport module 770 (e.g., a Wi-Fi module), may assist the user in receiving requests, sending information, etc., which provides the user with wireless broadband internet access. Although the transmission module 770 is illustrated in the drawings, it is understood that it does not belong to the essential constitution of the electronic device 700 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 780 is a control center of the electronic device 700, connects various parts of the entire cellular phone using various interfaces and lines, performs various functions of the electronic device 700 and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the electronic device. Optionally, processor 780 may include one or more processing cores; in some embodiments, processor 780 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The electronic device 700 also includes a power supply 790 (e.g., a battery) that provides power to various components, and in some embodiments may be logically coupled to the processor 780 via a power management system that may perform functions such as managing charging, discharging, and power consumption. The power supply 790 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device 700 further includes a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the electronic device is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
determining color coordinates of each light source in the light-emitting device in a standard color space according to a preset standard color space;
acquiring a target color corresponding to a target color coordinate determined by a user in a standard color space;
acquiring target illumination provided by a user;
determining the output illumination of each light source according to the target illumination;
and controlling the light emitting devices to drive the light sources to work according to the output illumination.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily, and implemented as the same or several entities, and specific implementations of the above modules may refer to the foregoing method embodiment, which is not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, embodiments of the present invention provide a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps of any one of the dimming methods of a light emitting device provided by embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any embodiment of the dimming method for a light emitting device provided in the embodiment of the present invention, the beneficial effects that can be achieved by the dimming method for a light emitting device provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The foregoing detailed description has provided a method, an apparatus, an electronic device, and a storage medium for dimming a light emitting device according to embodiments of the present application, and specific examples have been applied herein to explain the principles and embodiments of the present application, and the description of the foregoing embodiments is only used to help understanding the method and the core concept of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application. Moreover, it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention, and such modifications and adaptations are intended to be within the scope of the invention.

Claims (9)

1. A method for dimming a light emitting device having N light sources of different colors, N being an integer and greater than 3, comprising:
determining color coordinates of each light source in the light-emitting device in a standard color space according to the preset standard color space;
acquiring a target color corresponding to a target color coordinate determined by a user in the standard color space; the point corresponding to the target color coordinate is positioned in the area coverage range of the maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space;
acquiring target illumination provided by a user;
in the standard color space, points corresponding to the N light sources with different colors are taken as vertexes and connected to form at least N/3+ m different triangles; when the remainder of N/3 is 0, m =0, otherwise m =1, and N/3 takes integer part data;
determining N/3+ m target sub-illuminances according to the target illuminance;
determining output sub-illumination of the light source corresponding to the vertex of each triangle according to each target sub-illumination and a preset illumination superposition formula;
taking the sum of all the output sub-illuminations of the same light source as the output illumination of the corresponding light source;
and controlling the light-emitting device to drive each light source to work according to the output illumination.
2. The method of claim 1, wherein the lighting device comprises three light sources of different colors, including a first light source, a second light source, and a third light source, and the determining the output illuminance of each light source according to the target illuminance comprises:
and determining output illumination corresponding to the first light source, the second light source and the third light source according to a preset illumination superposition formula and the target illumination.
3. The dimming method of a light emitting device according to claim 2, wherein the illuminance superposition formula is defined such that the target illuminance is equal to a sum of a first illuminance of the first light source, a second illuminance of the second light source, and a third illuminance of the third light source.
4. A dimming method for a light emitting device according to claim 1, wherein the light emitting device includes a driving circuit electrically connected to the light sources, and the controlling the light emitting device to drive the light sources to operate according to the output illuminance comprises:
and controlling a driving circuit of the light-emitting device to provide corresponding current for each light source so as to enable each light source to work according to the output illumination.
5. The method of dimming a light emitting device of claim 1, wherein the light source comprises an LED lamp bead.
6. A method for dimming a light emitting device according to any one of claims 1 to 5, wherein the predetermined standard color space is CIE1931 color space.
7. A dimming apparatus for a light emitting device including N light sources each having a different color, N being greater than 3 and an integer, comprising:
the coordinate determination module is used for determining color coordinates of each light source in the light-emitting device in a standard color space according to the preset standard color space;
the first acquisition module is used for acquiring a target color corresponding to a target color coordinate determined by a user in the standard color space; the point corresponding to the target color coordinate is positioned in the area coverage range of the maximum polygon formed by the points corresponding to the color coordinates of the light sources in the standard color space;
the second acquisition module is used for acquiring the target illumination provided by the user;
the illumination determination module is used for taking points corresponding to the N light sources with different colors as vertexes and connecting the vertexes in the standard color space to form at least N/3+ m different triangles; when the remainder of N/3 is 0, m =0, otherwise m =1, and N/3 takes integer part data; determining N/3+ m target sub-illuminances according to the target illuminance; determining output sub-illumination of the light source corresponding to the vertex of each triangle according to each target sub-illumination and a preset illumination superposition formula; taking the sum of all the output sub-illuminations of the same light source as the output illumination of the corresponding light source;
and the control module is used for controlling the light-emitting device to drive each light source to work according to the output illumination.
8. An electronic device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the memory being coupled to the processor, and the processor, when executing the computer program, implementing the steps in the dimming method of a light emitting device according to any of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the steps in the dimming method of a light emitting device according to any one of claims 1 to 6.
CN202210256525.6A 2022-03-16 2022-03-16 Light modulation method and device of light emitting device, electronic equipment and storage medium Active CN114423126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210256525.6A CN114423126B (en) 2022-03-16 2022-03-16 Light modulation method and device of light emitting device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210256525.6A CN114423126B (en) 2022-03-16 2022-03-16 Light modulation method and device of light emitting device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114423126A CN114423126A (en) 2022-04-29
CN114423126B true CN114423126B (en) 2022-06-24

Family

ID=81263398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210256525.6A Active CN114423126B (en) 2022-03-16 2022-03-16 Light modulation method and device of light emitting device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114423126B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101517A (en) * 2014-05-21 2015-11-25 常州市武进区半导体照明应用技术研究院 Configuration equipment and configuration system for lamp driving parameter
CN110806673A (en) * 2019-08-14 2020-02-18 杭州新湖电子有限公司 Full-color composite LED photographic lamp
CN112423426A (en) * 2020-12-14 2021-02-26 东莞锐视光电科技有限公司 Method for automatically calibrating color temperature and illumination of light source based on color coordinates

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203377B (en) * 2019-06-21 2023-04-14 四川联恺照明有限公司 Color temperature adjusting method, color temperature adjusting device and light source assembly
CN113939058A (en) * 2020-06-29 2022-01-14 漳州立达信光电子科技有限公司 Color temperature controllable multi-path light source color mixing method and device and terminal equipment
CN113506343B (en) * 2021-06-15 2022-11-18 展讯半导体(南京)有限公司 Color coordinate estimation method, system, device and medium based on multi-source data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101517A (en) * 2014-05-21 2015-11-25 常州市武进区半导体照明应用技术研究院 Configuration equipment and configuration system for lamp driving parameter
CN110806673A (en) * 2019-08-14 2020-02-18 杭州新湖电子有限公司 Full-color composite LED photographic lamp
CN112423426A (en) * 2020-12-14 2021-02-26 东莞锐视光电科技有限公司 Method for automatically calibrating color temperature and illumination of light source based on color coordinates

Also Published As

Publication number Publication date
CN114423126A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
US11307733B2 (en) Always on display method and electronic device
CN103634580B (en) A kind of colour gamut method of adjustment and device of coloured image
CN105867730B (en) The display methods and device of status bar
EP3370204A1 (en) Method for detecting skin region and device for detecting skin region
CN108701365B (en) Light spot identification method, device and system
US20220011650A1 (en) Camera module, mobile terminal, and control method
CN110458921B (en) Image processing method, device, terminal and storage medium
CN108418969B (en) Antenna feed point switching method and device, storage medium and electronic equipment
CN104902048A (en) Control system and control method based on mobile phone intelligent protection shell
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
US20200186173A1 (en) Lte frequency band switching device and method, and mobile terminal
CN109684174B (en) Mobile terminal appearance changing method, control device, mobile terminal and storage medium
CN107124902B (en) Display screen backlight control method and device and terminal
CN106873755A (en) Screen electricity-saving control method, device and mobile terminal
US11783517B2 (en) Image processing method and terminal device, and system
CN112199065A (en) Method and device for determining local display area compensation value, storage medium and terminal equipment
CN114423126B (en) Light modulation method and device of light emitting device, electronic equipment and storage medium
CN110022600B (en) Driving current adjusting method and device, storage medium and mobile terminal
CN112867171B (en) WIFI connection method and device, storage medium and mobile terminal
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN109683758B (en) Application icon display method and device and storage medium
WO2021128450A1 (en) Data sending method and apparatus, and storage medium and mobile terminal
CN111163508A (en) Message notification method and device and mobile terminal
CN115884482A (en) Light control method and device, electronic equipment and storage medium
CN116133209A (en) Lamp control method, device and storage medium

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
CP01 Change in the name or title of a patent holder

Address after: 518110 floors 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Aitushi Innovation Technology Co.,Ltd.

Address before: 518110 floors 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: APUTURE IMAGING INDUSTRIES Co.,Ltd.

CP01 Change in the name or title of a patent holder