Light source calibration method and device, light source host and light emitting control equipment

By using the light quantity detector and correction response coefficient in the endoscopic light source host for light source calibration, the problem of low accuracy of light source calibration in the prior art is solved, and the stability of the light source and imaging effect are improved.

CN119172890APending Publication Date: 2024-12-20CHANGZHOU UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311781861.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The existing light source calibration methods have low accuracy in the endoscopy, which leads to a chromatic shift in the endoscopy imaging, affecting the doctor's diagnosis and treatment.

Method used

By using a light detector in the light source host, the actual photovoltage ratio and the standard photovoltage ratio of the light source branch are determined, and the driving parameters are adjusted to achieve accurate calibration of the light source.

Benefits of technology

Improves the accuracy of light source calibration, ensures the tone stability of endoscopic imaging, and improves the effectiveness of doctors' diagnosis and treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172890A_ABST
    Figure CN119172890A_ABST
Patent Text Reader

Abstract

The invention relates to a light source calibration method and device, a light source host and light emitting control equipment. The method comprises the following steps: determining an actual light receiving voltage ratio of a light quantity detector in a target light source branch corresponding to a target light source in a light source host under the condition that the target light source is driven to emit light by utilizing a preset mode, and correcting the target light source according to a standard light quantity ratio corresponding to the target light source in the preset mode and a correction response coefficient corresponding to each target light source branch, and determining a standard light receiving voltage ratio of the light quantity detector in each target light source branch, so as to calibrate the target light source according to the standard light receiving voltage ratio and the actual light receiving voltage ratio. Wherein the target light source is at least one light source in a plurality of light sources in the light source host; the correction response coefficient is determined according to the relation between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combination part. By adopting the method, the calibration accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of light source technology, and in particular to a light source calibration method, device, light source host and light output control device. Background Art

[0002] Taking an endoscope as an example, when the light source host of the endoscope is working, the ratio between the light emission of each LED needs to be kept stable and controllable, otherwise the imaging of the endoscope will have color deviation, affecting the doctor's diagnosis and treatment.

[0003] The relevant scheme will install a spectrometer and a light detector for each LED in the light source host. A small amount of illumination light from the LED will be reflected by the spectrometer and incident on the light detector to monitor the light emission. The light emission of the LED will then be calibrated based on the monitoring results to achieve a good lighting effect.

[0004] However, current calibration methods suffer from low accuracy. Summary of the invention

[0005] Based on this, it is necessary to provide a light source calibration method, device, light source host and light output control device that can improve accuracy in response to the above technical problems.

[0006] In a first aspect, the present application provides a light source calibration method, comprising:

[0007] Under the condition that the target light source is driven to emit light by using a preset mode, an actual light-receiving voltage ratio of a light quantity detector in a target light source branch corresponding to the target light source is determined; the target light source is at least one light source among a plurality of light sources in the light source host;

[0008] According to the standard light quantity ratio corresponding to the target light source in the preset mode and the correction response coefficient corresponding to each target light source branch, the standard light receiving voltage ratio of the light quantity detector in each target light source branch is determined; the correction response coefficient is determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part;

[0009] The target light source is calibrated according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio.

[0010] In one embodiment, the method further comprises:

[0011] For each light source, when the light source is driven to emit light using the first driving parameter, determine the absolute spectrum output by the light combining unit in the light source branch corresponding to the light source and the light receiving voltage of the light quantity detector in the light source branch;

[0012] Integrating the absolute spectrum within the wavelength band of the light source to obtain a first light quantity value;

[0013] Determine a fitting curve according to first light quantity values ​​and light-receiving voltages corresponding to a plurality of first driving parameters;

[0014] According to the slope of the fitting curve, the correction response coefficient corresponding to the light source branch of the light source is determined.

[0015] In one embodiment, calibrating the target light source according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio includes:

[0016] According to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio, the driving parameters of the target light source in the preset mode are adjusted to obtain new driving parameters to calibrate the target light source. The new driving parameters are the driving parameters when the actual light-receiving voltage ratio is consistent with the standard light-receiving voltage ratio.

[0017] In one embodiment, adjusting the driving parameters of the target light source in the preset mode to obtain new driving parameters includes:

[0018] Taking the red light in the target light source as a reference, the driving parameters of the light sources other than the red light in the target light source in the preset mode are adjusted to obtain new driving parameters.

[0019] In one embodiment, according to the standard light intensity ratio corresponding to the target light source in the preset mode and the correction response coefficient corresponding to each target light source branch, the standard light receiving voltage ratio of the light intensity detector in each target light source branch is determined, including:

[0020] For each target light source branch, the correction response coefficient corresponding to the target light source branch is multiplied by the value corresponding to the target light source branch in the standard light source ratio to obtain the standard light receiving voltage ratio.

[0021] In one of the embodiments, the light detector is used to detect the reflected light of the target light source in the same target light source branch.

[0022] In one embodiment, the method further comprises:

[0023] According to the target brightness level of the target light source and the first current lookup table, the correction driving parameter corresponding to the target brightness level is determined; the first current lookup table includes the relationship between different brightness levels of each light source and the correction driving parameter; the first current lookup table is determined according to the actual light quantity value and the standard light quantity value output by the light combining part in the light source branch corresponding to each light source at different brightness levels;

[0024] The target light source is calibrated using the corrected driving parameters corresponding to the target brightness level.

[0025] In one embodiment, the method further comprises:

[0026] For each light source, according to the preset brightness level and the second current lookup table, when the light source is driven by the second driving parameter, the actual light quantity value output by the light combining part in the light source branch corresponding to the light source is determined; the second current lookup table includes the corresponding relationship between different brightness levels of each light source and the second driving parameter;

[0027] According to the preset brightness level and light quantity lookup table, the standard light quantity value output by the light combining part in the light source branch corresponding to the light source is determined; the light quantity lookup table includes the corresponding relationship between different brightness levels and light quantity values ​​of each light source;

[0028] A first current lookup table is determined according to the actual light quantity value and the standard light quantity value.

[0029] In one embodiment, determining a first current lookup table according to an actual light quantity value and a standard light quantity value includes:

[0030] When the actual light quantity value is inconsistent with the standard light quantity value, a correction driving parameter corresponding to the preset brightness level is determined; the correction driving parameter corresponding to the preset brightness level is a driving parameter when the actual light quantity value output by the light combining part in the light source branch corresponding to the light source is consistent with the standard light quantity value after the second driving parameter is adjusted;

[0031] A first current lookup table is determined according to the modified driving parameters corresponding to a plurality of different preset brightness levels.

[0032] In one embodiment, a first current lookup table is determined according to the modified driving parameters corresponding to a plurality of different preset brightness levels, including:

[0033] The modified driving parameters corresponding to a plurality of different preset brightness levels are fitted to determine a first current lookup table.

[0034] In one embodiment, determining an actual light quantity value output by a light combining unit in a light source branch corresponding to the light source includes:

[0035] Determine the spectrum data output by the light combining part in the light source branch by using a spectral radiometer;

[0036] The actual light quantity value is obtained by integrating the spectral data within the wavelength band of the light source.

[0037] In one embodiment, according to the preset brightness level and the second current lookup table, when the light source is driven by the second driving parameter, determining the actual light quantity value output by the light combining part in the light source branch corresponding to the light source includes:

[0038] For each light source, when the light source is driven by the second driving parameter, determining an actual junction temperature of the light source;

[0039] Determine the standard junction temperature of the light source according to the preset brightness level and the junction temperature lookup table; the junction temperature lookup table includes the relationship between different brightness levels and junction temperatures of each light source;

[0040] When the actual junction temperature is consistent with the standard junction temperature, an actual light quantity value output by the light combining part in the light source branch corresponding to the light source when the light source is driven by the second driving parameter is determined.

[0041] In one embodiment, the method further comprises:

[0042] If the actual junction temperature is inconsistent with the standard junction temperature, restart the light source host.

[0043] In one embodiment, the method further comprises:

[0044] Obtain the current brightness data corresponding to the light source host at the first brightness level;

[0045] Determine the target ratio according to the current brightness data and target brightness data corresponding to the light source host;

[0046] When the target ratio is greater than a preset threshold, determining a second brightness level according to the target ratio and the first brightness level;

[0047] The target light source is driven to emit light using the second brightness level.

[0048] In one embodiment, determining the second brightness level according to the target ratio and the first brightness level includes:

[0049] Determine a second brightness value corresponding to the first brightness level according to the correction lookup table and the first brightness level; the correction lookup table includes a correspondence between different brightness levels of each light source and light quantity values;

[0050] Correcting the second brightness value using the target ratio to obtain a third brightness value;

[0051] A second brightness level corresponding to the third brightness value is determined according to the third brightness value and the modified lookup table.

[0052] In one embodiment, the correction lookup table further includes a correspondence between different brightness levels of each brightness and the correction driving parameter; using the second brightness level to drive the target light source to emit light includes:

[0053] Determining a corrected driving parameter corresponding to the second brightness level according to the second brightness level and the corrected lookup table;

[0054] The target light source is driven to emit light using the modified driving parameters corresponding to the second brightness level.

[0055] In one embodiment, before driving the target light source to emit light using the modified driving parameter corresponding to the second brightness level, the method further includes:

[0056] Determining each correction driving parameter between the first brightness level and the second brightness level according to the correction lookup table;

[0057] The target light source is driven to emit light in sequence using the modified driving parameters between the first brightness level and the second brightness level.

[0058] In one embodiment, determining the target ratio according to current brightness data and target brightness data corresponding to the light source host includes:

[0059] Determine the difference between the current brightness data and the target brightness data;

[0060] The target ratio is determined based on the ratio between the difference value and the target brightness data.

[0061] In a second aspect, the present application also provides a light source calibration device, comprising:

[0062] A first determination module is used to determine an actual light-receiving voltage ratio of a light quantity detector in a target light source branch corresponding to the target light source when the target light source is driven to emit light using a preset mode; the target light source is at least one light source among the multiple light sources in the light source host;

[0063] The second determination module is used to determine the standard light-receiving voltage ratio of the light quantity detector in each target light source branch according to the standard light quantity ratio corresponding to the target light source in the preset mode and the corrected response coefficient corresponding to each target light source branch; the corrected response coefficient is determined according to the relationship between the light-receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part;

[0064] The first calibration module is used to calibrate the target light source according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio.

[0065] In a third aspect, the present application further provides a light source host, including light source branches corresponding to each light source; the light source branch includes a light source, a light splitting device, a light detector corresponding to the light source, a target device and a light combining unit, and the light combining unit of each light source branch is the same;

[0066] A light detector, used to detect the reflected light of the light source in the same light source branch through the light splitting device;

[0067] A light combining unit, used for receiving light emitted from each light source branch;

[0068] The target device includes a filter and / or a light blocking structure disposed on the light detector;

[0069] The light source host is the light source host in any of the above methods.

[0070] In a fourth aspect, the present application further provides a light output control device, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of any of the above methods when executing the computer program.

[0071] In a fifth aspect, the present application also provides an endoscope system, which includes: a display device, a target scope, and a light output control device as described above.

