Current determination method and device for mixed light, electronic equipment and storage medium
By acquiring and comparing the optical parameters of multiple alternative mixed lights, determining the alternative mixed light matching the target mixed light, and adjusting the current value according to the current value of its monochromatic light source, the problem of slow debugging speed in the prior art is solved. , achieving better mixed light effects.
Patent Information
- Application Number
- CN202311013321.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-11
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, the current speed of debugging mixed light is slow, resulting in waste of manpower and time, and it is impossible to ensure that the light color parameters of mixed light achieve the best effect.
By acquiring the optical parameters of the plurality of first alternative mixed lights, based on the optical parameter requirement information of the target mixed light, a second alternative mixed light matching with the target mixed light is determined from the first alternative mixed light, and according to its single The current value of the color light source determines the current value of the synthetic target mixed light.
The current value of each monochrome light source of mixed light is achieved quickly, which improves the mixed light effect and saves manpower and time.
Smart Images

Figure CN119485840A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical lighting technology, and in particular to a method, device, electronic device and storage medium for determining current of mixed light. Background Art
[0002] With the development of light emitting diode (LED) technology, the current (Red, Green, Blue) RGB monochromatic LED technology can achieve a spectrum with a larger half-wave width. The mixed light can obtain light color parameters such as color rendering index, color temperature and luminous flux to meet the spectrum required for use in different scenarios.
[0003] Taking the medical cold light source using RGB synthesized mixed light in the medical scene as an example, since the change of current affects the change of the spectral energy distribution curve, the change of the spectral energy distribution curve will affect the change of optical parameters, such as luminous flux, color temperature, color rendering index, etc., so the optical parameters are closely related to the light source current. Therefore, in order to obtain mixed light whose optical parameters meet the use requirements, in addition to selecting suitable monochromatic light sources, it is also necessary to accurately determine the working current of each monochromatic light source. However, in the prior art, the current of each monochromatic light source is usually adjusted by manual debugging to achieve the purpose of adjusting the radiant flux of the light source. For example, when adjusting the color temperature, increasing the radiant flux of red light can reduce the color temperature of the mixed light, and increasing the radiant flux of blue light can increase the color temperature of the mixed light. According to this rule, a mixed light with the required color temperature can be obtained, and then check whether other light color parameters meet the specified requirements. If not, readjust the current of each monochromatic light source until all light color parameters are met. This manual current adjustment method has a slow adjustment speed, wastes a lot of manpower and time in the adjustment process, and cannot guarantee the optimal color parameters of the mixed light synthesized by the currents of the current monochromatic light sources, and therefore cannot guarantee the effect of the current mixed light.
[0004] Therefore, how to quickly determine the current of each monochromatic light source of the mixed light to ensure a better effect of the obtained mixed light is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for determining the current of mixed light, which are used to quickly determine the current of each monochromatic light source of the mixed light, thereby ensuring that the obtained mixed light has a better effect.
[0006] In a first aspect, an embodiment of the present application provides a method for determining a current of a mixed light, the method comprising:
[0007] Obtaining optical parameters of a plurality of first candidate mixed lights; wherein each of the first candidate mixed lights comprises a plurality of different monochromatic light sources, at least one of the monochromatic light sources included in the different mixed lights has a different current value corresponding to the same color light source, and the current value corresponding to the monochromatic light source is determined based on the current interval length and the operating current range of the monochromatic light source;
[0008] Determine, from the first candidate mixed lights, a second candidate mixed light matching the target mixed light based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light;
[0009] Based on the current values corresponding to the plurality of monochromatic light sources included in the second candidate mixed light, the current value corresponding to the monochromatic light source used to synthesize the target mixed light is determined.
[0010] In some embodiments, determining a second candidate mixed light matching the target mixed light from the first candidate mixed light based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light includes:
[0011] For any one of the first candidate mixed lights, comparing a value corresponding to an optical parameter of the first candidate mixed light of the same type with the optical parameter requirement information in the optical parameter requirement information;
[0012] Determining evaluation parameters of the first candidate mixed light based on comparison results of various types of optical parameters;
[0013] Based on the evaluation parameters of each of the first candidate mixed lights, a second candidate mixed light matching the target mixed light is selected from the first candidate mixed lights.
[0014] In some embodiments, determining the evaluation parameter of the first candidate mixed light based on the comparison results of various types of optical parameters includes:
[0015] Based on the comparison results of the various types of optical parameters, and using a preset mixed light quality evaluation rule, determining evaluation parameters of the various types of optical parameters of the first candidate mixed light;
[0016] Based on the evaluation parameters of the various types of optical parameters and a preconfigured evaluation function, an evaluation parameter of the first candidate mixed light is determined.
[0017] In some embodiments, determining a second candidate mixed light matching the target mixed light from the first candidate mixed light based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light includes:
[0018] Based on the multiple different monochromatic light sources, performing multiple rounds of screening on the first candidate mixed light, and each round includes multiple screening processes, and the number of screening rounds and the number of screening times are determined according to the number of the multiple different monochromatic light sources and the current value corresponding to each monochromatic light source;
[0019] For any screening process of any round, based on the current values corresponding to the monochromatic light sources in the predetermined combinations of different screening round numbers and screening times, the current values corresponding to the monochromatic light sources in this screening process of this round are determined, and a plurality of third candidate mixed lights are screened out from the first candidate mixed lights;
[0020] Determining a target third candidate mixed light from the plurality of third candidate mixed lights that have been screened;
[0021] For any screening process, the evaluation parameters of the target third candidate mixed light screened out this time are compared with the evaluation parameters of the target third candidate mixed light screened out last time. If the evaluation parameters of the target third candidate mixed light screened out this time are higher than the evaluation parameters of the target third candidate mixed light screened out last time, the next screening process is continued until the evaluation parameters of the target third candidate mixed light screened out at any time are lower than the evaluation parameters of the corresponding target third candidate mixed light screened out last time, then the next screening process is stopped, the third candidate mixed light screened out last time is determined as the fourth candidate mixed light, and the next round of screening process is performed;
[0022] At the end of any round of screening process, the evaluation parameters of the fourth alternative mixed light in this round are compared with the evaluation parameters of the fourth alternative mixed light in the previous round. If the evaluation parameters of the fourth alternative mixed light screened out in this round are higher than the evaluation parameters of the fourth alternative mixed light screened out in the previous round, the next round of screening process will continue to be executed until the evaluation parameters of the fourth alternative mixed light screened out in any round are lower than the corresponding evaluation parameters of the fourth alternative mixed light screened out in the previous round, then the next round of screening process will be stopped, and the fourth alternative mixed light screened out in the previous round will be determined as the second alternative mixed light matching the target mixed light.
[0023] In some embodiments, the current value corresponding to each monochromatic light source in the combination of different screening rounds and screening times is determined in the following manner:
[0024] Based on the number of each monochromatic light source, respectively determine the number of the first light source, the second light source and the third light source in each monochromatic light source;
[0025] Based on the current values corresponding to the first light source, the second light source, and the third light source, sort the current values corresponding to the first light source, the second light source, and the third light source in order from small to large;
[0026] Establishing a first corresponding relationship between each current value of the second light source after sorting and the number of screening rounds, and establishing a second corresponding relationship between each current value of the third light source after sorting and the number of screening rounds;
[0027] Determine the current value corresponding to each monochromatic light source in combinations of different screening rounds and screening times based on the first corresponding relationship, the second corresponding relationship and the sorted current values of the first light source;
[0028] The current values corresponding to the first light source in the combinations of different screening round numbers and screening times are all the current values corresponding to the first light source.
[0029] In some embodiments, determining a target third candidate mixed light from the plurality of third candidate mixed lights selected includes:
[0030] For any one of the third candidate mixed lights, comparing a value corresponding to an optical parameter of the third candidate mixed light of the same type with the optical parameter requirement information in the optical parameter requirement information;
[0031] Determining evaluation parameters of each third candidate mixed light based on comparison results of various types of optical parameters;
[0032] The target third candidate mixed light is determined from the third candidate mixed lights based on the evaluation parameters of the third candidate mixed lights.
[0033] In some embodiments, the preset mixed light quality evaluation rule includes:
[0034] If the value corresponding to any type of optical parameter in any mixed light meets the required value of the optical parameter of the same type in the optical parameter requirement information, then determine the evaluation parameter of the type of optical parameter to be the first evaluation value, otherwise, to be the second evaluation value; or
[0035] If the value corresponding to any type of optical parameter in any mixed light is within the required range of the optical parameter of the same type in the optical parameter requirement information, then determining the evaluation parameter of the optical parameter of the type to be the first evaluation value, otherwise to be the second evaluation value; or
[0036] For any type of optical parameter in any mixed light, determine the difference between the value corresponding to the type of optical parameter and the required value of the corresponding type of optical parameter in the optical parameter requirement information as the evaluation parameter of the type of optical parameter;
[0037] Among them, the first evaluation value is higher than the second evaluation value.
[0038] In some embodiments, the optical parameters of the first candidate mixed light are determined by:
[0039] determining a plurality of monochromatic light sources for synthesizing a target mixed light;
[0040] Based on the current interval length and the operating current range of each monochromatic light source, determining the spectrum of each monochromatic light source under each current parameter, wherein each current parameter is obtained by dividing the operating current range using the current interval length as a division unit;
[0041] Determine each first candidate mixed light spectrum based on the spectrum of each monochromatic light source under each current parameter;
[0042] Based on each of the first candidate mixed light spectra and a preset optical parameter calculation formula, an optical parameter of each of the first candidate mixed lights is determined.
[0043] In a second aspect, the present application provides a mixed light current determination device, comprising:
[0044] An acquisition module, used for acquiring optical parameters of a plurality of first candidate mixed lights; wherein each of the first candidate mixed lights comprises a plurality of different monochromatic light sources, at least one of the monochromatic light sources included in the different mixed lights has a different current value corresponding to the same color light source, and the current value corresponding to the monochromatic light source is determined based on the current interval length and the operating current range of the monochromatic light source;
[0045] A first determining module, configured to determine, from the first candidate mixed lights, a second candidate mixed light matching the target mixed light based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light;
[0046] The second determining module is used to determine the current value corresponding to the monochromatic light source used to synthesize the target mixed light based on the current values corresponding to the multiple monochromatic light sources included in the second candidate mixed light.
[0047] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any mixed light current determination method provided in the embodiment of the present application.
[0048] In a fourth aspect, another embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to enable a computer to execute any mixed light current determination method provided in the embodiments of the present application.
[0049] In an embodiment of the present application, optical parameters of multiple first alternative mixed lights are obtained; wherein each first alternative mixed light includes multiple different monochromatic light sources, and the current values corresponding to at least one same-color light source included in the monochromatic light sources of the different mixed lights are different, and the current values corresponding to the monochromatic light sources are determined based on the current interval length and the operating current range of the monochromatic light sources, and based on the optical parameters of the first alternative mixed light and the optical parameter requirement information of the target mixed light, a second alternative mixed light matching the target mixed light is determined from the first alternative mixed light; based on the current values corresponding to the multiple monochromatic light sources included in the second alternative mixed light, the current value corresponding to the monochromatic light source used to synthesize the target mixed light is determined, and the currents of each monochromatic light source of the mixed light can be automatically determined, which improves the speed of determining the currents of each monochromatic light source of the mixed light, and saves a lot of manpower and material resources. At the same time, the mixed light obtained by synthesizing each monochromatic light source according to each current has a better effect of the mixed light.
[0050] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings introduced below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 A diagram of an application scenario of a mixed light current determination method provided in an embodiment of the present application;
[0053] Figure 2 A flow chart of a method for determining a current of a mixed light provided in an embodiment of the present application;
[0054] Figure 3 A flow chart of a method for determining optical parameters of a first candidate mixed light provided in an embodiment of the present application;
[0055] Figure 4 A flow chart of a method for determining a second candidate mixed light provided in an embodiment of the present application;
[0056] Figure 5 A flowchart of another method for determining a second candidate mixed light provided in an embodiment of the present application;
[0057] Figure 6 A flow chart of a method for determining the current value corresponding to each monochromatic light source in a combination of different screening round numbers and screening times provided in an embodiment of the present application;
[0058] Figure 7 A flow chart of another method for determining current of mixed light provided in an embodiment of the present application;
[0059] Figure 8 A flow chart of another method for determining current of mixed light provided in an embodiment of the present application;
[0060] Fig. 9 A schematic diagram of a current determination device for mixed light provided in an embodiment of the present application;
[0061] Fig.10 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In the description of the embodiments of the present application, unless otherwise specified, the term "multiple" refers to two or more, and other quantifiers are similar and should be understood. The preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments of the present application and the features therein may be combined with each other if there is no conflict.
[0063] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method can be executed in the order of the method shown in the embodiment or drawings or in parallel during the actual processing process or when the control device is executed.
[0064] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings.
[0065] In order to facilitate the understanding of this application, the technical terms involved in this application are:
[0066] Mixed light: also known as mixed light, refers to the light obtained by mixing two or more visible lights of different frequencies within a certain visible range, which can meet the needs of various usage scenarios for light sources.
[0067] Optical parameters: parameters that describe the light source, such as color rendering index, color temperature, luminous flux, brightness, etc.
[0068] Color rendering index: used to indicate the color rendering of a light source. The color rendering of a light source refers to the degree to which the light source presents the color of the object itself, that is, the degree of color fidelity. It indicates the degree of deviation of the color of an object under the light source from the color of the reference light (sunlight), and can more comprehensively reflect the color characteristics of the light source. Light sources with high color rendering have better color rendering, and the colors seen by the human eye are close to natural colors; light sources with low color rendering have poorer color rendering, and the color deviation seen by the human eye is also larger. The International Commission on Illumination sets the color rendering index of the sun at 100, and the color rendering index of various light sources is different. For example, the color rendering index of high-pressure sodium lamps is 23, and the color rendering index of fluorescent tubes is 60-90. The higher the color rendering index of a light source, the better the color rendering, and vice versa, the lower the color rendering index, the worse the color rendering.
[0069] Color temperature: expressed in absolute temperature K, that is, a standard black body is heated. When the temperature rises to a certain level, the color begins to gradually change in the order of dark red, light red, orange-yellow, white, and blue. When a light source has the same color as the black body, the absolute temperature of the black body at that time is called the color temperature of the light source.
[0070] Luminous flux: The sum of the visible light emitted by a light source per second, or simply the amount of light emitted. Unit: lumen (lm).
[0071] Figure 1 The application scenario diagram of the mixed light current determination method provided in the embodiment of the present application includes multiple monochromatic light sources 100 and a server 200.
[0072] Multiple monochromatic light sources 100 are used to synthesize mixed light. The monochromatic light sources can be Figure 1 The red light source, green light source, and blue light source shown can of course also be other light sources.
[0073] The server 200 obtains optical parameters of multiple candidate mixed lights, such as color rendering index, color temperature, luminous flux, etc., determines a candidate mixed light that matches the target mixed light from the candidate mixed lights according to the optical parameters of the mixed lights and the optical parameter requirement information of the target mixed light, and finally determines a current value corresponding to the monochromatic light source used to synthesize the target mixed light according to the current values corresponding to the multiple monochromatic light sources included in the selected candidate mixed light. The server may be a single server, a server cluster consisting of several servers, or a cloud computing center.
[0074] Specifically, the server may include a processor 210 (Center Processing Unit, CPU), a memory 220, an input device 230 and an output device 240, etc. The input device 230 may include a keyboard, a mouse, a touch screen, etc., and the output device 240 may include a display device, such as a liquid crystal display (Liquid Crystal Display, LCD), a cathode ray tube (CathodeRay Tube, CRT), etc.
[0075] The memory 220 may include a read-only memory (ROM) and a random access memory (RAM), and provides the processor 210 with program instructions and data stored in the memory 220. In the embodiment of the present application, the memory 220 may be used to store the program of any video audit method in the embodiment of the present application.
[0076] The processor 210 calls the program instructions stored in the memory 220, and the processor 210 is used to execute the steps of any mixed light current determination method in the embodiments of the present application according to the obtained program instructions.
[0077] After introducing the application scenarios of the embodiments of the present application, the current determination method of the mixed light proposed in the present application is described below with a specific embodiment. Figure 2 A flow chart of a method for determining current of mixed light provided in an embodiment of the present application, the method comprising the following steps.
[0078] In step 201, optical parameters of a plurality of first alternative mixed lights are obtained, wherein each first alternative mixed light includes a plurality of different monochromatic light sources, and the current values corresponding to at least one same-color light source included in the different mixed lights are different, and the current values corresponding to the monochromatic light sources are determined based on the current interval length and the operating current range of the monochromatic light sources.
[0079] In a specific implementation, the first alternative mixed light is obtained by mixing multiple different monochromatic light sources, such as R, G, and B light sources. To synthesize a mixed light that meets the requirements, it is usually necessary to continuously adjust the current values of each monochromatic light source. Therefore, different mixed lights include monochromatic light sources that have different current values corresponding to at least one light source of the same color. For example, monochromatic light source 1 with current value 1 and monochromatic light source 2 with current value 2 can be used to synthesize mixed light a, monochromatic light source 1 with current value 1 and monochromatic light source 2 with current value 3 can be used to synthesize mixed light b, mixed light a and mixed light b can be the same type of mixed light or different types of mixed light. Since the change of current affects the change of the spectral energy distribution curve, and the change of the spectral energy distribution curve affects the change of optical parameters, different mixed lights synthesized by monochromatic light sources corresponding to different current values also have different optical parameters, including optical parameters such as luminous flux, color temperature, color rendering index, etc.
[0080] In a specific implementation, the optical parameters of the first candidate mixed light can be determined in the following manner: Figure 3 A flow chart of a method for determining optical parameters of a first candidate mixed light provided in an embodiment of the present application, the method comprising the following steps.
[0081] In step 301, a plurality of monochromatic light sources for synthesizing a target mixed light are determined.
[0082] In specific implementation, the types of monochromatic light sources corresponding to each type of mixed light are selected based on the estimation of the monochromatic light specifications. For example, it is known through experiments that the first type of mixed light can be synthesized by monochromatic light source 1, monochromatic light source 2 and monochromatic light source 3, the second type of mixed light can be synthesized by monochromatic light source 3 and monochromatic light source 4, the third type of mixed light can be synthesized by monochromatic light source 5, monochromatic light source 6 and monochromatic light source 7, etc., wherein the category of mixed light can be divided according to the color of the mixed light or according to other characteristics. The correspondence between each type of mixed light and each monochromatic light source can be created after the experiment. In implementation, if the target mixed light is determined to be the first type of mixed light, the multiple monochromatic light sources corresponding to the first type of mixed light (target mixed light) can be determined from the predetermined correspondence between each type of mixed light and each monochromatic light source.
[0083] In step 302, based on the current interval length and the operating current range of each monochromatic light source, the spectrum of each monochromatic light source under each current parameter is determined, and each current parameter is obtained by dividing the operating current range with the current interval length as a division unit.
[0084] In a specific implementation, each monochromatic light source corresponds to a working current range. For example, the working current range of monochromatic light source 1 is 1A to 9A, the working current range of monochromatic light source 2 is 2A to 12A, and the working current range of monochromatic light source 3 is 2A to 14A. According to the working current range of each monochromatic light source, the same or different current interval lengths can be selected to divide the working current range of each monochromatic light source to obtain different current parameters of each monochromatic light source.
[0085] For example, the current interval length of each monochromatic light source is selected to be 2A, and the current of monochromatic light source 1, monochromatic light source 2 and monochromatic light source 3 are divided, then the current parameter set of monochromatic light source 1 is {1A, 3A, 5A, 7A, 9A}, the current parameter set of monochromatic light source 2 is {2A, 4A, 6A, 8A, 10A, 12A}, and the current parameter set of monochromatic light source 3 is {2A, 4A, 6A, 8A, 10A, 12A, 14A}. According to the current parameters of each monochromatic light source, the spectrum of each monochromatic light source under each current parameter is determined. For example, the corresponding spectrum of monochromatic light source 1 under the current parameters of {1A, 3A, 5A, 7A, 9A} is {spectrum 1, spectrum 2, spectrum 3, spectrum 4, spectrum 5}, the corresponding spectra of the monochromatic light source 2 under the current parameters {2A, 4A, 6A, 8A, 10A, 12A} are {spectrum 6, spectrum 7, spectrum 8, spectrum 9, spectrum 10, spectrum 11}, and the corresponding spectra of the monochromatic light source 3 under the current parameters {2A, 4A, 6A, 8A, 10A, 12A, 14A} are {spectrum 12, spectrum 13, spectrum 14, spectrum 15, spectrum 16, spectrum 17, spectrum 18}. It should be noted that the setting of the current interval length can be determined by technical personnel according to actual needs, wherein the larger the current interval, the fewer current parameters corresponding to the monochromatic light source, and the fewer corresponding spectra; the smaller the current interval, the more current parameters corresponding to the monochromatic light source, and the more corresponding spectra.
[0086] In step 303, first candidate mixed light spectra are determined based on the spectrum of each monochromatic light source under each current parameter.
[0087] In a specific implementation, each first alternative mixed light spectrum can be determined based on the spectrum of each monochromatic light source under each current parameter and the weight corresponding to each spectrum, for example, according to a preset calculation formula for the mixed light spectrum, the calculation formula for the mixed light spectrum is, mixed light spectrum = spectrum of monochromatic light source 1 * weight n + spectrum of monochromatic light source 2 * weight p + spectrum of monochromatic light source 3 * weight q, wherein the weights n, p, q can be the comprehensive transmittance coefficients of the lens and the filter to each monochromatic light source.
[0088] Assume that the monochromatic light sources of the synthetic target mixed light are monochromatic light source 1, monochromatic light source 2 and monochromatic light source 3 respectively, and it is known that the corresponding spectrum of monochromatic light source 1 under current parameters {1A, 3A, 5A} is {spectrum 1, spectrum 2, spectrum 3}, the corresponding spectrum of monochromatic light source 2 under current parameters {2A, 4A, 6A} is {spectrum 4, spectrum 5, spectrum 6}, and the corresponding spectrum of monochromatic light source 3 under current parameters {2A, 4A, 6A} is {spectrum 7, spectrum 8, spectrum 9}. It can be seen that the monochromatic light source 1 has a total of 3 current spectra, the monochromatic light source 2 has a total of 3 current spectra, and the monochromatic light source 3 has a total of 3 current spectra. The spectra of the corresponding first alternative mixed lights of the target mixed light are obtained by combining the spectra of each monochromatic light source, totaling 81 types.
[0089] In step 304, the optical parameters of each first candidate mixed light are determined based on the spectrum of each first candidate mixed light and a preset optical parameter calculation formula.
[0090] In a specific implementation, after obtaining the spectrum of each mixed light, the optical parameter of each first candidate mixed light can be calculated according to the spectrum and a preset optical parameter calculation formula.
[0091] In step 202, based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light, a second candidate mixed light matching the target mixed light is determined from the first candidate mixed light.
[0092] Among them, the optical parameter requirement information of the target mixed light is the requirement index or requirement range for each type of optical parameter. For example, the optical parameter requirement information of the target mixed light is that the luminous flux is not less than 5000lm and the color rendering index parameter is not less than 90 and the color temperature parameter range is [5500, 5700].
[0093] When it comes to specific implementation, Figure 4 A flow chart of a method for determining a second candidate mixed light provided in an embodiment of the present application, the method comprising the following steps.
[0094] In step 401, for any first candidate mixed light, the value corresponding to the optical parameter of the first candidate mixed light of the same type is compared with the optical parameter requirement information in the optical parameter requirement information.
[0095] Taking the optical parameters of each type as luminous flux, color rendering index and color temperature, and the optical parameter requirement information of the target mixed light as luminous flux not less than 5000lm, color rendering index parameter not less than 90, and color temperature parameter range [5500, 5700] as an example, assuming that there are three first alternative mixed lights, namely first alternative mixed light 1, first alternative mixed light 2 and first alternative mixed light 3, and the optical parameter information of each type of the first alternative mixed light 1, the first alternative mixed light 2 and the first alternative mixed light 3 is shown in Table 1.
[0096] Table 1
[0097]
[0098]
[0099] It can be seen from Table 1 above that, for the first alternative mixed light 1, the value corresponding to the luminous flux of the first alternative mixed light 1 can be compared with the value corresponding to the luminous flux in the optical parameter requirement information, the value corresponding to the color rendering index of the first alternative mixed light 1 can be compared with the value corresponding to the color rendering index in the optical parameter requirement information, and the value corresponding to the color temperature of the first alternative mixed light 1 can be compared with the range of values corresponding to the color temperature in the optical parameter requirement information. The first alternative mixed light 2 is similar to the first alternative mixed light 3 and will not be repeated here.
[0100] In step 402, based on the comparison results of various types of optical parameters, evaluation parameters of each first candidate mixed light are determined.
[0101] In a specific implementation, based on the comparison results of various types of optical parameters, the evaluation parameters of various types of optical parameters of the first candidate mixed light may be first determined using a preset mixed light quality evaluation rule.
[0102] The preset mixed light quality evaluation rule may include any one or more combinations of the following.
[0103] The first type: if the value corresponding to any type of optical parameter in any mixed light meets the required value of the optical parameter of the same type in the optical parameter requirement information, then the evaluation parameter of the optical parameter of this type is determined to be the first evaluation value, otherwise it is the second evaluation value;
[0104] The second type: if the value corresponding to any type of optical parameter in any mixed light is within the requirement range of the optical parameter of the same type in the optical parameter requirement information, then the evaluation parameter of this type of optical parameter is determined to be the first evaluation value, otherwise it is the second evaluation value; wherein the first evaluation value is higher than the second evaluation value, for example, the first evaluation value is set to 100 and the second evaluation value is set to 0.
[0105] The third type: for any type of optical parameter in any mixed light, the difference between the value corresponding to the optical parameter and the required value of the corresponding type of optical parameter in the optical parameter requirement information is determined as the evaluation parameter of the optical parameter of this type.
[0106] For example, in the above Table 1, after comparing the values corresponding to each type of optical parameter of the first alternative mixed light 1 with the requirement information of the optical parameters in the optical parameter requirement information, it can be known that the comparison results of each type of optical parameters are: the luminous flux of the first alternative mixed light 1 is less than the value of the luminous flux in the requirement information of the optical parameters, the color rendering index of the first alternative mixed light 1 is less than the value of the color rendering index in the requirement information of the optical parameters, and the color temperature of the first alternative mixed light 1 satisfies the parameter range of the color temperature in the requirement information of the optical parameters. According to the preset mixed light quality evaluation rule, if the evaluation rule of the luminous flux is the first type, the evaluation rule of the color temperature is the second type, and the evaluation rule of the color rendering index is the third type, then the evaluation parameters of each type of optical parameter of the first alternative mixed light 1 can be determined as follows: the evaluation parameter of the luminous flux is 0, the evaluation parameter of the color rendering index is negative 1, and the evaluation parameter of the color temperature is 100. Similarly, the evaluation parameters corresponding to each type of optical parameter of the first alternative mixed light 2 and the first alternative mixed light 3 can also be determined in the above manner, as shown in Table 2.
[0107] Table 2
[0108]
[0109] In specific implementation, after determining the evaluation parameters of each type of optical parameter, the evaluation parameters of the first alternative mixed light can be determined according to a preconfigured evaluation function, wherein the preconfigured evaluation function can be set by a technician. For example, the sum of the evaluation parameters of each type of optical parameter is determined as the evaluation parameter of the first alternative mixed light. It can be seen from Table 2 above that the evaluation parameter of the first alternative mixed light 1 is 99, the evaluation parameter of the first alternative mixed light 2 is 200, and the evaluation parameter of the first alternative mixed light 3 is 101.
[0110] In step 403 , based on the evaluation parameters of the first candidate mixed lights, a second candidate mixed light matching the target mixed light is selected from the first candidate mixed lights.
[0111] In a specific implementation, the second candidate mixed light may be a second candidate mixed light that matches the target mixed light by determining the first candidate mixed light having the highest evaluation parameter among the first candidate mixed lights.
[0112] In step 203, based on the current values corresponding to the multiple monochromatic light sources included in the second candidate mixed light, the current value corresponding to the monochromatic light source used to synthesize the target mixed light is determined.
[0113] In specific implementation, after determining the second alternative mixed light, the spectrum of each monochromatic light source that synthesizes the spectrum corresponding to the second alternative mixed light can be determined from the second alternative mixed light, and the current value of the monochromatic light source corresponding to the spectrum can be determined from the spectrum of each monochromatic light source, and the current value corresponding to each monochromatic light source is determined as the current value corresponding to the monochromatic light source used to synthesize the target mixed light.
[0114] During specific implementation, the operating current of each monochromatic light source may also be adjusted according to the current value, so that each monochromatic light source synthesizes the target mixed light according to the corresponding current value.
[0115] The embodiments of the present application can automatically adjust the current of each monochromatic light source of the target mixed light without the need for manual adjustment one by one, thereby improving the speed of determining the current of each monochromatic light source of the mixed light and saving a lot of manpower and material resources. At the same time, the mixed light obtained by synthesizing each monochromatic light source according to its own determined current has a better effect.
[0116] In practical applications, if the spectra of each monochromatic light source under different current parameters of the synthesized target mixed light are large, and the number of monochromatic light sources is also large, then the number of synthesized first candidate mixed lights is large, and the corresponding mixed light spectra and optical parameters of the mixed light are large. The amount of calculation of the evaluation parameters of each candidate mixed light according to the optical parameter requirement information of the target mixed light will be large. Therefore, in order to reduce the amount of calculation and further improve the speed of determining the current of each monochromatic light source of the mixed light, Figure 5 A flowchart of another method for determining a second candidate mixed light provided in an embodiment of the present application, the method comprising the following steps.
[0117] In step 501, multiple rounds of screening are performed on the first candidate mixed light based on multiple different monochromatic light sources, and each round includes multiple screening processes. The number of screening rounds and the number of screening times are determined according to the number of multiple different monochromatic light sources and the current value corresponding to each monochromatic light source.
[0118] In step 502, for any screening process of any round, based on the current values corresponding to each monochromatic light source in the predetermined combinations of different screening round numbers and screening times, the current values corresponding to each monochromatic light source in this round of screening are determined, and multiple third alternative mixed lights are screened out from the first alternative mixed lights.
[0119] In specific implementation, the current value corresponding to each monochromatic light source in the combination of different screening rounds and screening times can be determined by the following method: Figure 6 A flow chart of a method for determining current values corresponding to each monochromatic light source in combinations of different screening round numbers and screening times provided in an embodiment of the present application, the method comprising the following steps.
[0120] In step 601 , based on the number of each monochromatic light source, the number of the first light source, the second light source and the third light source in each monochromatic light source is determined respectively.
[0121] Among them, the number of first light sources is 1, the number of third light sources is 1, and the number of second light sources is the difference between the number of each monochromatic light source and the number of the first light source and the number of the third light source. For example, when the number of each monochromatic light source is 2, the number of first light sources is 1, the number of third light sources is 1, and the number of second light sources is 0; when the number of each monochromatic light source is 3, the number of first light sources is 1, the number of third light sources is 1, and the number of second light sources is 1, and so on.
[0122] In step 602, based on the current values corresponding to the first light source, the second light source and the third light source, the current values corresponding to the first light source, the second light source and the third light source are sorted in order from small to large.
[0123] In a specific implementation, after determining the number of the first light source, the second light source and the third light source in each monochromatic light source, the current values corresponding to the first light source, the second light source and the third light source may be sorted in ascending order.
[0124] For example, taking the example that the number of the first light source, the second light source and the third light source are all 1, and the current values of the first light source are {1A, 3A, 5A, 7A, 9A}, the current values of the second light source are {2A, 4A, 6A, 8A, 10A}, and the current values of the third light source are {3A, 5A, 7A, 9A, 11A}, then the current values corresponding to the first light source, the second light source and the third light source are sorted in order from small to large, and the sorting results shown in Table 3 can be obtained.
[0125] Table 3
[0126]
[0127]
[0128] In step 603, a first corresponding relationship between each current value of the second light source after sorting and the number of screening rounds is established, and a second corresponding relationship between each current value of the third light source after sorting and the number of screening rounds is established.
[0129] In specific implementation, the ranking of each current value after sorting of the second light source can be corresponded one by one to the number of screening rounds, as shown in Table 3 above, 2A, which has the first current value ranking among the second light sources, corresponds to the first screening round, 4A, which has the second current value ranking among the second light sources, corresponds to the second screening round, and so on, to establish a first corresponding relationship, and the obtained first corresponding relationship is shown in Table 4.
[0130] Table 4
[0131] Second light source Number of screening rounds 2A First round 4A Round 2 6A Round 3 8A Round 4 10A Fifth round
[0132] In specific implementation, the ranking of each current value after sorting of the third light source can be corresponded one by one with the number of screening times, as shown in Table 3 above, 3A, which has the first current value ranking among the third light source, corresponds to the first number of screening times, 5A, which has the second current value ranking among the third light source, corresponds to the second number of screening rounds, and so on, to establish a second corresponding relationship, and the obtained second corresponding relationship is shown in Table 5.
[0133] Table 5
[0134] The third light source Screening times 3A first 5A Second time 7A The third time 9A Fourth 11A Fifth
[0135] In step 604, based on the first correspondence, the second correspondence and the sorted current values of the first light source, the current values corresponding to each monochromatic light source in the combinations of different screening rounds and screening times are determined, wherein the current value corresponding to the first light source in the combinations of different screening rounds and screening times is all the current values corresponding to the first light source.
[0136] In specific implementation, each round includes multiple screening processes, and different rounds and different times have different combinations. For example, if the number of second light sources is 1 and the current value of the second light source is 2, then the number of screening rounds is 2. If the current value of the third light source is 5, then it can be determined that the number of screening times in each round is 5. Therefore, there are a total of 10 screening combinations. If the number of second light sources is 2 and the current value of each second light source is 2, then the number of screening rounds is 4. If the current value of the third light source is 5, then it can be determined that the number of screening times in each round is 5. Therefore, there are a total of 20 screening combinations.
[0137] In specific implementation, taking the case where the number of the first light source, the second light source and the third light source are 1 respectively, and the current value of the first light source is sorted as {1A, 2A, 3A}, the current value of the second light source is {2A, 4A}, the current value of the third light source is {3A, 5A, 7A}, the first corresponding relationship is 2A corresponding to the first round, 4A corresponding to the second round, the second corresponding relationship is 3A corresponding to the first time, 5A corresponding to the second time, and 7A corresponding to the third time as an example, the combinations of different screening rounds and screening times are the first time of the first round, the second time of the first round, the third time of the first round, the first time of the second round, the second time of the second round and the third time of the second round. The current values corresponding to the first light source in the combinations of different screening rounds and screening times are all the current values corresponding to the first light source. Therefore, the current values corresponding to each monochromatic light source in the determined combinations of different screening rounds and screening times are as shown in Table 6.
[0138] Table 6
[0139]
[0140]
[0141] Assuming that as shown in Table 6 above, if the current screening round number is the first round and the current screening number is the second time, it can be determined that the current value corresponding to the first light source in the current screening process is 1A, 2A, 3A, the current value corresponding to the second light source is 2A, and the current value corresponding to the third light source is 3A. Then, multiple third alternative mixed lights can be screened out from the first alternative mixed light, wherein the current value corresponding to the first light source in each third alternative mixed light is any one of 1A, 2A, and 3A, the current value corresponding to the second light source is 2A, and the current value corresponding to the third light source is 3A.
[0142] In step 503, a target third candidate mixed light is determined from the screened plurality of third candidate mixed lights.
[0143] During specific implementation, for any third alternative mixed light, the values corresponding to the optical parameters of the same type of third alternative mixed light are compared with the requirement information of the optical parameters in the optical parameter requirement information, and based on the comparison results of each type of optical parameters, the evaluation parameters of each third alternative mixed light are determined; based on the evaluation parameters of each third alternative mixed light, the target third alternative mixed light is determined from the third alternative mixed lights.
[0144] In specific implementation, the screened third candidate mixed lights may be sorted in ascending order according to the current value of the first light source. For example, the screening results are shown in Table 7.
[0145] Table 7
[0146] The third alternative mixed light First light source Second light source The third light source Third alternative mixed light 1 1A 2A 3A Third alternative mixed light 2 2A 2A 3A Third alternative mixed light 3 3A 2A 3A
[0147] As shown in Table 7 above, the evaluation parameters of each third alternative mixed light can be calculated in sequence. When the evaluation parameters of any third alternative mixed light are calculated, the evaluation parameters of the current third alternative mixed light are compared with the evaluation parameters of the previous third alternative mixed light. If the evaluation parameters of the current third alternative mixed light are higher than the evaluation parameters of the previous third alternative mixed light, the calculation continues. If the evaluation parameters of the current third alternative mixed light are lower than the evaluation parameters of the previous third alternative mixed light, the calculation of the evaluation parameters of the remaining third alternative mixed lights is stopped. This can also reduce the amount of calculation to a certain extent.
[0148] In step 504, for any screening process, the evaluation parameters of the target third alternative mixed light screened out this time are compared with the evaluation parameters of the target third alternative mixed light screened out last time. If the evaluation parameters of the target third alternative mixed light screened out this time are higher than the evaluation parameters of the target third alternative mixed light screened out last time, the next screening process will continue until the evaluation parameters of the target third alternative mixed light screened out at any time are lower than the corresponding evaluation parameters of the target third alternative mixed light screened out last time, then the next screening process will be stopped, the third alternative mixed light screened out last time will be determined as the fourth alternative mixed light, and the next round of screening process will be executed.
[0149] In specific implementation, for example, the number of screenings in the first round is 5 times, the evaluation parameter of the target third alternative mixed light screened out in the first screening is 200, and the evaluation parameter of the target third alternative mixed light screened out in the second screening is 201, and it can be determined that 201 is greater than 200, so the next screening process is continued, and the evaluation parameter of the target third alternative mixed light screened out for the third time is observed. If the evaluation parameter of the target third alternative mixed light screened out for the third time is 202, the next screening process is continued. If the evaluation parameter of the target third alternative mixed light screened out for the third time is 200, the change trend of the evaluation parameter is gradually decreasing, and therefore there is no need to continue the next screening process, and the target third alternative mixed light screened out for the second time is determined as the fourth alternative mixed light, and the next round of screening process is executed.
[0150] In step 505, when any round of screening process ends, the evaluation parameters of the fourth candidate mixed light in this round are compared with the evaluation parameters of the fourth candidate mixed light in the previous round. If the evaluation parameters of the fourth candidate mixed light screened out in this round are higher than the evaluation parameters of the fourth candidate mixed light screened out in the previous round, the next round of screening process will continue to be executed until the evaluation parameters of the fourth candidate mixed light screened out in any round are lower than the corresponding evaluation parameters of the fourth candidate mixed light screened out in the previous round, then the next round of screening process will be stopped, and the fourth candidate mixed light screened out in the previous round will be determined as the second candidate mixed light matching the target mixed light.
[0151] In specific implementation, if the evaluation parameter of the fourth alternative mixed light screened out in this round is higher than the evaluation parameter of the fourth alternative mixed light screened out in the previous round, it means that the second alternative mixed light that best matches the target mixed light has not been found, and the next round of screening process will continue to be executed; if the evaluation parameter of the fourth alternative mixed light screened out in any round is lower than the evaluation parameter of the corresponding fourth alternative mixed light screened out in the previous round, it means that the fourth alternative mixed light in this round has deviated from the requirement of the target mixed light, and the next round of screening process will be stopped, and the fourth alternative mixed light screened out in the previous round will be determined as the second alternative mixed light that matches the target mixed light.
[0152] In this way, there is no need to calculate the evaluation parameters of all the first candidate mixed lights. The trend changes of the evaluation parameters of the screened mixed lights are observed during each screening. When the trend of change increases, the calculation is continued, and when the trend of change decreases, the calculation is stopped. In each round of screening, the trend changes of the evaluation parameters of the screened mixed lights are observed. When the trend of change increases, the calculation is continued, and when the trend of change decreases, the calculation is stopped. In this way, the second candidate mixed light that matches the target mixed light can be quickly screened out, the amount of calculation is reduced, and the speed of determining the current of each monochromatic light source of the mixed light is further improved.
[0153] Figure 7 A flow chart of another method for determining current of mixed light provided in an embodiment of the present application, the method comprising the following steps.
[0154] In step 701, a plurality of monochromatic light sources for synthesizing a target mixed light are determined.
[0155] In step 702, based on the current interval length and the operating current range of each monochromatic light source, the spectrum of each monochromatic light source under each current parameter is determined, and each current parameter is obtained by dividing the operating current range with the current interval length as a division unit.
[0156] In step 703, first candidate mixed light spectra are determined based on the spectrum of each monochromatic light source under each current parameter.
[0157] In step 704, the optical parameters of each first candidate mixed light are determined based on the spectrum of each first candidate mixed light and a preset optical parameter calculation formula.
[0158] In step 705, for any first candidate mixed light, the value corresponding to the optical parameter of the first candidate mixed light of the same type is compared with the optical parameter requirement information in the optical parameter requirement information.
[0159] In step 706 , based on the comparison results of the various types of optical parameters, evaluation parameters of each first candidate mixed light are determined.
[0160] In step 707 , based on the evaluation parameters of the first candidate mixed lights, a second candidate mixed light matching the target mixed light is selected from the first candidate mixed lights.
[0161] In step 708, based on the current values corresponding to the multiple monochromatic light sources included in the second candidate mixed light, the current value corresponding to the monochromatic light source used to synthesize the target mixed light is determined.
[0162] Figure 8 A flow chart of another method for determining current of mixed light provided in an embodiment of the present application, the method comprising the following steps.
[0163] In step 801, a plurality of monochromatic light sources for synthesizing a target mixed light are determined.
[0164] In step 802, based on the current interval length and the operating current range of each monochromatic light source, the spectrum of each monochromatic light source under each current parameter is determined, and each current parameter is obtained by dividing the operating current range with the current interval length as a division unit.
[0165] In step 803, first candidate mixed light spectra are determined based on the spectrum of each monochromatic light source under each current parameter.
[0166] In step 804, the optical parameters of each first candidate mixed light are determined based on the spectrum of each first candidate mixed light and a preset optical parameter calculation formula.
[0167] In step 805, multiple rounds of screening are performed on the first candidate mixed light based on multiple different monochromatic light sources, and each round includes multiple screening processes. The number of screening rounds and the number of screening times are determined according to the number of multiple different monochromatic light sources and the current value corresponding to each monochromatic light source.
[0168] In step 806, based on the current values corresponding to each monochromatic light source in the predetermined combinations of different screening rounds and screening times, the current values corresponding to each monochromatic light source in this round of screening are determined, and multiple third alternative mixed lights are screened out from the first alternative mixed lights.
[0169] In step 807 , a target third candidate mixed light is determined from the screened plurality of third candidate mixed lights.
[0170] In step 808 , for any screening process, the evaluation parameters of the target third candidate mixed light screened this time are compared with the evaluation parameters of the target third candidate mixed light screened last time.
[0171] In step 809 , it is determined whether the evaluation parameter of the target third candidate mixed light screened this time is higher than the evaluation parameter of the target third candidate mixed light screened last time. If so, the process proceeds to step 806 ; if not, the process proceeds to step 810 .
[0172] In step 810, the next screening process is stopped, and the third candidate mixed light screened last time is determined as the fourth candidate mixed light.
[0173] In step 811, for any round of screening process, the evaluation parameters of the fourth candidate mixed light in this round are compared with the evaluation parameters of the fourth candidate mixed light in the previous round.
[0174] In step 812 , it is determined whether the evaluation parameter of the fourth candidate mixed light screened in this round is higher than the evaluation parameter of the fourth candidate mixed light screened in the previous round. If so, the process proceeds to step 806 to execute the next round of screening process. If not, the process proceeds to step 813 .
[0175] In step 813, the next round of screening process is stopped, and the fourth candidate mixed light screened in the previous round is determined as the second candidate mixed light matching the target mixed light.
[0176] Based on the same technical concept, an embodiment of the present application also provides a current determination device for mixed light. The principle of solving the problem by the current determination device for mixed light is similar to that of the above-mentioned current determination method for mixed light. Therefore, the implementation of the current determination device for mixed light can refer to the implementation of the current determination method for mixed light, and the repeated parts will not be repeated.
[0177] Fig. 9 A schematic structural diagram of a mixed light current determination device provided in an embodiment of the present application includes an acquisition module 901 , a first determination module 902 , and a second determination module 903 .
[0178] An acquisition module 901 is used to acquire optical parameters of a plurality of first candidate mixed lights; wherein each of the first candidate mixed lights includes a plurality of different monochromatic light sources, and at least one monochromatic light source of the same color included in the different mixed lights has a different current value corresponding to it, and the current value corresponding to the monochromatic light source is determined based on the current interval length and the operating current range of the monochromatic light source;
[0179] A first determining module 902 is configured to determine, from the first candidate mixed lights, a second candidate mixed light matching the target mixed light based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light;
[0180] The second determining module 903 is used to determine the current value corresponding to the monochromatic light source used to synthesize the target mixed light based on the current values corresponding to the multiple monochromatic light sources included in the second candidate mixed light.
[0181] In some embodiments, the first determining module 902 is specifically configured to:
[0182] For any one of the first candidate mixed lights, comparing a value corresponding to an optical parameter of the first candidate mixed light of the same type with the optical parameter requirement information in the optical parameter requirement information;
[0183] Determining evaluation parameters of the first candidate mixed light based on comparison results of various types of optical parameters;
[0184] Based on the evaluation parameters of each of the first candidate mixed lights, a second candidate mixed light matching the target mixed light is selected from the first candidate mixed lights.
[0185] In some embodiments, the first determining module 902 is specifically configured to:
[0186] Based on the comparison results of the various types of optical parameters, and using a preset mixed light quality evaluation rule, determining evaluation parameters of the various types of optical parameters of the first candidate mixed light;
[0187] Based on the evaluation parameters of the various types of optical parameters and a preconfigured evaluation function, an evaluation parameter of the first candidate mixed light is determined.
[0188] In some embodiments, the first determining module 902 is specifically configured to:
[0189] Based on the multiple different monochromatic light sources, performing multiple rounds of screening on the first candidate mixed light, and each round includes multiple screening processes, and the number of screening rounds and the number of screening times are determined according to the number of the multiple different monochromatic light sources and the current value corresponding to each monochromatic light source;
[0190] For any screening process of any round, based on the current values corresponding to the monochromatic light sources in the predetermined combinations of different screening round numbers and screening times, the current values corresponding to the monochromatic light sources in this screening process of this round are determined, and a plurality of third candidate mixed lights are screened out from the first candidate mixed lights;
[0191] Determining a target third candidate mixed light from the plurality of third candidate mixed lights that have been screened;
[0192] For any screening process, the evaluation parameters of the target third candidate mixed light screened out this time are compared with the evaluation parameters of the target third candidate mixed light screened out last time. If the evaluation parameters of the target third candidate mixed light screened out this time are higher than the evaluation parameters of the target third candidate mixed light screened out last time, the next screening process is continued until the evaluation parameters of the target third candidate mixed light screened out at any time are lower than the evaluation parameters of the corresponding target third candidate mixed light screened out last time, then the next screening process is stopped, the third candidate mixed light screened out last time is determined as the fourth candidate mixed light, and the next round of screening process is performed;
[0193] At the end of any round of screening process, the evaluation parameters of the fourth alternative mixed light in this round are compared with the evaluation parameters of the fourth alternative mixed light in the previous round. If the evaluation parameters of the fourth alternative mixed light screened out in this round are higher than the evaluation parameters of the fourth alternative mixed light screened out in the previous round, the next round of screening process will continue to be executed until the evaluation parameters of the fourth alternative mixed light screened out in any round are lower than the corresponding evaluation parameters of the fourth alternative mixed light screened out in the previous round, then the next round of screening process will be stopped, and the fourth alternative mixed light screened out in the previous round will be determined as the second alternative mixed light matching the target mixed light.
[0194] In some embodiments, the current value corresponding to each monochromatic light source in the combination of different screening rounds and screening times is determined by the following method:
[0195] Based on the number of each monochromatic light source, respectively determine the number of the first light source, the second light source and the third light source in each monochromatic light source;
[0196] Based on the current values corresponding to the first light source, the second light source, and the third light source, sort the current values corresponding to the first light source, the second light source, and the third light source in order from small to large;
[0197] Establishing a first corresponding relationship between each current value of the second light source after sorting and the number of screening rounds, and establishing a second corresponding relationship between each current value of the third light source after sorting and the number of screening rounds;
[0198] Determine the current value corresponding to each monochromatic light source in combinations of different screening rounds and screening times based on the first corresponding relationship, the second corresponding relationship and the sorted current values of the first light source;
[0199] The current values corresponding to the first light source in the combinations of different screening round numbers and screening times are all the current values corresponding to the first light source.
[0200] In some embodiments, the first determining module 902 is specifically configured to:
[0201] For any one of the third candidate mixed lights, comparing a value corresponding to an optical parameter of the third candidate mixed light of the same type with the optical parameter requirement information in the optical parameter requirement information;
[0202] Determining evaluation parameters of each third candidate mixed light based on comparison results of various types of optical parameters;
[0203] The target third candidate mixed light is determined from the third candidate mixed lights based on the evaluation parameters of the third candidate mixed lights.
[0204] In some embodiments, the preset mixed light quality evaluation rule includes:
[0205] If the value corresponding to any type of optical parameter in any mixed light meets the required value of the optical parameter of the same type in the optical parameter requirement information, then determine the evaluation parameter of the type of optical parameter to be the first evaluation value, otherwise, to be the second evaluation value; or
[0206] If the value corresponding to any type of optical parameter in any mixed light is within the required range of the optical parameter of the same type in the optical parameter requirement information, then determining the evaluation parameter of the optical parameter of the type to be the first evaluation value, otherwise to be the second evaluation value; or
[0207] For any type of optical parameter in any mixed light, determine the difference between the value corresponding to the type of optical parameter and the required value of the corresponding type of optical parameter in the optical parameter requirement information as the evaluation parameter of the type of optical parameter;
[0208] Among them, the first evaluation value is higher than the second evaluation value.
[0209] In some embodiments, the optical parameters of the first candidate mixed light are determined by:
[0210] determining a plurality of monochromatic light sources for synthesizing a target mixed light;
[0211] Based on the current interval length and the operating current range of each monochromatic light source, determining the spectrum of each monochromatic light source under each current parameter, wherein each current parameter is obtained by dividing the operating current range using the current interval length as a division unit;
[0212] Determine each first candidate mixed light spectrum based on the spectrum of each monochromatic light source under each current parameter;
[0213] Based on each of the first candidate mixed light spectra and a preset optical parameter calculation formula, an optical parameter of each of the first candidate mixed lights is determined.
[0214] The division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, the functional modules in the embodiments of the present application may be integrated in a processor, or may exist physically separately, or two or more modules may be integrated in one module. The coupling between the modules may be achieved through some interfaces, which are usually electrical communication interfaces, but it is not excluded that they may be mechanical interfaces or other forms of interfaces. Therefore, the modules described as separate components may or may not be physically separated, and may be located in one place or distributed to different locations of the same or different devices. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0215] After introducing the mixed light current determination method and device according to the exemplary embodiment of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.
[0216] Refer to the following Fig.10 The electronic device 130 implemented according to this embodiment of the present application is described. Fig.10 The electronic device 130 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0217] like Fig.10 As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).
[0218] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
[0219] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .
[0220] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0221] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0222] In an exemplary embodiment, a storage medium is also provided, and when a computer program in the storage medium is executed by a processor of an electronic device, the electronic device can perform the above-mentioned mixed light current determination method. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0223] In an exemplary embodiment, the electronic device of the present application may include at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor may execute the steps of any mixed light current determination method provided in the embodiments of the present application.
[0224] In an exemplary embodiment, a computer program product is also provided. When the computer program product is executed by an electronic device, the electronic device can implement any exemplary method provided in the present application.
[0225] Furthermore, the computer program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0226] The program product for triage in the embodiment of the present application may adopt a CD-ROM and include program code, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0227] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0228] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, radio frequency (RF), etc., or any suitable combination of the above.
[0229] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network such as a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0230] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0231] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0232] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0233] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatus (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0234] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0235] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0236] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0237] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for determining the current of a mixed light, characterized in that: The method comprises: Obtaining optical parameters of a plurality of first candidate mixed lights; wherein each of the first candidate mixed lights comprises a plurality of different monochromatic light sources, at least one of the monochromatic light sources included in the different mixed lights has a different current value corresponding to the same color light source, and the current value corresponding to the monochromatic light source is determined based on the current interval length and the operating current range of the monochromatic light source; Determine, from the first candidate mixed lights, a second candidate mixed light matching the target mixed light based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light; Based on the current values corresponding to the plurality of monochromatic light sources included in the second candidate mixed light, the current value corresponding to the monochromatic light source used to synthesize the target mixed light is determined.
2. The method according to claim 1, characterized in that The determining, from the first candidate mixed light, a second candidate mixed light matching the target mixed light based on the optical parameter of the first candidate mixed light and the optical parameter requirement information of the target mixed light, comprises: For any one of the first candidate mixed lights, comparing a value corresponding to an optical parameter of the first candidate mixed light of the same type with the optical parameter requirement information in the optical parameter requirement information; Determining evaluation parameters of the first candidate mixed light based on comparison results of various types of optical parameters; Based on the evaluation parameters of each of the first candidate mixed lights, a second candidate mixed light matching the target mixed light is selected from the first candidate mixed lights.
3. The method according to claim 2, characterized in that The step of determining the evaluation parameter of the first candidate mixed light based on the comparison results of the various types of optical parameters includes: Based on the comparison results of the various types of optical parameters, and using a preset mixed light quality evaluation rule, determining evaluation parameters of the various types of optical parameters of the first candidate mixed light; Based on the evaluation parameters of the various types of optical parameters and a preconfigured evaluation function, an evaluation parameter of the first candidate mixed light is determined.
4. The method according to claim 1, characterized in that: The determining, from the first candidate mixed light, a second candidate mixed light matching the target mixed light based on the optical parameter of the first candidate mixed light and the optical parameter requirement information of the target mixed light, comprises: Based on the multiple different monochromatic light sources, performing multiple rounds of screening on the first candidate mixed light, and each round includes multiple screening processes, and the number of screening rounds and the number of screening times are determined according to the number of the multiple different monochromatic light sources and the current value corresponding to each monochromatic light source; For any screening process of any round, based on the current values corresponding to the monochromatic light sources in the predetermined combinations of different screening round numbers and screening times, the current values corresponding to the monochromatic light sources in this screening process of this round are determined, and a plurality of third candidate mixed lights are screened out from the first candidate mixed lights; Determining a target third candidate mixed light from the plurality of third candidate mixed lights that have been screened; For any screening process, the evaluation parameters of the target third candidate mixed light screened out this time are compared with the evaluation parameters of the target third candidate mixed light screened out last time. If the evaluation parameters of the target third candidate mixed light screened out this time are higher than the evaluation parameters of the target third candidate mixed light screened out last time, the next screening process is continued until the evaluation parameters of the target third candidate mixed light screened out at any time are lower than the evaluation parameters of the corresponding target third candidate mixed light screened out last time, then the next screening process is stopped, the third candidate mixed light screened out last time is determined as the fourth candidate mixed light, and the next round of screening process is performed; At the end of any round of screening process, the evaluation parameters of the fourth alternative mixed light in this round are compared with the evaluation parameters of the fourth alternative mixed light in the previous round. If the evaluation parameters of the fourth alternative mixed light screened out in this round are higher than the evaluation parameters of the fourth alternative mixed light screened out in the previous round, the next round of screening process will continue to be executed until the evaluation parameters of the fourth alternative mixed light screened out in any round are lower than the corresponding evaluation parameters of the fourth alternative mixed light screened out in the previous round, then the next round of screening process will be stopped, and the fourth alternative mixed light screened out in the previous round will be determined as the second alternative mixed light matching the target mixed light.
5. The method according to claim 4, characterized in that The current value corresponding to each monochromatic light source in the combination of different screening rounds and screening times is determined by the following method: Based on the number of each monochromatic light source, respectively determine the number of the first light source, the second light source and the third light source in each monochromatic light source; Based on the current values corresponding to the first light source, the second light source, and the third light source, sort the current values corresponding to the first light source, the second light source, and the third light source in order from small to large; Establishing a first corresponding relationship between each current value of the second light source after sorting and the number of screening rounds, and establishing a second corresponding relationship between each current value of the third light source after sorting and the number of screening rounds; Determine the current value corresponding to each monochromatic light source in combinations of different screening rounds and screening times based on the first corresponding relationship, the second corresponding relationship and the sorted current values of the first light source; The current values corresponding to the first light source in the combinations of different screening round numbers and screening times are all the current values corresponding to the first light source.
6. The method according to claim 4, characterized in that The step of determining a target third candidate mixed light from the plurality of third candidate mixed lights selected includes: For any one of the third candidate mixed lights, comparing a value corresponding to an optical parameter of the third candidate mixed light of the same type with the optical parameter requirement information in the optical parameter requirement information; Determining evaluation parameters of each third candidate mixed light based on comparison results of various types of optical parameters; The target third candidate mixed light is determined from the third candidate mixed lights based on the evaluation parameters of the third candidate mixed lights.
7. The method according to claim 3, characterized in that The preset mixed light quality evaluation rule includes: If the value corresponding to any type of optical parameter in any mixed light meets the required value of the optical parameter of the same type in the optical parameter requirement information, then determine the evaluation parameter of the type of optical parameter to be the first evaluation value, otherwise, to be the second evaluation value; or If the value corresponding to any type of optical parameter in any mixed light is within the required range of the optical parameter of the same type in the optical parameter requirement information, then determining the evaluation parameter of the optical parameter of the type to be the first evaluation value, otherwise to be the second evaluation value; or For any type of optical parameter in any mixed light, determine the difference between the value corresponding to the type of optical parameter and the required value of the corresponding type of optical parameter in the optical parameter requirement information as the evaluation parameter of the type of optical parameter; Among them, the first evaluation value is higher than the second evaluation value.
8. The method according to claim 1, characterized in that The optical parameters of the first candidate mixed light are determined by: determining a plurality of monochromatic light sources for synthesizing a target mixed light; Based on the current interval length and the operating current range of each monochromatic light source, determining the spectrum of each monochromatic light source under each current parameter, wherein each current parameter is obtained by dividing the operating current range using the current interval length as a division unit; Determine each first candidate mixed light spectrum based on the spectrum of each monochromatic light source under each current parameter; Based on each of the first candidate mixed light spectra and a preset optical parameter calculation formula, an optical parameter of each of the first candidate mixed lights is determined.
9. A mixed light current determination device, characterized in that: include: An acquisition module, used for acquiring optical parameters of a plurality of first candidate mixed lights; in Each of the first candidate mixed lights includes a plurality of different monochromatic light sources, and at least one monochromatic light source of the same color included in the different mixed lights has a different current value corresponding to it, and the current value corresponding to the monochromatic light source is determined based on the current interval length and the operating current range of the monochromatic light source; A first determining module, configured to determine, from the first candidate mixed lights, a second candidate mixed light matching the target mixed light based on the optical parameters of the first candidate mixed light and the optical parameter requirement information of the target mixed light; The second determining module is used to determine the current value corresponding to the monochromatic light source used to synthesize the target mixed light based on the current values corresponding to the multiple monochromatic light sources included in the second candidate mixed light.
10. An electronic device, characterized in that: It includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the mixed light current determination method as described in any one of claims 1-8.