Method and system for adjusting optical parameters of lamp

By analyzing the IES file and dynamically adjusting the light intensity distribution data, a new IES file is generated, which solves the problem of low lighting design efficiency, and achieves rapid and accurate adjustment of beam angles, which significantly shortens the design cycle and reduces costs.

CN120166610APending Publication Date: 2025-06-17GUANGDONG PAK CORP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510546279.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

In the prior art, lighting design is inefficient and relies on physical tests to adjust the beam angle, resulting in extended design cycles, high cost and insufficient flexibility.

Method used

By analyzing the IES file, dynamically adjusting the light intensity distribution data, and generating a new IES file, achieving rapid and accurate adjustment of beam angles, replacing the traditional process that relies on physical testing.

Benefits of technology

It significantly shortens the design cycle, reduces the testing cost and time loss, realizes rapid and accurate adjustment of optical parameters, and meets the needs of high-precision scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120166610A_ABST
    Figure CN120166610A_ABST
Patent Text Reader

Abstract

The invention discloses an optical parameter adjusting method and system of a lamp, and the method comprises the steps: analyzing an original IES file, and obtaining the light intensity distribution data of each angle and an original beam angle; receiving a beam angle adjustment parameter input by a user, dynamically adjusting the light intensity data of a non-central angle according to an increasing or decreasing instruction, and keeping the central light intensity unchanged in the adjustment process so as to maintain the illumination stability of a core area; when the beam angle needs to be increased, the decreasing amplitude of the light intensity of adjacent angles is reduced, so that the light spot range is expanded; when the beam angle needs to be reduced, the decreasing rate of the light intensity of adjacent angles is increased, so that light spots are concentrated; and generating a new IES file based on the adjusted light intensity data. According to the method, flexible adjustment of the beam angle is achieved by dynamically correcting the light intensity distribution, repeated lamp testing is not needed, the design period is shortened from several weeks to real-time operation, and the design efficiency and cost controllability are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of optical data processing, and particularly relates to an optical parameter adjustment method and system for a lamp. Background Art

[0002] In the field of indoor lighting design, the IES file is the core data carrier for describing the light intensity distribution of a lamp, and its beam angle parameter directly affects the illuminance distribution effect of lighting simulation. In traditional designs, if the beam angle of an existing IES file does not match the target environmental requirements, for example, the beam angle is too small resulting in a concentrated light spot and uneven illuminance, or the beam angle is too large resulting in excessive light diffusion, the lighting designer needs to request a re-test from the lamp manufacturer, and the manufacturer uses a goniophotometer to physically test the lamp to generate a new IES file. This process requires cross-manufacturer communication, sample sending, multiple data tests and verifications, resulting in a significant extension of the design cycle and a substantial increase in test costs and labor input.

[0003] The prior art has the following technical defects: First, adjusting the beam angle completely depends on physical tests, and designers cannot directly modify the light intensity distribution data of the IES file through software, resulting in low design iteration efficiency; Second, the beam angle adjustment needs to repeatedly approach the target value through hardware tests, lacking a fast calculation tool based on a mathematical model, making the parameter optimization process long and uncontrollable; Finally, the repeated tests and data screening in the multi-manufacturer cooperation mode lead to the superposition loss of equipment, time and economic resources, and the ability to customize solutions is limited. The above problems make the design cycle of lighting design solutions long, costly and lack of flexibility. There is an urgent need for a technical solution that can directly adjust the optical parameters based on the existing IES file to eliminate the dependence on physical tests, achieve fast and accurate adjustment of optical parameters, and thus improve the efficiency and accuracy of lighting design. Summary of the Invention

[0004] The main object of the present invention is to propose an optical parameter adjustment method for a lamp, aiming to solve the technical problem of low lighting design efficiency in the prior art.

[0005] To achieve the above object, the first aspect of the present invention proposes an optical parameter adjustment method for a lamp, including:

[0006] Step S100: Parse the original IES file to obtain the original optical parameters, where the original optical parameters include the original light intensity distribution data at each angle and the original beam angle;

[0007] Step S200: Receive the beam angle adjustment parameter input by the user, where the beam angle adjustment parameter is used to indicate an increase or decrease in the beam angle;

[0008] Step S300: According to the beam angle adjustment parameter, while keeping the central light intensity unchanged, dynamically adjust the light intensity data at non - central angles. Specifically: when the beam angle adjustment parameter indicates an increase in the beam angle, adjust the light intensity data at each angle according to a preset first adjustment rule, so that the decreasing amplitude of the light intensity between adjacent angles is less than the original decreasing amplitude; when the beam angle adjustment parameter indicates a decrease in the beam angle, adjust the light intensity data at each angle according to a preset second adjustment rule, so that the decreasing amplitude of the light intensity between adjacent angles is greater than the original decreasing amplitude;

[0009] Step S400: Generate a new IES file based on the newly optically - parameterized data after dynamic adjustment.

[0010] Preferably, step S300 specifically includes:

[0011] The preset first adjustment rule realizes the smoothing process of the increasing beam angle through the following formula:

[0012]

[0013] The preset second adjustment rule realizes the sharpening process of the decreasing beam angle through the following formula:

[0014]

[0015] In the formula, K is the beam angle adjustment amplitude coefficient; n represents the angle value based on the central axis of the lamp's light emission. When n = 1, it corresponds to the 1° direction, when n = 2, it corresponds to the 2° direction, and so on; F n represents the light intensity data at angle n after dynamic adjustment; f n represents the original light intensity data at angle n; the formula is applicable to the light intensity data at non - central angles where n≥1.

[0016] Preferably, in step S200, the beam angle adjustment parameter is the target beam angle, and step S300 performs the following iterative adjustment steps:

[0017] Step S310: Determine the beam angle adjustment direction according to the target beam angle and the current beam angle, and calculate the angular deviation between the current beam angle and the target beam angle;

[0018] Step S320: Select a beam angle adjustment amplitude coefficient according to the magnitude of the angular deviation; when the angular deviation is greater than or equal to a first preset threshold, select a second adjustment amplitude coefficient; when the angular deviation is less than the first preset threshold, select a first adjustment amplitude coefficient; where the first adjustment amplitude coefficient is greater than the second adjustment amplitude coefficient;

[0019] Step S330: Based on the selected adjustment amplitude coefficient, dynamically adjust the light intensity data at non - central angles, generate new light intensity distribution data, and update the current beam angle;

[0020] Step S340: Recalculate the angular deviation between the current beam angle and the target beam angle. If the angular deviation is greater than the second preset threshold, repeat steps S320 to S330 until the angular deviation is less than or equal to the second preset threshold.

[0021] Preferably, the value rule of the beam angle adjustment amplitude coefficient K is as follows: when the first gear adjustment amplitude is selected, K = 0.01; when the second gear adjustment amplitude is selected, K = 0.1.

[0022] Preferably, after step S300, the optical parameter adjustment method further includes the following steps:

[0023] Step S350: Calculate the ratio of the original total luminous flux to the adjusted total luminous flux, and globally scale the light intensity data at each angle after adjustment so that the scaled total luminous flux is consistent with the original total luminous flux.

[0024] Preferably, the optical parameter adjustment method further includes the following steps:

[0025] Step S511: Receive the target luminous efficacy value and constraint conditions input by the user, where the constraint conditions include keeping the power unchanged;

[0026] Step S512: Calculate the required target total luminous flux based on the product of the target luminous efficacy value and the original power. Synchronously scale the light intensity data at all angles according to the ratio of the target total luminous flux to the original total luminous flux;

[0027] Step S513: Generate a new second IES file based on the adjusted new light intensity distribution data and new power parameters.

