Spectral lighting modeling and control

11002606 · 2021-05-11

    Inventors

    Cpc classification

    International classification

    Abstract

    Spectral irradiance distributions are calculated within a virtual environment based on arbitrary light source spectral power distributions. Architectural, horticultural and aquacultural lighting control systems use the calculated results to control both the intensity and spectral power distribution of the electric light sources. Energy consumption may be minimized while maintaining optimal occupant visual comfort and plant health.

    Claims

    1. A method of predicting a spectral irradiance distribution for an arbitrary position and arbitrary view direction in a virtual environment, comprising the steps of: calculating, by a processor, a direct spectral irradiance for said position and direction due to one or more light sources illuminating the virtual environment; calculating, by the processor, an indirect spectral irradiance for said position and direction due to reflections from one or more surfaces in the virtual environment, said indirect spectral irradiance calculated as a per-wavelength multiple of the direct spectral irradiance; and summing, by the processor, the direct spectral irradiance and the indirect spectral irradiance to result in the spectral irradiance distribution.

    2. The method of claim 1, wherein calculating the indirect spectral irradiance comprises: assigning RGB triplets to one or more surfaces in the virtual environment based on a reference illuminant; and for each light source: calculating, by the processor, an indirect tristimulus irradiance for said position and direction due to reflections from one or more surfaces in the virtual environment; reconstructing, by the processor, a physically plausible relative spectral power distribution from the indirect tristimulus irradiance; multiplying, by the processor, said relative spectral power distribution by a spectral power distribution of the light source and the reference illuminant on a per-wavelength basis, to result in a spectral power distribution; and scaling, by the processor, the spectral power distribution according to the indirect tristimulus irradiance to obtain the indirect spectral irradiance for the light source; and summing the indirect spectral irradiances for the light sources.

    3. The method of claim 2, wherein the indirect tristimulus irradiance is determined using a global illumination technique.

    4. The method of claim 2, wherein the surfaces are opaque, translucent and transparent surfaces.

    5. The method of claim 4, further comprising reconstructing a physically plausible relative spectral reflectance distribution of one of said opaque surfaces from the indirect tristimulus irradiance as a sum of mean spectra and weighted eigencolors of a set of representative opaque materials.

    6. The method of claim 5, wherein: the set of representative opaque materials is divided into subsets according to divisions of a color space; and a set of eigencolors is determined for each subset.

    7. The method of claim 6, wherein the color space division includes a subset comprised of pastel colors with limited chroma.

    8. The method of claim 2, wherein there are one or more intervening transparent or translucent surfaces between the light sources and said position.

    9. The method of claim 8, wherein the indirect tristimulus irradiance is expressed as tristimulus values, the method further comprising reconstructing a physically plausible relative transmittance distribution of a transparent or translucent surface from the tristimulus values as a spline function with the tristimulus values as spline knots.

    10. A system for controlling spectral lighting in an enclosed environment, the system comprising electric lighting and a lighting controller connected to the electric lighting, the lighting controller configured to: determine, using a virtual environment that corresponds to the enclosed environment, a spectral irradiance distribution in the enclosed environment by: calculating a direct spectral irradiance for a position and direction due to light sources illuminating the enclosed environment; calculating an indirect spectral irradiance for said position and direction due to reflections from one or more surfaces in the enclosed environment, said indirect spectral irradiance calculated as a per-wavelength multiple of the direct spectral irradiance; and summing the direct spectral irradiance and the indirect spectral irradiance to result in the spectral irradiance distribution; and control, based on the spectral irradiance distribution, a spectral output of the electric lighting to maintain, in the spectral lighting, a spectral composition that meets a predetermined requirement suitable for a life form in the enclosed environment.

    11. The system of claim 10 wherein the life form is a human and the predetermined requirement is for human visual comfort and health.

    12. The system of claim 10 wherein: the life form is a plant; the spectral irradiance distribution is incident upon a canopy of the plant; and the predetermined requirement is for optimal plant health and growth.

    13. The system of claim 12 wherein the spectral irradiance distribution is determined using a global illumination technique or using outputs from an artificial intelligence engine.

    14. The system of claim 10, wherein the light sources are direct sunlight, diffuse daylight, and the electric lighting.

    15. The system of claim 14 wherein the spectral irradiance distribution is determined using a mathematical sky model.

    16. The system of claim 10 wherein the spectral irradiance distribution is determined using outputs from a trained artificial intelligence engine.

    17. The system of claim 10 wherein: the life form is a human; the lighting controller is configured to predict a melanopic flux from the spectral irradiance distribution; and the predetermined requirement is a dosage of melanopic flux necessary for proper circadian rhythm synchronization of the human.

    18. The system of claim 17 wherein the melanopic flux is predicted using a global illumination technique or using outputs from an artificial intelligence engine.

    19. The system of claim 10 wherein the lighting controller is configured to control a subset of the electric lighting to maintain the predetermined requirement.

    20. The system of claim 10, wherein the lighting controller is configured to minimize energy consumption of the electric lighting while maintaining the predetermined requirement.

    21. The system of claim 10, further comprising a sensor for measuring a further spectral irradiance distribution in the enclosed environment, wherein the lighting controller is further configured to control the spectral lighting based on the further spectral irradiance distribution.

    22. The system of claim 10 wherein the life form is animal and the predetermined requirement is for animal visual comfort and health.

    23. The system of claim 10 wherein the life form is an aquatic animal and the predetermined requirement is for visual comfort and health of the aquatic animal.

    24. The system of claim 10 wherein the life form is an aquatic plant and the predetermined requirement is for optimum growth and health of the aquatic plant.

    25. A lighting controller comprising a processor and computer-readable memory storing computer-readable instructions, which, when executed by the processor cause the lighting controller to predict a spectral irradiance distribution for an arbitrary position and arbitrary view direction in a virtual environment, by: calculating a direct spectral irradiance for said position and direction due to one or more light sources illuminating the virtual environment; calculating an indirect spectral irradiance for said position and direction due to reflections from one or more surfaces in the virtual environment, said indirect spectral irradiance calculated as a per-wavelength multiple of the direct spectral irradiance; and summing the direct spectral irradiance and the indirect spectral irradiance to result in the predicted spectral irradiance distribution.

    26. The lighting controller of claim 25 in combination with electric lighting in a closed environment that corresponds to the virtual environment and a sensor in the closed environment, the lighting controller connected to the electric lighting and sensor, the lighting controller configured to: determine an actual spectral irradiance distribution in the enclosed environment from a measurement obtained from the sensor; and control, taking into account one or both of the predicted and actual spectral irradiance distributions, a spectral output of the electric lighting to maintain, in the spectral lighting, a spectral composition that meets a predetermined requirement suitable for a life form in the enclosed environment.

    27. The lighting controller of claim 26, wherein the life form is human, plant, animal or aquaculture.

    Description

    BRIEF DESCRIPTION OF DRAWINGS

    (1) FIG. 1 shows the spectral absorptances of plant photopigments chlorophyll A and chlorophyll B.

    (2) FIG. 2 shows the photopic, scotopic and melanopic spectral responsivity functions of the human visual system.

    (3) FIG. 3 shows the spectral absorptances of plant photoreceptors phytochrome P.sub.r and P.sub.fr.

    (4) FIG. 4 shows the spectral power distribution of a typical high-pressure sodium lamp.

    (5) FIG. 5 shows the spectral power distribution of a typical 3500K white light LED.

    (6) FIG. 6 shows the spectral reflectance distributions of 15 sample colors used for color rendering index (CRI) calculations.

    (7) FIG. 7 shows the mean and first three principal components of a large set of color samples.

    (8) FIG. 8 shows the reconstruction errors for four randomly-selected color samples using the mean and first three principal components.

    (9) FIG. 9 shows the reconstruction errors for four randomly-selected color samples using the mean and first six principal components.

    (10) FIG. 10 shows the spectral transmittance distributions of several representative theatrical color gels.

    (11) FIG. 11 shows the subdivision of the CIE 1931 color gamut into Munsell hue groups.

    (12) FIG. 12 shows the mean and dominant eigencolors of the Munsell blue-green hue group.

    (13) FIG. 13 shows the spectral reflectance distributions of light from an equal-energy illuminant consecutively reflected from two colored surfaces.

    (14) FIG. 14 shows the SPD of light emitted by a 3500K LED that has been reflected from a colored surface.

    (15) FIG. 15 shows a flowchart of an overview of a method of calculating spectral irradiance in a virtual environment, according to an embodiment of the present invention.

    (16) FIG. 16 shows a flowchart of a method of calculating spectral irradiance in a virtual environment, according to an embodiment of the present invention.

    (17) FIG. 17 shows a schematic representation of a system for spectral lighting control, according to an embodiment of the present invention.

    (18) FIG. 18 shows a block diagram of a lighting control unit, according to an embodiment of the present invention.

    DETAILED DESCRIPTION

    (19) A. Glossary

    (20) CIE—International Commission on Illumination

    (21) CCT—Correlated color temperature

    (22) Eigencolor—an eigenvector of a set of SRDs. An eigencolor may possibly have negative values that make it unrealizable as a physical color.

    (23) ITU—International Telecommunications Union

    (24) Life form—This includes one or more of a human, a plant, an animal, an aquatic animal and an aquatic plant.

    (25) Physically plausible—This refers to something that is calculated but which can exist in reality according to the laws of physics. For example, herein it refers to a calculated SPD, SRD or STD for which each component is zero or positive, i.e. which can be realized by actual physical light sources. In contrast, a physically implausible SPD, SRD or STD would have at least one negative component.

    (26) PPFD—Photosynthetic photon flux density

    (27) Reference illuminant—This is, for example, a theoretical or standard illuminant used for viewing colors of surfaces such that they appear as defined by their RGB triplet values.

    (28) SPD—Spectral power distribution

    (29) SRD—Spectral reflectance distribution

    (30) STD—Spectral transmittance distribution

    (31) View direction—This refers to the direction in which an observer is or would be looking in an environment, a direction in which a sensor is facing in an environment, a direction in which a surface is facing in an environment, or a direction in which a plant canopy is facing in an environment. Irradiance arriving along the view direction at a given position includes irradiance arriving within a 180° angle centered on the view direction.

    (32) B. Spectral Distributions

    (33) This invention comprises a method and system of predicting and presenting a spectral irradiance distribution within an architectural or horticultural environment, including radiation received directly from one or more light sources and indirectly from radiation reflected from and transmitted by surfaces within the environment.

    (34) This invention further comprises a system wherein a predictive daylight harvesting system determines the spectral irradiance due to direct sunlight and diffuse daylight, and controls the spectral power distribution of supplemental electric lighting to ensure minimal energy consumption while maintaining optimal occupant visual comfort and health for architectural applications, and optimal conditions for plant growth and health for horticultural applications

    (35) Spectral power distributions, and also spectral reflectance and transmittance distributions, are typically represented in tabular form, with each column representing an average value over the range of wavelengths. For example, assuming a wavelength increment of 5 nm, a column labelled 550 nm would represent the average value over the wavelength range of 547.5 nm to 552.5 nm. For some applications, smaller wavelength increments of 1 or 2 nm may be required.

    (36) Fluorescent and high-intensity discharge lamps typically have SPDs that exhibit continuous and line spectrum features. FIG. 4, for example, shows the spectral power distribution of a typical high-pressure sodium lamp. Wavelength increments of 5 nm or less are needed to accurately represent such spectra.

    (37) White light LEDs, comprised of a blue-emitting semiconductor LED with a yellow-emitting phosphor coating, exhibit similar spectral features. FIG. 5, for example, shows the SPD of a 3500K white light LED comprised of a 440 nm “pump” LED with a combination of green- and red-emitting phosphors. In order to accurately calculate the spatial distribution of melanopic illuminance within an architectural environment, wavelength increments of 5 nm or less are needed.

    (38) In contrast to most light source SPDs, the spectral reflectance distributions (SRDs) of most architectural materials and finishes are remarkably smooth. FIG. 6, for example, shows the SRDs of fifteen color samples used to calculate the color rendering indices (CRIs) of light source in accordance with CIE 13.3-1995, Method of Measuring and Specifying Colour Rendering of Light Sources, Third Edition. An analysis of 3,534 color samples from the Munsell Book of Color and other color books shows similarly smooth distributions (e.g., Fairman, H. S., and M. H. Brill. 2004, “The Principal Components of Reflectances,” Color Research and Application 29(2):104-110). Studies of the SRDs of plants (e.g., Gates, D. M., et al. 1965, “Spectral Properties of Plants,” Applied Optics 4(1):11-20) indicate that they are similarly smooth. Still, wavelength increments of 10 nm or less are needed to accurately represent these SRDs.

    (39) It is known, however, that these SRDs can be represented with insignificant errors by the mean and three to six principal components of the set of all sample color SRDs. For example, FIG. 7 shows the mean and first three principal components of the set of 3,534 color samples considered by Fairman and Brill [2004]. FIG. 8 shows the reconstruction errors for four randomly-selected color samples using the mean and first three principal components, while FIG. 9 shows the reconstruction errors for four randomly-selected color samples using the mean and first six principal components.

    (40) Most architectural lighting design and analysis software programs, for example AGi32 and ElumTools from Lighting Analysts (Littleton, Colo.), enable users to represent material colors as a triplet of values representing red, green, and blue (RGB), wherein the users either visually choose colors as displayed on a calibrated display monitor or from tabular data representing, for example, Munsell™ or Pantone™ colors for architectural finishes. In either case, the reference illuminant is CIE D65 daylight, as specified by ISO 10526/CIE S 005, CIE Standard Illuminants for Colorimetry, and with display monitors calibrated in accordance with ITU-R Rec. BT.709-6, Parameter Values for the HDTV Standards for Production and International Programme Exchange.

    (41) While an ITU Rec. 709 RGB triplet is device-dependent (i.e., the display monitor), it can be converted into device-independent CIE tristimulus values XYZ using the linear transformation:

    (42) [ X Y Z ] = [ 0 . 4 1 2 4 0 . 3 5 7 6 0 . 1 8 0 5 0 . 2 1 2 6 0 . 7 1 5 2 0 . 0 7 2 2 0 . 0 1 9 3 0 . 1 1 9 2 0 . 9 5 0 5 ] [ R G B ] ( 1 )
    and the inverse transformation:

    (43) [ R G B ] = [ 3.2405 - 1.5371 - 0.4985 - 0.9693 1.8760 0.0416 0.0556 - 0.2040 1.0572 ] [ X Y Z ] ( 2 )
    with device independent CIE chromaticity values xy given by:
    x=X/(X+Y+Z)
    y=Y/(X+Y+Z)  (3)

    (44) A particular advantage of the SRD reconstruction method of Fairman and Brill [2004] is that, given a color that is specified by its ITU Rec. 709 RGB triplet with corresponding CIE chromaticity values xy, the reconstructed spectrum is guaranteed to have the same chromaticity values. In the sense then that only the RGB triplet of the specified color is initially known, no information is lost in reconstructing a corresponding spectral reflectance distribution.

    (45) This is not to say that an SRD reconstructed from a specific ITU Rec. 709 RGB triplet represents the SRD of a particular material. Rather, the reconstructed SRD represents a physically plausible spectral reflectance distribution for a material with the same CIE chromaticity values. In the absence of measured SRDs, this is sufficient for most architectural and horticultural lighting design and analysis applications.

    (46) In contrast, the measured spectral transmittance distributions (STDs) of transparent materials are not necessarily smooth. While the STDs of over 3,800 glazing products listed in the International Glazing Database (lbl.gov) are smooth, they are also substantially colorless. Strongly-colored theatrical color gels such as those manufactured by Rosco (Stamford, Conn.), on the other hand, may exhibit STDs such as those shown in FIG. 10 that require five to six principal components to accurately represent.

    (47) Assuming that a specific transparent material has a smooth STD (which describes most architectural and horticultural glazing products) with a specified ITU Rec. 709 RGB triplet (likely chosen by the user from a visual display), it is reasonable to reconstruct the STD using a natural cubic spline with the RGB triplet values as knots. There is no guarantee that the CIE chromaticity values of the reconstructed STD will match those of the RGB values, but they will likely be close enough for practical purposes.

    (48) C. Spectral Reflectance Reconstruction

    (49) In one embodiment, the measured spectral reflectance distributions for a set of opaque materials, such as for example color samples from the Munsell Book of Color, may be represented in tabular or matrix form. This representation may be understood to represent an n-dimensional vector, where n is the number of columns. Thus, a tabular or matrix representation of an SRD from 400 nm to 700 nm in 5 nm increments would have 61 columns and thus represent a vector in a 61-dimensional space. Given a set of M SRDs represented in tabular form with n columns, each SRD represents a vector in the n-dimensional space. Each SRD is denoted R.sub.m(λ), where 1≤m≤M and 1≤λ≤n is the vector column index.

    (50) Following Fairman and Brill [2004], the mean spectral power distribution V.sub.0(λ) is determined by:
    V.sub.0[λ]=(1/M)Σ.sub.m=1.sup.MR.sub.m(λ)  (4)

    (51) An n×n covariance matrix D is then computed by:
    D[λ,λ′]=Σ.sub.m=1.sup.M[R.sub.m[λ]−V.sub.0[λ]][R.sub.m[λ′]−V.sub.0[λ′]] for 1≤λ,λ′≤n  (5)

    (52) The n eigenvectors V.sub.i[λ] and their corresponding eigenvalues of the covariance matrix are then determined using known techniques such as, for example, the tred2 and tqli algorithms described in Chapter 11, Eigensystems, of Press, W. H., et al. 1992, Numerical Recipes in C: The Art of Scientific Computation, Second Edition, New York, N.Y.: Cambridge University Press. These eigenvectors, ranked by their eigenvalues, are the principal components of the set of M SRDs. The ratio of the sum of the first k eigenvalues to the total of all n eigenvalues represents the variance represented by the first k principal components.

    (53) Each eigenvector of a set of SRDs is itself a spectral reflectance distribution, albeit with possibly negative values (for example, FIG. 7) that make it unrealizable as a physical color. As such, it may be referred to as an “eigencolor.”

    (54) The k eigencolors having the largest associated eigenvalues will be the first k principal components of the set of spectral reflectances. If these eigencolors are represented by a column-wise matrix V, then any spectral distribution R from the set R.sub.m can be expressed as:
    R′≈V.sub.0+VD  (6)
    where D is a column vector of k weights, and where the approximately-equals sign indicates that R′ is the least-squares best approximation of R. Expressed algebraically, this becomes:
    R≈V.sub.0+d.sub.1V.sub.1+ . . . +d.sub.kV.sub.k  (8)

    (55) Rearranging Equation 6 and multiplying by V.sup.T, we have:
    V.sup.TVD≈V.sup.T(R−V.sub.0)  (8)

    (56) However, the columns of V are orthonormal, and so V.sup.TV is the k×k identity matrix. Thus:
    D=V.sup.T(R−V.sub.0)  (9)
    for the least-squares best approximation of R.

    (57) Now, given a specified illuminant-observer combination (e.g., CIE Illuminant D65, designated C, and CIE 1931 2° observer with cone response functions r, g, and b) as defined in CIE 15:2004, Colorimetry, we have:

    (58) Q = [ X Y Z ] = 1 k [ .Math. 4 0 0 7 0 0 C [ λ ] R [ λ ] r ¯ [ λ ] .Math. 4 0 0 7 0 0 C [ λ ] R [ λ ] g ¯ [ λ ] .Math. 4 0 0 7 0 0 C [ λ ] R [ λ ] b ¯ [ λ ] ] where ( 10 ) k = .Math. 4 0 0 7 0 0 C [ λ ] g ¯ [ λ ] ( 11 )
    and which can be expressed as:
    Q=A .sup.TR  (12)
    which, substituted in Equation 6, gives:
    Q′≈A.sup.TV.sub.0+A.sup.TVD  (13)
    where A.sup.TV.sub.0 is a vector representing the tristimulus values of the mean reflectance spectrum V.sub.0, and A.sup.TV is a matrix representing the tristimulus values of the first three principal components:

    (59) A T V = [ X 1 X 2 X 3 Y 1 Y 2 Y 3 Z 1 Z 2 Z 3 ] ( 14 )

    (60) Solving for D:
    D=(A.sup.TV).sup.−1(Q−A.sup.TV.sub.0)  (15)

    (61) Thus, given a target set of tristimulus values Q, a reflectance whose tristimulus values are the best-fit approximation to Q is given by:
    R′=V.sub.0+d.sub.1V.sub.1+d.sub.2V.sub.2+d.sub.3V.sub.3  (16)
    D. Different Illuminants

    (62) One difficulty with the approach of Fairman and Brill [2004] is that the target set of tristimulus values Q is dependent on the choice of illuminant and observer. Fairman and Brill, for example, chose CIE Illuminant C rather than D65.

    (63) To address this issue, ITU Rec. 709 RGB values must be first be linearly transformed to CIE tristimulus values XYZ assuming CIE Illuminant D65, and then mapped to XYZ tristimulus values XYZ assuming CIE Illuminant C using the chromatic adaptation algorithm CIE CAT02 (e.g., Hunt, R. W. G., and M. R. Pointer, 2001, Measuring Color, Fourth Edition, John Wiley & Sons, pp. 131-133) or a similar chromatic adaptation algorithm.

    (64) Given an ITU Rec. 709 RGB triplet, it is first converted to CIE tristimulus values XYZ (assuming CIE Illuminant D65) using Equation 1. The cone responses are then given by the CAT02 transformation:

    (65) [ r ¯ D g ¯ D b ¯ D ] = [ 0 . 7 3 2 8 0 . 4 2 9 6 - 0 . 1 6 2 4 - 0 . 7 0 3 6 1 . 6 9 7 5 0 . 0 0 6 1 0 . 0 0 3 0 0 . 0 1 3 6 0 . 9 8 3 4 ] [ X D Y D Z D ] ( 17 )

    (66) From CIE 15:2004, the chromaticities and tristimulus values of the CIE D65 illuminant are defined as:

    (67) X.sub.WD=95.04

    (68) Y.sub.WD=100.00

    (69) Z.sub.WD=108.88

    (70) x.sub.WD=0.31271

    (71) y.sub.WD=0.32904

    (72) and those of CIE Illuminant C are defined as:

    (73) X.sub.WC=98.07

    (74) Y.sub.WC=100.00

    (75) Z.sub.WC=118.22

    (76) x.sub.WC=0.31006

    (77) y.sub.WC=0.31616

    (78) Thus, the corresponding cone responses for CIE illuminants D65 and C (the “white points”) are:

    (79) [ r ¯ WD g ¯ WD b ¯ WD ] = [ 0 . 7 3 2 8 0 . 4 2 9 6 - 0 . 1 6 2 4 - 0 . 7 0 3 6 1 . 6 9 7 5 0 . 0 0 6 1 0 . 0 0 3 0 0 . 0 1 3 6 0 . 9 8 3 4 ] [ X W D Y W D Z W D ] ( 18 ) [ r ¯ WC g ¯ WC b ¯ WC ] = [ 0 . 7 3 2 8 0 . 4 2 9 6 - 0 . 1 6 2 4 - 0 . 7 0 3 6 1 . 6 9 7 5 0 . 0 0 6 1 0 . 0 0 3 0 0 . 0 1 3 6 0 . 9 8 3 4 ] [ X W C Y W C Z W C ] ( 19 )

    (80) Assuming unknown ambient luminance for the display device, the degree of chromatic adaptation D is chosen as 0.95, and so the degree of adaptation factors are:

    (81) D r = D ( Y W D r ¯ WC Y WC r ¯ W D ) + 1 - D D g = D ( Y W D g ¯ WC Y WC g ¯ W D ) + 1 - D D b = D ( Y W D b ¯ WC Y WC b ¯ W D ) + 1 - D ( 20 )

    (82) The corresponding cone responses for CIE Illuminant C are thus:
    r.sub.C=D.sub.rr.sub.D
    g.sub.C=D.sub.gg.sub.D
    b.sub.C=D.sub.bb.sub.D  (21)
    and the tristimulus values for CIE Illuminant C are:

    (83) [ X C Y C Z C ] = [ 1 . 0 9 6 1 - 0 . 2 7 7 9 0 . 1 8 2 7 0 . 4 5 4 4 0 . 4 7 3 5 0 . 0 7 2 1 - 0 . 0 0 9 6 - 0 . 0 0 5 7 1 . 0 1 5 3 ] [ r ¯ C g ¯ C b ¯ C ] ( 22 )
    E. Segmented Color Space

    (84) Another difficulty with the approach of Fairman and Brill [2004] is that the principal components are derived from all color samples in the Munsell Book of Color and other color books. Similar colors may have similar SRDs, but this information is necessarily lost when three eigencolors are used to represent all colors.

    (85) A different approach, as presented in Ayala, R., J. F. Echávarri, and P. Penet. 2006, “Use of Three Tristimulus Values from Surface Reflectance Spectra to Calculate the Principal Components for Reconstructing these Spectra by Using Only Three Eigenvectors,” Journal of the Optical Society of America 23(8):2020-2016, is to divide the set of Munsell colors into its ten hue groups:

    (86) Green-Yellow (GY)

    (87) Green (G)

    (88) Blue-Green (BG)

    (89) Blue (B)

    (90) Purple-Blue

    (91) Purple (P)

    (92) Red-Purple (RP)

    (93) Red (R)

    (94) Yellow-Red (YR)

    (95) Yellow (Y)

    (96) (a set of more groups is shown in FIG. 11) and perform principal components analysis on each group independently to determine their mean spectra and dominant eigencolors. The mathematics are to the same as that of Fairman and Brill [2004], apart from the need to choose the appropriate hue group for a given ITU Rec. 709 RGB triplet. (As an example, the mean spectra and first three eigencolors for blue-green Munsell colors are shown in FIG. 12.)

    (97) Unfortunately, the boundaries between the Munsell hue groups are curved. Ayala et al. [2006] approximated these boundaries using straight lines, potentially misclassifying the target color and using the wrong set of mean spectra and dominant eigencolors to reconstruct the SRD.

    (98) The solution to this problem is, given an RGB triplet whose values are within the range of [0, 100], to calculate the luminance Y and the chromaticities xy in accordance with Equations 1 and 3 respectively. Then, in accordance with ASTM Standard D1535-08, Standard Practice for Specifying Color by the Munsell System, find the closest Munsell value V according to:

    (99) TABLE-US-00001 V Y 1 1.18 2 3.05 3 6.39 4 11.70 5 19.27 6 29.30 7 42.00 8 57.62 9 76.70 10 100.00
    where Y is given by:
    Y=0.00081939V.sup.5−0.020484V.sup.4+0.23352V.sup.3−0.22533V.sup.2+1.1914V  (23)

    (100) The closest Munsell color may then be found by searching the Munsell renotation table as presented in Newall, S. M, D. Nickerson, and D. B. Judd. 1943, “Final Report of the O.S.A. Subcommittee on the Spacing of the Munsell Colors,” Journal of the Optical Society of America 33(7):385-418. The Munsell notation for this color, for example, 7.5PB 8/6, immediately identifies the hue group and hence the appropriate set of mean spectra and dominant eigencolors to use.

    (101) As will be appreciated by those skilled in the art, the Munsell color system is one of many possible color space divisions. Any other color space, such as for example the OSA-UCS and Swedish NCS systems (e.g. Kuehni, R. G. 2003, Color Space and its Divisions: Color Order from Antiquity to the Present, New York, N.Y.: John Wiley & Sons, Chapter 7) may be employed for the purposes of determining the mean spectra and dominant eigencolors of a subset of the color space.

    (102) A further limitation of the approach of Ayala et al. [2006] is that pastel colors (i.e., those as identified as “white” in FIG. 11) may not be correctly classified as one of the ten hue groups. A novel improvement of the approach of Ayala et al. [2006] is therefore to consider all pastels colors as a separate “neutral” hue group and perform principal components analysis on this group. For the purpose of identifying Munsell colors within this group, an example criterion could be, for example, any color with a Munsell chroma value of 2.5 or less.

    (103) F. Multiple Reflections

    (104) From Equation 16, consecutive reflections of light emitted by an illuminant from n surfaces implies:
    R[λ]≈Π.sub.k=1.sup.n(V.sub.0[k][λ]+Σ.sub.j=1.sup.3D[k][j]V[k][j][λ])  (24)

    (105) In principle, this means that the equation has 4.sup.n terms to be summed and multiplied, which become unmanageable after even one reflection when thousands of surfaces may be involved. However, the eigencolors are by definition orthogonal, and so an equivalent equation is:
    R[λ]≈Π.sub.k=1.sup.nV.sub.0[k][λ]+Σ.sub.j=1.sup.3(Π.sub.k=1.sup.nD[k][j]V[k][j][λ])  (25)

    (106) In other words, the mean spectra and dominant eigencolors can be consecutively multiplied for each reflection, and the four terms summed afterwards.

    (107) As noted by Fairman and Brill [2004], it is not strictly necessary to subtract the mean spectrum V.sub.0 before calculating the eigencolors of a set of SRDs. Rather than subtracting the mean spectrum before calculating the eigencolors of the covariance matrix, it is equally valid to calculate the eigencolors of the set of SRDs directly. In doing so, Equation 25 becomes:
    R[λ]≈Σ.sub.j=1.sup.3(Π.sub.k=1.sup.nD[k][j]V[k][j][λ])  (26)
    which is identical in form to the independent multiplication of ITU Rec. 709 triplet values in representing multiple reflections between surfaces.

    (108) ITU Rec. 709 red, green, and blue colors are orthogonal in their own three-dimensional color space, but they cannot be linearly transformed into the n-dimensional eigencolors space. However, FIG. 13 shows an example the reflection of light emitted from a CIE Illuminant E (equal-energy) first by a rose-colored surface described by the RGB triplet [70, 50, 50] and second by a green-colored surface described by the RGB triplet [30, 70, 50]. The “Spectrum” plot shows the result of reconstructing the SRDs of both surfaces and multiplying them on a per-wavelength basis, while the “RGB” plot shows the result of multiplying the two RGB triplet to obtain the triplet [21, 35, 25] (representing a dark green). Apart from differences below 420 nm, the two SRDs are almost identical. It is therefore sufficient to calculate the reflection of light between surfaces in ITU Rec. 709 RGB color space and reconstruct the SRD from the resultant RGB values for each sampled point on any surface using the approach of either Fairman and Brill [2004] or Ayala et al. [2006], or any other approach that enables a physically plausible SRD to be reconstructed from a set of tristimulus values, with or without a mean spectrum.

    (109) It should also be noted that while the preceding analysis has assumed a visible light spectrum of 400 nm to 700 nm for architectural lighting design and analysis purposes, it may trivially be extended to the spectral range of 350 nm to 800 nm to represent the needs of horticultural lighting design and analysis purposes if the set of measured SRDs includes this range.

    (110) G. Spectral Transmittance Reconstruction

    (111) As previously noted, it is reasonable to reconstruct a physically plausible STD of architectural and horticultural glazing products using a natural cubic spline with the RGB triplet values as knots. This can be done by dividing the visible spectrum of 400 nm to 700 nm into three equally-spaced color bands with centers at x.sub.1=475 nm (blue), x.sub.2=550 nm (green) and x.sub.3=625 nm (red), and assigning the corresponding spectral transmittance values x.sub.1=B, y.sub.2=G and y.sub.3=R respectively as spline knots.

    (112) The cubic spline is defined by the equation:

    (113) [ a 1 1 a 1 2 0 a 21 a 2 2 a 2 3 0 a 3 2 a 3 3 ] [ k 1 k 2 k 3 ] = [ b 1 b 2 b 3 ] with : ( 27 ) a 11 = 2 x 1 - x 0 ( 28 ) a 1 2 = a 2 1 = 1 x 1 - x 0 ( 29 ) a 1 1 = 2 x 1 - x 0 ( 30 ) a 2 2 = 2 ( 1 x 1 - x 0 + 1 x 2 - x 1 ) ( 31 ) a 2 3 = a 3 2 = 1 x 2 - x 1 ( 32 ) a 3 3 = 2 x 2 - x 1 ( 33 ) b 1 = 3 ( y 1 - y 0 ) ( x 1 - x 0 ) 2 ( 34 ) b 2 = 3 ( ( y 1 - y 0 ) ( x 1 - x 0 ) 2 + ( y 2 - y 1 ) ( x 2 - x 1 ) 2 ) ( 35 ) b 3 = 3 ( y 2 - y 1 ) ( x 2 - x 1 ) 2 ( 36 )

    (114) Solving for k.sub.1, k.sub.2 and k.sub.3 using the Thomas algorithm, we have:
    c=a.sub.12/a.sub.11  (37)
    d=a.sub.23/(a.sub.22−a.sub.21c)  (38)
    e=b.sub.1/a.sub.11  (39)
    f=(b.sub.2−a.sub.21e)/(a.sub.22a.sub.21c)  (40)
    g=(b.sub.3−a.sub.32f)/(a.sub.33−a.sub.32d)  (41)

    (115) For the forward sweep and, using back substitution:
    k.sub.3=g  (42)
    k.sub.1=f−dk.sub.3  (43)
    k.sub.1=e−ck.sub.2  (44)

    (116) We then have:
    y=(1−t)y.sub.i-1+ty.sub.i+t(1−t)(a.sub.i(1−t)+b.sub.it)  (45)
    where i=2, 3 and:
    t=(x−x.sub.i-1)/(x.sub.i−x.sub.i-1)  (46)
    a.sub.i=k.sub.i-1(x.sub.i−x.sub.i-1)−(y.sub.i−y.sub.i-1)  (47)
    b.sub.i=−k.sub.i-1(x.sub.i−x.sub.i-1)+(y.sub.i−y.sub.i-1)  (48)

    (117) The natural cubic spline has constant slope k.sub.1 below 475 nm and k.sub.3 above 625 nm. The STD values should be clipped to the range of [0, 1] to ensure a physically realizable STD, and should further be scaled such that the sum of its values over the range of 400 nm to 700 nm equals that of the average of the RGB values.

    (118) As will be appreciated by those skilled in the art, any other suitable spline function may be used for the interpolation of a physically plausible spectral transmittance distribution.

    (119) H. Spectral Irradiance Prediction

    (120) Given a virtual architectural or horticultural environment in which the distribution of light is determined within the ITU Rec. 709 RGB color space, there is a need to predict the spectral irradiance distribution for an arbitrary position and view direction within the environment. This is equivalent to positioning and orienting a spectroradiometer with a cosine-correction diffuser in a physical environment.

    (121) A key observation is that the SPD of light reflected from or transmitted by a surface is directly proportional to the SPD the light source multiplied by the SRD or STD of the surface on a per-wavelength basis. This operation can be applied on a recursive basis as the light is reflected from or transmitted by consecutive surfaces. As an example, FIG. 14 shows the SPD of light emitted by a 3500K white light-emitting diode (LED) that has been reflected from a green-colored surface described by the RGB triplet [30, 70, 50].

    (122) A virtual environment may have one or more light sources, each with its own SPD. For example, an interior environment may have a combination of LED module and fluorescent lamp luminaires for which measured SPDs are available. Color-changing LED luminaires may further have two or more color channels (for example, warm white and cool white or red, green, blue and amber), each with its own SPD.

    (123) As another example, daylight consists of direct sunlight and diffuse daylight. Direct sunlight has an SPD described by a CIE D55 daylight illuminant, but the SPD of diffuse daylight varies spatially across the sky dome, with color temperatures from ranging approximately 4000K to 20,000K, depending on sky conditions and solar position. For computational purposes, the sky dome can be divided into, for example, 256 patches and the SPD of each patch calculated using a sky model such as that described by Bruneton, E., and F. Neyret, 2008, “Precomputed Atmospheric Scattering,” Eurographics Symposium on Rendering 2008, wherein the sky model parameters may be obtained from in situ measurements of direct normal solar and diffuse sky irradiance, historical weather data, or a trained artificial intelligence engine in accordance with U.S. Pat. Nos. 9,078,299 and 9,955,552.

    (124) With this, an overview of the method of spectral irradiance prediction is shown in FIG. 15. In step 1500, a direct spectral irradiance is calculated for an arbitrary position and arbitrary direction due to light sources in a virtual model of the environment. In step 1502, an indirect spectral irradiance is calculated for the same position and direction due to reflections from surfaces in the virtual environment, the indirect spectral irradiance calculated as a per-wavelength multiple of the direct spectral irradiance. In step 1504 the direct and indirect spectral irradiances are summed to result in the spectral irradiance distribution.

    (125) An exemplary method of spectral irradiance prediction is expressed in more detail in pseudocode as:

    (126) TABLE-US-00002 Group light sources according to SPD Assign RGB colors to opaque surfaces Assign STDs to transparent surfaces FOR each light source group Calculate group RGB solution ENDFOR Position and orient spectroradiometer Reset spectral irradiance FOR each light source group FOR each light source temporary SPD = light source SPD FOR each transparent surface Multiply temporary SPD by surface STD ENDFOR Add temporary SPD to spectral irradiance ENDFOR Calculate indirect RGB irradiance Scale RGB values Calculate XYZ tristimulus Reconstruct relative SRD Multiply by light source SPD and D65 Scale to indirect irradiance Add indirect SPD to spectral irradiance ENDFOR
    which is shown as a flowchart in FIG. 16.

    (127) In Step 1601, the light sources are grouped according to their common SPDs. This may include electric light sources, individual channels of color-changing luminaires, direct sunlight, and sky patches.

    (128) In Step 1602, the colors of opaque surfaces are assigned ITU Rec. 709 RGB triplets that represent their chromaticity and relative luminance, assuming a reference illuminant. In this embodiment, the reference illuminant is CIE D65. The RGB color is typically chosen by the user of the system that performs the spectral irradiance prediction. The user visually assesses a selection of colors of the virtual environment that are displayed on the computer monitor. If the monitor is properly calibrated, the colors will appear as if they were Munsell or Pantone color swatches viewed under direct sunlight on a clear day, which has a spectral power distribution with a color temperature of 6500K; that is, CIE D65. To generalize this, the illuminant assumed when choosing the RGB colors may be different in other embodiments.

    (129) In Step 1603, either measured STDs or their cubic spline approximations are assigned to transparent surfaces.

    (130) In Steps 1604 through 1606, each light source group is processed.

    (131) In Step 1605, the spatial distribution of light emitted by the group light sources within the virtual environment is calculated in ITU Rec. 709 RGB color space. This step may be implemented using known global illumination techniques, such as photon mapping or the radiosity method as disclosed in Ashdown, I., 1994 Radiosity: A Programmer's Perspective, New York, N.Y.: John Wiley & Sons.

    (132) In Step 1607, a virtual spectroradiometer is positioned and oriented in the virtual environment, in an arbitrary position and arbitrary orientation.

    (133) In Step 1608, the spectral irradiance distribution to be predicted by the virtual spectroradiometer is reset for all wavelengths.

    (134) In Steps 1609 through 1624, each light source group is processed.

    (135) In Steps 1610 through 1616, each light source within the light source group is processed.

    (136) In Step 1611, a temporary SPD is initialized with the light source SPD. This step takes into account the irradiance due to the distance from the point light source, or the irradiance due to a parallel light source such as direct sunlight or a sky patch as disclosed in U.S. Pat. No. 9,955,552.

    (137) In Steps 1612 through 1614, each intervening transparent surface between the light source and the spectroradiometer is processed. This step takes into account Fresnel transmission losses through transparent materials based on the view direction between the spectroradiometer and the light source and the transparent surface normal.

    (138) In Step 1613, the temporary SPD is multiplied on a per-wavelength basis by the transparent surface STD.

    (139) In Step 1615, the temporary SPD, which represents the spectral power distribution of the direct irradiance of the spectroradiometer due to the light source, is added to the spectral irradiance distribution.

    (140) When Step 1616 completes, the spectral irradiance due to all of the light sources visible, possibly through intervening transparent surfaces, to the spectroradiometer have been processed.

    (141) In Step 1617, the indirect ITU Rec. 709 RGB irradiance due to all opaque, translucent and transparent surfaces visible to the spectroradiometer is calculated using known techniques, such as the virtual photosensor method disclosed in U.S. Pat. No. 9,955,552. The result is an RGB triplet representing the CIE chromaticity xy and illuminance Y of the light incident upon the spectroradiometer.

    (142) In Step 1618, the RGB value scaled such that the maximum value is approximately 0.85. This is a heuristic value intended to ensure that the reconstructed relative SRD will not need to be clipped to the range of [0, 1]. The exact value will depend on the mean and first three eigencolors of the set of color samples used to construct the spectral reflectance reconstruction eigensystem.

    (143) In Step 1619, the CIE XYZ tristimulus coordinates are calculated using Equation 1, i.e. an indirect tristimulus irradiance is calculated.

    (144) In Step 1620, a physically plausible relative SRD is calculated using the approach of Fairman and Brill [2004], Ayala et al. [2006], or another suitable spectral reflectance distribution reconstruction method.

    (145) In Step 1621, the relative SRD is multiplied on a per-wavelength basis by the SPD of the light source group and the CIE D65 illuminant.

    (146) In Step 1622, the resultant SPD is scaled such that its integrated irradiance is equal to the average of the indirect RGB irradiance values.

    (147) In Step 1623, the indirect SPD, representing the spectral irradiance distribution of light reflected from all visible opaque and transparent surfaces in the environment, is added to the spectral irradiance.

    (148) I. Daylight Harvesting Controller

    (149) Referring to FIG. 17, an exemplary system 1700 for implementing the method of FIG. 16 is shown. System 1700 includes one or more luminaires 1702 that are installed in an enclosed environment 1704, such as a room. The room may be an office, a living space, a shopping space, a foyer, a transit space or a greenhouse, for example. Some of the luminaires 1702 are grouped into one or more subsets 1705 of the luminaires. The system 1700 includes a daylight harvesting controller 1710 (or lighting controller) that is connected to the luminaires 1702.

    (150) Optionally, one or more sensors 1712 are mounted on the walls, ceiling, floor and/or other permanent structural feature of the environment 1704 via connections 1713. The controller 1710 is also connected to one or more optional sensors 1716 that are mounted on movable structures 1717 and connected to the controller via connections 1718. In this example, the sensor 1716 is located in the vicinity of plants 1720 so as to detect the spectral irradiance distribution incident upon the plant canopy 1721.

    (151) An occupant 1722 is also in the environment 1704.

    (152) Natural light enters the environment via window 1730, which has a transparent surface or a translucent surface. The natural light includes one or more of direct sunlight 1732, diffuse light 1734 from clouds, diffuse light 1736 from areas of the sky without clouds, and light 1738 reflected from nearby buildings 1740 or other outdoor structures.

    (153) The controller 1710 is configured to control the spectral light distribution emitted by the luminaires 1702, either individually or as subsets 1705. The sensors 1712, 1716 detect one or more properties of the light incident upon them, such as irradiance and spectral irradiance. The lighting level in the environment is adjustable by the occupant 1722, via a user interface on the controller 1710.

    (154) In other embodiments, one or more of the connections between the controller 1710 and the luminaires 1702 and sensors 1712, 1716 are wireless.

    (155) FIG. 18 shows the exemplary lighting controller 1710 in more detail. The controller 1710 includes one or more interfaces 1820 via which the luminaires 7602 are connected, one or more interfaces 1822 via which the sensors 1712, 1716 are connected, and one or more user interfaces 1823 via which occupants of the environment 1704 are able to adjust the level (illuminance or irradiance) of the lighting within the environment. The user interface(s) 1823 also allows the user to adjust the emitted SPD of the luminaires 1702 individually, collectively or as a subset 1705. A processor 1824, which may include multiple constituent processors, is connected to the interfaces 1820, 1822, 1823 and also to one or more computer-readable memories 1826 storing a program 1830 in the form of computer-readable instructions, which, when executed by the processor, cause the controller to follow the process described in relation to FIG. 16. The memory 1826 also stores computer-readable data 1832, which is used by the processor 1824 to run the program 1830. The data 1832 is created by the program 1830, by an external program, or both. Data 1832 includes a model of a virtual environment 1834, which corresponds to the environment 1704 and its light sources 1702,1732,1734,1736,1738.

    (156) Minimizing energy consumption while maintaining optimal occupant comfort is basically a multivariate optimization problem, where energy consumption needs to be minimized while respecting the needs of the occupants. Different occupants have different needs, and different tasks require different levels of lighting (illuminance or irradiance, and emitted SPD) depending on the level of detail that must be discerned. Various health and safety regulations specify minimum requirements for lighting depending on the task at hand, and these predetermined requirements include, for example, minimum intensity levels and the ability to accurately distinguish different colors. For architectural applications, the lighting controller 1710 minimizes energy consumption by, for example, turning off the luminaires whenever there is daylight in the room. However, the room occupants may experience visual discomfort working in areas of the room where there is insufficient illumination. The controller therefore has to ensure that a minimum illumination level is provided whenever the room is occupied. For horticultural applications, the controller minimizes energy consumption by, for example, adjusting the SPD of LED-based luminaires for maximum photosynthetically active radiation (PAR) efficacy. However, sun-tolerant plants may exhibit undesirable shade-avoidance behaviors when the ratio of red light (600 nm to 700 nm) to far-red light (700 nm to 800 nm) is too low or there is insufficient blue (400 nm-500 nm) light. The lighting controller therefore ensures that an appropriate balance of blue, red, and far-red light is maintained for the specific plant species under cultivation.

    (157) In an embodiment, the method of FIG. 16 is applied to an architectural environment (such as an office building) or a horticultural environment (such as a greenhouse), wherein a predictive daylight harvesting controller as disclosed in, for example, U.S. Pat. Nos. 9,078,299 and 9,955,522, is used to monitor and predict the spectral power distribution of daylight entering an interior space and modify the spectral power distribution of the electric lighting as required to maintain a comfortable luminous environment for the occupants or an optimal environment for plant health and growth.

    (158) In another embodiment, the method of FIG. 16 is applied to an architectural environment (such as an office building) or an enclosed horticultural environment (such as a greenhouse), wherein a colorimeter or spectroradiometer is used to monitor the spectral irradiance at predetermined positions within the environment, and a predictive lighting controller modifies the spectral power distribution of the electric lighting as required to maintain a comfortable luminous environment for the occupants or an optimal environment for plant health and growth.

    (159) As an example, the occupant of an office space may change the color temperature of color-tunable luminaires. The predictive lighting controller may determine that a predetermined dosage of melanopic flux necessary for proper circadian rhythm synchronization of the occupants will not be achieved with existing spectral power distribution and may therefore modify the spectral power distribution such that the color temperature remain the same but the melanopic content is increased, as disclosed for example in U.S. Pat. No. 8,506,612.

    (160) As another example, a floriculturist may choose to change the ratio of red to far-red radiation (R/FR) at night emitted by horticultural luminaires in a greenhouse or in an enclosed vertical farm to force or delay plant flowering. The method of FIG. 16 may then be used to predict the R/FR ratio at the leaf canopy of the plants, taking into consideration direct light from other light sources and indirect light reflected from surfaces. Of course, any other desired relative spectral power distribution may also be considered, depending upon the SPD requirements of the specific crop.

    (161) As yet another example, a horticulturalist may determine that the circadian or circannual rhythms of a specific plant species being grown in a greenhouse environment, requires a specific sequence of temporal changes in SPD of daylight near dawn and dusk. Based on the predicted weather conditions as determined by the lighting controller, a predetermined sequence of SPD and intensity changes in the irradiation provided by the supplemental electric lighting system may be effected to ensure proper circadian or circannual rhythm entrainment.

    (162) Feedback through photosensors, colorimeters, and spectroradiometer, interpolated data, stored data including historical data, or any combination of these methods can be used to detect changes to spectral power distribution of the light sources, as well as any ambient changes that may affect the environment.

    (163) While the foregoing description has been made largely with reference to human and plant life forms, it is also within the purview of the present invention to use the teachings herein for aquaculture and animal husbandry. In enclosed environments such as fish farms and fish tanks, for example, light with the optimum level (irradiance or illuminance) and spectral content is provided for the health, visual comfort and growth of sturgeon, salmon, clams, mussels etc. In other enclosed aquatic environments, light with the optimum level (irradiance or illuminance) and spectral content is provided for the health and growth of seaweed, for example. In the case of animal husbandry, light with the optimum level (irradiance or illuminance) and spectral content is provided in enclosed environments such as barn areas, for the health and visual comfort of animals such as dairy cattle and egg-producing chickens.

    (164) The embodiments of the invention may be varied in many ways. Such variations are not to be regarded as a departure from the scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the claims.