CN114245545A - Gradual effect control method and device of intelligent bulb - Google Patents

Gradual effect control method and device of intelligent bulb Download PDF

Info

Publication number
CN114245545A
CN114245545A CN202111350173.2A CN202111350173A CN114245545A CN 114245545 A CN114245545 A CN 114245545A CN 202111350173 A CN202111350173 A CN 202111350173A CN 114245545 A CN114245545 A CN 114245545A
Authority
CN
China
Prior art keywords
state
value
state value
color
calculating
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.)
Pending
Application number
CN202111350173.2A
Other languages
Chinese (zh)
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.)
Hangzhou Bolian Intelligent Technology Co ltd
Original Assignee
Hangzhou Bolian Intelligent 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 Hangzhou Bolian Intelligent Technology Co ltd filed Critical Hangzhou Bolian Intelligent Technology Co ltd
Priority to CN202111350173.2A priority Critical patent/CN114245545A/en
Publication of CN114245545A publication Critical patent/CN114245545A/en
Pending legal-status Critical Current

Links

Images

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/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 gradual change effect control method and a gradual change effect control device of an intelligent bulb, wherein the gradual change effect control method of the intelligent bulb comprises the following steps: acquiring a preset initial state value, a preset target state value and the number of issued state instructions in unit time; then, calculating the state value and issuing time of each state instruction through a linear interpolation algorithm, and issuing corresponding state values at each issuing time; and finally, mapping the state value into a driving current value, and driving the intelligent bulb to display the effect, so that the smooth change from one state to another state is realized in the process that the product changes from the initial state value to the target state value, the gradual change effect is good, the method not only can attract the visual focus of a user, improve the atmosphere and the aesthetic feeling, but also greatly improves the experience of the user, and solves the problem of poor gradual change effect of the intelligent bulb, such as abrupt and monotonous state in the related technology.

Description

