Combined brightness adjustment method, device, endoscope system, and storage medium

By obtaining the current temperature of the light-emitting device and adjusting the driving current, the problem of unstable combined light brightness is solved, the stability of combined light brightness and color temperature is achieved, and the diagnostic effect of the endoscope system is improved.

CN119629792BActive Publication Date: 2025-10-21ZHUHAI SHIXIN MEDICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411995988.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-10-21
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In the prior art, the brightness of the combined light is easily unstable during the operation of the light-emitting device, especially due to the reduction of the luminous efficiency caused by temperature changes.

Method used

By acquiring the current temperature of each light-emitting device, it is determined whether the reference temperature has been exceeded, and the driving current is adjusted according to the temperature to stabilize the combined brightness and color temperature, including brightness adjustment of the first light-emitting device to be adjusted and color temperature adjustment of the second light-emitting device to be adjusted.

Benefits of technology

It achieves stability in the combination of brightness and color temperature during the operation of the light-emitting device, reduces brightness decay, and improves the accuracy and reliability of image display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629792B_ABST
    Figure CN119629792B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a combined light brightness adjusting method and device, an endoscope system and a storage medium, and relate to the technical field of computers. For each light emitting device, in the case that the light emitting device is a first to-be-adjusted light emitting device, the current driving current of the first to-be-adjusted light emitting device is adjusted according to the first current temperature of the first to-be-adjusted light emitting device, so as to adjust the current combined light brightness composed of multiple light emitting devices to a preset brightness. In the case that there are other light emitting devices in addition to the first to-be-adjusted light emitting device in the multiple light emitting devices, and the other light emitting devices are second to-be-adjusted light emitting devices, the current driving current of the second to-be-adjusted light emitting device is adjusted according to the first current temperature of the second to-be-adjusted light emitting device, so as to adjust the current combined light color temperature to a preset color temperature. In this way, the combined light brightness during the working process of the light emitting device can be stably ensured at the preset brightness.
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] Currently, the light emitted by some devices during operation is often a combination of light from multiple monochromatic light-emitting devices. For example, a multi-spectral cold light source for an endoscope uses light from multiple monochromatic LEDs to create white light or a specific narrowband. In existing technologies, this combination of light often results in unstable brightness during operation. Summary of the Invention

[0003] In view of this, the purpose of the present application is to provide a combined light brightness adjustment method, an apparatus endoscope system and a storage medium to keep the combined light brightness stable during the operation of the light-emitting device.

[0004] In order to achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:

[0005] 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 multiple light-emitting devices, and the method includes:

[0006] Acquire a first current temperature of each of the light-emitting devices;

[0007] For each of the light-emitting devices, determining whether a first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device;

[0008] 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;

[0009] Adjusting a current driving current of the first light-emitting device to be adjusted according to a first current temperature of the first light-emitting device to be adjusted, so as to adjust the current combined light brightness of the plurality of light-emitting devices to a preset brightness;

[0010] When there are other light-emitting devices besides the first light-emitting device to be modulated among the plurality of light-emitting devices, obtaining a driving current of the other light-emitting devices;

[0011] Calculating a brightness ratio corresponding to the other light-emitting device according to the current driving current and the first current temperature of the other light-emitting device, and determining whether the other light-emitting device is the second light-emitting device to be adjusted according to the brightness ratio corresponding to the other light-emitting device;

[0012] In the case that the other light-emitting device is the second light-emitting device to be adjusted, the current driving current of the second light-emitting device to be adjusted is adjusted according to the first current temperature of the other light-emitting device to adjust the current combined light color temperature to the preset color temperature.

[0013] In an optional implementation manner, obtaining the first current temperature of each of the light-emitting devices includes:

[0014] Calculating the resistance value of each of the light-emitting devices according to the current voltage of each of the light-emitting devices and a preset voltage division relationship;

[0015] The first current temperature of each of the light-emitting devices is calculated according to the resistance value of each of the light-emitting devices and a first temperature formula; the first temperature formula records the corresponding relationship between the resistance value and the temperature.

[0016] In an optional embodiment, the adjusting 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 includes:

[0017] Calculating a target brightness corresponding to the first light-emitting device to be adjusted according to a first current temperature of the first light-emitting device to be adjusted and a preset brightness formula; the target brightness is the brightness of the first light-emitting device to be adjusted before it is attenuated at the preset brightness;

[0018] The target driving current corresponding to the first light-emitting device to be adjusted is calculated according to the target brightness and the first current formula, and the first light-emitting device to be adjusted is driven according to the target driving current to adjust the current combined light brightness to the preset brightness; the first current formula records the correspondence between brightness and driving current.

