Combined light brightness adjusting method and device, endoscope system and storage medium

By obtaining the actual current and brightness of the luminescent device at a preset color temperature and generating a brightness adjustment formula, the problem of insufficient combined brightness adjustment accuracy in the prior art is solved, and the stability and accuracy of combined brightness are achieved.

CN119697824APending Publication Date: 2025-03-25ZHUHAI SHIXIN MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411995987.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The prior art has poor adjustment accuracy when adjusting the brightness of the light emitting device, resulting in unstable combined brightness.

Method used

By obtaining the actual current and brightness of each luminous device under multiple preset combined light brightness at the preset color temperature, a brightness adjustment formula for each luminous device is generated, and the brightness of the luminous device is adjusted according to the current temperature and brightness adjustment formula of the luminous device, ensuring that the combined brightness reaches the preset brightness.

Benefits of technology

The adjustment accuracy of combined brightness is improved to ensure that combined brightness remains stable under different conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697824A_ABST
    Figure CN119697824A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a combined light brightness adjusting method and device, an endoscope system and a storage medium, and relates to the technical field of computers. Under the preset color temperature, acquiring corresponding actual current and actual brightness of each light-emitting device under the plurality of preset combined brightness; for each light-emitting device, generating a brightness adjustment formula corresponding to the light-emitting device according to the plurality of actual currents and the plurality of actual brightness corresponding to the light-emitting device; and determining a to-be-adjusted light-emitting device from the plurality of light-emitting devices according to the current temperature of each light-emitting device, and adjusting the brightness of the to-be-adjusted light-emitting device according to the current temperature of the to-be-adjusted light-emitting device and a brightness adjustment formula corresponding to the to-be-adjusted light-emitting device so as to adjust the combined light brightness to the preset brightness. Therefore, the brightness adjusting formula can be generated for each light-emitting device in a targeted manner, so that the adjustment of the light-emitting device to be adjusted can be ensured to accord with the device characteristics and actual conditions of the light-emitting device to be adjusted, and the adjustment precision of the combined light brightness is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a combined light brightness adjustment method, device, endoscope system and storage medium. Background Art

[0002] At present, the light emitted by some devices during operation is often a combination of light from multiple monochromatic light-emitting devices. For example, an endoscope multi-spectral cold light source uses light from multiple monochromatic LED lamps to form white light or specific narrow-band light.

[0003] Since the luminous efficiency of the light-emitting device is reduced during operation, resulting in the attenuation of the brightness of the combined light, in order to keep the brightness of the combined light stable, it is often necessary to adjust the brightness of the light-emitting device according to actual conditions when the light-emitting device is working. However, in the prior art, when adjusting the brightness of the light-emitting device, there is often a problem of poor adjustment accuracy. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a combined light brightness adjustment method, device, endoscope system and storage medium to improve the adjustment accuracy of the combined light brightness.

[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, the present application provides a combined light brightness adjustment method, which is applied to an endoscope system, wherein the endoscope system includes a plurality of light emitting devices, and the method includes:

[0007] Under a preset color temperature, obtaining the actual current and actual brightness corresponding to each of the light-emitting devices under a plurality of preset combined brightnesses;

[0008] For each of the light-emitting devices, generating a brightness adjustment formula corresponding to the light-emitting device according to a plurality of actual currents and a plurality of actual brightnesses corresponding to the light-emitting device;

[0009] A light-emitting device to be adjusted is determined from the multiple light-emitting devices according to the current temperature of each of the light-emitting devices, and the brightness of the light-emitting device to be adjusted is adjusted according to the current temperature of the light-emitting device to be adjusted and the brightness adjustment formula corresponding to the light-emitting device to be adjusted, so as to adjust the combined light brightness of the multiple light-emitting devices to a preset brightness.

[0010] In an optional implementation, the brightness adjustment formula includes a brightness relationship formula, a brightness attenuation formula, a first current formula, and a second current formula;

[0011] The step of generating a brightness adjustment formula corresponding to the light emitting device according to the plurality of actual currents and the plurality of actual brightnesses corresponding to the light emitting device comprises:

[0012] Generate the brightness relationship formula according to the actual combined light brightness of the plurality of light emitting devices under each of the preset combined light brightnesses and the actual brightness of the light emitting devices;

[0013] Determine a plurality of characteristic currents corresponding to the light-emitting device according to the plurality of actual currents and the preset operating current, and determine a characteristic brightness and a characteristic temperature corresponding to the light-emitting device under each of the characteristic currents;

[0014] Generate the brightness attenuation formula, the first current formula and the second current formula according to the characteristic brightness and characteristic temperature corresponding to the light-emitting device at each characteristic current;

[0015] Among them, the brightness relationship formula records the corresponding relationship between the combined light brightness and the brightness of the light-emitting device, the brightness attenuation formula records the corresponding relationship between temperature and brightness attenuation parameters, the first current formula records the corresponding relationship between brightness and driving current, and the second current formula records the corresponding relationship between driving current and brightness.

[0016] In an optional implementation, generating the brightness attenuation formula, the first current formula, and the second current formula according to the characteristic brightness and characteristic temperature corresponding to each characteristic current of the light-emitting device includes:

[0017] Determine the brightness attenuation parameter corresponding to each characteristic temperature according to each characteristic temperature and a preset first curve, and determine the brightness attenuation formula according to each characteristic temperature and the brightness attenuation parameter corresponding to the characteristic temperature; wherein the first curve represents the corresponding relationship between the brightness attenuation parameter and the temperature of the light-emitting device;

[0018] The first current formula and the second current formula are generated according to each of the characteristic currents, the characteristic brightness, the brightness attenuation parameter corresponding to the characteristic brightness and a preset second curve; the second curve represents the corresponding relationship between luminous flux and current.

[0019] In an optional embodiment, the first current formula and the second current formula are generated according to each of the characteristic currents, the characteristic brightness, the brightness attenuation parameter corresponding to the characteristic brightness, and a preset second curve, including:

[0020] Calculating a first ideal brightness corresponding to each characteristic current according to each characteristic brightness and a brightness attenuation parameter corresponding to the characteristic brightness;

[0021] Determining the luminous flux corresponding to each characteristic current according to each characteristic current and the second curve;

[0022] According to the first ideal brightness and luminous flux corresponding to each of the characteristic currents, a second ideal brightness corresponding to each of the characteristic currents is calculated, and a brightness constant is calculated according to a plurality of the second ideal brightnesses; the second ideal brightness is a brightness at which the brightness is not attenuated and the luminous flux is 100%;

[0023] The first current formula and the second current formula are determined according to the brightness constant, the luminous flux corresponding to each of the characteristic currents, the first ideal brightness, and the second curve.

[0024] In an optional embodiment, the method further comprises:

[0025] Under the preset color temperature, obtaining the actual temperature corresponding to each of the light emitting devices under multiple preset combined brightness;

[0026] According to the multiple actual currents, multiple actual temperatures and multiple actual brightnesses corresponding to the light-emitting device, parameter correction is performed on the brightness attenuation formula, the first current formula and the second current formula respectively.

[0027] In an optional implementation, the parameter correction of the brightness attenuation formula, the first current formula, and the second current formula is performed respectively according to the multiple actual currents, the multiple actual temperatures, and the multiple actual brightnesses corresponding to the light-emitting device, including:

[0028] Calculate the brightness attenuation parameter corresponding to each actual temperature according to each actual temperature and the brightness attenuation formula;

[0029] Performing parameter correction on the brightness attenuation formula and / or the first current formula according to each of the actual brightnesses, the brightness attenuation parameters corresponding to the actual brightnesses, and each of the actual currents;

[0030] According to each of the actual brightnesses, each of the actual currents and a brightness attenuation parameter corresponding to the actual current, parameter correction is performed on the brightness attenuation formula and / or the second current formula.

[0031] In an optional implementation, the performing parameter correction on the brightness attenuation formula and / or the first current formula according to each of the actual brightnesses, the brightness attenuation parameter corresponding to the actual brightness, and each of the actual currents includes:

[0032] Calculate a third ideal brightness according to each of the actual brightnesses and the brightness attenuation parameter corresponding to the actual brightness;

[0033] Calculating the driving current corresponding to each of the third ideal brightnesses according to each of the third ideal brightnesses and the first current formula;

[0034] If the difference between any of the driving currents and the corresponding actual current exceeds a preset current threshold, parameter correction is performed on the brightness attenuation formula and / or the first current formula.

[0035] In an optional implementation, the performing parameter correction on the brightness attenuation formula and / or the second current formula according to each of the actual brightnesses, each of the actual currents and a brightness attenuation parameter corresponding to the actual current includes:

[0036] Calculating a fourth ideal brightness corresponding to each of the actual currents according to each of the actual currents and the second current formula;

[0037] Calculating a reference brightness corresponding to each of the actual currents according to the fourth ideal brightness and a brightness attenuation parameter corresponding to each of the actual currents;

[0038] If the difference between any of the reference brightness and the actual brightness exceeds a preset brightness threshold, parameter correction is performed on the brightness attenuation formula and / or the second current formula.

[0039] In an optional embodiment, the method further comprises:

[0040] For each of the light-emitting devices, the color temperature parameters of the light-emitting device at the preset color temperature are determined according to the multiple actual brightnesses corresponding to the light-emitting device; wherein the color temperature parameters characterize the ratio between the brightness of the light-emitting device and the brightness of the combined light, and the color temperature parameters are used to adjust the color temperature of the light-emitting device.

[0041] In an optional embodiment, the color temperature parameter includes a preset brightness ratio and a ratio deviation threshold between the brightness of the light emitting device and the combined light brightness;

[0042] The step of determining the color temperature parameter of the light emitting device at the preset color temperature according to a plurality of actual brightnesses corresponding to the light emitting device comprises:

[0043] For each of the light-emitting devices, determine the brightness proportion of the light-emitting device at each of the preset combined light brightnesses according to the actual combined light brightness of the plurality of light-emitting devices at each of the preset combined light brightnesses and the actual brightness of the light-emitting device;

[0044] Determine the preset brightness ratio corresponding to the light emitting device according to the brightness ratio of the light emitting device under each of the preset combined light brightnesses;

[0045] The proportion deviation threshold is determined according to the brightness proportion of each of the light-emitting devices at each of the preset combined light brightnesses and the preset brightness proportion.

[0046] In a second aspect, the present application provides a combined light brightness adjustment device, which is applied to an endoscope system, wherein the endoscope system includes a plurality of light-emitting devices, and the device includes:

[0047] An acquisition module, used for acquiring, at a preset color temperature, actual currents and actual brightnesses corresponding to each of the light-emitting devices at a plurality of preset combined brightnesses;

[0048] A generating module, configured to generate, for each of the light-emitting devices, a brightness adjustment formula corresponding to the light-emitting device according to a plurality of actual currents and a plurality of actual brightnesses corresponding to the light-emitting device;

[0049] An adjustment module is used to determine a light-emitting device to be adjusted from a plurality of the light-emitting devices according to the current temperature of each of the light-emitting devices, and to adjust the brightness of the light-emitting device to be adjusted according to the current temperature of the light-emitting device to be adjusted and the brightness adjustment formula corresponding to the light-emitting device to be adjusted, so as to adjust the combined light brightness of the plurality of light-emitting devices to a preset brightness.

[0050] In a third aspect, the present application provides an endoscope system, comprising a controller, wherein the controller is used to execute a computer program to implement the method described in any one of the aforementioned embodiments.

[0051] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any one of the aforementioned implementations.

[0052] The embodiment of the present application provides a method, device, endoscope system and storage medium for adjusting the brightness of combined light. The endoscope system can obtain the actual current and actual brightness corresponding to each light-emitting device under multiple preset combined light brightnesses at a preset color temperature, so as to generate a brightness adjustment formula corresponding to each light-emitting device according to the multiple actual currents and multiple actual brightnesses corresponding to the light-emitting device. Based on this, the endoscope system can adjust the brightness of the light-emitting device to be adjusted according to the current temperature and brightness adjustment formula corresponding to the light-emitting device to be adjusted when the light-emitting device to be adjusted is determined, thereby adjusting the brightness of the combined light. In this way, a brightness adjustment formula can be generated specifically for each light-emitting device, so that it can be ensured that the adjustment of the light-emitting device to be adjusted conforms to the device characteristics and actual conditions of the light-emitting device to be adjusted, thereby improving the adjustment accuracy of the combined light brightness.

[0053] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 A schematic diagram of the combined colors of red, blue and green LED lights is shown;

[0056] Figure 2 The schematic diagram of the circuit structure of the MCU and each LED lamp is shown;

[0057] Figure 3 A schematic diagram of a process of adjusting the brightness of a combined light provided in an embodiment of the present application is shown;

[0058] Figure 4 A first curve schematic diagram is shown;

[0059] Figure 5 A second curve schematic diagram is shown;

[0060] Figure 6 A functional module diagram of a combined light brightness adjustment device provided in an embodiment of the present application is shown.

[0061] Icons: 100 - acquisition module; 110 - generation module; 120 - adjustment module. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0063] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0064] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0065] First, an embodiment of the present application provides an endoscope system, which includes a controller, and the controller can execute a computer program to implement the combined light brightness adjustment method provided in the embodiment of the present application.

