A control method of a light source and related components

CN117860181BActive Publication Date: 2026-09-04CHONGQING JINSHAN SCI & TECH GRP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410180207.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-18
Publication Date
2026-09-04
Estimated Expiration
2044-02-18

AI Technical Summary

Technical Problem

但是流经LED灯的电流并不能准确的表征LED灯当前的亮度,也无法确定多个颜色的LED灯组合后的颜色,进而导致LED光源控制不佳

Benefits of technology

[0046] This application provides a light source control method and related components, relating to the field of illumination. The method includes determining the absolute spectral value of the light emission requirement; in the current mode of read-table mode, determining the corresponding gear level based on a pre-generated relational table, and generating a control signal corresponding to the gear level, which is then output to the LED light so that the LED light emits light according to the control signal; in the current mode of self-adjustment mode, determining the corresponding gear level based on the pre-generated relational table, and generating an adjustment signal based on the current LED light gear level and the gear level corresponding to the absolute spectral value of the light emission requirement, which is then output to the LED light so that the LED light emits light at a preset speed based on the adjustment signal. A pre-set relational table between absolute spectral values ​​and gear levels is used to directly construct the relational table, which represents the current LED light emission status. Controlling the LED light based on this relational table better meets user needs. Furthermore, the method allows for two separate modes to control the LED light, providing diverse options.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117860181B_ABST
    Figure CN117860181B_ABST
Patent Text Reader

Abstract

The application discloses a kind of control method of light source and related components, it is related to illumination field, including determining the absolute spectral value of light emitting demand;When current mode is reading mode, determine the gear corresponding to the absolute spectral value of light emitting demand according to the relationship table generated in advance, and generate the control signal corresponding to gear output to LED lamp, so that LED lamp emits light according to control signal;When current mode is self-regulating mode, determine the gear corresponding to the absolute spectral value of light emitting demand according to the relationship table generated in advance, and generate the adjustment signal corresponding to the gear of current LED lamp according to the absolute spectral value of light emitting demand, output to LED lamp, so that LED lamp emits light according to preset speed based on adjustment signal.Directly adopt absolute spectral value to construct relationship table, relationship table is the light emitting condition of current LED lamp, based on the relationship table control LED lamp, can better meet the demand of user.Meanwhile, control LED lamp in two modes respectively, and select various.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of illumination, and in particular to a method for controlling a light source and related components. Background Technology

[0002] Endoscopic light source systems often use LED (Light-Emitting Diode) lamps. The stability of the LED light source directly affects the output spectral shape and intensity, which manifests as the stability of image brightness and color rendering. If the LED light source is unstable, it will affect the user experience for medical staff and the efficiency of lesion diagnosis. Related technologies collect the current flowing through the LED lamp, and use feedback to adjust and achieve constant current control. However, the current flowing through the LED lamp cannot accurately represent the current brightness of the LED lamp, nor can it determine the color of a combination of multiple colored LEDs, thus leading to poor LED light source control. Summary of the Invention

[0003] The purpose of this invention is to provide a method for controlling a light source and related components. A relationship table is directly constructed using absolute spectral values, and the resulting table represents the current emission status of the LED light. Controlling the LED light based on this relationship table can better meet user needs. Furthermore, it offers two separate modes for controlling the LED light, providing diverse options.

[0004] To solve the above-mentioned technical problems, the present invention provides a method for controlling a light source, comprising:

[0005] Determine the absolute spectral value of the luminescence requirement, which includes color and brightness;

[0006] Determine whether the current mode is self-adjusting mode or table reading mode;

[0007] When the current mode is the table reading mode, the gear corresponding to the absolute spectral value of the light emission requirement is determined according to the pre-generated relation table, and the control signal corresponding to the gear is generated and output to the LED light so that the LED light emits light according to the control signal.

[0008] When the current mode is self-adjustment mode, the gear corresponding to the absolute spectral value of the light emission requirement is determined according to the pre-generated relation table, and an adjustment signal is generated and output to the LED lamp according to the current gear of the LED lamp and the gear corresponding to the absolute spectral value of the light emission requirement, so that the LED lamp emits light according to the adjustment signal at a preset speed.

[0009] The relationship table is used to characterize the correspondence between absolute spectral values ​​and light levels. The color is related to the absolute spectral values ​​of each LED, and the light level is positively correlated with the brightness.

[0010] On the other hand, the process of pre-generating relational tables includes:

[0011] For any given LED, set the range of the absolute spectral values ​​of the LED;