[0019] In an optional embodiment, the brightness formula includes a brightness attenuation formula and a brightness relationship formula;

[0020] The calculating, according to the first current temperature of the first light-emitting device to be adjusted and a preset brightness formula, a target brightness corresponding to the first light-emitting device to be adjusted includes:

[0021] Calculating a first brightness attenuation parameter 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 brightness attenuation formula corresponding to the first light-emitting device to be adjusted; the brightness attenuation formula records the corresponding relationship between temperature and brightness attenuation parameter;

[0022] Calculating the brightness that the first light-emitting device to be adjusted should output at the preset brightness according to a brightness relationship formula corresponding to the preset brightness and the first light-emitting device to be adjusted; the brightness relationship formula records the corresponding relationship between the brightness of the combined light and the brightness of the light-emitting device;

[0023] The target brightness corresponding to the first light-emitting device to be adjusted is calculated 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.

[0024] In an optional implementation, after driving the first light-emitting device to be adjusted according to the target driving current, the method further includes:

[0025] A second current temperature of the first light-emitting device to be adjusted is calculated, and the second current temperature is determined as a new reference temperature corresponding to the first light-emitting device to be adjusted.

[0026] In an optional embodiment, calculating the brightness proportion corresponding to the other light-emitting devices according to the current driving current and the first current temperature of the other light-emitting devices includes:

[0027] Calculating a second brightness attenuation parameter corresponding to the other light-emitting device according to the first current temperature of the other light-emitting device and a brightness attenuation formula corresponding to the other light-emitting device;

[0028] Calculating the ideal brightness corresponding to the other light-emitting device based on the current driving current of the other light-emitting device and a second current formula; the ideal brightness is the unattenuated brightness of the other light-emitting device under the current driving current, and the second current formula records the corresponding relationship between the driving current and the brightness;

[0029] The current brightness of the other light-emitting devices is calculated according to the ideal brightness corresponding to the other light-emitting devices and the second brightness attenuation parameter, and the brightness proportion of the other light-emitting devices is calculated according to the current brightness and the preset brightness.

[0030] In an optional embodiment, determining whether the other light-emitting device is the second light-emitting device to be adjusted according to the brightness proportion corresponding to the other light-emitting device includes:

[0031] If the difference between the brightness proportion of the other light-emitting device and the preset brightness proportion corresponding to the other light-emitting device exceeds a proportion deviation threshold, the other light-emitting device is determined to be the second light-emitting device to be adjusted.

[0032] 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 multiple light-emitting devices, and the device includes:

[0033] an acquisition module, configured to acquire a first current temperature of each of the light-emitting devices;

[0034] a determination module, configured to determine, for each of the light-emitting devices, whether a first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device;

[0035] The determining module is further configured to determine the light-emitting device as the first light-emitting device to be adjusted if the first current temperature of the light-emitting device exceeds the reference temperature corresponding to the light-emitting device;

[0036] an adjusting module, configured to adjust a current driving current of the first light-emitting device to be adjusted according to a first current temperature of the first light-emitting device to be adjusted, so as to adjust the brightness of a current combined light composed of the plurality of light-emitting devices to a preset brightness;

[0037] The determining module is further configured to, when there are other light-emitting devices other than the first light-emitting device to be adjusted among the plurality of light-emitting devices, obtain a driving current of the other light-emitting devices, calculate a brightness ratio corresponding to the other light-emitting devices based on the current driving current of the other light-emitting devices and the first current temperature, and determine whether the other light-emitting devices are the second light-emitting devices to be adjusted based on the brightness ratios corresponding to the other light-emitting devices;

[0038] The adjustment module is further configured to adjust the current driving current of the second light-emitting device to be adjusted according to the first current temperature of the other light-emitting device when the other light-emitting device is the second light-emitting device to be adjusted, so as to adjust the current combined light color temperature to the preset color temperature.

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

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