[0066] Optionally, the endoscope system may also include multiple light-emitting devices capable of emitting monochromatic light. The controller may be electrically connected to the multiple light-emitting devices, and adjust the brightness of the light-emitting devices by controlling the driving current of the light-emitting devices, thereby adjusting the brightness of the combined light composed of the multiple light-emitting devices.

[0067] In a possible implementation, the controller may be an MCU (Microcontroller Unit), and the light emitting device may be an LED (Light Emitting Diode).

[0068] In one example, Figure 1 For a schematic diagram of the combined colors of red, blue and green LED lights, see Figure 1 , the combined light composed of multiple light emitting devices can be white light, and the light emitting devices can include red LED lights, blue LED lights, and green LED lights. It can be understood that the present application uses the light emitting devices as red LED lights, blue LED lights, and green LED lights as examples, and the light emitting devices can also be other combined lights, and the present application does not limit the number and specific bands of the light emitting devices.

[0069] In this example, the MCU may be electrically connected to a red LED lamp, a blue LED lamp, and a green LED lamp, respectively, to control each LED lamp.

[0070] Specifically, Figure 2 For the circuit diagram of MCU and each LED lamp, please refer to Figure 2, the MCU can obtain the divided voltage of the NTC resistor in the LED lamp through the ADC, read the actual current value of the LED lamp calculated by INA226 through I2C, and drive the PVC device through PWM to provide driving current for the LED lamp.

[0071] Figure 2 In the figure, R represents the red LED light, G represents the green LED light, and B represents the blue LED light.

[0072] Next, the controller in the endoscope system is used as the execution body, and the combined light brightness adjustment method provided in the embodiment of the present application is exemplarily introduced in combination with the flowchart. Specifically, Figure 3 A schematic diagram of a combined light brightness adjustment method provided in an embodiment of the present application is shown in FIG. Figure 3 , the method comprising:

[0073] Step S20, under a preset color temperature, obtaining the actual current and actual brightness corresponding to each light emitting device under a plurality of preset combined brightnesses.

[0074] Optionally, the preset color temperature and the preset combined light brightness can be set in advance by the user according to actual needs.

[0075] In one possible implementation method, the light of each light-emitting device can be first introduced into an integrating sphere spectrometer after optical synthesis, and the brightness of each light-emitting device can be adjusted to stabilize the color temperature of the combined light of multiple light-emitting devices at the preset color temperature and the brightness at any preset combined light brightness, thereby obtaining the actual current and actual brightness of each light-emitting device at the preset combined light brightness.

[0076] Optionally, the endoscope system can obtain the actual current, actual temperature and actual brightness corresponding to each light-emitting device under a plurality of preset combined light brightnesses at a preset color temperature, and the preset combined light brightness can be a plurality of brightness values ​​at fixed intervals, for example 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m, 10001m.

[0077] In the above example, Figure 2Taking three light-emitting devices as an example, if the preset color temperature is 6000K, the endoscope system can obtain the actual current IRA and actual brightness LRA of the red LED lamp at the preset combination brightnesses of 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m and 10001m under the preset color temperature, the actual current IGA and actual brightness LGA of the green LED lamp at the above preset combination brightnesses, and the actual current IBA and actual brightness LBA of the blue LED lamp at the above preset combination brightnesses.