[0012] Generate a control signal corresponding to the current gear position to the drive circuit to control the LED light to illuminate;

[0013] The absolute spectral value of the LED lamp is obtained from a color sensor positioned on the optical path of the LED lamp;

[0014] Determine whether the absolute spectral value is within the specified range;

[0015] If not, then change the current gear and return the control signal that generated the current gear to the drive circuit to control the LED to emit light.

[0016] On the other hand, after determining whether the absolute spectral value is within the range, the method further includes:

[0017] If so, the correspondence between the current gear and the absolute spectral value is saved to the relationship table;

[0018] The steps include changing the current gear and returning the control signal that generated the current gear to the drive circuit to control the LED to emit light.

[0019] On the other hand, the process of pre-generating relational tables also includes:

[0020] Set a fixed ratio between the absolute spectral values ​​of the LEDs of each color;

[0021] Control signals corresponding to the current gear of each color LED are generated and sent to the drive circuit to control the LEDs of each color to emit light in combination.

[0022] The absolute spectral values ​​of each color of the LED are obtained from a color sensor positioned on the optical path of the LED;

[0023] Determine whether the ratio between the various absolute spectral values ​​conforms to the fixed ratio;

[0024] If it does not meet the requirements, then change the current gear of each color LED and return the control signal that generated the current gear to the drive circuit to control the LED to emit light.

[0025] On the other hand, after determining whether the ratio between the various absolute spectral values ​​conforms to the fixed ratio, the process further includes:

[0026] If the conditions are met, the correspondence between each current gear position and each absolute spectral value is saved to the relationship table;

[0027] The steps include changing each of the current gear positions and generating control signals corresponding to the current gear position of each color LED light to the drive circuit, so as to control the LED lights of each color to emit light in combination.

[0028] On the other hand, the correspondence between each current gear position and each absolute spectral value is saved to the relationship table, including:

[0029] Save the current junction temperature of the LED light, the correspondence between each current setting and each absolute spectral value to the relationship table.

[0030] On the other hand, an adjustment signal is generated and output to the LED light according to the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement, so that the LED light emits light according to the adjustment signal at a preset speed, including:

[0031] Determine whether the level corresponding to the absolute spectral value of the light emission requirement conforms to the fixed ratio between the absolute spectral values ​​of the LEDs;

[0032] If not, the PID algorithm is used to determine the adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement.

[0033] The adjustment signal is output to the LED light to control the LED light to adjust its level to the level corresponding to the absolute spectral value of the light emission requirement at a first speed.

[0034] If the conditions are met, the PID algorithm is used to determine the adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement.

[0035] The adjustment signal is output to the LED light to control the LED light to adjust its level at a second speed to the level corresponding to the absolute spectral value of the light emission requirement, wherein the first speed is higher than the second speed.

[0036] To address the aforementioned technical problems, the present invention also provides a control system for a light source, comprising:

[0037] A demand determination unit is used to determine the absolute spectral value of the luminescence demand, which includes color and brightness;

[0038] The mode determination unit is used to determine whether the current mode is self-adjusting mode or table reading mode.

[0039] The meter reading control unit is used to determine the gear corresponding to the absolute spectral value of the light emission requirement according to a pre-generated relation table when the current mode is meter reading mode, and generate a control signal corresponding to the gear and output it to the LED light so that the LED light emits light according to the control signal.

[0040] The self-adjusting control unit is used to determine the gear corresponding to the absolute spectral value of the light emission requirement according to a pre-generated relation table when the current mode is self-adjusting mode, and generate an adjustment signal to output to the LED lamp according to the current gear of the LED lamp and the gear corresponding to the absolute spectral value of the light emission requirement, so that the LED lamp emits light according to the adjustment signal at a preset speed.

[0041] The relationship table is used to characterize the correspondence between absolute spectral values ​​and light levels. The color is related to the absolute spectral values ​​of each LED, and the light level is positively correlated with the brightness.

[0042] To address the aforementioned technical problems, the present invention also provides a light source control device, comprising:

[0043] Memory, used to store computer programs;

[0044] A processor is used to implement the steps of the above-described light source control method when executing the computer program.

[0045] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned light source control method.

