CN113225867B - Dimming curve expansion method and device, computer equipment and storage medium - Google Patents

Dimming curve expansion method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113225867B
CN113225867B CN202110469699.6A CN202110469699A CN113225867B CN 113225867 B CN113225867 B CN 113225867B CN 202110469699 A CN202110469699 A CN 202110469699A CN 113225867 B CN113225867 B CN 113225867B
Authority
CN
China
Prior art keywords
current
voltage
dimming curve
dimming
target
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
Application number
CN202110469699.6A
Other languages
Chinese (zh)
Other versions
CN113225867A (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 Caiyi Light Co Ltd
Original Assignee
Guangzhou Caiyi Light 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 Caiyi Light Co Ltd filed Critical Guangzhou Caiyi Light Co Ltd
Priority to CN202110469699.6A priority Critical patent/CN113225867B/en
Publication of CN113225867A publication Critical patent/CN113225867A/en
Application granted granted Critical
Publication of CN113225867B publication Critical patent/CN113225867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the 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
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/32Pulse-control circuits
    • H05B45/325Pulse-width modulation [PWM]
    • 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

Abstract

The application relates to a dimming curve expansion method and device, computer equipment and a storage medium, which are suitable for LED lamps. The method comprises the following steps: acquiring an initial dimming curve, wherein the abscissa of the initial dimming curve is DMX data, and the ordinate of the initial dimming curve is first brightness output of a target lamp; obtaining current and voltage corresponding to each DMX data in the initial dimming curve; carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing; and controlling the target lamp to emit light according to the current and the voltage after the delay processing. By adopting the method, the dimming time of the LED lamp can be shortened, the dimming efficiency is high, and the application range of the LED lamp is widened.

Description

Dimming curve expansion method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of LED lamp control technologies, and in particular, to a dimming curve extension method and apparatus, a computer device, and a storage medium.
Background
With the development of the times, the light fitting has not only met the requirement of illumination. In many scenarios, the luminaire may also be used to mood out the atmosphere. For example, in many scenes, a light engineer can set off the stage atmosphere by adjusting parameters such as the color, stroboscopic effect, and light-on/light-off speed of the LED lamp.
In the practical use of the LED lamp, the LED lamp can set different dimming curves according to different use scene requirements. Currently, the mainstream dimming curves of the LED lamp include 5 kinds, which are a linear dimming line, a square dimming curve, a cubic dimming curve, a logarithmic dimming curve and an S dimming curve.
However, since there are 5 dimming curves in the existing LED lamp, the scene use requirement cannot be met in many cases. The light adjusting curve needs to be locally corrected by a software engineer, so that the LED lamp is long in light adjusting time, low in efficiency and narrow in application range.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a dimming curve extending method, an apparatus, a computer device and a storage medium, which can shorten the dimming time of the LED lamp, improve the dimming efficiency, and widen the application range of the LED lamp.
In a first aspect, a dimming curve extending method is provided, where the method includes: acquiring an initial dimming curve, wherein the abscissa of the initial dimming curve is DMX data, and the ordinate of the initial dimming curve is first brightness output of a target lamp; obtaining current and voltage corresponding to each DMX data in an initial dimming curve; carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing; and controlling the target lamp to emit light according to the delayed current and voltage.
In one embodiment, after controlling the target lamp to emit light according to the delayed current and voltage, the method further includes: determining a second brightness output of the target lamp according to the light emitting condition of the target lamp; and generating a target dimming curve according to the second brightness output and each DMX data, and storing the target dimming curve.
In one embodiment, delaying the current and the voltage to obtain a delayed current and a delayed voltage includes: and performing delay processing on the current and the voltage by using a delay circuit to obtain the current and the voltage after the delay processing.
In one embodiment, the delay circuit comprises a capacitor and a resistor, wherein the capacitor is connected in series with the resistor: a capacitor for performing charging processing on the current and the voltage; and the resistor is used for performing discharge processing on the current and the voltage.
In one embodiment, the delay circuit comprises at least two capacitors, the capacitance values of the capacitors are different, the capacitors are connected in parallel, and only one capacitor is connected in the normal operation of the delay circuit.
In one embodiment, obtaining the current and the voltage corresponding to each DMX data in the initial dimming curve includes: determining the duty ratio of a PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve; and determining the current and the voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse.
In one embodiment, determining the duty ratio of the PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve includes: according to each DMX data, acquiring a PWM pulse duty ratio corresponding to each DMX data from a preset data table; the preset data table stores the mapping relation of the PWM pulse duty ratio corresponding to each DMX data.
In a second aspect, there is provided a dimming curve extending apparatus, the apparatus comprising:
the first acquisition module is used for acquiring an initial dimming curve, wherein the abscissa of the initial dimming curve is DMX data, and the longitudinal coordinate of the initial dimming curve is first brightness output of the target lamp;
the second acquisition module is used for acquiring current and voltage corresponding to each DMX data in the initial dimming curve;
the delay processing module is used for carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing;
and the control module is used for controlling the target lamp to emit light according to the delayed current and voltage.
In one embodiment, the dimming curve extending apparatus further includes:
the determining module is used for determining second brightness output of the target lamp according to the light emitting condition of the target lamp;
and the generating module is used for generating a target dimming curve according to the second brightness output and each DMX data and storing the target dimming curve.
In one embodiment, the delay processing module is specifically configured to perform delay processing on the current and the voltage by using a delay circuit to obtain the current and the voltage after the delay processing.
In one embodiment, the delay circuit includes a capacitor and a resistor, wherein the capacitor is connected in series with the resistor:
a capacitor for performing a charging process on the current and the voltage;
and the resistor is used for performing discharge processing on the current and the voltage.
In one embodiment, the delay circuit comprises at least two capacitors, the capacitance values of the capacitors are different, the capacitors are connected in parallel, and only one capacitor is connected in the normal operation of the delay circuit.
In one embodiment, the second obtaining module includes:
the first determining unit is used for determining the duty ratio of the PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve;
and the second determining unit is used for determining the current and the voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse.
In one embodiment, the first determining unit is specifically configured to obtain, according to each DMX data, a PWM pulse duty ratio corresponding to each DMX data from a preset data table; the preset data table stores the mapping relation of the PWM pulse duty ratio corresponding to each DMX data.
In a third aspect, a luminaire is provided, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the method according to any one of the first aspect described above when executing the computer program.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of any of the first aspects as described above.
According to the light curve expanding method, the light curve expanding device, the computer equipment and the storage medium, the target lamp obtains an initial dimming curve, the abscissa of the initial dimming curve is DMX data, and the longitudinal coordinate is first brightness output of the target lamp; obtaining current and voltage corresponding to each DMX data in an initial dimming curve; carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing; and controlling the target lamp to emit light according to the current and the voltage after the delay processing. Therefore, the current and the voltage corresponding to each DMX data are changed, the brightness of the target lamp corresponding to each DMX data is changed, a new dimming curve is generated based on the initial dimming curve, the basic dimming curve is expanded, and the use range of the target lamp is widened.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a dimming curve expansion method;
FIG. 2 is a flow chart illustrating a method for extending a dimming curve according to an embodiment;
FIG. 3 is a diagram illustrating a basic dimming curve in the dimming curve expansion method according to an embodiment;
FIG. 4 is a flowchart illustrating a method for extending a dimming curve according to another embodiment;
fig. 5 is a diagram illustrating an expanded basic dimming curve in the dimming curve expanding method according to another embodiment;
FIG. 6 is a schematic diagram of a delay circuit in another embodiment of the method for extending a dimming curve;
FIG. 7 is a schematic diagram of a delay circuit in another embodiment of the method for extending a dimming curve;
FIG. 8 is a flowchart illustrating a method for extending a dimming curve according to another embodiment;
FIG. 9 is a diagram illustrating a default data table according to an embodiment of the present application;
FIG. 10 is a block diagram of a dimming curve extending apparatus according to an embodiment;
FIG. 11 is a block diagram of a dimming curve extending apparatus according to an embodiment;
fig. 12 is a block diagram of a dimming curve extending apparatus according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The lamp control method provided by the embodiment of the application can be applied to the lamp shown in fig. 1. The lamp may include a light emitting assembly 101, a display assembly 102, an input assembly 103, a processing assembly 104, a charging and discharging assembly 105, a driving assembly 106, and a storage assembly 107. The processing module 104 is connected to the input module 103, the storage module 107, the driving module 106, the display module 102, and the charge/discharge module 105, the charge/discharge module 105 is connected to the driving module, and the light emitting module 101 is connected to the driving module 106.
The light emitting assembly 101 may be an assembly having a light emitting function in a lamp, and the light emitting assembly 101 may operate under the driving of the driving assembly 106.
The driving member 106 may drive the light emitting member to emit light according to the current and voltage inputted to the light emitting member.
The input component 103 can receive an initial dimming curve input by a user and transmit the initial dimming curve to the processing component.
The display component 102 can display the base dimming curves for a user to select an initial dimming curve from the base dimming curves.
The processing component 104 may generate a receive initial dimming curve and generate a target dimming curve from the initial dimming curve.
The delay member 105 may perform a delay process in anticipation of the current and voltage input to the light emitting member 101.
The storage component 107 may store the target dimming curve generated by the processing component 102.
It will be understood by those skilled in the art that the configuration shown in fig. 1 is a block diagram of only a portion of the configuration associated with the present application, and does not constitute a limitation on the light fixture to which the present application is applied, and a particular light fixture may include more or fewer components than shown in the figures, or may combine certain components, or have a different arrangement of components.
In an embodiment of the present application, as shown in fig. 2, a dimming curve expanding method is provided, where the method is applied to the luminaire in fig. 1, and optionally one luminaire is taken as an example for description, and includes the following steps:
in step 201, the target luminaire acquires an initial dimming curve.
The abscissa of the initial dimming curve is DMX (data multiplexer ) data, and the ordinate is the first luminance output of the target luminaire.
In the field of dimming and control of LED lamps, the LED lamps mainly adopt DMX512 protocol to transmit and receive DMX data, and the DMX512 protocol is an industrial standard for data transmission between a light console and lamp equipment. When the DMX data received by the lamp is different, the brightness output by the lamp is also different.
Optionally, the target luminaire may receive an initial dimming curve input by the user through the input component, where the initial dimming curve may be any one of a linear dimming line, a square dimming curve, a cubic dimming curve, a logarithmic dimming curve, and an S dimming curve. Fig. 3 shows a schematic diagram of 5 basic dimming curves, wherein fig. 3a is a linear dimming line schematic diagram, fig. 3b is a square dimming curve schematic diagram, fig. 3c is a cubic dimming curve schematic diagram, fig. 3d is a logarithmic dimming curve, and fig. 3e is an S dimming curve schematic diagram.
Optionally, the target luminaire may show 5 different dimming curves to the user through the display component, receive any one dimming curve selected by the user, and use the received any one dimming curve as the initial dimming curve.
In step 202, the target lamp obtains a current and a voltage corresponding to each DMX data in the initial dimming curve.
Wherein, DMX data value is 0-255 (can be converted into percentage 0-100%). And each functional channel realizes different functions through the change of the DMX data value, such as dimming channel, 16-bit fine adjustment of the dimming channel, red channel, 16-bit fine adjustment of the red channel, green channel, 16-bit fine adjustment of the green channel, blue channel, 16-bit fine adjustment of the blue channel, white channel, 16-bit fine adjustment of the white channel and the like.
Since the target lamp can output different brightness, the driving assembly can output different currents and voltages to the light emitting assembly. When the current and the voltage input to the light-emitting component by the driving component are large, the brightness output by the target lamp is bright, and when the current and the voltage input to the light-emitting component by the driving component are small, the brightness output by the target lamp is dark.
Specifically, after the target luminaire acquires the initial dimming curve, the target luminaire may query, in the storage component, duty ratios of PWM pulses for each DMX data pair corresponding to the initial dimming curve. The current and voltage corresponding to the duty ratio of different PWM (Pulse width modulation) pulses are different, and the target lamp determines the current and voltage corresponding to each DMX data according to the duty ratio of the PWM pulses.
Illustratively, the initial dimming curve obtained by the target lamp is a linear dimming curve, the target lamp queries the duty ratio of a PWM pulse corresponding to each DMX data in the linear dimming curve in the storage component, and determines the current and the voltage corresponding to each DMX data according to the duty ratio of the PWM pulse.
And 203, the target lamp performs delay processing on the current and the voltage to obtain the current and the voltage after the delay processing.
Specifically, the target luminaire may delay the current and voltage input to the light emitting assembly by using the delay assembly, so that the current and voltage input to the light emitting assembly are delayed in time, thereby obtaining the current and voltage after the delay processing.
For example, assuming that when the DMX is 100, the duty ratio of the corresponding PWM pulse is 50%, that is, the current input to the light emitting assembly by the target luminaire is 5A, and the voltage is 5V, the brightness of the light emitting assembly is 50% of the full brightness. The target lamp utilizes the delay component to delay the 5A current and the 5V voltage of the light-emitting component, so that the current finally input to the light-emitting component is only 4A, and the voltage is only 4V.
And step 204, the target lamp controls the target lamp to emit light according to the delayed current and voltage.
Specifically, the target lamp inputs the delayed current and voltage to the light emitting assembly, and the light emitting assembly emits brightness corresponding to the delayed current and voltage after receiving the delayed current and voltage.
Illustratively, the current after the delay process is 4A, the voltage is 4V, and the target lamp inputs the 4A current and the 4V voltage to the light emitting assembly. After the light emitting assembly receives the 4A current and the 4V voltage, the light emitting assembly emits 40% of full brightness.
In the dimming curve expansion method, the target lamp acquires an initial dimming curve, the abscissa of the initial dimming curve is DMX data, and the longitudinal coordinate is first brightness output of the target lamp; obtaining current and voltage corresponding to each DMX data in an initial dimming curve; carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing; and controlling the target lamp to emit light according to the current and the voltage after the delay processing. Therefore, the current and the voltage corresponding to each DMX data are changed, the brightness of the target lamp corresponding to each DMX data is changed, a new dimming curve is generated based on the initial dimming curve, the basic dimming curve is expanded, and the application range of the target lamp is widened.
In an alternative implementation manner of the present application, as shown in fig. 4, after the step 204 "controlling the target lamp to emit light according to the delayed current and voltage", the method may further include the following steps:
step 401, the target lamp determines a second brightness output of the target lamp according to the light emitting condition of the target lamp.
Specifically, the target lamp determines the light emitting condition of the target lamp according to the current and the voltage input to the light emitting assembly after the delay processing, and compares the light emitting condition of the target lamp with the first brightness output of the target lamp according to the light emitting condition of the target lamp, so as to determine the second brightness output of the target lamp.
And step 402, generating a target dimming curve by the target lamp according to the second brightness output and each DMX data, and storing the target dimming curve.
Specifically, after the delayed current and voltage corresponding to each DMX data are determined, the target luminaire may determine a second luminance output of the target luminaire according to the delayed current and voltage. And the target lamp generates a target dimming curve according to the DMX data and the second brightness output corresponding to the DMX data, and stores the target dimming curve into a storage component of the target lamp, so that a user can directly select the target dimming curve to control the light-emitting component to emit light.
Wherein, each kind of dimming curve can be expanded into 16 dimming curves, such as linear dimming property 1 (0000), linear dimming property 2 (0001), linear dimming property 3 (0010), linear dimming property 4 (0011), linear dimming property 5 (0100), linear dimming property 6 (0101), linear dimming property 7 (0110), linear dimming property 8 (0111), linear dimming property 9 (1000), linear dimming property 10 (1001), linear dimming property 11 (1010), linear dimming property 12 (1011), linear dimming property 13 (1100), linear dimming property 14 (1101), linear dimming property 15 (1110) and linear dimming property 16 (1111). In the same way, "square" dimming, "cubic" dimming, "logarithmic" dimming, and "S-curve dimming". Namely 5 kinds of dimming curves, can be expanded to 5 × 16=80pcs dimming curves to select.
Fig. 5 shows a schematic diagram of the expanded 5-kind dimming curve, fig. 5a shows a schematic diagram of the expanded linear dimming line, fig. 5b shows a schematic diagram of the expanded square dimming curve, fig. 5c shows a schematic diagram of the expanded cubic dimming curve, fig. 5d shows a schematic diagram of the expanded logarithmic dimming curve, and fig. 5e shows a schematic diagram of the expanded S dimming curve.
In the embodiment of the application, the target lamp determines the second brightness output of the target lamp according to the light emitting condition of the target lamp, generates the target dimming curve according to the second brightness output and each DMX data, and stores the target dimming curve. Therefore, the target lamp generates the target dimming curve according to the initial dimming curve, the dimming curve is expanded, and a user can control the light-emitting component to emit light according to the generated target dimming curve. .
In an optional implementation manner of the present application, the step 203 "performing delay processing on the current and the voltage to obtain the delayed current and voltage" may include the following steps:
and carrying out delay processing on the current and the voltage by using a delay circuit to obtain the current and the voltage after the delay processing.
Specifically, the target lamp may perform delay processing on the current and the voltage corresponding to each DMX data by using a delay circuit, so as to obtain the current and the voltage after the delay processing.
As shown in fig. 6, fig. 6 is a schematic diagram of a delay circuit provided in the embodiment of the present application, and a dashed line frame is the delay circuit. As shown in fig. 7. Fig. 7 is a schematic diagram of another delay circuit according to an embodiment of the present application.
After the determination of the pair of delay circuits, the resistance value in the first current regulating circuit is set in advance, so that the resistance value of the first current regulating circuit can be calculated by the resistance calculation formula.
In an optional implementation manner of the present application, the delay circuit in the above embodiment includes a capacitor and a resistor, where the capacitor is connected in series with the resistor:
and the capacitor is used for carrying out charging processing on the current and the voltage.
And the resistor is used for performing discharge processing on the current and the voltage.
Specifically, the capacitor in the delay circuit is charged when the PWM signal is in the high level period, and the resistor is discharged in the low level period of the PWM signal. If the duty ratio of the PWM signal is changed from low to high (0-100%), the delay time of the delay circuit for the current and the voltage is changed from long to short. For example, the PWM signal duty cycle is 5%, the delay circuit may delay the current and voltage by 100ms; the duty cycle of the PWM signal is 10%, and the delay circuit may delay the current and voltage by 85ms; the duty cycle of the PWM signal is 15%, and the delay circuit may delay the current and voltage by 60ms; PWM signal duty cycle is 100% delay circuit can delay current and voltage by 0ms. That is, the delay time of the delay circuit for delaying the current and the voltage is a variable value, not a fixed value.
In an optional implementation manner of the present application, the delay circuit includes at least two capacitors, capacitance values of the capacitors are different, the capacitors are connected in parallel, and only one capacitor is connected in a normal operation of the delay circuit.
Optionally, because the capacitance values of the capacitors are different, the charging times of the capacitors are also different, so that the current and voltage can be delayed for different times, and the brightness of the target lamp can be changed.
In the embodiment of the application, the target lamp utilizes the delay circuit to delay the current and the voltage to obtain the current and the voltage after the delay. Therefore, the target dimming curve is generated according to the change of the brightness of the target lamp.
In an alternative implementation manner of the present application, as shown in fig. 8, the step 202 of "obtaining the current and the voltage corresponding to each DMX data in the initial dimming curve" may include the following steps:
step 801, the target lamp determines a duty ratio of a PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve.
The duty ratio of the PWM pulse corresponds to the current and voltage input to the light-emitting component, and the current and voltage input to the light-emitting component determine the brightness ratio of the target lamp. When the brightness of the target lamp is controlled, the target lamp is usually switched on and off at a frequency higher than the visual persistence time of human eyes, so as to control the brightness of the target lamp, that is, the duty ratio of the PWM pulse is controlled to adjust the brightness of the target lamp. The DMX data of the lamp and the duty ratio of the PWM pulse are important parameters for controlling the brightness of the target lamp, and therefore, when the brightness of the target lamp is controlled, the duty ratio of the PWM pulse corresponding to the DMX data of the lamp to be adjusted needs to be obtained first.
Optionally, the target luminaire may receive the initial dimming curve and the duty ratio of the PWM pulse corresponding to each DMX data in the initial dimming curve.
Optionally, the target luminaire may also query, in the data, the duty ratio of the PWM pulse corresponding to each DMX data in the initial dimming curve according to the received initial dimming curve.
Step 802, the target lamp determines the current and voltage corresponding to each PWM pulse according to the duty cycle of each PWM pulse.
Optionally, the target lamp may generate a current and a voltage corresponding to each PWM pulse according to a duty ratio of each PWM pulse.
Optionally, the target lamp may also query the current and the voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse.
In the embodiment of the application, the target lamp determines the duty ratio of the PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve, and determines the current and the voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse. Therefore, the accurate row of the current and the voltage corresponding to each DMX data can be ensured, and a plurality of target dimming curves can be generated.
In an optional implementation manner of the present application, the "determining the duty ratio of the PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve" in step 801 may include the following steps:
according to each DMX data, acquiring a PWM pulse duty ratio corresponding to each DMX data from a preset data table; the preset data table stores the mapping relation of the PWM pulse duty ratio corresponding to each DMX data.
The preset data table is a mapping relation between each DMX data and each pulse duty ratio, when the LED lamp is dimmed, a dimming curve input by a user can be obtained through a human-computer interface, the dimming curve can comprise a linear dimming line, a square dimming line (parabolic dimming line), a logarithmic dimming line (inverse parabolic dimming line), an S-curve dimming line, a cubic dimming line and the like, and the preset data table can comprise the mapping relation between each DMX data and each pulse duty ratio under different dimming curves. Fig. 9 is a schematic diagram of a preset data table according to an embodiment of the present application, in which the preset data table of the lamp in a partial low brightness range is shown.
In one embodiment of the present application, a method of using a target luminaire is provided. Firstly, after a target lamp is powered on, all control system MCUs in the lamp start to reset and self-check, and a processing component processes information such as software version, temperature, fan rotating speed, channel value and the like; the dimming curve of the stage LED lamp is set through the display assembly, and the type of the dimming curve required to be set can be changed by stopping the control console for N seconds at a certain numerical value section of a function control channel of the LED lamp. After a certain dimming curve is determined to be used, a dimming line with a certain slope can be further selected in a dialing mode. For example, in "linear" dimming, linear dimming 3 (0010), i.e., dial 2, is selected from 16 slope dimming lines. See fig. 6 and 7.
And then, the dimming effect (0-100%) of the LED lamp is tested by changing the DMX channel value (0-255, which can be converted into 0-100%) of the dimming channel. If the dimming effect is not appropriate, another dimming line with the slope is selected in a dialing mode. For example, linear dimming 5 (0100), i.e., dial 3, is reselected. Until the dimming line to the most suitable slope is selected. Different light operators have different design methods when designing the dimming effect of the LED lamp. For example, the "dimming channel" is extended to "dimming channel" + "dimming channel 16-bit trimming", i.e. one dimming channel is subdivided into two dimming channels, for example, from 255 to 255 × 255; and the fade gradual-change delay time is added before the LED lamp is started or received, the delay time is a quantitative value set by the control console, and is not a PWM delay variable value carried by the LED lamp in the embodiment of the application.
In an alternative example, the dimming curve of the LED fixture is set in the display assembly to be a "linear" dimming curve, and by means of a four-digit dial switch (SW 1 or SW 2), linear dimming 3 (0010), dial 2, is selected. Specifically, the starting DMX values after the delay processing of different LED driving circuits are described.
As shown in fig. 6, in the U1 (LM 3409 HV) constant current driving circuit, when the four-bit dial switch SW1 does not dial (0000), that is, no capacitor is connected, only the pull-down resistor R17 (resistance is 56K) is provided, and at this time, when the DMX value of the dimming channel is 2, the LED light of the LED lamp is turned on (i.e., turned on);
when the SW1 is dialed to 1 (0001), namely the capacitor C800 is connected (the resistance is 2.2 nF), the resistor R17 is pulled down (the resistance is 56K), and when the DMX value of the dimming channel is 6, the LED light of the LED lamp is turned on (namely, turned on);
when the SW1 is dialed 2 (0010), the capacitor C801 (with a resistance of 4.7 nF) is connected, the resistor R17 (with a resistance of 56K) is pulled down, and when the DMX value of the dimming channel is 11, the LED light of the LED lamp is turned on (i.e., turned on);
when the SW1 is dialed by 3 (0100), the capacitor C802 is connected (with a resistance of 10 nF), the resistor R17 is pulled down (with a resistance of 56K), and when the DMX value of the dimming channel is 22, the LED light of the LED lamp is turned on (i.e., turned on);
when the switch SW1 is dialed 4 (1000), namely the capacitor C803 is connected (the resistance is 22 nF), the resistor R17 is pulled down (the resistance is 56K), and when the DMX value of the dimming channel is 43, the LED light of the LED lamp is turned on (namely, turned on);
as shown in fig. 7, in the U2 (MBI 6662 GD) constant current driving circuit, when the four-bit toggle switch SW2 does not toggle (0000), that is, no capacitor is connected, only the pull-down resistor R120 (resistance is 1K) is used, and at this time, when the DMX value of the dimming channel is 2, the LED light of the LED lamp is turned on (that is, turned on);
when the SW2 is dialed to be 1 (0001), namely the capacitor C900 (the resistance value is 2.2 nF) is connected, the resistor R120 (the resistance value is 1K) is pulled down, and when the DMX value of the dimming channel is 6, the LED light of the LED lamp is lighted (namely, the LED lamp is turned on);
when the SW2 is dialed 2 (0010), the capacitor C901 (with a resistance of 4.7 nF) is connected, the resistor R120 (with a resistance of 1K) is pulled down, and when the DMX value of the dimming channel is 14, the LED light of the LED lamp is turned on (i.e., turned on);
when the SW2 is dialed 3 (0100), namely the capacitor C902 is connected (with a resistance of 10 nF), the resistor R120 is pulled down (with a resistance of 1K), and when the DMX value of the dimming channel is 30, the LED light of the LED lamp is turned on (namely turned on);
when the SW2 is dialed 4 (1000), the capacitor C903 (with a resistance of 22 nF) is connected, the resistor R120 (with a resistance of 1K) is pulled down, and when the DMX value of the dimming channel is 58, the LED light of the LED lamp is turned on (i.e., turned on);
it should be understood that although the steps in the flowcharts of fig. 2, 4 and 8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2, 4, and 8 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
In an embodiment of the present application, as shown in fig. 10, there is provided a dimming curve extending apparatus 1000, including: a first acquisition module 1010, a second acquisition module 1020, a delay processing module 1030, and a control module 1040, wherein:
a first obtaining module 1010, configured to obtain an initial dimming curve, where an abscissa of the initial dimming curve is DMX data, and a vertical coordinate is a first luminance output of the target lamp;
a second obtaining module 1020, configured to obtain a current and a voltage corresponding to each DMX data in the initial dimming curve;
a delay processing module 1030, configured to perform delay processing on the current and the voltage to obtain a delayed current and a delayed voltage;
and the control module 1040 is configured to control the target lamp to emit light according to the delayed current and voltage.
In an embodiment of the present application, as shown in fig. 11, the dimming curve extending apparatus 1000 further includes: a determination module 1050 and a generation module 1060.
The determining module 1050 is configured to determine a second luminance output of the target luminaire according to a light emitting condition of the target luminaire;
the generating module 1060 is configured to generate a target dimming curve according to the second luminance output and each DMX data, and store the target dimming curve.
In an embodiment of the application, the delay processing module is specifically configured to perform delay processing on the current and the voltage by using a delay circuit to obtain the current and the voltage after the delay processing.
In one embodiment of the present application, the delay processing module includes a delay circuit, and the delay circuit includes a capacitor and a resistor, where the capacitor is connected in series with the resistor:
a capacitor for performing a charging process on the current and the voltage;
and the resistor is used for carrying out discharge processing on the current and the voltage.
In one embodiment of the present application, the delay circuit includes at least two capacitors, the capacitors have different capacitance values, the capacitors are connected in parallel, and only one capacitor is connected in normal operation of the delay circuit.
In an embodiment of the present application, as shown in fig. 12, the second obtaining module 1020 includes:
a first determining unit 1021, configured to determine, according to each DMX data in the initial dimming curve, a duty ratio of a PWM pulse corresponding to each DMX data;
the second determining unit 1022 is configured to determine a current and a voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse.
In an embodiment of the present application, the first determining unit 1021 is specifically configured to obtain, according to each DMX data, a PWM pulse duty ratio corresponding to each DMX data from a preset data table; the preset data table stores the mapping relation of the PWM pulse duty ratio corresponding to each DMX data.
For specific definition of the dimming curve extending device, reference may be made to the above definition of the dimming curve extending method, which is not described herein again. The modules in the dimming curve expansion device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment of the application, there is provided a luminaire comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program implementing the steps of: acquiring an initial dimming curve, wherein the abscissa of the initial dimming curve is DMX data, and the longitudinal coordinate is first brightness output of a target lamp; obtaining current and voltage corresponding to each DMX data in an initial dimming curve; carrying out delay processing on the current and the voltage to obtain the current and the voltage after delay processing; and controlling the target lamp to emit light according to the delayed current and voltage.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: determining a second brightness output of the target lamp according to the light emitting condition of the target lamp; and generating a target dimming curve according to the second brightness output and each DMX data, and storing the target dimming curve.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: and carrying out delay processing on the current and the voltage by using a delay circuit to obtain the current and the voltage after the delay processing.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: the delay circuit includes a capacitor and a resistor, wherein the capacitor is connected in series with the resistor: a capacitor for performing a charging process on the current and the voltage; and the resistor is used for carrying out discharge processing on the current and the voltage.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: the delay circuit comprises at least two capacitors, the capacitance values of the capacitors are different, the capacitors are connected in parallel, and only one capacitor is connected in the normal work of the delay circuit.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: determining the duty ratio of a PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve; and determining the current and the voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: according to each DMX data, acquiring a PWM pulse duty ratio corresponding to each DMX data from a preset data table; the preset data table stores the mapping relation of the PWM pulse duty ratio corresponding to each DMX data.
In one embodiment of the present application, there is provided a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of: acquiring an initial dimming curve, wherein the abscissa of the initial dimming curve is DMX data, and the ordinate of the initial dimming curve is first brightness output of a target lamp; obtaining current and voltage corresponding to each DMX data in an initial dimming curve; carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing; and controlling the target lamp to emit light according to the current and the voltage after the delay processing.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: determining a second brightness output of the target lamp according to the light emitting condition of the target lamp; and generating a target dimming curve according to the second brightness output and each DMX data, and storing the target dimming curve.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: and carrying out delay processing on the current and the voltage by using a delay circuit to obtain the current and the voltage after the delay processing.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: the delay circuit includes a capacitor and a resistor, wherein the capacitor is connected in series with the resistor: a capacitor for performing a charging process on the current and the voltage; and the resistor is used for performing discharge processing on the current and the voltage.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: the delay circuit comprises at least two capacitors, the capacitance values of the capacitors are different, the capacitors are connected in parallel, and only one capacitor is connected in the normal operation of the delay circuit.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: determining the duty ratio of a PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve; and determining the current and the voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: according to the DMX data, PWM pulse duty ratios corresponding to the DMX data are obtained from a preset data table; the preset data table stores the mapping relation of the PWM pulse duty ratio corresponding to each DMX data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM may take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not to be 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, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. A method of dimming curve expansion, the method comprising:
acquiring an initial dimming curve, wherein the abscissa of the initial dimming curve is DMX data, and the longitudinal coordinate of the initial dimming curve is first brightness output of a target lamp;
obtaining current and voltage corresponding to each DMX data in the initial dimming curve;
carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing;
controlling the target lamp to emit light according to the delayed current and voltage;
the delaying the current and the voltage to obtain the delayed current and voltage includes:
delaying the current and the voltage by using a delay circuit to obtain the current and the voltage after delay processing;
the delay circuit comprises at least two capacitors, the capacitance values of the capacitors are different, the capacitors are connected in parallel, and only one capacitor is connected in normal operation of the delay circuit.
2. The method of claim 1, wherein after controlling the target luminaire to emit light according to the delayed current and voltage, the method further comprises:
determining a second brightness output of the target lamp according to the light emitting condition of the target lamp;
and generating a target dimming curve according to the second brightness output and the DMX data, and storing the target dimming curve.
3. The method of claim 1, wherein the delay circuit comprises a resistor, wherein the capacitor is in series with the resistor:
the capacitor is used for carrying out charging processing on the current and the voltage;
the resistor is used for carrying out discharge processing on the current and the voltage.
4. The method of claim 1, wherein obtaining the current and the voltage corresponding to each DMX data in the initial dimming curve comprises:
determining the duty ratio of a PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve;
and determining the current and the voltage corresponding to each PWM pulse according to the duty ratio of each PWM pulse.
5. The method of claim 4, wherein determining the duty cycle of the PWM pulse corresponding to each DMX data according to each DMX data in the initial dimming curve comprises:
according to the DMX data, PWM pulse duty ratios corresponding to the DMX data are obtained from a preset data table; and the preset data table stores the mapping relation of the PWM pulse duty ratio corresponding to each DMX data.
6. The method of claim 1, wherein the initial dimming curve is any one of a linear dimming line, a square dimming curve, a cubic dimming curve, a logarithmic dimming curve, and an S dimming curve.
7. A dimming curve extending apparatus, comprising:
the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining an initial dimming curve, the abscissa of the initial dimming curve is DMX data, and the longitudinal coordinate is first brightness output of a target lamp;
the second acquisition module is used for acquiring current and voltage corresponding to each DMX data in the initial dimming curve;
the delay processing module is used for carrying out delay processing on the current and the voltage to obtain the current and the voltage after the delay processing;
the control module is used for controlling the target lamp to emit light according to the current and the voltage after the delay processing;
the delay processing module is specifically configured to perform delay processing on the current and the voltage by using a delay circuit to obtain a current and a voltage after the delay processing; the delay circuit comprises at least two capacitors, the capacitance values of the capacitors are different, the capacitors are connected in parallel, and only one capacitor is connected in normal operation of the delay circuit.
8. The apparatus of claim 7, further comprising:
the determining module is used for determining second brightness output of the target lamp according to the light emitting condition of the target lamp;
and the generating module is used for generating a target dimming curve according to the second brightness output and the DMX data and storing the target dimming curve.
9. A luminaire comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202110469699.6A 2021-04-28 2021-04-28 Dimming curve expansion method and device, computer equipment and storage medium Active CN113225867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110469699.6A CN113225867B (en) 2021-04-28 2021-04-28 Dimming curve expansion method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110469699.6A CN113225867B (en) 2021-04-28 2021-04-28 Dimming curve expansion method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113225867A CN113225867A (en) 2021-08-06
CN113225867B true CN113225867B (en) 2023-04-14

Family

ID=77089834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110469699.6A Active CN113225867B (en) 2021-04-28 2021-04-28 Dimming curve expansion method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113225867B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473921A (en) * 2023-12-26 2024-01-30 杭州行芯科技有限公司 Current curve acquisition method, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103687186A (en) * 2012-09-07 2014-03-26 英飞凌科技奥地利有限公司 Circuit and method for driving LEDs
CN110831297A (en) * 2019-11-28 2020-02-21 江苏新广联光电股份有限公司 Highly integrated on-board driving wall washer lamp

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7705685B2 (en) * 2007-12-06 2010-04-27 Hong Kong Applied Science And Technology Research Institute Co., Ltd. Low-voltage oscillator with capacitor-ratio selectable duty cycle
CN203645886U (en) * 2013-12-19 2014-06-11 湖北歌润新能源有限责任公司 Solar LED driving power supply adjustable in current
KR102257718B1 (en) * 2014-10-01 2021-05-28 매그나칩 반도체 유한회사 Circuit driving light emitting diode and light apparatus comprising the same
JP2020038779A (en) * 2018-09-04 2020-03-12 Zigenライティングソリューション株式会社 Auxiliary lighting control circuit and light-emitting device
CN111163558B (en) * 2018-11-08 2022-02-25 松下知识产权经营株式会社 Dimming curve correction method and unit, LED lighting device and storage medium
CN111028795A (en) * 2019-12-03 2020-04-17 Tcl华星光电技术有限公司 Brightness adjusting method, dimming device and display panel

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103687186A (en) * 2012-09-07 2014-03-26 英飞凌科技奥地利有限公司 Circuit and method for driving LEDs
CN110831297A (en) * 2019-11-28 2020-02-21 江苏新广联光电股份有限公司 Highly integrated on-board driving wall washer lamp

Also Published As

Publication number Publication date
CN113225867A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
US8742695B2 (en) Lighting control system and method
CN109076663B (en) Method for controlling lighting device, lighting control circuit and lighting system
US8456109B1 (en) Lighting system having a dimming color simulating an incandescent light
US9078325B2 (en) Method and apparatus to control light intensity as voltage fluctuates
JP6087828B2 (en) LED string driving method and driving device
US10492256B2 (en) Method and device for calibrating LED lighting
US7235933B1 (en) Reversible dimmer device of gas discharge lamps and the control method for light adjusting thereof
US9832829B2 (en) LED driver circuit
US20060061300A1 (en) Illumination system having at least two light sources, and a method for operating such an illumination system
JP2013545238A5 (en)
CN113225867B (en) Dimming curve expansion method and device, computer equipment and storage medium
US10292227B1 (en) Light intensity control of an LED lighting system
JP2020510299A (en) LED lighting circuit
JP2007080540A (en) Illumination system
EP3550938B1 (en) Light source actuating apparatus
CN113301682B (en) LED brightness gradient control method and system
US20130278156A1 (en) Light-emitting diode lighting apparatus, illuminating apparatus and illuminating method
CN113597043B (en) Initial lighting grade method and system for fixed lamp, storage medium and lamp system
CN103369767A (en) Flash lamp driver, control method thereof and flash lamp
CN112235905A (en) Brightness adjusting circuit, lamp and LED brightness control method
CN108633124B (en) Dimmable LED lamp, operation method thereof and lamp driver for dimmable LED lamp
CN111954341B (en) Double-frequency control device and method and LED stage lamp
CN113053302B (en) LED control method, control device and LED display screen
JP6666415B1 (en) Light source driving device and lighting system
JP7351518B2 (en) LED drive circuit, LED lighting system, and LED drive method

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