[0078] It can be understood that there are 10 actual currents and actual temperatures obtained for each LED, corresponding to each preset combined brightness.

[0079] Step S21 : for each light-emitting device, a brightness adjustment formula corresponding to the light-emitting device is generated according to a plurality of actual currents and a plurality of actual brightnesses corresponding to the light-emitting device.

[0080] Step S22, determining a light-emitting device to be adjusted from multiple light-emitting devices according to the current temperature of each light-emitting device, and adjusting the brightness of the light-emitting device to be adjusted according to the current temperature of the light-emitting device to be adjusted and the brightness adjustment formula corresponding to the light-emitting device to be adjusted, so as to adjust the combined light brightness of the multiple light-emitting devices to a preset brightness.

[0081] Optionally, the endoscope system may generate a corresponding brightness adjustment formula for each light emitting device, so as to specifically characterize the corresponding relationship between various brightness adjustment parameters of the light emitting device.

[0082] In this embodiment, considering that brightness attenuation is generally caused by the temperature increase of the light emitting device, the endoscope system can determine the corresponding light emitting device to be adjusted from multiple light emitting devices according to the current temperature of each light emitting device.

[0083] Optionally, the light-emitting device to be adjusted refers to a light-emitting device whose current temperature exceeds its corresponding reference temperature.

[0084] Optionally, the endoscope system may adjust the current driving current of the light-emitting device to be adjusted according to the current temperature of the light-emitting device to be adjusted and its corresponding brightness adjustment formula, thereby adjusting the brightness of the light-emitting device to be adjusted.

[0085] In this embodiment, the endoscope system can adjust the driving current of the first light-emitting device to be adjusted by adjusting the PWM duty cycle.

[0086] In the combined light brightness adjustment method provided in the embodiment of the present application, the endoscope system can obtain the actual current and actual brightness corresponding to each light-emitting device under multiple preset combined light brightnesses at a preset color temperature, so as to generate a brightness adjustment formula corresponding to each light-emitting device according to multiple actual currents and multiple actual brightnesses corresponding to the light-emitting device. Based on this, the endoscope system can adjust the brightness of the light-emitting device to be adjusted according to the current temperature and brightness adjustment formula corresponding to the light-emitting device to be adjusted when the light-emitting device to be adjusted is determined, thereby adjusting the brightness of the combined light. In this way, a brightness adjustment formula can be generated specifically for each light-emitting device, so that it can be ensured that the adjustment of the light-emitting device to be adjusted conforms to the device characteristics and actual conditions of the light-emitting device to be adjusted, thereby improving the adjustment accuracy of the combined light brightness.

[0087] Optionally, the brightness adjustment formula may include a brightness relationship formula, a brightness attenuation formula, a first current formula and a second current formula.

[0088] Next, a possible implementation method is provided for how to generate a brightness adjustment formula corresponding to the light-emitting device according to multiple actual currents and multiple actual brightnesses corresponding to the light-emitting device.

[0089] Specifically, the endoscope system can generate a brightness relationship formula based on the actual combined light brightness of multiple light-emitting devices under each preset combined light brightness and the actual brightness of the light-emitting devices, and determine multiple characteristic currents corresponding to the light-emitting devices based on multiple actual currents and preset working currents, and determine the characteristic brightness and characteristic temperature corresponding to the light-emitting devices under each characteristic current, thereby generating a brightness attenuation formula, a first current formula and a second current formula based on the characteristic brightness and characteristic temperature corresponding to the light-emitting devices under each characteristic current.

[0090] Among them, the brightness relationship formula records the corresponding relationship between the combined light brightness and the brightness of the light-emitting device, the brightness attenuation formula records the corresponding relationship between temperature and brightness attenuation parameters, the first current formula records the corresponding relationship between brightness and driving current, and the second current formula records the corresponding relationship between driving current and brightness.

[0091] Optionally, the endoscope system may directly fit the brightness relationship formula according to the actual combined light brightness under the preset combined light brightness and the corresponding actual brightness.

[0092] Please continue to refer to the above example, the endoscope system can also obtain the actual brightness LW of white light under each preset combination of light brightness under the preset color temperature. It can be understood that LW is also 10, corresponding to each preset combination of light brightness.

[0093] In this example, for the red LED light, the endoscope system can fit the brightness relationship formula LRA=KR1*LW2+KR2*LW+KR3 corresponding to the red LED light according to the actual brightness of white light and the brightness of red light corresponding to each combined light brightness.

[0094] In this example, for the green LED light, the endoscope system can fit the brightness relationship formula LGA=KG1*LW2+KG2*LW+KG3 corresponding to the green LED light according to the actual brightness of the white light and the corresponding green light brightness corresponding to each combined light brightness.

[0095] In this example, for the blue LED light, the endoscope system can fit the brightness relationship formula LBA=KB1*LW2+KB2*LW+KB3 corresponding to the blue LED light according to the actual brightness of the white light and the corresponding blue light brightness corresponding to each combined light brightness.

[0096] Among them, LRA represents the actual brightness of red light, LGA represents the actual brightness of green light, LBA represents the actual brightness of blue light, LW represents the brightness of white light, and KR1, KR2, KR3, KG1, KG2, KG3, KB1, KB2, and KB3 are all constants.

[0097] Optionally, considering that the operating current of the light-emitting device and the current in the actual application scenario may not be completely consistent, it is necessary to combine the two to determine the characteristic current.

[0098] For example, if the operating current of the light-emitting device is 0-15A, but in the actual application scenario the maximum current may be 10A and the minimum current may be 1A, it is necessary to determine the characteristic current for the light-emitting device within the range of 1 to 10A.

[0099] In this example, the characteristic current can be 2.5A, 5A, 7.5A and 10A.

[0100] Optionally, the endoscope system can use each characteristic current to drive the light-emitting device, and record the characteristic brightness and characteristic temperature corresponding to each light-emitting device under each characteristic current, thereby generating the brightness attenuation formula, the first current formula and the second current formula according to the characteristic brightness and characteristic temperature corresponding to each characteristic current.

[0101] Please continue to refer to the above example. The red LED lamp, green LED lamp and blue LED lamp can be driven with driving currents of 2.5A, 5A, 7.5A and 10A respectively, so as to obtain the characteristic brightness LRA1 and characteristic temperature TRA1 at 2.5A for the red LED lamp, the characteristic brightness LRA2 and characteristic temperature TRA2 at 5A, the characteristic brightness LRA3 and characteristic temperature TRA3 at 7.5A, and the characteristic brightness LRA4 and characteristic temperature TRA4 at 10A.

[0102] It can be understood that, by analogy, the characteristic brightness LGA1, LGA2, LGA3, LGA4 and characteristic temperatures TGA1, TGA2, TGA3 and TGA4 corresponding to the green LED lamp under each characteristic current, as well as the characteristic brightness LBA1, LBA2, LBA3, LBA4 and characteristic temperatures TBA1, TBA2, TBA3 and TBA4 corresponding to the blue LED lamp under each characteristic current can be obtained respectively.

[0103] Next, a possible implementation method is provided for how to generate a brightness attenuation formula, a first current formula and a second current formula according to the characteristic brightness and characteristic temperature corresponding to the light-emitting device at each characteristic current.

[0104] In this embodiment, the endoscope system can determine the brightness attenuation parameter corresponding to each characteristic temperature according to each characteristic temperature and a preset first curve, and determine the brightness attenuation formula according to each characteristic temperature and the brightness attenuation parameter corresponding to the characteristic temperature.

[0105] The first curve represents the corresponding relationship between the brightness attenuation parameter and the temperature of the light emitting device.

[0106] Optionally, the first curve may be a general curve provided in a specification of the light emitting device.

[0107] It can be understood that the first curve can only represent the relationship between the general brightness attenuation parameter and the temperature of the light-emitting device. Therefore, it is necessary to fit the brightness attenuation formula for each light-emitting device in combination with the general relationship.