[0046] This application provides a light source control method and related components, relating to the field of illumination. The method includes determining the absolute spectral value of the light emission requirement; in the current mode of read-table mode, determining the corresponding gear level based on a pre-generated relational table, and generating a control signal corresponding to the gear level, which is then output to the LED light so that the LED light emits light according to the control signal; in the current mode of self-adjustment mode, determining the corresponding gear level based on the pre-generated relational table, and generating an adjustment signal based on the current LED light gear level and the gear level corresponding to the absolute spectral value of the light emission requirement, which is then output to the LED light so that the LED light emits light at a preset speed based on the adjustment signal. A pre-set relational table between absolute spectral values ​​and gear levels is used to directly construct the relational table, which represents the current LED light emission status. Controlling the LED light based on this relational table better meets user needs. Furthermore, the method allows for two separate modes to control the LED light, providing diverse options. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 A flowchart of a light source control method provided by the present invention;

[0049] Figure 2 A schematic diagram of an absolute spectral value provided by the present invention;

[0050] Figure 3 A graph showing the relationship between the absolute spectral value and the gear level of a red LED light provided by the present invention;

[0051] Figure 4 A graph showing the relationship between the absolute spectral value and the gear level of a green LED light provided by this invention;

[0052] Figure 5 A graph showing the relationship between the absolute spectral value and the gear level of a blue LED light provided by the present invention;

[0053] Figure 6 A graph showing the relationship between the absolute spectral value and the gear level of a purple LED light provided by the present invention;

[0054] Figure 7 A flowchart illustrating the process of constructing a relational table as provided by this invention;

[0055] Figure 8 A flowchart illustrating another process for constructing a relational table provided by the present invention;

[0056] Figure 9 A flowchart illustrating another process for constructing a relational table provided by the present invention;

[0057] Figure 10 A flowchart of another light source control method provided by the present invention;

[0058] Figure 11 A schematic diagram of the structure of a light source control system provided by the present invention;

[0059] Figure 12 This is a schematic diagram of the structure of a light source control device provided by the present invention. Detailed Implementation

[0060] The core of this invention is to provide a method for controlling a light source and related components. A relationship table is directly constructed using absolute spectral values, and the resulting table represents the current emission status of the LED light. Controlling the LED light based on this relationship table better meets user needs. Furthermore, it offers two separate modes for controlling the LED light, providing diverse options.

[0061] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0062] Endoscopic light source systems often use LED (Light-Emitting Diode) lamps. The stability of the LED light source directly affects the output spectral shape and intensity, which manifests as the stability of image brightness and color rendering. If the LED light source is unstable, it will affect the user experience for medical staff and the efficiency of lesion diagnosis. Related technologies collect the current flowing through the LED lamp, and use feedback to adjust and achieve constant current control. However, the current flowing through the LED lamp cannot accurately represent the current brightness of the LED lamp, nor can it determine the color of a combination of multiple colored LEDs, thus leading to poor LED light source control.

[0063] Figure 1 A flowchart of a light source control method provided by the present invention, the light source control method comprising:

[0064] S11: Determine the absolute spectral values ​​of the luminous emission requirement, which includes color and brightness;

[0065] Controlling the LED lights requires knowing the desired color and brightness of the total light source output from the endoscopic light source system. Adjusting the color of the light source necessitates adjusting the emission ratio of each color LED, and adjusting the brightness requires adjusting the brightness of each color LED.

[0066] Therefore, the light emission requirement should be determined in advance before controlling the LED light. The light emission requirement can be issued by the user or automatically generated by the control system. This application does not impose any restrictions here. After receiving the light emission requirement, the controller will execute the subsequent steps.

[0067] S12: Determine whether the current mode is self-adjusting mode or table reading mode;

[0068] To improve user experience, this application provides two modes for adjusting the LED light. In self-adjustment mode, an adjustment signal is generated based on the current light level and the corresponding level for the absolute spectral value of the light emission requirement. This can be understood as controlling the LED light to adjust from its current state to the state corresponding to the absolute spectral value of the light emission requirement. Specifically, the adjustment signal can be generated using a PID algorithm. In meter-reading mode, the level corresponding to the current absolute spectral value of the light emission requirement is directly determined, and a control signal corresponding to that level is generated to control the LED light.

[0069] In short, the adjustment signal represents the difference between the current gear and the gear corresponding to the absolute spectral value of the emission requirement, while the control signal represents the gear corresponding to the absolute spectral value of the emission requirement.

[0070] S13: When the current mode is the meter reading mode, determine the gear corresponding to the absolute spectral value of the light emission requirement according to the pre-generated relation table, and generate the control signal corresponding to the gear and output it to the LED light so that the LED light emits light according to the control signal.

[0071] Considering that controlling LEDs based on current may not be accurate, this application pre-constructs a relationship table based on absolute spectral values. This means that LEDs are controlled not by current, but by absolute spectral values. It should be noted that absolute spectral values ​​are the peak values ​​of the spectrum.