[0028] Preferably, the optical parameter adjustment method further includes the following steps:

[0029] Step S521: Receive the target luminous efficacy value and constraint conditions input by the user, where the constraint conditions include keeping the luminous flux unchanged;

[0030] Step S522: Recalculate the required lamp power according to the ratio of the target luminous efficacy value to the original total luminous flux;

[0031] Step S523: Generate a new third IES file based on the adjusted new light intensity distribution data and new power parameters.

[0032] Preferably, the optical parameter adjustment method further includes the following steps:

[0033] Step S610: Receive the target total luminous flux;

[0034] Step S620: Scale the light intensity data at all angles proportionally according to the ratio of the target total luminous flux to the original total luminous flux;

[0035] Step S630: Generate a new fourth IES file based on the scaled new light intensity distribution data.

[0036] Preferably, the optical parameter adjustment method further includes the following data verification steps:

[0037] Step S710: Parse the header metadata of the original IES file and extract the lamp model;

[0038] Step S720: Obtain the corresponding permitted parameter range based on the lamp model;

[0039] Step S730: According to the permitted parameter range, verify whether the adjusted optical parameters exceed the range. If they exceed, pop up a warning prompt and terminate the generation of the IES file. If not, continue the generation of the IES file.

[0040] A second aspect of the present invention proposes an optical parameter adjustment system for a lamp, including:

[0041] A parsing module for parsing the original IES file to obtain the original light intensity distribution data and the original beam angle at each angle;

[0042] A receiving module for receiving the beam angle adjustment parameter input by the user, where the beam angle adjustment parameter is used to indicate an increase or decrease in the beam angle;

[0043] An adjustment module for dynamically adjusting the light intensity data at non-center angles while keeping the central light intensity unchanged according to the beam angle adjustment parameter. Specifically, when the beam angle adjustment parameter indicates an increase in the beam angle, adjust the light intensity data at each angle according to a preset first adjustment rule, so that the decreasing amplitude of the light intensity at adjacent angles is less than the original decreasing amplitude; when the beam angle adjustment parameter indicates a decrease in the beam angle, adjust the light intensity data at each angle according to a preset second adjustment rule, so that the decreasing amplitude of the light intensity at adjacent angles is greater than the original decreasing amplitude;

[0044] A generation module for generating a new IES file based on the newly light intensity distribution data after dynamic adjustment.

[0045] The optical parameter adjustment method and system for the lighting fixture provided by the present invention directly parse the IES file and dynamically adjust the light intensity distribution data, replacing the traditional process that relies on lighting fixture manufacturers to repeatedly test and generate new IES files, shortening the design cycle of several weeks to the minute level, and significantly reducing the test cost and time loss; based on the preset adjustment rules for increasing and decreasing the beam angle, by controlling the dynamic change of the light intensity decreasing amplitude between adjacent angles, the quantitative adjustment of the beam angle expansion or contraction is realized, ensuring that the spot range is accurately expanded or narrowed, with a small error range, and meeting the requirements of high-precision scenarios; during the adjustment process, the central light intensity remains unchanged, avoiding the problems of overexposure or dark areas at the center of the spot caused by overall brightness scaling in the traditional scheme, maintaining the illuminance consistency in the core area of the lighting design, and at the same time reproducing the natural optical attenuation law through the non-linear light intensity correction method, with a small uniformity error at the edge of the spot; by presetting adjustment rules and automated calculations to replace manual trial and error and complex formula derivations, designers only need to select the beam angle adjustment direction, and the system automatically completes the light intensity data correction and IES file generation, achieving professional-level parameter optimization without the need for a professional optical background, and reducing the technical threshold.

[0046] Furthermore, the present invention also provides a specific non-linear formula for adjusting the beam angle. When increasing the beam angle, the progressive gain coefficient of the angle square term is used to simulate the natural attenuation characteristic of the light intensity of the lamp, ensuring that the edge of the light spot expands uniformly without morphological distortion; when decreasing the beam angle, the far-end light intensity is suppressed by a linear attenuation factor to reproduce the sharp boundary of the narrow beam; the normalized design of the adjustment amplitude coefficient K is used to be compatible with different lamp models, and users can achieve precise control from sub-degree to several degrees by selecting one or two gears, improving the calculation efficiency. Further, the present invention adopts an automatic iterative adjustment mechanism for the input of the target beam angle. When the initial deviation is large, a large adjustment coefficient is used to quickly approach the target, and after approaching the target, it switches to a small adjustment coefficient for fine calibration. The time-consuming for a single adjustment is only 10% of the traditional trial and error, and the final beam angle error can converge within 0.1 degree; the system dynamically judges according to the deviation magnitude and intelligently switches the adjustment mode to avoid manual intervention, ensuring that the light intensity data strictly follows the optical attenuation law and the light spot morphology is smooth without mutation. Further, the present invention realizes the completely decoupled control of the beam angle and the total luminous flux by automatically calculating the luminous flux scaling coefficient and overall correcting the light intensity data after the beam angle adjustment. Users can independently optimize the light spot morphology without affecting the overall brightness. The system scales all angle light intensities in proportion according to the ratio of the original and adjusted luminous fluxes, ensuring that the total luminous flux after adjustment is strictly consistent with the original value, and avoiding energy consumption exceeding the standard or brightness distortion caused by the change of the beam angle. Further, the present invention realizes the decoupled and precise control of luminous efficacy, power, and luminous flux through the input of the target luminous efficacy value and the selection of constraint conditions. When the power remains unchanged, all angle light intensity data are enhanced proportionally based on the improvement of luminous efficacy, increasing the overall brightness without changing the energy consumption; when the luminous flux remains unchanged, the power parameter is synchronously reduced to ensure energy efficiency compliance while maintaining the brightness. Further, the present invention realizes precise brightness adjustment and zero distortion of the light spot morphology by directly inputting the target total luminous flux and automatically scaling all angle light intensity data proportionally. Users can meet the illumination requirements of different scenarios without adjusting the lamp hardware or redesigning the optical structure. Further, before generating the IES file, the present invention automatically checks whether the adjusted optical parameters exceed the range permitted by the lamp hardware, combines multi-source data linkage of the local database, manufacturer interface, and AI model prediction, intercepts over-limit operations in real time and recommends safe parameters to avoid equipment overheating or damage to optical components caused by beam angle or luminous flux overload. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.

[0048] Figure 1 Flow chart of the method for adjusting the optical parameters of a lamp provided by an embodiment of the present invention;

[0049] Figure 2 Flow chart of iterative adjustment according to the target beam angle provided by an embodiment of the present invention;

[0050] Figure 3 Flow chart of another method for adjusting the optical parameters of a lamp provided by an embodiment of the present invention;

[0051] Figure 4 Flow chart of adjustment according to the target luminous efficacy value and constraint conditions provided by an embodiment of the present invention;

[0052] Figure 5 Flow chart of another adjustment according to the target luminous efficacy value and constraint conditions provided by an embodiment of the present invention;

[0053] Figure 6 Flow chart of adjustment according to the target luminous flux provided by an embodiment of the present invention;

[0054] Figure 7 Flow chart of data verification before generating the IES file provided by an embodiment of the present invention;

[0055] Figure 8 Schematic diagram of the optical parameter adjustment system of a lamp provided by an embodiment of the present invention;

[0056] Figure 9 Schematic diagram of the software interface for modifying the beam angle provided by an embodiment of the present invention;

[0057] Figure 10 Schematic diagram of the software interface for adjusting the luminous flux provided by an embodiment of the present invention;