[0072] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0073] In a seventh aspect, the present application also provides a computer program product, comprising a computer program, which implements the steps of any of the above methods when executed by a processor.

[0074] In the above-mentioned light source calibration method, device, light source host and light output control device, the target light source is at least one of the multiple light sources in the light source host. Since the correction response coefficient is determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part, the correction response coefficient can reflect the relationship between the light quantity detector in the target light source branch and the light quantity value output by the light combining part, eliminating the adverse effects of various factors such as individual differences of light quantity detectors, different sensitivities to different wavelengths, individual differences of spectroscopes and installation errors. Furthermore, when the target light source is driven to emit light using a preset mode, the actual light receiving voltage ratio of the light quantity detector in the target light source branch corresponding to the target light source in the light source host is determined, and according to the standard light quantity ratio corresponding to the target light source in the preset mode and the correction response coefficient corresponding to each target light source branch, the standard light receiving voltage ratio of the light quantity detector in each target light source branch can be accurately determined. Furthermore, according to the standard light receiving voltage ratio and the actual light receiving voltage ratio, the target light source can be accurately calibrated to achieve accurate adjustment of the brightness ratio of the light source host. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0076] Figure 1 is the response curve of the light detector;

[0077] Figure 2This is an application environment diagram of the light source calibration method in an embodiment of the present application;

[0078] Figure 3 Schematic diagram of the process of the light source calibration method in the embodiment of the present application;

[0079] Figure 4 This is a structural schematic diagram of a light source host in an embodiment of the present application;

[0080] Figure 5 A schematic diagram of a process for determining a corrected response coefficient in an embodiment of the present application;

[0081] Figure 6 A schematic diagram of a fitting curve in an embodiment of the present application;

[0082] Figure 7 A flowchart of another calibration process in an embodiment of the present application;

[0083] Figure 8 A schematic diagram of a process for determining a first current lookup table in an embodiment of the present application;

[0084] Fig. 9 This is a schematic diagram of another process of determining a first current lookup table in an embodiment of the present application;

[0085] Fig.10 This is a schematic diagram of a process for determining an actual light quantity value in an embodiment of the present application;

[0086] Fig.11 A schematic diagram of a process for determining an actual light quantity value in an embodiment of the present application;

[0087] Fig.12 A flowchart of another calibration process in an embodiment of the present application;

[0088] Fig.13 This is a schematic diagram of a process for obtaining a corrected brightness value in an embodiment of the present application;

[0089] Fig.14 A schematic diagram of a process of driving a target light source to emit light in an embodiment of the present application;

[0090] Fig.15 This is a schematic diagram of another process of driving a target light source to emit light in an embodiment of the present application;

[0091] Fig.16 This is a schematic diagram of a process for determining a target ratio in an embodiment of the present application;

[0092] Fig.17 A schematic diagram of a light source calibration method according to an embodiment of the present application;

[0093] Fig.18This is a structural block diagram of a light source calibration device in an embodiment of the present application;

[0094] Fig.19 This is a structural schematic diagram of a light source host in an embodiment of the present application;

[0095] Fig. 20 This is a spectrum diagram in an embodiment of the present application;

[0096] Fig.21 This is another spectrum schematic diagram in the embodiment of the present application;

[0097] Fig. 22 This is a structural schematic diagram of a light output control device in an embodiment of the present application;

[0098] Fig.23 It is a schematic diagram of the structure of an endoscope system in an embodiment of the present application. DETAILED DESCRIPTION

[0099] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0100] Figure 1 is the response curve of the light detector, Figure 1 The response differences between light detectors A, B and C of the same model and batch are shown. Figure 1 The horizontal axis represents the wavelength, and the vertical axis represents the sensitivity of the light detector. Figure 1 As shown, first, the spectral response of the light detector is not flat. For the same light detector, its sensitivity to short-wavelength light is low, and its sensitivity to long-wavelength light is high. Second, the responses of different light detectors are not completely consistent. For example Figure 1 There will also be response differences between the light detectors A, B and C of the same model and batch. Third, the installation angle error of the spectrometer will cause a certain fluctuation in the splitting ratio, which will also affect the response of the light detector. Affected by the above factors, the method of calibrating using light detectors has the problem of low accuracy. Based on this, it is necessary to propose a light source calibration method, which will be introduced below.

[0101] Figure 2FIG. 1 is an application environment diagram of the light source calibration method in the embodiment of the present application. The light control device 101 can communicate with the light source host 202 and the spectral radiometer 203 respectively. Taking the application in the field of endoscope as an example, the light source host 202 generates illumination light, and the illumination light passes through the standard mirror body and the head end to irradiate the target to be measured. The spectral radiometer 203 can measure the light spectrum of the light source host 202.

[0102] The light control device 201 can be implemented with an independent server or a server cluster composed of multiple servers, which also includes but is not limited to a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA) or at least one of other programmable logic devices. Taking the application in the field of endoscopes as an example, the light control device 201 can also be an image processing device or a light source host in the endoscope system. The light source host 101 and the image processing device 103 can also be the same device. In some embodiments, the light control device 201 can also be built into the light source host 202.

[0103] The following mainly uses the light source calibration method applied in the field of endoscopes as an example. The light source calibration method can also be applied to other lighting, display and other fields.

[0104] Figure 3 FIG. 1 is a flow chart of a light source calibration method in an embodiment of the present application. In an exemplary embodiment, Figure 3 As shown, a light source calibration method is provided, which is applied to Figure 2 The light output control device in is taken as an example to illustrate, including the following S301 to S303.

[0105] S301, when a target light source is driven to emit light using a preset mode, determining an actual light-receiving voltage ratio of a light quantity detector in a target light source branch corresponding to the target light source; the target light source is at least one of a plurality of light sources in a light source host.

[0106] In this embodiment, the light source host includes light source branches corresponding to multiple light sources, and the light source branch refers to the propagation path of the corresponding light source in the light source host, that is, the light source can be emitted from the light source host through the light source branch. Each light source can emit light of a specific color.

[0107] Each light source branch at least includes a light source, a light splitting device, a light quantity detector and a light combining unit. In some embodiments, each light source branch may also include a dichroic mirror disposed at the intersection of each light source branch, a collimating lens disposed at the light source and other structures. Among them, the light splitting device includes but is not limited to a light splitter. The angle between the light splitting device and the optical axis of the light path can be 35°-45°. The angle between the dichroic mirror and the optical axis of the light path can be 45°.

[0108] Figure 4 Schematic diagram of the structure of a light source host in an embodiment of the present application, taking the light source including R-LED corresponding to red light, G-LED corresponding to green light, B-LED corresponding to blue light and UV-LED corresponding to purple light as an example, Figure 4 As shown, the light source host 202 includes a light source branch corresponding to red light, a light source branch corresponding to green light, a light source branch corresponding to blue light, and a light source branch corresponding to purple light.

[0109] The light source branch corresponding to the red light includes the red light source R-LED, the spectroscopic device S1, the light quantity detector PD1, the dichroic mirror HM1, the dichroic mirror HM2, the dichroic mirror HM3 and the light combining unit. The central wavelength of the red light LED is 620nm. After the R-LED is powered on, the light beam generated by the R-LED first passes through the spectroscopic device S1, and about 5% of the red light is reflected to the light quantity detector PD1. The rest of the red light is reflected by the dichroic mirror HM1, the dichroic mirror HM2 and the dichroic mirror HM3 in turn and then enters the light combining unit.

[0110] The light source branch corresponding to green light includes the green light source G-LED, the light splitter S2, the light quantity detector PD2, the dichroic mirror HM1, the dichroic mirror HM2, the dichroic mirror HM3 and the light combining unit. The central wavelength of the green light LED is 530nm. After the G-LED is powered on, the light beam generated by the G-LED first passes through the light splitter S2, and about 5% of the green light is reflected to the light quantity detector PD2. The rest of the green light is reflected by the dichroic mirror HM1, the dichroic mirror HM2 and the dichroic mirror HM3 in turn and then enters the light combining unit.

[0111] The light source branch corresponding to the blue light includes the blue light source B-LED, the light splitter S3, the light quantity detector PD3, the dichroic mirror HM2, the dichroic mirror HM3 and the light combining unit. The central wavelength of the blue light LED is 450nm. After the B-LED is powered on, the light beam generated by the B-LED first passes through the light splitter S3, and about 5% of the blue light is reflected to the light quantity detector PD3. The rest of the blue light is reflected by the dichroic mirror HM2 and the dichroic mirror HM3 in turn and then enters the light combining unit.

[0112] The light source branch corresponding to the purple light includes the purple light source UV-LED, the spectroscopic device S4, the light quantity detector PD4, the dichroic mirror HM3 and the light combining unit. The central wavelength of the UV-LED is 415nm. After the UV-LED is powered on, the light beam generated by the UV-LED first passes through the spectroscopic device S4, and about 5% of the purple light is reflected to the light quantity detector PD4, and the rest of the purple light is reflected by the dichroic mirror HM3 and enters the light combining unit.

[0113] It is understandable that the above description uses the light source including LED as an example, and the present application can also be applied to other types of light sources. Furthermore, the target light source includes at least one of the multiple light sources in the light source host. In a preset mode, the light control device can determine the target light source. Optionally, the light control device can store the correspondence between different modes and light sources. In this way, after determining the preset model, the corresponding target light source can be determined.

[0114] Furthermore, the target light source can be driven to emit light using a preset mode. Optionally, the light control device can store the relationship between different modes and driving parameters, and then drive the target light source to emit light using the driving parameters corresponding to the preset mode. The driving parameters include but are not limited to the DAC value for driving the target light source to emit light.

[0115] Furthermore, when the target light source is driven to emit light using a preset mode, the light control device can determine the actual light-receiving voltage ratio of the light quantity detector in the target light source branch corresponding to the target light source. Figure 4 Taking the target light sources including R-LED, G-LED, B-LED and UV-LED as an example, the light control device will determine the actual light-receiving voltage ratio between the light-receiving voltage of PD1, the light-receiving voltage of PD2, the light-receiving voltage of PD3 and the light-receiving voltage of PD4, which is recorded as v'r:v'g:v'b:v'uv.

[0116] The light source branch corresponding to the target light source is the target light source branch. In an exemplary embodiment, the light detector is used to detect the reflected light of the target light source in the same target light source branch. In other words, for the light detector in each light source branch, it will not be interfered by the light in other light source branches, so the placement of each hardware in the light source branch is limited. Figure 4 For example, the light detector PD1 only receives the reflected light of the R-LED in the corresponding light source branch, the light detector PD2 only receives the reflected light of the G-LED in the corresponding light source branch, and so on.

[0117] S302, determining the standard light receiving voltage ratio of the light detector in each target light source branch according to the standard light quantity ratio corresponding to the target light source in the preset mode and the corrected response coefficient corresponding to each target light source branch; the corrected response coefficient is determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part.

[0118] In this embodiment, the light control device can determine the standard light quantity ratio corresponding to the target light source in the preset mode. Optionally, the light control device can store the corresponding relationship between the standard light quantity ratios corresponding to different modes. Taking the preset mode as the white light mode, the target light source includes R-LED, G-LED, B-LED and UV-LED as an example, the standard light quantity ratio Pr:Pg:Pb:Puv corresponding to the target light source can be 1:1:1:0.2.