[0072] Once the light emission requirements are determined, it is necessary to determine how to combine the absolute spectral values ​​of each LED to achieve the desired color, and then determine the magnitude of the absolute spectral values ​​to achieve the desired brightness.

[0073] Figure 2 This is a schematic diagram of an absolute spectral value provided by the present invention. Figure 3 This invention provides a graph showing the relationship between the absolute spectral value and the power level of a red LED light. Figure 4 This invention provides a graph showing the relationship between the absolute spectral value and the power level of a green LED light. Figure 5 This invention provides a graph showing the relationship between the absolute spectral value and the power level of a blue LED light. Figure 6 This invention provides a graph showing the relationship between the absolute spectral value and the power level of a purple LED light.

[0074] Figures 3 to 6 The horizontal axis represents the LED light level, and the vertical axis represents the absolute spectral value, with R representing red, G representing green, B representing blue, and UV representing violet. It is understandable that the LED light level is positively correlated with the absolute spectral value. This application uses four colors of LEDs: red, green, blue, and violet. By constructing the relationship table based on absolute spectral values, the problem of inaccurate current control can be avoided.

[0075] When the current mode is the meter reading mode, the LED light is directly controlled by the gear corresponding to the absolute spectral value of the light emission requirement, and the LED light can reach the target state more quickly.

[0076] S14: When the current mode is self-adjustment mode, determine the gear corresponding to the absolute spectral value of the light emission requirement according to the pre-generated relation table, and generate an adjustment signal to output to the LED lamp according to the current LED lamp gear and the gear corresponding to the absolute spectral value of the light emission requirement, so that the LED lamp emits light according to the preset speed based on the adjustment signal.

[0077] The relationship table is used to represent the correspondence between absolute spectral values ​​and light levels. Color is related to the absolute spectral values ​​of each LED, and light level is positively correlated with brightness.

[0078] In self-adjustment mode, the corresponding gear for the absolute spectral value of the light emission requirement is determined according to the relationship table. Unlike the reading mode, the self-adjustment mode changes from the current gear to the gear corresponding to the absolute spectral value of the light emission requirement little by little at a preset speed. Therefore, the change speed of the self-adjustment mode is slower than that of the reading mode.

[0079] Specifically, the self-regulating mode can use a PID algorithm to generate the regulating signal.

[0080] This application provides a method for controlling a light source, relating to the field of illumination. The method includes determining the light emission requirement; in the current mode of a read-table mode, determining the level corresponding to the absolute spectral value of the light emission requirement based on a pre-generated relationship table, and generating a control signal corresponding to the level, which is then output to the LED light so that the LED light emits light according to the control signal; in the current mode of a self-adjustment mode, determining the level corresponding to the absolute spectral value of the light emission requirement based on a pre-generated relationship table, and generating an adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement, which is then output to the LED light so that the LED light emits light at a preset speed based on the adjustment signal. A pre-set relationship table between light emission requirement and level is used to directly construct the relationship table using absolute spectral values. The resulting relationship table represents the current light emission status of the LED light. Controlling the LED light based on this relationship table can better meet user needs. Furthermore, the method allows for two separate modes of LED light control, providing diverse options.

[0081] Based on the above embodiments:

[0082] Figure 7 A flowchart illustrating the process of constructing a relational table as provided by this invention;

[0083] In some embodiments, the process of pre-generating the relational table includes:

[0084] For any given LED, set the range of absolute spectral values ​​for the LED;

[0085] Generate the control signal corresponding to the current gear to the drive circuit to control the LED light to illuminate;

[0086] The absolute spectral value of the LED is obtained from a color sensor positioned along the optical path of the LED;

[0087] Determine whether the absolute spectral value is within the range;

[0088] If not, the current gear is changed, and the control signal for generating the current gear is returned to the drive circuit to control the LED light to illuminate.

[0089] In some embodiments, after determining whether the absolute spectral value is within the range, the method further includes:

[0090] If present, the correspondence between the current gear and the absolute spectral value is saved to the relationship table;

[0091] The steps involve changing the current gear and returning the control signal for the current gear to the drive circuit to control the LED light to illuminate.

[0092] When controlling the LED light emission, a single-color LED can be used to emit light individually, or multiple LEDs can be combined to emit light. This application can determine the relationship between the setting and absolute spectral value of a single LED before generating the relationship table.