[0058] Figure 11 Original IES luminous intensity data graph before modifying the beam angle provided by an embodiment of the present invention;

[0059] Figure 12 New IES luminous intensity data graph after modifying the beam angle provided by an embodiment of the present invention;

[0060] Figure 13 Original IES simulated illuminance distribution graph provided by an embodiment of the present invention;

[0061] Figure 14 IES simulated illuminance distribution graph after modifying the beam angle provided by an embodiment of the present invention;

[0062] Figure 15 IES simulated illuminance distribution graph after modifying the luminous flux provided by an embodiment of the present invention.

[0063] The realization, functional features and advantages of the present invention will be further described in conjunction with the embodiments with reference to the accompanying drawings. Detailed implementation manners

[0064] 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. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.

[0065] It should be noted that if there are directional indications in the embodiments of the present invention, such as up, down, left, right, front, back, etc., then the directional indications are only used to explain the relative position relationship and movement conditions between components in a specific posture. If the specific posture changes, the directional indications will also change accordingly.

[0066] In addition, if there are descriptions such as "first", "second", etc. in the embodiments of the present invention, then the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first", "second" may explicitly or implicitly include at least one of such features. In addition, the meaning of "and / or" appearing throughout the text includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or a solution where A and B are satisfied simultaneously. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of those skilled in the art to implement. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0067] Glossary:

[0068] IES File: The IES file (Illuminating Engineering Society file) is a standardized data format developed by the Illuminating Engineering Society to precisely describe the spatial distribution characteristics of the luminous intensity of lamps. It is stored in text form and records the luminous intensity values (in candela) of the lamp in different directions, usually covering multi-dimensional measurement data of horizontal and vertical angles. For example, the luminous intensity values at 1-degree intervals within the range of 0° to 180°. These data define the luminous characteristics of the light source through a coordinate system and can be directly called by lighting design software (such as DIALux, Relux) to simulate the lighting effects of the lamp in a real scene, including key indicators such as illuminance distribution, spot shape, and brightness uniformity. The IES file is a core tool for lighting designers, which can replace the testing of physical lamps, significantly reduce the cost of scheme verification, and at the same time support the digital adjustment and optimization of optical parameters, providing a reliable data basis for efficiently customizing lighting schemes.

[0069] Beam Angle: The beam angle is a core optical parameter that describes the light diffusion range of a lamp. It is defined as the angle between two symmetric directions when the luminous intensity in the light-emitting direction of the light source drops to 50% of the maximum luminous intensity at the center (i.e., the half-peak luminous intensity). For example, if the central luminous intensity of a certain lamp is 1000 candela, and the angle difference when the luminous intensity on its left and right directions drops to 500 candela is 30 degrees, then its beam angle is 30 degrees. The smaller the beam angle value, the more concentrated the light, the narrower the spot range, and the higher the central illuminance; the larger the value, the more dispersed the light, the wider the spot coverage range, but the lower the central illuminance. This parameter directly determines the lighting effect of the lamp in the application scenario (such as spotlight and floodlight characteristics), can be calculated from the luminous intensity distribution data in the IES file, and serves as a key basis for optimizing the spot shape and illuminance uniformity in the lighting design scheme.

[0070] In view of this, the main objective of the present invention is to propose an optical parameter adjustment method and system for lamps, aiming to solve the technical problem of low lighting design efficiency in the prior art.

[0071] As Figures 1 to 8 shown, the first aspect of the present invention proposes an optical parameter adjustment method for lamps, including:

[0072] Step S100: Parse the original IES file to obtain the original optical parameters, where the original optical parameters include the original luminous intensity distribution data at each angle and the original beam angle;

[0073] Step S200: Receive the beam angle adjustment parameter input by the user, where the beam angle adjustment parameter is used to indicate an increase or decrease in the beam angle;

[0074] Step S300: According to the beam angle adjustment parameter, while keeping the central luminous intensity unchanged, dynamically adjust the luminous intensity data at non-central angles, specifically:

[0075] When the beam angle adjustment parameter indicates an increase in the beam angle, adjust the light intensity data of each angle according to a preset first adjustment rule, so that the decreasing amplitude of the light intensity between adjacent angles is less than the original decreasing amplitude;

[0076] When the beam angle adjustment parameter indicates a decrease in the beam angle, adjust the light intensity data of each angle according to a preset second adjustment rule, so that the decreasing amplitude of the light intensity between adjacent angles is greater than the original decreasing amplitude;

[0077] Step S400: Generate a new IES file based on the newly optically adjusted parameters.

[0078] Specifically, refer to Figure 1 , in a specific embodiment of the present invention, the user selects the beam angle increase function through the software interface and selects a first gear adjustment amplitude. The beam angle adjustment parameter is the beam angle increase and the adjustment amplitude coefficient (K = 0.01), where the adjustment amplitude coefficient is used to control the dynamic adjustment amplitude of the light intensity data of non-central angles through the preset first adjustment rule or the second adjustment rule, thereby quantifying the step size of the beam angle change. The system reads the light intensity distribution data of the original IES file, where: the nth original light intensity data of the original IES file is f n , the original total luminous flux is t 总 , the original beam angle is θ 原始 ; the nth light intensity data of the revised IES file is F n , the modified total luminous flux is T 总 , the modified beam angle is θ 修改 ; assume that the light intensity data corresponding to the 1st degree, 2nd degree, 3rd degree... nth degree directions in the original IES file are f1, f2, f3... f n , and satisfy f1 > f2 > f3 > f n , the light intensity data corresponding to the 1st degree, 2nd degree, 3rd degree.... nth degree directions in the modified IES file are F1, F2, F3....., F n , and satisfy F1 > F2 > F3 > F n . When the user clicks the beam angle increase button of the system, the system performs the following operations: keep the light intensity at the central angle (0 degree) unchanged, and the light intensity F1 in the 0 degree direction = f1; process the light intensity data of non-central angles, that is, from 1 degree to 180 degrees, according to the preset first adjustment rule, so that the change rate of the light intensity between adjacent angles decreases compared with the change rate of the original light intensity data, that is, satisfies the relational expression

[0079]

[0080] When the change rate of the modified light intensity data decreases, it means that the light intensity drops to 50% of the central light intensity at a larger angle (when the n value is larger), so that the modified beam angle θ 修改Greater than the original beam angle θ 原始 (θ 修改 > θ 原始 ), that is, the beam angle increases. For example, in the original IES file, the light intensity drops to 50% of the central value in the directions of 11.3 degrees on the left and right respectively, and the total beam angle is 22.6 degrees. After adjustment, the light intensity drops to 50% in the directions of 12.4 degrees on the left and right respectively, and the total beam angle expands to 24.8 degrees. The revised light intensity data is exported as a new IES file. After importing it into lighting design software (such as DIALux), the simulation results show that the spot range expands and the central illuminance decreases, which is suitable for uniform floodlighting scenarios.

[0081] In another specific embodiment of the present invention, the user selects the beam angle reduction function and the two - stage adjustment amplitude through the software interface. The beam angle adjustment parameter is beam angle reduction and the adjustment amplitude coefficient (K = 0.1). The adjustment amplitude coefficient is used to control the dynamic adjustment amplitude of the light intensity data at non - central angles through a preset first adjustment rule or second adjustment rule, thereby quantifying the step size of the beam angle change. The system performs the following operations: keep the light intensity at the central angle (0 degrees) unchanged, and the light intensity F1 at the 0 - degree direction is f1; process the light intensity data at non - central angles, that is, from 1 degree to 180 degrees, according to the preset second adjustment rule, so that the change rate of the light intensity at adjacent angles increases compared with the change rate of the original light intensity data, that is, it satisfies the relational expression