[0108] Continuing with the above example, Figure 4 This is a schematic diagram of the first curve, see Figure 4 For the red LED lamp, the corresponding brightness attenuation parameters YR1, YR2, YR3, and YR4 can be determined according to the first curve and the characteristic temperatures TRA1, TRA2, TRA3, and TRA4. Based on this, the brightness attenuation formula YR=KR4*TR corresponding to the red LED lamp can be fitted according to the characteristic temperature and the corresponding brightness attenuation parameter. 2 +KR5*TR+KR6.

[0109] By analogy, the brightness attenuation formula corresponding to the green LED light can be obtained as YG=KG4*TG2+KG5*TG+KG6, and the brightness attenuation formula corresponding to the blue LED light can be obtained as YB=KB4*TB2+KB5*TB+KB6.

[0110] Among them, YR is the brightness attenuation parameter corresponding to the red LED light, YG is the brightness attenuation parameter corresponding to the green LED light, YB is the brightness attenuation parameter corresponding to the blue LED light, TR is the temperature corresponding to the red LED light, TG is the temperature corresponding to the green LED light, TB is the temperature corresponding to the blue LED light, KR4, KR5, KR6, KG4, KG5, KG6, KB4, KB5, and KB6 are all constants.

[0111] In this embodiment, the endoscope system can also generate a first current formula and a second current formula according to each characteristic current, characteristic brightness, a brightness attenuation parameter corresponding to the characteristic brightness, and a preset second curve.

[0112] The second curve represents the corresponding relationship between the luminous flux and the current.

[0113] Optionally, the second curve may be a general curve provided in a specification of the lighting device.

[0114] Optionally, since the luminous flux is related to the brightness, a second curve representing the corresponding relationship between the luminous flux and the current may be combined to generate a relationship formula between the brightness and the current.

[0115] Specifically, the endoscope system can calculate the first ideal brightness corresponding to each characteristic current based on each characteristic brightness and the brightness attenuation parameter corresponding to the characteristic brightness, and determine the luminous flux corresponding to each characteristic current based on each characteristic current and the second curve.

[0116] Optionally, since the characteristic brightness is the actual brightness of the light-emitting device under the characteristic current, the brightness before attenuation corresponding to each characteristic current, ie, the first ideal brightness, can be calculated based on the characteristic brightness and the brightness attenuation parameter.

[0117] Optionally, the first ideal brightness refers to the brightness without attenuation in an ideal environment, for example, the brightness output by the light combining device in an environment of 25° C. The first ideal brightness may be a ratio of the characteristic brightness to the brightness attenuation parameter.

[0118] In one example, Figure 5 For the second curve diagram, please see Figure 5 The endoscope system can determine the luminous fluxes WR1, WR2, WR3, and WR4 corresponding to 2.5A, 5A, 7.5A, and 10A for the red LED lamp according to the second curve.

[0119] By analogy, the corresponding luminous fluxes WG1, WG2, WG3, and WG4 may be determined for the green LED lamp, and the corresponding luminous fluxes WB1, WB2, WB3, and WB4 may be determined for the blue LED lamp.

[0120] In this example, the endoscope system can also calculate the first ideal brightness LR1, LR2, LR3, LR4 corresponding to each characteristic current for the red LED light according to LR1=LRA1 / YR1, LR2=LRA2 / YR2, LR3=LRA3 / YR3, LR4=LRA4 / YR4.

[0121] By analogy, the first ideal brightness LG1, LG2, LG3, LG4 corresponding to each characteristic current can be determined for the green LED lamp, and the first ideal brightness LB1, LB2, LB3, LB4 corresponding to each characteristic current can be determined for the blue LED lamp.

[0122] On this basis, the endoscope system can calculate the second ideal brightness corresponding to each characteristic current based on the first ideal brightness and luminous flux corresponding to each characteristic current, and calculate the brightness constant based on multiple second ideal brightnesses, thereby determining the first current formula and the second current formula based on the brightness constant, the luminous flux corresponding to each characteristic current and the first ideal brightness, and the second curve.

[0123] The second ideal brightness is the brightness with no brightness attenuation and a luminous flux of 100%.

[0124] Optionally, the second ideal brightness may be a ratio of the first ideal brightness to the luminous flux, and the brightness constant may be an average value of the second ideal brightness.

[0125] It can be understood that the second ideal brightness is 100% brightness output after passing through the light combining device under ideal conditions.

[0126] In this embodiment, the luminous flux can be represented by the ratio of the first ideal brightness to the brightness constant, so the corresponding relationship between the luminous flux and the current in the second curve can be converted into the relationship between the brightness and the current.

[0127] Please continue to refer to the above example. For the red LED light, the endoscope system can calculate the second ideal brightness LRF1, LRF2, LRF3, LRF4 corresponding to each characteristic current according to LRF1=LR1 / WR1, LRF2=LR2 / WR2, LRF3=LR3 / WR3, LRF4=LR4 / WR4, and thus determine the brightness constant LRF corresponding to the red LED light by taking the average value of LRF1, LRF2, LRF3, LRF4.

[0128] By analogy, the endoscope system can also calculate the second ideal brightness LGF1, LGF2, LGF3, LGF4 corresponding to each characteristic current for the green LED lamp, and determine the brightness constant LGF corresponding to the green LED lamp by taking the average of LGF1, LGF2, LGF3, LGF4, and calculate the second ideal brightness LBF1, LBF2, LBF3, LBF4 corresponding to each characteristic current for the blue LED lamp, and determine the brightness constant LBF corresponding to the blue LED lamp by taking the average of LBF1, LBF2, LBF3, LBF4.

[0129] In this example, the endoscope system can characterize each luminous flux by the relationship of WR=LR / LRF for the red LED light, and fit the first current formula IRA=KR7*LR according to the corresponding relationship between WR=LR / LRF and the luminous flux and current in the second curve. 2 +KR8*LR+KR9 and the second current formula LR=KR10*IRA2+KR11*IRA+KR12.

[0130] By analogy, the endoscope system can also fit the first current formula IGA=KG7*LG2+KG8*LG+KG9 and the second current formula LG=KG10*IGA2+KG11*IGA+KG12 for the green LED light, and fit the first current formula IBA=KB7*LB2+KB8*LB+K9B and the second current formula LB=KB10*IBA2+KB11*IBA+KB12 for the blue LED light.

[0131] Among them, IRA represents the current corresponding to the red LED light, LR represents the ideal brightness corresponding to the red LED light, IGA represents the current corresponding to the red LED light, LG represents the ideal brightness corresponding to the red LED light, IBA represents the current corresponding to the red LED light, LB represents the ideal brightness corresponding to the red LED light, KR7, KR8, KR9, KR10, KR11, KR12, KG7, KG8, KG9, KG10, KG11, KG12, KB7, KB8, KB9, KB10, KB11, and KB12 are all constants.

[0132] Optionally, considering that the directly generated formula may not fit the actual application situation and has poor accuracy, in order to further ensure the accuracy of the application, the endoscope system can also perform parameter correction on the brightness attenuation formula, the first current formula and the second current formula corresponding to the light-emitting device.

[0133] Specifically, the endoscope system can also obtain the actual temperature corresponding to each light-emitting device under multiple preset combined brightness levels under a preset color temperature, and perform parameter correction on the brightness attenuation formula, the first current formula, and the second current formula according to multiple actual currents, multiple actual temperatures, and multiple actual brightnesses corresponding to the light-emitting device.

[0134] In this example, the preset color temperature is 6000K. In addition to obtaining the actual current IRA and actual brightness LRA of the red LED lamp at the preset combination light brightnesses of 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m, and 10001m, the actual current IGA and actual brightness LGA of the green LED lamp at the above preset combination light brightnesses, and the actual current IBA and actual brightness LBA of the blue LED lamp at the above preset combination light brightnesses when the preset combination light brightnesses are 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m, and 10001m respectively under the preset color temperature, the endoscope system can also obtain the actual temperature TRA of the red LED lamp at the above preset combination light brightnesses, the actual temperature TGA of the green LED lamp at the above preset combination light brightnesses, and the actual temperature TBA of the blue LED lamp at the above preset combination light brightnesses.

[0135] In this embodiment, the endoscope system can calculate the brightness attenuation parameters corresponding to each actual temperature based on each actual temperature and the brightness attenuation formula, perform parameter correction on the brightness attenuation formula and / or the first current formula based on each actual brightness, the brightness attenuation parameters corresponding to the actual brightness and each actual current, and perform parameter correction on the brightness attenuation formula and / or the second current formula based on each actual brightness, each actual current and the brightness attenuation parameters corresponding to the actual current.