[0119] Furthermore, the light control device can also determine the correction response coefficient corresponding to each target light source branch. Taking the target light source branches including the light source branches corresponding to R-LED, G-LED, B-LED and UV-LED as an example, the light source branch of R-LED corresponds to the correction response coefficient kr, the light source branch of G-LED corresponds to the correction response coefficient kg, the light source branch of B-LED corresponds to the correction response coefficient kb, and the light source branch of UV-LED corresponds to the correction response coefficient kuv.

[0120] Please continue to refer to Figure 4 In the relevant scheme, after being irradiated by light, the light detectors PD1 to PD4 will output corresponding light-receiving voltages Vr, Vg, Vb and Vuv respectively. However, due to the individual differences of the light detectors, the different sensitivities to different wavelengths, the reflectivity of the spectroscope and the installation error, there are certain fluctuations in the mapping relationship between Vr: Vg: Vb: Vuv in different light source hosts and the light ratio of the light source host, which makes it impossible to accurately calibrate the brightness ratio of the light source host.

[0121] The applicant's research found that although light detectors have individual differences and different responsiveness to light of different wavelength bands, for each light source host, the attenuation of light by the optical elements in the optical path of the light source host is theoretically relatively fixed, which is ultimately reflected in the fact that the responsiveness of the light detector to incident light of the same spectrum is a constant value, and according to the photoelectric response characteristics of the light detector, while ensuring that the incident light does not exceed the detection upper limit of the light detector, the responsiveness does not change with the incident light.

[0122] Therefore, in this embodiment, the correction response coefficient can be determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining unit. The light quantity value output by the light combining unit can be determined by the output of the head end of the standard mirror body connected to the light source host.

[0123] Please continue to refer to Figure 4 , taking the target light source branch as the light source branch corresponding to B-LED as an example, the light source branch corresponding to blue light is Figure 4 The part indicated by the dotted line in the middle. Furthermore, when B-LED emits light alone, the light-receiving voltage of the light detector PD3 and the light value output by the light combining unit can be determined to determine the corrected response coefficient kb. In this way, the corrected response coefficient kb can reflect the relationship between the light detector PD3 and the light value output by the light combining unit, and the light value output by the light combining unit is affected by factors such as the optical components and device placement in the light source branch corresponding to B-LED. Therefore, the corrected response coefficient kb can include factors such as individual differences and installation errors of the light detector PD3 in the light source branch corresponding to B-LED. The same is true for other light sources, which will not be repeated here.

[0124] Furthermore, the light output control device will obtain a standard light receiving voltage ratio based on the standard light intensity ratio and the corrected response coefficient, eliminating the adverse effects of factors such as individual differences in light intensity detectors, different sensitivities to different wavelengths, individual differences in spectroscopes, and installation errors.

[0125] In an exemplary embodiment, S302 may be implemented in the following manner:

[0126] For each target light source branch, multiply the corrected response coefficient corresponding to the target light source branch by the value corresponding to the target light source branch in the standard light source ratio to obtain the standard light receiving voltage ratio. In other words, the corrected response coefficient kr is multiplied by Pr in the standard light quantity ratio, the corrected response coefficient kg is multiplied by Pg in the standard light quantity ratio, the corrected response coefficient kb is multiplied by Pb in the standard light quantity ratio, and the corrected response coefficient kuv is multiplied by Puv in the standard light quantity ratio. Continuing with the above example, the standard light quantity ratio Pr:Pg:Pb:Puv corresponding to the target light source is 1:1:1:0.2, then the standard light receiving voltage ratio is vr:vg:vb:vuv=kr:kg:kb:(0.2×kuv).

[0127] S303, calibrating the target light source according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio.

[0128] In this embodiment, after determining the standard light-receiving voltage ratio and the actual light-receiving voltage ratio, the standard light-receiving voltage ratio and the actual light-receiving voltage ratio are compared to obtain the working state of the target light source. For example, assuming that the standard light-receiving voltage ratio vr:vg:vb:vuv is 2:1:1:0.5, and the actual light-receiving voltage ratio v'r:v'g:v'b:v'uv is 1.8:1:0.9:0.5, it can be determined that the light emission of G-LED and B-LED is low.

[0129] Optionally, the light output control device can determine that the brightness ratio of the light source host meets the requirements when the standard light-receiving voltage ratio and the actual light-receiving voltage ratio are consistent, and then increase or decrease the light output of each LED as a whole according to the actual imaging effect of the image.

[0130] In the above light source calibration method, the target light source is at least one of the multiple light sources in the light source host. Since the correction response coefficient is determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part, the correction response coefficient can reflect the relationship between the light quantity detector in the target light source branch and the light quantity value output by the light combining part, eliminating the adverse effects of various factors such as individual differences of the light quantity detector, different sensitivities to different wavelengths, individual differences of the spectroscope and installation errors. Furthermore, when the target light source is driven to emit light using a preset mode, the actual light receiving voltage ratio of the light quantity detector in the target light source branch corresponding to the target light source in the light source host is determined, and according to the standard light quantity ratio corresponding to the target light source in the preset mode and the correction response coefficient corresponding to each target light source branch, the standard light receiving voltage ratio of the light quantity detector in each target light source branch can be accurately determined. Furthermore, according to the standard light receiving voltage ratio and the actual light receiving voltage ratio, the target light source can be accurately calibrated to achieve accurate adjustment of the brightness ratio of the light source host.

[0131] Figure 5 FIG. 1 is a flow chart of determining a modified response coefficient in an embodiment of the present application. In an exemplary embodiment, Figure 5 As shown, before S301, the above light source calibration method further includes S301 to S303.

[0132] S501 , for each light source, when the light source is driven to emit light using a first driving parameter, determine an absolute spectrum output by a light combining unit in a light source branch corresponding to the light source and a light receiving voltage of a light quantity detector in the light source branch.

[0133] In this embodiment, the first driving parameter refers to an electrical parameter for driving the LED, which may be a driving current or a driving voltage. Figure 4 , when the light control device drives Ir1 with the first driving parameter to drive only R-LED, the absolute spectrum Sr1(λ) output by the light combining unit and the light receiving voltage Vr1 of the light detector PD1 can be determined. The absolute spectrum output by the light combining unit can be determined by measuring the output of the head end of the standard mirror body connected to the light source host.

[0134] S502: Integrate the absolute spectrum within the wavelength band of the light source to obtain a first light quantity value.

[0135] Furthermore, the light control device can integrate the absolute spectrum Sr1(λ) in the red light band of 610nm-630nm to obtain the first light quantity value Pr1. It is understandable that different light sources have different wavelengths, and the light control device can store the light bands corresponding to different light sources.

[0136] S503, determining a fitting curve according to the first light quantity values ​​and the light-receiving voltage corresponding to the plurality of first driving parameters.

[0137] Continuing with the R-LED as an example, the output processing device will obtain the first light quantity values ​​and light-receiving voltages corresponding to the multiple first driving parameters. For example, when the first driving parameter is used to drive Ir2 to drive only the R-LED, the absolute spectrum Sr2 (λ) output by the light combining unit and the light-receiving voltage Vr2 of the light detector PD1 are determined; when the first driving parameter is used to drive Ir3 to drive only the R-LED, the absolute spectrum Sr3 (λ) output by the light combining unit and the light-receiving voltage Vr3 of the light detector PD1 are determined, and so on.

[0138] Optionally, the light control device may store the correspondence between different gears and the first driving parameter. As shown in Table 1, Table 1 shows the correspondence between 30 brightness gears and the first driving parameter. As shown in Table 1, at brightness gear 1, the R-LED may be driven by the first driving parameter Ir1, the G-LED may be driven by the first driving parameter Ig1, the B-LED may be driven by the first driving parameter Ib1, the UV-LED may be driven by the first driving parameter Iuv1, and so on.

[0139] The brightness level is used to indicate the brightness of the light source. In this way, the light control device can drive the R-LED with the first driving parameters Ir1, Ir2, ..., Ir30, and obtain the corresponding first light quantity values ​​Pr1 to Pr30 and the light receiving voltages Vr1 to Vr30.

[0140] Table 1 Correspondence between brightness levels and first driving parameters

[0141] Brightness level R-LED G-LED B-LED UV-LED 1 Ir1 Ig1 Ib1 Iuv1 2 Ir2 Ig2 Ib2 Iuv2 3 Ir3 Ig3 Ib3 Iuv3 … … … … … 29 Ir29 Ig29 Ib29 Iuv29 30 Ir30 Ig30 Ib30 Iuv30

[0142] Furthermore, the light control device can obtain a fitting curve corresponding to the light source branch of the R-LED according to the first light quantity values ​​Pr1 to Pr30 and the light receiving voltages Vr1 to Vr30. Optionally, the light control device can directly fit the relationship between the first light quantity values ​​and the light receiving voltages corresponding to the multiple first driving parameters to obtain the fitting curve, or can filter the first light quantity values ​​and the light receiving voltages corresponding to the multiple first driving parameters, remove abnormal values, etc., and then fit to obtain the fitting curve.

[0143] Similarly, the light control device drives the G-LED with the first driving parameters Ig1 to Ig30, and obtains the corresponding first light quantity values ​​Pg1 to Pg30 and the light receiving voltages Vg1 to Vg30, and obtains the fitting curve corresponding to the light source branch of the G-LED according to the first light quantity values ​​Pg1 to Pg30 and the light receiving voltages Vg1 to Vg30. Similarly, the light control device can also obtain the fitting curve corresponding to the light source branch of the B-LED and the fitting curve corresponding to the light source branch of the UV-LED.

[0144] Figure 6 is a schematic diagram of a fitting curve in an embodiment of the present application, Figure 6 The light intensity value is the horizontal axis, the light-receiving voltage is the vertical axis, and the fitting curve corresponding to the red light is also the fitting curve corresponding to the light source branch of the R-LED. The same is true for other light sources, which will not be repeated here.

[0145] S504: Determine a correction response coefficient corresponding to the light source branch of the light source according to the slope of the fitting curve.

[0146] Continuing with the above example, the slope of the fitting curve corresponding to the red light can be used as the correction response coefficient Kr corresponding to the light source branch of the R-LED. The same is true for other light sources, which will not be repeated here. Since the correction response coefficient corresponding to the light source branch is determined based on the slope of the fitting curve, Vr = kr × Pr, Vg = kg × Pg, Vb = kb × Pb, and Vuv = kuv × Puv.

[0147] In the above embodiments, for each light source, when the light source is driven to emit light by using the first driving parameter, the absolute spectrum output by the light combining part in the light source branch corresponding to the light source and the light receiving voltage of the light quantity detector in the light source branch are determined, the absolute spectrum is integrated within the wavelength band of the light source to obtain the first light quantity value, and a fitting curve is determined based on the first light quantity values ​​and the light receiving voltage corresponding to the multiple first driving parameters. According to the slope of the fitting curve, the corrected response coefficient corresponding to the light source branch of the light source is determined. Therefore, the corrected response coefficient can reflect the relationship between the light quantity values ​​output by the light quantity detector and the light combining part in the target light source branch, thereby eliminating the adverse effects of various factors such as individual differences of light quantity detectors, different sensitivities to different wavelengths, individual differences of spectroscopes, and installation errors.

