CN117860181A - Light source control method and related components - Google Patents

Light source control method and related components Download PDF

Info

Publication number
CN117860181A
CN117860181A CN202410180207.5A CN202410180207A CN117860181A CN 117860181 A CN117860181 A CN 117860181A CN 202410180207 A CN202410180207 A CN 202410180207A CN 117860181 A CN117860181 A CN 117860181A
Authority
CN
China
Prior art keywords
led lamp
gear
absolute spectrum
spectrum value
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410180207.5A
Other languages
Chinese (zh)
Inventor
付豪
师永涛
赵谧
陈魁
袁谋堃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Jinshan Science and Technology Group Co Ltd
Original Assignee
Chongqing Jinshan Science and Technology Group 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 Chongqing Jinshan Science and Technology Group Co Ltd filed Critical Chongqing Jinshan Science and Technology Group Co Ltd
Priority to CN202410180207.5A priority Critical patent/CN117860181A/en
Publication of CN117860181A publication Critical patent/CN117860181A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a control method of a light source and related components, relating to the field of illumination, comprising the steps of determining an absolute spectrum value of a light emitting requirement; when the current mode is a meter reading mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating a control signal corresponding to the gear, and outputting the control signal to the LED lamp so that the LED lamp emits light according to the control signal; when the current mode is a self-adjustment mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating an adjustment signal according to the gear corresponding to the absolute spectrum value of the lighting requirement of the current LED lamp, and outputting the adjustment signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjustment signal. The absolute spectrum value is directly adopted to construct a relation table, the relation table is the lighting condition of the current LED lamp, and the LED lamp is controlled based on the relation table, so that the requirements of users can be better met. Meanwhile, the LED lamps are controlled in two modes respectively, and the LED lamps are selected variously.

Description