[0082]

[0083] In the original IES file, the light intensity drops to 50% of the central value in the directions of 11.3 degrees on the left and right respectively, and the total beam angle is 22.6 degrees. After adjustment, the light intensity drops to 50% in the directions of 10.2 degrees on the left and right respectively, and the total beam angle shrinks to 20.4 degrees. The revised light intensity data is exported as a new IES file. After importing it into lighting design software (such as DIALux), the simulation results show that the spot is concentrated and the central illuminance is significantly improved, which is suitable for key lighting areas.

[0084] It can be understood that by directly adjusting the light intensity distribution through software, without relying on the physical tests of lamp manufacturers, the traditional design cycle of several weeks can be shortened to real - time operation; based on the dynamic adjustment of the light intensity change rate, the quantitative modification of the beam angle expansion or contraction is realized, ensuring that the spot shape conforms to the optical theory and reducing the error range; the generated new IES file can be directly imported into mainstream software such as DIALux, and the measured cases show that the change of the illuminance distribution after the beam angle adjustment is consistent with the expectation; through the graphic interface button and the real - time data preview function, the technical threshold is reduced, enabling designers to complete the lighting scheme optimization without complex calculations.

[0085] Preferably, the step S300 specifically includes:

[0086] The preset first adjustment rule realizes the smoothing process of the beam angle increase through the following formula:

[0087]

[0088] The preset second adjustment rule realizes the sharpening process of reducing the beam angle through the following formula:

[0089]

[0090] In the formula, K is the beam angle adjustment amplitude coefficient; n represents the angle value based on the central axis of the lamp emission. When n = 1, it corresponds to the 1° direction, n = 2 corresponds to the 2° direction, and so on; F n represents the light intensity data at the angle n after dynamic adjustment; f n represents the original light intensity data at the angle n; the applicable range of the formula is the off-center angle light intensity data with n ≥ 1.

[0091] It can be understood that the preset first adjustment rule realizes the progressive enhancement of the light intensity at the off-center angle by introducing the non-linear growth coefficient of the angle square term (n 2 - n). Its mathematical essence is that as the angle n increases, the light intensity increase amplitude rises as a quadratic curve, forcing the light intensity distribution curve to flatten at the far end; (n 2 - n) shows an accelerating growth characteristic with the increase of the angle when n ≥ 1 (for example, it is 2 when n = 2 and 20 when n = 5). Combining with the normalization coefficient of the denominator 181, it forms a gain mode of "fine-tuning at the proximal end and strengthening at the distal end". For example, when K = 0.01, the light intensity increase amplitude in the 5-degree direction is (25 - 5) × 0.01 / 181 ≈ 0.0011 (i.e., 0.11%), while the increase amplitude in the 30-degree direction increases to (900 - 30) × 0.01 / 181 ≈ 0.048 (4.8%). This formula accurately matches the natural law of the lamp light intensity decaying with the angle (approximately cosine square decay), avoiding the distortion of the spot shape caused by linear gain.

[0092] The preset second adjustment rule implements a progressive attenuation of the off-center angle light intensity through the linear growth mechanism of the denominator term (1 + (n - 1)K). Its mathematical essence is that as the angle n increases, the light intensity attenuation speed is positively correlated with the angle value, forcing the light intensity distribution curve to drop rapidly at the far end. The denominator term (1 + (n - 1)K) generates an angle-related attenuation factor when n ≥ 1. For example, when K = 0.01, the attenuation factor (1 + (n - 1)K) in the 2-degree direction is 1.01 (the light intensity remains 99.01%), and the attenuation factor (1 + (n - 1)K) in the 5-degree direction increases to 1.04 (the light intensity remains 96.15%), gradually suppressing the light intensity at the far end. This formula reproduces the sharp light intensity reduction characteristic of narrow-beam lamps, ensuring that the adjusted spot boundary is clear and sharp.

[0093] It is understandable that those skilled in the art can make corresponding equivalent improvements according to the application scenario based on the light intensity distribution dynamic adjustment mechanism of the present invention to achieve more flexible optimization of optical parameters. For example, under the core rule of "dynamically adjusting the decreasing amplitude of light intensity at adjacent angles", non-linear models such as logarithmic functions and exponential functions can be used to replace the quadratic formula; for complex spot shape requirements, such as in the scenario of multi-focus lamps, the light intensity distribution can be segmented by angle intervals, and different adjustment rules can be applied respectively. For example, sharpening processing can be used in the 0°-30° direction to concentrate the core spot, and smoothing processing can be used in the 30°-180° direction to expand the ambient light coverage; or for special optical structures, the normalization coefficient in the formula can be adjusted, such as replacing the denominator 181 with the fitting value of the actual light distribution curve of the lamp, or introducing an angle offset to adapt to different light distribution characteristics to ensure that the light intensity correction amount matches the actual attenuation law.

[0094] Preferably, in step S200, the beam angle adjustment parameter is the target beam angle, and step S300 performs the following iterative adjustment steps:

[0095] Step S310: Determine the beam angle adjustment direction according to the target beam angle and the current beam angle, and calculate the angle deviation between the current beam angle and the target beam angle;

[0096] Step S320: Select a beam angle adjustment amplitude coefficient according to the magnitude of the angle deviation; when the angle deviation is greater than or equal to the first preset threshold, select the second adjustment amplitude coefficient; when the angle deviation is less than the first preset threshold, select the first adjustment amplitude coefficient; wherein the first adjustment amplitude coefficient is greater than the second adjustment amplitude coefficient;

[0097] Step S330: Dynamically adjust the light intensity data at non-central angles based on the selected adjustment amplitude coefficient, generate new light intensity distribution data and update the current beam angle;

[0098] Step S340: Recalculate the angle deviation between the current beam angle and the target beam angle. If the angle deviation is greater than the second preset threshold, repeat steps S320 to S330 until the angle deviation is less than or equal to the second preset threshold.

