Red-green-blue laser diode color synthesis control apparatus and control method
By designing the color synthesis control device of red, green and blue laser diodes, and using calculation modules and PWM modulation technology, the actual power adjustment of the laser diodes is achieved, solving the problem of lack of color synthesis control of red, green and blue laser diodes in the prior art, and improving the stability and efficiency of the lighting effect.
Patent Information
- Application Number
- PCT/CN2024/106789
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-29
- Filing Date
- 2024-07-22
- Publication Date
- 2025-09-04
AI Technical Summary
There is a lack of control devices and control methods for color synthesis and lighting power suitable for illumination in the prior art.
A red, green and blue laser diode color synthesis control device is designed, including a calculation module, a display module, an imaging device, an image reading module, a calibration module, a laser diode and a driving board. The chromaticity coordinates and power calculation are performed through the CIE 1931 xyY color space, and the output control voltage is used to realize the actual power adjustment of the laser diode.
It realizes the automatic calculation of the actual output power of the red, green and blue laser diode according to user needs, and outputs stable lighting colors, which improves the stability and efficiency of the lighting effect.
Smart Images

Figure CN2024106789_04092025_PF_FP_ABST
Abstract
Description
A red, green and blue laser diode color synthesis control device and control method
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202410230123.8 filed on February 29, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present invention relates to the field of lighting technology, and in particular to a red, green, and blue laser diode color synthesis control device and control method. Background Art
[0004] In recent years, new lighting sources have continued to emerge. Laser diodes have very good monochromaticity compared to other light sources, with a line width usually less than 2nm. Red laser diodes, green laser diodes, and blue laser diodes can be used to synthesize any lighting color. They have the advantages of stable color and brightness, high efficiency, and long service life.
[0005] However, there is currently no device or method for controlling the color synthesis and lighting power of red, green, and blue laser diodes suitable for lighting.
[0006] Summary of the Invention
[0007] In response to the technical problems in the prior art, the present application proposes a red, green and blue laser diode color synthesis control device and control method.
[0008] According to one aspect of the present invention, a red, green, and blue laser diode color synthesis control device is proposed. The device includes a calculation module, a display module, a camera, an image reading module, a calibration module, a laser diode, and a corresponding driver board. Based on user expectations and needs, the calculation device uses a built-in algorithm to calculate the theoretical output power of the laser diode and perform corrections to ensure that the actual composite color of the illumination is closer to the desired target color.
[0009] Preferably, the calculation module is configured to receive the chromaticity coordinates of the target lighting color, the target lighting power, the corrected chromaticity coordinates and the channel values of the actual synthesized color, and calculate and output the actual output power corresponding to the target lighting color.
[0010] Among them, calculating the actual output power corresponding to the target lighting color specifically includes: the calculation module calculates the theoretical output power corresponding to the laser diode according to the chromaticity coordinates of the target lighting color and the target lighting power; the calculation module calculates the corresponding theoretical output power according to the corrected chromaticity coordinates, and outputs a control voltage to obtain the actual composite color corresponding to each corrected chromaticity coordinate; the calculation module calculates the actual chromaticity coordinates of the actual composite color according to the channel value of the actual composite color, adjusts the theoretical output power of the corrected chromaticity coordinates by comparing the corrected chromaticity coordinates with the actual chromaticity coordinates, determines a correction coefficient, and adjusts the theoretical output power of the target lighting color according to the correction coefficient to output a control voltage to obtain the target lighting color.
[0011] Preferably, the display module of the control device is used to select the chromaticity coordinates of the target lighting color, the target lighting power and the corrected chromaticity coordinates.
[0012] Preferably, the camera device of the control apparatus is used to obtain the lighting color.
[0013] Preferably, the image reading module of the control device is used to read the RGB channel values of the lighting color.
[0014] The laser diodes include a red laser diode, a green laser diode, and a blue laser diode. The laser diodes are controlled by corresponding drivers on a driving board. Each driver receives the control voltage output by the calculation module for each laser diode. The control voltage is output using PWM modulation. The driver converts the control voltage output by PWM modulation into the driving current to control the light emission of each laser diode.
[0015] Further preferably, the control device also includes a calibration module for calibrating the laser diode, the calibration module includes an integrating sphere and a colorimeter, the camera device is inserted into the integrating sphere, and the laser diodes are turned on in sequence, the camera device captures the corresponding lighting color image, and each lighting color image is read by the image reading module. The colorimeter measures the XYZ value of the CIE1931 color space of the laser diode through the window of the integrating sphere, the calculation module obtains the RGB channel value of each lighting color image according to the reading result of the image reading module, and calculates the chromaticity coordinates, conversion coefficient and CIE1931XYZ conversion matrix of each laser diode according to the RGB channel value and the corresponding XYZ value of each lighting color, and then the calculation module calculates the corresponding theoretical output power of the laser diode according to the chromaticity coordinates, conversion coefficient and chromaticity coordinates of the target lighting color of each laser diode.
[0016] According to one aspect of the present invention, a method for controlling color synthesis of red, green, and blue laser diodes is also proposed, comprising the following steps:
[0017] S1, selecting the chromaticity coordinates of the target lighting color and the target lighting power, and calculating the theoretical output power of the laser diode;
[0018] S2, selecting a correction chromaticity coordinate, calculating the chromaticity coordinate of the actual lighting color corresponding to the correction chromaticity coordinate, adjusting the output power of the laser diode by comparing the evaluation function to perform color calibration, and determining a correction coefficient;
[0019] S3, obtaining the actual output power of the laser diode corresponding to the target lighting color according to the theoretical output power of the target lighting color and a correction coefficient, and controlling the voltage according to the actual output power to obtain the target lighting color.
[0020] S1 obtains the theoretical output power of the laser diode, specifically including selecting the chromaticity coordinates (x, y) of the target lighting color and the target lighting power P total , calculate the luminous flux component of the laser diode under the same luminous flux by the following formula:
[0021] Among them, (x R ,y R ) and F R are the chromaticity coordinates and luminous flux components of the red laser diode, (x G ,y G ) and F G are the chromaticity coordinates and luminous flux components of the green laser diode, (x B ,y B ) and F B are the chromaticity coordinates and luminous flux components of the blue laser diode respectively, and the theoretical output power of the laser diode is calculated by the following formula:
[0022] Among them, P R is the theoretical output power of the red laser diode, P G is the theoretical output power of the green laser diode, P B is the theoretical output power of the blue laser diode, K R is the theoretical output power of the red laser diode and the grayscale conversion coefficient, K G is the theoretical output power of the green laser diode and the grayscale conversion coefficient, K B is the theoretical output power of the blue laser diode and the grayscale conversion coefficient.
[0023] Preferably, S1 also includes a calibration process for the laser diode, inserting the camera device into a completely black integrating sphere, turning on the laser diode in sequence, obtaining illumination images of corresponding colors for calibration, calculating the chromaticity coordinates, conversion coefficients and CIE1931XYZ conversion matrix of the laser diode, reading the red, green and blue channel values of the corresponding illumination image, and measuring the X, Y and Z values of the laser diode in the CIE1931 color space.
[0024] S1 specifically includes the following steps:
[0025] S101, only turn on the red laser diode, set the light power of the red laser diode to P1, read the red, green and blue channel values of the red lighting color, which are R1, G1 and B1 respectively, and measure the X1, Y1 and Z1 values of the red laser diode in the CIE1931 color space, and calculate the chromaticity coordinates (x R ,y R ) and conversion coefficient K R ;
[0026] S102, only the green laser diode is turned on, the optical power of the green laser diode is set to P2, the red, green and blue channel values of the green lighting color are read, which are R2, G2 and B2 respectively, and the X2, Y2 and Z2 values of the green laser diode in the CIE1931 color space are measured to calculate the chromaticity coordinates (x G ,y G ) and conversion coefficient K G ;
[0027] S103, only the blue laser diode is turned on, the optical power of the blue laser diode is set to P3, the red, green and blue channel values of the blue lighting color are read, which are R3, G3 and B3 respectively, and the X3, Y3 and Z3 values of the blue laser diode in the CIE1931 color space are measured to calculate the chromaticity coordinates (x B ,y B ) and conversion coefficient K B ;
[0028] S104, calculating and obtaining the CIE1931 XYZ conversion matrix based on the red, green, and blue channel values of the red, green, and blue laser diodes and the corresponding XYZ values of the CIE1931 color space
[0029] Further preferably, when performing calibration, the chromaticity coordinates (x M ,y M ) and conversion coefficient K M :
[0030] Among them, P M is the output power of the laser diode when it is turned on, R M , G M , B M is the RGB channel value of the lighting color M to be obtained, X M 、Y M 、Z M is the XYZ value of the lighting color M in the CIE1931 color space;
[0031] According to the following formula, through the transformation matrix M tran Convert RGB channel values to XYZ values:
[0032] Preferably, after obtaining and selecting multiple sets of corrected chromaticity coordinates, the correction coefficient M is determined by comparing the theoretical output power with the actual output power. cor Calculate the theoretical output power of each laser diode corresponding to each set of corrected chromaticity coordinates, control the voltage according to the theoretical output power corresponding to the corrected chromaticity coordinates to obtain the corresponding actual synthetic color, adjust the theoretical output power of each set of corrected chromaticity coordinates by comparing the corrected chromaticity coordinates with the chromaticity coordinates of the actual synthetic color through the evaluation function, obtain the actual output power of each set of corrected chromaticity coordinates, and calculate the correction coefficient M cor .
[0033] Further preferably, S3 is calculated by the theoretical output power (P R ,P G ,P B ) and correction factor M cor Get the actual output power (I) of the laser diode corresponding to the target lighting color R ,I G ,I B ):
[0034] Among them, I R The actual output power of the red laser diode for the target illumination color, I G The actual output power of the green laser diode for the target illumination color, I B Actual output power of a blue laser diode for the target illumination color.
[0035] According to one aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to the second aspect is implemented.
[0036] The present invention is beneficial in that:
[0037] (1) A red, green, and blue (RGB) laser diode color synthesis control device is proposed, comprising a display module, a camera, an image reading module, a calculation module, a laser diode, and a driver board. Using the CIE 1931 xyY color space, the device automatically calculates the actual power output of the RGB laser diodes by setting the desired illumination chromaticity and illumination power on the display module, thereby obtaining the desired illumination color.
[0038] (2) A red, green, and blue laser diode color synthesis control device is proposed, which outputs a pulse modulation (PWM) signal and changes the average control voltage by the duty cycle, thereby changing the output optical power of the laser diode.
[0039] (3) A method for controlling the color synthesis of red, green, and blue laser diodes is proposed. The calibration and compensation methods for color synthesis and control of red, green, and blue laser diodes in the CIE 1931 xyY color space are introduced. First, the chromaticity of a single red, green, and blue laser diode is obtained, and the relationship between lighting power and lighting brightness is obtained. The difference between the set color point and the actual color point is compared, and the actual light output power of the laser diode is obtained through a continuous optimization algorithm. The correction coefficient matrix is obtained, and the desired lighting color is obtained by adjusting the actual light output power of the laser diode using the correction coefficient matrix. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate the embodiments and, together with the description, serve to explain the principles of the present invention. Other embodiments and many of the expected advantages of the embodiments will be readily apparent as they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale with respect to each other. Like reference numerals designate corresponding similar parts.
[0041] FIG1 shows a schematic diagram of the operation of a red, green, and blue laser diode color synthesis control device according to the present invention;
[0042] FIG2 is a schematic flow chart showing a method for controlling color synthesis of red, green and blue laser diodes according to the present invention;
[0043] FIG3 is a schematic diagram showing the positions of RGB laser diode chromaticity coordinates in the CIE 1931 XYY color space;
[0044] FIG4 is a schematic diagram showing a calibration process of a red, green, and blue laser diode color synthesis control method according to the present invention. DETAILED DESCRIPTION
[0045] The present application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the relevant invention and are not intended to limit the invention. It should also be noted that, for ease of description, only portions relevant to the relevant invention are shown in the accompanying drawings.
[0046] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0047] Figure 1 shows a red, green, and blue laser diode color synthesis control device. As shown in Figure 1, the control device includes a display module 1001, a camera device 1002 for capturing the lighting color, an image reading module 1006 for reading the lighting color, a calibration module 1007 for calibrating the laser diode, a calculation module 1002, a laser diode 1004, and a driving board 1003 for driving the laser diode to emit light.
[0048] In a specific embodiment, the display module includes a screen having a built-in CIE 1931 xyY color space. The CIE 1931 xyY color space is converted from the 1931 XYZ color space. The CIE 1931 xyY color space includes red, green, blue, yellow, pink, orange, warm white, cool white, and neutral white regions for user selection.
[0049] Optionally, the screen of the display module can be a touch screen or an ordinary screen without touch function. When the screen is a touch screen, the user can directly select the chromaticity coordinates, target lighting power, and corrected chromaticity coordinates of the target lighting color on the screen; when the screen is an ordinary screen, the display module also includes an input device for selecting the chromaticity coordinates, target lighting power, and corrected chromaticity coordinates of the target lighting color, and the input device includes but is not limited to a keyboard, mouse, etc.
[0050] In a preferred embodiment, the illumination image can be captured using an imaging device 1005 equipped with an endoscope. This endoscope is a medical device that enters the body through natural orifices or surgical incisions to observe internal tissues. The control device can be applied to the capture of medical images and, by applying a correction factor, can make the captured images more consistent with the user's expectations, facilitating better observation.
[0051] In a specific embodiment, the image reading module 1006 realizes the function of reading the RGB channel values of the lighting color by assembling an image acquisition card.
[0052] In a specific embodiment, the laser diode 1004 includes a red laser diode, a green laser diode, and a blue laser diode. The driving board includes three drivers corresponding to the laser diodes. Each driver receives the control voltage output by the calculation module to each laser diode and converts the control voltage into the driving current.
[0053] In a specific embodiment, the calibration module 1007 includes an integrating sphere and a colorimeter. The chromaticity coordinates, conversion coefficients and corresponding CIE1931 XYZ conversion matrix of each laser diode can be calibrated through the calibration module.
[0054] An imaging device 1005 equipped with an endoscope is placed in the integrating sphere, and the laser diodes are sequentially activated to capture corresponding illumination color images. Each illumination color image is read by an image reading module 1006, and the CIE1931 color space XYZ values of the corresponding laser diode are measured using a colorimeter. The calculation module 1002 obtains the RGB channel values of each illumination color image based on the reading results of the image reading module. Based on the RGB channel values and the corresponding XYZ values of each illumination color, the chromaticity coordinates, conversion coefficients, and CIE1931 XYZ conversion matrix of each laser diode are calculated. The calculation module 1002 then calculates the theoretical output power corresponding to each laser diode based on the chromaticity coordinates and conversion coefficients of each laser diode and the chromaticity coordinates of the target illumination color.
[0055] In a specific embodiment, after calibration is completed, the calculation module 1002 performs calculations based on the corrected chromaticity coordinates input through the display module, the chromaticity coordinates of each laser diode, the conversion coefficient, the CIE1931 XYZ conversion matrix, and the target lighting power to obtain the theoretical output power of the corrected chromaticity coordinates.
[0056] The calculation module 1002 outputs a control voltage to obtain the actual composite color corresponding to each corrected chromaticity coordinate. The camera device 1005 captures the actual composite image corresponding to the actual composite color. The image reading module 1006 reads the illumination image of the actual composite color. The calculation module 1002 obtains the corresponding RGB channel values, and directly obtains the XYZ values in the CIE1931 color space based on the CIE1931 XYZ conversion matrix. Then, the calculation module 1002 calculates the chromaticity coordinates of the actual composite color.
[0057] The calculation module 1002 adjusts the theoretical output power of the corrected chromaticity coordinates by comparing the error between the corrected chromaticity coordinates and the chromaticity coordinates of the actual synthesized color until the error is less than a certain value. The calculation module 1002 calculates a correction coefficient based on the adjusted theoretical output power value at that moment, adjusts the theoretical output power output control voltage of the target lighting color based on the correction coefficient, and the driver drives each diode to emit light according to the received control voltage, thereby obtaining the target lighting color.
[0058] Optionally, the calculation module 1002 may choose to output the control voltage in a PWM modulation manner or a direct voltage output manner.
[0059] In a preferred embodiment, the device of the present invention uses PWM modulation to output a control voltage based on the output power of the laser diode. The advantages of using pulse modulation PWM include high modulation depth, reduced noise, and more stable lighting power. Pulse modulation controls the duty cycle of the output voltage. A smaller duty cycle results in a lower average voltage, lower drive current, and, consequently, lower lighting power.
[0060] In a second aspect of the present invention, the present application further proposes a red, green, and blue laser diode color synthesis control method, as shown in FIG2 , comprising the following steps:
[0061] S2, selecting the chromaticity coordinates of the target lighting color and the target lighting power, and calculating and obtaining the theoretical output power of the laser diode;
[0062] S3, selecting a correction chromaticity coordinate, calculating the chromaticity coordinate of the actual lighting color corresponding to the correction chromaticity coordinate, adjusting the output power of the laser diode by comparing the evaluation function to perform color calibration, and determining a correction coefficient;
[0063] S4, obtaining the actual output power of the laser diode corresponding to the target lighting color according to the theoretical output power of the target lighting color and a correction coefficient, and controlling the voltage according to the actual output power to obtain the target lighting color.
[0064] In a specific embodiment, the laser diodes include a red laser diode, a green laser diode, and a blue laser diode. As shown in FIG3 , according to the color synthesis principle, the color synthesized by the RGB laser diodes is in the chromaticity coordinates (x R ,y R )、(x G ,y G ) and (x B ,y B ). Therefore, the synthesis of different colors can be achieved by adjusting the power of the laser diode.
[0065] Considering that different laser diodes have different transmission efficiencies and detection efficiencies, before obtaining the specific output power of the laser diode, the laser diode output power is first set to calibrate the chromaticity coordinates and conversion coefficient of the laser diode.
[0066] Insert the endoscope camera into a completely black integrating sphere, turn on the laser diodes in sequence, obtain the corresponding illumination color M for reading, and use the image acquisition card to read the corresponding red channel value R m , Green channel number G m value and blue channel value B m , using a colorimeter to measure the X in the CIE1931 color space m ,Y m , Z m The corresponding chromaticity coordinates (x M ,y M ):
[0067] Calculate the corresponding conversion coefficient K M for:
[0068] Among them, P M is the output power of the turned-on laser diode.
[0069] It should be noted that when using endoscopic photography equipment to capture each laser diode illumination image, it is necessary to ensure that the gain and exposure time of each channel remain the same, and to ensure that the output power used for calibration is controlled within a reasonable range so that the image does not reach the saturated red, green and blue channel values (the saturation value is usually 255).
[0070] Therefore, as shown in Figure 4, S1 is specifically expressed as:
[0071] Only the red laser diode is turned on to collect the red lighting color, read the red lighting color, obtain the red channel value R1, green channel value G1, blue channel value B1 of the red lighting color, and measure the X1, Y1, and Z1 values of the red lighting color in the CIE1931 color space. and Get the chromaticity coordinates (x R ,y R ),pass Obtain the conversion coefficient K of the red laser diode R , P r The output power of the red laser diode used for calibration;
[0072] Only the green laser diode is turned on to collect the green lighting color, read the green lighting color, obtain the red channel value R2, green channel value G2, blue channel value B2 of the green lighting color, and measure the X2, Y2, and Z2 values of the green lighting color in the CIE1931 color space. and Get the chromaticity coordinates (x G ,y G ),pass Obtain the conversion coefficient K of the green laser diode G , P g The output power of the green laser diode used for calibration;
[0073] Only the blue laser diode is turned on to collect the blue lighting color, read the blue lighting color, obtain the red channel value R3, green channel value G3, blue channel value B3 of the blue lighting color, measure the X3, Y3, and Z3 values of the green lighting color in the CIE1931 color space, and and Obtain the chromaticity coordinates (x B ,y B ),pass Obtain the conversion coefficient K of the blue laser diode B , P b The blue laser diode is used to calibrate the output power.
[0074] In a specific embodiment, an image acquisition card may be used to read the RGB channel values of the lighting color, and a colorimeter may be used to measure the XYZ values of the lighting color in the CIE1931 color space.
[0075] After completing the calibration of the red, green and blue laser diodes, the CIE1931 XYZ conversion matrix M is calculated by the following formula tran :
[0076] By M tran The matrix can convert RGB into XYZ coordinates. When subsequently calculating the chromaticity coordinates of the lighting color, the intermediate step of measuring the XYZ values of the lighting color in the CIE1931 color space with a colorimeter can be omitted.
[0077] Then, through the conversion coefficient and chromaticity coordinates of the calibrated laser diode, according to the chromaticity coordinates (x, y) of the target lighting color required by the user and the target lighting power P total First, use the following formula to calculate the luminous flux components of the red, green and blue laser diodes with the same luminous flux:
[0078] Among them F R Represents the component of the red laser diode, F G is the component of the green laser diode, F B is the component of the blue laser diode.
[0079] The theoretical output power (P R ,P G ,P B ):
[0080] Among them, P R 、P G and P B They are the theoretical output powers of red laser diode, green laser diode and blue laser diode respectively.
[0081] Due to light transmission errors, calibration errors, and detector response errors, it is impossible to ensure that the chromaticity of the actual composite color is consistent with the chromaticity of the expected composite color. A compensation method is needed to correct the difference between the actual composite color and the expected composite color.
[0082] By selecting multiple sets of correction chromaticity coordinates and calculating the corresponding correction coefficients, the above errors can be compensated. The selected correction chromaticity coordinates should be greater than or equal to three sets, and the chromaticity coordinates should be selected within the triangle area formed by the chromaticity coordinates of the red laser diode, the green laser diode, and the blue laser diode.
[0083] In a specific embodiment, three sets of calibrated chromaticity coordinates are selected As an example, calculate the theoretical output power corresponding to each set of corrected chromaticity coordinates. The specific formula is shown above, that is, replace the chromaticity coordinates (x, y) of the target lighting color with the corrected chromaticity coordinates. You can get I will not go into details here.
[0084] The corresponding actual composite color is obtained according to the theoretical output power control voltage corresponding to the corrected chromaticity coordinates, and the actual composite image under the actual composite color is obtained for reading. After reading the color channel value of each actual composite image, the chromaticity coordinates of the actual composite color are calculated accordingly.
[0085] The evaluation function is defined and calculated by the following expression:
[0086] The theoretical output power of each set of corrected chromaticity coordinates is adjusted by an optimization algorithm. Optionally, the optimization algorithm includes but is not limited to a hill climbing method, a stochastic parallel gradient descent algorithm, and the like.
[0087] Continuously adjust the theoretical output power so that when cosfunc is less than the set threshold ξ, the theoretical output power at this time is the actual output power value of each set of corrected chromaticity coordinates The correction coefficient M is calculated by the following formula cor :
[0088] After obtaining the correction coefficient matrix, the actual output power corresponding to the target lighting color can be determined by the following formula: R ,I G ,I B ):
[0089] Among them, I R The actual output power of the red laser diode for the target illumination color, I G The actual output power of the green laser diode for the target illumination color, I B Actual output power of a blue laser diode for the target illumination color.
[0090] Only the red laser diode is turned on, and the output optical power of the red laser diode is set to 100mW. The RGB value obtained by the image acquisition card is [201, 1, 2]. The XYZ value measured by the colorimeter is [70.35, 30.45, 4.20]. By calculation, Kr = 0.4902;
[0091] Only the green laser diode is turned on, and the output optical power of the green laser diode is set to 93mW. The RGB value obtained by the image acquisition card is [3, 185, 4]. The XYZ value measured by the colorimeter is [19.95, 70.30, 4.75]. By calculation, we can get Kb = 0.4844;
[0092] Only the blue laser diode is turned on, and the output optical power of the blue laser diode is set to 88 mW. The RGB value obtained by the image acquisition card is [2, 4, 195], and the XYZ value measured by the colorimeter is [12.60, 3.60, 73.80]. By calculation, Kb = 0.4378 can be obtained.
[0093] Using the RGB and XYZ values of the red, green, and blue laser diodes, the CIE1931 XYZ conversion matrix M can be calculated. tran for:
[0094] In the CIE1931 color space, the equal-energy white light point (0.33, 0.33) is selected as the correction chromaticity coordinate And choose the total output optical power of RGB to be 2W, and substitute it into the following formula
[0095] You can get F R is 0.2802, F G is 0.6737, F B The theoretical output power of the red, green and blue laser diodes is calculated using the following formula:
[0096] You can get P R 28.38mW, P G 67.44mW, P B The controller sets the actual output power of the red, green and blue laser diodes. They are 28.38mW, is 67.44mW, The power consumption of the composite color is 4.18mW, and the RGB of the actual composite color is [180, 185, 173]. tran The RGB value can be converted into XYZ value. The XYZ value is [91.6727, 98.3183, 71.6384], and the actual chromaticity coordinates can be calculated. is (0.3504, 0.3758). The optical power of the red, green and blue laser diodes is continuously adjusted by the optimization algorithm so that the actual chromaticity coordinates approach the corrected chromaticity coordinates 1, and the actual optical power is obtained. is 30.83mW, is 65.25mW, It is 3.92mW.
[0097] Similarly, set the correction chromaticity coordinate 2. is (0.20, 0.15), we get is 19.33mW, is 61.52mW, is 19.15mW, and the actual optical power is obtained through the optimization algorithm, where 22.20mW, is 59.31mW, It is 18.49mW.
[0098] Set the corrected chromaticity coordinates to 3, is (0.59, 0.30), we get is 81.44mW, 17.50mW, is 1.06mW, and the actual optical power is obtained through the optimization algorithm, where is 83.51mW, is 15.32mW, It is 1.17mW.
[0099] Through the three sets of correction chromaticity coordinates, the correction matrix M can be obtained cor :
[0100] After calibration, the D70 chromaticity coordinates are selected as (0.299, 0.315) and the illumination power is 100 mW. It can be calculated that the actual optical power of the red laser diode is 26.8164 mW; the optical power of the green laser diode is 68.4270 mW; and the optical power of the blue laser diode is 4.7566 mW.
[0101] According to one aspect of the present invention, a computer-readable storage medium is proposed, on which a computer program is stored. When the computer program is executed by a processor, the computer program implements the method described in the second aspect. The computer-readable storage medium may be included in the electronic device described in the above embodiment; or it may exist independently and not be assembled into the electronic device. The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device is caused to: select the chromaticity coordinates and target lighting power of the target lighting color, calculate the theoretical output power of the laser diode; select the corrected chromaticity coordinates, calculate the chromaticity coordinates of the actual lighting color corresponding to the corrected chromaticity coordinates, adjust the output power of the laser diode by comparing the evaluation function to perform color calibration, and determine the correction coefficient; obtain the actual output power of the laser diode corresponding to the target lighting color based on the theoretical output power of the target lighting color and the correction coefficient, and control the voltage based on the actual output power to obtain the target lighting color.
[0102] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0103] The modules described in the embodiments of the present application may be implemented by software or hardware.
[0104] The above describes the specific implementation methods of the present application, but the protection scope of the present application is not limited to this. It is worth mentioning that the application scenarios of the control device and control method disclosed in the present invention include but are not limited to synthesizing endoscopic color images, and can be applied to other lighting image color synthesis scenarios, depending on the specific needs of the user. Any non-inventive changes based on the present invention (such as replacing the laser diode light source with other lighting light sources such as LED light sources) can be easily thought of by any technician familiar with this technical field within the technical scope disclosed in this application. Changes or replacements should be included in the protection scope of this application. Therefore, the protection scope of this application should be based on the protection scope of the claims.
[0105] In the description of this application, it should be understood that the terms "upper", "lower", "inner", "outer", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limiting this application. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The simple fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used for improvement. Any reference signs in the claims should not be interpreted as limiting the scope.
Claims
1. A red, green and blue laser diode color synthesis control device, characterized in that: including a computing module; The calculation module is configured to receive the chromaticity coordinates of the target lighting color, the target lighting power, the corrected chromaticity coordinates and the channel value of the actual composite color, calculate and output the actual output power corresponding to the target lighting color; Among them, calculating the actual output power corresponding to the target lighting color specifically includes: the calculation module calculates the theoretical output power corresponding to the laser diode according to the chromaticity coordinates of the target lighting color and the target lighting power; the calculation module calculates the corresponding theoretical output power according to the corrected chromaticity coordinates, and outputs a control voltage to obtain the actual composite color corresponding to each corrected chromaticity coordinate; the calculation module calculates the actual chromaticity coordinates of the actual composite color according to the channel value of the actual composite color, adjusts the theoretical output power of the corrected chromaticity coordinates by comparing the corrected chromaticity coordinates with the actual chromaticity coordinates, determines a correction coefficient, and adjusts the theoretical output power of the target lighting color according to the correction coefficient to output a control voltage to obtain the target lighting color.
2. The red, green, and blue laser diode color synthesis control device according to claim 1, characterized in that: The control device further includes a display module, the display module being used to select the chromaticity coordinates of the target lighting color, the target lighting power, and the corrected chromaticity coordinates; The control device also includes a camera device for acquiring the lighting color; The control device also includes an image reading module for reading the RGB channel values of the lighting color; The laser diodes include a red laser diode, a green laser diode, and a blue laser diode. The laser diodes are controlled by corresponding drivers. Each driver receives the control voltage output by the calculation module for each laser diode. The control voltage adopts PWM Modulation output, the driver converts the control voltage of the PWM modulation output into the driving current to control the light emission of each laser diode.
3. The red, green and blue laser diode color synthesis control device according to claim 2, characterized in that: The control device also includes a calibration module for calibrating the laser diode, and the calibration module includes an integrating sphere and a colorimeter. The camera is inserted into the integrating sphere, and the laser diodes are turned on in sequence. The camera captures the corresponding lighting color image, and each lighting color image is read by the image reading module. The XYZ value of the CIE1931 color space of the corresponding laser diode is measured using the colorimeter. The calculation module obtains the RGB channel value of each lighting color image based on the reading result of the image reading module, and calculates the chromaticity coordinates, conversion coefficient and CIE1931 XYZ conversion matrix of each laser diode based on the RGB channel value and the corresponding XYZ value of each lighting color. Then, the calculation module calculates the theoretical output power corresponding to the laser diode based on the chromaticity coordinates, conversion coefficient and chromaticity coordinates of each laser diode.
4. A red, green and blue laser diode color synthesis control method, characterized in that: The steps include: S1, selecting the chromaticity coordinates of the target lighting color and the target lighting power, and calculating and obtaining the theoretical output power of the laser diode; S2, selecting a correction chromaticity coordinate, calculating the chromaticity coordinate of the actual lighting color corresponding to the correction chromaticity coordinate, adjusting the output power of the laser diode by comparing the evaluation function to perform color calibration, and determining a correction coefficient; S3, obtaining the actual output power of the laser diode corresponding to the target lighting color according to the theoretical output power of the target lighting color and a correction coefficient, and controlling the voltage according to the actual output power to obtain the target lighting color.
5. The red, green, and blue laser diode color synthesis control method according to claim 4, wherein S2 determining the correction coefficient specifically comprises selecting multiple sets of corrected chromaticity coordinates, calculating the theoretical output power of each laser diode corresponding to each set of corrected chromaticity coordinates, controlling a voltage according to the theoretical output power corresponding to the corrected chromaticity coordinates to obtain a corresponding actual synthesized color, comparing the corrected chromaticity coordinates with the chromaticity coordinates of the actual synthesized color using the evaluation function to adjust the theoretical output power of each set of corrected chromaticity coordinates to obtain the actual output power of each set of corrected chromaticity coordinates, and calculating the correction coefficient M. cor .
6. The method for controlling color synthesis of red, green and blue laser diodes according to claim 5, wherein: The laser diodes include a red laser diode, a green laser diode, and a blue laser diode; S1 obtains the theoretical output power of the laser diode, specifically including selecting the chromaticity coordinates (x, y) of the target lighting color and the target lighting power P total , calculate the luminous flux component of the laser diode under the same luminous flux by the following formula: Among them, (x R ,y R ) and F R are the chromaticity coordinates and luminous flux components of the red laser diode, (x G ,y G ) and F G are the chromaticity coordinates and luminous flux components of the green laser diode, (x B ,y B ) and F B are the chromaticity coordinates and luminous flux components of the blue laser diode respectively, and the theoretical output power of the laser diode is calculated by the following formula: Among them, P R is the theoretical output power of the red laser diode, P G is the theoretical output power of the green laser diode, P B is the theoretical output power of the blue laser diode, K R is the theoretical output power of the red laser diode and the grayscale conversion coefficient, K G is the theoretical output power of the green laser diode and the grayscale conversion coefficient, K B is the theoretical output power of the blue laser diode and the grayscale conversion coefficient.
7. The method for controlling color synthesis of red, green and blue laser diodes according to claim 6, wherein: S1 also includes setting the output power of the laser diode, calculating the chromaticity coordinates, conversion coefficients and CIE1931 XYZ conversion matrix of the laser diode, and performing calibration, specifically including inserting the camera into a completely black integrating sphere, turning on the laser diodes in sequence, obtaining illumination images of corresponding colors, reading the red, green and blue channel values of the corresponding illumination colors, and measuring the X, Y and Z values of the laser diode in the CIE1931 color space; S101, only turn on the red laser diode, set the light power of the red laser diode to P1, read the red, green and blue channel values of the red lighting color, which are R1, G1 and B1 respectively, and measure the X1, Y1 and Z1 values of the red laser diode in the CIE1931 color space, and calculate the chromaticity coordinates (x R ,y R ) and conversion coefficient K R ; S102, only the green laser diode is turned on, the optical power of the green laser diode is set to P2, the red, green and blue channel values of the green lighting color are read, which are R2, G2 and B2 respectively, and the X2, Y2 and Z2 values of the green laser diode in the CIE1931 color space are measured to calculate the chromaticity coordinates (x G ,y G ) and conversion coefficient K G ; S103, only the blue laser diode is turned on, the optical power of the blue laser diode is set to P3, the red, green and blue channel values of the blue lighting color are read, which are R3, G3 and B3 respectively, and the X3, Y3 and Z3 values of the blue laser diode in the CIE1931 color space are measured to calculate the chromaticity coordinates (x B ,y B ) and conversion coefficient K B ; S104, calculating and obtaining the CIE1931 XYZ conversion matrix based on the red, green, and blue channel values of the red, green, and blue laser diodes and the corresponding XYZ values of the CIE1931 color space 8. The method for controlling color synthesis of red, green and blue laser diodes according to claim 7, wherein: The chromaticity coordinates (x M ,y M ) and conversion coefficient K M : Among them, P M is the output power of the laser diode when it is turned on, R M , G M , B M is the RGB channel value of the lighting color M to be obtained, X M 、Y M 、Z M is the XYZ value of the lighting color M in the CIE1931 color space; According to the following formula, through the transformation matrix M tran Convert RGB channel values to XYZ values:
9. The method for controlling color synthesis of red, green and blue laser diodes according to claim 6, wherein: In S3, the theoretical output power (P R , P G ,P B ) and correction factor M cor Get the actual output power (I) of the laser diode corresponding to the target lighting color R ,I G ,I B ): Among them, I R The actual output power of the red laser diode for the target illumination color, I G The actual output power of the green laser diode for the target illumination color, I B Actual output power of a blue laser diode for the target illumination color.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 4 to 9 when executed by a processor.
Citation Information
Patent Citations
Light mixing method based on three-primary-color LEDs
CN106162981A
System and method of dynamically adjusting color gamut of display system and display system
CN110874002A
Light mixing method, system and device of RGB-LED light source
CN114340080A
Device and method for controlling color synthesis of red, green and blue laser diodes
CN118158851A
Light source unit and projector
US20160131968A1