Light source control method and related components
Technical Field
The present invention relates to the field of illumination, and in particular, to a method for controlling a light source and related components.
Background
An endoscope Light source system often adopts an LED (Light-Emitting Diode) lamp, and the Light source stability of the LED lamp directly influences the output spectrum form and intensity, and is expressed as the stability of image brightness and image color development. If the LED light source is unstable, the use experience and focus judging efficiency of medical staff are affected. In the related art, the current flowing through the LED lamp is collected, and the current is fed back to be regulated and constant current control is realized. However, the current flowing through the LED lamp cannot accurately represent the current brightness of the LED lamp, and the combined colors of the LED lamps with multiple colors cannot be determined, so that the LED light source is poorly controlled.
Disclosure of Invention
The invention aims to provide a control method of a light source and related components, wherein an absolute spectrum value is directly adopted to construct a relation table, the obtained relation table is the current luminous condition of an LED lamp, and the LED lamp is controlled based on the relation table, so that the requirements of users can be better met. Meanwhile, the LED lamps are controlled in two modes respectively, and the LED lamps are selected variously.
In order to solve the above technical problems, the present invention provides a method for controlling a light source, including:
determining an absolute spectral value of a lighting requirement, the lighting requirement comprising color and brightness;
determining that the current mode is a self-adjusting mode or a meter reading mode;
when the current mode is a meter reading mode, determining a gear corresponding to an absolute spectrum value of the lighting requirement according to a pre-generated relation table, generating a control signal corresponding to the gear, and outputting the control signal to an LED lamp so that the LED lamp emits light according to the control signal;
when the current mode is a self-adjustment mode, determining a gear corresponding to the absolute spectrum value of the light-emitting requirement according to a pre-generated relation table, generating an adjustment signal according to the current gear of the LED lamp and the gear corresponding to the absolute spectrum value of the light-emitting requirement, and outputting the adjustment signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjustment signal;
the relation table is used for representing the corresponding relation between the absolute spectrum value and the gear, the color is related to the absolute spectrum value of each LED lamp, and the gear is positively related to the brightness.
On the other hand, the process of the pre-generated relationship table includes:
setting the range of absolute spectrum values of any LED lamp;
generating a control signal corresponding to the current gear to a driving circuit so as to control the LED lamp to emit light;
an absolute spectrum value of the LED lamp obtained according to a color sensor arranged on an optical path of the LED lamp;
judging whether the absolute spectrum value is in the range;
and if not, replacing the current gear, and returning the control signal for generating the current gear to the driving circuit so as to control the LED lamp to emit light.
On the other hand, after determining whether the absolute spectrum value is within the range, further comprising:
if yes, storing the corresponding relation between the current gear and the absolute spectrum value into the relation table;
and replacing the current gear, and returning the control signal for generating the current gear to a driving circuit so as to control the LED lamp to emit light.
On the other hand, the process of the pre-generated relationship table further includes:
setting fixed proportions among absolute spectrum values among the LED lamps of each color;
respectively generating control signals corresponding to the current gear of the LED lamps of each color to a driving circuit so as to control the LED lamps of each color to emit light in a combined way;
absolute spectrum values of the LED lamps of the respective colors obtained by color sensors arranged on the optical paths of the LED lamps;
determining whether a ratio between the absolute spectral values corresponds to the fixed ratio;
if not, replacing each current gear of the LED lamp with each color, and returning the control signal for generating the current gear to the driving circuit so as to control the LED lamp to emit light.
On the other hand, after determining whether the ratio between the absolute spectrum values meets the fixed ratio, further comprising:
if yes, storing the corresponding relation between each current gear and each absolute spectrum value into the relation table;
and replacing each current gear, and respectively generating control signals corresponding to the current gears of the LED lamps of each color to a driving circuit so as to control the LED lamps of each color to emit light in a combined way.
On the other hand, storing the corresponding relation between each current gear and each absolute spectrum value in the relation table, including:
and storing the junction temperature condition of the current LED lamp, and the corresponding relation between each current gear and each absolute spectrum value into the relation table.
On the other hand, generating an adjustment signal according to the current gear of the LED lamp and the gear corresponding to the absolute spectrum value of the lighting requirement, and outputting the adjustment signal to the LED lamp, so that the LED lamp emits light based on the adjustment signal according to a preset speed, including:
determining whether a gear corresponding to the absolute spectrum value of the light emitting requirement accords with a fixed proportion between the absolute spectrum values of the LED lamps;
if the LED lamp is not matched with the LED lamp, determining the adjusting signal by adopting a PID algorithm according to the current gear of the LED lamp and the gear corresponding to the absolute spectrum value of the light emitting requirement;
outputting the adjusting signal to the LED lamp so as to control the gear of the LED lamp to be adjusted to the gear corresponding to the absolute spectrum value of the light emitting requirement at a first speed;
if yes, determining the adjusting signal by adopting a PID algorithm according to the current gear of the LED lamp and the gear corresponding to the absolute spectrum value of the light emitting requirement;
and outputting the adjusting signal to the LED lamp so as to control the gear of the LED lamp to be adjusted to the gear corresponding to the absolute spectrum value of the light emitting requirement at a second speed, wherein the first speed is higher than the second speed.
In order to solve the technical problem, the present invention further provides a control system of a light source, including:
a demand determining unit configured to determine an absolute spectrum value of a light emission demand, the light emission demand including a color and a brightness;
the mode determining unit is used for determining that the current mode is a self-adjusting mode or a meter reading mode;
the meter reading control unit is used for determining a gear corresponding to the absolute spectrum value of the light emitting requirement according to a pre-generated relation table when the current mode is a meter reading mode, generating a control signal corresponding to the gear and outputting the control signal to the LED lamp so that the LED lamp emits light according to the control signal;
the self-adjusting control unit is used for determining a gear corresponding to the absolute spectrum value of the light-emitting requirement according to a pre-generated relation table when the current mode is the self-adjusting mode, generating an adjusting signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the light-emitting requirement, and outputting the adjusting signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjusting signal;
the relation table is used for representing the corresponding relation between the absolute spectrum value and the gear, the color is related to the absolute spectrum value of each LED lamp, and the gear is positively related to the brightness.
In order to solve the technical problem, the present invention further provides a control device for a light source, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the control method of the light source when executing the computer program.
In order to solve the above technical problem, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the above-mentioned method for controlling a light source.
The application provides a control method of a light source and related components, relating to the field of illumination, comprising the steps of determining an absolute spectrum value of a light emitting requirement; when the current mode is a meter reading mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating a control signal corresponding to the gear, and outputting the control signal to the LED lamp so that the LED lamp emits light according to the control signal; when the current mode is a self-adjusting mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating an adjusting signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the lighting requirement, and outputting the adjusting signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjusting signal. The relation table of the absolute spectrum value and the gear is preset, the relation table is directly built by adopting the absolute spectrum value, the obtained relation table is the lighting condition of the current LED lamp, and the LED lamp is controlled based on the relation table, so that the requirements of users can be better met. Meanwhile, the LED lamps are controlled in two modes respectively, and the LED lamps are selected variously.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the prior art and the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for controlling a light source according to the present invention;
FIG. 2 is a schematic diagram of an absolute spectrum value provided by the present invention;
FIG. 3 is a graph showing the relation between the absolute spectrum value and the gear of the red LED lamp;
FIG. 4 is a graph showing the relation between the absolute spectrum value and the gear of a green LED lamp;
FIG. 5 is a graph showing the relation between the absolute spectrum value and the gear of a blue LED lamp;
FIG. 6 is a graph showing the relation between the absolute spectrum value and the gear of the purple LED lamp;
FIG. 7 is a flow chart of a process for building a relationship table according to the present invention;
FIG. 8 is a flowchart of another relationship table construction process provided by the present invention;
FIG. 9 is a flowchart of another relationship table construction process provided by the present invention;
FIG. 10 is a flowchart of another method for controlling a light source according to the present invention;
FIG. 11 is a schematic diagram of a control system for a light source according to the present invention;
fig. 12 is a schematic structural diagram of a light source control device according to the present invention.
Detailed Description
The core of the invention is to provide a control method of a light source and related components, wherein an absolute spectrum value is directly adopted to construct a relation table, the obtained relation table is the current luminous condition of the LED lamp, and the LED lamp is controlled based on the relation table, so that the requirements of users can be better met. Meanwhile, the LED lamps are controlled in two modes respectively, and the LED lamps are selected variously.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
An endoscope Light source system often adopts an LED (Light-Emitting Diode) lamp, and the Light source stability of the LED lamp directly influences the output spectrum form and intensity, and is expressed as the stability of image brightness and image color development. If the LED light source is unstable, the use experience and focus judging efficiency of medical staff are affected. In the related art, the current flowing through the LED lamp is collected, and the current is fed back to be regulated and constant current control is realized. However, the current flowing through the LED lamp cannot accurately represent the current brightness of the LED lamp, and the combined colors of the LED lamps with multiple colors cannot be determined, so that the LED light source is poorly controlled.
Fig. 1 is a flowchart of a method for controlling a light source according to the present invention, where the method for controlling a light source includes:
s11: determining an absolute spectrum value of a lighting requirement, wherein the lighting requirement comprises color and brightness;
it is necessary to know what color and what brightness the total light source the endoscope light source system needs to output in controlling the LED lamp. When the color of the light source is adjusted, the light emitting proportion of the LED lamps of each color needs to be adjusted, and when the brightness of the light source is adjusted, the brightness of the LED lamps of each color needs to be adjusted.
The lighting requirements are predetermined before controlling the LED lamp, and may be issued by a user or automatically generated by the control system, which is not too limited herein, and the controller performs subsequent steps after receiving the lighting requirements.
S12: determining that the current mode is a self-adjusting mode or a meter reading mode;
to improve the user experience, the present application provides two modes of adjusting LED lamps. For the self-adjusting mode, an adjusting signal is generated according to the current gear and the gear corresponding to the absolute spectrum value of the light emitting requirement, and the LED lamp is controlled to be adjusted from the current state to the state corresponding to the absolute spectrum value of the light emitting requirement. Specifically, the generation mode of the adjustment signal may be a PID algorithm. And for the meter reading mode, directly determining a gear corresponding to the absolute spectrum value of the current light-emitting requirement, and generating a control signal corresponding to the gear to control the LED lamp.
In short, the adjustment signal characterizes a gap between the current gear and the gear corresponding to the absolute spectral value of the lighting demand, and the control signal characterizes the gear corresponding to the absolute spectral value of the lighting demand.
S13: when the current mode is a meter reading mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating a control signal corresponding to the gear, and outputting the control signal to the LED lamp so that the LED lamp emits light according to the control signal;
in consideration of the possible inaccuracy of controlling the LED lamp according to the current, the present application previously constructs a relation table based on the absolute spectral value, i.e., the relation table is constructed not by the current control but by the absolute spectral value when controlling the LED lamp. The absolute spectrum value is the peak value of the spectrum.
After the light emission requirement is determined, it is necessary to determine how the absolute spectrum values of the LED lamps are required to be combined to achieve the color of the light emission requirement, and then determine that the absolute spectrum value reaches the brightness of the light emission requirement.
Fig. 2 is a schematic diagram of an absolute spectrum value provided by the present invention, fig. 3 is a graph of an absolute spectrum value of a red LED lamp versus a gear provided by the present invention, fig. 4 is a graph of an absolute spectrum value of a green LED lamp versus a gear provided by the present invention, fig. 5 is a graph of an absolute spectrum value of a blue LED lamp versus a gear provided by the present invention, and fig. 6 is a graph of an absolute spectrum value of a purple LED lamp versus a gear provided by the present invention.
The abscissa of fig. 3 to 6 is the gear, the ordinate is the absolute spectrum value, R is red, G is green, B is blue, and UV is violet. It can be appreciated that the shift of each LED lamp is positively correlated with the absolute spectral value. The LED lamp with four colors is red, green, blue and purple respectively, and the problem of inaccurate current drop control can be avoided based on absolute spectrum values when a relation table is constructed.
When the current mode is a meter reading mode, the LED lamp is directly controlled by a gear corresponding to an absolute spectrum value of a lighting requirement, and the LED lamp can reach a target state more quickly.
S14: when the current mode is a self-adjustment mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating an adjustment signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the lighting requirement, and outputting the adjustment signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjustment signal;
the relation table is used for representing the corresponding relation between the absolute spectrum value and the gear, the color is related to the absolute spectrum value of each LED lamp, and the gear and the brightness are positively related.
In the self-adjusting mode, the gear corresponding to the absolute spectrum value of the light emitting requirement is determined according to the relation table, and the self-adjusting mode is different from the meter reading mode in that the current gear is changed from the current gear to the gear corresponding to the absolute spectrum value of the light emitting requirement at a preset speed, so that the change speed of the self-adjusting mode is slower compared with that of the meter reading mode.
Specifically, the self-tuning mode may employ a PID algorithm to generate the tuning signal.
The application provides a control method of a light source, which relates to the field of illumination and comprises the steps of determining a light emitting requirement; when the current mode is a meter reading mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating a control signal corresponding to the gear, and outputting the control signal to the LED lamp so that the LED lamp emits light according to the control signal; when the current mode is a self-adjusting mode, determining a gear corresponding to an absolute spectrum value of a lighting requirement according to a pre-generated relation table, generating an adjusting signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the lighting requirement, and outputting the adjusting signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjusting signal. The relation table of the luminous requirement and the gear is preset, the relation table is directly constructed by adopting the absolute spectrum value, the obtained relation table is the luminous condition of the current LED lamp, and the LED lamp is controlled based on the relation table, so that the requirement of a user can be better met. Meanwhile, the LED lamps are controlled in two modes respectively, and the LED lamps are selected variously.
Based on the above embodiments:
FIG. 7 is a flow chart of a process for building a relationship table according to the present invention;
in some embodiments, the process of pre-generating the relationship table includes:
setting the range of the absolute spectrum value of the LED lamp for any LED lamp;
generating a control signal corresponding to the current gear to a driving circuit so as to control the LED lamp to emit light;
the absolute spectrum value of the LED lamp is obtained according to a color sensor arranged on the optical path of the LED lamp;
judging whether the absolute spectrum value is in the range or not;
if not, replacing the current gear, and returning a control signal for generating the current gear to the driving circuit so as to control the LED lamp to emit light.
In some embodiments, after determining whether the absolute spectral value is within the range, further comprising:
if yes, storing the corresponding relation between the current gear and the absolute spectrum value into a relation table;
and replacing the current gear, and returning a control signal for generating the current gear to the driving circuit so as to control the LED lamp to emit light.
When the LED lamps are controlled to emit light, the LED lamps with single color can be adopted to emit light independently, and a plurality of LED lamps can be adopted to emit light in a combined mode. The relation between the gear position of the single LED lamp and the absolute spectrum value can be determined when the relation table is generated.
And a color sensor is arranged in the optical path, namely the light propagation path, and can acquire the absolute spectrum value of the LED lamp with the current color. The range of the absolute spectrum value of the single LED lamp tested at present can be preset, and the maximum value and the minimum value are set, so that the absolute spectrum value of the LED lamp needs to be in the range. A plurality of gears are preset, the first gear is used as the current gear, a control signal of the current gear is generated to a driving circuit, and the driving circuit generates a PWM signal and outputs the PWM signal to the LED lamp.
The absolute spectrum value of the LED lamp is acquired through the color sensor, if the absolute spectrum value acquired by the color sensor is within a preset range, the corresponding relation between the absolute spectrum value and the gear is stored in the relation table, and after the absolute spectrum value corresponding to the absolute spectrum value of the light emitting requirement is determined subsequently, the LED lamp is controlled according to the corresponding gear in the relation table. Then, the gear is shifted to the next gear, and then the subsequent corresponding relation determination is carried out to enrich the relation table.
The absolute spectrum value of the LED lamp is acquired through the color sensor, if the absolute spectrum value acquired by the color sensor is not in a preset range, the corresponding relation is not in the preset range, the storage is not carried out, the gear is shifted to the next gear, then the subsequent corresponding relation determination is carried out, and the relation table is enriched.
It can be understood that after the relationship table of each LED lamp is obtained, when the lighting requirement is received as a single color, for example, when only red lamps are required to emit light currently, the LED lamps can be directly controlled according to the relationship table of the single lamps.
FIG. 8 is a flowchart of another relationship table construction process provided by the present invention;
in some embodiments, the process of pre-generating the relationship table further comprises:
setting fixed proportion between absolute spectrum values among the LED lamps of each color;
respectively generating control signals corresponding to the current gear of the LED lamps of each color to a driving circuit so as to control the LED lamps of each color to emit light in a combined way;
according to the absolute spectrum values of the LED lamps of the colors obtained by the color sensors arranged on the optical paths of the LED lamps;
determining whether the ratio between the absolute spectral values corresponds to a fixed ratio;
if not, replacing each current gear of the LED lamp with each color, and returning a control signal for generating the current gear to the driving circuit so as to control the LED lamp to emit light.
In some embodiments, after determining whether the ratio between the respective absolute spectral values meets a fixed ratio, further comprising:
if yes, storing the corresponding relation between each current gear and each absolute spectrum value into a relation table;
and replacing each current gear, and respectively generating control signals corresponding to the current gears of the LED lamps of each color to the driving circuit so as to control the LED lamps of each color to emit light in a combined way.
When the LED lamps are controlled to emit light, the LED lamps with single color can be adopted to emit light independently, and a plurality of LED lamps can be adopted to emit light in a combined mode. The relation between the gear positions and the absolute spectrum values of the LED lamps can be further determined when the relation table is generated.
And a color sensor is arranged in the optical path, namely the light propagation path, and can acquire the absolute spectrum value of the LED lamp with the current color. The range of absolute spectral values of the plurality of LED lamps currently tested may be set in advance, the ratio between the plurality of LED lamps, for example, R: g: b: the ratio of the absolute spectral values of the led lamps needs to be satisfied for uv=1:2:2:4. The method comprises the steps of presetting a plurality of gear positions, taking a first gear position as a current gear position, generating a control signal of the current gear position to a driving circuit, and generating a PWM signal by the driving circuit and outputting the PWM signal to an LED lamp.
The absolute spectrum values of all the LED lamps are collected through the color sensor, if the proportion of the absolute spectrum values collected by the color sensor meets the preset proportion, the corresponding relation between the absolute spectrum values and the gears is stored in the relation table, and after the proportion of the absolute spectrum values corresponding to the absolute spectrum values of the luminous demands is determined subsequently, the LED lamps are controlled according to the corresponding gears in the relation table. Then, the gear is shifted to the next gear, and then the subsequent corresponding relation determination is carried out to enrich the relation table.
The absolute spectrum value of the LED lamp is acquired through the color sensor, if the proportion of the absolute spectrum value acquired by the color sensor meets the preset proportion, the corresponding relation is not in the preset range, the storage is not carried out, the gear is shifted to the next gear, the subsequent corresponding relation determination is carried out, and the relation table is enriched.
It should be noted that, the proportion that this application provided uses green light as the benchmark, and other three colours carry out proportion adjustment, can also adjust according to the lamp of other colours according to actual demand, and this application does not do too much here and limit.
FIG. 9 is a flowchart of another relationship table construction process provided by the present invention;
in some embodiments, storing the correspondence of each current gear to each absolute spectral value in a relationship table includes:
and storing the junction temperature condition of the current LED lamp, the corresponding relation between each current gear and each absolute spectrum value into a relation table.
Considering that the LED is a light emitting diode, it is composed of a PN junction. When the voltage reaches the on voltage, the LED emits light. Wherein the magnitude of the current determines the intensity of the light emission. The temperature determines the luminous efficiency. The higher the temperature, the lower the luminous efficiency. The temperature is easier to accumulate when a plurality of LEDs are arranged, the heat dissipation system model is more complex, and the temperature influences the wavelength and the absolute spectrum value of the narrow-band spectrum LEDs. The LED junction temperature is directly influenced by the load current and environmental factors, and the temperature drift is slow through the system thermal stability. The current junction temperature condition can be additionally considered when the corresponding relation is acquired.
And then, in the follow-up control, the gear and the absolute spectrum value in the relation table are determined by combining the current junction temperature condition, so that the method is more accurate.
The table look-up mode can add junction temperature data in the spectrum table. Such as: and under the same gear, calling a corresponding relation table according to the area where the junction temperature is located.
FIG. 10 is a flowchart of another method for controlling a light source according to the present invention;
in some embodiments, generating an adjustment signal according to a gear of a current LED lamp and a gear corresponding to an absolute spectrum value of a lighting demand, and outputting the adjustment signal to the LED lamp, so that the LED lamp emits light based on the adjustment signal according to a preset speed, including:
determining whether a gear corresponding to an absolute spectrum value of the light emitting requirement accords with a fixed proportion between the absolute spectrum values of the LED lamps;
if the LED lamp is not matched with the LED lamp, determining an adjusting signal by adopting a PID algorithm according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the light emitting requirement;
outputting an adjusting signal to the LED lamp to control the gear of the LED lamp to be adjusted to a gear corresponding to an absolute spectrum value of a light emitting requirement at a first speed;
if yes, determining an adjusting signal by adopting a PID algorithm according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the light emitting requirement;
and outputting an adjusting signal to the LED lamp so as to control the gear of the LED lamp to be adjusted to a gear corresponding to the absolute spectrum value of the light emitting requirement at a second speed, wherein the first speed is higher than the second speed.
When the current light brightness requirement, namely the light emitting requirement, is determined, and after the current mode is determined to be a self-adjusting mode, the absolute spectrum value of each current LED lamp is determined, and then the absolute spectrum value of the current gear is determined. If the proportion of the absolute spectrum values of the LED lamps corresponding to the absolute spectrum values of the light emitting demands does not accord with the preset proportion, the system adjustment algorithm 1 is adopted for calculation according to the first speed, and if the proportion of the absolute spectrum values of the LED lamps corresponding to the absolute spectrum values of the light emitting demands does not accord with the preset proportion, the system adjustment algorithm 2 is adopted for calculation according to the second speed. Specifically, the system adjustment algorithm 1 and the system adjustment algorithm 2 are both PID algorithms, and are different in adjustment speed. If the ratio is not met, the adjusting speed is faster, and if the ratio is met, the adjusting speed is slower.
Fig. 11 is a schematic structural diagram of a control system for a light source according to the present invention, where the control system for a light source includes:
a demand determining unit 21 for determining a light emission demand including color and brightness;
a mode determining unit 22 for determining whether the current mode is a self-adjustment mode or a meter reading mode;
the meter reading control unit 23 is configured to determine, when the current mode is a meter reading mode, a gear corresponding to an absolute spectrum value of a light emitting requirement according to a pre-generated relationship table, and generate a control signal corresponding to the gear, and output the control signal to the LED lamp, so that the LED lamp emits light according to the control signal;
the self-adjustment control unit 24 is configured to determine, when the current mode is the self-adjustment mode, a gear corresponding to an absolute spectrum value of a light emission requirement according to a pre-generated relationship table, and generate an adjustment signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the light emission requirement, and output the adjustment signal to the LED lamp, so that the LED lamp emits light according to a preset speed based on the adjustment signal;
the relation table is used for representing the corresponding relation between the absolute spectrum value and the gear, the color is related to the absolute spectrum value of each LED lamp, and the gear is positively related to the brightness.
Based on the above embodiments:
the process of the pre-generated relation table comprises the following steps:
an absolute spectrum value range determining unit for setting a range of an absolute spectrum value of the LED lamp for any one of the LED lamps;
the first control signal generation unit is used for generating a control signal corresponding to the current gear to the driving circuit so as to control the LED lamp to emit light;
the first absolute spectrum value acquisition unit is used for acquiring the absolute spectrum value of the LED lamp according to the color sensor arranged on the optical path of the LED lamp;
a range judging unit for judging whether the absolute spectrum value is within the range; if not, triggering a gear shifting unit; if yes, triggering a storage unit;
and the first gear changing unit is used for changing the current gear and triggering the first control signal generating unit.
The first storage unit is used for storing the corresponding relation between the current gear and the absolute spectrum value into a relation table and triggering the first gear shifting unit;
a fixed ratio setting unit for setting a fixed ratio between absolute spectrum values between the LED lamps of the respective colors;
the second control signal generating unit is used for respectively generating control signals corresponding to the current gear of the LED lamps of each color to the driving circuit so as to control the LED lamps of each color to emit light in a combined way;
a second absolute spectrum value acquisition unit for acquiring the absolute spectrum value of the LED lamp of each color according to the color sensor arranged on the optical path of the LED lamp;
a first proportion judging unit for determining whether the proportion between the absolute spectrum values accords with a fixed proportion; if not, triggering a second gear-changing unit; if yes, triggering a second storage unit;
and the second gear changing unit is used for changing each current gear of the LED lamps with each color and triggering the second control signal generating unit.
The second saving unit is used for saving the corresponding relation between each current gear and each absolute spectrum value to the relation table and triggering the second gear-changing unit;
the first storage unit is specifically configured to store the current junction temperature condition of the LED lamp, and the corresponding relationship between each current gear and each absolute spectrum value in the relationship table.
The second proportion judging unit is used for determining whether the gear corresponding to the absolute spectrum value of the light emitting requirement accords with the fixed proportion between the absolute spectrum values of the LED lamps; if not, triggering a first adjusting signal generating unit; if yes, triggering a second adjusting signal generating unit;
the first adjusting signal generating unit is used for determining an adjusting signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the lighting requirement by adopting a PID algorithm;
the first control unit is used for outputting an adjusting signal to the LED lamp so as to control the gear of the LED lamp to be adjusted to the gear corresponding to the absolute spectrum value of the light emitting requirement at a first speed;
the second adjusting signal generating unit is used for determining an adjusting signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the lighting requirement by adopting a PID algorithm;
the second control unit is used for outputting an adjusting signal to the LED lamp so as to control the gear of the LED lamp to be adjusted to a gear corresponding to the absolute spectrum value of the light emitting requirement at a second speed, and the first speed is higher than the second speed.
The description of the control system for the light source provided in the present application refers to the above embodiments, and is not repeated here.
Fig. 12 is a schematic structural diagram of a light source control device according to the present invention, where the light source control device includes:
a memory 31 for storing a computer program;
a processor 32 for implementing the steps of the above-described control method of the light source when executing the computer program.
The description of the control device for the light source provided in the present application refers to the above embodiments, and is not repeated here.
The invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of the control method of the light source when being executed by a processor.
The description of the computer-readable storage medium provided in the present application refers to the above embodiments, and is not repeated herein.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of controlling a light source, comprising:
determining an absolute spectral value of a lighting requirement, the lighting requirement comprising color and brightness;
determining that the current mode is a self-adjusting mode or a meter reading mode;
when the current mode is a meter reading mode, determining a gear corresponding to an absolute spectrum value of the lighting requirement according to a pre-generated relation table, generating a control signal corresponding to the gear, and outputting the control signal to an LED lamp so that the LED lamp emits light according to the control signal;
when the current mode is a self-adjustment mode, determining a gear corresponding to the absolute spectrum value of the light-emitting requirement according to a pre-generated relation table, generating an adjustment signal according to the current gear of the LED lamp and the gear corresponding to the absolute spectrum value of the light-emitting requirement, and outputting the adjustment signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjustment signal;
the relation table is used for representing the corresponding relation between the absolute spectrum value and the gear, the color is related to the absolute spectrum value of each LED lamp, and the gear is positively related to the brightness.
2. The method of controlling a light source according to claim 1, wherein the process of the pre-generated relationship table includes:
setting the range of absolute spectrum values of any LED lamp;
generating a control signal corresponding to the current gear to a driving circuit so as to control the LED lamp to emit light;
an absolute spectrum value of the LED lamp obtained according to a color sensor arranged on an optical path of the LED lamp;
judging whether the absolute spectrum value is in the range;
and if not, replacing the current gear, and returning the control signal for generating the current gear to the driving circuit so as to control the LED lamp to emit light.
3. The method of controlling a light source according to claim 2, wherein after determining whether the absolute spectrum value is within the range, further comprising:
if yes, storing the corresponding relation between the current gear and the absolute spectrum value into the relation table;
and replacing the current gear, and returning the control signal for generating the current gear to a driving circuit so as to control the LED lamp to emit light.
4. The method of controlling a light source according to claim 2, wherein the process of the pre-generated relationship table further comprises:
setting fixed proportions among absolute spectrum values among the LED lamps of each color;
respectively generating control signals corresponding to the current gear of the LED lamps of each color to a driving circuit so as to control the LED lamps of each color to emit light in a combined way;
absolute spectrum values of the LED lamps of the respective colors obtained by color sensors arranged on the optical paths of the LED lamps;
determining whether a ratio between the absolute spectral values corresponds to the fixed ratio;
if not, replacing each current gear of the LED lamp with each color, and returning the control signal for generating the current gear to the driving circuit so as to control the LED lamp to emit light.
5. The method of controlling a light source according to claim 4, wherein after determining whether the ratio between the absolute spectrum values corresponds to the fixed ratio, further comprising:
if yes, storing the corresponding relation between each current gear and each absolute spectrum value into the relation table;
and replacing each current gear, and respectively generating control signals corresponding to the current gears of the LED lamps of each color to a driving circuit so as to control the LED lamps of each color to emit light in a combined way.
6. The method of controlling a light source according to claim 5, wherein storing the correspondence between each of the current gear positions and each of the absolute spectrum values in the relation table includes:
and storing the junction temperature condition of the current LED lamp, and the corresponding relation between each current gear and each absolute spectrum value into the relation table.
7. The method of any one of claims 1 to 6, wherein generating an adjustment signal according to a current gear of the LED lamp and a gear corresponding to an absolute spectrum value of the light emission demand, and outputting the adjustment signal to the LED lamp so that the LED lamp emits light based on the adjustment signal at a preset speed, comprises:
determining whether a gear corresponding to the absolute spectrum value of the light emitting requirement accords with a fixed proportion between the absolute spectrum values of the LED lamps;
if the LED lamp is not matched with the LED lamp, determining the adjusting signal by adopting a PID algorithm according to the current gear of the LED lamp and the gear corresponding to the absolute spectrum value of the light emitting requirement;
outputting the adjusting signal to the LED lamp so as to control the gear of the LED lamp to be adjusted to the gear corresponding to the absolute spectrum value of the light emitting requirement at a first speed;
if yes, determining the adjusting signal by adopting a PID algorithm according to the current gear of the LED lamp and the gear corresponding to the absolute spectrum value of the light emitting requirement;
and outputting the adjusting signal to the LED lamp so as to control the gear of the LED lamp to be adjusted to the gear corresponding to the absolute spectrum value of the light emitting requirement at a second speed, wherein the first speed is higher than the second speed.
8. A control system for a light source, comprising:
a demand determining unit configured to determine an absolute spectrum value of a light emission demand, the light emission demand including a color and a brightness;
the mode determining unit is used for determining that the current mode is a self-adjusting mode or a meter reading mode;
the meter reading control unit is used for determining a gear corresponding to the absolute spectrum value of the light emitting requirement according to a pre-generated relation table when the current mode is a meter reading mode, generating a control signal corresponding to the gear and outputting the control signal to the LED lamp so that the LED lamp emits light according to the control signal;
the self-adjusting control unit is used for determining a gear corresponding to the absolute spectrum value of the light-emitting requirement according to a pre-generated relation table when the current mode is the self-adjusting mode, generating an adjusting signal according to the gear of the current LED lamp and the gear corresponding to the absolute spectrum value of the light-emitting requirement, and outputting the adjusting signal to the LED lamp so that the LED lamp emits light according to a preset speed based on the adjusting signal;
the relation table is used for representing the corresponding relation between the absolute spectrum value and the gear, the color is related to the absolute spectrum value of each LED lamp, and the gear is positively related to the brightness.
9. A control device for a light source, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of controlling a light source according to any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of controlling a light source according to any of claims 1 to 7.
CN202410180207.5A 2024-02-18 2024-02-18 Light source control method and related components Pending CN117860181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410180207.5A CN117860181A (en) 2024-02-18 2024-02-18 Light source control method and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410180207.5A CN117860181A (en) 2024-02-18 2024-02-18 Light source control method and related components