[0099] Specifically, refer to Figure 2, in a specific embodiment of the present invention, the user inputs a target beam angle of 25 degrees through the software interface. At this time, the beam angle adjustment parameter is the target beam angle. The system reads the current beam angle as 22.6 degrees, determines that the beam angle needs to be increased, and calculates the initial angle deviation as 2.4 degrees. In this embodiment, the first preset threshold is 2 degrees, the second preset threshold is 0.1 degree, and the adjustment amplitude coefficient is divided into two gears. The first adjustment amplitude coefficient of 0.01 corresponds to fine adjustment, and the second adjustment amplitude coefficient of 0.1 corresponds to large adjustment. The iterative adjustment process is as follows: For the first adjustment, since the initial deviation of 2.4 degrees is greater than the first threshold of 2 degrees, the system selects the second adjustment amplitude coefficient of 0.1, performs smoothing processing on the non-centered angle light intensity data, slows down the light intensity decay rate, and after adjustment, the beam angle increases to 24.8 degrees, and the angle deviation is reduced to 0.2 degrees; Since the angle deviation is less than the first preset threshold, the system selects the first adjustment amplitude coefficient of 0.01, performs smoothing processing on the non-centered angle light intensity data, and continuously repeats the iterative adjustment until the angle deviation is less than the second preset threshold of 0.1 degree. It can be understood that when the input beam angle adjustment parameter is the target beam angle, the system can automatically switch the adjustment amplitude according to the real-time deviation. In the initial stage, large adjustment is adopted to quickly approach the target, and when approaching the target, it switches to fine adjustment for precise calibration, significantly improving the adjustment efficiency and avoiding the time loss of repeated trial and error in the traditional scheme; Through multi-stage iterative approximation, the final beam angle error can converge to close to the theoretical limit value, meeting the strict requirements of high-precision scenarios such as medical and industrial for optical parameters; The adjusted light intensity data strictly follows the natural optical attenuation law, and the light intensity change between adjacent angles is smooth, and the spot shape is continuous without mutation. Verified by industry standard software, the illuminance uniformity far exceeds the conventional requirements, ensuring the authenticity and reliability of the lighting scheme; The designer only needs to input the target beam angle, and the system automatically completes the threshold judgment, amplitude switching, and iteration termination, without the need for manual intervention in complex formulas or parameters, greatly reducing the technical threshold. The core of this embodiment lies in its flexible and expandable adjustment mechanism. Those skilled in the art can flexibly expand the threshold stage and adjustment amplitude coefficient of the present invention according to the actual scenario requirements to achieve more refined beam angle control. For example: In the industrial lighting scenario, two-stage adjustment is set - in the initial large adjustment stage, the deviation is quickly reduced, and when approaching the target, it switches to the fine adjustment stage for fine calibration; In the medical surgical lighting scenario, three-stage adjustment is adopted, adding an intermediate transition stage, and a moderate adjustment amplitude is used in the medium deviation range to balance efficiency and precision; In the precision instrument lighting scenario, four stages or even more stages are divided, and the adjustment amplitude coefficient is gradually reduced to achieve ultimate calibration at the sub-degree level or even higher precision. Each adjustment stage is automatically switched through a preset threshold, and the system dynamically selects the currently applicable amplitude coefficient according to the real-time deviation value. Through this expandable multi-stage design, the present invention upgrades the traditional lighting parameter adjustment from a "fixed mode" to a "customizable tool", which not only retains the simplicity of the core algorithm but also endows it with strong adaptability to complex scenarios.

[0100] Preferably, the value rule of the beam angle adjustment amplitude coefficient K is as follows: when the first gear adjustment amplitude is selected, K = 0.01; when the second gear adjustment amplitude is selected, K = 0.1.

[0101] It can be understood that the first gear adjustment amplitude K = 0.01 is applicable to high-precision scenarios such as museums and operating rooms, achieving sub-degree precision control through minute light intensity changes and avoiding sudden changes in the spot shape; the second gear adjustment amplitude K = 0.1 is applicable to rapid scheme verification or large-range adjustment requirements such as stage lighting renovation, with a single adjustment amplitude of up to 2° - 3° and an efficiency improvement of more than 50%. Users can flexibly select the gear according to the deviation magnitude. For example, first quickly reduce the deviation in the second gear and then switch to the first gear for fine calibration, with the total time consumption being only 10% - 20% of the traditional scheme. In this embodiment, the complex parameter calculation is replaced by a multi-gear design. Designers can select the gear through the interface button or slider without having to understand the formula or physical model, significantly reducing the technical threshold.

[0102] Preferably, referring to Figure 3 , after step S300, the following steps are further included:

[0103] Step S350: Calculate the ratio of the original total luminous flux to the adjusted total luminous flux, and globally scale the adjusted light intensity data at each angle according to the ratio so that the scaled total luminous flux is consistent with the original total luminous flux.

[0104] It can be understood that when the calculated beam angle increases, the decreasing amplitude of the adjusted light intensity at adjacent angles is smaller than that of the original light intensity data, and the original light intensity data f n is necessarily less than or equal to the modified light intensity data F n . When the calculated beam angle decreases, the decreasing amplitude of the adjusted light intensity at adjacent angles is greater than that of the original light intensity data, and the original light intensity data f n is necessarily greater than or equal to the modified light intensity data F n . The following uses the formulas for the increase and decrease of the beam angle in a specific embodiment of the present invention for illustration: Since in the formula , always holds, so F n ≥f n always holds. Since in the formula , 1+(n - 1)×K ≤ 1 always holds, so F n ≤f n always holds. From the annular luminous flux formula and the light intensity data conversion formula, the original IES annular luminous flux and total luminous flux are respectively:

[0105] t n-(n+1) =(f n +f n+1 )×π×(cosn - cos(n + 1))

[0106] t 总 = t 1-2 + t 2-3 + t 3-4 +.....+ t n-(n+1)

[0107] wherein, t n-(n+1) represents the zonal luminous flux of the original IES, i.e., the luminous flux between adjacent angles n to n + 1; t 总 represents the total luminous flux of the original IES.

[0108] Similarly, the zonal luminous flux and total luminous flux of the modified IES are:

[0109] T n-(n+1) = (F n + F n+1 ) × π × (cos n - cos(n + 1))

[0110] T 总 = T 1-2 + T 2-3 + T 3-4 +.....+ T n-(n+1)

[0111] wherein, T n-(n+1) represents the adjusted zonal luminous flux, i.e., the luminous flux between adjacent angles n to n + 1; T 总 represents the adjusted total luminous flux.

[0112] Obviously, using the above calculation formulas and methods, when the beam angle increases, the luminous intensity data increases synchronously, the zonal luminous flux increases accordingly, and the total flux of the modified IES increases. That is, when the beam angle increases, T 总 > t 总 , and when the beam angle decreases, T 总 < t 总 . If the user needs to change the beam angle while keeping the luminous flux unchanged, the system needs to re-correct the luminous intensity data of the new IES using the coefficient method. According to the zonal luminous flux calculation formula T n-(n+1) = (F n + F n+1 ) × π × (cos n - cos(n + 1)), the corrected luminous intensity data needs to be corrected with a coefficient . The calculated adjusted zonal luminous flux is:

[0113]

[0114] The corrected total luminous flux is:

[0115] T 修正 = T 1-2修正 + T2-3修正 +T 3-4修正 +.....+T n-(n+1)修正

[0116] T 修正 =t 总

[0117] In the formula, T n-(n+1)修正 represents the corrected annular luminous flux, that is, the luminous flux between adjacent angles n to n + 1; T 修正 represents the corrected total luminous flux.

[0118] Specifically, in a specific embodiment of the present invention, the user increases the beam angle from 22.6 degrees to 24.8 degrees. Before adjustment, the original total luminous flux of the lamp is 3200 lumens; after adjustment, due to the overall increase in light intensity data, the system calculates that the total luminous flux increases to 4000 lumens. To keep the total luminous flux unchanged while expanding the beam angle, the system performs the following operations: The system automatically calculates the ratio of the original total luminous flux (3200 lumens) to the adjusted total luminous flux (4000 lumens) as 0.8, and multiplies all the adjusted light intensity data at all angles by a scaling factor of 0.8. For example, if the adjusted light intensity in a certain angle direction is 1000 candelas, it becomes 800 candelas after correction; the corrected light intensity data is recalculated for the total luminous flux, strictly restored to 3200 lumens, while maintaining the adjusted beam angle of 24.8 degrees. The spot simulation shows that the irradiation range of the lamp expands, but the overall brightness is consistent with the original design, without edge bright spots or central dark areas. It can be understood that this embodiment realizes the decoupled adjustment of the beam angle and the total luminous flux. The user can optimize the beam angle shape independently without redesigning the lamp power or luminous flux, breaking through the technical limitation of parameter coupling in the traditional scheme; by using the scaling factor method, it ensures that the adjusted total luminous flux is exactly the same as the original value, avoiding energy consumption over - standard or brightness distortion caused by beam angle optimization, and meeting the requirements of the industry energy efficiency standard; the system automatically completes light intensity adjustment, scaling calculation and data correction, taking less than 1 second, with an efficiency improvement of more than 90% compared to the traditional manual trial - and - error scheme, significantly shortening the design cycle; the designer only needs to input the target beam angle, and the system automatically completes threshold judgment, amplitude switching and luminous flux correction, without understanding complex formulas or physical models, significantly reducing the technical threshold.