[0041] The combined light brightness adjustment method, device, endoscope system, and storage medium provided in the embodiments of the present application calculate the first current temperature corresponding to each light-emitting device, and determine a first light-emitting device to be adjusted from multiple light-emitting devices based on the first current temperature of each light-emitting device. The current driving current of the first light-emitting device to be adjusted is adjusted based on the first current temperature of the first light-emitting device to be adjusted, thereby adjusting the current combined light brightness to a preset brightness. In this way, the current temperature of the light-emitting device can be used to determine whether it should be adjusted, and the driving current can be adjusted based on the current temperature of the light-emitting device to be adjusted, thereby adjusting the current combined light brightness, ensuring that the combined light brightness remains stable at the preset brightness during operation of the light-emitting device. Furthermore, after adjusting the first light-emitting device to be adjusted, it can be determined whether other light-emitting devices exist in the multiple light-emitting devices, and whether the other light-emitting devices are second light-emitting devices to be adjusted. If the other light-emitting devices are second light-emitting devices to be adjusted, the current driving current of the second light-emitting device to be adjusted can be adjusted based on the first current temperature corresponding to the second light-emitting device to be adjusted, thereby adjusting the current combined light color temperature. This further ensures the stability of the combined light color temperature.

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

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. 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 relevant drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 Shows a schematic diagram of the combined colors of red, blue, and green LED lights;

[0045] Figure 2 Shows the circuit structure diagram of MCU and each LED lamp;

[0046] Figure 3 A schematic diagram showing a flow chart of a combined light brightness adjustment method provided in an embodiment of the present application is shown;

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

[0048] Icons: 100 - Acquisition module; 110 - Confirmation module; 120 - Adjustment module. DETAILED DESCRIPTION

[0049] The following will be combined with the accompanying 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. Generally, the components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.

[0050] 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 protection, 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 making any creative efforts shall fall within the scope of protection of the present application.

[0051] 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 actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0052] Currently, some devices require a combination of light from multiple monochromatic light-emitting devices, such as the light from an endoscope's multi-spectral cold light source, which is white light composed of multiple monochromatic LED lights.

[0053] Since the luminous efficiency of a light-emitting device is strongly correlated with its own temperature, that is, as the temperature rises, the luminous efficiency will decrease, and the light-emitting device will inevitably emit heat during operation, therefore, as the light-emitting device works, the ambient temperature will increase, resulting in a decrease in the luminous efficiency of the light-emitting device, which in turn will cause the brightness of the combined light to be affected to a certain extent, resulting in the problem of unstable brightness of the combined light.

[0054] Based on this, embodiments of the present application provide a combined light brightness adjustment method, device, endoscope system and storage medium to solve the above problems.

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

[0056] Optionally, the endoscope system may further include a plurality of light-emitting devices, and the controller may be electrically connected to the plurality of 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 plurality of light-emitting devices.

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

[0058] 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 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 should be understood that this application uses red LED lights, blue LED lights, and green LED lights as examples, and the light-emitting devices can also be other combinations of light. This application does not limit the number of light-emitting devices or the specific wavelength bands.

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

[0060] Specifically, Figure 2 For the circuit diagram of MCU and each LED light, 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.

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

[0062] Next, the controller in the endoscope system is used as the execution body, and the combined light brightness adjustment method provided by the embodiment of the present application is introduced in combination with the flow chart. Specifically, Figure 3 A flow chart of the combined light brightness adjustment method provided in the embodiment of the present application is shown in FIG. Figure 3 , the method comprising:

[0063] Step S20: Acquire the first current temperature of each light-emitting device.

[0064] Step S21 : for each light-emitting device, determining whether a first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device.

[0065] Step S22: 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.

[0066] 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 is last adjusted.

[0067] 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. Therefore, the light-emitting device can be determined as the first light-emitting device to be adjusted.

[0068] Optionally, in order to facilitate the judgment of the endoscope system, a byte can be used as an identification bit to judge 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. The endoscope system can then determine which light-emitting device to adjust based on the identification bit.

[0069] 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, the new identification bit Tflag = Tflag|0b1, if not, the identification bit is not modified. Then it can continue to determine whether the green LED light is the first light-emitting device to be adjusted. If so, the new identification bit Tflag = Tflag|0b10, if not, the identification bit is not modified. Then it can continue to determine whether the blue LED light is the first light-emitting device to be adjusted. If so, the new identification bit Tflag = Tflag|0xb100, if not, the identification bit is not modified. Among them, "|" represents an OR operation.

[0070] In this case, the endoscope system can ultimately adjust the current driving current of the light emitting device according to the value of Tflag.

[0071] Optionally, the first light-emitting device to be adjusted refers to a light-emitting device whose luminous efficiency is greatly reduced due to the influence of temperature.

[0072] In this embodiment, the number of the first light-emitting device to be modulated may be one or more.

[0073] Step S23 , adjusting 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 of the multiple light-emitting devices to a preset brightness.

[0074] Optionally, since brightness is affected by temperature, the endoscope system can adjust the current driving current corresponding to the first light-emitting device to be adjusted according to the first current temperature corresponding to the first light-emitting device to be adjusted, thereby adjusting the current brightness of the current combined light by adjusting the driving current.