Gradual effect control method and device of intelligent bulb
Technical Field
The application relates to the technical field of intelligent bulbs, in particular to a gradual change effect control method and device of an intelligent bulb.
Background
In recent years, with the rapid development and the increasing updating of the related technologies of smart homes, products related to smart lighting are continuously updated. To meet the increasing demand of people, intelligent lighting products often need to support the gradual change function.
However, the gradual change display effect of the current intelligent lighting product is poor, and the gradual change state of the intelligent bulb is often abrupt and monotonous, for example, the brightness of the intelligent bulb changes with a slight shake or a "flash lamp" effect, so that the visual burden of people is increased, and the user experience is not good.
At present, no effective solution is provided for the problem of poor gradual change display effect of the intelligent bulb in the related art.
Disclosure of Invention
The embodiment of the application provides a gradual change effect control method and device of an intelligent bulb, and aims to at least solve the problem that the gradual change display effect of the intelligent bulb is poor in the related art.
In a first aspect, an embodiment of the present application provides a gradual change effect control method for an intelligent bulb, where the method includes:
acquiring a preset initial state value, a preset target state value and the number of issued state instructions in unit time;
calculating the state value and issuing time of each state instruction through a linear interpolation algorithm, and issuing corresponding state values at each issuing time;
and mapping the state value into a driving current value to drive the intelligent bulb to display the effect.
In some of these embodiments, the status values comprise at least one of a color status value, a color temperature status value, and a brightness status value.
In some embodiments, in the case that the state value is a color state value, the calculating the state value of each state instruction by using a linear interpolation algorithm includes:
calculating a color gradient value according to the preset initial state value, the preset target state value and the number of issued state instructions in unit time, wherein the calculation formula of the color gradient value is as follows:
Figure BDA0003355587500000021
wherein X0 is the preset initial state value, Xn is the preset target state value, N is the number of issued state commands in the preset unit time, and Δ X is the color gradient value;
calculating the state value of each color state command according to the color gradient value and the preset initial state value, wherein the calculation formula of the state value of each color state command is as follows:
Xi=X0+ΔX×i
wherein, X0 is the preset initial state value, Δ X is the color gradient value, i is the number of times of issuing the color state command, and Xi is the state value of issuing the color state command for the ith time.
In some of these embodiments, the color status values include at least a red status value, a green status value, and a blue status value.
In some embodiments, the number of issued status instructions per unit time is 64.
In some embodiments, in the case that the state value is a brightness state value, the calculating the state value of each state instruction by using a linear interpolation algorithm includes:
calculating a brightness gradient value according to the preset initial state value, the preset target state value and the number of issued state instructions in unit time;
and calculating the state value of each brightness state instruction according to the brightness gradient value and the preset initial state value.
In some embodiments, in a case that the state value is a color temperature state value, the calculating the state value of each state command by a linear interpolation algorithm includes:
calculating a color temperature gradient value according to the preset initial state value, the preset target state value and the number of issued state instructions in unit time;
and calculating the state value of each color temperature state instruction according to the color temperature gradual change value and the preset initial state value.
In a second aspect, an embodiment of the present application provides a gradual change effect control device for an intelligent light bulb, the device includes:
the acquisition module is used for acquiring preset initial state values, target state values and the number of issued state instructions in unit time;
the calculation module is used for calculating the state value and the issuing time of each state instruction through a linear interpolation algorithm;
the issuing module is used for issuing corresponding state values at each issuing time;
and the driving module is used for mapping the state value into a driving current value and driving the intelligent bulb to display the effect.
In some of these embodiments, the calculation module comprises:
a color gradient value calculating module, configured to calculate a color gradient value according to the preset initial state value, the preset target state value, and the number of issued state instructions in unit time, where a calculation formula of the color gradient value is as follows:
Figure BDA0003355587500000031
wherein X0 is the preset initial state value, Xn is the preset target state value, N is the number of issued state commands in the preset unit time, and Δ X is the color gradient value;
a state value calculating module, configured to calculate a state value of each color state command according to the color gradient value and the preset initial state value, where a calculation formula of the state value of each color state command is as follows:
Xi=X0+ΔX×i
wherein, X0 is the preset initial state value, Δ X is the color gradient value, i is the number of times of issuing the color state command, and Xi is the state value of issuing the color state command for the ith time.
In some of these embodiments, the status values comprise at least one of a color status value, a color temperature status value, and a brightness status value.
In the technical scheme of this embodiment, first, a preset initial state value, a preset target state value and the number of issued state instructions in unit time are obtained; then, calculating the state value and issuing time of each state instruction through a linear interpolation algorithm, and issuing corresponding state values at each issuing time; and finally, mapping the state value into a driving current value, and driving the intelligent bulb to display the effect, so that the smooth change from one state to another state is realized in the process that the product changes from the initial state value to the target state value, the gradual change effect is good, the method not only can attract the visual focus of a user, improve the atmosphere and the aesthetic feeling, but also greatly improves the user experience, and solves the problem of poor gradual change effect of the intelligent bulb, such as abrupt and monotonous state in the related technology.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flow chart of a gradual effect control method for an intelligent light bulb according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating the operation of a linear interpolation algorithm according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating steps involved in calculating a state value for each state command via a linear interpolation algorithm in the case where the state value is a color state value according to an embodiment of the present application;
fig. 4 is a schematic diagram of a fade process for switching from color state a to color state B for a smart bulb according to an embodiment of the present application;
fig. 5 is a block diagram of a gradual effect control apparatus of an intelligent light bulb according to an embodiment of the present application;
FIG. 6 is a block diagram of a computing module according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference herein to "a plurality" means greater than or equal to two. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
In recent years, with the rapid development and the increasing updating of the related technologies of smart homes, products related to smart lighting are continuously updated. To meet the increasing demand of people, intelligent lighting products often need to support the gradual change function.
In intelligent lighting, gradual change refers to a slow transition process when the state of an intelligent bulb changes, such as brightness changes from bright to dark or from dark to bright, color temperature changes from cold to warm or from warm to cold, and color changes from one color to another.
However, the gradual change display effect of the current intelligent lighting product is poor, and the gradual change state of the intelligent bulb is often abrupt and monotonous, for example, the brightness of the intelligent bulb changes with a slight shake or a "flash lamp" effect, so that the visual burden of people is increased, and the user experience is not good.
In order to solve the above problems, the present invention provides a gradual change effect control method for an intelligent bulb.
Referring to fig. 1, in an embodiment of the present invention, the present invention provides a gradual effect control method for an intelligent light bulb, including the following steps:
step S101, acquiring a preset initial state value, a preset target state value and the number of issued state instructions in unit time;
the preset initial state value, the preset target state value and the number of issued state instructions in unit time can be set according to user requirements, and the number is not specifically limited;
as known to those skilled in the art, for a frame, if the frame is greater than or equal to 24 frames in 1 second, the frame is seen to be continuous by naked eyes, and if the frame is less than 24 frames in 1 second, a ghost phenomenon occurs, in order to prevent the ghost phenomenon from bringing bad visual experience to a user, in this embodiment, the number of issued status instructions in unit time is greater than 24, and the number of issued status instructions in unit time is a positive integer; the unit time may be 1 second or other, and is specifically set according to user requirements, which is not specifically limited herein;
fig. 2 is a coordinate diagram for describing the operation principle of the linear interpolation algorithm according to an embodiment of the present application, and for facilitating understanding of the operation principle of the linear interpolation algorithm, the operation principle of the linear interpolation algorithm is now described as follows, please refer to fig. 2, assuming that (x0, y0) and (x1, y1) are respectively an abscissa value and an ordinate value known in the coordinate system, and if interpolation is performed at x, a value of y is calculated, wherein the calculation formula of y is as follows:
Figure BDA0003355587500000051
step S102, calculating the state value and the issuing time of each state instruction through a linear interpolation algorithm, and issuing the corresponding state value at each issuing time; as can be seen from fig. 2, under the condition that the preset initial state value, the preset target state value and the number of issued state instructions in unit time are known to be obtained, the state value and the issuing time of each state instruction can be obtained through a linear interpolation algorithm, and then, the corresponding state value is issued at each issuing time; it is easy to understand that when the unit time changes, the issue time also changes, and the time interval of each issue is obtained by dividing the unit time by the number of issued status commands in the unit time, and under the condition that the initial issue time is known, the time interval of each issue can be calculated according to the initial issue time and the time interval of each issue, for example, if the number of issued status commands in the unit time (if the unit time is 1 second) is 100, the status value of each status command is issued every 10 milliseconds, and under the condition that the initial issue time is 8 points, the issue times are sequentially (8 points 0 minutes 0 seconds 10 milliseconds), (8 points 0 minutes 0 seconds 20 milliseconds), (8 points 0 minutes 0 seconds 30 milliseconds) … … (8 points 0 minutes 1 second 0 milliseconds);
it is easy to understand that, in the present embodiment, in the process of changing the intelligent bulb from the initial state value to the target state value, the corresponding state value is issued at each issuing time, so that a smooth change from one state to another state is realized.
Step S103, the state value is mapped into a driving current value, and the intelligent bulb is driven to display an effect, so that the intelligent bulb has a slow transition process in the gradual change process, and the situations of sudden and monotonous gradual change states can not occur, so that the gradual change effect is good, the visual focus, the atmosphere and the aesthetic feeling of a user can be attracted to be improved, the user experience is greatly improved, and the problem of poor gradual change effects of sudden and monotonous states of the intelligent bulb in the related technology is solved.
In the technical scheme of this embodiment, first, a preset initial state value, a preset target state value and the number of issued state instructions in unit time are obtained; then, calculating the state value and issuing time of each state instruction through a linear interpolation algorithm, and issuing corresponding state values at each issuing time; and finally, mapping the state value into a driving current value, and driving the intelligent bulb to display the effect, so that the smooth change from one state to another state is realized in the process that the product changes from the initial state value to the target state value, the gradual change effect is good, the method not only can attract the visual focus of a user, improve the atmosphere and the aesthetic feeling, but also greatly improves the user experience, and solves the problem of poor gradual change effect of the intelligent bulb, such as abrupt and monotonous state in the related technology.
To achieve a better fade effect, please refer to fig. 3, wherein in some embodiments, the status value comprises at least one of a color status value, a color temperature status value and a brightness status value.
Specifically, in an embodiment, in the case that the state value is a color state value, calculating the state value of each state command through a linear interpolation algorithm includes the following steps:
step S301, calculating a color gradient value according to a preset initial state value, a preset target state value and the number of issued state instructions in unit time, wherein the calculation formula of the color gradient value is as follows:
Figure BDA0003355587500000071
wherein, X0 is a preset initial state value, Xn is a preset target state value, N is the number of issued state commands in a preset unit time, and Δ X is a color gradient value;
step S302, calculating a state value of each color state command according to the color gradient value and a preset initial state value, wherein a calculation formula of the state value of each color state command is as follows:
Xi=X0+ΔX×i
wherein, X0 is a preset initial state value, Δ X is a color gradient value, i is the number of times of issuing color state commands, and Xi is the state value of the ith color state command.
Fig. 4 is a schematic diagram of a gradual change process of the intelligent light bulb from the color state a to the color state B according to an embodiment of the present application, as shown in fig. 4, in order to describe the state of the intelligent light bulb by taking color as an example, a data structure is defined herein, which has the following pseudo code:
typedef struct smart_light_status{
unsigned char red;
unsigned char green;
unsigned char blue;
}smart_light_status;
in the above code, R represents red (red), G represents green (green), and B represents blue (blue), and red, green, and blue have values ranging from 0 to 255, and thus represent the color state RGB (red, green, blue) of the smart bulb.
Therefore, assuming that the intelligent light bulb changes from state a to state B, the corresponding preset initial state values and target state values have the following pseudo-codes:
A.red--->B.red
A.green--->B.green
A.blue--->B.blue
the red color image is obtained by performing color matching on a red color image, a green color image and a blue color image, wherein A.red is a preset red initial state value, A.green is a preset green initial state value, A.blue is a preset blue initial state value, B.red is a preset red target state value, B.green is a preset green target state value, and B.blue is a preset blue target state value;
considering that red light, green light and blue light with different proportions can be mixed into countless different colors of light, in order to increase richness of light color change and improve user experience, in the embodiment, the color state values at least include a red state value, a green state value and a blue state value. The red state value, the green state value, and the blue state value can be obtained through the calculation formulas in steps S301 to S302, and therefore, the details are not repeated here.
And after the red state value, the green state value and the blue state value are obtained, issuing the corresponding red state value, green state value and blue state value at each issuing time. For example, referring to fig. 4, the preset initial color state value is (a.red, a.green, a.blue), that is, (R0, G0, B0), the time at this time is T1, the preset target color state value is (b.red, b.green, b.blue), that is, (Rn, Gn, Bn), the preset time of issuing is Tn, the color state value is issued when the time reaches T1 (R1, G1, B1), the color state value is issued when the time reaches T2 (R2, G2, B2), the color state is issued when the time reaches T3 (R3, G3, B3), … …, until the color state changes from the preset initial color state value to the target color state value, so that the process is rich in color change, and meanwhile, the intelligent light bulb color has a slow transition process, and therefore, the effect is good.
In an alternative embodiment, the number of issued status commands per unit time (within 1 second) is 64. Through a plurality of tests, the skilled person in the art finds that the color gradient effect of the intelligent bulb is more vivid and mild when the number of the issued status commands in the preset unit time is 64. Of course, in some other embodiments, the number of status commands issued in a preset unit time may also be set to be other, and is not specifically limited herein.
In some embodiments, in the case that the state value is a brightness state value, calculating the state value of each state command through a linear interpolation algorithm includes the following steps:
calculating a brightness gradient value according to a preset initial state value, a preset target state value and the number of issued state instructions in unit time;
and calculating the state value of each brightness state instruction according to the brightness gradient value and a preset initial state value.
The brightness of the intelligent bulb can be changed from bright to dark or from dark to bright through the steps, so that smooth gradual change of the brightness is realized, and the gradual change effect is good; in addition, since the calculation formulas of the brightness gradient value and the state value of the brightness state command are similar to those in steps S301 to S302, the detailed description thereof is omitted here.
In some embodiments, in the case that the state value is a color temperature state value, calculating the state value of each state command by using a linear interpolation algorithm includes the following steps:
calculating a color temperature gradient value according to a preset initial state value, a preset target state value and the number of issued state instructions in unit time;
and calculating the state value of each color temperature state instruction according to the color temperature gradual change value and a preset initial state value.
The color temperature of the intelligent bulb can be changed from cold to warm or from warm to cold through the steps, so that the smooth gradual change of the color temperature is realized, and the gradual change effect is good; in addition, since the calculation formulas of the color temperature gradient value and the state value of the color temperature state instruction are similar to those in steps S301 to S302, the detailed description thereof is omitted here.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment also provides a gradual change effect control device for an intelligent bulb, which is used for implementing the foregoing embodiments and preferred embodiments, and the descriptions already made are omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram illustrating a gradual effect control apparatus for an intelligent light bulb according to an embodiment of the present application, where the apparatus includes, as shown in fig. 5:
an obtaining module 51, configured to obtain preset initial state values, target state values, and the number of issued state instructions in unit time;
the calculation module 52 is configured to calculate a state value and issuing time of each state instruction through a linear interpolation algorithm;
the issuing module 53 is configured to issue a corresponding state value at each issuing time;
and the driving module 54 is configured to map the state value into a driving current value to drive the intelligent light bulb to display an effect. In the process of changing from the initial state value to the target state value, the smooth change from one state to the other state is realized, the gradual change effect is good, the method can attract the visual focus of a user, improve the atmosphere and the aesthetic feeling, greatly improve the use experience of the user, and solve the problem of poor gradual change effects of the intelligent bulb, such as a sharp state, a monotony state and the like in the related art.
It should be noted that the obtaining module 51, the calculating module 52 and the issuing module 53 in this embodiment may be disposed in a terminal, and the driving module 54 may be disposed in an intelligent bulb; of course, in some other embodiments, the obtaining module 51, the calculating module 52, the issuing module 53 and the driving module 54 may be disposed in the smart light bulb, wherein the terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers.
Fig. 6 is a block diagram of a computing module according to embodiments of the present application, and as shown in fig. 6, in some embodiments, the computing module 52 includes:
a color gradient value calculating module 61, configured to calculate a color gradient value according to a preset initial state value, a preset target state value, and a number of issued state instructions in a unit time, where a calculation formula of the color gradient value is as follows:
Figure BDA0003355587500000101
wherein, X0 is a preset initial state value, Xn is a preset target state value, N is the number of issued state commands in a preset unit time, and Δ X is a color gradient value;
a state value calculating module 62, configured to calculate a state value of each color state command according to the color gradient value and a preset initial state value, where a calculation formula of the state value of each color state command is as follows:
Xi=X0+ΔX×i
wherein, X0 is a preset initial state value, Δ X is a color gradient value, i is the number of times of issuing color state commands, and Xi is the state value of the ith color state command.
In some of these embodiments, the status value comprises at least one of a color status value, a color temperature status value, and a brightness status value.
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A gradual change effect control method of an intelligent bulb is characterized by comprising the following steps:
acquiring a preset initial state value, a preset target state value and the number of issued state instructions in unit time;
calculating the state value and issuing time of each state instruction through a linear interpolation algorithm, and issuing corresponding state values at each issuing time;
and mapping the state value into a driving current value to drive the intelligent bulb to display the effect.
2. The method of claim 1, wherein the status values comprise at least one of color status values, color temperature status values, and brightness status values.
3. The method of claim 1, wherein in the case that the state value is a color state value, the calculating the state value of each state command through a linear interpolation algorithm comprises:
calculating a color gradient value according to the preset initial state value, the preset target state value and the number of issued state instructions in unit time, wherein the calculation formula of the color gradient value is as follows:
Figure FDA0003355587490000011
wherein X0 is the preset initial state value, Xn is the preset target state value, N is the number of issued state commands in the preset unit time, and Δ X is the color gradient value;
calculating the state value of each color state command according to the color gradient value and the preset initial state value, wherein the calculation formula of the state value of each color state command is as follows:
Xi=X0+ΔX×i
wherein, X0 is the preset initial state value, Δ X is the color gradient value, i is the number of times of issuing the color state command, and Xi is the state value of issuing the color state command for the ith time.
4. The method of claim 3, wherein the color status values comprise at least a red status value, a green status value, and a blue status value.
5. The method according to claim 3, wherein the number of issued status commands per unit time is 64.
6. The method of claim 1, wherein in the case that the state value is a brightness state value, the calculating the state value of each state command through a linear interpolation algorithm comprises:
calculating a brightness gradient value according to the preset initial state value, the preset target state value and the number of issued state instructions in unit time;
and calculating the state value of each brightness state instruction according to the brightness gradient value and the preset initial state value.
7. The method of claim 1, wherein in the case that the state value is a color temperature state value, the calculating the state value of each state command through a linear interpolation algorithm comprises:
calculating a color temperature gradient value according to the preset initial state value, the preset target state value and the number of issued state instructions in unit time;
and calculating the state value of each color temperature state instruction according to the color temperature gradual change value and the preset initial state value.
8. A gradual change effect control device of an intelligent bulb, characterized in that the device comprises:
the acquisition module is used for acquiring preset initial state values, target state values and the number of issued state instructions in unit time;
the calculation module is used for calculating the state value and the issuing time of each state instruction through a linear interpolation algorithm;
the issuing module is used for issuing corresponding state values at each issuing time;
and the driving module is used for mapping the state value into a driving current value and driving the intelligent bulb to display the effect.
9. The apparatus of claim 8, wherein the computing module comprises:
a color gradient value calculating module, configured to calculate a color gradient value according to the preset initial state value, the preset target state value, and the number of issued state instructions in unit time, where a calculation formula of the color gradient value is as follows:
Figure FDA0003355587490000021
wherein X0 is the preset initial state value, Xn is the preset target state value, N is the number of issued state commands in the preset unit time, and Δ X is the color gradient value;
a state value calculating module, configured to calculate a state value of each color state command according to the color gradient value and the preset initial state value, where a calculation formula of the state value of each color state command is as follows:
Xi=X0+ΔX×i
wherein, X0 is the preset initial state value, Δ X is the color gradient value, i is the number of times of issuing the color state command, and Xi is the state value of issuing the color state command for the ith time.
10. The apparatus of claim 8, wherein the status value comprises at least one of a color status value, a color temperature status value, and a brightness status value.
CN202111350173.2A 2021-11-15 2021-11-15 Gradual effect control method and device of intelligent bulb Pending CN114245545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111350173.2A CN114245545A (en) 2021-11-15 2021-11-15 Gradual effect control method and device of intelligent bulb

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111350173.2A CN114245545A (en) 2021-11-15 2021-11-15 Gradual effect control method and device of intelligent bulb

Publications (1)

Publication Number Publication Date
CN114245545A true CN114245545A (en) 2022-03-25

Family

ID=80749382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111350173.2A Pending CN114245545A (en) 2021-11-15 2021-11-15 Gradual effect control method and device of intelligent bulb

Country Status (1)

Country Link
CN (1) CN114245545A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015176668A1 (en) * 2014-05-21 2015-11-26 常州市武进区半导体照明应用技术研究院 Lamp control method, device and system
US20150382422A1 (en) * 2014-06-25 2015-12-31 Ketra, Inc. Illumination Device and Age Compensation Method
US9237620B1 (en) * 2013-08-20 2016-01-12 Ketra, Inc. Illumination device and temperature compensation method
CN106793426A (en) * 2017-02-21 2017-05-31 福建星网视易信息系统有限公司 A kind of method and system of Based Intelligent Control light
US20190274200A1 (en) * 2016-11-30 2019-09-05 Minebea Mitsumi Inc. Light source driving device
CN110856306A (en) * 2019-11-13 2020-02-28 矽恩微电子(厦门)有限公司 Circuit for realizing automatic color gradual change of RGB (Red, Green and blue) three-primary-color LED (light-emitting diode) lamp
JP2020068137A (en) * 2018-10-25 2020-04-30 パナソニックIpマネジメント株式会社 Converter and illumination system using the same
CN111836437A (en) * 2017-09-27 2020-10-27 杭州博联智能科技股份有限公司 Control method and device for light display
CN112446944A (en) * 2020-11-10 2021-03-05 杭州易现先进科技有限公司 Method and system for simulating real environment light in AR scene
CN112601329A (en) * 2020-12-17 2021-04-02 杭州涂鸦信息技术有限公司 Lamplight brightness control method and related equipment thereof
CN113068289A (en) * 2021-03-09 2021-07-02 深圳市明微电子股份有限公司 Method and device for improving gradual change effect of LED lamp
CN113347768A (en) * 2021-06-04 2021-09-03 深圳市欧瑞博科技股份有限公司 Intelligent light regulation and control method and device, electronic equipment and storage medium
CN113543405A (en) * 2021-09-15 2021-10-22 广州中大中鸣科技有限公司 Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9237620B1 (en) * 2013-08-20 2016-01-12 Ketra, Inc. Illumination device and temperature compensation method
WO2015176668A1 (en) * 2014-05-21 2015-11-26 常州市武进区半导体照明应用技术研究院 Lamp control method, device and system
US20150382422A1 (en) * 2014-06-25 2015-12-31 Ketra, Inc. Illumination Device and Age Compensation Method
US20190274200A1 (en) * 2016-11-30 2019-09-05 Minebea Mitsumi Inc. Light source driving device
CN106793426A (en) * 2017-02-21 2017-05-31 福建星网视易信息系统有限公司 A kind of method and system of Based Intelligent Control light
CN111836437A (en) * 2017-09-27 2020-10-27 杭州博联智能科技股份有限公司 Control method and device for light display
JP2020068137A (en) * 2018-10-25 2020-04-30 パナソニックIpマネジメント株式会社 Converter and illumination system using the same
CN110856306A (en) * 2019-11-13 2020-02-28 矽恩微电子(厦门)有限公司 Circuit for realizing automatic color gradual change of RGB (Red, Green and blue) three-primary-color LED (light-emitting diode) lamp
CN112446944A (en) * 2020-11-10 2021-03-05 杭州易现先进科技有限公司 Method and system for simulating real environment light in AR scene
CN112601329A (en) * 2020-12-17 2021-04-02 杭州涂鸦信息技术有限公司 Lamplight brightness control method and related equipment thereof
CN113068289A (en) * 2021-03-09 2021-07-02 深圳市明微电子股份有限公司 Method and device for improving gradual change effect of LED lamp
CN113347768A (en) * 2021-06-04 2021-09-03 深圳市欧瑞博科技股份有限公司 Intelligent light regulation and control method and device, electronic equipment and storage medium
CN113543405A (en) * 2021-09-15 2021-10-22 广州中大中鸣科技有限公司 Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐明: "《舞台灯光设计》", vol. 1, 上海人民出版社 *

Similar Documents

Publication Publication Date Title
US10206268B2 (en) Interlaced data architecture for a software configurable luminaire
AU2014223107B2 (en) Shooting method and apparatus of electronic device, and electronic device
CA2764352C (en) Lighting control device
CN106415697A (en) Display apparatus, electronic device including the same, and method of operating the same
CN107134272B (en) Screen display control method and system and computer processing equipment
US10728989B2 (en) Lighting script control
CN107993604A (en) The adjusting method and equipment of a kind of display screen
CN105657301B (en) Show the method and device of image
JP2016517533A (en) Content adaptive LCD backlight control
CN109493831B (en) Image signal processing method and device
CN117198214A (en) Refresh rate switching method, electronic device and storage medium
CN112289278A (en) Screen brightness adjusting method, screen brightness adjusting device and electronic equipment
CN104240676A (en) Method for adjusting electronic device and electronic device
CN104915166B (en) Information processing method and electronic equipment
CN114245545A (en) Gradual effect control method and device of intelligent bulb
CN109410813A (en) A kind of method of adjustment and device of touch-control blank
CN111028772B (en) Lamplight display method, lamplight display device, controller and storage medium
CN113012632B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN115761103A (en) Control method and device based on virtual reality, electronic equipment and storage medium
WO2021249504A1 (en) Distributed display method and related device
CN109947230A (en) A kind of screen luminance adjustment method of terminal device, device and terminal device
CN101859511A (en) Environmental atmosphere lamp system and control method thereof
CN113539207B (en) Display screen adjusting method, device and equipment
Jeong et al. Design and implementation of an led mood lighting system using personalized color sequence generation
US20190096341A1 (en) Method, system and computer readable storage medium for driving liquid crystal displays

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