[0119] Preferably, the optical parameter adjustment method further includes the following steps:

[0120] Step S511: Receive the target luminous efficacy value and constraint conditions input by the user, where the constraint conditions include keeping the power unchanged;

[0121] Step S512: Calculate the required target total luminous flux based on the product of the target luminous efficacy value and the original power, and synchronously scale all the light intensity data at all angles according to the ratio of the target total luminous flux to the original total luminous flux;

[0122] Step S513: Generate a new second IES file based on the adjusted new light intensity distribution data and new power parameters.

[0123] Glossary: Luminous Efficacy refers to the efficiency of a lighting fixture in converting electrical energy into visible light energy, that is, the luminous flux (lumens, lm) generated per unit power (watt, W). Its unit is lumens per watt (lm / W). The higher the value, the higher the efficiency of converting electrical energy into light energy, and the more energy-efficient the lighting fixture. At the same power, a lighting fixture with a high luminous efficacy can provide a brighter lighting effect, and when maintaining the same brightness, the energy consumption of a high-luminous-efficacy lighting fixture is lower. Lighting designers can optimize the plan by adjusting the luminous efficacy parameters. For example, in energy-saving renovations, the luminous efficacy can be increased to reduce electricity bills, or when upgrading brightness, the power can be kept unchanged to increase the ambient illuminance. The luminous efficacy parameter is directly related to the energy consumption cost and optical performance of lighting design, and is the core basis for balancing energy-saving requirements and lighting effects.

[0124] Specifically, refer to Figure 4 , in a specific embodiment of the present invention, in an office, it is required to increase the luminous efficacy of the lighting fixture from 80 lumens per watt to 100 lumens per watt while keeping the power of the lighting fixture at 50 watts unchanged. After the user sets the target luminous efficacy parameter to 100 lumens per watt through the software interface and checks the "keep power unchanged" constraint condition, the system automatically calculates the target total luminous flux as 50 watts multiplied by 100 lumens per watt, resulting in 5000 lumens. Comparing with the original total luminous flux of 4000 lumens, the system calculates and generates a scaling factor of 1.25, and uniformly magnifies the light intensity data at each angle by 1.25 times. For example, the original light intensity at a certain angle is 800 candelas, and after adjustment, the light intensity is increased to 1000 candelas. The system then generates a new IES file, in which the luminous efficacy parameter is updated to 100 lumens per watt, the power remains 50 watts unchanged, and the total luminous flux increases to 5000 lumens. After actual verification, the average illuminance on the office work surface is increased by 25%, and the spot shape is uniform and distortion-free. The energy consumption of the lighting fixture is exactly the same as before the renovation. The new IES file is compatible with industry design software, and the luminous flux error is small, meeting the requirements of engineering standards.

[0125] Preferably, the optical parameter adjustment method further includes the following steps:

[0126] Step S521: Receive the target luminous efficacy value and constraint conditions input by the user, and the constraint conditions include keeping the luminous flux unchanged;

[0127] Step S522: Recalculate the required power of the lighting fixture according to the ratio of the target luminous efficacy value to the original total luminous flux;

[0128] Step S523: Generate a new third IES file based on the adjusted new light intensity distribution data and new power parameters.

[0129] Specifically, refer to Figure 5, in a specific embodiment of the present invention, a certain warehouse needs to increase the luminous efficacy from 80 lumens per watt to 100 lumens per watt while keeping the total luminous flux of 8000 lumens unchanged, and the current lamp power is 100 watts. The user inputs the target luminous efficacy value of 100 lumens per watt in the software interface and selects the constraint condition of "keeping the luminous flux unchanged". The system calculates the required power to be 80 watts according to the target luminous efficacy and the original luminous flux. The luminous intensity data at all angles remain unchanged, and the total luminous flux is maintained at 8000 lumens. The system generates a new IES file with the power reduced to 80 watts, making the luminous efficacy meet the standard.

[0130] It can be understood that in this embodiment, through the decoupled control of the target luminous efficacy value and the constraint condition, the precise adjustment of lighting parameters is achieved. When the power is kept unchanged, the increase in luminous efficacy is directly converted into the enhancement of luminous flux, the brightness is significantly improved and the energy consumption remains unchanged, meeting the requirements of brightness upgrade; when the luminous flux is maintained unchanged, the increase in luminous efficacy drives the power reduction, with significant energy-saving effect and no damage to the spot shape. The system automatically completes the light intensity scaling, power recalculation and IES file generation, avoiding the time-consuming cost of manual trial and error and hardware transformation in the traditional scheme, and shortening the design cycle. The adjusted light intensity distribution strictly follows the optical law, with small spot uniformity error and compatibility with mainstream design software, ensuring that the scheme can be directly put into production.

[0131] Preferably, the optical parameter adjustment method further includes the following steps:

[0132] Step S610: Receive the target total luminous flux;

[0133] Step S620: Scale the luminous intensity data at all angles proportionally according to the ratio of the target total luminous flux to the original total luminous flux;

[0134] Step S630: Generate a new fourth IES file based on the scaled new light intensity distribution data.

[0135] Specifically, refer to Figure 6, in a specific embodiment of the present invention, in a certain exhibition hall, the total luminous flux of the lamps needs to be increased from 4000 lumens to 5000 lumens, while keeping the beam angle and power parameters unchanged. After the user inputs the target total luminous flux of 5000 lumens through the software interface, the system automatically calculates the scaling factor as 5000 / 4000 = 1.25, and scales all the angular luminous intensity data proportionally. For example, the original luminous intensity at a certain angle is 800 candela, and after adjustment, it is increased to 1000 candela. The new IES file generated by the system maintains the original beam angle and power parameters, the total luminous flux increases to 5000 lumens, and the spot shape is exactly the same as the original design, without edge bright spots or central dark areas. Through actual verification, the average illuminance on the working surface of the exhibition hall is increased by 25%, the lighting uniformity error is small, and the new file can be directly imported into DIALux for simulation without re-designing the optical structure or adjusting the lamp hardware, significantly shortening the scheme iteration cycle. It can be understood that by directly inputting the target total luminous flux and scaling the luminous intensity data proportionally, designers can flexibly adjust the brightness without affecting the beam angle and energy consumption parameters, ensure that the spot shape is strictly consistent with the original design, and avoid repeated verification caused by parameter coupling. The IES file automatically generated by the system is compatible with industry software, with a small luminous flux error, supports flexible adaptation for the full range of scenarios from commercial spaces to art venues, and becomes an efficient tool for instant optimization of lighting schemes.

[0136] Preferably, the optical parameter adjustment method further includes the following data verification steps:

[0137] Step S710: Parse the header metadata of the original IES file and extract the lamp model;

[0138] Step S720: Obtain the corresponding permitted parameter range based on the lamp model;

[0139] Step S730: According to the permitted parameter range, verify whether the adjusted optical parameters exceed the range. If they exceed, a warning prompt is popped up and the generation of the IES file is terminated. If not, the generation of the IES file continues.

