Light source control method, apparatus, lighting device, and readable storage medium

By constructing a light mixing equation and superimposing spectral data in lighting equipment, the problem of low light source control efficiency in the existing technology is solved, and fast light source matching and accurate control are achieved.

CN116113098BActive Publication Date: 2025-10-24ジャン州立達信光電子科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210847744.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-19
Publication Date
2025-10-24
Estimated Expiration
2042-07-19

AI Technical Summary

Technical Problem

Existing lighting equipment requires professional equipment and long training time to obtain environmental spectral data, resulting in low light source control efficiency.

Method used

By obtaining the actual radiation intensity of the target lighting environment, constructing a light mixing relationship to determine the proportional coefficient, and superimposing the reference spectral data, the light source is directly controlled to match the target lighting environment.

Benefits of technology

It saves model training time, improves the efficiency and accuracy of light source control, and achieves fast light source matching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116113098B_ABST
    Figure CN116113098B_ABST
Patent Text Reader

Abstract

A light source control method and device, a lighting device and a readable storage medium belong to the technical field of lighting devices. The method comprises: acquiring actual radiation intensities of multiple different visible light bands in a target illumination environment; when a matching data group is not included in multiple data groups, determining multiple target data groups from the multiple data groups; taking multiple reference radiation intensities of the same visible light band as a mixed term and taking a corresponding actual radiation intensity as a mixed result to construct a light mixing relationship; determining an actual value of a proportion coefficient based on multiple light mixing relationship; superimposing reference spectral data in the multiple target data groups according to the actual value of the proportion coefficient to obtain spectral data corresponding to the target illumination environment; and controlling a light source to emit light according to the spectral data. By using the light mixing principle, the target spectral data is obtained by superimposing multiple reference spectral data, and the light source is controlled to emit light according to the spectral data, which can avoid determining the spectral data through a model, thereby saving time cost.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of lighting devices, and particularly relates to a light source control method and device, a lighting device, and a readable storage medium. BACKGROUND

[0002] When controlling the light source to emit light, the lighting device often needs to collect the spectral data in the environment, and control the light source in the lighting device to emit light that meets the user's needs according to the spectral data.

[0003] At present, high-resolution spectral data acquisition requires relatively professional equipment, and most of such equipment cannot be integrated in the lighting device. In order to obtain the spectral data in the environment, the common method is to detect the spectral radiation intensity in the environment through a spectral sensor, input the spectral radiation intensity into a model, and determine the spectral data in the environment according to the spectral radiation intensity by the model. However, the model needs to be trained for a long time before it can accurately detect the spectral data, which requires a lot of time. SUMMARY

[0004] The purpose of the present application is to provide a light source control method, device, lighting device and readable storage medium, aiming at solving the problem that the training of the model in the lighting device requires a lot of time.

[0005] The first aspect of the embodiment of the present application provides a light source control method, comprising:

[0006] Obtaining the actual radiation intensity of a plurality of different visible light bands in a target lighting environment;

[0007] When the pre-stored plurality of data groups do not include a matching data group, determining a plurality of target data groups from the plurality of data groups; each of the data groups includes reference spectral data collected in different lighting environments and reference radiation intensity of the visible light bands collected; the plurality of reference radiation intensities in the matching data group match the plurality of actual radiation intensities;

[0008] Taking the reference radiation intensity of the same visible light band as a mixing term and the corresponding actual radiation intensity as a mixing result, a light mixing relationship is constructed; in a plurality of light mixing relationships, the proportional coefficient of the reference radiation intensity in the same target data group is the same unknown number;

[0009] Based on a plurality of light mixing relationships, the actual value of the proportional coefficient is determined;

[0010] Superimposing the reference spectral data in the plurality of target data groups to obtain target spectral data corresponding to the target lighting environment, and controlling the light source to emit light according to the target spectral data; the superposition coefficient of the reference spectral data is the actual value of the proportional coefficient of the reference radiation intensity in the target data group.

[0011] A second aspect of the embodiment of the present application provides a light source control device, comprising:

[0012] An acquisition module is configured to acquire actual radiation intensities of a plurality of different visible light bands in a target lighting environment;

[0013] A first determination module is configured to determine a plurality of target data groups from a plurality of pre-stored data groups when no matching data group is included in the plurality of data groups; each of the data groups includes reference spectral data collected in different lighting environments and reference radiation intensities of the visible light bands collected in the different lighting environments; the plurality of reference radiation intensities in the matching data group matches the plurality of actual radiation intensities;

[0014] A construction module is configured to construct a light mixing relationship by taking the reference radiation intensity of the same visible light band as a mixing term and taking the corresponding actual radiation intensity as a mixing result; in the plurality of light mixing relationships, the proportional coefficient of the reference radiation intensity in the same target data group is the same unknown number;

[0015] A second determination module is configured to determine actual values of the proportional coefficients based on the plurality of light mixing relationships;

[0016] A control module is configured to superimpose the reference spectral data in the plurality of target data groups to obtain target spectral data corresponding to the target lighting environment, and control a light source to emit light according to the target spectral data; a superimposition coefficient of the reference spectral data is an actual value of the proportional coefficient of the reference radiation intensity in the target data group.

[0017] A third aspect of the embodiment of the present application provides a lighting device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.

[0018] A fourth aspect of the embodiment of the present application provides a readable storage medium, and the readable storage medium stores a computer program, and the computer program is executable on a processor to implement the steps of the method according to the first aspect.

[0019] Compared with the prior art, the embodiment of the present application has the beneficial effects that: the actual radiation intensities of multiple different visible light bands in the target lighting environment are obtained, when a matching data group is not included in the multiple pre-stored data groups, multiple target data groups are determined from the multiple data groups, multiple reference radiation intensities of the same visible light band are taken as mixed terms, and the corresponding actual radiation intensities are taken as mixed results, a light mixing relationship is constructed, the actual value of the proportion coefficient is determined based on the multiple light mixing relationships, the reference spectral data in the multiple target data groups are superimposed to obtain target spectral data corresponding to the target lighting environment, and the light source is controlled to emit light according to the target spectral data. By using the light mixing principle, the proportion coefficient of each reference spectral data is determined according to the light mixing relationship between the multiple reference radiation intensities and the multiple actual radiation intensities, then the multiple reference spectral data are superimposed according to the proportion coefficient to obtain the target spectral data, and the light source is controlled to emit light according to the target spectral data, which can avoid determining the spectral data through a model, thereby saving time cost. BRIEF DESCRIPTION OF DRAWINGS

[0020] Figure 1 A step flowchart of a light source control method provided by an embodiment of the present application is shown;

[0021] Figure 2 A comparison diagram of measured spectral data and simulated spectral data in an experimental lighting environment provided by an embodiment of the present application is shown;

[0022] Figure 3 A comparison diagram of measured spectral data and simulated spectral data in another experimental lighting environment provided by an embodiment of the present application is shown;

[0023] Figure 4 A comparison diagram of measured spectral data and simulated spectral data in still another experimental lighting environment provided by an embodiment of the present application is shown;

[0024] Figure 5 A structural schematic diagram of a lighting device provided by an embodiment of the present application is shown;