[0136] It can be understood that, since there is a one-to-one correspondence between each actual brightness, each actual temperature and each actual current, the brightness attenuation parameter corresponding to each actual temperature also corresponds to each actual brightness and each actual current.

[0137] Next, a possible implementation method is provided for how to perform parameter correction on the brightness attenuation formula and / or the first current formula according to each actual brightness, the brightness attenuation parameter corresponding to the actual brightness, and each actual current.

[0138] Specifically, the endoscope system can calculate the third ideal brightness according to each actual brightness and the brightness attenuation parameter corresponding to the actual brightness, and calculate the driving current corresponding to each third ideal brightness according to each third ideal brightness and the first current formula. If the difference between any driving current and the corresponding actual current exceeds a preset current threshold, the brightness attenuation formula and / or the first current formula are corrected.

[0139] Optionally, the third ideal brightness is the brightness of each actual brightness before it is affected by temperature and causes brightness attenuation.

[0140] In this embodiment, the third ideal brightness may be the quotient of the actual brightness and the brightness attenuation parameter.

[0141] Optionally, each third ideal brightness may be substituted into the first current formula to obtain a driving current corresponding to each third ideal brightness.

[0142] Optionally, the preset current threshold value can be set according to actual application conditions. In one possible implementation, the preset current threshold value can be a value, and in another possible implementation, different preset current threshold values ​​can be set for different brightness ranges, for example, a small preset current threshold value is set for a low brightness range, and a large preset current threshold value is set for a high brightness range.

[0143] It is understandable that if the difference between any driving current and the corresponding actual current exceeds the preset current threshold, it means that there may be an error in the calculation of the third ideal brightness and / or the driving current, so the brightness attenuation formula and / or the first current formula needs to be corrected.

[0144] In one possible implementation, the endoscope system may simultaneously calibrate the constants in the brightness attenuation formula and the first current formula corresponding to the light-emitting device, or only calibrate the constants in the brightness attenuation formula or the first current formula, for example, adjusting each constant in the brightness attenuation formula and the first current formula at the same time according to preset values ​​until the difference between the driving current and the corresponding actual current does not exceed a preset current threshold.

[0145] In another possible implementation manner, the brightness attenuation formula and / or the first current formula may be split to form multiple segments of polynomials, thereby ensuring that the difference between the driving current and the corresponding actual current does not exceed a preset current threshold.

[0146] It is understandable that how to correct the brightness attenuation formula and / or the first current formula can be set by the user according to actual application conditions, and this application does not make too many restrictions on this.

[0147] Next, a possible implementation method is provided for how to perform parameter correction on the brightness attenuation formula and / or the second current formula according to each actual brightness, each actual current and the brightness attenuation parameter corresponding to the actual current.

[0148] Specifically, the endoscope system can calculate the fourth ideal brightness corresponding to each actual current based on the actual current and the second current formula, and calculate the reference brightness corresponding to each actual current based on the fourth ideal brightness and the brightness attenuation parameter corresponding to each actual current; if the difference between any reference brightness and the actual brightness exceeds a preset brightness threshold, the brightness attenuation formula and / or the second current formula is corrected.

[0149] Optionally, the fourth ideal brightness is the brightness calculated based on the actual current before the brightness is attenuated due to temperature influence. In this embodiment, the actual current can be substituted into the second current formula to obtain the fourth ideal brightness corresponding to each actual current.

[0150] Optionally, the reference brightness is a brightness obtained after attenuation calculation of the fourth ideal brightness.

[0151] Optionally, the preset brightness threshold can be set according to actual application conditions. In one possible implementation, the preset brightness threshold can be a value, and in another possible implementation, different preset brightness thresholds can be set for different current ranges, for example, a small preset brightness threshold is set for a small current range, and a large preset brightness threshold is set for a large current range.

[0152] It is understandable that if the difference between any reference brightness and the corresponding actual brightness exceeds the preset brightness threshold, it means that there may be an error in the calculation of the fourth ideal brightness and / or the reference brightness, so the brightness attenuation formula and / or the second current formula needs to be corrected.

[0153] In one possible implementation, the endoscope system may simultaneously calibrate the constants in the brightness attenuation formula and the second current formula corresponding to the light-emitting device, or only calibrate the constants in the brightness attenuation formula or the second current formula, for example, adjusting each constant in the brightness attenuation formula and the second current formula at the same time according to preset values ​​until the difference between the reference brightness and the actual brightness does not exceed a preset brightness threshold.

[0154] In another possible implementation manner, the brightness attenuation formula and / or the second current formula may be split to form multiple segments of polynomials, thereby ensuring that the difference between the reference brightness and the actual brightness does not exceed a preset brightness threshold.

[0155] It is understandable that how to correct the brightness attenuation formula and / or the second current formula can be set by the user according to actual application conditions, and this application does not make too many restrictions on this.

[0156] Please continue to refer to the above example. For each LED lamp, the endoscope system can input the actual temperature of the lamp obtained when the white light brightness is 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m and 10001m respectively into the brightness attenuation formula, calculate the corresponding brightness attenuation parameters, and calculate the third ideal brightness through the brightness attenuation parameters and the actual brightness.

[0157] In this example, the brightness attenuation parameter corresponding to the red LED light is YR1-YR10, and the third ideal brightness is LR1~LR10, the brightness attenuation parameter corresponding to the green LED light is YG1-YG10, and the third ideal brightness is LG1~LG10, and the brightness attenuation parameter corresponding to the blue LED light is YB1-YB10, and the third ideal brightness is LB1~LB10.

[0158] Substitute LR1~LR10 into the first current formula corresponding to the red LED lamp to calculate the driving current IRA1~IRA10, substitute LG1~LG10 into the first current formula corresponding to the green LED lamp to calculate the driving current IGA1~IGA10, substitute LB1~LB10 into the first current formula corresponding to the blue LED lamp to calculate the driving current IBA1~IBA10.

[0159] For each LED lamp, the brightness attenuation formula and / or the first current formula is corrected according to the calculated driving current and the actual current of the lamp obtained when the white light brightness is 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m and 10001m respectively.

[0160] In addition, the endoscope system can also, for each LED lamp, input the actual current of the lamp obtained when the white light brightness is 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m, and 10001m respectively into the second current formula corresponding to the LED lamp, and calculate the fourth ideal brightness corresponding to each actual current.

[0161] In this example, the fourth ideal brightness corresponding to the red LED light is LR1'-LR10', the fourth ideal brightness corresponding to the green LED light is LG1'-LG10', and the fourth ideal brightness corresponding to the blue LED light is LB1'-LB10'.

[0162] For each LED lamp, the reference brightness is calculated according to its corresponding brightness attenuation parameter. That is, for the red LED lamp, the reference brightness LR1" to LR10" is calculated according to LR1' to LR10' and YR1-YR10. For the green LED lamp, the reference brightness LG1" to LG10" is calculated according to LG1' to LG10' and YG1-YG10. For the blue LED lamp, the reference brightness LB1" to LB10" is calculated according to LB1' to LB10' and YB1-YB10.

[0163] For each LED lamp, the brightness attenuation formula and / or the second current formula is corrected according to the calculated reference brightness and the actual brightness of the lamp obtained when the white light brightness is 1001m, 2001m, 3001m, 4001m, 5001m, 6001m, 7001m, 8001m, 9001m and 10001m respectively.

[0164] Optionally, the endoscope system may also determine, for each light emitting device, a color temperature parameter of the light emitting device at a preset color temperature according to a plurality of actual brightnesses corresponding to the light emitting device.

[0165] The color temperature parameter represents the ratio between the brightness of the light-emitting device and the brightness of the combined light, and the color temperature parameter can be used to adjust the color temperature of the light-emitting device.

[0166] In this embodiment, the color temperature parameter includes a preset brightness ratio between the brightness of the light emitting device and the combined light brightness and a ratio deviation threshold.