[0148] In an exemplary embodiment, the above S303 may be implemented in the following manner:

[0149] According to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio, the driving parameters of the target light source in the preset mode are adjusted to obtain new driving parameters to calibrate the target light source. The new driving parameters are the driving parameters when the actual light-receiving voltage ratio is consistent with the standard light-receiving voltage ratio.

[0150] In this embodiment, when the standard light-receiving voltage ratio is inconsistent with the actual light-receiving voltage ratio, the light output control device can adjust the driving parameters of the target light source in the preset mode to obtain new driving parameters to calibrate the target light source.

[0151] Wherein, the light output control device can determine that the standard light receiving voltage ratio and the actual light receiving voltage ratio are consistent when the difference between the standard light receiving voltage ratio and the actual light receiving voltage ratio is less than a first preset difference; and determine that the standard light receiving voltage ratio and the actual light receiving voltage ratio are inconsistent when the difference between the standard light receiving voltage ratio and the actual light receiving voltage ratio is not less than the first preset difference. The first preset difference can be set according to demand, for example, a number close to 0.

[0152] The new driving parameters are driving parameters when the actual light-receiving voltage ratio is consistent with the standard light-receiving voltage ratio. For example, when the target light source is driven to emit light using a preset mode, if the actual light-receiving voltage ratio v'r:v'g:v'b:v'uv is 1.8:1:0.9:0.5, and the standard light-receiving voltage ratio vr:vg:vb:vuv is 2:1:1:0.5, the standard light-receiving voltage ratio is inconsistent with the actual light-receiving voltage ratio, indicating that the light emission of the red and blue LEDs is low. Therefore, the light emission of the red and blue LEDs can be adjusted by adjusting the driving parameters of the red light and the driving parameters of the blue light until the actual light-receiving voltage ratio is consistent with the standard light-receiving voltage ratio.

[0153] In the above embodiment, since the new driving parameters are the driving parameters when the actual light-receiving voltage ratio and the standard light-receiving voltage ratio are consistent, the driving parameters of the target light source in the preset mode are adjusted according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio to obtain new driving parameters, the target light source can be accurately calibrated to achieve accurate adjustment of the brightness ratio of the light source host.

[0154] In an exemplary embodiment, the above-mentioned “adjusting the driving parameters of the target light source in the preset mode to obtain new driving parameters” can be implemented as follows:

[0155] Taking the red light in the target light source as a reference, the driving parameters of the light sources other than the red light in the target light source in the preset mode are adjusted to obtain new driving parameters.

[0156] In this embodiment, since the linearity of red light is good, and the hardware process of red light is mature, stable, and not easily disturbed, when adjusting the driving parameters, the red light in the target light source can be used as a reference to adjust the driving parameters of the light sources other than the red light in the target light source in the preset mode to obtain new driving parameters. In other words, the light-receiving voltage v'r in the light source branch of the red light is set as the reference value, and the driving currents of the G-LED, B-LED, and UV-LED are adjusted to give priority to ensuring the stability of the hue of other light sources.

[0157] In the above embodiment, since the red light in the target light source is used as a reference, the driving parameters of the light sources other than the red light in the target light source in the preset mode are adjusted to obtain new driving parameters, thereby improving the efficiency of calibration.

[0158] The above introduces a calibration process for adjusting the light intensity ratio. The following introduces a process that can adjust the light output of the light source, and thus accurately adjust the light intensity ratio. Continuing with the endoscope field as an example, the light source host can realize independent dimming of a single light source, and combine to form a variety of light source spectra to achieve a rich special light observation mode. In related solutions, manufacturers usually provide information such as the luminous spectrum, driving current-luminous intensity curve, etc. of each model of LED. For example, by batch testing the luminous characteristics of LEDs, a typical lookup table of driving current-luminous intensity can be obtained and written into the light source host.

[0159] Furthermore, when adjusting the different brightness levels of the light source, the driving current of each LED under different brightness levels can be determined through a typical lookup table. By driving the LED with the driving current, the luminous ratio of each LED can be made consistent, and the spectrum of the combined illumination light can be made constant.

[0160] Affected by a variety of complex factors such as differences in LED batches, fluctuations in optical component parameters, and fluctuations in light source assembly, the relationship between the light output of a light source and the driving parameters is not a strictly linear relationship, and the typical current lookup table is not applicable to every light source host. In related solutions, the way LEDs are driven by a typical lookup table may cause the lighting light to have color deviation. In order to improve the color deviation phenomenon, the related solution uses a light quantity detector to fine-tune the driving current by real-time monitoring the light output of each LED when the light source emits light, so as to calibrate the light source and achieve a stable color tone of the lighting light.

[0161] However, since the responsiveness of the light detector is more sensitive to wavelength changes, it cannot accurately reflect the light situation. Moreover, the working temperature, peak wavelength and light quantity of the LED will change with the working state of the light source. In addition, due to the influence of various complex factors inside the light source host, the dimming instruction of the LED may exceed the adjustment range, and the color tone stability of the lighting light cannot be smoothly achieved. Therefore, the above calibration method through the light detector has the problem of small light adjustment range and inaccurate light setting.

[0162] Figure 7 FIG. 1 is a flow chart of another calibration process in an embodiment of the present application. In an exemplary embodiment, as shown in FIG. Figure 7 As shown, the above light source calibration method may further include S701 to S702.

[0163] S701, determining the corrected driving parameters corresponding to the target brightness level according to the target brightness level of the target light source and the first current lookup table; the first current lookup table includes the relationship between the different brightness levels of each light source and the corrected driving parameters; the first current lookup table is determined according to the actual light value and the standard light value output by the light combining part in the light source branch corresponding to the light source at different brightness levels of each light source.

[0164] In this embodiment, the light control device can determine a first current lookup table. The first current lookup table includes the relationship between different brightness levels of each light source and the corrected driving parameters. Taking R-LED as an example, in the first current lookup table, brightness level 1 corresponds to the corrected driving parameter I'r1, brightness level 2 corresponds to the corrected driving parameter I'r2, and so on. Taking G-LED as an example, brightness level 1 corresponds to the corrected driving parameter I'g1, brightness level 2 corresponds to the corrected driving parameter I'g2, and so on. Other light sources will not be described in detail.

[0165] Since the first current lookup table is determined according to the actual light value and the standard light value output by the light combining part in the light source branch corresponding to each light source under different brightness levels, the first current lookup table can eliminate the influence of adverse factors such as LED batch differences, optical component parameter fluctuations, and light source assembly fluctuations in the light source. The corrected driving parameters in the first current lookup table can make the light combining part in the light source branch output a brightness that is sufficiently close to the standard light value.

[0166] Optionally, for each brightness level of the same light source, when the actual light value and the standard light value are inconsistent, the driving parameters of the light source can be adjusted until the actual light value and the standard light value are equal, and the driving parameters when the actual light value and the standard light value are equal are recorded as corrected driving parameters, and then the first current lookup table can be determined according to the corrected driving parameters under each brightness level.

[0167] Furthermore, in actual use, after determining the target brightness level of the target light source, the corrected driving parameters corresponding to the target brightness level can be determined. Exemplarily, if the target brightness level is brightness level 1, and the target light source includes R-LED, G-LED, B-LED, and UV-LED, then according to the first current lookup table, the corrected driving parameter I'r1 of the R-LED at brightness level 1, the corrected driving parameter I'g1 of the G-LED at brightness level 1, the corrected driving parameter I'b1 of the B-LED at brightness level 1, and the corrected driving parameter I'uv1 of the UV-LED at brightness level 1 can be determined.

[0168] S702: Calibrate the target light source using the corrected driving parameters corresponding to the target brightness level.

[0169] Furthermore, the target light source can be driven to emit light using the corrected driving parameters corresponding to the target brightness level, so that the actual light quantity value of the target light source is sufficiently close to the standard light quantity value, thereby achieving calibration of the target light source.

[0170] It should be noted that steps S701 to S702 may occur before S301 or after S301 to S303. In one embodiment, to improve the accuracy of calibration, steps S701 to S702 occur after steps S301 to S303 to achieve accurate calibration of light quantity ratio and light quantity.

[0171] In the above embodiment, since the first current lookup table includes the relationship between different brightness levels of each light source and the corrected driving parameters, and the first current lookup table is determined according to the actual light value and the standard light value output by the light combining part in the light source branch corresponding to the light source at different brightness levels of each light source, therefore, after determining the corrected driving parameters corresponding to the target brightness level according to the target brightness level of the target light source and the first current lookup table, the corrected driving parameters corresponding to the target brightness level can be used to accurately calibrate the target light source to achieve precise light quantity adjustment, so that the light source host can output lighting light with a stable light quantity ratio.

[0172] Figure 8 FIG. 1 is a flow chart of determining a first current lookup table in an embodiment of the present application. In an exemplary embodiment, as shown in FIG. Figure 8 As shown, the above light source calibration method may further include S801 to S803.

[0173] S801, for each light source, according to the preset brightness level and the second current lookup table, when the light source is driven by the second driving parameter, determine the actual light value output by the light combining part in the light source branch corresponding to the light source; the second current lookup table includes the correspondence between the different brightness levels of each light source and the second driving parameter.

[0174] In this embodiment, the light control device can determine a second current lookup table. The second current lookup table may be sent to the light control device by other devices, or may be obtained after initial calibration of each light source.

[0175] The second current lookup table includes the correspondence between different brightness levels of each light source and the second driving parameter, and the second current lookup table can refer to Table 1. For example, the second current lookup table includes the driving parameter Ir1 of the R-LED at the brightness level 1, the modified driving parameter Ig1 of the G-LED at the brightness level 1, the modified driving parameter Ib1 of the B-LED at the brightness level 1, and the modified driving parameter Iuv1 of the UV-LED at the brightness level 1.

[0176] When the light source is driven by the second driving parameter, the light output control device determines the actual light quantity value output by the light combining part in the light source branch corresponding to the light source. For example, the actual light quantity value output by the light combining part in the light source branch can be obtained by the light quantity detection device. Figure 4 Taking R-LED as an example, when the driving parameter Ir1 drives the R-LED, the actual light quantity value P'r1 output by the light combining part can be obtained through the light quantity detection device.

[0177] S802, determining a standard light intensity value output by a light combining unit in a light source branch corresponding to the light source according to a preset brightness level and a light intensity lookup table; the light intensity lookup table includes a correspondence between different brightness levels and light intensity values ​​of each light source.

[0178] Furthermore, the light output control device can determine a light quantity lookup table. Similarly, the light output control device can determine a light quantity lookup table. The light quantity lookup table can be sent to the light output control device by other devices, or it can be obtained after initial calibration of each light source. For example, the spectral ratio of the illumination light in each mode can be determined in advance, such as R:G:B:UV=0.6:1:1.2:0.2 in mode 1, and then according to this ratio, the light output at the head end under each brightness level of the light source can be set to obtain a light quantity lookup table.