[0075] Optionally, the endoscope system may adjust the driving current of the first light-emitting device to be adjusted by adjusting the PWM duty cycle.

[0076] Step S24 : when there are other light-emitting devices besides the first light-emitting device to be modulated among the plurality of light-emitting devices, obtain the driving current of the other light-emitting devices.

[0077] Optionally, considering that some light-emitting devices are the first light-emitting devices to be adjusted, and although the temperature of other light-emitting devices does not exceed the threshold, there may be changes that cause the color temperature of the combined light to change, it can be further determined whether the color temperature needs to be adjusted.

[0078] Step S25 , calculating the brightness proportion of the other light-emitting devices according to the current driving current and the first current temperature of the other light-emitting devices, and determining whether the other light-emitting devices are the second light-emitting devices to be adjusted according to the brightness proportions of the other light-emitting devices.

[0079] Step S26 , when the other light-emitting device is the second light-emitting device to be adjusted, the current driving current of the second light-emitting device to be adjusted is adjusted according to the first current temperature of the second light-emitting device to be adjusted, so as to adjust the current combined light color temperature to the preset color temperature.

[0080] Optionally, among multiple light-emitting devices, only some of the light-emitting devices may have a first current temperature that exceeds their corresponding reference temperature, while there are other light-emitting devices whose first current temperature does not exceed their corresponding reference temperature. It can be determined for these light-emitting devices whether their corresponding brightness ratios are shifted significantly, thereby affecting the combined light color temperature.

[0081] In this embodiment, the endoscope system can determine whether the brightness ratio of other light-emitting devices deviates significantly from the brightness ratio they should have at the preset color temperature. If the deviation is large, it will be determined as the second light-emitting device to be adjusted.

[0082] It is understandable that when adjusting the second light-emitting device to be adjusted, the brightness will be further fine-tuned, so the stability of the brightness can be further guaranteed, and the stability of the color temperature can also be guaranteed.

[0083] Optionally, the endoscope system may adjust the current driving current of the second light-emitting device to be adjusted by adjusting the PWM duty cycle.

[0084] In the method for adjusting the brightness of combined light provided in an embodiment of the present application, a controller in an endoscope system can calculate the first current temperature corresponding to each light-emitting device, and determine a first light-emitting device to be adjusted from a plurality of light-emitting devices based on the first current temperature of each light-emitting device. The current driving current of the first light-emitting device to be adjusted is adjusted based on the first current temperature of the first light-emitting device to be adjusted, thereby adjusting the current brightness of the combined light to a preset brightness. In this way, whether the light-emitting device should be adjusted can be determined based on its current temperature, and the driving current can be adjusted based on the current temperature of the light-emitting device to be adjusted, thereby adjusting the current brightness of the combined light, ensuring that the brightness of the combined light can be stabilized at the preset brightness during the operation of the light-emitting device.

[0085] Furthermore, after adjusting the first light-emitting device to be adjusted, the endoscope system can determine whether there are other light-emitting devices among the multiple light-emitting devices, and determine whether the other light-emitting devices are the second light-emitting devices to be adjusted. If they are the second light-emitting devices to be adjusted, the current driving current of the second light-emitting device to be adjusted can be adjusted according to its corresponding first current temperature, thereby adjusting the current combined light color temperature, thereby further ensuring the stability of the combined light color temperature.

[0086] This application is particularly suitable for medical scenarios such as endoscopy. After the endoscope insertion tube enters the patient's cavity / organ, the camera module at the front end of the insertion tube can be used to collect images of the patient's cavity / organ for the doctor to use as a reference for diagnosis of the patient. Since the patient's cavity / organ is relatively dark, and different tissues (such as blood vessels, lesions, etc.) reflect different light to different degrees, brightness deviation and color temperature deviation may affect the image display of the doctor's tissue of interest, thereby affecting the doctor's judgment. In addition, there is a certain deviation in the temperature of different cavities / organs. Based on this, the combined light brightness adjustment method provided by this application can comprehensively consider information such as the temperature and brightness ratio of multiple light-emitting devices to adjust the combined light brightness and color temperature. It can not only effectively reduce brightness attenuation and stabilize the brightness of the combined light, but also effectively ensure the comprehensive stability of the combined light brightness and color temperature, which is helpful for the doctor's diagnosis.

[0087] In a possible implementation, the endoscope system may obtain the first current temperature of each light-emitting device through a temperature sensor.

[0088] In another possible implementation manner, the endoscope system may calculate the first current temperature of each light emitting device through the current voltage of the light emitting device.