[0093] A color sensor is placed in the optical path, i.e., the path of light propagation. The color sensor can collect the absolute spectral value of the LED of the current color. The range of the absolute spectral value of the individual LED being tested can be preset, with a maximum and minimum value set. The absolute spectral value of the LED must be within this range. Multiple speed settings are preset, with the first speed setting as the current speed setting. A control signal for the current speed setting is generated and sent to the drive circuit, which then generates a PWM signal and outputs it to the LED.

[0094] The absolute spectral value of the LED light is collected by a color sensor. If the absolute spectral value collected by the color sensor is within a preset range, the correspondence between the absolute spectral value and the light setting needs to be saved in a relationship table. After determining the absolute spectral value corresponding to the required light emission, the LED light is controlled according to the corresponding light setting in the relationship table. Then, the light setting is changed to the next setting, and the correspondence is further determined to enrich the relationship table.

[0095] The absolute spectral value of the LED light is collected by a color sensor. If the absolute spectral value collected by the color sensor is not within the preset range, then the correspondence is not within the preset range and is not saved. The setting is changed to the next setting, and then the subsequent correspondence is determined to enrich the relationship table.

[0096] Understandably, once the relationship table of each LED is obtained, when the light emission requirement is a single color, such as only requiring the red light to emit light, the LED can be directly controlled according to the relationship table of each LED.

[0097] Figure 8 A flowchart illustrating another process for constructing a relational table provided by the present invention;

[0098] In some embodiments, the process of pre-generating the relational table further includes:

[0099] Set a fixed ratio between the absolute spectral values ​​of the LEDs of different colors;

[0100] The control signals corresponding to the current gear of each color LED are generated and sent to the drive circuit to control the LEDs of each color to emit light in combination.

[0101] The absolute spectral values ​​of each color of the LED are obtained from the color sensor set on the optical path of the LED;

[0102] Determine whether the ratios between the absolute spectral values ​​conform to a fixed ratio;

[0103] If it does not meet the requirements, the current setting of each color LED is changed, and the control signal for generating the current setting is returned to the driver circuit to control the LED to emit light.

[0104] In some embodiments, after determining whether the ratio between the absolute spectral values ​​conforms to a fixed ratio, the method further includes:

[0105] If they match, the correspondence between each current gear position and each absolute spectral value is saved to the relationship table;

[0106] The process involves changing the current gear position and generating control signals for each color LED corresponding to its current gear position to the drive circuit, thereby controlling the LEDs of each color to emit light in combination.

[0107] When controlling the LED light emission, a single-color LED can be used to emit light individually, or multiple LEDs can be combined to emit light. This application can further determine the relationship between the brightness level and absolute spectral value of multiple LEDs when generating the relationship table.

[0108] A color sensor is placed along the optical path, i.e., the path of light propagation. This sensor collects the absolute spectral value of the LED of the current color. The range of absolute spectral values ​​for multiple LEDs being tested, and the ratio between them, can be preset, for example, R:G:B:UV = 1:2:2:4. The ratio of the absolute spectral values ​​of the LEDs must meet this ratio. Multiple ratio settings are preset, with the first setting designated as the current setting. A control signal for the current setting is generated and sent to the drive circuit, which then generates a PWM signal and outputs it to the LED.

[0109] The absolute spectral values ​​of each LED are collected by a color sensor. If the proportion of the absolute spectral values ​​collected by the color sensor meets a preset proportion, the correspondence between the absolute spectral values ​​and the corresponding light levels needs to be saved in a relationship table. After determining the proportion of the absolute spectral values ​​corresponding to the required light emission, the LEDs are controlled according to the corresponding light level in the relationship table. Then, the light level is changed to the next level, and the correspondence is further determined to enrich the relationship table.

[0110] The absolute spectral value of the LED light is collected by a color sensor. If the proportion of the absolute spectral value collected by the color sensor meets the preset proportion, then the correspondence is not within the preset range and is not saved. The light is then switched to the next light and the subsequent correspondence is determined to enrich the relationship table.

[0111] It should be noted that the proportions provided in this application are based on green light, and the proportions of the other three colors are adjusted accordingly. They can also be adjusted according to other colors of light as needed, and this application does not impose any restrictions on them here.

[0112] Figure 9 A flowchart illustrating another process for constructing a relational table provided by the present invention;

[0113] In some embodiments, the correspondence between each current gear level and each absolute spectral value is saved to a relationship table, including:

[0114] Save the current junction temperature of the LED light, the correspondence between each current setting and each absolute spectral value to a relationship table.

