Light source layout method and system in the design process of a lamp cabinet
By optimizing the lamp source layout using illuminance meter and big data algorithm, the problem of uneven lighting of the lamp cabinet is solved, and the uniformization and adaptive adjustment of the lamp cabinet lighting are achieved.
Patent Information
- Application Number
- CN202510273655.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2045-03-10
AI Technical Summary
The prior art is difficult to ensure that the light distribution on the bottom surface of the lamp cabinet is evenly distributed, and the layout of the lamp source depends on human experience, lacks data support, is inefficient and has poor results.
By collecting illuminance data using an illuminance meter, processing illuminance data in combination with a big data algorithm, the particle swarm optimization algorithm is used to calculate the optimal position of the lamp source, thereby achieving the optimized layout of the lamp source position.
The light uniformity of the lamp cabinet is achieved, and the position of the lamp source is adjusted adaptively, and the natural light unevenness or changes in the use environment is improved.
Smart Images

Figure CN119789283B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of big data analysis, and specifically to a method and system for lamp source layout in the process of lamp cabinet design. Background Art
[0002] Big data algorithms have been increasingly applied in various fields, and using measurement data for optimization calculation has become a new trend. Using big data algorithms can provide new solutions to existing technical problems. For example, in the process of lamp cabinet design, it is difficult to ensure uniform illumination distribution on the bottom surface of the lamp cabinet in the prior art. Specifically, there are the following two problems: First, the lamp sources are often fixed on the top surface of the lamp cabinet and cannot be adaptively adjusted according to the change of natural illuminance in the usage environment background. Second, in the prior art, the lamp source layout often relies on human experience, lacks data support, and has low efficiency and poor effects.
[0003] In recent years, with the continuous development of big data technology, optimizing the lamp source layout through data mining has become a feasible technical means. For example, the illuminance value data measured by an illuminometer can be used to quantitatively measure the uniformity of illumination distribution, thereby guiding the reasonable layout of lamp sources. However, the prior art only studies the analysis and evaluation of illuminance value data, but fails to feedback the illuminance value data to the lamp source layout link, resulting in insufficient utilization of data. In addition, how to make full use of illuminance value data for big data optimization calculation, how to construct an optimization objective function using illuminance value data, and how to reduce the complexity of the optimization variable values to adapt to engineering applications are still technical problems worthy of research. Therefore, in order to overcome the drawbacks of the prior art solutions, it is necessary to collect illuminance data using lighting measurement instruments such as illuminometers, and use big data algorithms to process and calculate the illuminance data, so as to realize the optimized layout of the lamp source positions. Summary of the Invention
[0004] (1) Technical Problems to be Solved
[0005] The purpose of the present invention is to provide a method and system for lamp source layout in the process of lamp cabinet design to achieve the goal of uniform illumination of the lamp cabinet.
[0006] (2) Technical Solutions
[0007] To achieve the above object, the present invention provides a method for lamp source layout in the process of lamp cabinet design, and the method includes the following steps:
[0008] S1, obtaining first data; the first data includes the number N1 of horizontal lamp rails of the grid lamp rail, the number N2 of vertical lamp rails of the grid lamp rail, and the number M of lamp sources; the grid lamp rail is adsorbed on the top surface of the lamp cabinet; the grid lamp rail includes N1 uniformly distributed horizontal lamp rails and N2 uniformly distributed vertical lamp rails; the lamp sources are connected to the grid lamp rail through pulleys.
[0009] S2, calculate the longitudinal division number D2 according to the preset transverse division number D1; the longitudinal division number is equal to the number of light sources divided by the transverse division number; evenly divide the grid light track into D1×D2 track groups to obtain the first track group to the Mth track group; distribute the M light sources to the first track group to the Mth track group to obtain the first light source to the Mth light source and the first moving range to the Mth moving range; the first track group to the Mth track group are separated by adding fixed partitions; the bottom surface of the lamp cabinet is divided into B1×B2 bottom surface partitions according to the preset first bottom surface division number B1 and the second bottom surface division number B2 to obtain the first bottom surface partition to the Rth bottom surface partition; R is equal to the product of B1 and B2; install illuminance meters at the geometric center points of the first bottom surface partition to the Rth bottom surface partition, respectively, recorded as the first illuminance meter to the Rth illuminance meter.
[0010] S3, placing the lamp cabinet in an experimental environment with an ambient illumination of 0 lux, turning on the first light source to the Mth light source respectively, and moving the first light source to the Mth light source within a first moving range to an Mth moving range respectively, recording the illumination values measured by the first illuminance meter to the Rth illuminance meter, and recording them as the first sample illumination group to the Rth sample illumination group.
[0011] S4, placing the lamp cabinet in a use environment, with the first to Mth light sources all in the off state, recording the illuminance measurement values of the first to Rth illuminance meters within a pre-set first measurement time, recorded as the first measured illuminance value to the Rth measured illuminance value; using the particle swarm optimization algorithm to calculate the optimal positions of the first to Mth light sources based on the first sample illuminance group to the Rth sample illuminance group and the first measured illuminance value to the Rth measured illuminance value, recorded as the first optimal position to the Mth optimal position; moving the first to Mth light sources to the first optimal position to the Mth optimal position, respectively.
[0012] Furthermore, the method of allocating M light sources to the first track group to the Mth track group to obtain the first light source to the Mth light source and the first moving range to the Mth moving range includes:
[0013] A mapping relationship between the M light sources and the first track group to the Mth track group is established respectively to obtain the first light source to the Mth light source; the first light source to the Mth light source can be moved on the first track group to the Mth track group respectively; and the moving range of the first light source to the Mth light source is recorded as the first moving range to the Mth moving range respectively.
[0014] Further, the method of placing the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux, turning on the first light source to the Mth light source respectively, and moving the first light source to the Mth light source within the first movement range to the Mth movement range respectively, and recording the illuminance values measured by the first illuminance meter to the Rth illuminance meter, denoted as the first sample illuminance group to the Rth sample illuminance group includes:
[0015] Search for the intersection points of the horizontal lamp rail and the vertical lamp rail within the first movement range to the Mth movement range respectively, to obtain the first intersection point set to the Mth intersection point set; the number of intersection points in the first intersection point set to the Mth intersection point set is denoted as the first intersection number to the Mth intersection number respectively; number the intersection points in the first intersection point set to the Mth intersection point set in the order of the positions of the intersection points, to obtain the intersection point numbers; establish the mapping relationship between the intersection point numbers and the positions of the intersection points.
[0016] Place the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux, turn on the first light source to the Mth light source respectively, and make the first light source to the Mth light source be at the intersection points included in the first intersection point set to the Mth intersection point set respectively, and read the illuminance values measured by the first illuminance meter to the Rth illuminance meter; when the light source is at the intersection point position corresponding to the intersection point number the illuminance value measured by the illuminance meter is denoted as ; where is an integer variable taking values from 1 to R; is an integer variable taking values from 1 to M; is an integer variable taking values from 1 to representing the intersection point number in the th intersection point set; represents the th intersection number; combine to to obtain the th sample illuminance group; Traverse from 1 to R to obtain the first sample illuminance group to the Rth sample illuminance group.
[0017] Further, the method of calculating the optimal positions of the first light source to the Mth light source, denoted as the first optimal position to the Mth optimal position, according to the first sample illuminance group to the Rth sample illuminance group, the first measured illuminance value to the Rth measured illuminance value by using the particle swarm optimization algorithm includes:
[0018] Construct the first illuminance function to the Rth illuminance function according to the first sample illuminance group to the Rth sample illuminance group, the first measured illuminance value to the Rth measured illuminance value; the first illuminance function to the Rth illuminance function is expressed as:
[0019] ;
[0020] Among them, represents the illuminance function; is the measured illuminance value, with the unit of lux.
[0021] Construct an illuminance objective function according to the first illuminance function to the Rth illuminance function; with the goal of minimizing the value of the illuminance objective function, use the particle swarm optimization algorithm to solve and obtain to the optimal values of, denoted as to ; Obtain the corresponding intersection positions of to according to the mapping relationship between the intersection point numbers and the intersection point positions, denoted as the first optimal position to the Mth optimal position; the first optimal position to the Mth optimal position are the optimal positions of the first light source to the Mth light source.
[0022] Furthermore, the method for constructing the illuminance objective function according to the first illuminance function to the Rth illuminance function includes:
[0023] Construct an illuminance objective function according to the first illuminance function to the Rth illuminance function using the illuminance smoothness calculation formula; the illuminance smoothness calculation formula is:
[0024] ;
[0025] Among them, is the illuminance mean function; is the illuminance objective function.
[0026] Based on the same inventive concept, on the other hand, the present invention also provides a light source layout system for the lamp cabinet design process, and the system includes:
[0027] A data reading module for obtaining first data; the first data includes the number N1 of horizontal lamp rails of the grid lamp rail, the number N2 of vertical lamp rails of the grid lamp rail, and the number M of light sources; the grid lamp rail is adsorbed on the top surface of the lamp cabinet; the grid lamp rail includes N1 uniformly distributed horizontal lamp rails and N2 uniformly distributed vertical lamp rails; the light source is connected to the grid lamp rail through a pulley.
[0028] The partition module, connected to the data reading module, is used to calculate the longitudinal division quantity D2 according to the preset horizontal division quantity D1; the longitudinal division quantity is equal to the number of light sources divided by the horizontal division quantity; the grid light rail is evenly divided into D1×D2 track groups, obtaining the first track group to the Mth track group; M light sources are allocated to the first track group to the Mth track group, obtaining the first light source to the Mth light source, and the first moving range to the Mth moving range; the first track group to the Mth track group are partitioned by installing fixed partitions; the bottom surface of the lamp cabinet is divided into B1×B2 bottom surface partitions according to the preset first bottom surface division quantity B1 and the second bottom surface division quantity B2, obtaining the first bottom surface partition to the Rth bottom surface partition; R is equal to the product of B1 and B2; illuminometers are installed at the geometric center points of the first bottom surface partition to the Rth bottom surface partition respectively, denoted as the first illuminometer to the Rth illuminometer.
[0029] The sample illuminance measurement module, connected to the partition module, is used to place the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux, turn on the first light source to the Mth light source respectively, and make the first light source to the Mth light source move within the first moving range to the Mth moving range respectively, record the illuminance values measured by the first illuminometer to the Rth illuminometer, denoted as the first sample illuminance group to the Rth sample illuminance group.
[0030] The optimization layout module, connected to the sample illuminance measurement module, is used to place the lamp cabinet in the usage environment, with the first light source to the Mth light source all in the off state, record the illuminance measurement values of the first illuminometer to the Rth illuminometer within the preset first measurement time, denoted as the first measured illuminance value to the Rth measured illuminance value; calculate the optimal positions of the first light source to the Mth light source by using the particle swarm optimization algorithm according to the first sample illuminance group to the Rth sample illuminance group and the first measured illuminance value to the Rth measured illuminance value, denoted as the first optimal position to the Mth optimal position; move the first light source to the Mth light source to the first optimal position to the Mth optimal position respectively.
[0031] Further, the partition module includes:
[0032] The moving range division module is used to establish the mapping relationships between the M light sources and the first track group to the Mth track group respectively, obtaining the first light source to the Mth light source; the first light source to the Mth light source can move on the first track group to the Mth track group respectively; the moving ranges of the first light source to the Mth light source are denoted as the first moving range to the Mth moving range respectively.
[0033] Further, the sample illuminance measurement module includes:
[0034] The intersection mapping module is used to separately search for the intersections of the horizontal light rails and the vertical light rails within the first moving range to the Mth moving range, obtaining the first intersection set to the Mth intersection set; the number of intersections in the first intersection set to the Mth intersection set is respectively denoted as the first intersection number to the Mth intersection number; the intersections in the first intersection set to the Mth intersection set are numbered in the order of the positions where the intersections are located, obtaining the intersection numbers; a mapping relationship between the intersection numbers and the intersection positions is established.
[0035] The sampling module, connected to the intersection mapping module, is used to place the light cabinet in an experimental environment with an ambient illuminance of 0 lux, separately turn on the first light source to the Mth light source, and make the first light source to the Mth light source be respectively at the intersections included in the first intersection set to the Mth intersection set, and read the illuminance values measured by the first illuminance meter to the Rth illuminance meter; when the light source is at the intersection position corresponding to the intersection number the illuminance value measured by the illuminance meter is expressed as ; where is an integer variable taking values from 1 to R; is an integer variable taking values from 1 to M; is an integer variable taking values from 1 to representing the intersection number in the th intersection set; represents the th intersection number; combining to to obtain the th sample illuminance group; Traverse from 1 to R to obtain the first sample illuminance group to the Rth sample illuminance group.
[0036] Furthermore, the optimization layout module includes:
[0037] The illuminance function construction module is used to construct the first illuminance function to the Rth illuminance function according to the first sample illuminance group to the Rth sample illuminance group, and the first measured illuminance value to the Rth measured illuminance value; the first illuminance function to the Rth illuminance function is expressed as:
[0038] ;
[0039] where represents the th illuminance function; is the th measured illuminance value, with the unit of lux.
[0040] The optimal position calculation module, connected to the illumination function construction module, is configured to construct an illumination objective function according to the first illumination function to the R-th illumination function; aiming at minimizing the value of the illumination objective function, the particle swarm optimization algorithm is used to solve and obtain to the optimal values of, denoted as to ; according to the mapping relationship between the intersection point numbers and the intersection point positions, obtain to the corresponding intersection point positions, denoted as the first optimal position to the M-th optimal position; the first optimal position to the M-th optimal position are the optimal positions of the first light source to the M-th light source.
[0041] Further, the optimal position calculation module includes:
[0042] The illumination objective function construction module is configured to construct an illumination objective function according to the first illumination function to the R-th illumination function by using the illumination smoothness calculation formula; the illumination smoothness calculation formula is:
[0043] ;
[0044] where is the illumination mean function; is the illumination objective function.
[0045] (3)Beneficial effects
[0046] Compared with the prior art, the beneficial effects of the present invention are:
[0047] 1. According to the first sample illumination group to the R-th sample illumination group and the first measured illumination value to the R-th measured illumination value, the first optimal position to the M-th optimal position are calculated by using the particle swarm optimization algorithm, and the first light source to the M-th light source are respectively moved to the first optimal position to the M-th optimal position, so as to realize the adaptive adjustment of the light source positions in the use environment and make the illumination of the lamp cabinet uniform.
[0048] 2. By allocating M light sources to the first track group to the M-th track group, the first moving range to the M-th moving range are obtained, so that the light sources can adaptively adjust their positions within the set range, and thus, when the natural light is uneven or changes in the use environment, the purpose of uniform illumination can still be achieved by adjusting the light source positions. Description of the drawings
[0049] Figure 1 is a flow chart of the light source layout method for the lamp cabinet design process in Embodiment 1 of the present invention;
[0050] Figure 2It is a schematic diagram of the module composition of the light source layout system in the design process of the lamp cabinet according to Embodiment 2 of the present invention. Detailed implementation manners
[0051] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0052] Before giving examples, it is necessary to elaborate on the application scenarios of the inventive concept of the present invention. The present invention is applied to the optimized layout of the light sources in the lamp cabinet.
[0053] Embodiment 1: As Figure 1 shown, this embodiment provides a method for the layout of light sources in the design process of a lamp cabinet. The method includes the following steps:
[0054] S1, obtaining first data; the first data includes the number N1 of horizontal lamp rails of the grid lamp rail, the number N2 of vertical lamp rails of the grid lamp rail, and the number M of light sources; the grid lamp rail is adsorbed on the top surface of the lamp cabinet; the grid lamp rail includes N1 uniformly distributed horizontal lamp rails and N2 uniformly distributed vertical lamp rails; the light source is connected to the grid lamp rail through a pulley.
[0055] Exemplarily, the horizontal length of the top surface of the lamp cabinet is 10 meters, and the vertical length is 6 meters. The number N1 of horizontal lamp rails of the grid lamp rail is obtained as 4, the number N2 of vertical lamp rails of the grid lamp rail is obtained as 6, and the number M of light sources is 4. The grid lamp rail is adsorbed on the top surface of the lamp cabinet through a fixing frame. The 4 horizontal lamp rails are uniformly distributed, and the spacing between each horizontal lamp rail is 2 meters. The 6 vertical lamp rails are uniformly distributed, and the spacing between each vertical lamp rail is 2 meters. The 4 horizontal lamp rails and the 6 vertical lamp rails together form the grid lamp rail. Any horizontal lamp rail and any vertical lamp rail of the grid lamp rail are interconnected. The light source is connected to the grid lamp rail through a pulley.
[0056] S2, calculate the longitudinal division number D2 according to the preset transverse division number D1; the longitudinal division number is equal to the number of light sources divided by the transverse division number; evenly divide the grid light track into D1×D2 track groups to obtain the first track group to the Mth track group; distribute the M light sources to the first track group to the Mth track group to obtain the first light source to the Mth light source and the first moving range to the Mth moving range; the first track group to the Mth track group are separated by adding fixed partitions; the bottom surface of the lamp cabinet is divided into B1×B2 bottom surface partitions according to the preset first bottom surface division number B1 and the second bottom surface division number B2 to obtain the first bottom surface partition to the Rth bottom surface partition; R is equal to the product of B1 and B2; install illuminance meters at the geometric center points of the first bottom surface partition to the Rth bottom surface partition, respectively, recorded as the first illuminance meter to the Rth illuminance meter.
[0057] Exemplarily, the number of horizontal divisions D1=2 is preset. Since M is 4, the number of vertical divisions D2=2 is calculated. The grid light track is evenly divided into 2×2 track groups to obtain the first track group to the fourth track group. The first track group to the fourth track group are separated by adding a fixed partition, and the four light sources are allocated to the first track group to the fourth track group. Among them, the light source allocated to the first track group is recorded as the first light source; the light source allocated to the second track group is recorded as the second light source; the light source allocated to the third track group is recorded as the third light source; and the light source allocated to the fourth track group is recorded as the fourth light source. The first track group to the fourth track group are respectively recorded as the first moving range to the fourth moving range. The first light source can only be moved by the pulley within the first moving range, the second light source can only be moved by the pulley within the second moving range, the third light source can only be moved by the pulley within the third moving range, and the fourth light source can only be moved by the pulley within the fourth moving range. There are two purposes for allocating the four light sources to the first to fourth track groups that are separated from each other: one is to avoid collisions between the light sources and damage to the light sources; the other is to narrow the range of variable values for subsequent optimization analysis and improve calculation efficiency. According to the pre-set first bottom surface division number B1=2 and second bottom surface division number B2=2, the bottom surface of the light cabinet is divided into 2×2 bottom surface partitions to obtain the first to fourth bottom surface partitions. Install illuminance meters at the geometric center points of the first to fourth bottom surface partitions, respectively, and record them as the first to fourth illuminance meters.
[0058] S3, placing the lamp cabinet in an experimental environment with an ambient illumination of 0 lux, turning on the first light source to the Mth light source respectively, and moving the first light source to the Mth light source within a first moving range to an Mth moving range respectively, recording the illumination values measured by the first illuminance meter to the Rth illuminance meter, and recording them as the first sample illumination group to the Rth sample illumination group.
[0059] Exemplarily, place the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux. Turn on the first light source to the fourth light source respectively, and move the first light source to the fourth light source within the first moving range to the fourth moving range respectively. Record the illuminance values measured by the first illuminance meter to the fourth illuminance meter, which are denoted as the first sample illuminance group to the fourth sample illuminance group.
[0060] S4. Place the lamp cabinet in the usage environment, where the first light source to the Mth light source are all in the off state. Record the illuminance measurement values of the first illuminance meter to the Rth illuminance meter within a preset first measurement time, which are denoted as the first measured illuminance value to the Rth measured illuminance value. Calculate the optimal positions of the first light source to the Mth light source using the particle swarm optimization algorithm based on the first sample illuminance group to the Rth sample illuminance group, the first measured illuminance value to the Rth measured illuminance value, which are denoted as the first optimal position to the Mth optimal position. Move the first light source to the Mth light source to the first optimal position to the Mth optimal position respectively.
[0061] Exemplarily, place the lamp cabinet in the usage environment, where the first light source to the fourth light source are all in the off state. Record the illuminance measurement values of the first illuminance meter to the fourth illuminance meter within a preset first measurement time, which are denoted as the first measured illuminance value to the fourth measured illuminance value. The first measurement time is 60 seconds, and the first measured illuminance value to the fourth measured illuminance value is the average of the illuminance measurement values measured by the first illuminance meter to the fourth illuminance meter within the first measurement time. Since in the usage environment, the influence degrees of the bottom surface of the lamp cabinet at different positions by the occlusion shadows are different, there are significant differences in the illuminance measurement values of the first illuminance meter to the fourth illuminance meter. The first measured illuminance value, the second measured illuminance value, the third measured illuminance value, and the fourth measured illuminance value are 103 lux, 53 lux, 100 lux, and 62 lux respectively. This shows that without turning on the light source, the first bottom surface partition and the third bottom surface partition are relatively bright, while the second bottom surface partition and the fourth bottom surface partition are affected by occluding objects such as the lamp cabinet body, and the illuminance is relatively low. To make the illuminance of the first bottom surface partition, the second bottom surface partition, the third bottom surface partition, and the fourth bottom surface partition more uniform, calculate the optimal positions of the first light source to the fourth light source using the particle swarm optimization algorithm based on the first sample illuminance group to the fourth sample illuminance group, the first measured illuminance value to the fourth measured illuminance value, which are denoted as the first optimal position to the fourth optimal position. By moving the first light source to the fourth light source to the first optimal position to the fourth optimal position, the uneven illuminance in the usage environment can be compensated, and the illuminance of the first bottom surface partition, the second bottom surface partition, the third bottom surface partition, and the fourth bottom surface partition can be made more uniform.
[0062] Further, the method for allocating the M light sources to the first track group to the Mth track group to obtain the first light source to the Mth light source, the first moving range to the Mth moving range includes:
[0063] Establish the mapping relationships between the M light sources and the first to the Mth track groups respectively to obtain the first to the Mth light sources; the first to the Mth light sources can move on the first to the Mth track groups respectively; record the moving ranges of the first to the Mth light sources as the first to the Mth moving ranges respectively.
[0064] Exemplarily, establish the mapping relationships between the four light sources and the first to the fourth track groups respectively to obtain the first to the fourth light sources. The first to the fourth light sources can move on the first to the fourth track groups respectively. Record the moving ranges of the first to the fourth light sources as the first to the fourth moving ranges respectively.
[0065] Further, the method of placing the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux, turning on the first to the Mth light sources respectively, and making the first to the Mth light sources move within the first to the Mth moving ranges respectively, and recording the illuminance values measured by the first to the Rth illuminance meters, denoted as the first to the Rth sample illuminance groups, includes:
[0066] Search for the intersection points of the horizontal lamp tracks and the vertical lamp tracks within the first to the Mth moving ranges respectively to obtain the first to the Mth intersection point sets; record the number of intersection points in the first to the Mth intersection point sets as the first to the Mth intersection numbers respectively; number the intersection points in the first to the Mth intersection point sets in the order of the positions of the intersection points to obtain the intersection point numbers; establish the mapping relationship between the intersection point numbers and the positions of the intersection points.
[0067] Exemplarily, search for the intersection points of the horizontal lamp tracks and the vertical lamp tracks within the first to the fourth moving ranges respectively to obtain the first to the fourth intersection point sets. Each of the first to the fourth intersection point sets contains 6 intersection points respectively. The first to the fourth intersection numbers are all 6. Number the intersection points in the first to the fourth intersection point sets in the order of the positions of the intersection points from left to right and from top to bottom to obtain the intersection point numbers. Take the first intersection point set as an example, establish a two-dimensional coordinate axis with the geometric center point on the top surface of the lamp cabinet as the origin, and the scale of the two-dimensional coordinate axis is in meters. The position coordinates of the first intersection point in the first intersection point set are , the position coordinates of the second intersection point are , the position coordinates of the third intersection point are , the position coordinates of the fourth intersection point are , the position coordinates of the fifth intersection point are , the position coordinates of the sixth intersection point are .
[0068] Place the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux. Turn on the first light source to the Mth light source respectively, and place the first light source to the Mth light source at the intersection points included in the first intersection point set to the Mth intersection point set, and read the illuminance values measured by the first illuminance meter to the Rth illuminance meter; when the light source is at the intersection point number corresponding intersection point position, the illuminance value measured by the illuminance meter is expressed as ; where is an integer variable taking values from 1 to R; is an integer variable taking values from 1 to M; is an integer variable taking values from 1 to , representing the intersection point number in the intersection point set; represents the number of intersections; Combine to to obtain the sample illuminance group; Traverse from 1 to R to obtain the first sample illuminance group to the Rth sample illuminance group.
[0069] Exemplarily, place the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux, turn on the first light source, and place the first light source at the intersection points included in the first intersection point set respectively, and read the illuminance values measured by the first illuminance meter to the fourth illuminance meter. Then turn off the first light source, turn on the second light source, and place the second light source at the intersection points included in the second intersection point set respectively, and read the illuminance values measured by the first illuminance meter to the fourth illuminance meter. Then turn off the second light source, turn on the third light source, and place the third light source at the intersection points included in the third intersection point set respectively, and read the illuminance values measured by the first illuminance meter to the fourth illuminance meter. Finally, turn off the third light source, turn on the fourth light source, and place the fourth light source at the intersection points included in the fourth intersection point set respectively, and read the illuminance values measured by the first illuminance meter to the fourth illuminance meter. Finally, obtain the first sample illuminance group to the fourth sample illuminance group. Among them, the first sample illuminance group is , , , . Taking as an example, means that only the first light source is turned on, and the first light source is located at the 1st intersection point position in the first intersection point set when the illuminance value measured by the first illuminance meter. means that only the first light source is turned on, and the first light source is located at the 2nd intersection point position in the first intersection point set When, the illuminance value measured by the first illuminance meter. Similarly, the second sample illuminance group, the third sample illuminance group, and the fourth sample illuminance group will not be elaborated.
[0070] Further, the method for calculating the optimal positions of the first light source to the Mth light source from the first sample illuminance group to the Rth sample illuminance group and the first measured illuminance value to the Rth measured illuminance value by using the particle swarm optimization algorithm, denoted as the first optimal position to the Mth optimal position, includes:
[0071] Construct the first illuminance function to the Rth illuminance function according to the first sample illuminance group to the Rth sample illuminance group and the first measured illuminance value to the Rth measured illuminance value; the first illuminance function to the Rth illuminance function is expressed as:
[0072] ;
[0073] Among them, represents the illuminance function; is the measured illuminance value, with the unit of lux.
[0074] Construct an illuminance objective function according to the first illuminance function to the Rth illuminance function; aiming at minimizing the value of the illuminance objective function, use the particle swarm optimization algorithm to solve for to the optimal values, denoted as to ; obtain the corresponding intersection positions of to according to the mapping relationship between the intersection point numbers and the intersection point positions, denoted as the first optimal position to the Mth optimal position; the first optimal position to the Mth optimal position is the optimal positions of the first light source to the Mth light source.
[0075] Exemplarily, since the first measured illuminance value, the second measured illuminance value, the third measured illuminance value, and the fourth measured illuminance value are 103 lux, 53 lux, 100 lux, and 62 lux respectively, the first illuminance function to the fourth illuminance function are respectively:
[0076] ;
[0077] Among them, the value ranges of are all numerical values among 1, 2, 3, 4, 5, and 6. Construct an illuminance objective function according to the first illuminance function to the fourth illuminance function. Aiming at minimizing the value of the illuminance objective function, use the particle swarm optimization algorithm to solve for the optimal values, and obtain 6, 5, 3, 2。
[0078] Further, the method for constructing the illumination target function according to the first to the R-th illumination functions includes:
[0079] Constructing the illumination target function according to the first to the R-th illumination functions by using an illumination smoothness calculation formula; the illumination smoothness calculation formula is:
[0080] ;
[0081] wherein, is the illumination mean function; is the illumination target function.
[0082] Exemplarily, constructing the illumination target function according to the first to the fourth illumination functions by using the illumination smoothness calculation formula; the illumination smoothness calculation formula is:
[0083] 。
[0084] Embodiment 2: Based on the same inventive concept, as Figure 2 shown, this embodiment also provides a light source layout system for the design process of the lamp cabinet, and the system includes:
[0085] A data reading module, configured to obtain first data; the first data includes the number N1 of horizontal lamp rails of the grid lamp rail, the number N2 of vertical lamp rails of the grid lamp rail, and the number M of light sources; the grid lamp rail is adsorbed on the top surface of the lamp cabinet; the grid lamp rail includes N1 uniformly distributed horizontal lamp rails and N2 uniformly distributed vertical lamp rails; the light sources are connected to the grid lamp rail through pulleys.
[0086] A partitioning module, connected to the data reading module, configured to calculate the number D2 of vertical partitions according to a preset number D1 of horizontal partitions; the number of vertical partitions is equal to the number of light sources divided by the number of horizontal partitions; the grid lamp rail is evenly divided into D1×D2 track groups to obtain the first to the M-th track groups; the M light sources are assigned to the first to the M-th track groups to obtain the first to the M-th light sources and the first to the M-th moving ranges; the first to the M-th track groups are partitioned by installing fixed partitions; the bottom surface of the lamp cabinet is divided into B1×B2 bottom surface partitions according to a preset first bottom surface partition number B1 and a second bottom surface partition number B2 to obtain the first to the R-th bottom surface partitions; R is equal to the product of B1 and B2; illuminometers are installed at the geometric center points of the first to the R-th bottom surface partitions respectively, denoted as the first to the R-th illuminometers.
[0087] A sample illuminance measurement module, connected to the zoning module, is used to place the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux, turn on the first light source to the Mth light source respectively, and move the first light source to the Mth light source within the first moving range to the Mth moving range respectively, record the illuminance values measured by the first illuminance meter to the Rth illuminance meter, and denote them as the first sample illuminance group to the Rth sample illuminance group.
[0088] An optimization layout module, connected to the sample illuminance measurement module, is used to place the lamp cabinet in the usage environment, where the first light source to the Mth light source are all in the off state, record the illuminance measurement values of the first illuminance meter to the Rth illuminance meter within a preset first measurement time, and denote them as the first measured illuminance value to the Rth measured illuminance value; calculate the optimal positions of the first light source to the Mth light source by using the particle swarm optimization algorithm according to the first sample illuminance group to the Rth sample illuminance group and the first measured illuminance value to the Rth measured illuminance value, and denote them as the first optimal position to the Mth optimal position; move the first light source to the Mth light source to the first optimal position to the Mth optimal position respectively.
[0089] Further, the zoning module includes:
[0090] A moving range division module, used to establish the mapping relationships between the M light sources and the first track group to the Mth track group respectively, to obtain the first light source to the Mth light source; the first light source to the Mth light source can move on the first track group to the Mth track group respectively; denote the moving ranges of the first light source to the Mth light source as the first moving range to the Mth moving range respectively.
[0091] Further, the sample illuminance measurement module includes:
[0092] An intersection mapping module, used to search for the intersections of the horizontal lamp tracks and the vertical lamp tracks within the first moving range to the Mth moving range respectively, to obtain the first intersection point set to the Mth intersection point set; denote the number of intersection points in the first intersection point set to the Mth intersection point set as the first intersection number to the Mth intersection number respectively; number the intersection points in the first intersection point set to the Mth intersection point set in the order of the positions of the intersection points to obtain the intersection point numbers; establish the mapping relationship between the intersection point numbers and the positions of the intersection points.
[0093] A sampling module, connected to the intersection mapping module, is used to place the lamp cabinet in an experimental environment with an ambient illuminance of 0 lux, turn on the first light source to the Mth light source respectively, and make the first light source to the Mth light source be at the intersection points included in the first intersection point set to the Mth intersection point set respectively, read the illuminance values measured by the first illuminance meter to the Rth illuminance meter; when the light source is at the intersection point position corresponding to the intersection point number the The illuminance value measured by the illuminometer is expressed as ; where is an integer variable with a value ranging from 1 to R; is an integer variable with a value ranging from 1 to M; is an integer variable with a value ranging from 1 to which represents the intersection number in the intersection point set; represents the number of intersections; Combine to to obtain the sample illuminance group; Traverse from 1 to R to obtain the first sample illuminance group to the Rth sample illuminance group.
[0094] Furthermore, the optimization layout module includes:
[0095] An illuminance function construction module for constructing the first illuminance function to the Rth illuminance function according to the first sample illuminance group to the Rth sample illuminance group, and the first measured illuminance value to the Rth measured illuminance value; The first illuminance function to the Rth illuminance function is expressed as:
[0096] ;
[0097] where represents the illuminance function; is the measured illuminance value, with the unit of lux.
[0098] An optimal position calculation module, connected to the illuminance function construction module, for constructing an illuminance objective function according to the first illuminance function to the Rth illuminance function; With the goal of minimizing the value of the illuminance objective function, use the particle swarm optimization algorithm to solve for to the optimal values, denoted as to ; According to the mapping relationship between the intersection number and the intersection position, obtain to the corresponding intersection positions, denoted as the first optimal position to the Mth optimal position; The first optimal position to the Mth optimal position is the optimal positions of the first light source to the Mth light source.
[0099] Furthermore, the optimal position calculation module includes:
[0100] An illuminance objective function construction module for constructing an illuminance objective function according to the first illuminance function to the Rth illuminance function using the illuminance smoothness calculation formula; The illuminance smoothness calculation formula is:
[0101] ;
[0102] Among them, is the average illuminance function; is the target illuminance function.
[0103] It should be noted that regarding the system in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0104] Finally, it should be noted that 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 perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. The light source layout method in the light cabinet design process is characterized by: The method comprises the following steps: S1, obtaining first data; the first data includes the number N1 of transverse light rails of the grid light rail, the number N2 of longitudinal light rails of the grid light rail, and the number M of light sources; the grid light rail is adsorbed on the top surface of the light cabinet; the grid light rail includes N1 evenly distributed transverse light rails and N2 evenly distributed longitudinal light rails; the light source is connected to the grid light rail through a pulley; any transverse light rail and any longitudinal light rail of the grid light rail are connected to each other; S2, calculate the number of longitudinal divisions D2 according to the preset number of transverse divisions D1; the number of longitudinal divisions is equal to the number of light sources divided by the number of transverse divisions; divide the grid light track evenly into D1×D2 track groups to obtain the first track group to the Mth track group; distribute the M light sources to the first track group to the Mth track group to obtain the first light source to the Mth light source and the first moving range to the Mth moving range; the first track group to the Mth track group are separated by installing fixed partitions; divide the bottom surface of the light cabinet into B1×B2 bottom surface partitions according to the preset first bottom surface division number B1 and the second bottom surface division number B2, to obtain the first bottom surface partition to the Rth bottom surface partition; R is equal to the product of B1 and B2; install illuminance meters at the geometric center points of the first bottom surface partition to the Rth bottom surface partition, respectively, recorded as the first illuminance meter to the Rth illuminance meter; the first light source to the Mth light source can only be moved by pulleys within the first moving range to the Mth moving range, respectively; S3, placing the light cabinet in an experimental environment with an ambient illumination of 0 lux, turning on the first light source to the Mth light source respectively, and moving the first light source to the Mth light source within a first moving range to an Mth moving range respectively, recording the illumination values measured by the first illuminometer to the Rth illuminometer, and recording them as the first sample illumination group to the Rth sample illumination group; S4, placing the lamp cabinet in a use environment, with the first to Mth light sources all in the off state, recording the illuminance measurement values of the first to Rth illuminance meters within a preset first measurement time, recorded as the first measured illuminance value to the Rth measured illuminance value; using the particle swarm optimization algorithm to calculate the optimal positions of the first to Mth light sources according to the first sample illuminance group to the Rth sample illuminance group and the first measured illuminance value to the Rth measured illuminance value, recorded as the first optimal position to the Mth optimal position; moving the first to Mth light sources to the first optimal position to the Mth optimal position, respectively; the value range of the optimization variable in the particle swarm optimization algorithm is the intersection of the horizontal light track and the longitudinal light track within the first moving range to the Mth moving range.
2. The light source layout method in the light cabinet design process according to claim 1, characterized in that: The method of allocating M light sources to the first track group to the Mth track group to obtain the first light source to the Mth light source and the first moving range to the Mth moving range includes: A mapping relationship between the M light sources and the first track group to the Mth track group is established respectively to obtain the first light source to the Mth light source; the first light source to the Mth light source can be moved on the first track group to the Mth track group respectively; and the moving range of the first light source to the Mth light source is recorded as the first moving range to the Mth moving range respectively.
3. The light source layout method in the light cabinet design process according to claim 2, characterized in that: The method of placing the light cabinet in an experimental environment with an ambient illumination of 0 lux, turning on the first light source to the Mth light source respectively, and moving the first light source to the Mth light source within a first moving range to an Mth moving range respectively, and recording the illumination values measured by the first illuminometer to the Rth illuminometer as the first sample illumination group to the Rth sample illumination group includes: Searching for intersections of the horizontal light track and the longitudinal light track in the first moving range to the Mth moving range respectively, obtaining a first intersection set to an Mth intersection set; the number of intersections in the first intersection set to the Mth intersection set is recorded as a first intersection number to an Mth intersection number respectively; numbering the intersections in the first intersection set to the Mth intersection set according to the order of the positions of the intersections, obtaining intersection numbers; and establishing a mapping relationship between the intersection numbers and the intersection positions; Place the light cabinet in an experimental environment with an ambient illumination of 0 lux, turn on the first light source to the Mth light source respectively, and make the first light source to the Mth light source respectively located at the intersections included in the first intersection point set to the Mth intersection point set, and read the illumination values measured by the first illuminometer to the Rth illuminometer; The light source is at the intersection number When the corresponding intersection position is The illuminance value measured by the illuminance meter is expressed as ;in, is an integer variable with a value between 1 and R; is an integer variable with a value between 1 and M; The value range is 1 to Integer variable between The intersection number in the intersection set; Indicates Crossover quantity; to Combine to get Sample illumination group; Traverse 1 to R to obtain the first sample illumination group to the Rth sample illumination group.
4. The light source layout method in the light cabinet design process according to claim 3, characterized in that: The method of using a particle swarm optimization algorithm to calculate the optimal positions of the first light source to the Mth light source according to the first sample illumination group to the Rth sample illumination group and the first measured illumination value to the Rth measured illumination value, recorded as the first optimal position to the Mth optimal position, includes: The first to Rth illumination functions are constructed according to the first to Rth sample illumination groups and the first to Rth measured illumination values; the first to Rth illumination functions are expressed as: ; in, Indicates Illumination function; For the Measure the illumination value in lux; According to the first illumination function to the Rth illumination function, an illumination objective function is constructed; with the minimum value of the illumination objective function as the goal, a particle swarm optimization algorithm is used to solve the obtained to The optimal value of to ;According to the mapping relationship between intersection number and intersection position, to The corresponding intersection positions are recorded as the first optimal position to the Mth optimal position; the first optimal position to the Mth optimal position are the optimal positions of the first light source to the Mth light source.
5. The light source layout method in the light cabinet design process according to claim 4, characterized in that: The method for constructing an illumination target function according to the first illumination function to the Rth illumination function comprises: The illumination target function is constructed by using the illumination smoothness calculation formula according to the first illumination function to the Rth illumination function; the illumination smoothness calculation formula is: ; in, is the illumination mean function; is the illumination objective function.
6. The light source layout system in the light cabinet design process is characterized by: The system comprises: A data reading module, used for acquiring first data; the first data includes the number N1 of transverse light rails of the grid light rail, the number N2 of longitudinal light rails of the grid light rail, and the number M of light sources; the grid light rail is adsorbed on the top surface of the light cabinet; the grid light rail includes N1 evenly distributed transverse light rails and N2 evenly distributed longitudinal light rails; the light source is connected to the grid light rail through a pulley; any transverse light rail and any longitudinal light rail of the grid light rail are interconnected; A partitioning module is connected to the data reading module and is used to calculate the number of longitudinal divisions D2 according to a preset number of transverse divisions D1; the number of longitudinal divisions is equal to the number of light sources divided by the number of transverse divisions; the grid light track is evenly divided into D1×D2 track groups to obtain the first track group to the Mth track group; the M light sources are allocated to the first track group to the Mth track group to obtain the first light source to the Mth light source and the first moving range to the Mth moving range; the first track group to the Mth track group are separated by installing fixed partitions; the bottom surface of the lamp cabinet is divided into B1×B2 bottom surface partitions according to the preset first bottom surface division number B1 and the second bottom surface division number B2, to obtain the first bottom surface partition to the Rth bottom surface partition; R is equal to the product of B1 and B2; illuminance meters are respectively installed at the geometric center points of the first bottom surface partition to the Rth bottom surface partition, recorded as the first illuminance meter to the Rth illuminance meter; the first light source to the Mth light source can only be moved by pulleys within the first moving range to the Mth moving range respectively; A sample illumination measurement module is connected to the partition module and is used to place the light cabinet in an experimental environment with an ambient illumination of 0 lux, turn on the first light source to the Mth light source respectively, and move the first light source to the Mth light source within the first moving range to the Mth moving range respectively, and record the illumination values measured by the first illuminometer to the Rth illuminometer, which are recorded as the first sample illumination group to the Rth sample illumination group; The optimization layout module is connected to the sample illuminance measurement module and is used to place the lamp cabinet in a use environment. The first to Mth light sources are all in a closed state. The illuminance measurement values of the first to Rth illuminance meters within a preset first measurement time are recorded, which are recorded as the first measured illuminance value to the Rth measured illuminance value; the optimal positions of the first to Mth light sources are calculated using a particle swarm optimization algorithm according to the first sample illuminance group to the Rth sample illuminance group and the first measured illuminance value to the Rth measured illuminance value, which are recorded as the first optimal position to the Mth optimal position; the first to Mth light sources are moved to the first optimal position to the Mth optimal position, respectively; the value range of the optimization variable in the particle swarm optimization algorithm is the intersection of the horizontal light track and the longitudinal light track within the first moving range to the Mth moving range.
7. The light source layout system for the light cabinet design process according to claim 6, characterized in that: The partition module comprises: A moving range division module is used to respectively establish a mapping relationship between the M light sources and the first track group to the Mth track group to obtain the first light source to the Mth light source; the first light source to the Mth light source can be moved on the first track group to the Mth track group respectively; the moving range of the first light source to the Mth light source is respectively recorded as the first moving range to the Mth moving range.
8. The light source layout system for the light cabinet design process according to claim 7, characterized in that: The sample illumination measurement module comprises: The intersection mapping module is used to search for the intersections of the horizontal light track and the longitudinal light track in the first moving range to the Mth moving range, respectively, to obtain the first intersection set to the Mth intersection set; the number of intersections in the first intersection set to the Mth intersection set is recorded as the first intersection number to the Mth intersection number respectively; the intersections in the first intersection set to the Mth intersection set are numbered in the order of the positions of the intersections to obtain the intersection numbers; and a mapping relationship between the intersection numbers and the intersection positions is established; The sampling module is connected to the intersection mapping module, and is used to place the light cabinet in an experimental environment with an ambient illumination of 0 lux, turn on the first light source to the Mth light source respectively, and make the first light source to the Mth light source respectively located at the intersections included in the first intersection set to the Mth intersection set, and read the illumination values measured by the first illuminometer to the Rth illuminometer; when the The light source is at the intersection number When the corresponding intersection position is The illuminance value measured by the illuminance meter is expressed as ;in, is an integer variable with a value between 1 and R; is an integer variable with a value between 1 and M; The value range is 1 to Integer variable between The intersection number in the intersection set; Indicates Crossover quantity; to Combine to get Sample illumination group; Traverse 1 to R to obtain the first sample illumination group to the Rth sample illumination group.
9. The light source layout system for the light cabinet design process according to claim 8, characterized in that: The optimized layout module includes: An illumination function construction module is used to construct the first illumination function to the Rth illumination function according to the first sample illumination group to the Rth sample illumination group and the first measured illumination value to the Rth measured illumination value; the first illumination function to the Rth illumination function are expressed as: ; in, Indicates Illumination function; For the Measure the illumination value in lux; The optimal position calculation module is connected to the illumination function construction module and is used to construct an illumination objective function according to the first illumination function to the Rth illumination function; with the minimum value of the illumination objective function as the goal, a particle swarm optimization algorithm is used to solve the problem. to The optimal value of to ;According to the mapping relationship between intersection number and intersection position, to The corresponding intersection positions are recorded as the first optimal position to the Mth optimal position; the first optimal position to the Mth optimal position are the optimal positions of the first light source to the Mth light source.
10. The light source layout system for the light cabinet design process according to claim 9, characterized in that: The optimal position calculation module comprises: The illumination objective function construction module is used to construct the illumination objective function according to the first illumination function to the Rth illumination function using the illumination smoothness calculation formula; the illumination smoothness calculation formula is: ; in, is the illumination mean function; is the illumination objective function.
Citation Information
Patent Citations
Illumination device with automatic dimming function
CN101799130A