[0089] 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 the preset voltage division relationship, thereby calculating the first current temperature of each light-emitting device according to the resistance value of each light-emitting device and the first temperature formula.

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

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

[0092] 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, thereby combining the first temperature formula and the resistance value of each NTC resistor to calculate the first current temperature corresponding to each LED lamp.

[0093] 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.

[0094] Specifically, the endoscope system can calculate the target brightness 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 a preset brightness formula, calculate the target driving current corresponding to the first light-emitting device to be adjusted based on 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.

[0095] 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 brightness and driving current.

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

[0097] 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 if it is not attenuated at the preset brightness, that is, the target brightness, so as to take the brightness attenuation factor into account.

[0098] 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.

[0099] 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.

[0100] 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.

[0101] 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.

[0102] 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.

[0103] 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 is attenuated 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.

[0104] In one example, if the 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 2 + KR5*TR+KR6 to calculate the first brightness attenuation parameter YR corresponding to the red LED light. Also, based on the relationship between the preset brightness LW and the brightness corresponding to the red LED light, the formula LRA=KR1*LW2+KR2*LW+KR3 is used to calculate the brightness LRA that the red LED light should output. KR4, KR5, KR6, KR1, KR2, and KR3 are all constants.

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

[0106] In this example, the endoscope system can also be configured according to 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 drive current IRA corresponding to the red LED light, and then drive the red LED light with this target drive current. Among them, KR7, KR8, and KR9 are all constants.

[0107] Please continue to see Figure 2 , the MCU can determine the corresponding target PWM duty cycle according to the correspondence between the target drive current IRA and the preset current and PWM duty cycle, thereby adjusting the drive current of the red LED lamp to the target drive current by adjusting the PWM duty cycle to the target PWM duty cycle.

[0108] 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.

[0109] Next, a possible implementation method is provided for how to calculate the brightness proportion corresponding to other light-emitting devices based on the current driving current of other light-emitting devices and the first current temperature.

[0110] Specifically, the endoscope system can calculate the second brightness attenuation parameter corresponding to the other light-emitting devices based on the first current temperature of the other light-emitting devices and the brightness attenuation formula corresponding to the other light-emitting devices, calculate the ideal brightness corresponding to the other light-emitting devices based on the current driving current of the other light-emitting devices and the second current formula, calculate the current brightness of the other light-emitting devices based on the ideal brightness and second brightness attenuation parameter corresponding to the other light-emitting devices, and calculate the brightness ratio of the other light-emitting devices based on the current brightness and the preset brightness.

[0111] The ideal brightness is the unattenuated brightness of other light-emitting devices under the current driving current, and the second current formula records the corresponding relationship between the driving current and the ideal brightness;

[0112] Optionally, the current driving current of other light-emitting devices may be input into the second current formula for calculation, thereby obtaining the ideal brightness corresponding to the other light-emitting devices.

[0113] It can be understood that the ideal brightness is the brightness without attenuation, so the actual brightness of other light-emitting devices can be calculated by combining the ideal brightness and the second brightness attenuation formula.

[0114] In this embodiment, the brightness ratio is the ratio of the current brightness to the preset brightness.

[0115] Optionally, if the difference between the brightness proportion of the other light-emitting devices and the preset brightness proportion corresponding to the other light-emitting devices exceeds a proportion deviation threshold, the other light-emitting devices are determined to be the second light-emitting devices to be adjusted.

[0116] It can be understood that the adjustment logic for the current driving current of the second light-emitting device to be adjusted is consistent with the adjustment logic for the current driving current of the first light-emitting device to be adjusted, and will not be elaborated herein.

[0117] In one example, if the red LED lamp and the blue LED lamp are both the first light-emitting device to be adjusted, the endoscope system needs to determine whether the green LED lamp is the second light-emitting device to be adjusted.

[0118] In this example, the MCU can obtain the current driving current of the green LED through I2C and calculate the second brightness attenuation parameter YG corresponding to the green LED based on the first current temperature TG of the green LED and the brightness attenuation formula YG = KG4*TG2+KG5*TG+KG6. KG4, KG5, and KG6 are all constants.

[0119] Furthermore, the ideal brightness LG of the green LED can be calculated based on the current driving current IGA of the green LED and the second current formula corresponding to the green LED: LG = KG10 * IGA2 + KG11 * IGA + KG12. In this example, the endoscope system can calculate the current brightness LGA of the green LED using LGA = LG / YG, and calculate the current brightness percentage NG of the green LED based on LGA and the preset brightness LW. KG10, KG11, and KG12 are all constants.