[0115] Considering that LEDs are light-emitting diodes, composed of a PN junction, they emit light when the voltage reaches the turn-on voltage. The magnitude of the current determines the luminous intensity, while temperature determines the luminous efficiency. Higher temperatures result in lower luminous efficiency. With multiple LEDs, temperature accumulates more easily, making the heat dissipation system model more complex, and the temperature affects the wavelength and absolute spectral value of narrow-band LEDs. The LED junction temperature is directly affected by the load current and environmental factors, and its slow temperature drift is achieved through system thermal stability. Therefore, the current junction temperature should be considered when obtaining the corresponding relationships.

[0116] Furthermore, in subsequent control, the current junction temperature is combined with the determination of the gear and absolute spectral value in the relationship table, making the result more accurate.

[0117] The lookup table method allows you to add junction temperature data to the spectral table. For example, within the same range, you can call up the corresponding relationship table based on the region where the junction temperature is located.

[0118] Figure 10 A flowchart of another light source control method provided by the present invention;

[0119] In some embodiments, an adjustment signal is generated and output to the LED light based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement, so that the LED light emits light according to the adjustment signal at a preset speed, including:

[0120] Determine whether the absolute spectral value corresponding to the light emission requirement matches the fixed ratio between the absolute spectral values ​​of LED lights;

[0121] If it does not meet the requirements, the PID algorithm is used to determine the adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement.

[0122] The adjustment signal is output to the LED light to control the LED light's level to be adjusted to the level corresponding to the absolute spectral value required for light emission at the first speed;

[0123] If the conditions are met, the PID algorithm is used to determine the adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement.

[0124] The adjustment signal is output to the LED light to control the LED light's speed to adjust to the speed corresponding to the absolute spectral value required for light emission at the second speed, where the first speed is higher than the second speed.

[0125] Upon determining the current light intensity requirement (i.e., the light emission requirement) and confirming that the current mode is self-adjusting, the system first determines the absolute spectral value of each LED, and then determines the absolute spectral value of the current setting. If the ratio of the absolute spectral values ​​of the LEDs corresponding to the light emission requirement does not conform to a preset ratio, then the system adjustment algorithm 1 is used for calculation at the first speed. If the ratio of the absolute spectral values ​​of the LEDs corresponding to the light emission requirement does not conform to a preset ratio, then the system adjustment algorithm 2 is used for calculation at the second speed. Specifically, both system adjustment algorithm 1 and system adjustment algorithm 2 are PID algorithms, differing only in their adjustment speed. If the ratio is not met, the adjustment speed will be faster; if the ratio is met, the adjustment speed will be slower.

[0126] Figure 11 The present invention provides a schematic diagram of a control system for a light source, the control system comprising:

[0127] The requirement determination unit 21 is used to determine the light emission requirement, which includes color and brightness.

[0128] The mode determination unit 22 is used to determine whether the current mode is self-adjustment mode or table reading mode;

[0129] The meter reading control unit 23 is used to determine the gear corresponding to the absolute spectral value of the light emission requirement according to the pre-generated relation table when the current mode is meter reading mode, and generate the control signal corresponding to the gear and output it to the LED light so that the LED light emits light according to the control signal.

[0130] The self-adjusting control unit 24 is used to determine the gear corresponding to the absolute spectral value of the light emission requirement according to a pre-generated relation table when the current mode is self-adjusting mode, and generate an adjustment signal to output to the LED lamp according to the current LED lamp gear and the gear corresponding to the absolute spectral value of the light emission requirement, so that the LED lamp emits light according to the preset speed based on the adjustment signal.

[0131] The relationship table is used to characterize the correspondence between absolute spectral values ​​and light levels. The color is related to the absolute spectral values ​​of each LED, and the light level is positively correlated with the brightness.

[0132] Based on the above embodiments:

[0133] The process of pre-generating relational tables includes:

[0134] The absolute spectral value range determination unit is used to set the range of absolute spectral values ​​of any LED.

[0135] The first control signal generation unit is used to generate the control signal corresponding to the current gear to the drive circuit to control the LED light to illuminate.

[0136] The first absolute spectral value acquisition unit is used to obtain the absolute spectral value of the LED lamp based on the color sensor set on the optical path of the LED lamp;

[0137] The range determination unit is used to determine whether the absolute spectral value is within the range; if not, it triggers the gear shift unit; if yes, it triggers the save unit.

[0138] The first gear shifting unit is used to change the current gear and trigger the first control signal generation unit.