[0179] The light intensity lookup table includes the correspondence between different brightness levels of each light source and light intensity values. Table 2 is a light intensity lookup table in the embodiment of the present application. As shown in Table 2, taking R-LED as an example, at brightness level 1, the standard brightness value of R-LED is Pr1.

[0180] S803, determining a first current lookup table according to the actual light quantity value and the standard light quantity value.

[0181] Continuing with the above example, when the light source is driven by the second driving parameter, the actual light intensity value and the standard light intensity value output by the light combining unit can be obtained. Therefore, the first current lookup table can be determined according to the actual light intensity value and the standard light intensity value.

[0182] Optionally, a compensation coefficient may be determined according to the actual light quantity value and the standard light quantity value, and the second driving parameter may be compensated by using the compensation coefficient to obtain a modified driving parameter, thereby determining the first current lookup table.

[0183] Table 2 Light quantity lookup table

[0184] Brightness level R-LED G-LED B-LED UV-LED 1 Pr1 Pg1 Pb1 Puv1 2 Pr2 Pg2 Pb2 Puv2 3 Pr3 Pg3 Pb3 PUV3 … … … … … 29 Pr29 Pg29 Pb29 Puv29 30 Pr30 Pg30 Pb30 Puv30

[0185] In the above embodiment, since the second current lookup table includes the correspondence between different brightness levels of each light source and the second driving parameter, for each light source, the actual light quantity value output by the light combining part in the light source branch corresponding to the light source can be determined according to the preset brightness level and the second current lookup table when the light source is driven by the second driving parameter. Furthermore, since the light quantity lookup table includes the correspondence between different brightness levels and light quantity values ​​of each light source, the standard light quantity value output by the light combining part in the light source branch corresponding to the light source can be determined according to the preset brightness level and the light quantity lookup table. Further, the first current lookup table can be determined according to the actual light quantity value and the standard light quantity value.

[0186] Fig. 9 FIG. 1 is another flow chart of determining a first current lookup table in an embodiment of the present application. In an exemplary embodiment, as shown in FIG. Fig. 9 As shown, S803 includes S901 to S902.

[0187] S901, when the actual light quantity value and the standard light quantity value are inconsistent, determine the corrected driving parameters corresponding to the preset brightness level; the corrected driving parameters corresponding to the preset brightness level are the driving parameters when the actual light quantity value output by the light combining part in the light source branch corresponding to the light source is consistent with the standard light quantity value after the second driving parameter is adjusted.

[0188] Wherein, when the difference between the actual light value and the standard light value is less than the second preset difference, it is determined that the actual light value and the standard light value are consistent; when the difference between the actual light value and the standard light value is not less than the second preset difference, it is determined that the actual light value and the standard light value are inconsistent. The second preset difference can be set according to demand, for example, a number close to 0.

[0189] When different driving parameters are used to drive the light source, the actual light quantity value output by the light combining part in the light source branch corresponding to the light source will change. Therefore, the second driving parameter can be adjusted until the driving parameter when the actual light quantity value is consistent with the standard light quantity value to determine the corrected driving parameter corresponding to the preset brightness level.

[0190] Further optionally, if the actual brightness value is greater than the standard light value, the second driving parameter can be reduced according to the first step length until the actual brightness value is consistent with the standard light value, and the corresponding corrected driving parameter is obtained. If the actual brightness value is less than the standard light value, the second driving parameter can be increased according to the second step length until the actual brightness value is consistent with the standard light value, and the corresponding corrected driving parameter is obtained.

[0191] Continuing with G-LED as an example, the actual light value P'r1 is compared with the standard light value Pr1. If P'r1 is greater than Pr1, Ir1 is adjusted downward by 1%, and the comparison between the new actual light value and the standard light value is repeated until the new actual light value is equal to the standard light value Pr1, and the driving parameters at this time are used as the corrected driving parameters I'r1. If P'r1 is less than Pr1, Ir1 is adjusted upward by 1%, and the comparison between the new actual light value and the standard light value is repeated until the new actual light value is equal to the standard light value Pr1, and the driving parameters at this time are used as the corrected driving parameters I'r1.

[0192] S902, determining a first current lookup table according to the modified driving parameters corresponding to a plurality of different preset brightness levels.

[0193] For G-LED, the corrected driving parameter I'r1 can be determined at brightness level 1, the corrected driving parameter I'r2 can be determined at brightness level 2, and so on. Similarly for other light sources, the first current lookup table can be obtained based on the corrected driving parameters corresponding to multiple different preset brightness levels.

[0194] In the above embodiment, when the actual light quantity value and the standard light quantity value are inconsistent, the corrected driving parameters corresponding to the preset brightness level are determined, and the corrected driving parameters corresponding to the preset brightness level are the driving parameters when the actual light quantity value output by the light combining part in the light source branch corresponding to the light source is consistent with the standard light quantity value after the second driving parameter is adjusted. Therefore, according to the corrected driving parameters corresponding to multiple different preset brightness levels, the first current lookup table can be accurately determined.

[0195] In an exemplary embodiment, S1002 may be implemented as follows:

[0196] The modified driving parameters corresponding to a plurality of different preset brightness levels are fitted to determine a first current lookup table.

[0197] Exemplarily, the light emission control device may fit the modified driving parameters under 30 preset brightness levels to obtain a first current lookup table including the modified driving parameters corresponding to 1000 brightness levels.

[0198] It is understandable that, since the first current lookup table is determined by fitting, the span of the preset brightness levels can cover the brightness levels that need to be fitted, so as to improve the fitting accuracy, thereby improving the accuracy of the first current lookup table. For example, if the corrected driving parameters of 1000 brightness levels are fitted according to the corrected driving parameters of 30 brightness levels, the 30 preset brightness levels can be brightness level 33, brightness level 66, brightness level 99... brightness level 990, and so on.

[0199] In the above embodiment, since the corrected driving parameters corresponding to multiple different preset brightness levels are fitted to determine the first current lookup table, the determination efficiency of the first current lookup table is improved, the light quantity adjustment accuracy is improved, and the phenomenon of uneven image brightness changes of the light source in automatic exposure adjustment is optimized.

[0200] Fig.10 FIG. 1 is a flow chart of determining an actual light quantity value in an embodiment of the present application. In an exemplary embodiment, Fig.10 As shown, "determining the actual light quantity value output by the light combining part in the light source branch corresponding to the light source" in S801 includes S1001 to S1002.

[0201] S1001, using a spectral radiometer to determine spectral data output by a light combining unit in a light source branch.

[0202] Continuing with the above example, taking R-LED as an example, when the R-LED is driven by the second driving parameter Ir1, the spectrum data Sr1 output by the light combining unit can be acquired by using a spectrum radiometer.

[0203] S1002, integrating the spectrum data within the wavelength band of the light source to obtain an actual light quantity value.

[0204] The wavelength band of red light is 610nm-630nm. The light output control device can integrate the spectrum data Sr1 within the wavelength band of red light according to the following formula (1) to obtain the actual light quantity value P'r1.

[0205]

[0206] In the above embodiment, a spectral radiometer is used to determine the spectral data output by the light combining part in the light source branch, and the spectral data is integrated within the wavelength band of the light source to obtain the actual light quantity value, thereby improving the accuracy of the actual light quantity value.

[0207] Fig.11 In another embodiment of the present application, there is a flow chart of determining the actual light quantity value. In an exemplary embodiment, as shown in FIG. Fig.11 As shown, S801 includes S1101 to S1103.

[0208] S1101 , for each light source, determining an actual junction temperature of the light source while driving the light source using a second driving parameter.

[0209] In this embodiment, each light source in the light source host may also be provided with a corresponding temperature sensor, and the temperature sensor is used to obtain the junction temperature of the light source. Furthermore, when the light output control device drives the light source using the second driving parameter, the actual junction temperature of the light source can be determined. For example, when the R-LED is driven using the second driving parameter Ir1, the actual junction temperature T'r1 of the R-LED is obtained through the temperature sensor.

[0210] S1102, determining a standard junction temperature of the light source according to a preset brightness level and a junction temperature lookup table; the junction temperature lookup table includes a relationship between different brightness levels and junction temperatures of each light source.

[0211] In this embodiment, the light emission control device can determine a junction temperature lookup table. The junction temperature lookup table can be sent to the light emission control device by other devices, or can be obtained after initial calibration of each light source.

[0212] The junction temperature lookup table includes the correspondence between different brightness levels of each light source and the standard junction temperature, and the junction temperature lookup table can refer to Table 3. For example, the junction temperature lookup table includes the standard junction temperature Tr1±Δtr1 of R-LED at brightness level 1, the standard junction temperature Tg1±Δtg1 of G-LED at brightness level 1, the standard junction temperature Tb1±Δtb1 of B-LED at brightness level 1, and the standard junction temperature Tuv1±Δtuv1 of UV-LED at brightness level 1.

[0213] Table 3 Junction temperature lookup table

[0214] Brightness level R-LED G-LED B-LED UV-LED 1 Tr1±Δtr1 Tg1±Δtg1 Tb1±Δtb1 Tuv±Δtuv1 2 Tr2±Δtr2 Tg2±Δtg2 Tb2±Δtb2 Tuv±Δtuv2 … … … … … 29 Tr29±Δtr29 Tg2±Δtg29 Tb2±Δtb29 Tuv±Δtuv29 30 Tr30±Δtr30 Tg3±Δtg30 Tb3±Δtb30 Tuv3±Δtuv30

[0215] Furthermore, the standard junction temperature of the light source can be determined according to the preset brightness level and the junction temperature lookup table. Taking the preset brightness level as brightness level 1 as an example, the standard junction temperature of the R-LED can be determined to be Tr1±Δtr1.

[0216] S1103, when the actual junction temperature is consistent with the standard junction temperature, determining an actual light quantity value output by a light combining unit in a light source branch corresponding to the light source when the light source is driven by a second driving parameter.

[0217] In this embodiment, the light control device can determine that the actual junction temperature is consistent with the standard junction temperature when the difference between the actual junction temperature and the standard junction temperature is less than the third preset difference; and determine that the actual junction temperature is inconsistent with the standard junction temperature when the difference between the actual junction temperature and the standard junction temperature is not less than the third preset difference. The third preset difference can be set as required. Optionally, the third preset difference can be determined according to the light source and the preset brightness level, for example, the third preset difference is Δtr1 for R-LED and brightness level 1.

[0218] Furthermore, if the actual junction temperature is consistent with the standard junction temperature, it indicates that the light source is normal. Then, when the light source is driven by the second driving parameter, the actual light quantity value output by the light combining part in the light source branch corresponding to the light source can be determined to execute steps S801 to S803.

[0219] In the above embodiment, since the junction temperature lookup table includes the relationship between different brightness levels and junction temperatures of each light source, the actual junction temperature of the light source can be determined for each light source when the light source is driven by the second driving parameter. Furthermore, since the standard junction temperature of the light source is determined based on the preset brightness level and the junction temperature lookup table, if the actual junction temperature is consistent with the standard junction temperature, the actual light quantity value output by the light combining part in the light source branch corresponding to the light source when the light source is driven by the second driving parameter is further determined. Therefore, the influence of the color cast of the lighting output caused by the change of the operating temperature of the light source is reduced, and the reliability of the light source host is improved.