[0140] Specifically, refer to Figure 7, in a specific embodiment of the present invention, the system will execute a data verification process before generating the IES file to ensure that the parameter adjustment complies with the hardware design specifications. When the user uploads the original IES file and enters the target beam angle, the system first parses the file header metadata to extract key information such as the lamp model "GALAXY-X3", the manufacturer "AAA", and the test date "2024-03-20". Based on the lamp model, the system preferentially queries the local preset database to obtain the design constraint parameters of this model. For example, the allowable range of the beam angle is from 15° to 40°. If the target beam angle set by the user exceeds this range, for example, 45° is entered, the system will immediately pop up a warning prompt "The target beam angle exceeds the hardware limit (maximum 40°)", terminate the file generation process, and recommend that the user modify it to a safe value. If the model is not included in the local database, the system will automatically switch to the backup data source: call the API interface provided by the manufacturer to obtain the latest parameters in real time; if the API has no response, the physical model will be launched for calculation, and the theoretical maximum beam angle will be estimated according to the physical structure of the lamp, such as the curvature and size of the reflector cup; if the physical model is not available, the system can also predict a reasonable range through an AI model trained with historical data. For example, based on similar lamps, the upper limit of the beam angle is inferred to be 37° and a recommended value is given. When all automatic acquisition methods fail, the user can manually enter known safe parameters, such as 40° marked in the manufacturer's manual, and the system will continue the process after forced confirmation. After passing the verification, the system adjusts the light intensity distribution according to the target value and generates a new IES file to ensure that the spot range is accurately extended to 40°, the edge illuminance uniformity error is controlled within 3%, and there is no light scattering or brightness attenuation. This mechanism, through the linkage of multi-level data sources and intelligent interception, not only ensures the safety of lighting design and avoids equipment failures caused by over-limit adjustments, but also takes into account flexibility and compatibility, becoming the core technical support for balancing innovative design and hardware reliability.

[0141] As Figures 9 to 15 shown, the present invention verifies the actual effects of beam angle and luminous flux adjustment through a graphical interface and data visualization. Among them, Figure 9 shows the software operation interface for beam angle adjustment. The user can select the target beam angle and adjustment amplitude through the input box, and the figure shows the comparison of basic information before and after beam angle adjustment; Figure 10 is the software operation interface for luminous flux adjustment, which supports directly entering the target value or scaling by a ratio. The figure shows the comparison of basic information before and after luminous flux adjustment; Figure 11 And Figure 12 respectively present the data graphs of the original IES file and after beam angle adjustment; Figures 13 to 15 The effectiveness of parameter adjustment is verified through the DIALux lighting simulation results. Figure 13 is the illuminance distribution of the original IES, Figure 14 is the IES simulated illuminance distribution graph after beam angle modification, Figure 15IES simulation illuminance distribution diagram after the light flux is modified.

[0142] See Figure 8 , a second aspect of the present invention provides an optical parameter adjustment system for a lamp, including:

[0143] An analysis module for analyzing the original IES file to obtain the original light intensity distribution data and the original beam angle at each angle;

[0144] A receiving module for receiving the beam angle adjustment parameter input by the user, where the beam angle adjustment parameter is used to indicate an increase or decrease in the beam angle;

[0145] An adjustment module for dynamically adjusting the light intensity data at non-central angles according to the beam angle adjustment parameter while keeping the central light intensity unchanged. Specifically, when the beam angle adjustment parameter indicates an increase in the beam angle, the light intensity data at each angle is adjusted according to a preset first adjustment rule, so that the decreasing amplitude of the light intensity between adjacent angles is less than the original decreasing amplitude; when the beam angle adjustment parameter indicates a decrease in the beam angle, the light intensity data at each angle is sharpened according to a preset second adjustment rule, so that the decreasing amplitude of the light intensity between adjacent angles is greater than the original decreasing amplitude;

[0146] A generation module for generating a new IES file based on the newly adjusted light intensity distribution data.

[0147] A third aspect of the present invention further provides a storage medium, on which an optical parameter adjustment processing program for a lamp is stored. When the optical parameter adjustment program for the lamp is executed by a processor, the steps of adjusting the optical parameters of the lamp as described in any one of the above embodiments are implemented.

[0148] A fourth aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The characteristic is that when the processor executes the computer program, the method for adjusting the optical parameters of the lamp as described in any one of the first aspect embodiments is implemented.

[0149] The processor may be a Central Processing Unit (CPU), or may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor is the control center for adjusting the optical parameters of the lamp, and uses various interfaces and circuits to connect all parts of the optical parameter adjustment system of the entire lamp to process each part of the operable device.

[0150] The memory can be used to store the computer programs and / or modules. By running or executing the computer programs and / or modules stored in the memory, and by calling the data stored in the memory, the processor realizes various functions of the optical parameter adjustment system of the lamp. The memory mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

[0151] Compared with the prior art, the beneficial effects of the present invention at least include:

[0152] The optical parameter adjustment method and system for the lighting fixture provided by the present invention directly analyze the IES file and dynamically adjust the light intensity distribution data, replacing the traditional process of relying on lighting fixture manufacturers to repeatedly test and generate new IES files, shortening the design cycle of several weeks to the minute level, and significantly reducing the test cost and time loss; based on the preset adjustment rules for increasing and decreasing the beam angle, by controlling the dynamic change of the light intensity decreasing amplitude at adjacent angles, the quantitative adjustment of the beam angle expansion or contraction is realized, ensuring that the spot range is accurately expanded or narrowed, with a small error range, and meeting the requirements of high-precision scenarios; during the adjustment process, the central light intensity remains unchanged, avoiding the problems of overexposure or dark areas at the center of the spot caused by overall brightness scaling in the traditional scheme, maintaining the illuminance consistency in the core area of the lighting design, and at the same time reproducing the natural optical attenuation law through the non-linear light intensity correction method, with a small uniformity error at the edge of the spot; by presetting adjustment rules and automated calculations to replace manual trial and error and complex formula derivations, designers only need to select the beam angle adjustment direction, and the system automatically completes the light intensity data correction and IES file generation, achieving professional-level parameter optimization without the need for a professional optical background, and reducing the technical threshold.

[0153] Furthermore, the present invention also provides a specific non-linear formula for adjusting the beam angle. When increasing the beam angle, the progressive gain coefficient of the angle square term is used to simulate the natural attenuation characteristic of the light intensity of the lamp, ensuring that the edge of the light spot expands uniformly without morphological distortion; when decreasing the beam angle, the far-end light intensity is suppressed by a linear attenuation factor to reproduce the sharp boundary of the narrow beam; through the normalized design of the adjustment amplitude coefficient K, different lamp models are compatible, and users can achieve precise control from sub-degree to several degrees by selecting one or two gears, improving the calculation efficiency. Furthermore, through the automatic iterative adjustment mechanism of the target beam angle input, when the initial deviation is large, a large adjustment coefficient is used to quickly approach the target, and after approaching the target, it switches to a small adjustment coefficient for fine calibration. The time-consuming for a single adjustment is only 10% of the traditional trial and error, and the final beam angle error can converge within 0.1 degree; the system dynamically judges according to the deviation magnitude and intelligently switches the adjustment mode to avoid manual intervention, ensuring that the light intensity data strictly follows the optical attenuation law and the light spot morphology is smooth without mutation. Furthermore, by automatically calculating the light flux scaling coefficient and correcting the light intensity data as a whole after the beam angle adjustment, the present invention realizes the complete decoupling control of the beam angle and the total light flux. Users can independently optimize the light spot morphology without affecting the overall brightness. The system scales the light intensity of all angles in proportion according to the ratio of the original and adjusted light fluxes, ensuring that the total light flux after adjustment is strictly consistent with the original value, and avoiding energy consumption overrun or brightness distortion caused by the change of the beam angle. Furthermore, through the input of the target luminous efficacy value and the selection of constraint conditions, the present invention realizes the decoupled and precise control of luminous efficacy, power, and light flux. When the power remains unchanged, all-angle light intensity data is enhanced proportionally based on the improvement of luminous efficacy, increasing the overall brightness without changing the energy consumption; when the light flux remains unchanged, the power parameter is synchronously reduced to ensure energy efficiency compliance while maintaining the brightness. Furthermore, by directly inputting the target total light flux and automatically scaling all-angle light intensity data in proportion, the present invention realizes precise brightness adjustment and zero distortion of the light spot morphology. Users can meet the illumination requirements of different scenarios without adjusting the lamp hardware or redesigning the optical structure. Furthermore, before generating the IES file, the present invention automatically checks whether the adjusted optical parameters exceed the range permitted by the lamp hardware, combines the multi-source data linkage of the local database, manufacturer interface, and AI model prediction, intercepts the over-limit operation in real time and recommends safe parameters, avoiding equipment overheating or damage to optical components caused by beam angle or light flux overload. The above-described embodiments only represent several implementation manners of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention's patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several deformations and improvements can be made. The equivalent structural transformation made by using the content of the specification and drawings of the present invention, or the direct / indirect application in other related technical fields, are all included in the patent protection scope of the present invention. Therefore, the protection scope of the present invention's patent should be subject to the appended claims.