[0025] Figure 6 A structural diagram of a light source control device provided by an embodiment of the present application is shown;

[0026] Figure 7 A schematic diagram of a lighting device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION

[0027] In order to make the technical problems to be solved by the present application, the technical solutions and beneficial effects more clearly understood, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0028] It is to be noted that when an element is referred to as being "fixed" or "set" on another element, it can be directly on the other element or indirectly on the other element, with an intervening element present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or indirectly connected to the other element, with an intervening element present.

[0029] It is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like, specify relative positions or orientations of an apparatus or element as shown in the drawings, and are used only for the purpose of ease of description and illustration and not to indicate or imply that the apparatus or element must have a particular orientation or be constructed and operated in a particular orientation, and therefore should not be construed as limiting the application.

[0030] In addition, the terms "first", "second", "third", etc. are used herein only to describe various instances, and are not used to indicate or imply relative importance or a number of instances. Thus, a feature with a "first", "second", or "third" designation can include one or more of the feature. In the description of the application, the meaning of "a plurality" is two or more, unless otherwise expressly specified

[0031] Figure 1 A step flow chart of a light source control method is shown, which can include the following steps:

[0032] Step 101, acquiring actual radiation intensities of a plurality of different visible light bands in a target lighting environment.

[0033] The visible light includes a wavelength range of 380 nanometers (nm) to 780 nm, and the visible light band is one band in the wavelength range of the visible light, and the plurality of different visible light bands respectively cover a plurality of different regions in the wavelength range of the visible light. For example, when the visible light band is two, the wavelength range of one visible light band is 380 nm to 550 nm, and the wavelength range of the other visible light band is 550 nm to 780 nm; when the visible light band is three, the wavelength range of the first visible light band is 395 nm to 400 nm, the wavelength range of the second visible light band is 490 nm to 500 nm, and the wavelength range of the third visible light band is 560 nm to 760 nm. In order to better collect the radiation intensity of the visible light in the target light environment, the plurality of visible light bands can cover the bands corresponding to the light of each color in the wavelength range of the visible light. The actual radiation intensity is the spectral radiation intensity of the collected visible light band, and the spectral radiation intensity can be collected by a spectral sensor. The actual radiation intensity is the spectral radiation intensity of the visible light band collected by the spectral sensor, and the spectral sensor has a plurality of channels, each channel can collect the actual radiation intensity of one visible light band. Taking a two-channel spectral sensor as an example, the first channel of the spectral sensor collects the spectral radiation intensity of the visible light band of 380 nm to 550 nm, and the second channel collects the spectral radiation intensity of the visible light band of 550 nm to 780 nm.

[0034] Exemplarily, the light source control method can be applied to a lighting device, can be implemented by a processor in the lighting device, the lighting device further comprises a light source and a spectrum sensor, the processor and the light source can be arranged in a housing, the spectrum sensor is separated from the housing of the lighting device, and the spectrum sensor can be arranged outside the housing. The spectrum sensor can be in communication connection with the processor through a communication cable, and the spectrum sensor can send the collected actual radiation intensity to the processor after collecting the actual radiation intensity of different visible light bands. In the use process of the lighting device, the spectrum sensor and the lighting device are installed in different lighting environments, the spectrum sensor is installed in a first lighting environment, and the lighting device is installed in a second lighting environment. The target lighting environment is the first lighting environment, the light source in the first lighting environment is the sun or other lighting devices, and the light source in the second lighting environment is the lighting device. The processor can obtain the actual radiation intensity of different visible light bands in the target lighting environment, determine the target spectrum data corresponding to the target lighting environment according to the actual radiation intensity of different visible light bands, control the light source to emit light according to the target spectrum data, and make the light emitted by the lighting device match the light in the target lighting environment, so that the light in the second lighting environment can match the light in the first lighting environment. For example, the target lighting environment is outdoor, and the second lighting environment where the lighting device is located is indoor, and the lighting device can make the indoor light the same as or similar to the outdoor light. The first lighting environment and the second lighting environment are not limited to indoor and outdoor, and the embodiment does not limit this.

[0035] In an embodiment, the lighting device is a split device, and the spectrum sensor can be mechanically separated from the lighting device, that is, there is no mechanical connection between the first spectrum sensor and the lighting device, and the first spectrum sensor and the processor can be in communication connection in a wireless communication manner. When the first spectrum sensor and the processor are in communication connection in a wireless communication manner, the first spectrum sensor and the lighting device can be conveniently arranged in two different lighting environments.

[0036] Step 102, when the matching data group is not included in the plurality of pre-stored data groups, determining a plurality of target data groups from the plurality of data groups.

[0037] Each data group includes reference spectrum data collected in different lighting environments and reference radiation intensity of different visible light bands collected in the data group; and the plurality of reference radiation intensities in the matching data group match the plurality of actual radiation intensities.

[0038] In this embodiment, for a plurality of different visible light bands collected by the spectral sensor in the lighting device, different light environments can be set in advance, and the color temperature of light in different light environments is different. For each light environment, the spectral data in the light environment can be collected by an integrating sphere or other device, and the spectral radiance intensity of the visible light band can be collected by the spectral sensor. The spectral data is taken as the reference spectral data, and the spectral radiance intensity is taken as the reference radiance intensity. The reference spectral data and the corresponding reference radiance intensity are stored in a data group, and one data group of each lighting environment can be obtained. The lighting device is integrated with a memory, and the memory stores a database, and the database can store data groups of a plurality of different light environments. For example, the spectral sensor in the lighting device has two channels, one channel is used to collect the spectral radiance intensity of the visible light band of 380 nm to 550 nm, and the other channel is used to collect the spectral radiance intensity of the visible light band of 550 nm to 780 nm. When collecting the reference spectral data and the reference radiance intensity, the spectral sensor used also has two channels, one channel is used to collect the spectral radiance intensity of the visible light band of 380 nm to 550 nm, and the other channel is used to collect the spectral radiance intensity of the visible light band of 550 nm to 780 nm.

[0039] As shown in Table 1, each row of data corresponding to the row title "Database" in Table 1 is a data group of a light environment, the data in the column corresponding to the column title "Channel 1" is the reference radiance intensity of the visible light band of 380 nm to 550 nm, the data in the column corresponding to the column title "Channel 2" is the reference radiance intensity of the visible light band of 550 nm to 780 nm, and the data in the column corresponding to the column title "Spectral data" is the reference spectral data. For convenience of description, the data group in the row where the color temperature 2703 is located is taken as the first data group, and the data group in the row where the color temperature 6465 is located is taken as the second data group. In the database shown in Table 1, the color temperature corresponding to the reference spectral data in each data group can also be stored in each data group. The color temperature can be calculated according to the reference spectral intensity. It should be noted that the data in the row corresponding to the row title "Actual value" in Table 1 is not the data in the data group. The data of channel 1 and channel 2 in this row are two actual radiance intensities collected by the first spectral sensor from the target light environment. It should be noted that the storage mode of the plurality of data groups can include but is not limited to the mode shown in Table 1, and the storage mode of the plurality of data groups is not limited in this embodiment.

[0040] Table 1

[0041]

[0042] It should be noted that the physical meaning of matching the plurality of reference radiation intensities and the plurality of actual radiation intensities is that the spectral data corresponding to the plurality of reference radiation intensities is the same or close to the spectral data corresponding to the plurality of actual radiation intensities, that is, the target lighting environment and the lighting environment corresponding to the matching data set are the same or close, and the color temperature of the light in the target lighting environment is the same or close to the color temperature of the light in the lighting environment corresponding to the matching data set. After the lighting device obtains the actual radiation intensity of different visible light bands, it can first search the plurality of data sets in the database to determine whether the plurality of data sets include a matching data set.

[0043] Exemplarily, the data set can be determined as a matching data set when the plurality of actual radiation intensities in the data set and the plurality of reference radiation intensities meet a preset condition. For example, if the luminous flux when the reference spectral data is collected is the same or close to the luminous flux in the target lighting environment, the preset condition can be that when the difference between the sum of the plurality of actual radiation intensities and the sum of the plurality of reference radiation intensities in the data set is not higher than a preset difference, it is determined that the plurality of actual radiation intensities and the plurality of reference radiation intensities in the data set match, and the data set is a matching data set. For another example, if the luminous flux when the reference spectral data is collected is greatly different from the luminous flux in the target lighting environment, the preset condition can be that when the difference between the preset multiple of the sum of the plurality of reference radiation intensities in the data set and the sum of the plurality of actual radiation intensities is not higher than a preset difference, it is determined that the plurality of actual radiation intensities and the plurality of reference radiation intensities in the data set match, and the data set is a matching data set. Taking Table 1 as an example, the preset multiple is 2, for example, and when the difference between 2 times the sum of the two reference radiation intensities in the first data set and the sum of the two actual reference radiation intensities is less than a preset difference, it is determined that the plurality of reference radiation intensities in the first data set and the plurality of actual radiation intensities match, and the first data set is a matching data set. The method for determining whether the plurality of reference radiation intensities and the plurality of actual radiation intensities match can include but is not limited to the above examples.

[0044] In this embodiment, after the lighting device obtains the actual radiation intensity of the plurality of visible light bands collected by the spectral sensor, it can search the database to determine whether a matching data set is included in the database by the above method, and when a matching data set is not included, select a plurality of data sets from the plurality of data sets as target data sets. For example, when the data set includes a color temperature, when it is determined that a matching data set is not included, one data set with the maximum color temperature can be selected from the plurality of data sets as a target data set, and one data set with the minimum color temperature can be selected as a target data set.

[0045] Optionally, the step of determining the target data set from the plurality of data sets can include:

[0046] The target number of data groups is selected from the plurality of data groups as target data groups according to the arrangement order of the plurality of data groups; the reference spectral data in the plurality of data groups correspond to different color temperatures respectively, and the arrangement order is obtained according to the color temperatures corresponding to the plurality of data groups respectively; and the target number is less than or equal to the number of the plurality of visible light bands.

[0047] In an embodiment, the plurality of data groups can be sorted according to the color temperatures corresponding to the reference spectral data in each data group, to obtain the arrangement order of the plurality of data groups. As shown in Table 1, the color temperatures of light in different illumination environments are different, and the color temperatures corresponding to the reference spectral data in each data group can be stored, or can be directly calculated according to the reference spectral data in the data group. When the target data groups are determined, the plurality of data groups can be sorted in the order of color temperature from large to small or from small to large first, to obtain the arrangement order shown in Table 1, and then the target number of data groups can be selected from the plurality of data groups as target data groups according to the arrangement order. The target number can be equal to the number of the visible light bands, that is, equal to the number of channels of the spectral sensor, or can be less than the number of channels of the spectral sensor. The target number is at least two, so as to construct at least two mixed light relationship formulas.

[0048] In combination with Table 1, when the spectral sensor has two channels, one data group with the maximum color temperature can be selected from the plurality of data groups as a target data group, and one data group with the minimum color temperature can be selected from the plurality of data groups as a target data group. Alternatively, two data groups can be randomly selected from the plurality of data groups as target data groups. Alternatively, according to two actual radiation intensities, one data group with a reference radiation intensity greater than the two actual radiation intensities can be selected from the plurality of data groups as a target data group, and one data group with a reference radiation intensity less than the two actual radiation intensities can be selected from the plurality of data groups as a target data group. The method for determining the target data groups from the plurality of data groups can include but is not limited to the above examples.

[0049] In the embodiment of the present application, the plurality of data groups are sorted according to the color temperatures corresponding to the reference spectral data, and the target number of data groups is selected from the plurality of data groups as target data groups according to the arrangement order, so that the reference spectral data in the plurality of target data groups have different color temperatures. Further, when the target spectral data corresponding to the target illumination environment is determined by the reference spectral data in the plurality of target data groups, the reference spectral data with different color temperatures can be used to determine the target spectral data, so that more accurate target spectral data can be obtained.

[0050] In step 103, the reference radiation intensity of the same visible light band is used as a mixed term, and the corresponding actual radiation intensity is used as a mixed result, to construct a mixed light relationship formula.

[0051] In step 104, the actual value of the proportion coefficient is determined based on the plurality of mixed light relationship formulas.

[0052] In the plurality of mixed light relations, the proportional coefficients of the reference radiant intensities in the same target data group are the same unknown number.

[0053] In this embodiment, after the target data groups are determined, the plurality of mixed light relations can be constructed based on the plurality of reference radiant intensities and the plurality of actual radiant intensities in the plurality of target data groups. In combination with the above example, after the first data group and the second data group are selected as the target data groups, for the visible light waveband of 380 nm to 550 nm, the first data group reference radiant intensity 156.1 is taken as a mixing term, the second data group reference radiant intensity 367.1 is taken as a mixing term, and the actual radiant intensity 210.7 is taken as a mixing result to construct a first mixed light relation. Similarly, for the visible light waveband of 550 nm to 780 nm, the first data group reference radiant intensity 490.6 is taken as a mixing term, the second data group reference radiant intensity 309.8 is taken as a mixing term, and the actual radiant intensity 425.1 is taken as a mixing result to construct a second mixed light relation. In the first mixed light relation and the second mixed light relation, the proportional coefficients of the two reference radiant intensities in the first data group can be set as the same unknown number x, and the proportional coefficients of the two reference radiant intensities in the second data group can be set as the same unknown number y, and the first mixed light relation and the second mixed light relation can be obtained as follows:

[0054] 156.1x + 367.1y = 210.7

[0055] 490.6x + 309.8y = 425.1

[0056] After the first mixed light relation and the second mixed light relation are constructed, the actual values of each proportional coefficient can be determined based on the first mixed light relation and the second mixed light relation. As described above, the first mixed light relation and the second mixed light relation are a set of binary linear equations, and solving the binary linear equations can obtain the actual value of the proportional coefficient x and the actual value of the proportional coefficient y.

[0057] The spectral sensor can also be three channels, four channels, or five channels. For example, the spectral sensor is 3 channels, the actual radiant intensity collected by the first channel is the spectral radiant intensity of the visible light waveband of 395 nm to 400 nm, the actual radiant intensity collected by the second channel is the spectral radiant intensity of the visible light waveband of 490 nm to 500 nm, and the actual radiant intensity collected by the third channel is the spectral radiant intensity of the visible light waveband of 560 nm to 670 nm.

