A method and system for batch analysis of optical data
By designing an optical data batch analysis method, the performance parameters comparison and in-depth analysis of multiple optical accessories of the same type are solved, and the problem of difficult to efficiently compare and obtain errors in the prior art is improved, and the success rate and efficiency of optical design are improved.
Patent Information
- Application Number
- CN202411561300.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-11-04
AI Technical Summary
The prior art is difficult to efficiently compare parameters of multiple optical accessories of the same type, and it is impossible to directly obtain the error size and source of error.
By designing an optical data batch analysis method, batch introduction and in-depth analysis of basic optical parameters are realized, optical analysis diagrams are generated, the difference values between optical devices are compared, and their quality grades are evaluated.
The performance parameters comparison of multiple optical accessories of the same type is realized, errors are quickly discovered and corrected, which improves the success rate of optical design, shortens the project development cycle, and reduces development costs.
Smart Images

Figure CN119149500B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical data processing, and in particular to an optical data batch analysis method and system. Background Art
[0002] At present, the goniophotometer light distribution system and optical design software can only process single optical data and generate single light distribution curve. It is difficult to quantify and compare two or more different optical data in the goniophotometer light distribution system and optical design software. In fact, after batch production of multiple optical accessories of the same type, multiple optical accessories of the same type need to be compared to ensure the consistency of the performance of the optical accessories.
[0003] At present, only one optical accessory can be tested once to obtain its basic optical parameters such as beam angle and light intensity distribution. Parameter comparison of multiple optical accessories requires additional calculations or manual comparisons. It is impossible to directly and efficiently compare and obtain the size of the error, and it is also difficult to determine the source of the error. Summary of the invention
[0004] In view of the above defects, through comprehensive application and design, and specific conversion, the batch import of basic optical parameters is realized, and an optical depth analysis method and system are proposed, which is convenient for designers to compare the performance parameters of multiple optical accessories of the same type at the same time, and to discover errors and correct them as soon as possible. Therefore, an optical depth analysis method and system are proposed.
[0005] In order to achieve the above-mentioned object of the invention, in a first aspect, the present invention provides a method for batch analysis of optical data, comprising the following steps:
[0006] Obtain IES files of several similar optical devices and obtain optical parameters of several similar optical devices;
[0007] Extracting part of the parameters from the optical parameters as the preferred parameter data according to a preset interval, or expanding the optical parameters to obtain the preferred parameter data;
[0008] The optimal parameter data is normalized to generate an optical analysis diagram of each optical device;
[0009] The difference values between the optical components are obtained based on the optical analysis diagram, and the difference values are compared with the preset judgment threshold to obtain the quality level of each optical component.
[0010] In the above processing, after obtaining the optical parameters, batch import of data can be realized. After batch calculation, performance parameter comparison of multiple optical accessories of the same type can be carried out. Furthermore, the data difference between the designed optical theoretical data and the actual processed optical devices can be displayed in detail. This difference can be used to correct batches of optical accessories in optical design, thereby improving the success rate of optical design, avoiding repeated modifications, shortening the project development cycle and reducing development costs.
[0011] Preferably, the IES files of several similar optical devices are obtained by batch reading, including the following steps:
[0012] Import IES files one by one,
[0013] When obtaining one of the IES files, only numerical data is retained and other types of data in the IES file are deleted. The numerical data is a two-dimensional array.
[0014] Find the number of slices and the amount of data in each slice from the first or second row of numerical data;
[0015] Starting from the third row of the numeric data, the data is copied to the local computer in sequence, and the copied numeric data is converted into a new two-dimensional array. The new two-dimensional array has the number of slices as the number of rows and the amount of data in each slice as the number of columns.
[0016] A specific method for extracting optical performance parameters from IES files is given by parsing IES files. The two-dimensional array in the original IES files is converted into a unified format. The data in IES files obtained by different test instruments can be unified into one format, which is convenient for subsequent calculation and comparison.
[0017] Preferably, extracting some parameters from the optical parameters as preferred parameter data at preset intervals includes extracting data at intervals of N numbers in the row direction of the new two-dimensional array, and / or extracting data at intervals of M numbers in the column direction of the new two-dimensional array, where N and M are both natural numbers, and the extracted two-dimensional array is the preferred parameter data. Considering that there are many optical performance parameters in the IES file and the amount of calculation is large, but in practice it is not necessary to calculate all the data, extracting some data for calculation, and the obtained optical analysis diagram is sufficient to reflect the performance of the optical accessories, therefore, a method for extracting some optical parameters is provided.
[0018] Preferably, the value range of N is 1 to 8, where:
[0019] For optical accessories with beam angles of 0° to 24°, N=1;
[0020] For optical accessories with beam angles of 24° to 36°, N=2;
[0021] For optical accessories with a beam angle of 36° to 45°, N=3;
[0022] For optical accessories with a beam angle of 45° to 60°, N=4;
[0023] For optical accessories with a beam angle of 60° to 90°, N=5;
[0024] For optical accessories with beam angles of 90° to 120°, N=6;
[0025] For optical accessories with a beam angle of 120° to 150°, N=7;
[0026] For optical accessories with beam angles greater than 150°, N=8.
[0027] Taking into account that although extracting some parameters is beneficial to saving computing power and improving analysis efficiency, there is no universal standard for the intervals at which data is extracted for different optical accessories. Therefore, according to the different beam angles of the optical accessories, a setting for the number of intervals for extracting distributed parameters in the row direction is provided, which strikes a balance between saving computing power and improving analysis accuracy, and provides a reference range.
[0028] Preferably, the expansion of the optical parameters includes copying the previous data in the row direction and / or column direction of the two-dimensional array, inserting the copied new data between the previous data and the subsequent data, and increasing the number of optical parameters to the preset number of rows and columns. In the actual batch import of IES file data, there is not only the situation of extracting part of the data for calculation, but also the need to interpolate and add data so that the batch imported IES optical data have the same number of rows and columns. When the number of rows and columns of the two-dimensional data is insufficient, the rows and columns are inserted by copying the data for expansion. This method makes the inserted values conform to the actual detection situation, and the amount of data is also increased.
[0029] Preferably, the normalization process includes: converting the actual luminous flux in the preferred parameter data to obtain the pre-processed light intensity value under the condition of 1000lm luminous flux, and generating the optical analysis diagram of each optical device according to the pre-processed light intensity value. Even for the same type of optical devices, when designing light distribution, there is no objective reference without a unified luminous flux, and no comparison can be made. Therefore, it is necessary to convert the optical parameters to 1000lm luminous flux, perform normalization process, and compare them under the premise of 1000lm luminous flux to obtain relatively accurate data.
[0030] Preferably, the optical analysis diagram includes a candela diagram, a spot diagram, an illumination distribution diagram and a light intensity distribution data diagram.
[0031] Preferably, the calculations performed to generate the optical analysis diagrams of each optical device include: beam angle calculation, initial analysis reference plane calculation and UGR height-to-height ratio calculation, and the calculated optical parameters include the light intensity, illumination, light spot, beam angle, light efficiency, brightness, luminous flux, K value and UGR of the optical device.
[0032] Preferably, the quality level of each optical device is determined based on the light intensity difference rate.
[0033] The light intensity difference rate is 0% to 1%, and the quality level is the best level;
[0034] The light intensity difference rate is 1% to 3%, and the quality grade is better;
[0035] The light intensity difference rate is 3% to 10%, and the quality grade is qualified;
[0036] The light intensity difference rate is 10% to 20%, and the quality grade is unqualified.
[0037] In a second aspect, the present invention provides an optical data batch analysis system, comprising an optical data acquisition module, an analysis module and a data output module.
[0038] The optical data acquisition module is used to obtain IES files of several similar optical devices;
[0039] The analysis module is used to obtain the quality level of each optical device by using any one of the above optical data batch analysis methods;
[0040] The data output module is used to output the quality grade of the optical device.
[0041] In a third aspect, the present invention provides an optical data batch analysis software, including a data acquisition module, a data processing module and an image display module.
[0042] The data acquisition module acquires IES files of a number of similar optical devices to obtain optical data of a number of similar optical devices;
[0043] The data processing module is used to extract part of the parameters from the optical parameters as the preferred parameter data according to a preset interval, or to expand the optical parameters to obtain the preferred parameter data;
[0044] The image display module is used to generate light intensity analysis diagrams of several similar optical devices on the same interface according to the preferred parameter data.
[0045] Preferably, the data processing module is also used to generate a total light distribution data table, calculate data corresponding to the candela diagram, calculate data corresponding to the spot diagram, illumination analysis, light intensity data analysis, brightness data analysis, mold processing and design difference analysis and generate UGR tables.
[0046] Preferably, the software uses normalized calculation to convert the light intensity values of several IES files, calculates the light intensity data of each lamp in each direction when it is 1000lm, and takes 1000mm as the receiving surface of the light spot.
[0047] The conversion formula for light intensity is:
[0048]
[0049] in, is the converted light intensity value, is the sum of the luminous flux of the annuli, is the original light intensity value, i is the direction value of the data measured on each section, and its value range is 0 to 180.
[0050] Preferably, the calculations performed by the data processing module include beam angle calculation, initial analysis reference plane calculation and UGR height ratio calculation, and the calculated optical parameters include light intensity, illumination, light spot, beam angle, light effect, brightness, luminous flux, K value and UGR of the optical device.
[0051] Preferably, the data processing module is also used to reset the vertical angle interval and the maximum vertical angle, reselect the analysis benchmark, and obtain new light intensity distribution data and difference rate.
[0052] Compared with the prior art, the beneficial effect of the present invention lies in that after obtaining the optical parameters, the method of the present invention can realize batch import of data, and after batch calculation, it can compare the performance parameters of multiple optical accessories of the same type, and show the data difference between the designed optical theoretical data and the actual processed optical devices in detail. This difference is used to correct the batch of optical accessories in the optical design, thereby improving the success rate of the optical design, avoiding repeated modifications, shortening the project development cycle and reducing the development cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a flow chart of a method for batch analysis of optical data in Example 1;
[0054] Figure 2 This is an example of IES file data in Example 1;
[0055] Figure 3 is a schematic diagram of spot diagram comparison in Example 1;
[0056] Figure 4 is a schematic diagram for comparing the illumination distribution diagrams of Example 1;
[0057] Figure 5 This is a main interface diagram of an optical data batch analysis software in Example 5;
[0058] Figure 6 It is the illumination distribution page diagram in Example 5;
[0059] Figure 7 is a schematic diagram of the average value calculation under spherical coordinates in Example 6;
[0060] Figure 8 is an optical light distribution curve diagram of two lamps in Example 6;
[0061] Fig. 9 This is a graph of equal luminous flux distribution of the evaluated optics and the standard optics under 1000 lm in Example 6. DETAILED DESCRIPTION
[0062] The present invention is further described in detail below in conjunction with test examples and specific implementation methods. However, this should not be understood as the scope of the above subject matter of the present invention being limited to the following embodiments, and all technologies realized based on the content of the present invention belong to the scope of the present invention.
[0063] Unless otherwise specified, in the description of the specific embodiments of the present invention, the terms indicating the orientation or position relationship such as "up", "down", "left", "right", "center", "inside", "outside", etc. are all based on the expression of the orientation or position relationship shown in the drawings, or are the orientation or position relationship when the invented product / equipment / device is usually used. These terms of orientation or position relationship are only for the convenience of describing the scheme of the present invention or simplifying the description in the specific embodiments, so as to facilitate the technicians to quickly understand the scheme, and do not indicate or imply that a specific device / component / element must have a specific orientation, or be constructed and operated in a specific position relationship, and therefore cannot be understood as a limitation on the present invention.
[0064] In addition, if the terms "horizontal", "vertical", "overhanging", "parallel" and the like appear, it does not mean that the corresponding devices / components / elements are required to be absolutely horizontal or vertical or overhanging or parallel, but may be slightly tilted or have deviations. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but may be slightly tilted. Alternatively, it can be simplified to mean that the corresponding devices / components / elements are set in directions such as "horizontal", "vertical", "overhanging", "parallel", etc., and can have an error / deviation of ±10% relative to the corresponding direction setting, more preferably an error / deviation within ±8%, more preferably an error / deviation within ±6%, more preferably an error / deviation within ±5%, and more preferably an error / deviation within ±4%. As long as the corresponding device / component / element is within the error / deviation range, it can still achieve its role in the scheme of the present invention.
[0065] In addition, the expressions “first”, “second”, “third”, etc., which appear in the terms, are merely used to distinguish the description of the same or similar components and should not be understood as emphasizing or implying the relative importance of specific components.
[0066] In addition, in the description of the embodiments of the present invention, "several", "plurality" and "a number" represent at least 2. It can be any number such as 2, 3, 4, 5, 6, 7, 8, 9, and even more than 9.
[0067] In addition, in the description of the technical solution of the present invention, unless otherwise clearly specified / defined / restricted, the terms "set", "install", "connect", "connected", "provided with", "laid", and "arranged" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection, and can be welding, riveting, bolting, threading, and other commonly used connection means in the field. This connection can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection, or an indirect connection through an intermediate medium, and it can be the internal connection of two elements.
[0068] Example 1
[0069] A method for batch analysis of optical data, the flow chart is as follows Figure 1 As shown, the following steps are included:
[0070] Obtaining IES files of a number of similar optical devices to obtain optical parameters of the number of similar optical devices;
[0071] extracting some parameters from the optical parameters as preferred parameter data at preset intervals, or expanding the optical parameters to obtain preferred parameter data;
[0072] Normalizing the preferred parameter data to generate optical analysis graphs of various optical devices;
[0073] The difference values between the optical components are obtained based on the optical analysis graph, and the difference values are compared with a preset judgment threshold to obtain the quality level of each optical component.
[0074] IES file is a file format used to describe the distribution of light brightness. Because the file extension is "*.ies", it is called IES file. It has important applications in the field of lighting. Different manufacturers' light measurement equipment generates certain differences in IES files. Furthermore, after obtaining IES files of several similar optical devices, the IES file data of one optical device can be used as the analysis benchmark. The calculation of various parameters of other optical devices is based on this IES file data to quantify the differences.
[0075] After calculating the optical parameters, a summary table of light distribution data is obtained. The summary table includes the optical parameters of several IES files, including measured light rate, luminous flux, luminous efficiency, central light intensity, maximum light intensity, C0-C180 section optical angle, C90-C270 section optical angle, C0-C180 section 10% beam angle, C90-C270 section 10% beam angle, and K value.
[0076] As a preferred solution, after generating the light distribution data summary table, a simulation diagram may be generated based on all the data in the summary table, or a portion of the data may be selected to generate the simulation diagram.
[0077] After selecting the light distribution data for generating the simulation diagram, the Candela diagram corresponding to each optical device is generated. Multiple Candela diagrams can be compared on the same page to obtain the difference in light distribution shapes corresponding to the input IES file data, and the difference in light intensity values of the IES file can also be displayed. The light intensity values of the Candela diagram are all obtained by converting the actual light flux to the light intensity value under the condition of 1000lm light flux.
[0078] Several light spot diagrams can also be generated based on the light distribution data. Before generating several light spot diagrams, the light distribution data is normalized and converted from light intensity value to illuminance value, and 1000mm is taken as the receiving surface of the light spot. The conversion from light intensity value to illuminance value means: converting the actual light intensity value into the normalized light intensity value under the condition of 1000lm luminous flux, and then the illuminance value is calculated based on the normalized light intensity value. The illuminance value on the light spot diagram is the illuminance value calculated after the 1000lm luminous flux conversion, which effectively solves the problem that the existing system cannot compare the optical performance of multiple lamps with different powers (unequal energies) under the same energy conditions. In addition, the light spot data is generated below the light spot diagram. The larger the value, the larger the light spot emitted by the corresponding lamp. This function provides more objective data for technical personnel to directly judge the size of the light spot of the lamp. The schematic diagram of the light spot diagram comparison is as follows Figure 3 shown.
[0079] Based on the light distribution data, an illuminance distribution diagram can also be generated. The illuminance diagram shows the projection radius, maximum illuminance value and average illuminance value at distances of 1 meter, 2 meters, 2.5 meters, 3 meters, 4 meters and 5 meters respectively. The illuminance value is obtained by converting the actual light intensity value into a normalized light intensity value under the condition of a luminous flux of 1000lm, and then calculating it based on the normalized light intensity value. If the illuminance value calculated after the conversion based on the luminous flux of 1000lm needs to be converted into an illuminance value under the condition of the actual luminous flux value, the above illuminance value must be divided by the conversion factor printed at the end of the illuminance distribution diagram. The illuminance distribution diagram intuitively shows the differences in illuminance distribution of several IES files. The schematic diagram for comparing illuminance distribution diagrams is shown below. Figure 4 shown.
[0080] Based on the light distribution data, the light intensity distribution data and difference rate of the C0-180 section can also be generated. The initial vertical angle interval is equal to 1°, and the maximum vertical angle is 180°. In order to facilitate technicians to capture comparative data more flexibly and in more detail, a method of reselecting the analysis section (reselecting the C0-C180 section or the C90-C270 section) is added, the vertical angle interval and the maximum vertical angle are reset, and the analysis benchmark is reselected to obtain new light intensity distribution data and difference rate. Here, reselecting the vertical angle interval and the maximum vertical angle is the corresponding data volume of each section. For example, when the data volume of each section is 181, the corresponding maximum vertical angle is 0~180°, which can be reset to 0~60°. The vertical angle interval is the number of intervals when extracting part of the data. In the row direction of the two-dimensional array, the data is extracted at intervals of N numbers to obtain data for light intensity distribution. N can be selected from natural numbers from 1 to 8. Here, the reset of the vertical angle interval is to reset the number of intervals for extracting data in the row direction, so as to re-import the optical data in the IES file and calculate the new light intensity distribution data and difference rate. The light intensity distribution data graph presents the light intensity distribution of each IES file based on the measured luminous flux, the light intensity distribution calculated based on the 1000lm luminous flux, and the light intensity distribution difference rate based on the 1000lm luminous flux, which fills the gap that the existing optical analysis system cannot compare the light intensity distribution of multiple IES files at the same time.
[0081] Example 2
[0082] In Example 1, a method for generating a candela diagram, a spot diagram, an illuminance distribution diagram, and a light intensity distribution data diagram based on multiple IES files is provided. In the prior art, the above analysis diagrams can only be generated for one IES file at a time, so it is impossible to compare the analysis diagrams of multiple IES files. Therefore, the present invention first provides a function of batch importing IES files for optical analysis software. The IES files of several similar optical devices are obtained by batch reading, including the following steps:
[0083] Import IES files one by one,
[0084] When obtaining one of the IES files, only numerical data is retained and other types of data in the IES file are deleted, and the numerical data is a two-dimensional array;
[0085] Find the number of slices and the amount of data for each slice from the first or second row of the numerical data, and use the number of slices as the number of rows of the two-dimensional array and the amount of data for each slice as the number of columns of the two-dimensional array;
[0086] Starting from the third row of the numerical data, the data is copied locally in sequence, and the two-dimensional array is converted into a new two-dimensional array, where the number of rows is the number of slices and the amount of data for each slice is the number of columns.
[0087] When obtaining several IES files, first number the file names of the IES files with serial numbers, read the contents of the IES files in sequence, and store the read data in sequence. The difficulty lies in how to read the optical data in a single IES file generated by different testing equipment. Figure 2 Taking the import of an IES file as an example, batch reading of IES files is explained.
[0088] First, after obtaining the IES file with the suffix .txt, delete other types of data in the IES file and only retain the numerical data. This is because other types of data, such as character data and date data, are additional information of the IES file, which are used to describe the information of the IES file and are not used to generate optical analysis diagrams. Therefore, only the numerical data used to generate optical analysis diagrams are retained.
[0089] Secondly, the amount of numerical data used to generate optical analysis graphs in IES files is very large. The number of rows and columns in each IES file is not uniform. One data reading method cannot adapt to IES files from different manufacturers. Through experience accumulation and analysis, we know that the data in the first and second rows of numerical data are not optical parameters, but attribute information of optical parameters, such as Figure 2As shown in the figure, after removing the other types of data in the first 11 rows, the values of the first row are: 1 450.72 1 181 131 2 -0.065 -0.065 0.000, and the values of the second row are: 1.0001 6.59618, where the fifth number 13 indicates that when obtaining the IES file, the original measuring instrument read the data of 13 sections of the measured object, and the fourth number 181 indicates that for each section, 181 data were obtained in the range of 0 to 180° and at intervals of 1°. In other words, the fifth data in the first row is the number of sections, and the fourth data is the number of data obtained for each section. Different optical inspection manufacturers have different parameter settings and different data volumes, but the attribute information referred to by each parameter in the first and second rows of the digital part of the IES file is the same, that is, the fifth data in the first row of each manufacturer is the number of defined sections, and the fourth data is the number of defined data obtained for each section, and this setting is the same. Using this rule, no matter how different the IES optical basic parameters of each manufacturer are, they can be unified into one format: with the number of slices as the ordinate and the number of data obtained from each slice as the abscissa, a two-dimensional array of optical basic data is established. When writing the code to read the IES file, first obtain the number of slices and the number of data obtained from each slice, as the number of rows and columns respectively, and read the optical basic data in sequence. That is, if each slice has 181 numbers and there are 13 slices in total, the first 181 data read are the data of the first slice, forming the array data of the first slice, and then read the next 181 data to form the array data of the second slice, and so on, and 13×181 data are obtained. Even if the manufacturer is different and the detected data is different, the method of reading the data is the same, but the dimensions of the array formed in the end are different. For example, it may be 13×91 data, 7×181 data, 7×91 data, etc. After batch importing data, by extracting part of the data at intervals of N numbers or expanding the data by interpolation, several imported data can be converted into a unified dimension, for example, all unified into a 13×181 two-dimensional array, and then by setting pointers, the optical parameters of each optical device can be read to complete subsequent calculations and output.
[0090] After batch importing IES file data, the next step is to calculate for the purpose of generating optical analysis diagrams. Select multiple calculation methods for IES file data, including beam angle calculation, initial analysis reference plane calculation, and UGR distance-to-height ratio calculation. The beam angle calculation is divided into calculation based on the current center light intensity and calculation based on the current maximum light intensity point. The UGR distance-to-height ratio is divided into SH=1 and SH=0.25 calculations. The initial analysis reference plane is divided into C0-180 surface calculation and C90-C270 surface calculation. Based on the above three multiple calculation methods, batches of IES file data are processed to calculate the optical parameters of optical devices such as light intensity, illumination, light spot, beam angle, light efficiency, brightness, luminous flux, K value, UGR, etc.
[0091] The subsequent calculation method is the same as that in Example 1 and will not be described in detail.
[0092] Example 3
[0093] It is mentioned in Example 1 that after generating the total table of light distribution data, a simulation diagram can be generated based on all the data in the total table, or part of the data can be selected to generate the simulation diagram. That is to say, before generating the candela diagram, the light spot diagram, the illuminance distribution diagram and the light intensity distribution data diagram, we can make a secondary selection on the obtained initial light distribution data. The advantage of the selection is that, on the one hand, it ensures that the final output simulation diagram can clearly obtain the difference, and on the other hand, it reduces the amount of calculation in the generation of the simulation diagram according to the needs to improve efficiency and strike a balance between accuracy and computational efficiency.
[0094] The method of the present invention includes extracting data for generating simulation diagrams at larger intervals (for example, extracting data at intervals of 1° for extracting data at intervals of 1°, which is equivalent to extracting data at intervals of 2°, and the amount of data is reduced by half) when the default interval of IES file data collection is small (for example, extracting data at intervals of 1°). In addition, the method of the present invention can also perform interpolation calculations based on the IES file data collection intervals to expand small-interval data with higher resolution.
[0095] Extracting some parameters from the optical parameters as preferred parameter data at preset intervals includes extracting data at intervals of N numbers in the row direction of the two-dimensional array, and / or extracting data at intervals of M numbers in the column direction of the two-dimensional array, where N and M are both natural numbers, and the extracted two-dimensional array is the preferred parameter data.
[0096] Preferably, the value range of N is 1 to 8, and the selection of the value of N is specifically shown in Table 1.
[0097] Table 1 N value table
[0098]
[0099] For the characteristics of different optical accessories, it is possible that the extraction interval takes the minimum value of 1. After extracting some data, the analysis results are quite different from the original data, and the conclusions drawn from the data with large differences are unreliable. It is also possible that the size of the extraction interval has no effect on the analysis results. Therefore, the interval value conditions and the corresponding light intensity difference rate corresponding to the selection of N values are summarized. The extraction interval can be determined according to the beam angle and the allowed light intensity difference rate, so as to select the appropriate number of partial parameters for calculation, which not only reduces the amount of calculation and the requirements for computing power, but also ensures accuracy.
[0100] Example 4
[0101] Finally, after we obtain a series of light distribution simulation diagrams, we need to compare the differences between the various simulation diagrams. For example, after selecting one of the IES file data as the analysis benchmark to obtain a simulation diagram, the difference between the analysis benchmark diagram and the simulation diagram generated by other IES file data can be obtained. The difference is allowed within a certain range and is not allowed within a certain range. The present invention provides a basis for difference judgment with respect to the light intensity distribution data diagram, thereby determining the difference level and determining whether the optical device meets the design standards.
[0102] The basis for difference determination is shown in Table 2:
[0103] Table 2 Basis for classification
[0104]
[0105] After obtaining the IES files of several similar optical devices, the IES file data of one optical device is used as the theoretical value and the analysis benchmark. The calculation of various parameters of other optical devices is based on this IES file data. Compared with the benchmark data, the light intensity difference rate is 0%~1%, which means that the actual light intensity distribution of the optical device is close to the theoretical design value, which is the optimal grade, Grade A; compared with the benchmark data, the light intensity difference rate is 1%~3%, which means that the actual light intensity distribution of the optical device is close to the theoretical design value, which is a better grade, Grade B, and the optical device can be adjusted or not; compared with the benchmark data, the light intensity difference rate is 3%~10%, which means that the actual light intensity distribution of the optical device is somewhat different from the theoretical design value, which is a qualified grade, Grade C, and the optical device can be optimized and adjusted. If the requirements for the light intensity distribution are not high, no adjustment is required; compared with the benchmark data, the light intensity difference rate is 10%~20%, which means that the actual light intensity distribution of the optical device is greatly different from the theoretical design value, which is an unqualified grade, Grade D, and as a defective product, it needs to be corrected.
[0106] According to the light intensity difference rate, the measured optical device data is quantitatively divided and an objective division standard is given. Users can directly judge whether the measured object needs to be corrected and adjusted without relying on experience. The judgment is more objective and is conducive to improving the accuracy and reliability of the inspection.
[0107] Example 5
[0108] An optical data batch analysis software, comprising a data acquisition module, a data processing module and an image display module,
[0109] The data acquisition module acquires IES files of a number of similar optical devices to obtain optical parameters of the same optical devices;
[0110] The data processing module is used to extract some parameters from the optical parameters as preferred parameter data according to a preset interval, or to expand the optical parameters to obtain the preferred parameter data;
[0111] The image display module is used to generate light intensity analysis diagrams of several similar optical devices on the same interface according to the preferred parameter data.
[0112] Figure 5 Shows the main interface of an optical data batch analysis software.
[0113] The main operation interface of the system software consists of multiple buttons. Click the "Select Folder Path" button to select the IES save path to be analyzed. Click "Get all IES lists in the current path" and the list box under the button will show all the IES lists in the folder. Select the IES list in this list box (preferably, select six), click "Add Analysis Object" to add it to the selected IES analysis list box, select an IES in the selected IES analysis list box, click "Select Analysis Basis", and the system will automatically record the analysis basis. The calculation of subsequent parameters will use this IES as the analysis basis. After selecting the IES list to be analyzed, the system operator needs to select multiple calculation methods, namely the beam angle calculation method, the initial analysis reference plane, and the UGR distance height ratio. The beam angle calculation method is divided into calculation based on the current surface center light intensity and calculation based on the current surface maximum light intensity point. The UGR distance height ratio is divided into SH=1 and SH=0.25 calculations. The initial analysis reference plane is divided into C0-180 surface calculation and C90-C270 surface calculation. After checking the above three options, you need to enter the Excel table name in the Export Excel table name box, and finally click the "Click to Run" button. The system will start to obtain the underlying data in each IES file and calculate and convert it into light intensity, illuminance, light spot, beam angle, light effect, brightness, luminous flux, K value, UGR and other parameters.
[0114] After the program runs and calculates, it switches to the lighting data summary page. The lighting data summary page generates the major parameters of 6 IES files, including measured light rate, luminous flux, luminous efficiency, central light intensity, maximum light intensity, C0-C180 section optical angle, C90-C270 section optical angle, C0-C180 section 10% beam angle, C90-C270 section 10% beam angle, and K value.
[0115] In addition, the light distribution data summary page is set with the "Get all IES in the current path" button and the "Get selected IES optical data" button. Click the "Get all IES in the current path" button, and the system program will recalculate the parameters in the light distribution data summary table. The calculation object is the number of all IES in the IES saving path. This button is different from the "Get selected IES optical data" button. The calculation object of the "Get selected IES optical data" button is Figure 1 The selected IES analysis name in the main operation interface. In addition, the two buttons also calculate different numbers of IES. Clicking the "Get Selected IES Optical Data" button can calculate up to 6 IES files, and clicking the "Get All IES in Current Path" button can calculate an unlimited number of IES files. The total light distribution data table can display the selected IES optical data, or all IES optical data in the current path.
[0116] After the program runs and calculates, it switches to the Candela Diagram page and generates 6 Candela Diagrams. The system operator can compare the 6 Candela Diagrams in the same frame. This section is not only used to compare the differences in the light distribution shapes of the 6 IES files, but also to show the differences in the light intensity values of the 6 IES files. In addition, the light intensity values of the 6 Candela Diagrams are all obtained by converting the actual light flux to the light intensity value of 1000lm.
[0117] Next, switch to the spot diagram page, and you can generate up to 6 spot diagrams. The software system uses a normalized calculation method to convert the light intensity value to the illuminance value of the 6 IES files, and takes 1000mm as the receiving surface of the spot. Secondly, the illuminance value on the spot diagram is the illuminance value calculated after the 1000lm luminous flux conversion, which effectively solves the pain point that the existing system cannot compare the optical performance of multiple lamps of different powers (unequal energy) under the same energy conditions. In addition, this function module also generates direct spot data below the spot diagram. The larger the value, the larger the spot emitted by the corresponding lamp. This function provides more objective data for technical personnel to directly judge the size of the lamp spot.
[0118] Then, switch to the illumination analysis page, where the software system generates up to 6 illumination distribution diagrams. The illumination diagrams show the projection radius, maximum illumination value, and average illumination value at distances of 1 meter, 2 meters, 2.5 meters, 3 meters, 4 meters, and 5 meters. The illumination value is calculated based on 1000lm. To convert it into the illumination value under the actual luminous flux value, divide the above illumination value by the conversion factor printed at the end of the illumination distribution diagram. This function section intuitively shows the difference in illumination distribution of the 6 IES lamp files. The illumination distribution page is shown in the figure below. Figure 6 shown.
[0119] Finally, switch to the light intensity analysis interface, the system initially calculates the light intensity distribution data and difference rate of the C0-180 section, the initial vertical angle interval is equal to 1°, the maximum vertical angle is 180 degrees, and the Figure 1 The IES selected on the main interface is the initial analysis benchmark. In order to facilitate technicians to capture comparative data more flexibly and in more detail, this page adds the functions of reselecting the analysis section (reselecting the C0-C180 section or the C90-C270 section), resetting the vertical angle interval, the maximum vertical angle, and reselecting the analysis benchmark. After clicking the "Click to Recalculate" button, the system recalculates and obtains new light intensity distribution data and difference rate. The light intensity data analysis section presents the light intensity distribution of each IES file based on the measured light flux, the light intensity distribution based on the 1000lm light flux, and the light intensity distribution difference rate based on the 1000lm light flux, which makes up for the fact that the existing optical analysis system cannot compare the light intensity distribution of multiple IES files at the same time.
[0120] Example 6
[0121] Examples 1-5 all mentioned that a normalized calculation was adopted to convert the light intensity values of several IES files, and the light intensity data of each lamp in each direction at 1000lm was calculated. Example 6 specifically gave a normalized calculation derivation and conclusion.
[0122] Simplify the conversion formula of light intensity and luminous flux, it is known that ,in is the annular luminous flux, is the light intensity in that direction, It is the angle between this direction and the central axis of the lamp, that is, the light-emitting direction.
[0123] Since the light emitted by floodlights does not satisfy Lambertian luminescence, It is difficult to express it with a function. When the ring is divided into small enough, that is, The average light intensity of the ring can be expressed as The average luminous flux can be expressed as To indicate, this paper takes the step length of the ring as 1 for example calculation, that is, =1, Take 0°, 1°, 2°, 3°....180°, the corresponding light intensity measured values are I0, I1, I2, I3,...I 180 ,Bundle and I are introduced into the formula in sequence, and the annular luminous flux of 0°~1°, 1°~2°, 2°~3°........179°~180° is calculated, which are recorded as , , ......... , the total luminous flux is obtained by superimposing the above calculated annular luminous fluxes , In fact, the light distribution system calculates These are all measured luminous flux of lamps, which means it is difficult to compare the optical performance of lamps with different powers. The luminous flux calculation is based on spherical coordinates. The schematic diagram of luminous flux calculation under spherical coordinates is as follows: Figure 7 shown.
[0124] Obtain the light intensity data of the lamp through the distribution photometer test or optical simulation software, and save the light intensity data in the form of IES files. Read the data in multiple IES files, calculate the luminous flux of the whole lamp through the light intensity and luminous flux conversion calculation formula, and automatically save the data in an Excel table, setting the horizontal axis as the angle between each direction and the central axis of the lamp. , the vertical axis is the light intensity value measured in each direction , the optical light distribution curves of the two lamps can be presented. The optical light distribution curves of the two lamps are as follows: Figure 8 shown.
[0125] Calculate the light intensity data of each lamp in each direction when it is 1000lm, and set one of the optics as the standard optics. The light distribution curve of this standard optics is named the standard light distribution curve, and the light distribution curve of the other luminaire is named the evaluated optics. By quantifying the difference between the light intensity of the evaluated optics in each direction and the light intensity of the standard optics in each direction, the difference in optical performance between the evaluated luminaire and the standard luminaire is quantitatively evaluated. Assume that the measured light intensity values in the directions of 0°, 1°, 2°, 3°....180° are distributed as I0, I1, I2, I3,...I 180 , when converted to 1000lm, the light intensity in each direction is , , , ,...... The luminous flux of each ring zone is , , ......... ,
[0126] equation Multiply both sides by , it is concluded that when the luminous flux of each ring is 1000lm, , , ,......, ,because is a known constant, so That is, so there is , , ,..... .
[0127] The Matlab calculation Import into Excel table, in degrees is the horizontal axis, light intensity value As the vertical axis, the light distribution curves of the evaluated optics and the standard optics at 1000lm are also drawn. If the central light intensity is used as the optical evaluation index, it can be seen from the light distribution curve that the central light intensity conversion efficiency of the standard optics is higher. Fig. 9 shown.
[0128] Therefore, under the condition of 1000lm luminous flux, the conversion formula of light intensity value is:
[0129] ;
[0130] in, is the converted light intensity value, is the sum of the luminous flux of the annuli, is the original light intensity value, N is the direction value of the data measured on each section, and the value range is 0 to 180.
[0131] In the case of 1000lm luminous flux, is the vertical axis, The converted data is written into the system as the horizontal axis to draw a graph of the light intensity difference in each direction between the standard optics and the evaluated optics. If the central light intensity is used as the optical evaluation index, it can be concluded from the graph that the central light intensity of the evaluated optics is 3464.6cd, and the central light intensity of the standard optics is 3998.7cd. The central light intensity of the standard optics is 13.4% higher than that of the evaluated optics.
[0132] Finally, it should be noted that the embodiments described in detail above are only the best practices of the invention and cannot be used to limit the scope of rights of the invention. Equivalent replacement of the technical solutions recorded in the aforementioned embodiments does not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the invention, and they should all be included in the scope of the claims and description of the invention.
Claims
1. A method for batch analysis of optical data, characterized in that: The following steps are involved: Obtaining IES files of a number of similar optical devices to obtain optical parameters of the number of similar optical devices; extracting some parameters from the optical parameters as preferred parameter data at preset intervals, or expanding the optical parameters to obtain preferred parameter data; Normalizing the preferred parameter data to generate optical analysis graphs of various optical devices; Obtaining difference values between various optical devices based on the optical analysis graph, comparing the difference values with a preset determination threshold, and obtaining a quality grade of each optical device; The method of obtaining IES files of a plurality of similar optical devices is implemented by batch reading, and includes the following steps: Import IES files one by one, When obtaining one of the IES files, only numerical data is retained and other types of data in the IES file are deleted, and the numerical data is a two-dimensional array; Find the number of slices and the amount of data in each slice from the first or second row of numerical data; Starting from the third row of the numerical data, the data is copied to the local computer in sequence, and the numerical data copied to the local computer is converted into a new two-dimensional array, where the number of rows is the number of slices and the number of columns is the amount of data in each slice. Expanding the optical parameters includes copying the previous data in the row direction and / or column direction of the two-dimensional array, inserting the copied new data between the previous data and the subsequent data, and increasing the number of optical parameters to a preset number of rows and columns.
2. The optical data batch analysis method according to claim 1, characterized in that: The method of extracting some parameters from the optical parameters as preferred parameter data at preset intervals includes extracting data at intervals of N numbers in the row direction of the new two-dimensional array, and / or extracting data at intervals of M numbers in the column direction of the new two-dimensional array, where N and M are both natural numbers, and the extracted two-dimensional array is the preferred parameter data.
3. The optical data batch analysis method according to claim 2, characterized in that: The value range of N is 1 to 8, where For optical accessories with beam angles of 0° to 24°, N=1; For optical accessories with beam angles of 24° to 36°, N=2; For optical accessories with a beam angle of 36° to 45°, N=3; For optical accessories with a beam angle of 45° to 60°, N=4; For optical accessories with a beam angle of 60° to 90°, N=5; For optical accessories with beam angles of 90° to 120°, N=6; For optical accessories with a beam angle of 120° to 150°, N=7; For optical accessories with beam angles greater than 150°, N=8.
4. The optical data batch analysis method according to claim 1, characterized in that: The normalization process includes: converting the actual luminous flux in the preferred parameter data to a luminous flux of 1000 lm to obtain a pre-processed light intensity value, and generating an optical analysis diagram of each optical device according to the pre-processed light intensity value.
5. The optical data batch analysis method according to claim 1, characterized in that: The optical analysis diagrams include a Candela diagram, a light spot diagram, an illumination distribution diagram and a light intensity distribution data diagram.
6. The optical data batch analysis method according to claim 1, characterized in that: The calculations performed to generate the optical analysis diagrams of each optical device include: beam angle calculation, initial analysis reference plane calculation and UGR distance-to-height ratio calculation. The calculated optical parameters include the light intensity, illumination, light spot, beam angle, light efficiency, brightness, luminous flux, K value and UGR of the optical device.
7. The optical data batch analysis method according to claim 1, characterized in that: The quality level of each optical device is determined based on the light intensity difference rate. The light intensity difference rate is 0% to 1%, and the quality level is the best level; The light intensity difference rate is 1% to 3%, and the quality grade is better; The light intensity difference rate is 3% to 10%, and the quality grade is qualified; The light intensity difference rate is 10% to 20%, and the quality grade is unqualified.
8. An optical data batch analysis system, characterized in that: It includes optical data acquisition module, analysis module and data output module. The optical data acquisition module is used to obtain IES files of several similar optical devices; The analysis module is used to obtain the quality level of each optical device by using an optical data batch analysis method according to any one of claims 1 to 7; The data output module is used to output the quality grade of the optical device.
9. A computer program product for batch analysis of optical data, characterized in that: It includes data acquisition module, data processing module and image display module. The data acquisition module acquires IES files of a number of similar optical devices to obtain optical parameters of the same optical devices; The data processing module is used to extract some parameters from the optical parameters as preferred parameter data according to a preset interval, or to expand the optical parameters to obtain the preferred parameter data; The image display module is used to generate light intensity analysis diagrams of several similar optical devices on the same interface according to the preferred parameter data; The method of obtaining IES files of a plurality of similar optical devices is implemented by batch reading, and includes the following steps: Import IES files one by one, When obtaining one of the IES files, only numerical data is retained and other types of data in the IES file are deleted, and the numerical data is a two-dimensional array; Find the number of slices and the amount of data in each slice from the first or second row of numerical data; Starting from the third row of the numerical data, the data is copied to the local computer in sequence, and the numerical data copied to the local computer is converted into a new two-dimensional array, where the number of rows is the number of slices and the number of columns is the amount of data in each slice. Expanding the optical parameters includes copying the previous data in the row direction and / or column direction of the two-dimensional array, inserting the copied new data between the previous data and the subsequent data, and increasing the number of optical parameters to a preset number of rows and columns.
10. The optical data batch analysis computer program product according to claim 9, characterized in that: The data processing module is also used to generate a total light distribution data table, calculate data corresponding to the Candela diagram, calculate data corresponding to the spot diagram, perform illumination analysis, light intensity data analysis, brightness data analysis, mold processing and design difference analysis, and generate a UGR table.
11. The optical data batch analysis computer program product according to claim 10, characterized in that: The software uses normalized calculation to convert the light intensity values of several IES files, calculates the light intensity data of each lamp in each direction when it is 1000lm, and takes 1000mm as the receiving surface of the light spot. The conversion formula for light intensity is: in, is the converted light intensity value, is the sum of the luminous flux of the annuli, is the original light intensity value, i is the direction value of the data measured on each section, and its value range is 0 to 180.
12. The optical data batch analysis computer program product according to claim 9, characterized in that: The calculations performed by the data processing module include beam angle calculation, initial analysis reference plane calculation and UGR height ratio calculation, and the calculated optical parameters include light intensity, illumination, light spot, beam angle, light effect, brightness, luminous flux, K value and UGR of the optical device.
13. The optical data batch analysis computer program product according to claim 9, characterized in that: The data processing module is also used to reset the vertical angle interval and the maximum vertical angle, reselect the analysis benchmark, and obtain new light intensity distribution data and difference rate.
Citation Information
Patent Citations
Sub-graph extraction method and device
CN114139022A
IES format file light visualization method and system based on Web
CN115170720A