CN109922582B - Luminous group effect control method - Google Patents
Luminous group effect control method Download PDFInfo
- Publication number
- CN109922582B CN109922582B CN201910145311.XA CN201910145311A CN109922582B CN 109922582 B CN109922582 B CN 109922582B CN 201910145311 A CN201910145311 A CN 201910145311A CN 109922582 B CN109922582 B CN 109922582B
- Authority
- CN
- China
- Prior art keywords
- effect
- basic
- lamp
- effects
- lamp group
- 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.)
- Active
Links
Images
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a method for developing the effect of a lamp group, which relates to the field of the development of the effect of the lamp group, and comprises the lamp group consisting of a plurality of lamps, each lamp only has a lamp module with independent execution parameters, and all the lamp modules have the same working procedures and do not influence each other, the invention discovers the development of the effect of the lamp group by summarizing the lighting law of the firefly group and controlling the mathematical expected value of the number of the lamps expressing any basic effect in the lamp group and the mathematical expected value of the number of the lamps expressing any basic effect in the lamp group, is an optimal method for developing the effect of the lamp group simulating the constantly changing effect of the lamp group like the firefly group and the starry sky, the developed effect of the lamp group simultaneously conforms to the aesthetic directions of people, can adapt to more scenes, and solves the problems of the monotonous effect repetition and the limited application scenes of the lamp group developed by the traditional development method, has economic value and is suitable for popularization.
Description
Technical Field
The invention relates to the technical field of lamp bead effects, in particular to a luminous group effect control method.
Background
The light bar is widely applied due to the fact that people love and pursue light colors, the light bar is used for decorating the outlines of buildings and bridges in cities from small to small, advertising boards to large, and the outlines of buildings and bridges in cities from large to large, and the light bar shows brilliant and colorful effects at night.
The lamps distributed in scattered or disordered way can only form the effects of running water lamps of marquee and the like the lamp strips formed by the lamps arranged in linear way, the existing lamp group formed by the lamps distributed in the scattered or disordered way has no definite development direction and effective development method in the aspect of effect control, so that effect control personnel are in a strong and ubiquitous situation, and the effect of the lamp group developed by adopting the traditional method in the face of the scattered distribution of the lamps is simple and repeated, such as monotonous circulation and alternate illumination of colored lamps of a Christmas tree, and such as the lamp group is statically and constantly bright in one color, and the application scene is very limited.
Disclosure of Invention
The present invention is directed to a method for controlling the effect of a light-emitting group, so as to solve the problems mentioned in the background art.
The invention inspires from the lighting law of the firefly group, if the grassland has a plurality of fireflies which are distributed scattered, the night shade is initially fallen, the fireflies start to light up in a certain place, and the fireflies are extinguished after being lighted, and careful observation can find that the lighting picture of the firefly group looks like 'shape scattering' and 'shape scattering', and the lighting picture of the fireflies is stable in a time period although the overall lighting picture is continuously changed, the ratio of the number of the lighted fireflies to the number of the overall fireflies is almost stable in the time period, and the lighting ratio is stable in the process, and further thought, in the lighted fireflies, the same effect as that of some breathing lamps, some flickering and the ratio of the number of various lighting effects to the overall lighting number of the fireflies in the time period, and the effect ratio is stable in the process; if we make the individual basic effects required for the glowworm group lighting like: the lamp group reasonably expresses the basic effects by controlling the luminous probability of the lamp group and controlling the effect ratio of various basic effects, so that the lamp group effect which is as vivid and interesting as a firefly and continuously changed can be efficiently simulated, and further the starry sky luminous law is found to be similar to the luminous law of the firefly group, so that if the technical scheme is realized, the starry sky effect which is continuously changed can be efficiently simulated.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for controlling the effect of luminous group includes such steps as providing a group of lamps, receiving and storing data, and executing parameters independently, transmitting data parameters to the lamp modules by master controller, including random delay T, luminous ratio P, effect array F [ i ] and occupied ratio array A [ i ], creating basic effect array by edited and needed basic effect, and setting the index variable of the occupied ratio array to the index variable of the effect array.
The lamp module-only workflow comprises the following steps:
firstly, a link is initially executed,
secondly, the selection of the links of the effect,
and thirdly, whether to express links.
The addition of the initial execution link is to consider the problem that the initial execution time synchronization of all the lamp modules brings about the synchronization of the expression effect of partial lamps due to the initial execution time synchronization when the parameters are just started to execute, set the random delay parameters in the link, make the initial execution times of the lamp modules different, solve the problem that the partial lamps only express the synchronization effect during the initial execution of the parameters, and enrich the developable content of the lamp group.
In the 'effect selection link', the lamp module only generates random numbers, and the basic effect is selected according to the minimum interval of the index variable of the interval array which is obtained by calculating the index variable of the ratio array and corresponds to the random numbers.
And (3) whether to express the link or not, wherein the lamp only generates a random number again by the module, the random number is compared with the light-emitting ratio parameter, whether to control the lamp to express the basic effect selected by the previous link or not is confirmed, if so, the lamp is controlled to express the effect, and if not, the lamp is controlled to be turned off only for waiting for the duration equal to the duration of the selected basic effect.
After the lamp module only executes the first round of the above links, the 'initial execution link' does not need to be executed any more, and then the 'effect selection link' and the 'whether expression link' are executed in a circulating way; under the working flow of the lamp modules reasonably designed in this way, each lamp module is in a state of continuously selecting a basic effect, expressing the selected basic effect or being turned off for a time length equal to the duration of the selected basic effect, so that the effect of the lamp group has an adjustable function, a light-emitting expected value of the lamp group can be calculated according to related parameters through a specific formula, the light-emitting expected value is a mathematical expected value of the number of lamps expressing any all basic effects in the lamp group after the parameters are executed, the effect expected value of various basic effects is calculated, and the effect expected value is a mathematical expected value of the number of lamps expressing a certain basic effect in the lamp group after the parameters are executed; the expected value of the lighting is for a lamp group and the expected value of the effect is for a basic effect, the expected value of the lighting and the expected value of the effect having the relationship: the sum of the expected effect values of all the basic effects is the expected lighting value of the lamp group.
The method can edit a plurality of required basic effects, reasonably set subscript variable values and random time delay of ratio arrays as required, uniformly transmit data parameters to each lamp module by a main control, uniformly enable each lamp module to execute parameters, adjust the luminous expected value of a lamp group by uniformly adjusting the percentage of luminous ratio parameters P in each lamp module, and adjust the effect expected value of the corresponding basic effect by uniformly adjusting the subscript variable values of the ratio arrays in each lamp module, thereby realizing development and control of the lamp group effect; by the method, the constantly changing lamp group effects which are similar to starry sky, firefly groups and other traditional development methods are edited, the workload is large, and the aesthetic direction is difficult to grasp can be developed and simulated simply, quickly and efficiently.
As a further scheme of the invention, each lamp is only assigned with the identification number, so that the range of the parameter function number can be customized, and one lamp group can be freely divided into a plurality of lamp groups to carry out different lamp group effect control.
Compared with the prior art, the invention has the beneficial effects that: the invention simplifies the effect control method of the lamp group consisting of scattered lamps, makes the development direction clear, optimizes the development process into basic editing effect and basic distribution effect, can realize the control of the lamp group effect by uniformly adjusting the corresponding parameters in each lamp module, not only reduces the workload of the lamp group effect control process, but also greatly enriches the developable content of the lamp group effect, ensures that the lamp group effect realizes the dynamic effect which changes continuously in the real sense, and the developed lamp group effect can accord with the aesthetic direction of human beings, effectively solves the problems of simple and repeated lamp group effect and very limited application scene developed by the traditional method, has economic value and is suitable for popularization.
Drawings
Fig. 1 is a schematic flow chart of the operating principle of the lamp module of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A method for controlling the effect of luminous group includes such steps as providing a group of lamps, receiving and storing data, and executing parameters independently, transmitting data parameters to the lamp modules by master controller, including random delay T, luminous ratio P, effect array F [ i ] and occupied ratio array A [ i ], creating basic effect array by edited and needed basic effect, and setting the index variable of the occupied ratio array to the index variable of the effect array.
Referring to fig. 1, fig. 1 is a schematic view of a lamp module-only workflow, which includes the following steps:
and an initial execution link, wherein a random delay function is set in the link, so that the lamp module can randomly delay and execute parameters within random delay time, the initial execution parameter time of the lamp module is different, and the synchronization phenomenon is avoided.
And (3) selecting an effect link: the module generates a 0-1 random number R0, and compares the random number R0 with an interval array subscript variable, wherein the interval array can be represented by the calculation of the occupation ratio array subscript variable as follows:
whereinSelecting the basic effect according to the minimum interval of the index variable of the interval array corresponding to the random number R0 whenSelecting a basic effect F [ n ]]Wherein A [0 ]]I is 0, i is the total number of basic effects, and n is a natural number which is more than 0 and not more than i;
whether to express links: the module generates a 0-1 random number R1, compares the random number with the light-emitting ratio parameter P, confirms whether to express the basic effect selected in the previous link, if the basic effect is expressed (R1 & lt & gtP), the lamp module only allows the lamp to express the selected basic effect; if not (R1 > P), the lamp is simply extinguished waiting for a duration equal to the duration of the basic effect.
When the lamp only starts to execute parameters, and the first round of the links is finished, the 'effect selection link' and the 'whether expression link' are executed in a circulating and alternating mode.
Under the work flow mode that the lamp only has the module, the following four important work parameter calculation modes exist:
the method comprises the following steps:
E(l)=M*P
wherein E (l) is a light emitting expected value of the lamp group, namely a mathematical expected value of the number of lamps expressing any basic effect in the lamp group, M is the number of the lamps forming the lamp group, and P is a set light emitting ratio;
secondly, the probability calculation mode of the selected basic effect F [ n ] in the 'effect selection link':
wherein Pn is the basic effect F [ n ] in the effect selection link in the lamp module workflow]Selected probability, n is a natural number greater than 0 and not greater than i, A [ n ]]Is the basic effect F [ n ]]The subscript variable of the corresponding ratio array, i is the total number of basic effects,
third, the calculation mode of the effect ratio of the basic effect F [ n ]:
where Rn is the basic effect F [ n ]]The occupied effect ratio, n is a natural number greater than 0 and not greater than i, Tn is the basic effect F [ n ]]Duration of (1) Pn is the basic effect F [ n ] in the' effect selection link]The probability of being selected is determined by the probability of being selected,
fourthly, calculating the expected effect value corresponding to the basic effect F [ n ]:
E(F[n])=E(l)*Rn
where E (Fn) is the expected value of the effect Fn, i.e. the mathematical expected value of the number of lamps expressing the basic effect Fn in the lamp group, E (l) is the expected value of the light emission of the lamp group, and Rn is the ratio of the basic effect Fn to the effect.
"expected lighting value" means the mathematical expected value of the number of lamps in a lamp group expressing any all basic effects, and "expected effect value" means the mathematical expected value of the number of lamps in a lamp group expressing a certain basic effect; the lighting expectation value is for a lamp group, and the effect expectation value is for a basic effect, and the relationship between the "lighting expectation value" and the "effect expectation value" is: adding the effect expected values of all basic effects to obtain the light emitting expected value of the lamp group;
the light-emitting expected value and the light-emitting ratio are in a direct proportion relation, the light-emitting expected value and the light-emitting ratio have respective meanings, and the light-emitting expected value can embody the average value of the number of lamps expressing any basic effect in the lamp group; the light emission ratio can be embodied as a ratio of a desired value of light emission to the total number of lamps constituting the lamp group.
The expected effect value and the effect ratio are in a proportional relationship, the expected effect value and the effect ratio have respective meanings, the expected effect value can specifically represent an average value of the number of lamps expressing a certain basic effect in the lamp group, and the effect ratio can specifically represent a ratio of the expected effect value of the certain basic effect to a sum of the expected effect values of all the basic effects (namely, an expected lighting value).
The method can edit a plurality of required basic effects, reasonably set the subscript variable values and random time delay of the ratio array as required, uniformly transmit parameters to each lamp module by the main control, uniformly enable each lamp module to execute the parameters, adjust the luminous expected value of a lamp group by uniformly adjusting the percentage of the luminous ratio parameter P in each lamp module, and adjust the effect expected value of the basic effect by uniformly adjusting the subscript variable values corresponding to the basic effects in each lamp module, thereby developing and controlling the lamp group effect.
Through the lamp group effect control method, the lamp group effect which is similar to that of starry sky and is edited by traditional development methods such as fireflies and the like can be developed and simulated simply, quickly and efficiently, so that the lamp group effect control process is optimized to be the basic editing effect and the basic distribution effect, the workload of the lamp group effect control process is reduced, and meanwhile, the content of the lamp group effect is greatly enriched.
As a further scheme of the invention, each lamp is only assigned with an identification number, so that the range of the parameter function number can be customized, and one lamp group can be freely divided into a plurality of lamp groups to carry out different lamp group effect control. Because each lamp only has a number, the equal-difference delay parameters can be set in the initial execution link, the lamp group effect is increased, and the development content can be realized.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.
Claims (1)
1. A luminous group effect control method is characterized by comprising a luminous group consisting of a plurality of luminous bodies, wherein the luminous group is subjected to effect control and regulation through controlling the mathematical expectation value of the number of the luminous bodies expressing any all basic effects in the luminous group and controlling the mathematical expectation value of the number of the luminous bodies expressing any one basic effect in the luminous group, and the basic effects have duration attributes and can be expressed by a single luminous body; the illuminant is provided with an illuminant module capable of independently executing data parameters, wherein the data parameters at least comprise an illumination ratio P, an effect array F [ i ] and an occupancy array A [ i ], the effect array F [ i ] consists of the basic effects, i is the total number of the basic effects, and the occupancy array subscript variable and the effect array subscript variable, namely the basic effects, are in one-to-one correspondence;
the working process of the luminous body module at least comprises the following two links:
A. selecting an effect link;
B. whether to express a link;
the 'effect selection link' and the 'whether to express link' are executed in a circulating and alternating mode, the 'effect selection link' includes that 0-1 random numbers R0 are generated in the link, R0 is compared with interval array subscript variables, and the interval array can be represented by the calculation of the occupation ratio array subscript variables as follows: 0,
whereinThe light emitter module selects a basic effect according to the minimum interval of the subscript variable of the interval array corresponding to the random number R0, when the basic effect is achievedSelecting a basic effect F [ n ]]Wherein A [0 ]]0; the 'whether to express a link' includes generating a 0-1 random number R1 in the link, comparing R1 with a lighting ratio parameter P, and determining whether to express the basic effect selected by the 'effect selection link' before, when R1 is less than P, the luminary module enables the luminary to express the selected basic effect, when R1 is greater than P, the luminary module enables the luminary to be turned off for a duration equal to the duration of the basic effect selected before;
under the working process of the luminous body module, the following four important working parameter calculation modes are included:
the mathematical expected value calculation mode of the number of the luminophors expressing any all basic effects in the luminophor group is as follows:
E(l)=M*P,
wherein E (l) is a mathematical expected value of the number of luminophores expressing any all basic effects in the luminescence population, M is the number of luminophores constituting the luminescence population, and P is a luminescence ratio parameter;
secondly, the probability calculation mode of selecting the basic effect F [ n ] in the 'effect selection link' is as follows:
wherein Pn is the basic of the illuminant module in the "effect selection linkEffect F [ n ]]Selected probability, n is a natural number greater than 0 and not greater than i, A [ n ]]For said basic effect F [ n ]]The index variable of the corresponding ratio array, i is the total number of the basic effects,
thirdly, the calculation mode of the effect ratio occupied by the basic effect F [ n ] is as follows:
where Rn is the basic effect F [ n ]]The ratio of the effects, i is the total number of the effects, n is a natural number greater than 0 and not greater than i, and Tn is the basic effect F [ n ]]Pn is the basic effect F [ n ] of the illuminant module in the "effect selection link]The probability of being selected is determined by the probability of being selected,
the mathematical expected value calculating mode of the number of the luminophors expressing the basic effect Fn in the luminophor group is as follows:
E(F[n])=E(l)*Rn,
wherein E (Fn) is the mathematical expected value of the number of luminophores expressing the basic effect Fn in the luminescence population, E (l) is the mathematical expected value of the number of luminophores expressing any all basic effects in the luminescence population, and Rn is the ratio of the basic effect Fn to the effects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910145311.XA CN109922582B (en) | 2019-02-27 | 2019-02-27 | Luminous group effect control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910145311.XA CN109922582B (en) | 2019-02-27 | 2019-02-27 | Luminous group effect control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109922582A CN109922582A (en) | 2019-06-21 |
CN109922582B true CN109922582B (en) | 2021-01-08 |
Family
ID=66962443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910145311.XA Active CN109922582B (en) | 2019-02-27 | 2019-02-27 | Luminous group effect control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109922582B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112738962B (en) * | 2019-10-28 | 2024-04-05 | 松下知识产权经营株式会社 | Lighting system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001351788A (en) * | 2000-06-02 | 2001-12-21 | Saipaaku:Kk | Light-generating apparatus device and its control method |
CN201748325U (en) * | 2010-07-14 | 2011-02-16 | 吴振伟 | Star-shaped landscape light arranged on attaching bodies |
WO2012056762A1 (en) * | 2010-10-25 | 2012-05-03 | 日本電気株式会社 | Light source device, display device, and method for controlling brightness |
CN102548139A (en) * | 2011-12-23 | 2012-07-04 | 深圳市明微电子股份有限公司 | Method and device for controlling brightness |
CN202979387U (en) * | 2012-11-23 | 2013-06-05 | 深圳市思坎普科技有限公司 | Wall-type LED lamp control device |
CN104064657A (en) * | 2014-07-04 | 2014-09-24 | 西安诺瓦电子科技有限公司 | Method and system for manufacturing LED display module based on COB packaging technology |
CN104678968A (en) * | 2015-02-10 | 2015-06-03 | 中国科学院西安光学精密机械研究所 | Firefly luminous simulator |
CN205029945U (en) * | 2015-10-23 | 2016-02-10 | 赵尊威 | Light controlling device and light -operated lighting system |
CN105487679A (en) * | 2014-10-07 | 2016-04-13 | 罗技欧洲公司 | System and method for software and peripheral integration |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200920100A (en) * | 2007-10-17 | 2009-05-01 | Altek Corp | Method of simulating star cross effect and electronic apparatus applying the same |
-
2019
- 2019-02-27 CN CN201910145311.XA patent/CN109922582B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001351788A (en) * | 2000-06-02 | 2001-12-21 | Saipaaku:Kk | Light-generating apparatus device and its control method |
CN201748325U (en) * | 2010-07-14 | 2011-02-16 | 吴振伟 | Star-shaped landscape light arranged on attaching bodies |
WO2012056762A1 (en) * | 2010-10-25 | 2012-05-03 | 日本電気株式会社 | Light source device, display device, and method for controlling brightness |
CN102548139A (en) * | 2011-12-23 | 2012-07-04 | 深圳市明微电子股份有限公司 | Method and device for controlling brightness |
CN202979387U (en) * | 2012-11-23 | 2013-06-05 | 深圳市思坎普科技有限公司 | Wall-type LED lamp control device |
CN104064657A (en) * | 2014-07-04 | 2014-09-24 | 西安诺瓦电子科技有限公司 | Method and system for manufacturing LED display module based on COB packaging technology |
CN105487679A (en) * | 2014-10-07 | 2016-04-13 | 罗技欧洲公司 | System and method for software and peripheral integration |
CN104678968A (en) * | 2015-02-10 | 2015-06-03 | 中国科学院西安光学精密机械研究所 | Firefly luminous simulator |
CN205029945U (en) * | 2015-10-23 | 2016-02-10 | 赵尊威 | Light controlling device and light -operated lighting system |
Non-Patent Citations (1)
Title |
---|
适应场景变化的景观灯模糊控制系统;穆伟力;《中国优秀硕士学位论文全文数据库》;20120115;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109922582A (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10194503B2 (en) | Composite light source systems and methods | |
RU2584674C2 (en) | Lighting system and method | |
US10247375B1 (en) | Electric fireplace having simulated dynamic wall | |
CN106376127B (en) | Amusement light changes system | |
Moran | Performance lighting design: How to light for the stage, concerts and live events | |
CN109922582B (en) | Luminous group effect control method | |
CN104315453A (en) | Highly-vivid flame lamp and achieving method thereof | |
Zielinska-Dabkowska et al. | Historic urban settings, LED illumination and its impact on nighttime perception, visual appearance, and cultural heritage identity | |
CN101162078A (en) | Method and device for simulating flame image | |
US20230180361A1 (en) | Immersive outdoor lighting emulation | |
GB2470888A (en) | Illumination of woven fibre optic decorations using a plurality of light emitting diodes | |
CN105927925A (en) | Game landscape lamp system and interactive game control method thereof | |
Lowe et al. | Designing with light and darkness | |
US12096532B2 (en) | Immersive outdoor lighting emulation | |
US12035440B2 (en) | Immersive outdoor lighting emulation | |
WO2021224161A1 (en) | Immersive outdoor lighting emulation | |
US20160174644A1 (en) | Selectively activated color changing hairpiece | |
CN205717012U (en) | Play landscape lamp system | |
Danisovich Valeev et al. | Light in airport interior design, considering its pollution effects on ecosystems | |
Heal | Romeo and Juliet: The Summer of Tragedy | |
Militello | New 42nd Street, New York | |
KR102678453B1 (en) | A transparent body with an optical fiber fixed inside | |
CN216047383U (en) | Landscape lamp and landscape module | |
US20240288135A1 (en) | Lighting system and luminaire for simulating sunny sky scenes and method for making the lighting system | |
McDermott et al. | Negotiating technology change: the challenge of designing lighting with LEDs for domestic settings |
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 |