[0058] Table 2

[0059]

[0060] As shown in Table 2, Table 2 is a database pre-established for a three-channel spectral sensor in the lighting device, the reference radiation intensity in channel 1 in the data group is in the visible light band of 395nm to 400nm, the reference radiation intensity in channel 2 is in the visible light band of 490nm to 500nm, and the reference radiation intensity in channel 3 is in the visible light band of 560nm to 670nm. When the spectral sensor is three channels, three data groups can be selected as target data groups from the database, for example, the first data group in which the color temperature 2703 is located, the second data group in which the color temperature 6465 is located, and the third data group in which the color temperature 3997 is located are selected as the target data groups. The proportional coefficients of the three reference radiation intensities in the first data group can be set as the same unknown number x, the proportional coefficients of the three reference radiation intensities in the second data group can be set as the same unknown number y, and the proportional coefficients of the three reference radiation intensities in the third data group can be set as the same unknown number z. For the corresponding visible light band of each channel, three mixed light relations can be obtained as shown in the following when the mixed light relations are constructed respectively:

[0061] 0.2x+0.3y+0.9z=0.3

[0062] 10.4x+18.9y+25.4z=15.9

[0063] 22.1x+22.5y+22.7z=22.4

[0064] The above three mixed light relations form a set of three linear equations, and the actual value of each proportional coefficient can be obtained by solving the three linear equations.

[0065] For another example, the spectral sensor is five channels, the actual radiation intensity collected by the first channel is the spectral radiation intensity in the visible light band of 380nm to 460nm, the actual radiation intensity collected by the second channel is the spectral radiation intensity in the visible light band of 460nm to 540nm, the actual radiation intensity collected by the third channel is the spectral radiation intensity in the visible light band of 540nm to 620nm, the actual radiation intensity collected by the fourth channel is the spectral radiation intensity in the visible light band of 620nm to 700nm, and the actual radiation intensity collected by the fifth channel is the spectral radiation intensity in the visible light band of 700nm to 780nm.

[0066] Table 3

[0067]

[0068] Table 3 is a database pre-established for a 5-channel spectral sensor, the data group channel 1 is the reference radiation intensity of the visible light band of 380nm to 460nm, the data group channel 2 is the reference radiation intensity of the visible light band of 460nm to 540nm, the data group channel 3 is the reference radiation intensity of the visible light band of 540nm to 620nm, the data group channel 4 is the reference radiation intensity of the visible light band of 620nm to 700nm, and the data group channel 5 is the reference radiation intensity of the visible light band of 700nm to 780nm. When the spectral sensor is a 5-channel spectral sensor, five data groups can be selected from the database as target data groups, for example, the first data group where the color temperature is 2703, the second data group where the color temperature is 6465, the third data group where the color temperature is 3500, the fourth data group where the color temperature is 3997, and the fifth data group where the color temperature is 6465 are selected as target data groups. The proportional coefficients of the three reference radiation intensities in the first data group can be set as the same unknown number x, the proportional coefficients of the three reference radiation intensities in the second data group can be set as the same unknown number y, the proportional coefficients of the three reference radiation intensities in the third data group can be set as the same unknown number z, the proportional coefficients of the three reference radiation intensities in the fourth data group can be set as the same unknown number w, and the proportional coefficients of the three reference radiation intensities in the fifth data group can be set as the same unknown number v. For the visible light band corresponding to each channel, when the mixed light relationship is constructed, the following five mixed light relationship formulas can be obtained:

[0069] 36.2x+61.8y+59.2z+106.9w+138.3v=51.3

[0070] 97.5x+135y+155.0z+176.1w+201.9v=135.2

[0071] 208.3x+198.7y+194z+187.6w+180.5v=199.0

[0072] 251.2x+206.1y+181.2z+157.3w+126.8v=205.3

[0073] 51.4x+42.8y+38.4z+33.1w+27v=42.8

[0074] The above five mixed light relationship formulas form a set of five linear equations, and the actual value of each proportional coefficient can be obtained by solving the five linear equations.

[0075] It should be noted that when selecting the target data groups, the number of target data groups is not less than 2, so as to construct not less than 2 mixed light relations. The number of target data groups can be the same as the number of channels of the spectral sensor, or can be less than the number of channels of the spectral sensor. For example, when the number of channels of the spectral sensor is 5, two target data groups can be selected. When two target data groups are selected, two reference radiation intensities can be selected from each target data group to construct the mixed light relation. In the two target data groups, the reference radiation intensities corresponding to the channels are selected. For example, in Table 3, two reference radiation intensities corresponding to channel 1 and two reference radiation intensities corresponding to channel 5 can be selected from the two target data groups.

[0076] Optionally, step 104 can include:

[0077] When the number of target data groups is less than the number of visible light bands, the reference radiation intensities of the same target visible light band are used as mixed terms, and the corresponding actual radiation intensities are used as mixed results to construct the mixed light relation. The target visible light band covers the target wavelength range of visible light.

[0078] In an embodiment, when the number of target data groups is less than the number of visible light bands, the reference radiation intensities corresponding to the target visible light band can be selected to construct the mixed light relation. The target visible light band covers the target wavelength range of visible light, and the target wavelength range can be pre-set according to user demand. In combination with Table 3, when the spectral sensor is 5 channels, two target data groups can be selected. At this time, the target visible light band can be the visible light bands corresponding to channels 2 and 3, and the target wavelength range can be the wavelength range corresponding to channels 2 and 3.

[0079] In actual use, the user can pre-set the target visible light band according to demand. When determining the target spectral data, the lighting device can select a smaller number of target data groups, and determine the target spectral data through the reference radiation spectrum data in the smaller number of data groups, so as to improve the calculation efficiency.

[0080] Step 105, superimposing the reference spectral data in the plurality of target data groups to obtain the target spectral data corresponding to the target lighting environment, and controlling the light source to emit light according to the target spectral data.

[0081] The superposition coefficient of the reference spectral data is the actual value of the proportional coefficient of the reference radiation intensity in the target data group.

[0082] In the embodiment, after the actual value of the proportionality coefficient is determined, the reference spectral data in the plurality of target data groups can be superimposed according to the actual value of the proportionality coefficient to obtain target spectral data corresponding to the target lighting environment. In combination with the above example, for a two-channel spectral sensor, if the reference spectral data in the first data group is S1, the reference spectral data in the second data group is S2, and the target spectral data is S0, then S0=xS1+yS2. In the superimposition process, each radiation intensity in the reference spectral data included in the first data group is multiplied by the proportionality coefficient x, each radiation intensity in the reference spectral data included in the second data group is multiplied by the proportionality coefficient y, and then the two radiation intensities of the same wavelength are added to obtain the target spectral data. Similarly, for a three-channel spectral sensor, if the reference spectral data in the first data group is S1, the reference spectral data in the second data group is S2, the reference spectral data in the third data group is S3, and the target spectral data is S0, then S0=xS1+yS2+zS3.

[0083] Based on the light mixing principle, the present application selects reference light in a plurality of different lighting environments for target light in a target lighting environment, constructs a light mixing relationship between the plurality of reference light and the target light through the reference radiation intensity of the plurality of reference light of different color temperatures and the actual radiation intensity of the target light, determines the proportionality coefficient of each reference light in the light mixing relationship through the plurality of light mixing relationships, and superimposes the reference spectral data of the plurality of reference light according to the proportionality coefficient of the reference light to obtain target spectral data, which is used as the spectral data of the target light to achieve the purpose of indirectly determining the spectral data through spectral radiation intensity.

[0084] As shown in Figure 2 , Figure 2 A comparison chart of measured spectral data and simulated spectral data in an experimental lighting environment provided by the embodiment of the present application is shown in Figure 2 corresponding to the two-channel spectral sensor in the above example, Figure 2The abscissa is wavelength, the ordinate is radiation intensity, curve 201 is a curve diagram of simulated spectrum data obtained by superimposing the reference spectrum data in the first data set and the reference spectrum data in the second data set in Table 1, and curve 202 is a curve diagram of measured spectrum data in an experimental lighting environment collected by an integrating sphere. In drawing curve 202, the spectrum data collected by the integrating sphere is directly used to draw curve 202. In drawing curve 201, the actual radiation intensities of the visible light bands of 380-550 nm and 550-780 nm in the experimental lighting environment are collected by the spectrum sensor with two channels, then the first data set and the second data set are selected as the target data set from the database, the mixed light relationship is constructed by using the above method, the actual values of the proportional coefficients corresponding to the first data set and the second data set are determined, and finally the actual values of the proportional coefficients are used to superimpose the reference spectrum data in the two data sets to obtain the simulated spectrum data, and curve 201 is drawn according to the simulated spectrum data.

[0085] Table 4

[0086]

[0087] In Table 4, the data in the row with the row title "Measured spectrum" are the parameters of the measured spectrum data, the data in the row with the row title "Simulated spectrum" are the parameters of the simulated spectrum data, and the data in the row with the row title "Error" are the errors between the measured spectrum data and the simulated spectrum data. The title "GFC" represents the degree of solar fitting, the title "CAF" represents the circadian factor, the title "MP" represents the melanopic illuminance, the title "CCT" represents the color temperature, the titles "x" and "y" represent the chromaticity coordinates, the title "MaxLm" represents the luminous flux, the titles "R1-R8" respectively represent the display indices of different wavelengths of light, the title "CRI" represents the average value of the display indices "R1-R8", and the titles "R1-R9" respectively represent special display indices. It can be seen from Table 4 and Table 4 that the errors between the parameters of the measured spectrum data and the simulated spectrum data are mostly within 4%, and the individual parameters exceed 4% but can be controlled within 10%, which indicates that the target spectrum data can be obtained by superimposing the two reference spectrum data. Figure 2

[0088] As shown in Table 4, the data in the row with the row title "Measured spectrum" are the parameters of the measured spectrum data, the data in the row with the row title "Simulated spectrum" are the parameters of the simulated spectrum data, and the data in the row with the row title "Error" are the errors between the measured spectrum data and the simulated spectrum data. The title "GFC" represents the degree of solar fitting, the title "CAF" represents the circadian factor, the title "MP" represents the melanopic illuminance, the title "CCT" represents the color temperature, the titles "x" and "y" represent the chromaticity coordinates, the title "MaxLm" represents the luminous flux, the titles "R1-R8" respectively represent the display indices of different wavelengths of light, the title "CRI" represents the average value of the display indices "R1-R8", and the titles "R1-R9" respectively represent special display indices. It can be seen from Table 4 and Table 4 that the errors between the parameters of the measured spectrum data and the simulated spectrum data are mostly within 4%, and the individual parameters exceed 4% but can be controlled within 10%, which indicates that the target spectrum data can be obtained by superimposing the two reference spectrum data. Figure 3 Figure 3 As shown in Table 4, the data in the row with the row title "Measured spectrum" are the parameters of the measured spectrum data, the data in the row with the row title "Simulated spectrum" are the parameters of the simulated spectrum data, and the data in the row with the row title "Error" are the errors between the measured spectrum data and the simulated spectrum data. The title "GFC" represents the degree of solar fitting, the title "CAF" represents the circadian factor, the title "MP" represents the melanopic illuminance, the title "CCT" represents the color temperature, the titles "x" and "y" represent the chromaticity coordinates, the title "MaxLm" represents the luminous flux, the titles "R1-R8" respectively represent the display indices of different wavelengths of light, the title "CRI" represents the average value of the display indices "R1-R8", and the titles "R1-R9" respectively represent special display indices. It can be seen from Table 4 and Table 4 that the errors between the parameters of the measured spectrum data and the simulated spectrum data are mostly within 4%, and the individual parameters exceed 4% but can be controlled within 10%, which indicates that the target spectrum data can be obtained by superimposing the two reference spectrum data. Figure 3 ​​Corresponding to the three-channel spectral sensor in the above example, curve 301 is a curve diagram of simulated spectral data obtained by superimposing the reference spectral data in the first data set, the reference spectral data in the second data set and the reference spectral data in the third data set in Table 2. In drawing curve 302, the spectral data collected directly by the integrating sphere is used to draw curve 302, which is the curve of the actual spectral data collected in the experimental lighting environment. In drawing curve 301, the actual radiation intensity of the visible light band of 395nm to 400nm, the visible light band of 490nm to 500nm and the visible light band of 560nm to 670nm in the experimental lighting environment is collected by the spectral sensor with three channels, then the first data set, the second data set and the third data set are selected as the target data set from the database, the mixed light relationship is constructed by using the above method, the actual value of the proportional coefficient corresponding to the first data set, the actual value of the proportional coefficient corresponding to the second data set and the actual value of the proportional coefficient corresponding to the third data set are determined, and finally the actual value of the proportional coefficient is used to superimpose the reference spectral data in the three data sets to obtain the simulated spectral data, and curve 301 is drawn according to the simulated spectral data.

[0089] Table 5

[0090]

[0091] In combination Figure 3 It can be seen from Table 5 that the error between each parameter of the actual spectral data and the simulated spectral data can be controlled within 2% compared with each parameter.

[0092] As Figure 4 shown, Figure 4 a comparison diagram of the actual spectral data and the simulated spectral data in another experimental lighting environment provided by the embodiment of the present application is shown, Figure 4For the five-channel spectral sensor in the example above, the curve of the measured spectral data in the experimental lighting environment collected by the integrating sphere nearly overlaps with the curve of the simulated spectral data obtained by superimposing the reference spectral data in the first data group, the reference spectral data in the second data group, the reference spectral data in the third data group, the reference spectral data in the fourth data group, and the reference spectral data in the fifth data group in Table 3. Similarly, when plotting the curve of the measured spectral data, the spectral data collected directly by the integrating sphere are plotted. When drawing the curve of the simulated spectral data, the actual radiation intensity of the visible light band from 380nm to 460nm, the actual radiation intensity of the visible light band from 460nm to 540nm, the actual radiation intensity of the visible light band from 540nm to 620nm, the actual radiation intensity of the visible light band from 620nm to 700nm, and the actual radiation intensity of the visible light band from 700nm to 780nm in the experimental lighting environment are collected through a spectral sensor with five channels, and then the first data group, the second data group, the third data group, the fourth data group and the fifth data group are selected from the database as the target data groups, and the above-mentioned method is used to construct a mixed light relationship formula, and the actual value of the proportional coefficient corresponding to each target data group is determined by the five mixed light relationship formulas mentioned above. Finally, the actual value of the proportional coefficient is used to superimpose the reference spectral data in the five target data groups to obtain simulated spectral data, and the simulated spectral data is drawn. Figure 4 The curve shown.

