CN116095902A - Dimming method, device and equipment of lamp and storage medium - Google Patents
Dimming method, device and equipment of lamp and storage medium Download PDFInfo
- Publication number
- CN116095902A CN116095902A CN202310100106.8A CN202310100106A CN116095902A CN 116095902 A CN116095902 A CN 116095902A CN 202310100106 A CN202310100106 A CN 202310100106A CN 116095902 A CN116095902 A CN 116095902A
- Authority
- CN
- China
- Prior art keywords
- control signal
- output current
- period
- effective value
- frequency
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/32—Pulse-control circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Discharge-Lamp Control Circuits And Pulse- Feed Circuits (AREA)
Abstract
The application provides a dimming method, device, equipment and storage medium of a lamp, and relates to the technical field of illumination. A method of dimming a luminaire, comprising: acquiring parameters of a control signal of a dimming circuit; the parameters of the control signal comprise the period, the frequency, the chopped high-level period and the duty ratio of the control signal; obtaining an output current effective value of the switching power supply according to the period of the control signal, the chopped high-level period and the hardware parameter of the dimming circuit; and in the dimming process of the brightness of the lamp from low to high, adjusting the effective value of the output current according to the frequency and/or the duty ratio of the control signal so as to dim the lamp through the adjusted effective value of the output current. According to the embodiment of the application, the dimming can be realized by adjusting the frequency and the duty ratio of the control signal, so that the stepless smooth change during dimming is ensured, and the dimming interval for generating audible noise of human ears is reduced.
Description
Technical Field
The application relates to the technical field of illumination, in particular to a dimming method, device and equipment of a lamp and a storage medium.
Background
Currently, a chopper type dimming circuit of a switching power supply is a mainstream deep dimming product. The chopper type dimming circuit of the switching power supply is easier to realize deep dimming and has better dimming consistency.
The inventor of the application finds that during the turn-off period of the switching power supply, the change of the control signal does not affect the effective value of the output current of the switching power supply, so that the dimming circuit has the condition of step-type brightness change of the lamp in the dimming process of the lamp.
In the case of deep dimming of the lamp, the frequency of the control signal of the dimming circuit cannot be set too high due to the limitation of the control chip, so that noise audible to human ears is generated by the elements of the dimming circuit.
Disclosure of Invention
According to an aspect of the present application, there is provided a dimming method of a lamp, including: acquiring parameters of a control signal of a dimming circuit; the parameters of the control signal comprise the period, the frequency, the chopped high-level period and the duty ratio of the control signal; obtaining an output current effective value of the switching power supply according to the period of the control signal, the high level period after cutting and the hardware parameter of the dimming circuit; and in the dimming process of the brightness of the lamp from low to high, adjusting the effective value of the output current according to the frequency and/or the duty ratio of the control signal so as to dim the lamp through the adjusted effective value of the output current.
According to some embodiments, obtaining the output current effective value of the switching power supply according to the period of the control signal, the chopped high level period and the hardware parameter of the dimming circuit comprises: acquiring hardware parameters of the dimming circuit, wherein the hardware parameters of the dimming circuit comprise a period of time when the effective value of the output current reaches the maximum value, a preset parameter of a switching power supply and a control parameter of the switching power supply; and calculating the low-brightness stage of the lamp, the brightness increasing stage of the lamp and the output current effective value of the high-brightness stage of the lamp according to the cycle of the control signal, the high-level period after chopping and the hardware parameter of the dimming circuit.
According to some embodiments, calculating the output current effective values of the low-luminance phase of the lamp, the boost phase of the luminance of the lamp, and the high-luminance phase of the lamp according to the period of the control signal and the chopped high-level period and the hardware parameter of the dimming circuit includes: calculating the output current effective value of the low-brightness stage of the lamp and the brightness increasing stage of the lamp according to the period of the control signal, the chopped high-level period and the preset parameter of the switching power supply under the condition that the chopped high-level period is smaller than the period when the output current effective value reaches the maximum value; and under the condition that the chopped high-level period is larger than the period when the effective value of the output current reaches the maximum value, calculating the effective value of the output current in the high-brightness stage of the lamp according to the period of the control signal, the chopped high-level period, the period when the effective value of the output current reaches the maximum value and the control parameter of the switching power supply.
According to some embodiments, adjusting the output current effective value according to a frequency and/or a duty cycle of the control signal to dim the luminaire with the adjusted output current effective value comprises: when the chopped high-level period is smaller than the period when the effective value of the output current reaches the maximum value and the highest frequency of the control signal is smaller than or equal to the highest perception frequency of human ears, the frequency of the control signal and the duty ratio of the control signal are adjusted according to the preset minimum output high-level period of the control signal; and dimming the low-brightness stage of the lamp according to the effective value of the output current obtained after the frequency of the control signal and the duty ratio of the control signal are adjusted.
According to some embodiments, the adjusting the output current effective value according to the frequency and/or the duty cycle of the control signal to dim the lamp through the adjusted output current effective value further comprises: increasing the duty ratio of the control signal such that the chopped high-level period increases and the chopped high-level period is less than a period in which the output current effective value reaches a maximum value, when the chopped high-level period is less than a period in which the output current effective value reaches a maximum value and the highest frequency of the control signal is equal to or less than the highest perceived frequency of the human ear; increasing the frequency of the control signal; and dimming the brightness of the lamp in an increasing stage according to the output current effective value obtained after the frequency of the control signal is increased.
According to some embodiments, the adjusting the output current effective value according to the frequency and/or the duty cycle of the control signal to dim the lamp through the adjusted output current effective value further comprises: when the chopped high-level period is larger than the period when the effective value of the output current reaches the maximum value and the frequency of the control signal is larger than the highest perceived frequency of human ears, the duty ratio of the control signal is adjusted so that the ratio of the turn-off period of the switching power supply to the period of the control signal is smaller than the preset minimum change precision of the duty ratio of the control signal; and dimming the high-brightness stage of the lamp according to the effective value of the output current obtained after the duty ratio of the control signal is adjusted.
According to some embodiments, the parameter of the control signal comprises a frequency of the control signal; adjusting the effective value of the output current according to the frequency and/or the duty ratio of the control signal so as to adjust the light of the lamp through the adjusted effective value of the output current, wherein the method comprises the following steps: and according to the frequency of the control signal and the effective value of the output current, combining a logarithmic curve to adjust the light of the lamp.
According to an aspect of the present application, there is provided a dimming device of a lamp, including: the data acquisition module is used for acquiring parameters of the control signal and parameters of the dimming circuit; the data processing module calculates the effective value of the output current of the switching power supply according to the period of the control signal, the chopped high-level period and the parameter of the dimming circuit in the parameters of the control signal; adjusting the frequency of the control signal and/or the duty cycle of the control signal; and the dimming module is used for dimming the lamp according to the output current effective value obtained by adjusting the frequency of the control signal and/or the duty ratio of the control signal.
According to an aspect of the present application, there is provided an electronic apparatus including: one or more processors; a storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the methods as described above.
According to an aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described above.
According to the embodiment of the application, the technical scheme controls the effective value of the output current of the switching power supply by adjusting the frequency and the duty ratio of the control signal, so that electrodeless smooth change in the dimming process of the lamp is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application.
Fig. 1 is a waveform diagram showing an output current of a switching power supply of a chopper type dimming circuit in the related art.
Fig. 2 shows a waveform diagram of an output current of a switching power supply after chopping of a chopper type dimming circuit in the prior art.
Fig. 3 shows a flowchart of a dimming method of a luminaire according to an example embodiment of the present application.
Fig. 4 shows a dimming flowchart of a luminaire according to an example embodiment of the present application.
Fig. 5 is a block diagram of a dimming device of a luminaire according to an example embodiment of the present application.
Fig. 6 shows a block diagram of an electronic device according to an example embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted.
The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the disclosed aspects may be practiced without one or more of the specific details, or with other methods, components, materials, devices, operations, etc. In these instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The application provides a dimming method, device, equipment and storage medium of a lamp, which can solve the problem of step-type brightness change of a dimming circuit during the turn-off period of a switching power supply and the noise problem of the dimming circuit caused by the fact that the dimming chopping frequency cannot be set too high.
A dimming method, device, apparatus and storage medium of a lamp according to embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a waveform diagram showing an output current of a switching power supply of a chopper type dimming circuit in the related art.
As shown in fig. 1, the upper waveform of fig. 1 is the waveform of the PWM control signal, and the lower waveform of fig. 1 is the waveform of the output current of the switching power supply.
As shown in fig. 1, during the on period of the switching transistor of the switching power supply, the effective value of the output current of the switching power supply is in the period t during the high level period of the PWM control signal up Gradually increase to a maximum value I max I.e. t up For the period in which the effective value of the output current reaches the maximum value. At t up In the period, the output current of the switching power supply can realize stepless change.
The waveform of the chopped output current of the switching power supply is shown in fig. 2, wherein the waveform of the upper side of fig. 2 is the waveform of the chopped PWM control signal, the waveform of the chopped output current of the switching power supply is shown in the lower side of fig. 2, and t is the waveform of the chopped output current of the switching power supply on For a high level period after the PWM control signal is chopped, t off The falling interval of the output current of the switching power supply after the PWM control signal is turned off is T which is the period of the PWM control signal, I pk Is the maximum value of the chopped switching output current.
The output current of the switching power supply reaches the maximum current I of the dimming circuit max And then, the output current of the switching power supply changes in the ripple current preset by the dimming circuit. The output current of the switching power supply reaches I max Switch tube turn-off period t of the switch power supply non The switching power supply output current is in the falling interval, and at t non The output current of the switching power supply does not change along with the change of the PWM control signal in the period.
In the case where the PWM control signal is off, the switching power supply output current is in the falling interval t as in fig. 1 down Or a falling interval t as in FIG. 2 off 。
According to some embodiments, the operating current of a lamp (e.g., an LED lamp) is linear with its luminous intensity. Under the condition that the working current of the lamp changes in a logarithmic curve, the luminous intensity of the lamp also changes in a logarithmic curve, and the luminous intensity is matched with the logarithmic curve of the sensitivity of human eyes to light, so that the linear change of human eyes in sense is realized.
As shown in fig. 1, in the logarithmic curve dimming process of the lamp, the change rate of the effective value of the current is small in the period that the output current of the switching power supply is small, and the working power and the luminous intensity of the lamp are low. If there is t that the output current of the switching power supply does not change along with the change of the PWM control signal non And in the time period, the output current of the switching power supply can be changed in a step mode, and then the luminous intensity of the lamp is also changed in a step mode. Thus, the dimming circuit can prolong the period t when the effective value of the output current of the switching power supply reaches the maximum value up And increase t up The electrodeless dimming of the lamp during the period when the output current of the switching power supply is smaller is realized by the proportion of the period of the PWM control signal.
According to some embodiments, the luminous intensity of the dimming circuit at the lamp is less than or equal to t up * F and t on ≤t up And under the condition that F is less than or equal to 20KHz, the lamp can be subjected to stepless dimming, wherein F is the highest frequency of the PWM control signal.
Fig. 3 shows a flowchart of a dimming method of a luminaire according to an example embodiment of the present application.
As shown in fig. 3, in step S110, the dimming device acquires parameters of a control signal of the dimming circuit.
For example, in step S110, the dimming device obtains relevant parameters of the control signal according to the waveform diagram of the control signal, where the relevant parameters include a period of the control signal, a frequency of the control signal, and a high level period after the control signal is chopped.
In step S120, the dimming device obtains an output current effective value of the switching power supply according to the parameter of the control signal and the hardware parameter of the dimming circuit.
For example, in step S120, the dimming device further obtains relevant parameters of the dimming circuit through hardware configuration of the dimming circuit, including a period in which the effective value of the output current of the switching power supply reaches a maximum value, a preset parameter of the switching power supply, and a control parameter of the switching power supply.
The preset parameters of the switching power supply of the dimming circuit comprise the input voltage of the switching power supply, the output voltage of the switching power supply and the inductance. The control parameters of the switching power supply of the dimming circuit comprise a preset control coefficient, the maximum value of the output current of the switching power supply after cutting, the input voltage of the switching power supply, the output voltage of the switching power supply and the inductance.
Under the condition that the chopped high-level period is smaller than the period when the effective value of the output current reaches the maximum value, the dimming device calculates the effective value I of the output current of the switching power supply according to the parameter of the control signal and the preset parameter of the switching power supply in the dimming circuit parameter by the formula (1):
wherein t is on For controlling the high level period after signal chopping, V in For switching power supply input voltage, V o The switching power supply outputs voltage, L is inductance and T is the period of the control signal.
According to some embodiments, V in equation (1) in 、V o And L is constant in the determined dimming circuit, so that the effective value I of the output current of the switching power supply is only equal to the chopped high level period t on And the period T of the control signal.
Under the condition that the chopped high-level period is larger than the period when the effective value of the output current reaches the maximum value, the dimming device calculates the effective value I of the output current of the switching power supply according to the parameter of the control signal and the period when the effective value of the output current in the parameters of the dimming circuit reaches the maximum value and the control parameter of the switching power supply through a formula (2):
wherein K is a preset control coefficient and K < "1,I pk Is the maximum value of the output current of the chopped switching power supply, t on For controlling the high level period after the signal is chopped, t up V for the period of time when the effective value of the output current of the switching power supply reaches the maximum value in For switching power supply input voltage, V o The switching power supply outputs voltage, L is inductance and T is the period of the control signal.
According to some embodiments, K, I in equation (2) pk 、t up 、V in 、V o And L is constant in the determined dimming circuit, so that the effective value I of the output current of the switching power supply is only equal to the chopped high level period t on And the period T of the control signal.
In step S130, the dimming device adjusts the effective output current value according to the frequency and/or the duty ratio of the control signal, so as to dim the lamp through the adjusted effective output current value.
For example, in step S130, in the case where the chopped high level period is less than the period in which the effective value of the output current reaches the maximum value and the highest frequency of the control signal is equal to or less than the highest perceived frequency of the human ear (typically 20 KHz), the switching power supply is in the low current output period, and the lamp is in the low brightness stage.
The dimming device adjusts the frequency of the control signal so that the frequency of the control signal does not exceed the frequency corresponding to the minimum output high level period of the preset control signal, and adjusts the duty ratio of the control signal so that the duty ratio is lower than the duty ratio threshold of the low current output period of the preset switching power supply.
The dimming device obtains an adjusted effective value of the output current through a formula (1) according to the frequency of the adjusted control signal and the duty ratio of the control signal so as to dim the lamp, wherein the dimming device comprises deep dimming of the lamp.
According to some embodiments, the dimming device may adjust the frequency of the control signal and the duty cycle of the control signal at the same time, or may alternatively adjust the frequency of the control signal and the duty cycle of the control signal.
Further, under the condition that the chopped high-level period is gradually increased and smaller than the period when the effective value of the output current reaches the maximum value and the highest frequency of the control signal is smaller than or equal to the highest perceived frequency of human ears, the dimming device increases the duty ratio of the control signal, so that the chopped high-level period is smaller than the period when the effective value of the output current reaches the maximum value and a certain margin exists between the chopped high-level period and the period when the effective value of the output current reaches the maximum value, and the lamp is in the brightness increasing stage.
After the duty ratio of the control signal is adjusted, the dimming device increases the frequency of the control signal, and the frequency of the control signal is not more than the highest perceived frequency of the human ear. The dimmer obtains the effective value of the output current of the switching power supply, which increases with the increase in the frequency of the control signal, by the above formula (1).
And (3) according to the frequency of the control signal and the effective value of the output current of the switching power supply obtained by the formula (1), the dimming device performs stepless dimming on the lamp by combining a logarithmic curve.
Under the condition that the high-level period after chopping is larger than the period when the effective value of the output current reaches the maximum value and the frequency of the control signal is larger than the highest perception frequency of human ears, the switching power supply is in a large-current output period, and the lamp is in a high-brightness stage.
The dimming device adjusts the duty ratio of the control signal by combining a logarithmic curve so that the ratio t of the turn-off period of the switching power supply to the period of the control signal non the/T is smaller than the minimum variation accuracy of the duty cycle of the preset control signal (namely the ratio of the minimum duty cycle of the control signal to the period of the control signal).
The dimming device obtains the effective value of the output current of the switching power supply according to the adjusted duty ratio of the control signal through the formula (2), and performs smooth dimming of the lamp.
According to the embodiment of the application, the dimming device obtains the effective value of the output current of the switching power supply by improving the frequency of the control signal and increasing the duty ratio of the control signal, and performs dimming, so that stepless smooth change during dimming is ensured, and the dimming interval of noise generated by the switching power supply is reduced.
Fig. 4 shows a dimming flowchart of a luminaire according to an example embodiment of the present application.
As shown in fig. 4, in step S210, when the lamp is in a low-luminance phase, the dimming device performs dimming of the lamp by adjusting the frequency and the duty ratio of the control signal.
For example, in step S210, in the case where the high level period after chopping is equal to or less than the period in which the effective value of the output current reaches the maximum value and the highest frequency of the control signal is equal to or less than the highest perceived frequency of the human ear (typically 20 KHz), the switching power supply is in the small current output period. Because the working current of the fixed lamp is in linear relation with the luminous intensity thereof, the lamp is in a low-power working state with smaller working current under the condition that the switching power supply is in a low-current output stage, and the luminous intensity is low-end luminous intensity.
According to some embodiments, the control signal has a minimum high level time, and the dimming device cannot adjust the frequency of the control signal too high when the switching power supply is in a low current output stage to perform deep dimming of the lamp.
Therefore, when the switching power supply is in the low-current output stage, the dimming device adjusts the frequency of the control signal to a frequency which does not exceed the frequency corresponding to the preset minimum output high-level period of the control signal, and adjusts the duty ratio of the control signal to be lower than the duty ratio threshold of the preset low-current output period of the switching power supply so as to dim the lamp.
In step S220, when the lamp is in the brightness increasing stage, the dimming device adjusts the frequency of the control signal to dim the lamp.
For example, as the output current effective value of the switching power supply increases continuously, the dimming device increases the duty ratio of the control signal to a period in which the chopped high level period is smaller than a period in which the output current effective value reaches a maximum value and a margin exists between the chopped high level period and the period in which the output current effective value reaches the maximum value, and increases the frequency of the control signal to increase the output current effective value of the switching power supply in step S220.
The dimming device obtains an output current effective value of the switching power supply which increases with the frequency of the control signal through the formula (1), and performs dimming of the lamp through the frequency of the control signal and the output current effective value.
In step S230, when the lamp is at high brightness, the dimming device adjusts the duty ratio of the control signal to dim the lamp.
For example, in step S230, in the case where the dimming means increases the duty ratio of the control signal such that the chopped high level period is greater than the period in which the effective value of the output current reaches the maximum value, and the dimming means increases the frequency of the control signal such that the frequency of the control signal is higher than the maximum perceived frequency of the human ear, the output current of the switching power supply is large, and the square of the rate of change of the output current is proportional to the rate of change of the chopped high level period.
In order to ensure that the output current of the switching power supply meets the change relation of a logarithmic curve, the dimming device adjusts the duty ratio of the control signal to control the effective value of the output current of the switching power supply. In the process of adjusting the duty ratio of the control signal, the dimming device controls the ratio t of the turn-off period of the switching power supply to the period of the control signal non and/T is smaller than the minimum change precision of the duty ratio of the preset control signal, so that the dimming device obtains the effective value of the output current of the switching power supply according to the adjusted duty ratio of the control signal through a formula (2), and dimming the lamp.
According to the embodiment of the application, the dimming device is used for dimming lamps in different states by adjusting the frequency and the duty ratio of the control signal, so that the precision and the dimming depth of a dimming circuit are ensured, and electrodeless dimming matched with logarithmic curve change of the sensitivity of human eyes to light is realized.
Fig. 5 is a block diagram of a dimming device of a luminaire according to an example embodiment of the present application.
As shown in fig. 5, the dimming device 300 includes a data acquisition module 310, a data processing module 320, and a dimming module 330.
The data acquisition module 310 is configured to acquire parameters of the control signal, including a period and a frequency of the control signal and a high level period after the control signal is chopped.
The data acquisition module 310 is further configured to acquire parameters of the dimming circuit, including a period when the effective value of the output current reaches a maximum value, an input voltage of the switching power supply, an output voltage of the switching power supply, an inductance, a preset control coefficient, and a maximum value of the output current of the switching power supply after chopping.
The data processing module 320 calculates the effective value of the output current of the switching power supply according to the parameter of the control signal and the parameter of the dimming circuit obtained by the data acquisition module 310 through the formula (1) and the formula (2), respectively.
In the case that the chopped high level period is less than the period in which the effective value of the output current reaches the maximum value and the highest frequency of the control signal is less than or equal to the highest perceived frequency of the human ear, the data processing module 320 adjusts the frequency of the control signal and the duty cycle of the control signal according to the preset minimum output high level period of the control signal.
In the case where the chopped high-level period is less than the period in which the effective value of the output current reaches the maximum value and the highest frequency of the control signal is equal to or less than the highest perceived frequency of the human ear, the data processing module 320 increases the duty cycle of the control signal such that the chopped high-level period is increased and the chopped high-level period is less than the period in which the effective value of the output current reaches the maximum value and increases the frequency of the control signal.
In the case that the chopped high level period is greater than the period in which the effective value of the output current reaches the maximum value and the frequency of the control signal is greater than the maximum perceived frequency of the human ear, the data processing module 320 adjusts the duty cycle of the control signal so that the ratio of the off period of the switching power supply to the period of the control signal is less than the minimum variation accuracy of the duty cycle of the preset control signal.
When the chopped high level period is smaller than the period when the effective value of the output current reaches the maximum value and the highest frequency of the control signal is smaller than or equal to the highest perceived frequency of human ears, the dimming module 330 performs dimming of the lamp according to the effective value of the output current obtained after adjusting the frequency of the control signal and the duty ratio of the control signal.
When the chopped high level period is smaller than the period when the effective value of the output current reaches the maximum value and the highest frequency of the control signal is smaller than or equal to the highest perceived frequency of human ears, the dimming module 330 performs dimming of the lamp according to the effective value of the output current obtained after increasing the frequency of the control signal.
When the chopped high level period is greater than the period when the effective value of the output current reaches the maximum value and the frequency of the control signal is greater than the maximum perceived frequency of human ears, the dimming module 330 performs dimming of the lamp according to the effective value of the output current obtained after the duty ratio of the control signal is adjusted.
Fig. 6 shows a block diagram of an electronic device according to an example embodiment of the present application.
As shown in fig. 6, the electronic device 600 is only an example, and should not impose any limitation on the functionality and scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic device 600 is in the form of a general purpose computing device. Components of electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different system components (including the memory unit 620 and the processing unit 610), a display unit 640, etc. In which a storage unit stores program code that can be executed by the processing unit 610, such that the processing unit 610 performs the methods described herein according to various exemplary embodiments of the present application. For example, the processing unit 610 may perform the method as shown in fig. 3.
The storage unit 620 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 6201 and/or cache memory unit 6202, and may further include Read Only Memory (ROM) 6203.
The storage unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any device (e.g., router, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 650. Also, electronic device 600 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 over the bus 630. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 600, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the description of the embodiments above, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. The technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disc, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The computer-readable medium carries one or more programs which, when executed by one of the devices, cause the computer-readable medium to perform the aforementioned functions.
Those skilled in the art will appreciate that the modules may be distributed throughout several devices as described in the embodiments, and that corresponding variations may be implemented in one or more devices that are unique to the embodiments. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
According to some embodiments of the present application, the technical solution of the present application reduces the time of switching power supply turn-off by adjusting the frequency and the duty ratio of the control signal, reduces the influence of the control of the external control signal on the dimming circuit during the turn-off period of the switching power supply, and realizes the stepless dimming of the lamp.
The foregoing embodiments have been described in some detail to provide an understanding of the methods and concepts underlying the present application. Meanwhile, based on the ideas of the present application, those skilled in the art can make changes or modifications on the specific embodiments and application scope of the present application, which belong to the scope of the protection of the present application. In view of the foregoing, this description should not be construed as limiting the application.
Claims (10)
1. A method of dimming a luminaire, comprising:
acquiring parameters of a control signal of a dimming circuit; the parameters of the control signal comprise the period, the frequency, the chopped high-level period and the duty ratio of the control signal;
obtaining an output current effective value of the switching power supply according to the period of the control signal, the high level period after cutting and the hardware parameter of the dimming circuit;
and in the dimming process of the brightness of the lamp from low to high, adjusting the effective value of the output current according to the frequency and/or the duty ratio of the control signal so as to dim the lamp through the adjusted effective value of the output current.
2. The method of claim 1, wherein obtaining an output current effective value of a switching power supply based on the period of the control signal and the chopped high period and a hardware parameter of a dimming circuit, comprises:
acquiring hardware parameters of the dimming circuit, wherein the hardware parameters of the dimming circuit comprise a period of time when the effective value of the output current reaches the maximum value, a preset parameter of a switching power supply and a control parameter of the switching power supply;
and calculating the low-brightness stage of the lamp, the brightness increasing stage of the lamp and the output current effective value of the high-brightness stage of the lamp according to the cycle of the control signal, the high-level period after chopping and the hardware parameter of the dimming circuit.
3. The method of claim 2, wherein calculating the output current effective values for the low-brightness phase of the lamp, the boost phase of the brightness of the lamp, and the high-brightness phase of the lamp based on the period of the control signal and the chopped high-level period, and the hardware parameter of the dimming circuit, comprises:
calculating the output current effective value of the low-brightness stage of the lamp and the brightness increasing stage of the lamp according to the period of the control signal, the chopped high-level period and the preset parameter of the switching power supply under the condition that the chopped high-level period is smaller than the period when the output current effective value reaches the maximum value;
and under the condition that the chopped high-level period is larger than the period when the effective value of the output current reaches the maximum value, calculating the effective value of the output current in the high-brightness stage of the lamp according to the period of the control signal, the chopped high-level period, the period when the effective value of the output current reaches the maximum value and the control parameter of the switching power supply.
4. A method according to claim 3, wherein adjusting the output current effective value according to the frequency and/or duty cycle of the control signal to dim the luminaire with the adjusted output current effective value comprises:
when the chopped high-level period is smaller than the period when the effective value of the output current reaches the maximum value and the highest frequency of the control signal is smaller than or equal to the highest perception frequency of human ears, the frequency of the control signal and the duty ratio of the control signal are adjusted according to the preset minimum output high-level period of the control signal;
and dimming the low-brightness stage of the lamp according to the effective value of the output current obtained after the frequency of the control signal and the duty ratio of the control signal are adjusted.
5. A method according to claim 3, wherein adjusting the output current effective value according to the frequency and/or duty cycle of the control signal to dim the luminaire with the adjusted output current effective value further comprises:
increasing the duty ratio of the control signal such that the chopped high-level period increases and the chopped high-level period is less than a period in which the output current effective value reaches a maximum value, when the chopped high-level period is less than a period in which the output current effective value reaches a maximum value and the highest frequency of the control signal is equal to or less than the highest perceived frequency of the human ear;
increasing the frequency of the control signal;
and dimming the brightness of the lamp in an increasing stage according to the output current effective value obtained after the frequency of the control signal is increased.
6. A method according to claim 3, wherein adjusting the output current effective value according to the frequency and/or duty cycle of the control signal to dim the luminaire with the adjusted output current effective value further comprises:
when the chopped high-level period is larger than the period when the effective value of the output current reaches the maximum value and the frequency of the control signal is larger than the highest perceived frequency of human ears, the duty ratio of the control signal is adjusted so that the ratio of the turn-off period of the switching power supply to the period of the control signal is smaller than the preset minimum change precision of the duty ratio of the control signal;
and dimming the high-brightness stage of the lamp according to the effective value of the output current obtained after the duty ratio of the control signal is adjusted.
7. The method of claim 1, wherein the parameter of the control signal comprises a frequency of the control signal;
adjusting the effective value of the output current according to the frequency and/or the duty ratio of the control signal so as to adjust the light of the lamp through the adjusted effective value of the output current, wherein the method comprises the following steps:
and according to the frequency of the control signal and the effective value of the output current, combining a logarithmic curve to adjust the light of the lamp.
8. A dimming device for a lamp, comprising:
the data acquisition module is used for acquiring parameters of the control signal and parameters of the dimming circuit;
the data processing module calculates the effective value of the output current of the switching power supply according to the period of the control signal, the chopped high-level period and the parameter of the dimming circuit in the parameters of the control signal; adjusting the frequency of the control signal and/or the duty cycle of the control signal;
and the dimming module is used for dimming the lamp according to the output current effective value obtained by adjusting the frequency of the control signal and/or the duty ratio of the control signal.
9. An electronic device, comprising:
one or more processors;
a storage means for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310100106.8A CN116095902A (en) | 2023-02-02 | 2023-02-02 | Dimming method, device and equipment of lamp and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310100106.8A CN116095902A (en) | 2023-02-02 | 2023-02-02 | Dimming method, device and equipment of lamp and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116095902A true CN116095902A (en) | 2023-05-09 |
Family
ID=86210092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310100106.8A Pending CN116095902A (en) | 2023-02-02 | 2023-02-02 | Dimming method, device and equipment of lamp and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116095902A (en) |
-
2023
- 2023-02-02 CN CN202310100106.8A patent/CN116095902A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10045419B2 (en) | Color-temperature adjustable LED lightning device and method for adjusting color temperature of LED lighting device | |
US8907582B2 (en) | Kickstart for dimmers driving slow starting or no starting lamps | |
CN107342058B (en) | Method, test board, system and equipment for adjusting brightness of liquid crystal display module | |
US20070139316A1 (en) | Led module with integrated controller | |
US20180293946A1 (en) | Shadow mask assemblies and reusing methods of shadow mask assemblies thereof | |
US20070194718A1 (en) | Light control fluorescent lamp and circuit thereof | |
CN109757012B (en) | LED lamp self-adaptive constant power adjustment control method | |
CN107787089B (en) | LED lamp regulation and control system | |
CN105336309A (en) | Screen brightness adjusting method and electronic equipment | |
CN106919211A (en) | Electronic installation | |
US10856392B2 (en) | Light source driving device | |
CN114521036A (en) | Light control method, device, equipment end and computer readable storage medium | |
WO2016015672A1 (en) | Control circuit for starting led lamp and led lighting system | |
US10433385B2 (en) | Dimming system for LED lamps | |
JP2017521844A (en) | Circuit for driving the load | |
CN112669764B (en) | Display brightness uniformity adjusting method | |
CN107872912B (en) | Control circuit/method, dimming control system and electronic equipment | |
CN116095902A (en) | Dimming method, device and equipment of lamp and storage medium | |
US20170041992A1 (en) | Light source driving device and dimming/toning control method | |
US20200037423A1 (en) | Dimming control for lighting systems and methods thereof | |
CN114501699B (en) | Dimming circuit, dimmer and LED lighting equipment | |
CN105578670A (en) | Energy saving device for LED | |
JP6837231B2 (en) | Dimming control device, lighting equipment and lighting system | |
CN112738951B (en) | LED control method and circuit | |
CN105578668A (en) | Use method of energy saving router |
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 |