[0139] The first storage unit is used to save the correspondence between the current gear and the absolute spectral value to the relationship table and trigger the first gear change unit.

[0140] A fixed ratio setting unit is used to set a fixed ratio between the absolute spectral values ​​of LEDs of different colors;

[0141] The second control signal generation unit is used to generate control signals corresponding to the current gear of each color LED light to the drive circuit, so as to control the LED lights of each color to emit light in combination.

[0142] The second absolute spectral value acquisition unit is used to obtain the absolute spectral values ​​of each color of the LED light based on the color sensor set on the optical path of the LED light.

[0143] The first ratio judgment unit is used to determine whether the ratio between each absolute spectral value conforms to a fixed ratio; if not, the second gear change unit is triggered; if yes, the second save unit is triggered.

[0144] The second gear-changing unit is used to change the current gear of each color LED light and trigger the second control signal generation unit.

[0145] The second storage unit is used to save the correspondence between each current gear position and each absolute spectral value to the relationship table, and to trigger the second gear position change unit.

[0146] The first storage unit is specifically used to save the current LED junction temperature, the correspondence between each current setting and each absolute spectral value to a relationship table.

[0147] The second ratio determination unit is used to determine whether the level corresponding to the absolute spectral value of the light emission requirement conforms to the fixed ratio between the absolute spectral values ​​of the LEDs; if not, the first adjustment signal generation unit is triggered; if yes, the second adjustment signal generation unit is triggered.

[0148] The first adjustment signal generation unit is used to determine the adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement using a PID algorithm.

[0149] The first control unit is used to output an adjustment signal to the LED lamp to control the LED lamp's level to be adjusted at a first speed to the level corresponding to the absolute spectral value required for luminous emission.

[0150] The second adjustment signal generation unit is used to determine the adjustment signal based on the current LED light level and the absolute spectral value corresponding to the light emission requirement using a PID algorithm.

[0151] The second control unit is used to output an adjustment signal to the LED light to control the LED light's speed to be adjusted at a second speed to the speed corresponding to the absolute spectral value required for luminous emission, wherein the first speed is higher than the second speed.

[0152] The description of the control system for the light source provided in this application is given in the above embodiments and will not be repeated here.

[0153] Figure 12 This is a schematic diagram of a control device for a light source provided by the present invention. The control device for the light source includes:

[0154] Memory 31 is used to store computer programs;

[0155] The processor 32 is used to implement the steps of the above-described light source control method when executing a computer program.

[0156] The description of the control device for the light source provided in this application is given in the above embodiments and will not be repeated here.

[0157] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described light source control method.

[0158] The description of the computer-readable storage medium provided in this application is given in the above embodiments and will not be repeated here.

[0159] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0160] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0161] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not 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

1. A method for controlling a light source, characterized in that, include: Determine the absolute spectral value of the luminescence requirement, which includes color and brightness; Determine whether the current mode is self-adjusting mode or table reading mode; When the current mode is the table reading mode, the gear corresponding to the absolute spectral value of the light emission requirement is determined according to the pre-generated relation table, and the control signal corresponding to the gear is generated and output to the LED light so that the LED light emits light according to the control signal. When the current mode is self-adjustment mode, the gear corresponding to the absolute spectral value of the light emission requirement is determined according to the pre-generated relation table, and an adjustment signal is generated and output to the LED lamp according to the current gear of the LED lamp and the gear corresponding to the absolute spectral value of the light emission requirement, so that the LED lamp emits light according to the adjustment signal at a preset speed. The relationship table is used to characterize the correspondence between absolute spectral values ​​and gear levels. The color is related to the absolute spectral values ​​of each LED, and the gear level is positively correlated with the brightness. The process of pre-generating relational tables includes: For any given LED, set the range of the absolute spectral values ​​of the LED; Generate a control signal corresponding to the current gear position to the drive circuit to control the LED light to illuminate; The absolute spectral value of the LED lamp is obtained from a color sensor positioned on the optical path of the LED lamp; Determine whether the absolute spectral value is within the specified range; If not, then change the current gear and return the control signal that generated the current gear to the drive circuit to control the LED to light up; The process of pre-generating relational tables also includes: Set a fixed ratio between the absolute spectral values ​​of the LEDs of each color; Control signals corresponding to the current gear of each color LED are generated and sent to the drive circuit to control the LEDs of each color to emit light in combination. The absolute spectral values ​​of each color of the LED are obtained from a color sensor positioned on the optical path of the LED; Determine whether the ratio between the various absolute spectral values ​​conforms to the fixed ratio; If it does not meet the requirements, then change the current gear of each color LED and return the control signal that generated the current gear to the drive circuit to control the LED to emit light.

