Endoscope light source device, endoscope system, and light emission control method
By using the MCU and button on/off controller in the endoscope light source device to restore the light output state when the voltage drops, the problem of instantaneous power failure of the cold light source is solved. This achieves automatic restoration of the beam state after a momentary power failure, avoiding delays caused by manual adjustment and ensuring the continuity and safety of the surgery.
Patent Information
- Application Number
- CN202310730743.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-06-19
AI Technical Summary
In medical endoscopes, cold light sources can experience momentary power outages due to electromagnetic interference or unstable power supply voltage, causing the light beam to dim or stop, affecting the progress of the operation and threatening patient safety. Current technology requires medical staff to manually readjust the equipment to restore the light output, which is time-consuming and affects the progress of diagnosis or operation.
The endoscope light source device uses an MCU, a dimming component, a button on/off controller, and a light-emitting circuit. When the voltage drops to a critical value, the button on/off controller generates an enable signal. The MCU reads and restores the stored light output status information and controls the light-emitting circuit to restore the previous beam state.
After a momentary power outage, the endoscope light source automatically returns to its previously adjusted light output state, eliminating the need for manual adjustment by medical staff and ensuring the stability of the light source and the safety of the surgery.
Smart Images

Figure CN119157464B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of cold light sources, and in particular to an endoscope light source device, an endoscope system, and a light emission control method. BACKGROUND
[0002] At present, cold light sources are widely used in the medical field. For example, cold light sources are used in medical endoscopes to facilitate the examination, diagnosis, or surgery of the patient's internal body through the light beams emitted by the cold light sources. Taking surgery as an example, medical personnel need to set the light emission state of the cold light source by adjusting the equipment during the preparation process of the surgery, and during the surgery, the camera module of the endoscope captures the patient's internal body by means of the high-brightness irradiation of the cold light source, so that the medical personnel can perform surgery on the patient by observing clear and stable images.
[0003] However, during the use of the cold light source, the cold light source may instantaneously lose power due to electromagnetic interference, unstable power supply voltage, and the like. The instantaneous power loss will cause the light beams emitted by the cold light source to become dim or even not to emit light, thereby delaying the examination, diagnosis, or surgery progress of the medical personnel, and even threatening the safety of the patient.
[0004] In the related art, the cold light source instantaneously loses power and is re-powered, and then defaults to a non-light emission state. The medical personnel also need to manually adjust the equipment again to restore the cold light source to the light emission state before the power loss. Since it takes some time to adjust the equipment again, this will also delay the examination, diagnosis, or surgery progress of the medical personnel, and even threaten the safety of the patient. SUMMARY
[0005] Embodiments of the present application provide an endoscope light source device, an endoscope system, and a light emission control method, which can enable the endoscope light source device to timely recover to the previously adjusted light emission state in the case of instantaneous power loss. The technical solution is as follows:
[0006] On the one hand, an endoscope light source device is provided, which includes an MCU (Microcontroller Unit), a dimming assembly, a button on-off controller, a light emission circuit, and a power supply;
[0007] The MCU is electrically connected with the dimming assembly, the button on-off controller, the light emission circuit, and the power supply, respectively, and the button on-off controller, the dimming assembly, and the light emission circuit are also electrically connected with the power supply, respectively;
[0008] The MCU is configured to store the first state information upon receiving the first state information, and output a first control signal to the light emitting circuit based on the first state information, the first control signal being used to control the light emitting circuit to emit a light beam of a first state of a plurality of states, the first state information being determined by the dimming assembly according to a detected user operation;
[0009] The MCU is further configured to read the first state information upon receiving a first enable signal, and output the first control signal to the light emitting circuit again based on the first state information, the first enable signal being a signal generated by the button on-off controller in a case where the voltage of the power supply drops below a first voltage threshold and above a minimum critical voltage value, the minimum critical voltage value being a minimum voltage value at which the endoscope light source device can operate.
[0010] Optionally, the power supply has a first power supply end and a second power supply end, the button on-off controller is electrically connected to the first power supply end, and the power supply provides a first power supply voltage for the button on-off controller through the first power supply end.
[0011] The endoscope light source device further comprises a first voltage dividing circuit, one end of the first voltage dividing circuit being electrically connected to the second power supply end and the other end being grounded, and the first voltage dividing circuit comprising a first voltage dividing resistor and a second voltage dividing resistor connected in series, the button on-off controller having a push button (PB) pin, and the PB pin being electrically connected between the first voltage dividing resistor and the second voltage dividing resistor.
[0012] Optionally, the MCU is further configured to:
[0013] perform a restart operation upon detecting that the voltage of the power supply drops to a second voltage threshold, the second voltage threshold being less than the first voltage threshold;
[0014] after performing the restart operation, if the first enable signal is detected, the first state information is read again in response to the first enable signal, and the first control signal is output to the light emitting circuit again based on the first state information.
[0015] Optionally, the power supply has a third power supply end, the MCU is electrically connected to the third power supply end, and the power supply provides a third power supply voltage for the MCU through the third power supply end.
[0016] The endoscope light source device further comprises a second voltage dividing circuit, one end of the second voltage dividing circuit is electrically connected with the third power supply end, and the other end is grounded; the second voltage dividing circuit comprises a third voltage dividing resistor and a fourth voltage dividing resistor connected in series, the MCU has a first pin, and the first pin is electrically connected between the third voltage dividing resistor and the fourth voltage dividing resistor;
[0017] The MCU is configured to determine whether the voltage of the power supply drops below the second voltage threshold or above the minimum critical voltage value by detecting the voltage of the first pin.
[0018] Optionally, the first pin is an ADC (Analog-to-Digital Converter) pin.
[0019] Optionally, the MCU has a second pin, and the button on-off controller has an EN (Enable) pin, and the second pin is electrically connected with the EN pin.
[0020] The button on-off controller is configured to output the first enable signal through the EN pin.
[0021] Optionally, the second pin is a GPIO (General-purpose input / output) pin.
[0022] In another aspect, an endoscope system is provided, which comprises a light source device and an imaging device, and the light source device comprises the device according to the first aspect.
[0023] In another aspect, a light emission control method is provided, which is applied to an MCU included in an endoscope light source device, the endoscope light source device further comprises a dimming assembly, a button on-off controller, a light emission circuit and a power supply, and the light emission circuit is capable of emitting light beams in multiple states; the method comprises:
[0024] receiving and storing first state information, the first state information being determined by the dimming assembly according to a detected user operation;
[0025] outputting a first control signal to the light emission circuit based on the first state information, so as to control the light emission circuit to emit light beams in a first state, the first state being one of the multiple states;
[0026] receiving a first enable signal triggered by the button on-off controller when the voltage of the power supply drops below a first voltage threshold and above a minimum critical voltage value, the minimum critical voltage value being the lowest voltage value at which the endoscope light source device is capable of working;
[0027] In response to the first enable signal, the first state information is read, and the first control signal is outputted to the light emitting circuit again based on the first state information to control the light emitting circuit to continue emitting the light beam of the first state.
[0028] Optionally, the method further comprises:
[0029] In a case where the power supply voltage is detected to drop to a second voltage threshold, a restart operation is performed, the second voltage threshold being less than the first voltage threshold.
[0030] After the restart operation is performed, if the first enable signal is detected, in response to the first enable signal, the first state information is read again, and the first control signal is outputted to the light emitting circuit again based on the first state information to control the light emitting circuit to continue emitting the light beam of the first state.
[0031] In another aspect, a computer readable storage medium is provided, the computer readable storage medium having stored therein a computer program, the computer program being executed by a processor to implement the steps of the light emitting control method.
[0032] In another aspect, a computer program product containing instructions which, when executed on a computer, cause the computer to perform the steps of the light emitting control method.
[0033] The technical scheme provided by the embodiments of the present application can bring at least the following beneficial effects:
[0034] In the embodiments of the present application, the endoscope light source device comprises an MCU, a light adjusting assembly, a button on-off controller, a light emitting circuit and a power supply. The button on-off controller can generate a first enable signal to the MCU in a case where the voltage of the power supply drops below a first voltage threshold and above a minimum critical voltage value. The MCU reads the stored first state information in response to the first enable signal, and controls the light emitting circuit to emit a light beam of a first state again based on the first state information through the first control signal. That is, the present scheme can quickly restore the light emission state adjusted by the user before the power supply is instantaneously powered off, without the need for relevant personnel to manually adjust the equipment again. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical scheme in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0036] Figure 1is a structural schematic diagram of an endoscope system provided by an embodiment of the present application;
[0037] Figure 2 is a structural schematic diagram of another endoscope system provided by an embodiment of the present application;
[0038] Figure 3 is an external structural schematic diagram of a cold light source host provided by an embodiment of the present application;
[0039] Figure 4 is a logical structural schematic diagram of a cold light source host provided by an embodiment of the present application;
[0040] Figure 5 is a structural schematic diagram of an endoscope light source device provided by an embodiment of the present application;
[0041] Figure 6 is a structural schematic diagram of another endoscope light source device provided by an embodiment of the present application;
[0042] Figure 7 is a schematic diagram of a first voltage dividing circuit provided by an embodiment of the present application;
[0043] Figure 8 is a schematic diagram of a second voltage dividing circuit provided by an embodiment of the present application;
[0044] Figure 9 is a schematic diagram of a connection relationship between a button on-off controller and other components provided by an embodiment of the present application;
[0045] Figure 10 is a schematic diagram of a connection relationship between an MCU and other components provided by an embodiment of the present application;
[0046] Figure 11 is a flow chart of a light emitting control method provided by an embodiment of the present application;
[0047] Figure 12 is a signal timing diagram of an endoscope light source device in a normal start condition provided by an embodiment of the present application;
[0048] Figure 13 is a signal timing diagram of an endoscope light source device in a condition of long time power-off or artificial power-off and then power-on provided by an embodiment of the present application;
[0049] Figure 14 is a signal timing diagram of an endoscope light source device in a condition of instantaneous power-off and then rapid power-on provided by an embodiment of the present application. DETAILED DESCRIPTION
[0050] To make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the drawings.
[0051] It should be noted that the system architecture and business scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of system architecture and the appearance of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0052] At present, a medical cold light source is used in examinations, diagnoses, treatments, surgeries, and the like using an endoscope, and provides illumination for a field of view of a body cavity of a human body observed by the endoscope. For example, medical personnel insert a medical endoscope into a human body through a natural cavity or a small surgical incision of the human body, and perform clinical diagnosis on organs and the like in the body through a camera device (which can also be understood as an imaging system) of the endoscope by means of high-brightness illumination of the cold light source, and perform diagnosis and treatment by using a surgical instrument.
[0053] Reliability of light emission of the medical cold light source is an important guarantee for diagnoses, treatments, surgeries, and the like using the endoscope. If the cold light source is abnormal or restarted without light emission during diagnoses or surgeries, a medical accident may occur, and even the life of a patient may be endangered.
[0054] In the related art, the cold light source is usually not turned on by default to emit light. Medical personnel need to adjust the light emission state of the cold light source during preparation of a surgery, and ensure stability of light emission during diagnoses or surgeries. However, more and more devices of a large power and large radiation type, such as a large-power electrotome, a large-scale imaging device, and the like, are integrated in an environment such as an operating room. If a power supply voltage inside the cold light source drops due to electrical interference of these devices or other factors in an abnormal situation, the cold light source may be restarted. After the cold light source is restarted, the cold light source does not emit light, which seriously affects safety of diagnoses or surgeries.
[0055] In order to guarantee stability of light emission, safety of surgeries, and safety of patients of the cold light source, the embodiments of the present application provide an endoscope light source device, an endoscope system, and a light emission control method. The endoscope system includes a light source device and a camera device, and the light source device includes the endoscope light source device. The endoscope light source device can use the light emission control method to restore a light emission state adjusted by a user in time before a cold light source appears a moment of power failure, so as to provide stable and reliable illumination for the camera device.
[0056] It should be understood that the light source device can be a cold light source device or other types of light source devices. In the following embodiments, the light source device is taken as an example of a cold light source device. In addition, the light source device can be applied not only to endoscopes in the medical field, but also to other instruments in the medical field, and can also be applied to related instruments in other fields. In the following embodiments, the light source device is taken as an example of being applied to an endoscope in the medical field (i.e., the light source device includes an endoscope light source device).
[0057] Before the light emission control method provided by the embodiments of the present application is explained in detail, the light source device provided by the embodiments of the present application will be introduced first. Figures 1 to 4 The implementation environment to which the embodiments of the present application can be applied will be introduced.
[0058] Figure 1 is a structural schematic diagram of an endoscope system provided by the embodiments of the present application. Referring to Figure 1 , the endoscope system includes a light source device and a camera device.
[0059] The light source device includes a cold light source host and a light guide assembly (such as Figure 1 indicated light guide beam), and the cold light source host has a communication port and a light output interface. The light output interface is used to connect the light guide assembly to transmit the light beam of the cold light source to the camera device. The communication port can be used to connect other devices (such as the camera device) for communication.
[0060] The camera device includes a camera host, a video line, and an optical assembly. The camera host has a communication port and a video output interface. The video output interface is used to output the collected video or picture. The communication port is also used to connect other devices for communication. The optical assembly includes a camera, an optical adapter, and a mirror rod, etc. Among them, the camera has a key, and medical personnel can operate the key to take pictures or stop taking pictures, the optical adapter is used to provide a good view and optimize the field of view, etc., and the mirror rod is used to extend into the patient's body. The video line is used to connect the camera and the camera host, so as to transmit the video or picture collected by the camera to the camera host.
[0061] Generally, the endoscope system also includes a display device. Referring to Figure 1 , in the embodiments of the present application, the display device is a separate display. Of course, in some other embodiments, the display device can also be integrated with the camera host.
[0062] Figure 2 is a structural schematic diagram of another endoscope system provided by the embodiments of the present application. Figure 2 The main difference between Figure 1 and the above-mentioned endoscope system is that Figure 1 , the cold light source host and the camera host are two independent hosts, as shown in 2, the cold light source host and the camera host are an all-in-one machine.
[0063] Figure 3 is a schematic diagram of an external structure of a cold light source host provided by an embodiment of the present application. Referring to Figure 3 , the cold light source host has a power-on / off button, a light adjusting assembly (including but not limited to Figure 3 an operating button, a display screen or a touch screen, etc.), a light guide interface (i.e., an outlight interface), a communication port and a power cord, etc.
[0064] Figure 4 is a schematic diagram of a logic structure of a cold light source host provided by an embodiment of the present application. Referring to Figure 4 , the cold light source host includes an MCU, a light adjusting assembly (including a button assembly and / or a touch screen, etc.), a button on / off controller, a light emitting circuit (including a light emitting driving assembly, a light emitting lamp and a light machine assembly, etc.), a light guide assembly (connected to a light guide beam), a power supply (connected to a power cord) and an interface terminal (such as including a communication port). Optionally, the cold light source host further includes a sensor device, a heat sink and a fan assembly, etc. The heat sink and the fan assembly can be used for heat dissipation for the light emitting circuit.
[0065] The button on / off controller is also called a button off controller, a button on / off controller, a button on / off controller, a button enable chip, a button on / off control chip, etc. The model of the button on / off controller can be LTC2950, LTC2951, etc.
[0066] It should be understood that the endoscope light source device provided by the embodiments of the present application can be applied to Figures 1 to 4 the cold light source host. Figure 1 and Figure 2 the endoscope system, and Figure 3 and Figure 4 the cold light source host does not limit the embodiments of the present application, and the endoscope light source device provided by the embodiments of the present application can also be applied to other structures of endoscope systems and cold light source hosts.
[0067] Next, the endoscope light source device provided by the embodiments of the present application will be introduced in combination with Figures 5 to 10 .
[0068] Figure 5 is a schematic diagram of a structure of an endoscope light source device 500 provided by an embodiment of the present application. Referring to Figure 5 , the endoscope light source device 500 includes an MCU 501, a light adjusting assembly 502, a button on / off controller 503, a light emitting circuit 504 and a power supply 505. The MCU 501 is electrically connected to the light adjusting assembly 502, the button on / off controller 503, the light emitting circuit 504 and the power supply 505, respectively. The button on / off controller 503, the light adjusting assembly 502 and the light emitting circuit 504 are also electrically connected to the power supply 505, respectively.
[0069] The MCU 501 is configured to store the first state information when the first state information is received, and output a first control signal to the light emitting circuit 504 based on the first state information, the first control signal being used to control the light emitting circuit 504 to emit a light beam of a first state of the multiple states, the first state information being determined by the dimmer assembly 502 according to the detected user operation.
[0070] That is, the light emitting circuit 504 is capable of emitting light beams of the multiple states, the dimmer assembly 502 is configured to detect a user operation, generate the first state information according to the detected user operation, and send the first state information to the MCU 501 to control the light emitting circuit 504 to emit a light beam of the first state by the MCU 501. The light beam of the first state is a light beam matched with the first state information, that is, a light beam adjusted by the user.
[0071] The MCU 501 is further configured to read the first state information when a first enable signal is received, and output the first control signal to the light emitting circuit 504 based on the first state information again, the first enable signal being a signal generated by the button on-off controller 503 when the voltage of the power supply 505 drops below a first voltage threshold and above a minimum critical voltage value, the minimum critical voltage value being a minimum voltage value at which the endoscope light source device 500 is capable of working.
[0072] That is, the button on-off controller 503 is configured to generate the first enable signal when the voltage of the power supply 505 drops below the first voltage threshold and above the minimum critical voltage value, and output the first enable signal to the MCU 501 to trigger the MCU 501 to read the first state information and output the first control signal to the light emitting circuit 504 based on the first state information again.
[0073] The voltage of the power supply 505 dropping below the first voltage threshold and above the minimum critical voltage value means that the power supply has a momentary power failure, but since the power failure is small, the components in the endoscope light source device 500 can still work. The button on-off controller 503 can trigger the MCU 501 to control the light emitting circuit 504 to restore the previously adjusted light emission state through the first enable signal when the power supply has a momentary power failure but the endoscope light source device 500 can still work.
[0074] Optionally, the power supply 505 has a first power supply end and a second power supply end. The first power supply end provides a first power supply voltage, for example, a working voltage of 3.3V (volts) of a chip, and the second power supply end provides a second power supply voltage, for example, a power supply voltage of 12V of the device. Of course, the second power supply voltage of the second power supply end can also be 3.3V. In the embodiments of the present application, the first power supply voltage is 3.3V and the second power supply voltage is 12V, which are taken as examples for description. That is, the first power supply end is Figure 6The first power supply end provides a 3.3V working voltage, and the second power supply end provides a 12V power supply voltage. Figure 6 The first power supply end provides a 3.3V working voltage, and the second power supply end provides a 12V power supply voltage.
[0075] The button on-off controller 503 is electrically connected to the first power supply end, and the power supply 505 provides a first power supply voltage for the button on-off controller 503 through the first power supply end. The endoscope light source device 500 further includes a first voltage dividing circuit 506, one end of the first voltage dividing circuit 506 being electrically connected to the second power supply end and the other end being grounded (ground is represented by GND in the figure); the first voltage dividing circuit 506 includes a first voltage dividing resistor R5061 and a second voltage dividing resistor R5062 connected in series, and the button on-off controller 503 has a PB (button) pin electrically connected between the first voltage dividing resistor R5061 and the second voltage dividing resistor R5062.
[0076] In the embodiment of the present application, the dimming assembly 502 is also electrically connected to the first power supply end, and the power supply 505 provides a first power supply voltage for the dimming assembly 502 through the first power supply end. In some other embodiments, the power supply voltage of the dimming assembly 502 can also not be the first power supply voltage.
[0077] In addition, as shown in Figure 6 , the button on-off controller 503 further has a VIN (voltage input) pin and an EN pin, and the VIN pin of the button on-off controller 503 is electrically connected to the first power supply end. The MCU 501 has a second pin, and the second pin is electrically connected to the EN pin of the button on-off controller 503. The button on-off controller 503 is used to output a first enable signal through the EN pin.
[0078] The second pin of the MCU 501 is a GPIO pin as shown in Figure 6 In some other embodiments, the second pin of the MCU 501 can also be an ADC pin.
[0079] In order to enable the input voltage of the PB pin to trigger the PB pin to generate a power-down signal (equivalent to a button action) when the voltage of the power supply 505 drops to the first voltage threshold, so that the button on-off controller 503 generates the first enable signal in response to the power-down signal, the ratio of the first voltage dividing resistor R5061 to the second voltage dividing resistor R5062 should be large. Exemplarily, the ratio of the first voltage dividing resistor R5061 to the second voltage dividing resistor R5062 is greater than the first ratio.
[0080] Figure 7 A schematic diagram of the first voltage dividing circuit provided in the embodiment of the present application. In the embodiment of the present application, the resistance values of the first voltage dividing resistor R5061 and the second voltage dividing resistor R5062 are respectively determined through testing as Figure 7The 10KΩ (Kilo-Ohm) and 2KΩ are shown. In some other embodiments, the resistance values of the first voltage dividing resistor R5061 and the second voltage dividing resistor R5062 can be determined according to the configuration of the actually adopted push-button on-off controller, the power supply voltage of the device, the working voltage of each component in the device, etc.
[0081] For example, in the normal working condition of the endoscope light source device 500, the input voltage of the PB pin is 1V to 2V, the trigger voltage of the PB pin is 1V, and when the input voltage of the PB pin is lower than 1V, a power-down signal is generated, which triggers the EN pin to output an OFF-ON flip signal, i.e., the first enable signal. For example, the EN pin is a low-level signal by default, i.e., the OFF-ON flip signal is a low-level signal by default, and the output signal of the EN pin is flipped to a high-level signal after being triggered by the power-down signal, which is the first enable signal.
[0082] Optionally, the MCU 501 is further configured to perform a restart operation when detecting that the voltage of the power supply 505 drops to a second voltage threshold, and after performing the restart operation, if the first enable signal is detected, the MCU 501 reads the first state information again and outputs the first control signal to the light-emitting circuit 504 based on the first state information again in response to the first enable signal. The second voltage threshold is less than the first voltage threshold.
[0083] The detection of the first enable signal after the restart operation indicates that the voltage of the power supply does not drop below the minimum critical voltage value, and the push-button on-off controller is still continuously outputting the first enable signal, so that the MCU 501 can re-control the light-emitting circuit 504 to restore the previous light-emitting state.
[0084] When the voltage of the power supply 505 drops to the first voltage threshold, the light-emitting circuit 504 cannot emit the light beam of the first state according to the adjusted light-emitting state, i.e., the first voltage threshold is the power supply voltage value corresponding to the situation that the light-emitting circuit 504 cannot work normally. When the voltage of the power supply 505 continues to drop to the second voltage threshold, in addition to the light-emitting circuit 504 being unable to work normally, some other components of the endoscope light source device 500 also cannot work normally. However, since the voltage of the power supply 505 does not drop below the minimum critical voltage value, the MCU 501 can still perform a restart operation and re-control the light-emitting circuit 504 to restore the previous light-emitting state.
[0085] For example, when the power supply voltage of the device is 12V, the first voltage threshold can be 6V, the second voltage threshold can be 3V, and the minimum critical voltage value can be 1V.
[0086] Optionally, the power supply 505 also has a third power supply end, and the MCU 501 is electrically connected with the third power supply end, and the power supply 505 provides a third power supply voltage for the MCU 501 through the third power supply end.
[0087] Optionally, the third power supply end can be the same power supply end as the first power supply end, for example, the first power supply end and the third power supply end are the same power supply end that provides a 3.3V power supply voltage, that is, the third power supply voltage is also the working voltage 3.3V of the chip. Alternatively, the third power supply end can be a different power supply end from the first power supply end, for example, the first power supply end provides a 3.3V power supply voltage, and the third power supply end provides a 5V power supply voltage. In the embodiment of the present application, the first power supply end and the third power supply end are both power supply ends that provide a 3.3V power supply voltage. Figure 6
[0088] As shown in Figure 6 , the endoscope light source device 500 further includes a second voltage dividing circuit 507, one end of the second voltage dividing circuit 507 is electrically connected with the third power supply end (such as 3.3V), and the other end is grounded; the second voltage dividing circuit 507 includes a third voltage dividing resistor R5071 and a fourth voltage dividing resistor R5072 connected in series, and the MCU 501 has a first pin, the first pin is electrically connected between the third voltage dividing resistor R5071 and the fourth voltage dividing resistor R5072. The MCU 501 is used to determine whether the voltage of the power supply 505 drops below the second voltage threshold value or above the minimum critical voltage value by detecting the voltage of the first pin.
[0089] The first pin is an ADC (analog-to-digital conversion) pin as shown in Figure 6 .
[0090] As can be seen from the above, the endoscope light source device in the embodiment of the present application can realize two-stage power failure detection for instantaneous power failure, the power failure voltage threshold value corresponding to the first-stage power failure detection is the first voltage threshold value, and the power failure voltage threshold value corresponding to the second-stage power failure detection is the second voltage threshold value. The MCU can perceive the first-stage power failure through the trigger of the first enable signal of the controller through the button, so as to quickly restore the previous light output state before restarting. The MCU can also automatically perceive the second-stage power failure through the first pin itself, so as to perform a restart operation and quickly restore the previous light output state after restarting. Simply speaking, the first-stage power failure detection is earlier than the second-stage power failure detection.
[0091] In order to make the first-stage power failure detection earlier than the second-stage power failure detection, in the case that it is determined through testing that the resistance values of the first voltage dividing resistor R5061 and the second voltage dividing resistor R5062 are 10KΩ and 2KΩ respectively, referring to Figure 8 , it is also determined through the test that the resistance values of the third and fourth voltage division resistors R5071 and R5072 are 10KΩ and 20KΩ respectively. In some other embodiments, the resistance values of the first and second voltage division resistors R5061 and R5062 can be determined according to the configuration of the actually adopted push-on / off controller, the power supply voltage of the device, the working voltage of each component in the device, and the like.
[0092] Referring to Figure 6 , the push-on / off controller 503 has at least 8 pins, in addition to the VIN pin, the PB pin and the EN pin introduced above, referring to Figure 9 , the push-on / off controller 503 further has 5 pins, namely the ONT pin, the GND pin, the OFFT pin, the KILL pin and the INT pin. Next, refer to Figure 9 for the supplementary introduction of the connection relationship and functions of the 5 pins of the push-on / off controller 503 in the embodiment of the present application and other components.
[0093] Referring to Figure 9 , the ONT pin is electrically connected with one end of the capacitor C1, and the other end of the capacitor C1 is grounded. The OFFT pin is electrically connected with one end of the capacitor C2, and the other end is grounded. In the embodiment of the present application, the capacitors C1 and C2 are related to the response time (or response speed) of the push-on / off controller 503, and the response time of the push-on / off controller 503 refers to the time from when the PB pin receives a low-level trigger signal to when the EN pin outputs a first enable signal. The PB pin receiving a low-level trigger signal refers to a low-voltage signal caused by the voltage of the power supply 505 dropping below a first voltage threshold.
[0094] In the embodiment of the present application, the parameter values of C1 and C2 can be 100nF / 16V, indicating that the capacitance values of C1 and C2 are both 100nF, and the working voltage (i.e. voltage resistance) is 16V. The parameter values of C1 and C2 can also be selected as other values according to requirements, such as 1nF / 16V.
[0095] In some other embodiments, the ONT pin and the OFFT pin can also not be connected with capacitors or other components, so that the push-on / off controller 503 works according to the default response time, and the response time cannot be adjusted.
[0096] The GND pin is grounded. The KILL pin and the INT pin are both electrically connected with one end of the resistor R33, and the other end of the resistor R33 is electrically connected with the first power supply end (such as 3.3V). In the embodiment of the present application, the resistance value of the resistor R33 can be 10KΩ or other values.
[0097] Next, refer to Figure 10 for the supplementary introduction of the connection relationship and functions of the MCU 501 in the embodiment of the present application and other components. Referring to Figure 10The MCU501 also has a ground pin or interface. This ground pin or interface on the MCU501 is also electrically connected to one end of capacitor C3, and the other end of capacitor C3 is electrically connected to a third power supply terminal. In this embodiment, the capacitance value of capacitor C3 can be 100nF, but other values can also be selected as needed.
[0098] Based on the above descriptions of the various components of the endoscope system, it can be concluded that the embodiments of this application use a button on / off controller and a first voltage divider circuit to trigger the MCU to achieve first-level power failure detection, thereby quickly restoring the previous light output state in the event of a momentary and minor power failure. Second-level power failure detection is achieved through the MCU's detection of the second voltage divider circuit, thereby restarting the system and quickly restoring the previous light output state in the event of a momentary but significant power failure.
[0099] It should be understood that, Figures 5 to 10 The endoscopic light source device described is not intended to limit this application; those skilled in the art can [discuss its implications]. Figures 5 to 10 Based on the structure and working principle of the endoscopic light source device described above, the structure of the endoscopic light source device 500 is adapted or expanded to achieve similar effects to the above embodiments.
[0100] For example, a level-flipping circuit can be added between the EN pin of the button on / off controller and the second pin of the MCU. This circuit flips the high-level signal generated by the EN pin to a low-level signal. The low-level signal is then output to the second pin of the MCU. Triggered by this low-level signal, the MCU reads the first state information and outputs a first control signal to the light-emitting circuit based on the first state signal. In other words, those skilled in the art can flexibly design the signal that triggers the MCU to perform the first-level power-down detection operation to be either a low-level or high-level signal.
[0101] It should be noted that the endoscopic light source device provided in the above embodiments is only illustrated by the division of the functional modules described above when providing illumination to the endoscope. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the endoscopic light source device provided in the above embodiments and the light emission control method embodiments below belong to the same concept, and the specific implementation process can also be found in the method embodiments below, which will not be repeated here.
[0102] The light emission control method provided in the embodiments of this application will be explained in detail below.
[0103] Figure 11is a flow chart of a light emitting control method provided by the embodiment of the present application. The method is applied to an MCU included in an endoscope light source device. The endoscope light source device further includes a light adjusting assembly, a button on-off controller, a light emitting circuit and a power supply. The light emitting circuit is capable of emitting light beams in multiple states. The endoscope light source device is as shown in Figures 5 to 10 Any of the endoscope light source devices 500 described above can be applied to Figures 1 to 4 Any of the cold light source main machines described above. Please refer to Figure 11 The method includes the following steps.
[0104] Step 1101: The light adjusting assembly generates first state information according to the detected user operation and sends the first state information to the MCU.
[0105] In the embodiment of the present application, the light emitting circuit is capable of emitting light beams in multiple states, and the light adjusting assembly is capable of detecting user operation, generating first state information according to the detected user operation, and sending the first state information to the MCU.
[0106] The light adjusting assembly includes but is not limited to operation buttons, display screens and / or touch screens, etc. The light beams in multiple states refer to light beams with different brightness and / or color tones, etc. The first state information indicates the brightness value and / or color tone information adjusted by the user.
[0107] Step 1102: The MCU receives and stores the first state information.
[0108] As described above, the first state information is determined by the light adjusting assembly according to the detected user operation.
[0109] In the embodiment of the present application, the MCU can store the first state information immediately after receiving the first state information, or store the first state information after receiving a first enable signal. The MCU can also store the first state information periodically, for example, store the current state information as the first state information every ten minutes.
[0110] Optionally, the MCU itself has a storage space, and the MCU stores the first state information in the storage space. Alternatively, the endoscope light source device further includes a storage, and the MCU is capable of performing read and write operations on the storage. The MCU stores the first state information in the storage through the write operation.
[0111] Step 1103: The MCU outputs a first control signal to the light emitting circuit based on the first state information to control the light emitting circuit to emit light beams in a first state.
[0112] The first state is one of the multiple states described above.
[0113] In the embodiment of the present application, the MCU generates a first control signal based on the first state information, and sends the first control signal to the light emitting circuit. After receiving the first control signal, the light emitting circuit emits a light beam of the first state based on the first control signal.
[0114] As can be seen from the above, the light emitting circuit can include a light emitting driving component, a light emitting lamp, and a light machine component, etc. The MCU outputs the first control signal to the light emitting driving circuit, and the light emitting driving circuit generates a light emitting driving voltage or a light emitting driving current to the light machine component according to the first control signal. The light machine component is driven by the light emitting driving voltage or the light emitting driving current to cause the light emitting lamp to emit a light beam of the first state.
[0115] Step 1104: In the case where the voltage of the power supply drops below the first voltage threshold and above the minimum critical voltage value, the button on-off controller generates and outputs a first enable signal to the MCU.
[0116] The minimum critical voltage value is the minimum voltage value at which the endoscope light source device can work.
[0117] The power supply may drop the internal power supply voltage of the endoscope light source device under the influence of electrical interference or other factors of high-power and high-radiation type equipment. In this case, the button on-off controller in the embodiment of the present application can generate and output a first enable signal to the MCU.
[0118] Exemplarily, the button on-off controller includes a PB pin and an EN pin. When the voltage of the power supply drops to the first voltage threshold, the PB pin can generate a power-down signal, which triggers the EN pin to generate a first enable signal. The EN pin is a low-level signal by default, and the first enable signal triggered is a high-level signal.
[0119] Step 1105: The MCU reads the first state information in response to the first enable signal, and outputs the first control signal to the light emitting circuit again based on the first state information.
[0120] In the embodiment of the present application, after the MCU receives the first enable signal, it reads the first state information in response to the first enable signal, and outputs the first control signal to the light emitting circuit again based on the first state information, so as to control the light emitting circuit to continue emitting a light beam of the first state.
[0121] Optionally, the MCU is further capable of performing a restart operation in the case that the power voltage is detected to drop to a second voltage threshold, and after performing the restart operation, if the first enable signal is detected, indicating that the voltage of the power supply has not dropped below the minimum critical voltage value, and the key on-off controller is still continuously outputting the first enable signal, then the MCU reads the first state information again in response to the first enable signal, and outputs the first control signal to the light emitting circuit again based on the first state information, to control the light emitting circuit to continue emitting the light beam of the first state. The second voltage threshold is less than the first voltage threshold.
[0122] The MCU can detect whether the voltage of the power supply drops below the second voltage threshold and above the minimum critical voltage value according to the input voltage of the first pin (such as an ADC pin). For example, in the case that the input voltage of the first pin is lower than a first voltage value and higher than a second voltage value, the MCU determines that the voltage of the power supply drops below the second voltage threshold and above the minimum critical voltage value. In the case that the input voltage of the first pin is higher than or equal to the first voltage value, the MCU determines that the voltage of the power supply does not drop below the second voltage threshold.
[0123] In addition, the MCU can periodically detect whether the voltage of the power supply drops below the second voltage threshold and above the minimum critical voltage value. The period of the periodic detection of the MCU on the voltage of the power supply can be 1 second or 100 milliseconds, etc.
[0124] As can be seen from the above, the endoscope light source device in the embodiments of the present application can realize two-stage power failure detection for instantaneous power failure. The power failure voltage threshold corresponding to the first-stage power failure detection is the first voltage threshold, and the power failure voltage threshold corresponding to the second-stage power failure detection is the second voltage threshold. The MCU can perceive the first-stage power failure through the triggering of the first enable signal of the button controller, so as to quickly restore the previous light output state before the restart. The MCU can also actively perceive the second-stage power failure through the first pin of the MCU itself, so as to perform a restart operation and quickly restore the previous light output state after the restart.
[0125] It should be understood that the MCU controls the light emitting circuit to emit the light beam of the first state again after the power supply is instantaneously powered off and powered on again.
[0126] In the embodiments of the present application, if the MCU detects that the signal generated by the button on-off controller after performing the restart operation is not the first enable signal, such as not a high-level signal, then the MCU normally starts the endoscope light source device, and controls the light emitting circuit to emit a light beam of a default state or not to emit light by default.
[0127] For example, if the endoscope light source device is powered off for a long time, after the MCU performs a restart operation, it detects that the signal generated by the button on / off controller is a low-level signal. Then the MCU will power on normally and start the endoscope light source device, and the control light-emitting circuit will not emit light by default.
[0128] Please refer to the following. Figures 12 to 14 The signal timing diagram shown further explains the light emission control method provided in the embodiments of this application. Figures 12 to 14 In this document, "12V" represents the signal timing diagram corresponding to the power supply voltage of the endoscope light source device. For example, the power supply voltage of the second power supply terminal in this embodiment is normally 12V. "3.3V" represents the signal timing diagram corresponding to the chip's operating voltage. For example, the normal operating voltage of the MCU and the button on / off controller is 3.3V, meaning the power supply voltage of the first power supply terminal in this embodiment is normally 3.3V. "RES" represents the reset signal timing diagram of the endoscope light source device. "DET1" represents the input voltage timing diagram of the first pin of the MCU. "DET2" represents the input voltage timing diagram of the PB pin of the button on / off controller. "OFF-ON" represents the output signal timing diagram of the EN pin of the button on / off controller.
[0129] Figure 12 This is a signal timing diagram of an endoscope light source device provided in an embodiment of this application under normal startup conditions. See also... Figure 12 When the endoscope light source device is started normally, the signals corresponding to "12V", "3.3V", "RES", "DET1", and "DET2" all rise rapidly from a low level (i.e., 0V) to their respective high levels. For example, the signal corresponding to "12V" quickly changes from a low level to a high level of 12V, the signal corresponding to "3.3V" quickly changes from a low level to a high level of 3.3V, and the signal corresponding to "RES" will change from a low level to a high level due to the MCU performing a startup operation. However, since the endoscope light source device is started normally, the signal corresponding to "OFF-ON" is low by default and no level transition occurs.
[0130] Figure 13 This is a signal timing diagram of an endoscope light source device provided in an embodiment of this application under conditions of prolonged power outage or manual power-on / off switching. See also... Figure 13In the case of long power-off of the endoscope light source device or power-off and power-on by human, at the moment of power-off, the signals corresponding to "12V", "3.3V", "DET1" and "DET2" all rapidly drop from the respective high level to low level, at this moment, the low level cannot support the working of the endoscope light source device. The signal corresponding to "RES" will change from low level to high level due to the attempt of the MCU to perform the restart operation, but the restart fails because the power-off causes the endoscope light source device to be unable to work, and the signal corresponding to "RES" keeps high level for a very short time. Similarly, the signal corresponding to "OFF-ON" will change from low level to high level due to the power-off, but the signal corresponding to "OFF-ON" keeps high level for a very short time because the endoscope light source device is unable to work.
[0131] Figure 14 is a signal timing diagram of the endoscope light source device in the case of instantaneous power-off and rapid power-on. Referring to Figure 14 In the case of instantaneous power-off and rapid power-on of the endoscope light source device, at the moment of instantaneous power-off, the signals corresponding to "12V", "3.3V", "DET1" and "DET2" all rapidly drop from the respective high level to low level, at this moment, the low level can still support the working of the endoscope light source device. The signal corresponding to "RES" will change from low level to high level due to the attempt of the MCU to perform the restart operation, and the restart succeeds because the endoscope light source device can still work, so the signal corresponding to "RES" will keep high level. Similarly, the signal corresponding to "OFF-ON" will change from low level to high level due to the power-off, and the signal corresponding to "OFF-ON" will keep high level because the endoscope light source device can still work, thereby triggering the MCU to read the stored first state information and restore the previous light output state based on the first state information.
[0132] In summary, in the embodiment of the present application, the button on-off controller can generate a first enable signal to the MCU in the case that the voltage of the power supply drops below the first voltage threshold and above the minimum critical voltage value, and the MCU reads the stored first state information and controls the light emitting circuit to emit the light beam of the first state based on the first state information in response to the first enable signal. That is, the present scheme can rapidly restore the light output state adjusted by the user operation before the instantaneous power-off of the power supply, without the need for relevant personnel to manually adjust the equipment again.
[0133] All the optional technical solutions described above can be combined in any manner to form optional embodiments of the present application, and the embodiments of the present application will not be described one by one.
[0134] In some embodiments, a computer readable storage medium is also provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps of the light emitting control method in the above embodiments. For example, the computer readable storage medium can be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0135] It is worth noting that the computer readable storage medium mentioned in the embodiments of the present application can be a non-volatile storage medium, in other words, can be a non-transitory storage medium.
[0136] It should be understood that all or part of the steps of the above embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product entirely or partially. The computer program product includes one or more computer instructions. The computer instructions can be stored in the computer readable storage medium mentioned above.
[0137] That is, in some embodiments, a computer program product including instructions which, when run on a computer, cause the computer to perform the steps of the light emitting control method described above is also provided.
[0138] It should be understood that "at least one" mentioned herein refers to one or more, and "multiple" refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" in this document is only a description of the association between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the same items or similar items with basically the same functions and effects are distinguished by using "first", "second", etc. The skilled in the art can understand that "first", "second", etc. do not limit the quantity and execution order, and "first", "second", etc. also do not necessarily mean different.
[0139] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0140] The above describes the embodiments provided by the present application, and is not used to limit the present application. 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. An endoscope light source device, characterized in that, The endoscope light source device includes a microcontroller unit (MCU), a dimming component, a button on / off controller, a light-emitting circuit, and a power supply; The MCU is electrically connected to the dimming component, the button on / off controller, the light-emitting circuit, and the power supply, respectively. The button on / off controller, the dimming component, and the light-emitting circuit are also electrically connected to the power supply, respectively. The MCU is used to store the first state information upon receiving it, and to output a first control signal to the light-emitting circuit based on the first state information. The first control signal is used to control the light-emitting circuit to emit a light beam in the first state among multiple states. The first state information is determined by the dimming component based on the detected user operation. The MCU is also used to read the first status information when it receives the first enable signal, and output the first control signal to the light-emitting circuit again based on the first status information. The first enable signal is a signal generated by the button on / off controller when the voltage of the power supply drops below a first voltage threshold and above a minimum critical voltage value. The minimum critical voltage value is the lowest voltage value at which the endoscope light source device can work.
2. The endoscope light source device according to claim 1, characterized in that, The power supply has a first power supply terminal and a second power supply terminal. The button on / off controller is electrically connected to the first power supply terminal. The power supply provides a first power supply voltage to the button on / off controller through the first power supply terminal. The light-emitting circuit is electrically connected to the second power supply terminal, and the power supply provides a second power supply voltage to the light-emitting circuit through the second power supply terminal. The endoscope light source device further includes a first voltage divider circuit, one end of which is electrically connected to the second power supply terminal, and the other end is grounded; the first voltage divider circuit includes a first voltage divider resistor and a second voltage divider resistor connected in series, and the button on / off controller has a button PB pin, which is electrically connected between the first voltage divider resistor and the second voltage divider resistor.
3. The endoscope light source device according to claim 1, characterized in that, The MCU is also used for: If the voltage of the power supply is detected to drop to a second voltage threshold, a restart operation is performed, wherein the second voltage threshold is less than the first voltage threshold. After performing a restart operation, if the first enable signal is detected, the system responds to the first enable signal by reading the first status information again and outputting the first control signal to the light-emitting circuit based on the first status information.
4. The endoscope light source device according to claim 3, characterized in that, The power supply has a third power supply terminal, the MCU is electrically connected to the third power supply terminal, and the power supply provides a third power supply voltage to the MCU through the third power supply terminal; The endoscope light source device further includes a second voltage divider circuit, one end of which is electrically connected to the third power supply terminal, and the other end is grounded; the second voltage divider circuit includes a third voltage divider resistor and a fourth voltage divider resistor connected in series, and the MCU has a first pin, which is electrically connected between the third voltage divider resistor and the fourth voltage divider resistor; The MCU is used to determine whether the voltage of the power supply has dropped below the second voltage threshold and above the minimum critical voltage value by detecting the voltage of the first pin.
5. The endoscope light source device according to claim 4, characterized in that, The first pin is an analog-to-digital converter (ADC) pin.
6. The endoscopic light source device according to any one of claims 1-5, characterized in that, The MCU has a second pin, and the button on / off controller has an enable EN pin. The second pin is electrically connected to the EN pin. The button on / off controller is used to output the first enable signal through the EN pin.
7. The endoscope light source device according to claim 6, characterized in that, The second pin is a general purpose input / output (GPIO) pin.
8. An endoscope system, characterized in that, The endoscope system includes a light source device and a camera device, wherein the light source device includes the device as described in any one of claims 1-7.
9. A method for controlling light emission, characterized in that, The method applies to a microcontroller unit (MCU) included in an endoscope light source device, which further includes a dimming component, a button on / off controller, a light-emitting circuit, and a power supply. The light-emitting circuit is capable of emitting light beams in various states. Receive and store first status information, which is determined by the dimming component based on detected user operation; Based on the first state information, a first control signal is output to the light-emitting circuit to control the light-emitting circuit to emit a light beam in a first state, wherein the first state is one of the multiple states; The button on / off controller receives a first enable signal triggered when the power supply voltage drops below a first voltage threshold but above a minimum critical voltage value, wherein the minimum critical voltage value is the lowest voltage value at which the endoscope light source device can operate. In response to the first enable signal, the first state information is read, and the first control signal is output to the light-emitting circuit again based on the first state information to control the light-emitting circuit to continue to emit the light beam in the first state.
10. The method according to claim 9, characterized in that, The method further includes: If the power supply voltage is detected to drop to a second voltage threshold, a restart operation is performed, where the second voltage threshold is less than the first voltage threshold. After performing a restart operation, if the first enable signal is detected, the first status information is read again in response to the first enable signal, and the first control signal is output to the light-emitting circuit again based on the first status information to control the light-emitting circuit to continue to emit the light beam in the first state.
Citation Information
Patent Citations
Endoscope light source device, endoscope system, and light emission control method
CN119157465A