[0167] Optionally, the endoscope system can determine the brightness proportion of the light-emitting device at each preset combined brightness according to the actual combined brightness of multiple light-emitting devices and the actual brightness of the light-emitting device at each preset combined brightness for each light-emitting device, determine the preset brightness proportion corresponding to the light-emitting device according to the brightness proportion of the light-emitting device at each preset combined brightness, and determine the proportion deviation threshold according to the brightness proportion of each light-emitting device at each preset combined brightness and the preset brightness proportion. In this embodiment, the proportion deviation threshold refers to the maximum value that the brightness proportion of the light-emitting device can be offset, that is, if the offset of the brightness proportion of the light-emitting device exceeds the proportion deviation threshold, it means that the color temperature of the combined light has shifted.

[0168] Optionally, the preset brightness ratio may be an average value of multiple brightness ratios.

[0169] Optionally, when determining the proportion deviation threshold, the difference between each brightness proportion and the corresponding preset brightness proportion can be calculated for each light-emitting device, and the maximum value of the difference can be determined. Then, the proportion deviation threshold is determined based on the maximum difference value corresponding to each light-emitting device and the preset offset parameter.

[0170] In this embodiment, the proportion deviation threshold may be the sum of the maximum value of the difference values ​​corresponding to each light-emitting device and the offset parameter.

[0171] It is understandable that the offset parameter can be set in advance according to the actual application situation.

[0172] Please continue to refer to the above example. As a specific example, the endoscope system can obtain a color temperature of 6000K. When the white light brightness is 1001m, the brightness proportion of the red LED light is NR1, the brightness proportion of the green LED light is NG1, and the brightness proportion of the blue LED light is NB1. When the white light brightness is 2001m, the brightness proportion of the red LED light is NR2, the brightness proportion of the green LED light is NG2, and the brightness proportion of the blue LED light is NB2. ... When the white light brightness is 10001m, the brightness proportion of the red LED light is NR10, the brightness proportion of the green LED light is NG10, and the brightness proportion of the blue LED light is NB10.

[0173] In this example, the endoscope system can calculate the average value of the brightness proportions NR1~NR10 corresponding to the red LED lights, so as to obtain the preset brightness proportion NRA corresponding to the red LED lights, calculate the average value of the brightness proportions NG1~NG10 corresponding to the green LED lights, so as to obtain the preset brightness proportion NGA corresponding to the green LED lights, and calculate the average value of the brightness proportions NB1~NB10 corresponding to the blue LED lights, so as to obtain the preset brightness proportion NBA corresponding to the blue LED lights.

[0174] Afterwards, the endoscope system can calculate the maximum difference NRM among NR1~NR10 compared to NRA for the red LED light, calculate the maximum difference NGM among NG1~NG10 compared to NGA for the green LED light, and calculate the maximum difference NBM among NB1~NB10 compared to NBA for the blue LED light, and thus calculate the proportion deviation threshold NM through NM=max(NRM, NGM, NBM)+x.

[0175] It can be understood that x is a preset offset parameter. In this example, x may be 0.5%.

[0176] It can be understood that, through the above method, the endoscope system can obtain multiple parameters that meet the actual application conditions of each light-emitting device and the relationship between the parameters, thereby facilitating the adjustment of the combined light brightness during actual application while ensuring the accuracy of the adjustment.

[0177] Next, an exemplary introduction is given on how to adjust the current combined light brightness during the application process so as to keep the combined light brightness stable.

[0178] Specifically, the endoscope system can calculate the resistance value of each light-emitting device according to the current voltage of each light-emitting device and a preset voltage division relationship, and calculate the first current temperature of each light-emitting device according to the resistance value of each light-emitting device and the first temperature formula.

[0179] The first temperature formula records the corresponding relationship between the resistance value and the temperature.

[0180] In this embodiment, the first temperature formula may be a formula provided in a specification sheet corresponding to the light emitting device.

[0181] For an example, see Figure 2 , the MCU can read the divided voltage of the NTC resistor on each LED lamp through the ADC, and calculate the resistance value of each NTC resistor according to the resistance divided voltage relationship, so as to calculate the first current temperature corresponding to each LED lamp by combining the first temperature formula and the resistance value of each NTC resistor.

[0182] In this embodiment, the endoscope system may determine, for each light emitting device, whether the first current temperature of the light emitting device exceeds the reference temperature corresponding to the light emitting device.

[0183] It can be understood that if the first current temperature of the light-emitting device exceeds the reference temperature corresponding to the light-emitting device, the light-emitting device is determined as the first light-emitting device to be adjusted.

[0184] Optionally, each light-emitting device corresponds to a reference temperature. To ensure the accuracy of adjustment, for each light-emitting device, the reference temperature may be the temperature of the light-emitting device after the driving current of the light-emitting device was last adjusted.

[0185] It can be understood that if the first current temperature of the light-emitting device exceeds its corresponding reference temperature, it can be determined that the brightness of the light-emitting device has decayed due to temperature changes, thereby affecting the current combined light brightness, and therefore the light-emitting device can be determined as the first light-emitting device to be adjusted. Optionally, in order to facilitate the judgment of the endoscope system, a byte can be used as an identification bit to determine in turn whether the first current temperature of each light-emitting device exceeds the reference temperature corresponding to the light-emitting device, and the identification bit is updated according to the judgment result, and then the endoscope system can determine which light-emitting device to adjust according to the identification bit.

[0186] In one example, the identification bit can be Tflag, and at the initial moment Tflag = 0x0. The endoscope system can first determine whether the red LED light is the first light-emitting device to be adjusted. If so, Tflag can be modified to 0x1. Then, it can be determined whether the green LED light is the first light-emitting device to be adjusted. If so, Tflag can be modified to 0x10. Then, it can be determined whether the blue LED light is the first light-emitting device to be adjusted. If so, Tflag can be modified to 0x100. In this case, the current driving current of the light-emitting device can be adjusted according to the value of Tflag.

[0187] Next, a possible implementation method is provided for how to adjust the current driving current of the first light-emitting device to be adjusted according to the first current temperature of the first light-emitting device to be adjusted so as to adjust the current combined light brightness to a preset brightness.

[0188] Specifically, the endoscope system can calculate the target brightness corresponding to the first light-emitting device to be adjusted according to the first current temperature of the first light-emitting device to be adjusted and a preset brightness formula, calculate the target driving current corresponding to the first light-emitting device to be adjusted according to the target brightness and the first current formula, and drive the first light-emitting device to be adjusted according to the target driving current to adjust the current combined light brightness to the preset brightness.

[0189] The target brightness is the brightness of the first light-emitting device to be adjusted before attenuation at a preset brightness, and the first current formula records the corresponding relationship between the brightness and the driving current.

[0190] Optionally, the preset brightness refers to a combined light brightness at which the temperature should be maintained.

[0191] Optionally, considering that the temperature factor causes brightness attenuation, it is necessary to calculate the brightness that the first device to be dimmed should output at a preset brightness if it is not attenuated, that is, the target brightness, so as to take the brightness attenuation factor into account.

[0192] Optionally, the brightness formula may include a brightness attenuation formula and a brightness relationship formula, and the endoscope system may calculate the target brightness corresponding to the first light-emitting device to be adjusted according to the brightness attenuation formula and the brightness relationship formula.

[0193] In one possible implementation, the endoscope system can calculate the first brightness attenuation parameter corresponding to the first light-emitting device to be adjusted based on the first current temperature of the first light-emitting device to be adjusted and the brightness attenuation formula corresponding to the first light-emitting device to be adjusted, and calculate the brightness that the first light-emitting device to be adjusted should output at the preset brightness based on the preset brightness and the brightness relationship formula corresponding to the first light-emitting device to be adjusted.

[0194] On this basis, the endoscope system can calculate the target brightness corresponding to the first light-emitting device to be adjusted according to the brightness that the first light-emitting device to be adjusted should output at the preset brightness and the first brightness attenuation parameter.

[0195] The brightness attenuation formula records the corresponding relationship between temperature and brightness attenuation parameter, and the brightness relationship formula records the corresponding relationship between the combined light brightness and the brightness of the light-emitting device.

[0196] It can be understood that, since the brightness relationship formula records the relationship between the combined light brightness and the brightness of the light-emitting device, the brightness that the first light-emitting device to be adjusted should output at the preset brightness can be calculated based on the preset brightness and the brightness relationship formula.