[0093] Table 6

[0094]

[0095] Combine Figure 4 As shown in Table 6, the errors between the various parameters of the measured spectral data and the simulated spectral data, except for the luminous flux index, can be controlled within 0.5%.

[0096] Combining Tables 4, 5, and 6, we can see that when the spectral sensor has a large number of channels and a large number of target data groups are selected, more accurate target spectral data can be obtained. However, when the spectral sensor has a small number of channels and a small number of target data groups are selected, the accuracy of the target spectral data obtained is reduced. Users can set the number of target data groups as needed to ensure that the accuracy of the target spectral data meets their needs.

[0097] Optionally, when the matching data group is included in the plurality of data groups, the target spectral data is determined according to the reference spectral data in the matching data group. Illustratively, when the matching data group is included in the plurality of data groups, the reference spectral data in the matching data group can be directly taken as the target spectral data. For example, if the plurality of reference radiation intensities and the plurality of actual radiation intensities in the first data group in Table 1 match, the spectral data in the first data group can be directly taken as the target spectral data.

[0098] In this embodiment, after obtaining the target spectral data, the light source in the lighting device can be controlled to emit light according to the target spectral data. As shown in Figure 5 Figure 5 A structure diagram of a lighting device provided by an embodiment of the present application is shown, which includes a sensor module 501, a driving module 502 and a light source 503. The sensor module 501 can include a sensor sub-module, a database sub-module and a calculation sub-module. The sensor sub-module is a spectral sensor, and the database sub-module is a storage that can store a plurality of data groups. After the sensor sub-module collects a plurality of actual radiation intensities in a visible light band, the sensor module 501 can search for a matching data group from the database sub-module. If the database sub-module does not include the matching data group, a plurality of target data groups are determined from the database sub-module. The calculation sub-module can construct a plurality of light mixing relationships based on the plurality of actual radiation intensities and the reference radiation intensities in the plurality of target data groups, and determine the actual value of the proportionality coefficient of the reference radiation intensity according to the plurality of light mixing relationships. Further, the plurality of reference spectral data can be superimposed according to the actual value of the reference proportionality coefficient to obtain the target spectral data. After obtaining the target spectral data, the sensor module 501 can send the target spectral data to the driving module 502. After receiving the target spectral data, the driving module 502 determines the driving parameters of the light source according to the target spectral data, and drives the light source to emit light according to the driving parameters. The light source is, for example, a light emitting diode (LED), and the lighting device can include a plurality of light sources, i.e., a plurality of LED lamp groups, each of which can emit light of different color temperatures. The driving module 502 has a plurality of outputs, each of which is used to control one LED lamp group to emit light.

[0099] Optionally, the step of controlling the light source to emit light according to the target spectral data can include:

[0100] determining a target color temperature of the target spectral data;

[0101] determining the driving parameters of each of the plurality of light sources based on the target color temperature, wherein the plurality of light sources respectively have different color temperatures;

[0102] driving the light source to emit light through the driving parameters of the light source.

[0103] ​In an embodiment, when the lighting device has multiple light sources with different color temperatures, the target color temperature corresponding to the target spectral data can be determined first when controlling the multiple light sources to emit light, and then the driving parameters of each light source can be determined according to the target color temperature and the color temperature of each light source. In combination with the above example, when controlling the light sources to emit light, the tristimulus values of the light in the target lighting environment can be calculated according to the target spectral data, then the corresponding chromaticity coordinates can be determined according to the tristimulus values, and finally the target color temperature corresponding to the target spectral data can be determined according to the chromaticity coordinates. In combination with the above example, if two LED lamp groups with different color temperatures are included in the lighting device, the LED lamp groups can be controlled by pulse width modulation (PWM) signals, and after the target color temperature is determined, the driving module 502 can determine the driving parameters of each LED lamp group according to the target color temperature and the color temperatures of the two LED lamp groups, and the driving parameters are the duty cycles of the PWM waves. The driving module 502 can output PWM signals with corresponding duty cycles to each LED lamp group through the duty cycles to control the two LED lamp groups to emit light at the same time, so that the light emitted by the two LED lamp groups is mixed to obtain light matching the target color temperature.

[0104] Optionally, after driving the light source to emit light through the driving parameters of the light source, the method further includes:

[0105] acquiring an actual color temperature of the light source;

[0106] when the target color temperature is inconsistent with the actual color temperature, determining a color temperature deviation between the target color temperature and the actual color temperature;

[0107] adjusting the driving parameters of the light source according to the color temperature deviation, so that the actual color temperature matches the target color temperature.

[0108] In an embodiment, after the light source emits light, the actual color temperature of the light emitted by the light source can be acquired, and a color temperature deviation between the actual color temperature and the target color temperature is determined. For example, the interior of the lighting device can be integrated with a spectrum sensor, which can be named as a second spectrum sensor, and a spectrum sensor arranged in the target lighting environment can be named as a first spectrum sensor. The second spectrum sensor is arranged in the housing of the lighting device, and is used to collect the spectral radiance intensity of the light emitted by the light source in a plurality of different visible light bands, and then send the spectral radiance intensity to the processor. For example, a light guide mechanism can be arranged in the housing of the lighting device, one end of the light guide mechanism is connected to the light source, and the other end is connected to the second spectrum sensor. The light guide mechanism can directly transmit the light emitted by the light source to the second spectrum sensor, and the second spectrum sensor can directly collect the spectral radiance intensity of the light emitted by the light source. The processor can determine the actual spectral data of the light emitted by the light source according to the spectral radiance intensity of the plurality of different visible light bands and the plurality of data sets, and then adjust the light emitted by the light source according to the deviation between the actual spectral data and the target spectral data. The processor determines the actual spectral data according to the plurality of radiance intensities and the plurality of data sets in the same way as determining the target spectral data, and this embodiment will not be described here. After determining the actual spectral data, the processor first determines the color temperature of the light source based on the actual spectral data, which is the actual color temperature of the light actually emitted by the light source, and then calculates the color temperature deviation between the actual color temperature and the target color temperature, and adjusts the light emitted by the light source according to the color temperature deviation, so that the color temperature of the light emitted by the light source is consistent with the target color temperature.

[0109] In the embodiments of the present application, the driving parameters of the light source are adjusted according to the color temperature deviation between the actual color temperature of the light source and the target color temperature, so that the actual color temperature of the light source matches the target color temperature. After the light source ages, the actual color temperature of the light emitted by the light source can be prevented from deviating from the target color temperature.

[0110] Optionally, the method can further include: acquiring the spectral radiance intensity in the lighting environment where the lighting device is located, determining the spectral data in the lighting environment according to the spectral radiance intensity, then determining the lighting quality parameter in the lighting environment according to the spectral data in the lighting environment, and outputting the lighting quality parameter.