[0220] In an exemplary embodiment, the light source calibration method further includes the following steps:

[0221] If the actual junction temperature is inconsistent with the standard junction temperature, restart the light source host.

[0222] In this embodiment, if the actual junction temperature is inconsistent with the standard junction temperature, it means that the light source is abnormal, and the light source host can be restarted. In some embodiments, the light control device can also issue a first alarm message when the actual junction temperature is inconsistent with the standard junction temperature.

[0223] In the above embodiment, since the light source host is restarted when the actual junction temperature is inconsistent with the standard junction temperature, the reliability and stability of the light source host are improved.

[0224] In some embodiments, in actual applications after the light source host is calibrated, if the temperature of the light source is high during the doctor's operation but does not exceed the preset fluctuation range, the actual junction temperature of the light source can be reduced by reducing the driving current of the light source.

[0225] Continuing with the endoscope field as an example, the actual working process of the endoscope involves a variety of usage scenarios. For example, in scenario one, when the scope moves in the human body cavity, the light source needs to automatically adjust the light output as the scene changes. For example, in scenario two, when the scope is kept in a certain place in the human body cavity for a long time, the tone of the light output needs to remain stable, otherwise it will cause the doctor to miss or misjudge the lesion. Therefore, this embodiment proposes a correction method that can quickly adjust the light amount.

[0226] Fig.12 FIG. 1 is a flow chart of another calibration process in an embodiment of the present application. In an exemplary embodiment, as shown in FIG. Fig.12As shown, the above light source calibration method also includes S1201 to S1204.

[0227] S1201, obtaining current brightness data corresponding to the light source host at a first brightness level.

[0228] In this embodiment, the first brightness level refers to the brightness level currently used by the light source host, which may be a brightness level specified by the user. Furthermore, the light control device can determine the current brightness data I corresponding to the light source host when it works at the first brightness level.

[0229] Among them, the current brightness data I can be calculated based on the spectral data output by the light combining part, or it can be determined based on the average brightness value in the image corresponding to when the light source host is in the first brightness level. This embodiment is not limited as long as it can reflect the current brightness of the light source host.

[0230] S1202, determining a target ratio according to current brightness data and target brightness data corresponding to the light source host.

[0231] In this embodiment, the light control device can also determine the target brightness data It. The target brightness data It can be input by the user to the light control device, or can be determined by the light control device according to the first brightness level, or can be determined by the light control device according to the current brightness data I, which is not limited in this embodiment.

[0232] Furthermore, the light control device can determine the target ratio according to the current brightness data I and the target brightness data It. For example, the light control device can determine the target ratio according to (It-I) / It, or according to (It-I) / I.

[0233] S1203: When the target ratio is greater than a preset threshold, determine a second brightness level according to the target ratio and the first brightness level.

[0234] Afterwards, the light control device will determine whether the target ratio is greater than a preset threshold. If the target ratio is greater than the preset threshold, it means that the brightness currently output by the light source host is insufficient. Therefore, in this case, the light control device continues to determine the second brightness level according to the target ratio and the first brightness level. For example, the first brightness level can be corrected according to the target ratio to obtain the second brightness level. Among them, the preset threshold is set according to the demand, for example, 1%.

[0235] S1204: Drive the target light source to emit light using the second brightness level.

[0236] Furthermore, after determining the second brightness level, the light control device can use the second brightness level to drive the target light source to emit light. Optionally, the light control device can determine the driving parameters corresponding to the second brightness level according to the above Table 1, and use the driving parameters corresponding to the second brightness level to drive the corresponding target light source to emit light.

[0237] It should be noted that steps S1201 to S1204 may occur before S301 or after S301 to S303. In one embodiment, to improve the accuracy of calibration, steps S1201 to S1204 occur after S301 to S303 to achieve accurate calibration of light quantity ratio and light quantity.

[0238] In the above embodiment, the current brightness data corresponding to the light source host at the first brightness level is obtained, and the target ratio is determined based on the current brightness data and the target brightness data corresponding to the light source host. Then, when the target ratio is greater than a preset threshold, the second brightness level is determined based on the target ratio and the first brightness level. After the target light source is driven to emit light using the second brightness level, the light output brightness of the target light source can be controlled, thereby achieving calibration of the light source.

[0239] Fig.13 FIG. 1 is a schematic diagram of a process for obtaining a corrected brightness value in an embodiment of the present application. In an exemplary embodiment, as shown in FIG. Fig.13 As shown, S1203 also includes S1301 to S1303.

[0240] S1301, determining a second brightness value corresponding to the first brightness level according to a correction lookup table and the first brightness level; the correction lookup table includes a correspondence between different brightness levels of each light source and light quantity values.

[0241] Table 4 is a correction lookup table in the embodiment of the present application. As shown in Table 4, in the present embodiment, the correction lookup table includes the corresponding relationship between different brightness levels and light values ​​of each light source. Taking R-LED as an example, at brightness level 1, the brightness value of R-LED is Pr1.

[0242] Then, according to the correction lookup table and the first brightness level, the second brightness value corresponding to the first brightness level can be determined. Taking R-LED as an example, assuming that the first brightness level is brightness level 1, the second brightness value is Pr1.

[0243] S1302: Correct the second brightness value using the target ratio to obtain a third brightness value.

[0244] In this embodiment, after determining the second brightness value, the light control device will use the target ratio to correct the second brightness value to obtain a third brightness value. Optionally, the light control device may first determine the sum of the absolute value of the target ratio and 1, and then multiply the second light value by the sum to obtain the third brightness value. The light control device may also multiply the target ratio by the second brightness value to obtain a product, and then use the sum of the second light value and the product as the third brightness value, which is not limited in this embodiment.

[0245] Continuing with the above example, assuming that the proportional difference is -15%, the computer device may use the value obtained by multiplying Pr1 by 1.15 as the third brightness value.

[0246] Table 4 Correction lookup table

[0247]

[0248] S1303: Determine a second brightness level corresponding to the third brightness value according to the third brightness value and the modified lookup table.

[0249] Furthermore, after obtaining the third brightness value, the second brightness level corresponding to the third brightness value can be determined by using the modified lookup table. For example, Pr1×1.15=Pr4, then the second brightness level is determined to be brightness level 4.

[0250] In some embodiments, if the third brightness value is not in the modified lookup table, the brightness level corresponding to the brightness value in the modified lookup table that has the smallest difference with the third brightness value may be used as the second brightness level.

[0251] In the above embodiment, since the correction lookup table includes the correspondence between different brightness levels of each light source and the light quantity values, the second brightness value corresponding to the first brightness level is determined according to the correction lookup table and the first brightness level, and the second brightness value is corrected using the target ratio to obtain the third brightness value. Then, the second brightness level corresponding to the third brightness value can be determined according to the third brightness value and the correction lookup table, so as to realize the determination of the second brightness level according to the target ratio and the first brightness level.

[0252] Fig.14 FIG. 1 is a schematic diagram of a process of driving a target light source to emit light in an embodiment of the present application. In an exemplary embodiment, the correction lookup table also includes a correspondence between different brightness levels of each light source and the correction driving parameters, such as Fig.14 As shown, S1204 also includes S1401 to S1402.

[0253] S1401, determining a corrected driving parameter corresponding to the second brightness level according to the second brightness level and a corrected lookup table.

[0254] In this embodiment, as shown in Table 1, the correction lookup table also includes the corresponding relationship between different brightness levels of each light source and the correction driving parameters. For example, for G-LED, the correction driving parameter I'r1 can be determined at brightness level 1, and the correction driving parameter I'r2 can be determined at brightness level 2, and so on.

[0255] That is, the correction lookup table may include the first current lookup table and the light quantity lookup table. In some embodiments, the correction lookup table also includes the correspondence between different brightness levels of each light source and the junction temperature. The process of determining the correction lookup table can refer to the above embodiments such as S801 to S803, S901 to S902, and will not be repeated here.

[0256] Then, according to the second brightness level and the correction lookup table, the correction driving parameter corresponding to the second brightness level can be determined. Exemplarily, if the second brightness level is brightness level 4, the corresponding correction driving parameter is I'r4.

[0257] S1402: Drive the target light source to emit light using the modified driving parameters corresponding to the second brightness level.

[0258] Continuing with the above example, by using the modified driving parameter I'r4 corresponding to the second brightness level to drive the target light source to emit light, the actual brightness data I corresponding to the light source host can be sufficiently close to the target brightness data It.

[0259] In the above embodiment, the corrected driving parameters corresponding to the second brightness level are determined according to the second brightness level and the corrected lookup table, and the target light source is driven to emit light using the corrected driving parameters corresponding to the second brightness level. In this way, the brightness of the light source in the light source host is calibrated. In conventional dimming methods, the best image is obtained by gradually adjusting the driving current and repeatedly comparing the image brightness. This is slow and may cause image instability, affecting the doctor's diagnosis and treatment. The adjustment method proposed in this embodiment uses an accurate 1000-level light adjustment lookup table to quickly locate the target light level. It can be quickly adjusted to the target light level within a few frames, avoiding screen flickering caused by repeated adjustment of the driving current and comparative calculation of the image brightness during the dimming process.

[0260] Fig.15 FIG. 1 is another flow chart of driving a target light source to emit light in an embodiment of the present application. In an exemplary embodiment, Fig.15 As shown, before S1204, the above light source calibration method further includes S1501 to S1502.

[0261] S1501, determining various correction driving parameters between a first brightness level and a second brightness level according to a correction lookup table.

[0262] In order to avoid the sudden change of image brightness causing visual discomfort to the doctor, a gradual change of gears can be adopted in the process of calibrating the light source, and several intermediate gears can be selected for smooth adjustment. Therefore, in this embodiment, the light control device will determine the various correction drive parameters between the first brightness gear and the second brightness gear according to the correction lookup table. Exemplarily, assuming that the first brightness gear is brightness gear 1 and the second brightness gear is brightness gear 4, the correction drive parameters I'r2 and I'r3 corresponding to brightness gear 2 and brightness gear 3 respectively can be determined first.

[0263] S1502: Use each corrected driving parameter between the first brightness level and the second brightness level to sequentially drive the target light source to emit light.

[0264] Continuing with the above example, the light control device will use the modified driving parameter I'r2 and the modified driving parameter I'r3 to drive the target light source to emit light in sequence, and then can use the modified driving parameter I'r4 to drive the target light source to emit light.

[0265] In the above embodiment, since the various corrected driving parameters between the first brightness level and the second brightness level are determined according to the corrected lookup table, the target light source can be driven to emit light in sequence by utilizing the various corrected driving parameters between the first brightness level and the second brightness level, thereby avoiding a sudden change from the first brightness level to the second brightness level.

[0266] In some embodiments, when the endoscope is in an extreme body cavity position and the light source level cannot meet the adjustment requirements of the proportional difference, the light source host can be directly adjusted to the lowest brightness level or the highest brightness level according to actual conditions to meet the doctor's observation and treatment needs to the greatest extent and avoid errors.

[0267] Fig.16 FIG. 1 is a flow chart of determining a target ratio in an embodiment of the present application. In an exemplary embodiment, as shown in FIG. Fig.16 As shown, S1202 includes S1601 to S1602.