[0197] In this embodiment, considering that if the brightness is adjusted according to the brightness that should be output, the brightness of the light-emitting device cannot reach the brightness that should be output after the brightness decays due to the influence of temperature, it is also necessary to combine the brightness that should be output and the corresponding first brightness attenuation coefficient to calculate the target brightness that takes into account the brightness attenuation.

[0198] In one example, if a red LED lamp is the first light emitting device to be adjusted, the endoscope system can adjust the brightness of the red LED lamp according to the first current temperature TR of the red LED lamp and the brightness attenuation formula YR=KR4*TR corresponding to the red LED lamp. 2 +KR5*TR+KR6, calculate the first brightness attenuation parameter YR corresponding to the red LED light, and calculate the brightness LRA that the red LED light should output according to the preset brightness LW and the brightness relationship formula LRA=KR1*LW2+KR2*LW+KR3 corresponding to the red LED light.

[0199] Then, the target brightness LR corresponding to the red LED light can be calculated according to the formula YR=LRA / LR.

[0200] In this example, the endoscope system can also be based on the target brightness LR corresponding to the red LED light and the first current formula IRA = KR7*LR corresponding to the red LED light. 2 +KR8*LR+KR9, calculate the target driving current IRA corresponding to the red LED lamp, and then drive the red LED lamp by the target driving current.

[0201] Please continue to see Figure 2 , the MCU can determine the corresponding target PWM duty cycle according to the corresponding relationship between the target driving current IRA and the preset current and PWM duty cycle, so as to adjust the driving current of the red LED lamp to the target driving current by adjusting the PWM duty cycle to the target PWM duty cycle.

[0202] Optionally, in order to facilitate subsequent adjustment of the first light-emitting device to be adjusted, the endoscope system can also calculate the second current temperature of the first light-emitting device to be adjusted after driving the first light-emitting device to be adjusted according to the target driving current, and determine the second current temperature as the new reference temperature corresponding to the first light-emitting device to be adjusted.

[0203] In order to perform the corresponding steps in the above embodiments and various possible methods, a method for implementing a combined light brightness adjustment device is provided below. Figure 6 , Figure 6 A functional module diagram of a combined light brightness adjustment device provided in an embodiment of the present application.

[0204] It should be noted that the basic principle and technical effects of the combined light brightness adjustment device provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for the parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The combined light brightness adjustment device includes: an acquisition module 100, a generation module 110 and an adjustment module 120.

[0205] The acquisition module 100 is used to acquire the actual current and actual brightness corresponding to each light emitting device under a plurality of preset combined brightness levels under a preset color temperature.

[0206] It can be understood that the acquisition module 100 can also be used to execute the above step S20.

[0207] The generating module 110 is used to generate a brightness adjustment formula corresponding to each light-emitting device according to a plurality of actual currents and a plurality of actual brightnesses corresponding to the light-emitting device.

[0208] It can be understood that the determination module 110 can also be used to execute the above step S21.

[0209] The adjustment module 120 is used to determine the light-emitting device to be adjusted from multiple light-emitting devices according to the current temperature of each light-emitting device, and adjust the brightness of the light-emitting device to be adjusted according to the current temperature of the light-emitting device to be adjusted and the brightness adjustment formula corresponding to the light-emitting device to be adjusted, so as to adjust the combined light brightness of the multiple light-emitting devices to a preset brightness.

[0210] It is understandable that the adjustment module 120 can also be used to execute the above step S22.

[0211] Optionally, the generation module 110 is also used to generate a brightness relationship formula based on the actual combined light brightness of multiple light-emitting devices under each preset combined light brightness and the actual brightness of the light-emitting devices; determine multiple characteristic currents corresponding to the light-emitting devices based on multiple actual currents and preset working currents, and determine the characteristic brightness and characteristic temperature corresponding to the light-emitting devices under each characteristic current; generate a brightness attenuation formula, a first current formula and a second current formula based on the characteristic brightness and characteristic temperature corresponding to the light-emitting devices under each characteristic current; wherein the brightness relationship formula records the corresponding relationship between the combined light brightness and the brightness of the light-emitting device, the brightness attenuation formula records the corresponding relationship between the temperature and the brightness attenuation parameter, the first current formula records the corresponding relationship between the brightness and the driving current, and the second current formula records the corresponding relationship between the driving current and the brightness.

[0212] Optionally, the generation module 110 is also used to determine the brightness attenuation parameters corresponding to each characteristic temperature according to each characteristic temperature and a preset first curve, and to determine the brightness attenuation formula according to each characteristic temperature and the brightness attenuation parameters corresponding to the characteristic temperature; wherein the first curve represents the correspondence between the brightness attenuation parameter and the temperature of the light-emitting device; and the first current formula and the second current formula are generated according to each characteristic current, characteristic brightness, the brightness attenuation parameter corresponding to the characteristic brightness and a preset second curve; and the second curve represents the correspondence between the luminous flux and the current.

[0213] Optionally, the generation module 110 is also used to calculate the first ideal brightness corresponding to each characteristic current according to each characteristic brightness and the brightness attenuation parameter corresponding to the characteristic brightness; determine the luminous flux corresponding to each characteristic current according to each characteristic current and the second curve; calculate the second ideal brightness corresponding to each characteristic current according to the first ideal brightness and the luminous flux corresponding to each characteristic current, and calculate the brightness constant based on multiple second ideal brightnesses; the second ideal brightness is the brightness at which the brightness is not attenuated and the luminous flux is 100%; determine the first current formula and the second current formula according to the brightness constant, the luminous flux corresponding to each characteristic current and the first ideal brightness, and the second curve.

[0214] Optionally, the generation module 110 is also used to obtain the actual temperature corresponding to each light-emitting device under multiple preset combined brightness levels under a preset color temperature; and perform parameter correction on the brightness attenuation formula, the first current formula, and the second current formula according to multiple actual currents, multiple actual temperatures, and multiple actual brightnesses corresponding to the light-emitting device.

[0215] Optionally, the generation module 110 is also used to calculate the brightness attenuation parameters corresponding to each actual temperature according to each actual temperature and the brightness attenuation formula; perform parameter correction on the brightness attenuation formula and / or the first current formula according to each actual brightness, the brightness attenuation parameter corresponding to the actual brightness and each actual current; perform parameter correction on the brightness attenuation formula and / or the second current formula according to each actual brightness, each actual current and the brightness attenuation parameter corresponding to the actual current.

[0216] Optionally, the generation module 110 is also used to calculate a third ideal brightness based on each actual brightness and a brightness attenuation parameter corresponding to the actual brightness; calculate a driving current corresponding to each third ideal brightness based on each third ideal brightness and the first current formula; if the difference between any driving current and the corresponding actual current exceeds a preset current threshold, perform parameter correction on the brightness attenuation formula and / or the first current formula.

[0217] Optionally, the generation module 110 is also used to calculate the fourth ideal brightness corresponding to each actual current based on each actual current and the second current formula; calculate the reference brightness corresponding to each actual current based on the fourth ideal brightness and the brightness attenuation parameter corresponding to each actual current; if the difference between any reference brightness and the actual brightness exceeds a preset brightness threshold, perform parameter correction on the brightness attenuation formula and / or the second current formula.

[0218] Optionally, the generation module 110 is also used to determine the color temperature parameters of the light-emitting device at a preset color temperature for each light-emitting device according to multiple actual brightnesses corresponding to the light-emitting device; wherein the color temperature parameters characterize the ratio between the brightness of the light-emitting device and the combined light brightness, and the color temperature parameters are used to adjust the color temperature of the light-emitting device.

[0219] Optionally, the generation module 110 is also used to determine, for each light-emitting device, the brightness ratio of the light-emitting device at each preset combination brightness according to the actual combined brightness of multiple light-emitting devices at each preset combination brightness and the actual brightness of the light-emitting device; determine the preset brightness ratio corresponding to the light-emitting device according to the brightness ratio of the light-emitting device at each preset combination brightness; determine the ratio deviation threshold according to the brightness ratio of each light-emitting device at each preset combination brightness and the preset brightness ratio.

[0220] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the combined light brightness adjustment method provided in the embodiment of the present application can be implemented.