[0154] It should be noted that in the present invention, the embodiments implemented on the side of the optical parameter adjustment system of the lamp can be mutually referred to the embodiments implemented on the side of the optical parameter adjustment method of the lamp, and the present invention will not elaborate one by one.

[0155] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present invention.

Claims

1. A method for adjusting optical parameters of a lamp, characterized in that: include: Step S100: parsing the original IES file to obtain original optical parameters, wherein the original optical parameters include original light intensity distribution data at each angle and original beam angle; Step S200: receiving a beam angle adjustment parameter input by a user, wherein the beam angle adjustment parameter is used to indicate an increase or decrease in the beam angle; Step S300: According to the beam angle adjustment parameters, the central light intensity is kept unchanged, and the light intensity data of the non-central angle is dynamically adjusted, specifically: When the beam angle adjustment parameter indicates that the beam angle increases, the light intensity data of each angle is adjusted according to a preset first adjustment rule so that the decreasing amplitude of the light intensity at adjacent angles is smaller than the original decreasing amplitude; When the beam angle adjustment parameter indicates that the beam angle is reduced, the light intensity data of each angle is adjusted according to the preset second adjustment rule so that the decreasing amplitude of the light intensity at adjacent angles is greater than the original decreasing amplitude; Step S400: generating a new IES file based on the dynamically adjusted new optical parameters.

2. The optical parameter adjustment method of a lamp as claimed in claim 1, characterized in that: The step S300 specifically includes: The preset first adjustment rule realizes the smoothing process of increasing the beam angle by the following formula: The preset second adjustment rule realizes the sharpening process of reducing the beam angle through the following formula: Where K is the beam angle adjustment coefficient; n represents the angle value based on the central axis of the lamp. When n=1, it corresponds to the 1° direction, n=2 corresponds to the 2° direction, and so on; F n Indicates the light intensity data at angle n after dynamic adjustment; f n Represents the original light intensity data at angle n; the formula is applicable to non-central angle light intensity data with n≥1.

3. The optical parameter adjustment method of a lamp as claimed in claim 2, characterized in that: In step S200, the beam angle adjustment parameter is the target beam angle, and step S300 performs the following iterative adjustment steps: Step S310: determining the beam angle adjustment direction according to the target beam angle and the current beam angle, and calculating the angle deviation between the current beam angle and the target beam angle; Step S320: selecting a beam angle adjustment coefficient according to the angle deviation; when the angle deviation is greater than or equal to a first preset threshold, selecting a second adjustment coefficient; when the angle deviation is less than the first preset threshold, selecting a first adjustment coefficient; wherein the first adjustment coefficient is greater than the second adjustment coefficient; Step S330: dynamically adjusting the light intensity data of the non-central angle based on the selected adjustment amplitude coefficient, generating new light intensity distribution data and updating the current beam angle; Step S340: recalculate the angle deviation between the current beam angle and the target beam angle. If the angle deviation is greater than the second preset threshold, repeat steps S320 to S330 until the angle deviation is less than or equal to the second preset threshold.

4. The optical parameter adjustment method of a lamp as claimed in claim 3, characterized in that: The value of the beam angle adjustment amplitude coefficient K is as follows: when the first adjustment amplitude is selected, K=0.01; when the second adjustment amplitude is selected, K=0.

1.

5. The optical parameter adjustment method of a lamp according to any one of claims 1 to 4, characterized in that: After step S300, the following steps are also included: Step S350: Calculate the ratio of the original total luminous flux to the adjusted total luminous flux, and scale the adjusted light intensity data at each angle as a whole according to the ratio so that the scaled total luminous flux remains consistent with the original total luminous flux.

6. The optical parameter adjustment method of a lamp as claimed in claim 5, characterized in that: The following steps are also included: Step S511: receiving a target light efficiency value and a constraint condition input by a user, wherein the constraint condition includes keeping the power unchanged; Step S512: Calculate the required target total luminous flux based on the product of the target luminous efficacy value and the original power, and synchronously scale the light intensity data of all angles according to the ratio of the target total luminous flux to the original total luminous flux; Step S513: Generate a new second IES file based on the adjusted new light intensity distribution data and the new power parameters.

7. The optical parameter adjustment method of a lamp as claimed in claim 5, characterized in that: The following steps are also included: Step S521: receiving a target light efficiency value and a constraint condition input by a user, wherein the constraint condition includes keeping the light flux unchanged; Step S522: recalculating the required lamp power according to the ratio of the target luminous efficacy value to the original total luminous flux; Step S523: Generate a new third IES file based on the adjusted new light intensity distribution data and the new power parameters.

8. The optical parameter adjustment method of a lamp as claimed in claim 5, characterized in that: The following steps are also included: Step S610: receiving a target total luminous flux; Step S620: scaling the light intensity data at all angles in proportion according to the ratio of the target total light flux to the original total light flux; Step S630: Generate a new fourth IES file based on the scaled new light intensity distribution data.

9. The optical parameter adjustment method of a lamp as claimed in claim 5, characterized in that: The following data verification steps need to be performed before generating the IES file: Step S710: parsing the header metadata of the original IES file to extract the lamp model; Step S720: obtaining a corresponding permitted parameter range based on the lamp model; Step S730: according to the permitted parameter range, check whether the adjusted optical parameters are out of the range, if so, pop up a warning prompt and terminate the IES file generation, if not, continue to generate the IES file.

10. An optical parameter adjustment system for a lamp, characterized in that: include: The parsing module is used to parse the original IES file to obtain the original light intensity distribution data and original beam angle at each angle; A receiving module, used to receive a beam angle adjustment parameter input by a user, wherein the beam angle adjustment parameter is used to indicate an increase or decrease in the beam angle; An adjustment module is used to dynamically adjust the light intensity data of non-central angles while keeping the central light intensity unchanged according to the beam angle adjustment parameter, specifically: when the beam angle adjustment parameter indicates that the beam angle increases, the light intensity data of each angle is adjusted according to a preset first adjustment rule, so that the decreasing amplitude of the light intensity of adjacent angles is smaller than the original decreasing amplitude; when the beam angle adjustment parameter indicates that the beam angle decreases, the light intensity data of each angle is adjusted according to a preset second adjustment rule, so that the decreasing amplitude of the light intensity of adjacent angles is larger than the original decreasing amplitude; The generation module generates a new IES file based on the dynamically adjusted new light intensity distribution data.