Publications (1)

Publication Number Publication Date
CN117860181A true CN117860181A (en) 2024-04-12

Family

ID=90583121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410180207.5A Pending CN117860181A (en) 2024-02-18 2024-02-18 Light source control method and related components

Country Status (1)

Country Link
CN (1) CN117860181A (en)

Similar Documents

Publication Publication Date Title
US6441558B1 (en) White LED luminary light control system
CN100385490C (en) White illumination
JP5424888B2 (en) Method and apparatus for determining a driving value for driving a light emitting device
Lee et al. Precise dimming and color control of LED systems based on color mixing
US7619193B2 (en) System and method for controlling a LED luminary
US8593481B2 (en) Method and arrangement for setting a color locus, and luminous system
US8952627B2 (en) Illuminating device and illuminating method
JP5312788B2 (en) System for temperature-priority color control of solid-state lighting units
JP2010538434A5 (en)
EP1943880A1 (en) Led luminary system
WO2007060570A1 (en) Led lighting system and control method
KR20090051262A (en) Generating light by color mixing
TW201013351A (en) Adjustable color solid state lighting
US8593446B2 (en) Method and arrangement for adjusting a color location, and illumination system
JP2009518799A (en) Device for determining the characteristics of a lighting unit
JP2013505552A (en) Lighting system color control
JP2007250350A (en) Continuously variable color temperature lighting system and continuously variable color temperature lighting method
EP2624665A1 (en) Device for lighting light-emitting diode, illumination device, and illumination method
JP5016323B2 (en) LED control system
CN117860181A (en) Light source control method and related components
JP2011034780A (en) Lighting system and dimming method of the lighting system
KR20220019836A (en) Dim to Warm LED Circuit
JP2008210888A (en) Led control system

Legal Events

Date Code Title Description
PB01 Publication