2. The light source control method as described in claim 1, characterized in that, After determining whether the absolute spectral value is within the range, the process further includes: If so, the correspondence between the current gear and the absolute spectral value is saved to the relationship table; The steps include changing the current gear and returning the control signal that generated the current gear to the drive circuit to control the LED to emit light.

3. The light source control method as described in claim 1, characterized in that, After determining whether the ratio between the various absolute spectral values ​​conforms to the fixed ratio, the method further includes: If the conditions are met, the correspondence between each current gear position and each absolute spectral value is saved to the relationship table; The steps include changing each of the current gear positions and generating control signals corresponding to the current gear position of each color LED light to the drive circuit, so as to control the LED lights of each color to emit light in combination.

4. The light source control method as described in claim 3, characterized in that, The correspondence between each current gear level and each absolute spectral value is saved to the relationship table, including: Save the current junction temperature of the LED light, the correspondence between each current setting and each absolute spectral value to the relationship table.

5. The method for controlling a light source as described in any one of claims 1 to 4, characterized in that, An adjustment signal is generated and output to the LED light according to the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement, so that the LED light emits light according to the adjustment signal at a preset speed, including: Determine whether the level corresponding to the absolute spectral value of the light emission requirement conforms to the fixed ratio between the absolute spectral values ​​of the LEDs; If not, the PID algorithm is used to determine the adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement. The adjustment signal is output to the LED light to control the LED light to adjust its level to the level corresponding to the absolute spectral value of the light emission requirement at a first speed. If the conditions are met, the PID algorithm is used to determine the adjustment signal based on the current LED light level and the level corresponding to the absolute spectral value of the light emission requirement. The adjustment signal is output to the LED light to control the LED light to adjust its level at a second speed to the level corresponding to the absolute spectral value of the light emission requirement, wherein the first speed is higher than the second speed.

6. A control system for a light source, characterized in that, include: A demand determination unit is used to determine the absolute spectral value of the luminescence demand, which includes color and brightness; The mode determination unit is used to determine whether the current mode is self-adjusting mode or table reading mode. The meter reading control unit is used to determine the gear corresponding to the absolute spectral value of the light emission requirement according to a pre-generated relation table when the current mode is meter reading mode, and generate a control signal corresponding to the gear and output it to the LED light so that the LED light emits light according to the control signal. The self-adjusting control unit is used to determine the gear corresponding to the absolute spectral value of the light emission requirement according to a pre-generated relation table when the current mode is self-adjusting mode, and generate an adjustment signal to output to the LED lamp according to the current gear of the LED lamp and the gear corresponding to the absolute spectral value of the light emission requirement, so that the LED lamp emits light according to the adjustment signal at a preset speed. The relationship table is used to characterize the correspondence between absolute spectral values ​​and gear levels. The color is related to the absolute spectral values ​​of each LED, and the gear level is positively correlated with the brightness. The process of pre-generating relational tables includes: An absolute spectral value range determination unit is used to set the range of absolute spectral values ​​of any LED lamp. The first control signal generation unit is used to generate a control signal corresponding to the current gear position to the drive circuit to control the LED light to emit light; The first absolute spectral value acquisition unit is used to obtain the absolute spectral value of the LED lamp based on the color sensor set on the optical path of the LED lamp; The range determination unit is used to determine whether the absolute spectral value is within the range; if not, the gear shift unit is triggered; if yes, the save unit is triggered. The first gear shifting unit is used to change the current gear and trigger the first control signal generation unit; A fixed ratio setting unit is used to set a fixed ratio between the absolute spectral values ​​of the LEDs of various colors; The second control signal generation unit is used to generate control signals corresponding to the current gear of each color of the LED light to the drive circuit, so as to control the LED lights of each color to emit light in combination. The second absolute spectral value acquisition unit is used to obtain the absolute spectral values ​​of the LED for each color based on the color sensor set on the optical path of the LED. The first ratio determination unit is used to determine whether the ratio between each absolute spectral value conforms to the fixed ratio; if not, the second gear shifting unit is triggered. The second gear-changing unit is used to change the current gear of each of the LED lights of each color and to trigger the second control signal generation unit.

7. A control device for a light source, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the light source control method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the light source control method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Signal processor for biological observation system

    CN101163438A

  • Light source brilliance control system, light source system and projection equipment

    CN206442567U