[0120] In this example, the endoscope system can calculate the difference between the current brightness ratio NG of the green LED lamp and the preset brightness ratio NGA corresponding to the green LED lamp, and determine whether the difference exceeds the ratio deviation threshold NM, thereby determining whether the green LED lamp is the second light-emitting device to be adjusted.

[0121] In this example, if the green LED lamp is the second light-emitting device to be adjusted, its corresponding target brightness can be calculated based on the first current temperature of the green LED lamp and the brightness-related formula corresponding to the green LED lamp, and then the target driving current corresponding to the green LED lamp can be calculated based on the target brightness and the first current formula corresponding to the green LED lamp, and then the current driving current of the green LED lamp can be adjusted according to the target driving current.

[0122] In one possible implementation, the brightness adjustment formulas (first current formula, second current formula, brightness attenuation formula and brightness relationship formula) and color temperature parameters (preset brightness proportion and proportion deviation threshold) corresponding to the above-mentioned light-emitting devices can be obtained based on the relationship between the various parameters in the light-emitting device specification.

[0123] In another possible implementation method, considering that the relationship between the parameters recorded in the specification sheet is generally common to the light-emitting devices corresponding to a certain model, the brightness adjustment formula and color temperature parameters determined according to the specification sheet are for all light-emitting devices, and do not take into account the differences that may exist between different light-emitting devices in actual application. Therefore, in order to further improve the accuracy of brightness adjustment of light-emitting devices, the endoscope system can also generate corresponding brightness adjustment formulas and color temperature parameters for each light-emitting device.

[0124] Optionally, 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, and for each light-emitting device, generate a brightness adjustment formula corresponding to the light-emitting device based on the multiple actual currents and multiple actual brightnesses corresponding to the light-emitting device, and generate the color temperature parameters of the light-emitting device based on the multiple actual brightnesses of the light-emitting device.

[0125] Specifically, the endoscope system can generate a brightness relationship formula for each light-emitting device based on the actual combined light brightness of multiple light-emitting devices and the actual brightness of the light-emitting devices under each preset combined light brightness, and determine multiple characteristic currents corresponding to the light-emitting device based on multiple actual currents and preset working currents, and determine the characteristic brightness and characteristic temperature corresponding to the light-emitting device 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 device under each characteristic current.

[0126] In this embodiment, the endoscope system can also determine the brightness ratio of the light-emitting device under each preset combination light brightness according to the actual combined light brightness of multiple light-emitting devices and the actual brightness of the light-emitting device under each preset combination light brightness for each light-emitting device respectively, thereby determining the preset brightness ratio corresponding to the light-emitting device according to the brightness ratio of the light-emitting device under each preset combination light brightness, and determining the ratio deviation threshold according to the brightness ratio of each light-emitting device under each preset combination light brightness and the preset brightness ratio.

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

[0128] It should be noted that the basic principles and technical effects of the combined light brightness adjustment device provided in this embodiment are the same as those of the above-mentioned embodiments. For the sake of brevity, any details not mentioned in this embodiment can be referred to the corresponding contents of the above-mentioned embodiments. The combined light brightness adjustment device includes: an acquisition module 100, a determination module 110, and an adjustment module 120.

[0129] The acquisition module 100 is used to acquire a first current temperature of each light-emitting device.

[0130] It is understandable that the acquisition module 100 can also be used to execute the above step S20.

[0131] The determination module 110 is configured to determine, for each light-emitting device, whether a first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device.

[0132] It is understandable that the determination module 110 can also be used to execute the above step S21.

[0133] The determining module 110 is further configured to determine the light-emitting device as a first light-emitting device to be adjusted if the first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device.

[0134] It is understandable that the determination module 110 can also be used to execute the above step S22.

[0135] The adjustment module 120 is configured to adjust a current driving current of the first light-emitting device to be adjusted according to a first current temperature of the first light-emitting device to be adjusted, so as to adjust the current combined light brightness of the plurality of light-emitting devices to a preset brightness.

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

[0137] Optionally, the determination module 110 is also used to obtain the current driving current of other light-emitting devices when there are other light-emitting devices besides the first light-emitting device to be adjusted among the multiple light-emitting devices; calculate the brightness ratio corresponding to the other light-emitting devices based on the current driving current and the first current temperature of the other light-emitting devices, and determine whether the other light-emitting devices are the second light-emitting devices to be adjusted based on the brightness ratio corresponding to the other light-emitting devices.

[0138] It is understandable that the determination module 110 can also be used to execute the above steps S24 to S25.