[0111] In an embodiment, a third light spectrum sensor can be integrated in the lighting device, which can be arranged outside the housing of the lighting device and communicatively connected with the processor inside the housing. The third light spectrum sensor can be directly mounted on the housing and can collect the intensity of the lighting radiation of a plurality of visible light bands in the lighting environment in which the lighting device is located, i.e. the second light environment mentioned above. The light in the lighting environment is the light mixed by the light emitted by the light source of the lighting device and the ambient light in the lighting environment. After obtaining the intensity of the lighting radiation, the processor can determine the lighting spectrum data in the lighting environment based on the intensity of the lighting radiation and the plurality of data sets in the above-mentioned manner, and then determine the lighting quality parameters in the lighting environment according to the lighting spectrum data. The processor determines the lighting spectrum data based on the intensity of the lighting radiation and the plurality of data sets in the same way as the method of determining the target spectrum data, which will not be described herein. The lighting quality parameters can include the above-mentioned examples of the solar-like fitting degree, the circadian rhythm factor, the melanopic illuminance, the color temperature, the chromaticity coordinate, the luminous flux and the display index, etc.

[0112] The output module, such as a display screen, can be integrated in the lighting device, and the display screen is communicatively connected with the processor. After obtaining the lighting quality parameters, the processor can send the lighting quality parameters to the display screen. The display screen can display the lighting quality parameters and display the lighting quality parameters. Alternatively, the output module is a communication module, and the processor is connected with the communication module, which can control the communication module to be connected with the terminal device (such as a mobile phone and a computer) of the user, and send the lighting quality parameters to the terminal device through the communication module for the user to view the lighting quality parameters.

[0113] In an embodiment, the input module can be integrated in the lighting device, and the user can manually set the number of target data sets through the input module. The input module, such as a mode selection switch, is mounted outside the housing of the lighting device, and the mode selection switch has different gears, different gears correspond to different adjustment instructions, and different adjustment instructions correspond to different preset numbers. The adjustment operation, such as the dialing operation of the mode selection switch, when the user dials the mode selection switch to a certain gear, the mode selection switch can send the corresponding adjustment instruction to the processor. After receiving the adjustment instruction, the processor determines the number corresponding to the adjustment instruction as the number of target data sets. For example, the mode selection switch has a first gear and a second gear, the preset number corresponding to the first gear is 2, and the preset number corresponding to the second gear is 5. When the user dials the mode selection switch to the first gear, the mode selection switch sends the first adjustment instruction to the processor, and the processor can set the number of target data sets to 2 in response to the first adjustment instruction. When the user dials the mode selection switch to the second gear, the mode selection switch sends the second adjustment instruction to the processor, and the processor can set the number of target data sets to 5 in response to the second adjustment instruction.

[0114] In actual application, the user can adjust the number of target data groups through the input module. When the number of target data groups is small, the data volume can be reduced, and when the number of target data groups is large, the precision can be improved, so that the user can select the number of target data groups according to the demand.

[0115] To sum up, in the embodiment of the present application, the actual radiation intensity of multiple different visible light bands in the target lighting environment is obtained. When the pre-stored multiple data groups do not include a matching data group, multiple target data groups are determined from the multiple data groups. The reference radiation intensity of the same visible light band is used as a mixing term, and the corresponding actual radiation intensity is used as a mixing result to construct a light mixing relationship. Based on the multiple light mixing relationships, the actual value of the proportion coefficient is determined. The reference spectrum data in the multiple target data groups is superimposed to obtain the target spectrum data corresponding to the target lighting environment, and the light source is controlled to emit light according to the target spectrum data. By using the light mixing principle, the proportion coefficient of each reference spectrum data is first determined according to the light mixing relationship between the multiple reference radiation intensities and the multiple actual radiation intensities, and then the multiple reference spectrum data is superimposed according to the proportion coefficient to obtain the target spectrum data. The light source is controlled to emit light according to the target spectrum data, which can avoid determining the spectrum data through a model, thereby saving time cost. At the same time, the training of the model requires a large amount of sample data, including sample data of radiation intensity and spectrum data, which is difficult to obtain. The embodiment of the present application does not use a model, which can avoid the process of obtaining sample data.

[0116] Figure 6 A structure diagram of a light source control device provided by an embodiment of the present application is shown. The device 6 is arranged in a lighting device, which includes:

[0117] The acquisition module 601 is configured to acquire the actual radiation intensity of multiple different visible light bands in the target lighting environment.

[0118] The first determination module 602 is configured to determine multiple target data groups from the multiple data groups when the pre-stored multiple data groups do not include a matching data group. Each data group includes reference spectrum data collected in different lighting environments and reference radiation intensity of the collected visible light band. The multiple reference radiation intensities in the matching data group match the multiple actual radiation intensities.

[0119] The construction module 603 is configured to use the reference radiation intensity of the same visible light band as a mixing term and the corresponding actual radiation intensity as a mixing result to construct a light mixing relationship. In the multiple light mixing relationships, the proportion coefficient of the reference radiation intensity in the same target data group is the same unknown number.

[0120] The second determination module 605 is configured to determine the actual value of the proportion coefficient based on the multiple light mixing relationships.

[0121] The control module 605 is used to superimpose the reference spectral data in multiple target data groups to obtain target spectral data corresponding to the target lighting environment, and control the light source to emit light according to the target spectral data; the superposition coefficient of the reference spectral data is the actual value of the proportional coefficient of the reference radiation intensity in the target data group to which it belongs.

[0122] Optionally, the first determination module 602 is used to select a target number of data groups as target data groups from the multiple data groups according to the arrangement order of the multiple data groups; the reference spectral data in the multiple data groups correspond to different color temperatures, and the arrangement order is obtained by sorting the color temperatures corresponding to the multiple data groups; the target number is less than or equal to the number of multiple visible light bands.

[0123] Optionally, the construction module 603 is used to construct a light mixing relationship using multiple reference radiation intensities of the same target visible light band as mixing terms and corresponding actual radiation intensities as mixing results when the number of multiple target data groups is less than the number of visible light bands; the target visible light band covers the target wavelength range of visible light.

[0124] Optionally, the first determining module is further configured to determine the target spectral data according to the reference spectral data in the matching data group when the multiple data groups include a matching data group.

[0125] Optionally, the control module is specifically used to determine the target color temperature of the target spectral data; determine the driving parameters of each of the multiple light sources based on the target color temperature; the multiple light sources have different color temperatures; and drive the light sources to emit light through the driving parameters of the light sources.

[0126] Optionally, the control module is further used to obtain the actual color temperature of the light source; when the target color temperature is inconsistent with the actual color temperature, determine the color temperature deviation between the target color temperature and the actual color temperature; and adjust the driving parameters of the light source according to the color temperature deviation so that the actual color temperature matches the target color temperature.