[0268] S1601, determine the difference between current brightness data and target brightness data, that is, determine current brightness data I-target brightness data It.

[0269] S1602, determine the target ratio according to the ratio between the difference value and the target brightness data. That is, determine the target ratio according to (I-It) / It. Exemplarily, the light control device can directly use (I-It) / It as the target ratio.

[0270] In the above embodiment, since the difference between the current brightness data and the target brightness data is determined, and the target ratio is determined according to the ratio between the difference and the target brightness data, the second brightness value can be corrected using the target ratio to obtain the third brightness value.

[0271] In order to more clearly introduce the light source calibration method in this application, Fig.17 Provide explanation. Fig.17 FIG. 1 is a schematic diagram of a light source calibration method according to an embodiment of the present application. Fig.17 As shown, the light output control device can execute the light source calibration method according to the following process.

[0272] S1701, for each light source, when the light source is driven to emit light using a first driving parameter, determine an absolute spectrum output by a light combining unit in a light source branch corresponding to the light source and a light receiving voltage of a light quantity detector in the light source branch.

[0273] S1702, integrating the absolute spectrum within the wavelength band of the light source to obtain a first light quantity value.

[0274] S1703, determining a fitting curve according to the first light quantity values ​​and the light-receiving voltage corresponding to the plurality of first driving parameters.

[0275] S1704: Determine a correction response coefficient corresponding to the light source branch of the light source according to the slope of the fitting curve.

[0276] S1705 , for each light source, according to the preset brightness level and the second current lookup table, when the light source is driven by the second driving parameter, determining the actual junction temperature of the light source.

[0277] S1706, determining a standard junction temperature of the light source according to a preset brightness level and a junction temperature lookup table.

[0278] S1707, when the actual junction temperature is consistent with the standard junction temperature, determine the spectral data output by the light combining unit in the light source branch using a spectral radiometer when the light source is driven using the second driving parameter. Optionally, when the actual junction temperature is inconsistent with the standard junction temperature, restart the light source host.

[0279] S1708, integrating the spectrum data within the wavelength band of the light source to determine the actual light quantity value output by the light combining part in the light source branch corresponding to the light source.

[0280] S1709, determining a standard light quantity value output by a light combining part in a light source branch corresponding to the light source according to a preset brightness level and a light quantity lookup table.

[0281] S1710: When the actual light value is inconsistent with the standard light value, determine a correction driving parameter corresponding to a preset brightness level.

[0282] S1711, fit the correction driving parameters corresponding to multiple different preset brightness levels to determine the first current lookup table. Optionally, the first current lookup table, the light quantity lookup table and the junction temperature lookup table can also be combined as a correction lookup table. Among them, S1701~S1711 are preparations before the light source host is used, for example, before the light source host leaves the factory.

[0283] S1712, when the target light source is driven to emit light using a preset mode, determining an actual light-receiving voltage ratio of a light quantity detector in a target light source branch corresponding to the target light source in the light source host.

[0284] S1713, for each target light source branch, multiply the correction response coefficient corresponding to the target light source branch by the value corresponding to the target light source branch in the standard light source ratio to obtain a standard light receiving voltage ratio.

[0285] S1714, adjusting the driving parameters of the target light source in the preset mode to obtain new driving parameters according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio, so as to calibrate the target light source. Optionally, taking the red light in the target light source as a reference, adjusting the driving parameters of the light sources other than the red light in the target light source in the preset mode to obtain new driving parameters.

[0286] S1715, determining a modified driving parameter corresponding to the target brightness level according to the target brightness level of the target light source and the first current lookup table.

[0287] S1716: Calibrate the target light source using the corrected driving parameters corresponding to the target brightness level.

[0288] S1717, obtaining current brightness data corresponding to the light source host at the first brightness level.

[0289] S1718, determining the difference between the current brightness data and the target brightness data.

[0290] S1719, determining a target ratio according to the ratio between the difference value and the target brightness data.

[0291] S1720: When the target ratio is greater than a preset threshold, determine a second brightness value corresponding to the first brightness level according to the correction lookup table and the first brightness level.

[0292] S1721, correct the second brightness value using the target ratio to obtain a third brightness value.

[0293] S1722: Determine a second brightness level corresponding to the third brightness value according to the third brightness value and the modified lookup table.

[0294] S1723, determining various correction driving parameters between the first brightness level and the second brightness level according to the correction lookup table.

[0295] S1724, using each corrected driving parameter between the first brightness level and the second brightness level to sequentially drive the target light source to emit light.

[0296] S1725, determining a corrected driving parameter corresponding to the second brightness level according to the second brightness level and the corrected lookup table.

[0297] S1726, using the modified driving parameters corresponding to the second brightness level to drive the target light source to emit light. Among them, S1712 to S1726 are the actual use process of the light source host.

[0298] The processes of S1701 to S1726 can refer to the above embodiment and will not be described in detail here.

[0299] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0300] Based on the same inventive concept, the embodiment of the present application also provides a light source calibration device for implementing the light source calibration method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more light source calibration device embodiments provided below can refer to the limitations of the light source calibration method above, and will not be repeated here.

[0301] Fig.18 is a structural block diagram of a light source calibration device in an embodiment of the present application. In an exemplary embodiment, Fig.18 As shown, a light source calibration device 1800 is provided, comprising: a first determination module 1801, a second determination module 1802 and a first calibration module 1803, wherein:

[0302] The first determination module 1801 is used to determine the actual light-receiving voltage ratio of the light quantity detector in the target light source branch corresponding to the target light source when the target light source is driven to emit light using a preset mode; the target light source is at least one of the multiple light sources in the light source host.

[0303] The second determination module 1802 is used to determine the standard light receiving voltage ratio of the light detector in each target light source branch according to the standard light quantity ratio corresponding to the target light source in the preset mode and the corrected response coefficient corresponding to each target light source branch; the corrected response coefficient is determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part.

[0304] The first calibration module 1803 is used to calibrate the target light source according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio.

[0305] In the above light source calibration device, the target light source is at least one of the multiple light sources in the light source host. Since the correction response coefficient is determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part, the correction response coefficient can reflect the relationship between the light quantity detector in the target light source branch and the light quantity value output by the light combining part, eliminating the adverse effects of various factors such as individual differences of light quantity detectors, different sensitivities to different wavelengths, individual differences of spectroscopes, and installation errors. Furthermore, when the target light source is driven to emit light using a preset mode, the actual light receiving voltage ratio of the light quantity detector in the target light source branch corresponding to the target light source in the light source host is determined, and according to the standard light quantity ratio corresponding to the target light source in the preset mode and the correction response coefficient corresponding to each target light source branch, the standard light receiving voltage ratio of the light quantity detector in each target light source branch can be accurately determined. Furthermore, according to the standard light receiving voltage ratio and the actual light receiving voltage ratio, the target light source can be accurately calibrated to achieve accurate adjustment of the brightness ratio of the light source host.

[0306] Optionally, the light source calibration device 1800 further includes:

[0307] The third determination module is used to determine, for each light source, the absolute spectrum output by the light combining part in the light source branch corresponding to the light source and the light receiving voltage of the light quantity detector in the light source branch when the light source is driven to emit light by the first driving parameter.

[0308] The integration module is used to integrate the absolute spectrum within the wavelength band of the light source to obtain a first light quantity value.

[0309] The fourth determination module is used to determine a fitting curve according to the first light quantity values ​​and the light-receiving voltage corresponding to the plurality of first driving parameters.

[0310] The fifth determination module determines the correction response coefficient corresponding to the light source branch of the light source according to the slope of the fitting curve.

[0311] Optionally, the first calibration module 1803 is also used to adjust the driving parameters of the target light source in the preset mode to obtain new driving parameters according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio, so as to calibrate the target light source, and the new driving parameters are the driving parameters when the actual light-receiving voltage ratio and the standard light-receiving voltage ratio are consistent.

[0312] Optionally, the first calibration module 1803 is further configured to adjust the driving parameters of the light sources other than the red light in the target light source in the preset mode to obtain new driving parameters, taking the red light in the target light source as a reference.

[0313] Optionally, the second determination module 1802 is further configured to multiply, for each target light source branch, a correction response coefficient corresponding to the target light source branch by a value corresponding to the target light source branch in the standard light source ratio to obtain a standard light-receiving voltage ratio.

[0314] Optionally, a brightness detector is used to detect reflected light of a target light source in the same target light source branch.

[0315] Optionally, the light source calibration device 1800 further includes:

[0316] The sixth determination module is used to determine the corrected driving parameters corresponding to the target brightness level according to the target brightness level of the target light source and the first current lookup table; the first current lookup table includes the relationship between the different brightness levels of each light source and the corrected driving parameters; the first current lookup table is determined according to the actual light value and the standard light value output by the light combining part in the light source branch corresponding to the light source at different brightness levels of each light source.

[0317] The second calibration module is used to calibrate the target light source using the corrected driving parameters corresponding to the target brightness level.

[0318] Optionally, the light source calibration device 1800 further includes:

[0319] The seventh determination module is used to determine, for each light source, according to the preset brightness level and the second current lookup table, when the light source is driven by the second driving parameter, the actual light value output by the light combining part in the light source branch corresponding to the light source; the second current lookup table includes the correspondence between the different brightness levels of each light source and the second driving parameter.

[0320] The eighth determination module is used to determine the standard light intensity value output by the light combining part in the light source branch corresponding to the light source according to the preset brightness level and the light intensity lookup table; the light intensity lookup table includes the correspondence between different brightness levels and light intensity values ​​of each light source.

[0321] The ninth determination module is used to determine a first current lookup table according to the actual light quantity value and the standard light quantity value.

[0322] Optionally, the ninth determination module includes:

[0323] The first determination unit is used to determine the corrected driving parameters corresponding to the preset brightness level when the actual light value and the standard light value are inconsistent; the corrected driving parameters corresponding to the preset brightness level are the driving parameters when the actual light value output by the light combining part in the light source branch corresponding to the light source is consistent with the standard light value after the second driving parameter is adjusted.

[0324] The second determining unit is used to determine a first current lookup table according to the modified driving parameters corresponding to a plurality of different preset brightness levels.

[0325] Optionally, the second determination unit is further configured to fit the modified driving parameters corresponding to a plurality of different preset brightness levels to determine the first current lookup table.

[0326] Optionally, the seventh determination module is further used to determine the spectral data output by the light combining part in the light source branch by using a spectral radiometer; and integrate the spectral data within the wavelength band of the light source to obtain an actual light quantity value.

[0327] Optionally, the seventh determination module includes:

[0328] The third determining unit is used to determine, for each light source, an actual junction temperature of the light source when the light source is driven by the second driving parameter.

[0329] The fourth determining unit is used to determine the standard junction temperature of the light source according to the preset brightness level and the junction temperature lookup table; the junction temperature lookup table includes the relationship between different brightness levels and junction temperatures of each light source.

[0330] The fifth determining unit is used to determine, when the actual junction temperature is consistent with the standard junction temperature, an actual light quantity value output by the light combining part in the light source branch corresponding to the light source when the light source is driven by the second driving parameter.