[0139] Optionally, the adjustment module 120 is further configured to adjust the current driving current of the second light-emitting device to be adjusted according to the first current temperature of the other light-emitting device when the other light-emitting device is the second light-emitting device to be adjusted, so as to adjust the current combined light color temperature to the preset color temperature.

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

[0141] Optionally, the acquisition module 100 is also used to calculate the resistance value of each light-emitting device based on the current voltage of each light-emitting device and a preset voltage divider relationship; calculate the first current temperature of each light-emitting device based on the resistance value of each light-emitting device and a first temperature formula; the first temperature formula records the corresponding relationship between the resistance value and the temperature.

[0142] Optionally, the adjustment module 120 is also used to calculate the target brightness 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 a preset brightness formula; the target brightness is the brightness of the first light-emitting device to be adjusted before it decays at the preset brightness; the target driving current corresponding to the first light-emitting device to be adjusted is calculated based on the target brightness and the first current formula, and the first light-emitting device to be adjusted is driven according to the target driving current to adjust the current combined light brightness to the preset brightness; the first current formula records the correspondence between brightness and driving current.

[0143] Optionally, the adjustment module 120 is also used to 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; the brightness attenuation formula records the correspondence between temperature and brightness attenuation parameter; according to the preset brightness and the brightness relationship formula corresponding to the first light-emitting device to be adjusted, calculate the brightness that the first light-emitting device to be adjusted should output at the preset brightness; the brightness relationship formula records the correspondence between the combined light brightness and the brightness of the light-emitting device; 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, calculate the target brightness corresponding to the first light-emitting device to be adjusted.

[0144] Optionally, the adjustment module 120 is further configured to calculate a second current temperature of the first light-emitting device to be adjusted, and determine the second current temperature as a new reference temperature corresponding to the first light-emitting device to be adjusted.

[0145] Optionally, the determination module 110 is also used to calculate the second brightness attenuation parameter corresponding to the other light-emitting devices based on the first current temperature of the other light-emitting devices and the brightness attenuation formula corresponding to the other light-emitting devices; calculate the ideal brightness corresponding to the other light-emitting devices based on the current driving current of the other light-emitting devices and the second current formula; the ideal brightness is the unattenuated brightness of the other light-emitting devices under the current driving current, and the second current formula records the correspondence between the driving current and the brightness; calculate the current brightness of the other light-emitting devices based on the ideal brightness and the second brightness attenuation parameter corresponding to the other light-emitting devices, and calculate the brightness proportion of the other light-emitting devices based on the current brightness and the preset brightness.

[0146] Optionally, the determination module 110 is further configured to determine that the other light-emitting device is the second light-emitting device to be adjusted if the difference between the brightness proportion of the other light-emitting device and the preset brightness proportion corresponding to the other light-emitting device exceeds a proportion deviation threshold.

[0147] The embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. 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.

[0148] In the several embodiments provided in this 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 illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of the devices, methods, and computer program products according to the 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 portion of code, and the module, program segment, or a portion of code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in an order different from that 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 using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.

[0149] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0150] 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, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method 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.

[0151] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection 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, and the method includes: Acquire a first current temperature of each of the light-emitting devices; For each of the light-emitting devices, determining whether a first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device; 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; Adjusting a current driving current of the first light-emitting device to be adjusted according to a first current temperature of the first light-emitting device to be adjusted, so as to adjust the current combined light brightness of the plurality of light-emitting devices to a preset brightness; When there are other light-emitting devices besides the first light-emitting device to be modulated among the plurality of light-emitting devices, obtaining a driving current of the other light-emitting devices; Calculating a brightness ratio corresponding to the other light-emitting device according to the current driving current and the first current temperature of the other light-emitting device, and determining whether the other light-emitting device is the second light-emitting device to be adjusted according to the brightness ratio corresponding to the other light-emitting device; When the other light-emitting device is the second light-emitting device to be adjusted, the current driving current of the second light-emitting device to be adjusted is adjusted according to the first current temperature of the second light-emitting device to be adjusted, so as to adjust the current combined light color temperature to the preset color temperature.

2. The method according to claim 1, characterized in that The obtaining of the first current temperature of each of the light-emitting devices includes: Calculating the resistance value of each of the light-emitting devices according to the current voltage of each of the light-emitting devices and a preset voltage division relationship; The first current temperature of each of the light-emitting devices is calculated according to the resistance value of each of the light-emitting devices and a first temperature formula; the first temperature formula records the corresponding relationship between the resistance value and the temperature.