[0221] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0222] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0223] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0224] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A combined light brightness adjustment method, characterized in that: Applied to an endoscope system, the endoscope system includes a plurality of light emitting devices, the method includes: Under a preset color temperature, obtaining the actual current and actual brightness corresponding to each of the light-emitting devices under a plurality of preset combined brightnesses; For each of the light-emitting devices, generating a brightness adjustment formula corresponding to the light-emitting device according to a plurality of actual currents and a plurality of actual brightnesses corresponding to the light-emitting device; A light-emitting device to be adjusted is determined from the multiple light-emitting devices according to the current temperature of each of the light-emitting devices, and the brightness of the light-emitting device to be adjusted is adjusted according to the current temperature of the light-emitting device to be adjusted and the brightness adjustment formula corresponding to the light-emitting device to be adjusted, so as to adjust the combined light brightness of the multiple light-emitting devices to a preset brightness.

2. The method according to claim 1, characterized in that The brightness adjustment formula includes a brightness relationship formula, a brightness attenuation formula, a first current formula and a second current formula; The step of generating a brightness adjustment formula corresponding to the light emitting device according to the plurality of actual currents and the plurality of actual brightnesses corresponding to the light emitting device comprises: Generate the brightness relationship formula according to the actual combined light brightness of the plurality of light emitting devices under each of the preset combined light brightnesses and the actual brightness of the light emitting devices; Determine a plurality of characteristic currents corresponding to the light-emitting device according to the plurality of actual currents and the preset operating current, and determine a characteristic brightness and a characteristic temperature corresponding to the light-emitting device under each of the characteristic currents; Generate the brightness attenuation formula, the first current formula and the second current formula according to the characteristic brightness and characteristic temperature corresponding to the light-emitting device at each characteristic current; Among them, the brightness relationship formula records the corresponding relationship between the combined light brightness and the brightness of the light-emitting device, the brightness attenuation formula records the corresponding relationship between temperature and brightness attenuation parameters, the first current formula records the corresponding relationship between brightness and driving current, and the second current formula records the corresponding relationship between driving current and brightness.

3. The method according to claim 2, characterized in that The step of generating the brightness attenuation formula, the first current formula, and the second current formula according to the characteristic brightness and characteristic temperature corresponding to each characteristic current of the light emitting device includes: Determine the brightness attenuation parameter corresponding to each characteristic temperature according to each characteristic temperature and a preset first curve, and determine the brightness attenuation formula according to each characteristic temperature and the brightness attenuation parameter corresponding to the characteristic temperature; wherein the first curve represents the corresponding relationship between the brightness attenuation parameter and the temperature of the light-emitting device; The first current formula and the second current formula are generated according to each of the characteristic currents, the characteristic brightness, the brightness attenuation parameter corresponding to the characteristic brightness and a preset second curve; the second curve represents the corresponding relationship between luminous flux and current.

4. The method according to claim 3, characterized in that: The generating of the first current formula and the second current formula according to each of the characteristic currents, the characteristic brightness, the brightness attenuation parameter corresponding to the characteristic brightness and a preset second curve includes: Calculating a first ideal brightness corresponding to each characteristic current according to each characteristic brightness and a brightness attenuation parameter corresponding to the characteristic brightness; Determining the luminous flux corresponding to each characteristic current according to each characteristic current and the second curve; According to the first ideal brightness and luminous flux corresponding to each of the characteristic currents, a second ideal brightness corresponding to each of the characteristic currents is calculated, and a brightness constant is calculated according to a plurality of the second ideal brightnesses; the second ideal brightness is a brightness at which the brightness is not attenuated and the luminous flux is 100%; The first current formula and the second current formula are determined according to the brightness constant, the luminous flux corresponding to each of the characteristic currents, the first ideal brightness, and the second curve.

5. The method according to claim 2, characterized in that: The method further comprises: Under the preset color temperature, obtaining the actual temperature corresponding to each of the light emitting devices under multiple preset combined brightness; According to the multiple actual currents, multiple actual temperatures and multiple actual brightnesses corresponding to the light-emitting device, parameter correction is performed on the brightness attenuation formula, the first current formula and the second current formula respectively.

6. The method according to claim 5, characterized in that The performing parameter correction on the brightness attenuation formula, the first current formula and the second current formula respectively according to the multiple actual currents, the multiple actual temperatures and the multiple actual brightnesses corresponding to the light-emitting device comprises: Calculate the brightness attenuation parameter corresponding to each actual temperature according to each actual temperature and the brightness attenuation formula; Performing parameter correction on the brightness attenuation formula and / or the first current formula according to each of the actual brightnesses, the brightness attenuation parameters corresponding to the actual brightnesses, and each of the actual currents; According to each of the actual brightnesses, each of the actual currents and a brightness attenuation parameter corresponding to the actual current, parameter correction is performed on the brightness attenuation formula and / or the second current formula.

7. The method according to claim 6, characterized in that The performing parameter correction on the brightness attenuation formula and / or the first current formula according to each of the actual brightnesses, the brightness attenuation parameter corresponding to the actual brightness, and each of the actual currents includes: Calculate a third ideal brightness according to each of the actual brightnesses and the brightness attenuation parameter corresponding to the actual brightness; Calculating the driving current corresponding to each of the third ideal brightnesses according to each of the third ideal brightnesses and the first current formula; If the difference between any of the driving currents and the corresponding actual current exceeds a preset current threshold, parameter correction is performed on the brightness attenuation formula and / or the first current formula.

8. The method according to claim 6, characterized in that The performing parameter correction on the brightness attenuation formula and / or the second current formula according to each of the actual brightnesses, each of the actual currents and the brightness attenuation parameter corresponding to the actual currents comprises: Calculating a fourth ideal brightness corresponding to each of the actual currents according to each of the actual currents and the second current formula; Calculating a reference brightness corresponding to each of the actual currents according to the fourth ideal brightness and a brightness attenuation parameter corresponding to each of the actual currents; If the difference between any of the reference brightness and the actual brightness exceeds a preset brightness threshold, parameter correction is performed on the brightness attenuation formula and / or the second current formula.

9. The method according to claim 1, characterized in that: The method further comprises: For each of the light-emitting devices, the color temperature parameters of the light-emitting device at the preset color temperature are determined according to the multiple actual brightnesses corresponding to the light-emitting device; wherein the color temperature parameters characterize the ratio between the brightness of the light-emitting device and the brightness of the combined light, and the color temperature parameters are used to adjust the color temperature of the light-emitting device.

10. The method according to claim 9, characterized in that The color temperature parameters include a preset brightness ratio and a ratio deviation threshold between the brightness of the light emitting device and the combined light brightness; The step of determining the color temperature parameter of the light emitting device at the preset color temperature according to a plurality of actual brightnesses corresponding to the light emitting device comprises: For each of the light-emitting devices, determine the brightness proportion of the light-emitting device at each of the preset combined light brightnesses according to the actual combined light brightness of the plurality of light-emitting devices at each of the preset combined light brightnesses and the actual brightness of the light-emitting device; Determining a preset brightness ratio corresponding to the light emitting device according to the brightness ratio of the light emitting device under each of the preset combined light brightnesses; The proportion deviation threshold is determined according to the brightness proportion of each of the light-emitting devices at each of the preset combined light brightnesses and the preset brightness proportion.

11. A combined light brightness adjustment device, characterized in that: Applied to an endoscope system, the endoscope system includes a plurality of light emitting devices, and the device includes: An acquisition module, used for acquiring, at a preset color temperature, actual currents and actual brightnesses corresponding to each of the light-emitting devices at a plurality of preset combined brightnesses; A generating module, configured to generate, for each of the light-emitting devices, a brightness adjustment formula corresponding to the light-emitting device according to a plurality of actual currents and a plurality of actual brightnesses corresponding to the light-emitting device; An adjustment module is used to determine a light-emitting device to be adjusted from a plurality of the light-emitting devices according to the current temperature of each of the light-emitting devices, and to adjust the brightness of the light-emitting device to be adjusted according to the current temperature of the light-emitting device to be adjusted and the brightness adjustment formula corresponding to the light-emitting device to be adjusted, so as to adjust the combined light brightness of the plurality of light-emitting devices to a preset brightness.

12. An endoscope system, characterized in that: The method comprises a controller, wherein the controller is configured to execute a computer program to implement the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.