[0331] Optionally, the light source calibration device 1800 further includes:

[0332] The restart module is used to restart the light source host when the actual junction temperature is inconsistent with the standard junction temperature.

[0333] Optionally, the light source calibration device 1800 further includes:

[0334] The acquisition module is used to obtain the current brightness data corresponding to the light source host at the first brightness level.

[0335] The tenth determination module is used to determine the target ratio according to the current brightness data and the target brightness data corresponding to the light source host.

[0336] The eleventh determining module determines the second brightness level according to the target ratio and the first brightness level when the target ratio is greater than a preset threshold.

[0337] The first driving module is used to drive the target light source to emit light using a second brightness level.

[0338] Optionally, the eleventh determining module includes:

[0339] The sixth determination unit is used to determine the second brightness value corresponding to the first brightness level according to the correction lookup table and the first brightness level; the correction lookup table includes the correspondence between different brightness levels of each light source and the light quantity value.

[0340] The seventh determining unit is used to correct the second brightness value by using the target ratio to obtain a third brightness value.

[0341] The eighth determination unit is used to determine the second brightness level corresponding to the third brightness value according to the third brightness value and the modified lookup table.

[0342] Optionally, the correction lookup table also includes the corresponding relationship between different brightness levels of each light source and the correction driving parameters; the first driving module includes:

[0343] The ninth determining unit is used to determine the corrected driving parameter corresponding to the second brightness level according to the second brightness level and the corrected lookup table.

[0344] The driving unit is used to drive the target light source to emit light using the modified driving parameters corresponding to the second brightness level.

[0345] Optionally, before driving the target light source to emit light using the corrected driving parameters corresponding to the second brightness level, the light source calibration device 1800 further includes:

[0346] The twelfth determination module is used to determine each correction driving parameter between the first brightness level and the second brightness level according to the correction lookup table.

[0347] The second driving module is used to sequentially drive the target light source to emit light by using each corrected driving parameter between the first brightness level and the second brightness level.

[0348] Optionally, the tenth determining module includes:

[0349] The tenth determining unit is used to determine the difference between the current brightness data and the target brightness data.

[0350] The eleventh determining unit is used to determine the target ratio according to the ratio between the difference value and the target brightness data.

[0351] Each module in the above light source calibration device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0352] Fig.19 This is a schematic diagram of the structure of a light source host in an embodiment of the present application. Fig.19 As shown, the light source host includes light source branches corresponding to each light source. The light source branches include a light source, a light splitting device, a light detector corresponding to the light source, a target device and a light combining unit, and the light combining unit of each light source branch is the same.

[0353] The light detector is used to detect the reflected light of the light source in the same light source branch through the light splitting device. The light combining unit is used to receive the light emitted from each light source branch. The light source host is used to execute any of the above light source calibration methods.

[0354] The target device includes a filter and / or a light blocking structure arranged on the light detector. Since there is some light scattering and light leakage in the light path of the light source host in the related scheme, the accuracy of the light detector is not high. For example, the light detector PD2 may receive G light and R light at the same time. Therefore, in order to prevent the stray light in the light source host from interfering with the light quantity detector and improve the accuracy of the light quantity detector, for a single light quantity detector, except for its corresponding measured light source, the light path of all other light sources will not pass through or reach the light quantity detector. That is, in the entire optical structure, the light emitted by all other light sources will not reach the light quantity detector. For example, PD2 should only detect the green light of the G-LED.

[0355] On the one hand, a filter can be provided for each light quantity detector to limit the wavelength of light entering the light quantity detector to a corresponding range. The filter can include but is not limited to a short-wave pass, long-wave pass or band-pass filter. Fig. 20 This is a spectrum diagram of an embodiment of the present application, such as Fig. 20 As shown, the wavelength band of each light source can be measured respectively, and the filter corresponding to each light detector can be set according to the wavelength band of each light source.

[0356] Fig.21 This is another spectrum diagram in the embodiment of the present application. A standard mirror is used to connect the light combining part and the spectral radiometer, and the spectrum after light combining is measured as follows: Fig.21 As shown. Fig.21 As shown, in some embodiments, the spectrum after the light from each light source branch is combined can also be fully considered. Since the spectrum after the light is combined overlaps, the transmission band of the filter can be designed as Fig.21The divided band range can then be appropriately reduced to reduce the adverse effects caused by spectral overlap and improve the accuracy of light detection.

[0357] On the other hand, a light blocking structure may also be provided for each light detector, and the light blocking structure may include but is not limited to a light blocking plate. In some embodiments, the light detector may also be provided with a filter and a light blocking structure at the same time.

[0358] Taking the light sources as R-LED, G-LED, B-LED and UV-LED as an example, Figure 4 On the basis of, a corresponding target device can be set for each light detector. For example, target device 1 is set for light detector PD1, target device 2 is set for light detector PD2, target device 4 is set for light detector PD4, and target device 4 is set for light detector PD5.

[0359] Fig. 22 Schematic diagram of the structure of a light output control device in an embodiment of the present application. Fig. 22 As shown, in one embodiment, a light control device 2200 is provided, including a memory 2201 and a processor 2202, wherein the memory 2201 stores a computer program 2203. When the processor 2202 executes the computer program 2203, the steps of any one of the above light source calibration methods are implemented.

[0360] Fig.23 FIG. 1 is a schematic diagram of the structure of an endoscope system in an embodiment of the present application. Fig.23 As shown, in one embodiment, an endoscope system 2300 is provided, including: a display device 2301, a target scope 2302 and the light output control device 2200 described above.

[0361] Those skilled in the art will understand that Fig. 22 and 23 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0362] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0363] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0364] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0365] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0366] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A light source calibration method, characterized in that: The method comprises: In the case of driving the target light source to emit light using a preset mode, determining an actual light-receiving voltage ratio of a light quantity detector in a target light source branch corresponding to the target light source; the target light source is at least one light source among a plurality of light sources in a light source host; According to the standard light quantity ratio corresponding to the target light source in the preset mode and the correction response coefficient corresponding to each target light source branch, the standard light receiving voltage ratio of the light quantity detector in each target light source branch is determined; the correction response coefficient is determined according to the relationship between the light receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part; The target light source is calibrated according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio.

2. The method according to claim 1, characterized in that The method further comprises: For each of the light sources, when the light source is driven to emit light using the first driving parameter, determining an absolute spectrum output by a light combining unit in a light source branch corresponding to the light source and a light receiving voltage of a light quantity detector in the light source branch; Integrating the absolute spectrum within the wavelength band of the light source to obtain a first light quantity value; Determine a fitting curve according to the first light quantity values ​​and the light-receiving voltage corresponding to the first driving parameters; According to the slope of the fitting curve, a correction response coefficient corresponding to the light source branch of the light source is determined.

3. The method according to claim 1 or 2, characterized in that: The step of calibrating the target light source according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio comprises: According to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio, the driving parameters of the target light source in the preset mode are adjusted to obtain new driving parameters to calibrate the target light source, and the new driving parameters are the driving parameters when the actual light-receiving voltage ratio is consistent with the standard light-receiving voltage ratio.

4. The method according to claim 1 or 2, characterized in that: The light detector is used to detect the reflected light of the target light source in the same target light source branch.

5. The method according to claim 1 or 2, characterized in that: The method further comprises: According to the target brightness level of the target light source and the first current lookup table, a correction driving parameter corresponding to the target brightness level is determined; the first current lookup table includes the relationship between different brightness levels of each of the light sources and the correction driving parameter; the first current lookup table is determined according to the actual light quantity value and the standard light quantity value output by the light combining part in the light source branch corresponding to each of the light sources at different brightness levels; The target light source is calibrated using the corrected driving parameters corresponding to the target brightness level.

6. The method according to claim 5, characterized in that The method further comprises: For each of the light sources, according to the preset brightness level and the second current lookup table, when the light source is driven by the second driving parameter, the actual light quantity value output by the light combining part in the light source branch corresponding to the light source is determined; the second current lookup table includes the corresponding relationship between different brightness levels and the second driving parameters of each of the light sources; According to the preset brightness level and light quantity lookup table, a standard light quantity value output by the light combining part in the light source branch corresponding to the light source is determined; the light quantity lookup table includes a correspondence between different brightness levels and light quantity values ​​of each of the light sources; The first current lookup table is determined according to the actual light quantity value and the standard light quantity value.

7. The method according to claim 6, characterized in that The step of determining the first current lookup table according to the actual light quantity value and the standard light quantity value comprises: In the case where the actual light quantity value and the standard light quantity value are inconsistent, determining a correction driving parameter corresponding to the preset brightness level; the correction driving parameter corresponding to the preset brightness level is a driving parameter when the actual light quantity value output by the light combining part in the light source branch corresponding to the light source is consistent with the standard light quantity value after adjusting the second driving parameter; The first current lookup table is determined according to the modified driving parameters corresponding to a plurality of different preset brightness levels.

8. The method according to claim 1 or 2, characterized in that: The method further comprises: Obtaining current brightness data corresponding to the light source host at the first brightness level; Determine the target ratio according to the current brightness data and the target brightness data corresponding to the light source host; When the target ratio is greater than a preset threshold, determining a second brightness level according to the target ratio and the first brightness level; The target light source is driven to emit light using the second brightness level.

9. The method according to claim 8, characterized in that The determining the second brightness level according to the target ratio and the first brightness level includes: Determine a second brightness value corresponding to the first brightness level according to a correction lookup table and the first brightness level; the correction lookup table includes a correspondence between different brightness levels and light quantity values ​​of each of the light sources; Correcting the second brightness value using the target ratio to obtain a third brightness value; The second brightness level corresponding to the third brightness value is determined according to the third brightness value and the modified lookup table.

10. A light source calibration device, characterized in that: The device comprises: A first determination module is used to determine an actual light-receiving voltage ratio of a light quantity detector in a target light source branch corresponding to the target light source in the light source host when a preset mode is used to drive the target light source to emit light; the target light source is at least one light source among the multiple light sources in the light source host; A second determination module is used to determine the standard light-receiving voltage ratio of the light quantity detector in each of the target light source branches according to the standard light quantity ratio corresponding to the target light source in the preset mode and the correction response coefficient corresponding to each of the target light source branches; the correction response coefficient is determined according to the relationship between the light-receiving voltage of the light quantity detector in the target light source branch and the light quantity value output by the light combining part; The first calibration module is used to calibrate the target light source according to the standard light-receiving voltage ratio and the actual light-receiving voltage ratio.

11. A light source host, characterized in that: The light source host comprises light source branches corresponding to each light source; the light source branches comprise a light source, a light splitting device, a light detector corresponding to the light source, a target device and a light combining unit, and the light combining unit of each light source branch is the same; The light detector is used to detect the reflected light of the light source in the same light source branch through the light splitting device; The light combining unit is used to receive the light emitted from each of the light source branches; The target device includes a filter and / or a light blocking structure arranged on the light detector; The light source host is the light source host in the method described in any one of claims 1-9.

12. A light control device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

13. An endoscope system, characterized in that: The endoscope system comprises: a display device, a target mirror body and a light output control device as claimed in claim 12.