[0127] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0128] Figure 7 FIG. 1 shows a schematic diagram of a lighting device provided by an embodiment of the present application. Figure 7 As shown, the lighting device 7 of this embodiment includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70, such as a roll gap deviation control program. When the processor 70 executes the computer program 72, the steps in the above-mentioned light source control method embodiment are implemented, such as Figure 3The steps 101-105 are shown. Alternatively, the processor 70 implements the functions of the modules / units in the above-mentioned apparatus embodiments when executing the computer program 72, for example Figure 6 The functions of the modules 601-605 are shown.

[0129] For example, the computer program 72 can be divided into one or more modules / units, which are stored in the memory 71 and executed by the processor 70 to complete the present application. The one or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program 72 in the electronic lighting device 7. For example, the computer program 72 can be divided into an acquisition module and an adjustment module. The specific functions of the modules are described above.

[0130] The lighting device 7 can be a desktop lighting device and a computing device such as a cloud server. The lighting device can include, but is not limited to, a processor 70, a memory 71. Those skilled in the art can understand that Figure 7 The lighting device 7 is only an example and does not constitute a limitation on the lighting device 7, and can include more or fewer components than those shown, or combine certain components, or different components, for example, the lighting device can also include an input / output device, a network access device, a bus, etc.

[0131] The processor 70 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0132] The memory 71 can be an internal storage unit of the lighting device 7, for example, a hard disk or a memory of the lighting device 7. The memory 71 can also be an external storage device of the lighting device 7, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the lighting device 7. Further, the memory 71 can also include both the internal storage unit and the external storage device of the lighting device 7. The memory 71 is used to store the computer program and other programs and data required by the device / terminal. The memory 71 can also be used to temporarily store data that has been output or will be output.

[0133] The embodiment of the present application also provides a readable storage medium, which stores the computer program as described above, and the computer program is executed by a processor to realize each step of the light source control method as described above.

[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the system can refer to the corresponding process in the foregoing method embodiments, which will not be described here.

[0135] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.

[0136] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of lighting device software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0137] In the embodiments of the present application, it should be understood that the disclosed apparatus / terminal device and method can be implemented in other manners. For example, the described apparatus / terminal device embodiments are merely schematic. For example, the division of the modules or units is merely logical function division. There can be another division manner for actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, can be indirect couplings or communication connections through some interfaces, devices or units.

[0138] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.

[0139] In addition, each functional unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0140] The integrated module / unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, all or part of the processes in the above-described embodiment methods can also be completed by computer programs instructing related hardware, and the computer programs can be stored in a readable storage medium. When the processor executes the computer programs, the steps of the above-described various method embodiments can be implemented. The computer programs include computer program codes, which can be in the form of source code, object code, executable files or some intermediate forms. The lighting device readable medium can include any entity or device, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, lighting device memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program codes. It should be noted that the lighting device readable medium can include or exclude some contents according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the lighting device readable medium does not include electrical carrier signals and telecommunication signals.

[0141] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit the present application; although the present application has been described in detail with reference to the foregoing embodiments, those ordinarily skilled in the art should understand: the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A light source control method characterized by, The method comprises: acquiring actual radiation intensities of a plurality of different visible light bands in a target lighting environment; when a matching data group is not included in a plurality of pre-stored data groups, determining a plurality of target data groups from the plurality of data groups; each of the data groups includes reference spectral data collected in different lighting environments and reference radiation intensities of the visible light bands collected; a plurality of the reference radiation intensities in the matching data group match a plurality of the actual radiation intensities; using the reference radiation intensities of the same visible light band as mixed terms and the corresponding actual radiation intensities as mixed results, constructing a light mixing relationship; in a plurality of the light mixing relationships, the proportional coefficients of the reference radiation intensities in the same target data group are the same unknown number; based on a plurality of the light mixing relationships, determining actual values of the proportional coefficients; superimposing the reference spectral data in a plurality of the target data groups to obtain target spectral data corresponding to the target lighting environment, and controlling light sources to emit light according to the target spectral data; the superimposition coefficient of the reference spectral data is the actual value of the proportional coefficient of the reference radiation intensity in the target data group.

2. The method of claim 1, wherein, The method further comprises: selecting a target number of data groups from the plurality of data groups as the target data groups according to an arrangement order of the plurality of data groups; the reference spectral data in the plurality of data groups correspond to different color temperatures respectively, and the arrangement order is obtained according to the color temperatures corresponding to the plurality of data groups respectively; and the target number is less than or equal to the number of the plurality of visible light bands.

3. The method of claim 1, wherein, The method further comprises: when the number of the plurality of target data groups is less than the number of the visible light bands, using the reference radiation intensities of the same target visible light band as mixed terms and the corresponding actual radiation intensities as mixed results to construct the light mixing relationship; the target visible light band covers a target wavelength range of visible light.

4. The method of claim 1, wherein, The method further comprises: when the matching data group is included in the plurality of data groups, determining the target spectral data according to the reference spectral data in the matching data group.

5. The method of any one of claims 1-4, wherein, The method further comprises: determining a target color temperature of the target spectral data; determining driving parameters of each of a plurality of the light sources based on the target color temperature; the plurality of light sources have different color temperatures respectively; driving the light sources to emit light through the driving parameters of the light sources.

6. The method of claim 5, wherein, After the light sources are driven to emit light through the driving parameters of the light sources, the method further comprises: acquiring an actual color temperature of the light sources; when the target color temperature is inconsistent with the actual color temperature, determining a color temperature deviation between the target color temperature and the actual color temperature; adjusting the driving parameters of the light sources according to the color temperature deviation, so that the actual color temperature matches the target color temperature.

7. A light source control device, characterized by comprising: The method comprises: an acquiring module, configured to acquire actual radiation intensities of a plurality of different visible light bands in a target lighting environment; The first determining module is configured to determine a plurality of target data groups from the plurality of data groups when a matching data group is not included in the plurality of data groups; each of the data groups includes reference spectral data collected in different illumination environments and reference radiation intensities of the visible light bands collected respectively; the reference radiation intensities in the matching data group match the actual radiation intensities; The constructing module is configured to construct a mixed light relationship formula by taking the reference radiation intensity of the same visible light band as a mixed term and taking the corresponding actual radiation intensity as a mixed result; in the plurality of mixed light relationship formulas, the proportional coefficient of the reference radiation intensity in the same target data group is the same unknown number; The second determining module is configured to determine an actual value of the proportional coefficient based on the plurality of mixed light relationship formulas; The control module is configured to superimpose the reference spectral data in the plurality of target data groups to obtain target spectral data corresponding to the target illumination environment, and control the light source to emit light according to the target spectral data; The superimposition coefficient of the reference spectral data is the actual value of the proportional coefficient of the reference radiation intensity in the target data group.

8. The apparatus of claim 7, wherein, The first determining module is configured to select a target number of data groups as the target data groups from the plurality of data groups at intervals according to the arrangement order of the plurality of data groups; the reference spectral data in the plurality of data groups correspond to different color temperatures respectively, and the arrangement order is obtained according to the color temperatures corresponding to the plurality of data groups respectively; and the target number is less than or equal to the number of the plurality of visible light bands.

9. An illumination device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.

10. A readable storage medium, the readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Ambient illumination simulation method based on multi-primary-color spectrum superposition process

    CN113703500A

  • Method and system for spectral unmixing of tissue images

    US20140078286A1