3. The method according to claim 1, characterized in that The step of adjusting 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 includes: Calculating a target brightness corresponding to the first light-emitting device to be adjusted according to a first current temperature of the first light-emitting device to be adjusted and a preset brightness formula; the target brightness is the brightness of the first light-emitting device to be adjusted before it is attenuated at the preset brightness; The target driving current corresponding to the first light-emitting device to be adjusted is calculated according to the target brightness and the first current formula, and the first light-emitting device to be adjusted is driven according to the target driving current to adjust the current combined light brightness to the preset brightness; the first current formula records the correspondence between brightness and driving current.

4. The method according to claim 3, characterized in that The brightness formula includes a brightness attenuation formula and a brightness relationship formula; The calculating, according to the first current temperature of the first light-emitting device to be adjusted and a preset brightness formula, a target brightness corresponding to the first light-emitting device to be adjusted includes: Calculating a first brightness attenuation parameter 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 brightness attenuation formula corresponding to the first light-emitting device to be adjusted; the brightness attenuation formula records the corresponding relationship between temperature and brightness attenuation parameter; Calculating the brightness that the first light-emitting device to be adjusted should output at the preset brightness according to a brightness relationship formula corresponding to the preset brightness and the first light-emitting device to be adjusted; the brightness relationship formula records the corresponding relationship between the brightness of the combined light and the brightness of the light-emitting device; The target brightness corresponding to the first light-emitting device to be adjusted is calculated 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.

5. The method according to claim 3, characterized in that After driving the first light-emitting device to be adjusted according to the target driving current, the method further includes: A second current temperature of the first light-emitting device to be adjusted is calculated, and the second current temperature is determined as a new reference temperature corresponding to the first light-emitting device to be adjusted.

6. The method according to claim 1, characterized in that The calculating, based on the current driving current and the first current temperature of the other light-emitting devices, the brightness proportion corresponding to the other light-emitting devices includes: Calculating a second brightness attenuation parameter corresponding to the other light-emitting device according to the first current temperature of the other light-emitting device and a brightness attenuation formula corresponding to the other light-emitting device; Calculating the ideal brightness corresponding to the other light-emitting device based on the current driving current of the other light-emitting device and a second current formula; the ideal brightness is the unattenuated brightness of the other light-emitting device under the current driving current, and the second current formula records the corresponding relationship between the driving current and the brightness; The current brightness of the other light-emitting devices is calculated according to the ideal brightness corresponding to the other light-emitting devices and the second brightness attenuation parameter, and the brightness proportion of the other light-emitting devices is calculated according to the current brightness and the preset brightness.

7. The method according to claim 1, characterized in that The determining whether the other light-emitting device is the second light-emitting device to be adjusted according to the brightness proportion corresponding to the other light-emitting device includes: If the difference between the brightness proportion of the other light-emitting device and the preset brightness proportion corresponding to the other light-emitting device exceeds a proportion deviation threshold, the other light-emitting device is determined to be the second light-emitting device to be adjusted.

8. A combined light brightness adjustment device, characterized in that: Applied to an endoscope system, the endoscope system includes multiple light-emitting devices, and the device includes: an acquisition module, configured to acquire a first current temperature of each of the light-emitting devices; a determination module, configured to determine, for each of the light-emitting devices, whether a first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device; The determining module is further configured to determine the light-emitting device as a first light-emitting device to be adjusted if the first current temperature of the light-emitting device exceeds a reference temperature corresponding to the light-emitting device; an adjusting module, configured to adjust a current driving current of the first light-emitting device to be adjusted according to a first current temperature of the first light-emitting device to be adjusted, so as to adjust the brightness of a current combined light composed of the plurality of light-emitting devices to a preset brightness; The determining module is further configured to, when there are other light-emitting devices other than the first light-emitting device to be adjusted among the plurality of light-emitting devices, obtain a driving current of the other light-emitting devices, calculate a brightness ratio corresponding to the other light-emitting devices based on the current driving current of the other light-emitting devices and the first current temperature, and determine whether the other light-emitting devices are the second light-emitting devices to be adjusted based on the brightness ratios corresponding to the other light-emitting devices; The adjustment module is further configured to adjust the current driving current of the second light-emitting device to be adjusted according to the first current temperature of the second light-emitting device to be adjusted, so as to adjust the current combined light color temperature to a preset color temperature when the other light-emitting device is the second light-emitting device to be adjusted.

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

10. 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 7 is implemented.

Citation Information

Patent Citations

  • Endoscope exposure control method and device

    CN115670351A

  • Endoscope device

    JP1996271808A