Lighting method and computer readable storage medium
By constructing a 3D model of the site and automatically arranging virtual lighting fixtures, and using optical simulation software such as Radiance for ray tracing and supplementary lighting, the problems of insufficient automation and physical optical simulation in existing lighting layout design have been solved, and a scientific and reliable lighting layout has been achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-04
- Publication Date
- 2026-03-27
AI Technical Summary
Existing technologies lack automation and physical optics simulation in lighting layout design, resulting in excessive human intervention, unscientific results, inapplicability to complex scenarios, and insufficient aesthetics and functionality.
By constructing a 3D model of the site, virtual lighting fixtures are automatically arranged, ray tracing and supplementary lighting are performed, the optimal layout is selected based on physical optics simulation, and optical simulation software such as Radiance is used for automated lighting arrangement.
It achieves fully automated lighting layout design, with scientific and reliable results, reduces manual intervention, is suitable for complex scenes, and ensures uniform light distribution and functionality.
Smart Images

Figure CN115438399B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a lighting method and a computer-readable storage medium. Background Technology
[0002] Lighting plays a vital role in building interiors. Good lighting not only enhances architectural decoration and creates atmosphere but also possesses strong functionality, illuminating the interior and stimulating human vision. The arrangement of light fixtures requires careful design. Overly dense arrangement leads to excessive brightness, causing glare and increasing unnecessary electricity costs, while sparse arrangement results in excessive darkness, affecting human visual function and thus impacting building functionality (too dim indoor illumination reduces the work efficiency of office workers or affects sales in commercial buildings). Correct lighting design requires professionals to repeatedly arrange and adjust the light fixtures, running simulations based on physical optics to determine the spatial distribution of lighting in various layouts (including average illuminance, uniformity of illuminance, minimum illuminance, and maximum illuminance on the work surface), ultimately selecting a reasonable layout. This process involves significant manual labor and is time-consuming. For example, a method for pre-arranging indoor lighting fixtures based on BIM technology, as designed in patent application CN107491590A, has the following drawbacks:
[0003] 1) Not an automated process: The entire process of existing technologies, from the creation of the Building Information Modeling (BIM) model to the pre-arrangement of indoor lighting fixtures, is done manually and is not automated. This is not only unscientific and rigorous, but also inefficient and unsuitable for large-scale development scenarios. The pre-arrangement of lighting fixtures involves repeated processes of layout analysis, debugging, re-layout, and re-analysis, which is a huge waste of manpower and time.
[0004] 2) Lack of Physical Optical Reliability: Existing lighting simulation and arrangement technologies lack physical optical simulation, relying solely on simple mathematical formulas to calculate the required number of lights. This presents several problems: a) The number of lights calculated by mathematical formulas can only provide a simple reference and cannot be used as the final basis for lighting arrangement. Light propagation and distribution is a complex nonlinear model that requires simulation software based on ray tracing or radiosity models, and reasonable assumptions about the room's material coefficients are necessary. Using mathematical formulas is unscientific, imprecise, and lacks rigor. b) Even if the number of lights is calculated mathematically, the arrangement of the lights remains uncertain. The aforementioned patent application does not detail how the light arrangement is determined. Uniformly distributed lights are only suitable for square rooms and are unsuitable for real-world room scenarios with various possible shapes. If the lights are not uniformly distributed and their positions are manually selected, some areas will have high illuminance (causing glare) due to high light density, while other areas will have low illuminance (making it difficult to see), resulting in uneven distribution between areas. This not only affects the aesthetics but also the functionality of the entire room. c) Parameters of the lamp other than luminous flux (such as...) were not considered. Figure 1 The influence of the light distribution curve shown. How the luminous flux of a lamp is distributed in space, such as whether the lamp emits light in 360 degrees or only in one direction, will affect the light distribution in its scene. The original technology, which only considered luminous flux when arranging lamps, is very unreasonable.
[0005] 3) Lack of scientific rigor in the presentation of results: Existing technologies use Revit software to simulate the final lighting layout, providing a reference for designers and engineers. However, Revit is not an industry-recognized physically accurate optical simulation software. Its results primarily provide a realistic image, meaning it looks visually appealing, but it does not accurately reflect the physical distribution of light. Using Revit to simulate the final lighting layout fails to allow for a clear understanding of the light distribution in the space after the lighting is installed, thus failing to achieve the goal of predicting the direction of light projection, the illuminance of work surfaces, the uniformity of illuminance, and the limitation of glare.
[0006] The content in the background section is merely technology known to the public and does not necessarily represent existing technology in this field. Summary of the Invention
[0007] In view of one or more deficiencies in the prior art, the present invention provides a lighting arrangement method, comprising:
[0008] S101: Construct or obtain a 3D model of the site;
[0009] S102: Construct virtual lighting fixtures;
[0010] S103: Automatically arrange the virtual lighting fixtures in the three-dimensional model of the site to generate various virtual lighting fixture layouts;
[0011] S104: Automatically add lighting to the various virtual lighting layouts; and
[0012] S105: Automatically select one virtual lighting layout from the various virtual lighting layouts after the supplementary lighting is applied.
[0013] According to one aspect of the present invention, step S101 includes: constructing a three-dimensional model of the site based on actual site information using BIM technology.
[0014] According to one aspect of the present invention, step S102 includes: constructing a virtual luminaire based on the luminous flux and light distribution curves of the virtual luminaire.
[0015] According to one aspect of the invention, the luminous flux and light distribution curves of the virtual luminaire are automatically converted from a luminaire standard information file or manually input.
[0016] According to one aspect of the present invention, step S103 includes: automatically arranging virtual lighting fixtures based on the light-layable areas, non-light-layable areas, ceiling height, and the spacing and starting point of each virtual lighting fixture in the three-dimensional model of the site, to generate multiple virtual lighting fixture layouts.
[0017] According to one aspect of the invention, step S103 further includes: constructing an optical simulation space for the virtual lighting layout based on the optical properties of the materials.
[0018] According to one aspect of the invention, step S104 includes performing the following operations for each virtual lighting layout:
[0019] S104-1: Perform ray tracing on the optical simulation space;
[0020] S104-2: Construct a virtual work surface and obtain the illuminance of the virtual work surface;
[0021] S104-3: Scan the virtual work surface and add illumination to areas where the illuminance is below the threshold;
[0022] S104-4: Perform ray tracing on the optical simulation space after the supplementary lighting, and update the virtual lighting layout.
[0023] According to one aspect of the present invention, wherein step S104-3 includes: automatically scanning the virtual working surface based on the illuminance radiation radius window of the virtual lamp, and supplementing the lamp within the window where the illuminance is below a threshold.
[0024] According to one aspect of the invention, step S104 is further performed repeatedly until the illuminance of the entire virtual working surface is higher than a threshold.
[0025] According to one aspect of the present invention, step S105 includes: sorting the various virtual lighting layouts after supplementary lighting based on an automatic optimization algorithm, and selecting the optimal virtual lighting layout.
[0026] According to one aspect of the invention, the automatic optimization algorithm includes determining the ranking and weight of evaluation metrics based on a dataset and a ranking algorithm.
[0027] According to one aspect of the invention, the evaluation indicators include the average illuminance of the entire field, the standard deviation of illuminance, the proportion of illuminance greater than 300 lux, and the proportion of illuminance greater than 500 lux.
[0028] According to one aspect of the present invention, step S105 further includes: integrating the optimal virtual lighting layout back into the site 3D model, and outputting a light spatial distribution map and a site 3D model after supplementary lighting.
[0029] According to one aspect of the invention, it further includes:
[0030] S106: Arrange the lights according to the virtual lighting layout selected by the automatic optimization algorithm.
[0031] The present invention also provides a computer-readable storage medium including computer-executable instructions stored thereon, which, when executed by a processor, implement the lighting method described above.
[0032] This invention designs an automatic simulation and optimization lighting layout algorithm. It can automatically read the ceiling from a BIM model, automatically arrange lighting in multiple schemes according to different starting points and spacings, and then run the Radiance optical simulation engine to simulate the realistic lighting effect of different automatic lighting fixture layouts based on the physical parameters of the lights. Automatic lighting is also performed in locally dark areas. Finally, the optimal scheme is selected and output based on quantitative standards such as illuminance on the working plane and illuminance uniformity. The entire process is completely automatic and requires no manual intervention. Furthermore, the lighting layout is based on a physical simulation engine, ensuring scientific and reliable results. Designers / electrical engineers can preview the realistic on-site lighting effect through the simulation results, and the selected lighting layout can be directly used for construction. Attached Figure Description
[0033] The accompanying drawings, which form part of this disclosure, are used to provide a further understanding of this disclosure. The illustrative embodiments of this disclosure and their descriptions are used to explain this disclosure and do not constitute an undue limitation of this disclosure. In the drawings:
[0034] Figure 1A schematic diagram of the light distribution curve parameters of the luminaire is shown;
[0035] Figure 2 A flowchart of a lighting arrangement method according to an embodiment of the present invention is shown;
[0036] Figure 3 A flowchart of step S104 of a lighting method according to an embodiment of the present invention is shown;
[0037] Figure 4 An automatic lighting layout flowchart according to an embodiment of the present invention is shown;
[0038] Figure 5 A schematic diagram of an automatic lighting arrangement according to an embodiment of the present invention is shown;
[0039] Figure 6 A schematic diagram of an automatic lamp replenishment system according to an embodiment of the present invention is shown. Detailed Implementation
[0040] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of the invention. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.
[0041] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0042] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows for communication; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0043] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0044] The following disclosure provides many different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the invention. Furthermore, reference numerals and / or letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. In addition, examples of various specific processes and materials are provided in this invention, but those skilled in the art will recognize the application of other processes and / or the use of other materials.
[0045] The lighting method designed in this invention is based on physical simulation for automatic lighting and local supplementary lighting. It automatically quantifies and optimizes multiple lighting layout schemes. The entire process is fully automated and does not require human intervention. Moreover, the lighting layout results are scientific and reliable. Designers / electrical engineers can preview the real on-site lighting effects through the simulation results.
[0046] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0047] Figure 2 A lighting arrangement method according to an embodiment of the present invention is shown, the lighting arrangement method 100 comprising:
[0048] In step S101, a three-dimensional model of the site is constructed or obtained, i.e., a virtualized three-dimensional spatial model. An existing model can be retrieved, or a new model can be created using modeling methods, such as modeling with 3D software, modeling through instrument measurement, or modeling using images or videos. According to a preferred embodiment of the present invention, a three-dimensional model of the site can be constructed based on BIM technology and actual site information. Specifically, architectural design software, such as Revit, ArchiCAD, Microstation, or Tekla, can be used to construct the site BIM model.
[0049] In step S102, a virtual luminaire is constructed. The virtual luminaire is constructed based on the key information of the lighting scheme. A standard optical physical simulation luminaire includes important parameters such as the luminous flux and light distribution curve of the virtual luminaire. Preferably, these parameters can be converted from luminaire standard information files or provided manually. These luminaire standard information files may be, for example, international IEC luminaire standards or national GB luminaire standards.
[0050] In step S103, the ceiling information is first identified based on the 3D site model constructed or obtained in step S101. This ceiling information includes areas where lighting can be placed, areas where lighting cannot be placed, and the floor height. Then, combined with material optical properties, an optical simulation space is constructed. Finally, various virtual lighting layouts are generated based on the virtual lighting fixtures constructed in step S102. The material optical properties include, but are not limited to, the material's color, light absorption rate, and reflectivity. Specifically, the shape of the ceiling area (i.e., the ceiling boundary) and floor height information in the BIM model are automatically identified, and an optical simulation room is constructed based on room optical material assumptions. Then, locations where lighting fixtures cannot be placed in the ceiling area are automatically identified according to the BIM model, such as tall cabinets or sprinkler systems. Finally, based on the ceiling information, the spacing between lighting fixtures, and the starting point of each lighting fixture, various virtual lighting layouts are automatically generated. According to professional rules for lighting fixture arrangement, various lighting fixture layouts are created based on the shape of the ceiling, different lighting fixture spacings, and different lighting fixture starting points. Virtual lighting fixtures are placed in the positions of lighting fixtures in different layouts, automatically avoiding locations or areas where lighting fixtures cannot be placed.
[0051] In step S104, automatic supplementary lighting is applied to the generated virtual lighting layouts. The environment within buildings is complex, and different locations may have different lighting requirements. Therefore, the generated virtual lighting layouts need to be supplemented with appropriate lighting based on their lighting effects. According to a preferred embodiment of the present invention, as... Figure 3 The flowchart shown performs the following operations for each virtual lighting fixture layout:
[0052] In step S104-1, ray tracing is performed on the optical simulation space, for example, using physical ray tracing through the architectural lighting environment simulation software Radiance. Radiance is a reverse ray tracing engine optimized with the Monte Carlo algorithm, widely used in architectural lighting simulation and analysis, and the generated images closely resemble the real physical lighting environment. Other lighting environment simulation software, such as Ecotect and Sunshine, can also be used as needed, as they can perform comprehensive simulation analysis of architectural lighting environments under conditions of natural and artificial lighting. Furthermore, Radiance can be combined with the latest acceleration algorithms to further accelerate the computation and shorten the computation time.
[0053] In step S104-2, a virtual work surface is constructed, and the lighting distribution results of each virtual luminaire layout are obtained, such as the illuminance of the virtual work surface. Illuminance refers to the degree to which an object is illuminated, expressed as the luminous flux received per unit area. The illuminance is simulated using software, and the obtained illuminance value is the theoretical value under optimal light source conditions. Due to factors such as the reflectors and light sources of the luminaires, the theoretical value and the actual value will have some difference.
[0054] In step S104-3, the constructed virtual work surface is scanned, and the illuminance of each region is compared with the threshold. Dark areas (areas with a certain area ratio lower than the illuminance standard) are identified, and virtual lamps are added to increase the illuminance of these areas; or, overly bright areas are identified, and virtual lamps are removed to reduce the illuminance of these excessive areas. According to a preferred embodiment of the present invention, the virtual work surface can be automatically scanned based on the illuminance radiation radius window of the virtual lamps, and lamps can be added within the window where the illuminance is lower than the threshold.
[0055] In step S104-4, ray tracing is performed again on the optical simulation space after the supplementary lighting to update the virtual lighting layout. Specifically, using the initial virtual lighting positions and the subsequent added or removed virtual lighting positions, a second Radiance physics simulation is run to update the lighting distribution results of the lighting layout. If necessary, the above steps can be repeated multiple times, changing the lighting positions, performing ray tracing, and updating the virtual lighting layout to obtain a more ideal solution.
[0056] According to a preferred embodiment of the present invention, steps S104-1 to S104-4 are used to supplement the lighting of various virtual lighting layouts. Step S104 is repeated until the illuminance of the entire virtual work surface exceeds a threshold. Then, in step S105, a virtual lighting layout is selected from the supplemented layouts according to preset criteria. Specifically, a multi-dimensional evaluation is performed according to preset spatial lighting evaluation criteria (e.g., average illuminance of the work surface, lighting uniformity, glare ratio, etc.) to evaluate each layout scheme after supplementation, and the lighting layout scheme that best matches the ideal lighting spatial distribution is selected. The simulated lighting of the final scheme is integrated back into the BIM model, and a light spatial distribution map and a three-dimensional site model containing optimized lighting layout information are output. According to a preferred embodiment of the present invention, based on an automatic optimization algorithm, the various virtual lighting layouts after supplementation are sorted, and the optimal virtual lighting layout is selected. A ceiling lighting layout diagram is generated, which can be directly used for construction.
[0057] The automatic optimization algorithm includes determining the ranking and weight of evaluation indicators based on the dataset and ranking algorithm. Specifically, the automatic optimization algorithm aims to select the optimal layout from all possible virtual lighting layouts for output. The most important part of this process is ranking the schemes. According to a preferred embodiment of the present invention, firstly, four most important evaluation indicators for evaluating the quality of lighting schemes are determined according to lighting review standards. These four evaluation indicators are: meanLux of the overall illuminance, stdLux of the illuminance standard deviation, ratioLuxLT300 of the proportion of illuminance greater than 300 lux, and ratioLuxLT500 of the proportion of illuminance greater than 500 lux. These four evaluation indicators can be interpreted as: 1) whether the target space is bright enough overall; 2) whether the illuminance of the target space is uniform, and whether there are cases of excessive brightness and excessive darkness simultaneously, even though the average illuminance is high; 3) whether there are very dark areas in the target space (affecting visual function); 4) whether there are areas in the target space with low illuminance (not affecting visual function, but affecting the perception).
[0058] The importance ranking of these four evaluation indicators is crucial, as is their corresponding weighting. Regarding the ranking and weighting of the four evaluation indicators, according to a preferred embodiment of the present invention, a dataset of optimal results obtained by lighting experts manually ranking multiple schemes (e.g., 50) can be created. Based on this dataset, the importance weights of the four evaluation indicators are obtained through a pair-wise ranking algorithm, thus yielding the final corrected ranking and selection algorithm. Using this algorithm, the illuminance calculated at each sensor location in the scheme can be automatically identified, the values of the four parameters can be calculated, and finally, the optimal result can be automatically ranked and selected.
[0059] In summary, through steps S101-S105, automatic lighting arrangement is achieved. According to a preferred embodiment of the present invention, the lighting arrangement method 100 can be integrated into the Radiance optical simulation engine for automatic execution. The entire process requires no manual intervention, and the lighting arrangement is based on a physical simulation engine, resulting in scientifically reliable results. Preferably, the optimal virtual lighting layout can also be integrated back into the site's three-dimensional model, outputting a light spatial distribution map and a three-dimensional model of the site after supplementary lighting. Finally, in step S106, lighting is arranged according to the virtual lighting layout selected by the automatic optimization algorithm.
[0060] Figure 4 This diagram illustrates an embodiment of the automatic lighting layout process of the present invention. First, a BIM model of the scene is constructed using Revit software. Then, simulated lighting fixtures are built. Next, the ceiling boundaries and room optical material properties are acquired to identify areas where lighting cannot be installed and to construct an optically simulated room. Then, based on the areas of the ceiling where lighting can be installed, different fixture spacing, and different starting points, various fixture arrangements are generated, automatically producing lighting layout 1, lighting layout 2…lighting layout N. For each lighting layout, physical ray tracing, dark area supplementary lighting, and secondary physical simulation are performed to obtain the final lighting layout. Finally, based on professional lighting evaluation standards, the optimal lighting layout is selected after multi-dimensional evaluation, and a preview of the light space distribution based on physical simulation, as well as a BIM model containing the optimized lighting layout information, are output.
[0061] The following is a detailed description of automatic lighting and lighting strategies.
[0062] Figure 5 The diagram illustrates an embodiment of the automatic lighting layout of the present invention. First, based on the shape and size of the room ceiling, the algorithm generates multiple lighting layouts according to different starting points and different lighting distances. Figure 5The image shows the illuminance evaluation results for six lighting fixture layouts on the work surface. The fixtures are arranged in six regular patterns: one mineral wool board spaced apart in the X direction and two mineral wool boards spaced apart in the Y direction, or two mineral wool boards spaced apart in the X direction and one mineral wool board spaced apart in the Y direction. The lighting method of this invention can automatically avoid necessary obstacles and generate lighting fixture layouts according to the above six rules. Then, the Radiance simulation engine is automatically started to simulate and calculate each layout, outputting the falsecolor evaluation results of the work surface illuminance. The orange squares arranged horizontally and vertically represent the simulated lighting fixture positions, and the light yellow cuboid on the upper right represents automatically identified ceiling obstacles (i.e., areas where lighting cannot be placed; the lighting arrangement will automatically avoid this area). The illuminance level at each point on the work surface is represented by color (see the color bar on the far right for the relationship between illuminance and color): blue represents darker areas, yellow represents brighter areas, and red represents overly bright areas. In actual projects, room layouts are often complex shapes, and simple lighting fixture arrangements often overlook some boundaries and corners, resulting in dark areas (this is also where manual lighting can go wrong). The presence of dark areas can limit the visual function of people in these areas, thereby affecting the functionality of the space (for example, customers cannot see the goods on the shelves in a commercial space, resulting in lost sales), and may even cause safety problems (for example, the area is too dark and people cannot see clearly and fall).
[0063] To avoid the dark area, Figure 6 The diagram illustrates automatic lamp replenishment. After the illuminance simulation on the working plane is completed, based on the window scanning method, according to the illuminance radiation radius window of a lamp (e.g., ... Figure 6 (The box in the lower left image) automatically scans all possible locations for placing lights (such as...) Figure 6 In the top left and top right images, the red dots represent the locations of the light fixtures. Dark areas (such as areas with illuminance below the standard) are detected, and lights are automatically added to the dark areas. Figure 6 In the top left and top right images, the black borders represent the room's floor plan, and the dots represent the locations of the light fixtures. The top left image shows the light fixture locations before the additional lighting was applied, and the top right image shows the locations after the additional lighting was applied. The bottom left and bottom right images represent the quantitative evaluation results of the illuminance distribution automatically generated by the lighting method. Blue areas represent dark areas, yellow areas represent bright areas, and green areas represent areas of moderate brightness. If the window scan is in a bright area, no additional lighting will be applied; if the window scan is in a dark area, additional lighting will be applied. The illuminance distribution map will be updated after additional lighting (e.g., ...). Figure 6 (As shown in the lower right image). After a complete scan and continuous iteration, all dark areas will be illuminated to ensure that there are no dark areas and the entire target area is evenly illuminated.
[0064] The technical solution of this invention is an end-to-end process that directly reads the BIM 3D model available from the site and finally outputs a model with the optimal lighting layout (virtual lighting fixtures are already placed in the model, and the parameters of all lighting fixtures are automatically set). The automatic lighting placement and optimization algorithm is developed using Revit API code and mainly includes three parts: the automatic lighting placement algorithm (such as...) Figure 5 ), automatic lamp replacement algorithm (such as Figure 6 The system utilizes both a physics simulation engine and an automatic optimization algorithm. Each algorithm has been described in detail above. The entire process is fully automated and requires no human intervention. Furthermore, the lighting layout is based on a physics simulation engine, ensuring scientifically reliable results. Designers / electrical engineers can preview the actual lighting effects on-site using the simulation results, and the selected lighting layout can be directly used for lighting installation.
[0065] The present invention also provides a computer-readable storage medium including computer-executable instructions stored thereon, which, when executed by a processor, implement the automatic lighting method as described above.
[0066] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A lighting arrangement method, comprising: S101: Construct or obtain a 3D model of the site; S102: Construct virtual lighting fixtures; S103: Automatically arrange the virtual lighting fixtures in the three-dimensional model of the site to generate various virtual lighting fixture layouts; S104: Automatically add lights to the various virtual lighting layouts; Step S104 includes performing the following operations for each virtual lighting layout: S104-1: Ray tracing in an optical simulation space; S104-2: Construct a virtual work surface and obtain the illuminance of the virtual work surface; S104-3: Scan the virtual work surface and add lighting in areas where the illuminance is below a threshold; S104-3 includes: automatically scanning the virtual work surface based on the illuminance radiation radius window of the virtual lamp and adding lighting in the window where the illuminance is below a threshold. Remove lights within windows where illuminance exceeds the threshold; S104-4: Perform ray tracing on the optical simulation space after the supplementary lighting, and update the virtual lighting layout; Repeat step S104 until the illuminance of the entire virtual work surface is higher than the threshold; and S105: Automatically select one virtual lighting layout from the various virtual lighting layouts after the supplementary lighting is applied.
2. The lighting method as described in claim 1, wherein step S101 includes: Based on BIM technology, a three-dimensional model of the site is constructed according to the actual site information.
3. The lighting method as described in claim 1, wherein step S102 includes: Virtual luminaires are constructed based on their luminous flux and light distribution curves.
4. In the lighting method as described in claim 3, the luminous flux and light distribution curves of the virtual luminaire are automatically converted from the luminaire standard information file or manually input.
5. The lighting method as described in claim 1, wherein step S103 includes: Based on the areas where lights can be placed, areas where lights cannot be placed, ceiling height, and the spacing and starting point of each virtual light fixture in the three-dimensional model of the site, the virtual light fixtures are automatically arranged to generate a variety of virtual light fixture layouts.
6. The lighting method as described in claim 5, wherein step S103 further includes: Based on the optical properties of materials, an optical simulation space for the virtual lighting layout is constructed.
7. The lighting method according to any one of claims 1-6, wherein step S105 comprises: Based on an automatic optimization algorithm, the various virtual lighting layouts after the supplementary lighting are sorted, and the optimal virtual lighting layout is selected.
8. The lighting method as described in claim 7, wherein the automatic optimization algorithm includes determining the ranking and weight of evaluation indicators based on the dataset and the ranking algorithm.
9. The lighting method as described in claim 8, wherein the evaluation indicators include the average illuminance of the entire field, the standard deviation of illuminance, the proportion of illuminance greater than 300 lux, and the proportion of illuminance greater than 500 lux.
10. The lighting method as described in claim 7, wherein step S105 further comprises: The optimal virtual lighting layout is integrated back into the site's 3D model, and a light spatial distribution map and a site 3D model after supplementary lighting are output.
11. The lighting method as described in claim 7, further comprising: S106: Arrange the lights according to the virtual lighting layout selected by the automatic optimization algorithm.
12. A computer-readable storage medium comprising computer-executable instructions stored thereon, the executable instructions, when executed by a processor, implementing the lighting method as described in any one of claims 1-11.
Citation Information
Patent Citations
Optimization method of streetlamp layout
CN104517163A
Method for pre-arranging indoor lighting fixture based on BIM technology
CN107491590A