CN117279165A - Stage lamp illumination control method, device, equipment and medium based on angle change - Google Patents

Stage lamp illumination control method, device, equipment and medium based on angle change Download PDF

Info

Publication number
CN117279165A
CN117279165A CN202311271388.4A CN202311271388A CN117279165A CN 117279165 A CN117279165 A CN 117279165A CN 202311271388 A CN202311271388 A CN 202311271388A CN 117279165 A CN117279165 A CN 117279165A
Authority
CN
China
Prior art keywords
correction coefficient
stage lamp
light
angle
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311271388.4A
Other languages
Chinese (zh)
Other versions
CN117279165B (en
Inventor
陈建民
王伟
陈学毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lantian Electronic Technology Co ltd
Original Assignee
Guangzhou Lantian Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lantian Electronic Technology Co ltd filed Critical Guangzhou Lantian Electronic Technology Co ltd
Priority to CN202311271388.4A priority Critical patent/CN117279165B/en
Publication of CN117279165A publication Critical patent/CN117279165A/en
Application granted granted Critical
Publication of CN117279165B publication Critical patent/CN117279165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to a stage lamp illumination control method, device, equipment and medium based on angle change, wherein the method comprises the steps of obtaining a plurality of distribution illumination data uniformly distributed on a light outlet of a stage lamp, and obtaining current illumination data according to the distribution illumination data; obtaining target illumination data required to be achieved by the stage lamp and a light emitting angle of the stage lamp; acquiring a corresponding correction coefficient according to the light emitting angle; acquiring a pulse width modulation adjustment value of the stage lamp based on the correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle; and adjusting the stage lamp according to the pulse width modulation adjustment value. The application has the effect of considering the light-emitting angle and improving the accuracy of the illumination of the control stage lamp.

Description

Stage lamp illumination control method, device, equipment and medium based on angle change
Technical Field
The invention relates to the technical field of stage lamp control, in particular to a stage lamp illumination control method, device, equipment and medium based on angle change.
Background
In current application, stage lamp is stage property that a kind of rendering stage atmosphere can carry out the illumination of omnidirectional visual environment to personage and required specific scene according to the development of plot, improves the expressive force of stage performance, and the use of stage lamp often needs the angle of light-emitting of deflection stage lamp to this provides richer stage effect, and when the angle of light-emitting of stage lamp takes place to deflect, the illuminance of light beam also can change thereupon, produces negative influence to the whole rendering of stage.
Related technologies have been used in the market to improve the lamps with such problems, but the control algorithms based on the monitoring of the output power are not capable of thoroughly solving the problems in view of not introducing a feedback device and not considering the change of the light emitting angle.
The related technical scheme has the following defects: based on the control algorithm for monitoring the output power, the monitoring value is not accurate enough due to the fact that the temperature of the semiconductor is increased.
Disclosure of Invention
In order to provide a control method for improving accuracy of controlling illuminance of stage lamps by considering light-emitting angles, the application provides a stage lamp illuminance control method, device, equipment and medium based on angle change.
In a first aspect, the above object of the present application is achieved by the following technical solutions:
the stage lamp illumination control method based on the angle change is characterized by comprising the following steps of:
acquiring a plurality of distribution illuminance data uniformly distributed at a light outlet of a stage lamp, and acquiring current illuminance data according to the distribution illuminance data;
obtaining target illumination data required to be achieved by the stage lamp and a light emitting angle of the stage lamp;
acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle;
acquiring a pulse width modulation adjustment value for adjusting the illuminance of the stage lamp based on the correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle;
and adjusting the stage lamp according to the pulse width modulation adjustment value.
By adopting the technical scheme, the illuminance sensors at the light outlet of the stage lamp are uniform in interval, the distribution illuminance data are the illuminance data detected by the illuminance sensors at the light outlet of the stage lamp at uniform intervals, the current illuminance data obtained according to the average value of a plurality of obtained distribution illuminance data are the illuminance data of the stage lamp at the current light outlet angle, the illuminance sensors are arranged at the light outlet, so that the detected data have higher accuracy, the current illuminance data are obtained according to the average value of the distribution illuminance data, the effect of obtaining higher accuracy is realized in a simple mode, the obtained light outlet angle is the deflection angle of the light outlet of the stage lamp, the correction coefficient corresponding to the light outlet angle is obtained through a large amount of experiments and field test data, therefore, the pulse width modulation adjustment value of the stage lamp is obtained through a calculation formula, the illuminance of the stage lamp is adjusted based on the pulse width modulation adjustment value, the condition that the angle of the stage lamp causes illuminance change due to angle deflection is avoided, and the accuracy of the stage lamp is improved.
The present application may be further configured in a preferred example to: the method for acquiring the illuminance data of the plurality of distributions uniformly distributed at the light outlet of the stage lamp comprises the following steps of:
and obtaining a plurality of distribution illuminance data uniformly distributed on the light outlet of the stage lamp, and calculating the average value of the distribution illuminance data to obtain the current illuminance data.
Through adopting above-mentioned technical scheme, the current illuminance data that acquire is the average value of the distribution illuminance data that a plurality of evenly distributed illuminance sensors at the light exit of stage lamp detected, for example, when the light exit of stage lamp is circular, four high accuracy illuminance sensors evenly distributed distributes around the light exit of stage lamp according to 90 degrees interval, the distribution illuminance data then is the detected data of these four illuminance sensors, the current illuminance data then is the average value of these four distribution illuminance data, the current illuminance data that acquire through evenly distributed sensor, make when the angle deflection of stage lamp, the current illuminance data of acquisition is more accurate, the deviation of directly acquireing current illuminance data has been reduced.
The present application may be further configured in a preferred example to: according to the light emitting angle, the correction coefficient for adjusting the stage lamp is obtained, and the correction coefficient specifically comprises:
Acquiring a correction coefficient database, and acquiring a test correction coefficient for a correction coefficient test from the correction coefficient database;
based on the test correction coefficient for the correction coefficient test, obtaining a test result of the correction coefficient test;
and acquiring a corresponding correction coefficient for adjusting the stage lamp according to the correction coefficient test result and the light emitting angle.
Through adopting above-mentioned technical scheme, correction coefficient is the coefficient value that is used for according to the pulse width modulation adjustment value of the corresponding adjustment stage lamp of the angle of light that appears of stage lamp, correction coefficient database then is through a large amount of experiments acquisition, correction coefficient that a plurality of angles that appear of stage lamp are included in the correction coefficient database correspond, when practical application, carry out on-the-spot test at the stage scene of installation stage lamp, and the correction coefficient in the correction coefficient database is adjusted according to the corresponding adjustment of test result, through a large amount of experiments and the mode of on-the-spot test outside of scene, make the correction coefficient that obtains more be applicable to the stage scene that stage lamp was installed, and then make the adjustment of the pulse width modulation adjustment value of stage lamp more accurate.
The present application may be further configured in a preferred example to: based on the test correction coefficient for the correction coefficient test, the test result of the correction coefficient test is obtained, and the method specifically comprises the following steps:
The correction coefficient database comprises test correction coefficients and test light-emitting angles corresponding to the test correction coefficients;
and acquiring test results of the correction coefficient test at the installation site of the stage lamp based on the test correction coefficient for the correction coefficient test and the corresponding test light-emitting angle.
Through adopting above-mentioned technical scheme, obtain correction factor and the light-emitting angle of the stage lamp that corresponds from correction factor database is random to this correction factor and the light-emitting angle that corresponds for experiment carry out the field test, the light-emitting mouth of stage lamp adjusts according to this light-emitting angle, and after adjusting according to this correction factor, whether test its actual illuminance is unanimous before with stage lamp angle adjustment, through the mode of field test, make the correction factor in the correction factor database more be applicable to the stage scene that stage lamp was installed, and then make the adjustment of the pulse width modulation adjustment value of stage lamp more accurate.
The present application may be further configured in a preferred example to: according to the correction coefficient test result and the light emitting angle, the correction coefficient for adjusting the stage lamp is obtained, which specifically comprises:
The correction coefficient test result comprises an adjustment proportion coefficient, and an adjusted correction coefficient database is obtained according to the adjustment proportion coefficient and the test correction coefficient;
and acquiring a correction coefficient corresponding to the light-emitting angle and used for adjusting the stage lamp according to the light-emitting angle and the adjusted correction coefficient database.
By adopting the technical scheme, the adjustment ratio coefficient is the ratio of the illuminance of the stage lamp after test adjustment to the illuminance before test adjustment, and the adjustment post-correction coefficient database is the correction coefficient database after adjustment according to the adjustment ratio coefficient, so that the stage lamp on the stage scene obtains the correction coefficient corresponding to the light-emitting angle from the adjustment post-correction coefficient database according to the light-emitting angle of the stage lamp after field test in actual use, thereby enabling the adjustment of the output parameter of the stage lamp to be more accurate and enabling the obtained pulse width modulation adjustment value to be more accurate.
The present application may be further configured in a preferred example to: the step of obtaining a pulse width modulation adjustment value for adjusting the illuminance of the stage lamp based on the correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle specifically includes:
According to the correction coefficient, the current illumination data, the target illumination data and the light emitting angle, calculating and obtaining a pulse width modulation adjustment value for adjusting the illumination of the stage lamp through the following formula:
∑PWM=(LUX8*D-LUX7*D)*K;
wherein, LUX8 is the current illuminance data, LUX7 is the target illuminance data, D is the light emitting angle, K is the correction coefficient, Σpwm is the pulse width modulation adjustment value.
Through adopting above-mentioned technical scheme, through the correction coefficient that obtains current illuminance data, target illuminance data with the angle of light-emitting, use the formula to calculate the pulse width modulation adjustment value that obtains stage lamp corresponding angle of light-emitting, take into account the angle of light-emitting in the formula, the pulse width modulation adjustment value that obtains also is based on the change of angle of light-emitting, consequently, when the angle of light-emitting of stage lamp's light-emitting mouth takes place the change, stage lamp adjusts according to pulse width modulation adjustment value promptly, has ensured stage lamp's illuminance stability, has improved user's use experience.
The present application may be further configured in a preferred example to: after the pulse width modulation adjustment value for adjusting the illuminance of the stage lamp is obtained based on the correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle, the stage lamp illuminance control method based on angle change further includes:
According to the light emitting angle and the current illuminance data, acquiring a historical light emitting angle which is the same as the light emitting angle and historical current illuminance data which corresponds to the historical light emitting angle, and generating a first functional relation based on the light emitting angle and the current illuminance data;
generating a second functional relationship based on the historical light-emitting angle and the historical current illuminance data according to the historical light-emitting angle and the historical current illuminance data;
and obtaining an average function relation between the first function relation and the second function relation, and obtaining a pulse width modulation adjustment value according to the average function relation.
By adopting the technical scheme, because the obtained current illuminance data is not directly obtained in the illuminance area of the stage lamp, the accuracy of the current illuminance data cannot be ensured, therefore, in the use process of the stage lamp, the light emitting angle and the corresponding current illuminance data, target illuminance data and correction coefficients are stored when the stage lamp deflects each time, whether the historical light emitting angle consistent with the current light emitting angle exists in the historical light emitting angle before the stage lamp deflects, if the historical light emitting angle consistent with the current light emitting angle exists is judged, a first functional relation based on the current light emitting angle and the current illuminance data is generated, a second functional relation based on the historical light emitting angle and the historical current illuminance data is generated, then a pulse width modulation adjustment value is obtained according to the average functional relation of the first functional relation and the second function, and the obtained pulse width modulation adjustment value is analyzed by combining the historical light emitting angle and the corresponding current illuminance data when the light emitting angle is obtained each time, and the obtained pulse width modulation value is accurate.
In a second aspect, the above object of the present application is achieved by the following technical solutions:
a stage lighting control device based on angle change, the stage lighting control device based on angle change comprising: the current illuminance data acquisition module is used for acquiring a plurality of distribution illuminance data uniformly distributed at the light outlet of the stage lamp, and acquiring the current illuminance data according to the distribution illuminance data;
the light-emitting angle acquisition module is used for acquiring target illumination data required to be achieved by the stage lamp and the light-emitting angle of the stage lamp;
the correction coefficient acquisition module is used for acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle; the pulse width modulation adjustment value acquisition module is used for acquiring a pulse width modulation adjustment value for adjusting the illumination of the stage lamp based on the correction coefficient, the current illumination data, the target illumination data and the light-emitting angle;
and the adjusting module is used for adjusting the stage lamp according to the pulse width modulation adjusting value.
In a third aspect, the above object of the present application is achieved by the following technical solutions:
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above-described angular-change-based stage illumination control method when the computer program is executed.
In a fourth aspect, the above object of the present application is achieved by the following technical solutions:
a computer readable storage medium storing a computer program which when executed by a processor implements the steps of the above-described angular variation-based stage illumination control method.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the illuminance sensor is arranged at the light outlet, so that detected data has higher accuracy, current illuminance data is obtained according to an average value of distributed illuminance data, the effect of obtaining higher accuracy is realized in a simple mode, a pulse width modulation adjustment value of the stage lamp is obtained through a calculation formula according to the obtained illuminance data, the light outlet angle and other data, and the stage lamp is adjusted based on the pulse width modulation adjustment value, so that the illuminance of the stage lamp is adjusted to be the target illuminance, the condition that the illuminance of the stage lamp changes due to angle deflection is avoided, and the accuracy of adjusting the stage lamp is improved;
2. The correction coefficients in the correction coefficient database are more suitable for the stage field where the stage lamp is installed in a field test mode, so that the pulse width modulation adjustment value of the stage lamp is more accurately adjusted;
3. because the obtained current illuminance data is not directly obtained in the illuminance area of the stage lamp, the accuracy of the current illuminance data cannot be ensured, therefore, the pulse width modulation adjustment value is obtained according to the average function relation of the first function relation and the second function, and the obtained light emitting angle and the corresponding current illuminance data are more accurate by analyzing by combining the historical light emitting angle and the corresponding current illuminance data each time when the light emitting angle is obtained, so that the obtained pulse width modulation adjustment value is more accurate.
Drawings
FIG. 1 is a first implementation flowchart of a stage illumination control method based on angle variation in an embodiment of the present application;
FIG. 2 is a flowchart of an implementation of S10 of a stage illumination control method based on angle change in an embodiment of the present application;
FIG. 3 is a flowchart of an implementation of S30 of a stage illumination control method based on angle variation in an embodiment of the present application;
FIG. 4 is a flowchart of an implementation of S32 of a stage illumination control method based on angle change in an embodiment of the present application;
FIG. 5 is a flowchart of an implementation of S33 of a stage illumination control method based on angle variation in an embodiment of the present application;
FIG. 6 is a flowchart of an implementation of S40 of a stage illumination control method based on angle variation in an embodiment of the present application;
FIG. 7 is a second implementation flowchart of a stage illumination control method based on angle variation in an embodiment of the present application;
FIG. 8 is a schematic block diagram of a stage illumination control device based on angle variation in an embodiment of the present application;
fig. 9 is an internal structural diagram of a stage lighting control computer device based on angle change in an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
In an embodiment, as shown in fig. 1, the application discloses a stage lamp illumination control method based on angle change, which specifically includes the following steps:
s10: and acquiring a plurality of distribution illuminance data uniformly distributed at the light outlet of the stage lamp, and acquiring current illuminance data according to the distribution illuminance data.
In this embodiment, the distribution illuminance data refers to illuminance data detected by a sensor at the light exit of the stage lamp. The current illuminance data refers to illuminance data of the irradiation light of the stage lamp.
Specifically, illuminance data detected by sensors uniformly distributed at the light outlet of the stage lamp, namely distribution illuminance data, are acquired, the distribution illuminance data are not less than one, the specific number is determined based on the shape and the area size of the light outlet of the stage lamp, and according to the acquired distribution illuminance data, the average value of the distribution illuminance data is calculated to obtain illuminance data representing the irradiation light of the stage lamp, namely current illuminance data.
S20: and obtaining target illumination data required to be achieved by the stage lamp and the light emitting angle of the stage lamp.
In this embodiment, the target illuminance data refers to the design illuminance requirement for the stage lamp. The light-emitting angle refers to an angle at which a light-emitting opening of the stage lamp deflects based on an original vertical direction.
Specifically, after the light outlet of the stage lamp deflects, according to the lamp light design requirement of the stage lamp, illuminance data which is required to be reached by the stage lamp, namely target illuminance data, is obtained, and the angle, namely the light outlet angle, of the deflection of the light outlet of the stage lamp is obtained.
Further, in this embodiment, the purpose of adjusting the stage lamp is to keep the illuminance data of the stage lamp stable, so the target illuminance data refers to the illuminance data of the stage lamp before deflection occurs, and the current illuminance data refers to the illuminance data of the stage lamp after deflection occurs.
S30: and acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle.
In this embodiment, the correction coefficient refers to a coefficient value for adjusting stage lamp.
Specifically, according to the light emitting angle, the coefficient value, that is, the correction coefficient, corresponding to the light emitting angle is obtained, and in this embodiment, the correction coefficient is obtained through a correction coefficient test of a stage field where the stage light is installed and an off-site test, and the off-site test is that under the same light emitting angle, different correction coefficients corresponding to the same light emitting angle are obtained through adjustment, and according to the difference between illuminance data corresponding to the different adjusted correction coefficients and target illuminance data, the correction coefficient corresponding to the illuminance data with the minimum difference between the target illuminance data is used as the correction coefficient corresponding to the light emitting angle.
S40: and acquiring a pulse width modulation adjustment value for adjusting the illumination of the stage lamp based on the correction coefficient, the current illumination data, the target illumination data and the light emitting angle.
In this embodiment, the pwm adjustment value refers to a value for adjusting the illuminance of the stage lamp.
Specifically, after the light outlet of the stage lamp deflects, the pulse width modulation circuit in the stage lamp is adjusted according to the obtained correction coefficient, the current illuminance data, the target illuminance data and the light outlet angle, so as to adjust the illuminance adjustment value of the stage lamp, namely the pulse width modulation adjustment value.
S50: and adjusting the stage lamp according to the pulse width modulation adjustment value.
Specifically, after the pulse width modulation adjustment value is obtained, the pulse width modulation circuit in the stage lamp is correspondingly adjusted, so that the illumination stability of the stage lamp is ensured.
In an embodiment, as shown in fig. 2, in step S10, a plurality of distribution illuminance data uniformly distributed at a light outlet of a stage lamp is obtained, and current illuminance data is obtained according to the distribution illuminance data, which specifically includes:
s11: and obtaining a plurality of distribution illuminance data uniformly distributed on the light outlet of the stage lamp, and calculating the average value of the plurality of distribution illuminance data to obtain the current illuminance data.
Specifically, a plurality of distribution illuminance data uniformly distributed on the light outlet of the stage lamp are obtained, an average value of the plurality of distribution illuminance data is calculated to obtain current illuminance data, in this embodiment, the light outlet of the stage lamp is circular, the distribution illuminance data are illuminance data detected by four high-precision illuminance sensors uniformly distributed around the light outlet of the stage lamp at intervals of 90 degrees, and the average value of the four distribution illuminance data is calculated to obtain current illuminance data.
In an embodiment, as shown in fig. 3, in step S30, the obtaining the correction coefficient for adjusting the stage lamp according to the light emitting angle specifically includes:
S31: and acquiring a correction coefficient database, and acquiring test correction coefficients for the correction coefficient test from the correction coefficient database.
In this embodiment, the correction coefficient database refers to a database including correction coefficients corresponding to a plurality of different light emission angles. The test correction coefficient refers to a correction coefficient used for performing a correction coefficient test on a stage scene where stage lamps are installed.
Specifically, before the stage lamp deflects, a database including correction coefficients corresponding to a plurality of different light emitting angles, namely a correction coefficient database, is obtained through a large number of experiments, and after the stage lamp is installed on a stage scene, correction coefficients for performing a correction coefficient test on the scene, namely test correction coefficients, are randomly obtained from the correction coefficient database.
S32: based on the test correction coefficient for the correction coefficient test, a test result of the correction coefficient test is obtained.
In this embodiment, the correction coefficient test result refers to a proportional relationship between illuminance data adjusted by the stage lamp according to the test correction coefficient and corresponding target illuminance data.
Specifically, according to the obtained correction coefficient, a correction coefficient test is performed by a staff on the stage scene, the correction coefficient test is to adjust the stage lamp according to the test correction coefficient and the corresponding light emitting angle, after the test is finished, a correction coefficient test result is obtained, and the correction coefficient test result represents the proportional relation between the illuminance data adjusted by the stage lamp according to the test correction coefficient and the corresponding target illuminance data.
S33: and acquiring a corresponding correction coefficient for adjusting the stage lamp according to the correction coefficient test result and the light emitting angle.
Specifically, according to the obtained light emitting angle, a test correction coefficient corresponding to the light emitting angle is obtained from a correction coefficient database, and the correction coefficient test result represents a proportional relationship between illuminance data adjusted by the stage lamp according to the test correction coefficient and corresponding target illuminance data, so that according to the proportional relationship, the obtained test correction coefficient is correspondingly adjusted to obtain an adjusted correction coefficient for adjusting the stage lamp.
In one embodiment, as shown in fig. 4, in step S32, based on the test correction coefficient for the correction coefficient test, a test result of the correction coefficient test is obtained, which specifically includes:
s321: the correction coefficient database comprises test correction coefficients and test light-emitting angles corresponding to the test correction coefficients.
In this embodiment, the test light exit angle refers to a light exit angle used for a test performed on a stage scene where stage lamps are installed.
Specifically, the correction coefficient database comprises test correction coefficients and light-emitting angles, namely test light-emitting angles, corresponding to the test correction coefficients and used for carrying out correction coefficient tests on a stage site where stage lamps are installed.
Further, in this embodiment, the correction coefficient database includes test correction coefficients corresponding to the test light angles of 5 degrees to 60 degrees, and the test correction coefficients are between 0.81 and 0.96.
S322: based on the test correction coefficients for the correction coefficient test and the corresponding test light-emitting angles, test results of the correction coefficient test at the stage lamp installation site are obtained.
In this embodiment, based on a test correction coefficient and a corresponding test light emitting angle used for a correction coefficient test, a staff on a stage site adjusts a light emitting opening of a stage lamp to a corresponding angle according to the test light emitting angle, obtains a corresponding pulse width modulation adjustment value according to the test correction coefficient, adjusts the stage lamp according to the pulse width modulation adjustment value, obtains illuminance data after the adjustment is completed, and obtains a test result of the correction coefficient test according to the adjusted illuminance data, wherein the test result of the correction coefficient test is expressed as a proportional relationship between the illuminance data after the stage lamp is adjusted according to the test correction coefficient and corresponding target illuminance data.
In one embodiment, as shown in fig. 5, in step S33, according to the correction factor test result and the light emitting angle, the correction factor for adjusting the stage lamp is obtained, which specifically includes:
S331: the correction coefficient test result comprises an adjustment proportion coefficient, and an adjusted correction coefficient database is obtained according to the adjustment proportion coefficient and the test correction coefficient.
In this embodiment, the scaling factor is a scaling factor of illuminance data after deflection of the stage lamp and corresponding target illuminance data in the correction factor test. The corrected correction coefficient database after adjustment refers to a database after adjustment of the correction coefficient database according to the adjustment scale coefficient.
Specifically, in the correction coefficient test result, which is expressed as the proportional relationship between the illuminance data after the stage lamp is adjusted according to the test correction coefficient and the corresponding target illuminance data, the correction coefficient in the correction coefficient database is adjusted according to the adjustment proportion coefficient, including the proportional coefficient of the illuminance data after the stage lamp is deflected and the corresponding target illuminance data, so as to obtain the adjusted correction coefficient database.
S332: and acquiring the correction coefficient corresponding to the light emitting angle and used for adjusting the stage lamp according to the light emitting angle and the adjusted correction coefficient database.
Specifically, according to the light emitting angle, the correction coefficient corresponding to the light emitting angle and used for adjusting the stage lamp is obtained from the correction coefficient database after adjustment.
In one embodiment, as shown in fig. 6, in step S40, a pulse width modulation adjustment value for adjusting the illuminance of the stage lamp is obtained based on the correction coefficient, the current illuminance data, the target illuminance data, and the light exit angle, and specifically includes:
s41: according to the correction coefficient, the current illumination data, the target illumination data and the light emitting angle, calculating and obtaining a pulse width modulation adjustment value for adjusting the illumination of the stage lamp through the following formula:
∑PWM=(LUX8*D-LUX7*D)*K
wherein, LUX8 is current illuminance data, LUX7 is target illuminance data, D is light emitting angle, K is correction coefficient, Σpwm is pulse width modulation adjustment value.
Specifically, according to the obtained correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle, a pulse width modulation adjustment value is obtained through formula calculation.
In an embodiment, as shown in fig. 7, after step S40, the stage illumination control method based on angle change further includes:
s401: and acquiring the historical light-emitting angle which is the same as the light-emitting angle and the historical current illuminance data corresponding to the historical light-emitting angle according to the light-emitting angle and the current illuminance data, and generating a first functional relation based on the light-emitting angle and the current illuminance data.
In this embodiment, the historical light-emitting angle refers to the light-emitting angle when the stage light history is deflected. The historical current illuminance data refers to current illuminance data corresponding to the historical light exit angle. The first functional relationship is a functional relationship indicating a light angle and current illuminance data.
Specifically, after the stage lamp is installed on the stage scene, when the light outlet of the stage lamp deflects each time, the obtained light outlet angle and corresponding current illuminance data, target illuminance data and correction coefficient are stored, when the light outlet of the stage lamp deflects each time, the obtained light outlet angle and current illuminance data are obtained, the obtained light outlet angle of the stage lamp is compared with the stored light outlet angle obtained before the obtained light outlet angle of the stage lamp is obtained, namely, the historical light outlet angle, whether the historical light outlet angle consistent with the light outlet angle of the stage lamp exists in the historical light outlet angle is judged, if yes, the historical light outlet angle identical with the light outlet angle of the stage lamp and the historical current illuminance data corresponding to the historical light outlet angle are obtained, and according to the light outlet angle of the stage lamp and the corresponding current illuminance data, a functional relation based on the light outlet angle of the stage lamp and the corresponding current illuminance data, namely, the first functional relation is generated.
S402: and generating a second functional relation based on the historical light-emitting angle and the historical current illuminance data according to the historical light-emitting angle and the historical current illuminance data.
In this embodiment, the second functional relationship refers to a functional relationship between the historical light-emitting angle and the historical current illuminance data.
Specifically, according to the obtained historical light-emitting angle and the historical current illuminance data, a functional relation based on the historical light-emitting angle and the historical current illuminance data, namely a second functional relation, is generated.
S403: and obtaining an average function relation of the first function relation and the second function relation, and obtaining a pulse width modulation adjustment value according to the average function relation.
In this embodiment, the average functional relationship refers to an average functional relationship of the first functional relationship and the second functional relationship.
Specifically, after the first functional relation and the second functional relation are obtained, the average value of the first functional relation and the second functional relation is calculated to obtain an average functional relation, the light emergent angle in the first functional relation and the light emergent angle in the second functional relation are the same as the historical light emergent angle, the light emergent angle in the average functional relation is the same as the light emergent angle in the first functional relation and the light emergent angle in the second functional relation, and the illuminance data in the average functional relation are the average value of the current illuminance data and the historical current illuminance data, so that the corresponding pulse width modulation adjustment value is obtained according to the light emergent angle and the illuminance data in the average functional relation.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
In an embodiment, a stage illumination control device based on angle change is provided, where the stage illumination control device based on angle change corresponds to the stage illumination control method based on angle change in the above embodiment one by one. As shown in fig. 8, the stage lamp illumination control device based on angle change includes a current illumination data acquisition module, an emergent light angle acquisition module, a correction coefficient acquisition module, a pulse width modulation adjustment value acquisition module and an adjustment module. The functional modules are described in detail as follows:
the current illuminance data acquisition module is used for acquiring a plurality of distribution illuminance data uniformly distributed at the light outlet of the stage lamp, and acquiring the current illuminance data according to the distribution illuminance data;
the light-emitting angle acquisition module is used for acquiring target illumination data required to be reached by the stage lamp and the light-emitting angle of the stage lamp; the correction coefficient acquisition module is used for acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle;
The pulse width modulation adjustment value acquisition module is used for acquiring a pulse width modulation adjustment value for adjusting the illumination of the stage lamp based on the correction coefficient, the current illumination data, the target illumination data and the light emitting angle;
and the adjusting module is used for adjusting the stage lamp according to the pulse width modulation adjusting value.
Optionally, the current illuminance data acquisition module includes:
and the average value calculation sub-module is used for obtaining a plurality of distribution illuminance data uniformly distributed at the light outlet of the stage lamp, and calculating the average value of the plurality of distribution illuminance data to obtain the current illuminance data.
Optionally, the correction coefficient acquisition module includes:
the test correction coefficient acquisition sub-module is used for acquiring a correction coefficient database and acquiring test correction coefficients for the correction coefficient test from the correction coefficient database;
the test result acquisition submodule is used for acquiring test results of the correction coefficient test based on the test correction coefficient used for the correction coefficient test;
and the correction coefficient acquisition sub-module is used for acquiring the corresponding correction coefficient for adjusting the stage lamp according to the correction coefficient test result and the light emitting angle.
Optionally, the test result obtaining submodule includes:
the correction coefficient database checking unit is used for checking the correction coefficient database to comprise test correction coefficients and test light-emitting angles corresponding to the test correction coefficients;
And the test result acquisition unit is used for acquiring the test result of the correction coefficient test at the installation site of the stage lamp based on the test correction coefficient for the correction coefficient test and the corresponding test light-emitting angle.
Optionally, the correction coefficient acquisition submodule includes:
the adjusted correction coefficient database acquisition unit is used for acquiring an adjusted correction coefficient database according to the adjustment proportion coefficient and the test correction coefficient, wherein the correction coefficient test result comprises the adjustment proportion coefficient;
the correction coefficient acquisition unit is used for acquiring the correction coefficient corresponding to the light-emitting angle and used for adjusting the stage lamp according to the light-emitting angle and the adjusted correction coefficient database.
Optionally, the pwm adjustment value obtaining module includes:
the formula calculation sub-module is used for calculating and obtaining a pulse width modulation adjustment value for adjusting the illumination of the stage lamp according to the correction coefficient, the current illumination data, the target illumination data and the light emitting angle through the following formula:
∑PWM=(LUX8*D-LUX7*D)*K;
wherein, LUX8 is current illuminance data, LUX7 is target illuminance data, D is light emitting angle, K is correction coefficient, Σpwm is pulse width modulation adjustment value.
Optionally, the stage lighting control device based on angle change further includes:
The first functional relation generating module is used for acquiring a historical light-emitting angle which is the same as the light-emitting angle and historical current illuminance data corresponding to the historical light-emitting angle according to the light-emitting angle and the current illuminance data, and generating a first functional relation based on the light-emitting angle and the current illuminance data;
the second functional relation generating module is used for generating a second functional relation based on the historical light-emitting angle and the historical current illuminance data according to the historical light-emitting angle and the historical current illuminance data;
and the pulse width modulation adjustment value adjustment module is used for acquiring an average function relation of the first function relation and the second function relation and acquiring a pulse width modulation adjustment value according to the average function relation.
For specific limitations of the stage illumination control device based on angle change, reference may be made to the above limitation of the stage illumination control method based on angle change, and the description thereof will not be repeated here. The modules in the stage illumination control device based on angle change can be all or partially realized by software, hardware and combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing current illumination data, target illumination data, correction coefficients, correction coefficient databases and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a stage lighting control method based on angular variation.
In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of when executing the computer program:
Acquiring a plurality of distribution illuminance data uniformly distributed at the light outlet of the stage lamp, and acquiring current illuminance data according to the distribution illuminance data;
obtaining target illuminance data required to be achieved by the stage lamp, and obtaining the light emitting angle of the stage lamp;
acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle;
acquiring a pulse width modulation adjustment value for adjusting the illuminance of the stage lamp based on the correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle;
and adjusting the stage lamp according to the pulse width modulation adjustment value.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a plurality of distribution illuminance data uniformly distributed at the light outlet of the stage lamp, and acquiring current illuminance data according to the distribution illuminance data;
obtaining target illuminance data required to be achieved by the stage lamp, and obtaining the light emitting angle of the stage lamp;
acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle;
acquiring a pulse width modulation adjustment value for adjusting the illuminance of the stage lamp based on the correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle;
And adjusting the stage lamp according to the pulse width modulation adjustment value.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. The stage lamp illumination control method based on the angle change is characterized by comprising the following steps of:
acquiring a plurality of distribution illuminance data uniformly distributed at a light outlet of a stage lamp, and acquiring current illuminance data according to the distribution illuminance data;
Obtaining target illumination data required to be achieved by the stage lamp and a light emitting angle of the stage lamp;
acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle;
acquiring a pulse width modulation adjustment value for adjusting the illuminance of the stage lamp based on the correction coefficient, the current illuminance data, the target illuminance data and the light emitting angle;
and adjusting the stage lamp according to the pulse width modulation adjustment value.
2. The method for controlling illumination of stage lamp based on angle variation according to claim 1, wherein the obtaining a plurality of distribution illumination data uniformly distributed on the light outlet of the stage lamp, and obtaining current illumination data according to the distribution illumination data, specifically comprises:
and obtaining a plurality of distribution illuminance data uniformly distributed on the light outlet of the stage lamp, and calculating the average value of the distribution illuminance data to obtain the current illuminance data.
3. The method for controlling illumination of stage lamp based on angle variation according to claim 1, wherein the obtaining the correction coefficient for adjusting the stage lamp according to the light emitting angle specifically comprises:
Acquiring a correction coefficient database, and acquiring a test correction coefficient for a correction coefficient test from the correction coefficient database;
based on the test correction coefficient for the correction coefficient test, obtaining a test result of the correction coefficient test;
and acquiring a corresponding correction coefficient for adjusting the stage lamp according to the correction coefficient test result and the light emitting angle.
4. A stage lighting control method based on angle variation as set forth in claim 3, wherein the obtaining the test result of the correction factor test based on the test correction factor for the correction factor test specifically includes:
the correction coefficient database comprises test correction coefficients and test light-emitting angles corresponding to the test correction coefficients;
and acquiring test results of the correction coefficient test at the installation site of the stage lamp based on the test correction coefficient for the correction coefficient test and the corresponding test light-emitting angle.
5. The method for controlling illumination of stage lamp based on angle change according to claim 3, wherein the obtaining the corresponding correction coefficient for adjusting the stage lamp according to the correction coefficient test result and the light emitting angle specifically includes: the correction coefficient test result comprises an adjustment proportion coefficient, and an adjusted correction coefficient database is obtained according to the adjustment proportion coefficient and the test correction coefficient;
And acquiring a correction coefficient corresponding to the light-emitting angle and used for adjusting the stage lamp according to the light-emitting angle and the adjusted correction coefficient database.
6. The method for controlling illumination of stage lamp based on angle variation according to claim 1, wherein the step of obtaining a pulse width modulation adjustment value for adjusting illumination of the stage lamp based on the correction coefficient, the current illumination data, the target illumination data and the light-emitting angle specifically comprises:
according to the correction coefficient, the current illumination data, the target illumination data and the light emitting angle, calculating and obtaining a pulse width modulation adjustment value for adjusting the illumination of the stage lamp through the following formula:
∑PWM=(LUX8*D-LUX7*D)*K;
wherein, LUX8 is the current illuminance data, LUX7 is the target illuminance data, D is the light emitting angle, K is the correction coefficient, Σpwm is the pulse width modulation adjustment value.
7. The angle-change-based stage illumination control method according to claim 1, wherein after the obtaining of the pulse width modulation adjustment value for adjusting the illumination of the stage lamp based on the correction coefficient, the current illumination data, the target illumination data, and the light exit angle, the angle-change-based stage illumination control method further comprises: according to the light emitting angle and the current illuminance data, acquiring a historical light emitting angle which is the same as the light emitting angle and historical current illuminance data which corresponds to the historical light emitting angle, and generating a first functional relation based on the light emitting angle and the current illuminance data;
Generating a second functional relationship based on the historical light-emitting angle and the historical current illuminance data according to the historical light-emitting angle and the historical current illuminance data;
and obtaining an average function relation between the first function relation and the second function relation, and obtaining a pulse width modulation adjustment value according to the average function relation.
8. Stage lamp illuminance control device based on angle change, its characterized in that, stage lamp illuminance control device based on angle change includes:
the current illuminance data acquisition module is used for acquiring a plurality of distribution illuminance data uniformly distributed at the light outlet of the stage lamp, and acquiring the current illuminance data according to the distribution illuminance data;
the light-emitting angle acquisition module is used for acquiring target illumination data required to be achieved by the stage lamp and the light-emitting angle of the stage lamp;
the correction coefficient acquisition module is used for acquiring a corresponding correction coefficient for adjusting the stage lamp according to the light emitting angle; the pulse width modulation adjustment value acquisition module is used for acquiring a pulse width modulation adjustment value for adjusting the illumination of the stage lamp based on the correction coefficient, the current illumination data, the target illumination data and the light-emitting angle;
And the adjusting module is used for adjusting the stage lamp according to the pulse width modulation adjusting value.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the angular variation based stage illumination control method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the angular variation-based stage illumination control method according to any one of claims 1 to 7.
CN202311271388.4A 2023-09-27 2023-09-27 Stage lamp illumination control method, device, equipment and medium based on angle change Active CN117279165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311271388.4A CN117279165B (en) 2023-09-27 2023-09-27 Stage lamp illumination control method, device, equipment and medium based on angle change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311271388.4A CN117279165B (en) 2023-09-27 2023-09-27 Stage lamp illumination control method, device, equipment and medium based on angle change

Publications (2)

Publication Number Publication Date
CN117279165A true CN117279165A (en) 2023-12-22
CN117279165B CN117279165B (en) 2024-04-30

Family

ID=89211919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311271388.4A Active CN117279165B (en) 2023-09-27 2023-09-27 Stage lamp illumination control method, device, equipment and medium based on angle change

Country Status (1)

Country Link
CN (1) CN117279165B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014093147A (en) * 2012-11-01 2014-05-19 Japan Science & Technology Agency Illumination system and illumination control method
TWI647976B (en) * 2017-08-24 2019-01-11 財團法人工業技術研究院 Illumination control system and illumination control method
CN110035589A (en) * 2019-04-12 2019-07-19 杭州友邦演艺设备有限公司 A kind of light of stage control method
US20210227668A1 (en) * 2020-01-18 2021-07-22 Nichia Corporation Lighting device
CN114745822A (en) * 2022-04-27 2022-07-12 广东职业技术学院 Control method and system for classroom illumination
CN116347716A (en) * 2023-05-12 2023-06-27 广东保伦电子股份有限公司 Automatic control system and control method for intelligent stage lighting show

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014093147A (en) * 2012-11-01 2014-05-19 Japan Science & Technology Agency Illumination system and illumination control method
TWI647976B (en) * 2017-08-24 2019-01-11 財團法人工業技術研究院 Illumination control system and illumination control method
CN110035589A (en) * 2019-04-12 2019-07-19 杭州友邦演艺设备有限公司 A kind of light of stage control method
US20210227668A1 (en) * 2020-01-18 2021-07-22 Nichia Corporation Lighting device
CN114745822A (en) * 2022-04-27 2022-07-12 广东职业技术学院 Control method and system for classroom illumination
CN116347716A (en) * 2023-05-12 2023-06-27 广东保伦电子股份有限公司 Automatic control system and control method for intelligent stage lighting show

Also Published As

Publication number Publication date
CN117279165B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
KR102055956B1 (en) Method and system for detecting and correcting problematic advanced process control parameters
KR20200123853A (en) Detecting ring anomalies in scanning electron microscope images
US20210042910A1 (en) Method for inspecting mounting state of component, printed circuit board inspection apparatus, and computer readable recording medium
CN110035589B (en) Stage lighting control method
CN106794358B (en) A kind of method and system for Acceptance Test and debugging linear accelerator
US20200265299A1 (en) Data processing method, device and related products
CN117279165B (en) Stage lamp illumination control method, device, equipment and medium based on angle change
TW202107510A (en) Charged particle beam apparatus
EP3968735A1 (en) Color temperature control method and system for stage lamp, computer device, and storage medium
CN113034382B (en) Brightness uniformity adjustment method, brightness uniformity adjustment device, computer device, and readable storage medium
CN116187549A (en) Energy consumption prediction method, computing device and computer storage medium
CN117269649A (en) Safety detection method and system for electric energy scheduling
CN115393442A (en) Calibration method, device and system of three-dimensional camera
US10962951B2 (en) Process and metrology control, process indicators and root cause analysis tools based on landscape information
CN112231809B (en) Repair engineering supervision method, system, equipment and storage medium
KR101105458B1 (en) Fault detection apparatus and method for photovoltaic power generation system
CN112929623A (en) Lens shadow repairing method and device applied to whole screen in correction process
JP7237769B2 (en) Charged particle beam device
CN110673428A (en) Structured light compensation method, device and system
CN112859530B (en) Wafer exposure correction method and system and storage medium
TWI695975B (en) Method, apparatus and recording medium for atom probe tomography
JP7415676B2 (en) Luminance meter status determination system, luminance meter status determination device and program
CN117915533A (en) Method, device, equipment and medium for controlling focal spot size of X-ray high-voltage generator
CN115564681A (en) Image correction method, device, equipment and medium for short wave infrared camera
CN112819751B (en) Method and device for processing data of detection result of polypeptide chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant