Parallel LED state detection method, circuit and device of electronic endoscope

CN117462062BActive Publication Date: 2026-11-03HANGZHOU HAIKANG HUIYING TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311462834.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-03
Publication Date
2026-11-03
Estimated Expiration
2043-11-03

AI Technical Summary

Technical Problem

How to accurately determine the working status of the parallel LEDs at the front end of an electronic endoscope, especially in situations with limited space, is a challenge that current technologies struggle to effectively detect whether the LEDs are functioning properly.

Method used

By continuously sampling the voltage of the parallel LEDs after they are powered on, the voltage change trend is obtained. The voltage change characteristic information is compared with the preset voltage change trend to detect the abnormal working state of the parallel LEDs. The state detection is realized by using a microcontroller and sampling sub-circuit.

Benefits of technology

It can quickly and accurately determine the working status of parallel LEDs without the need for additional equipment, including normal operation, partial open circuit or short circuit and other abnormal states, thus improving the reliability and efficiency of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117462062B_ABST
    Figure CN117462062B_ABST
Patent Text Reader

Abstract

The parallel LED state detection method, circuit and device of the electronic endoscope provided in the embodiments of the present application can continuously sample the voltage of the parallel LED after the parallel LED is powered on, obtain the change trend of the voltage value, and then compare the change trend of the voltage value to obtain the voltage change characteristic information of the parallel LED. Based on the voltage change characteristic information of the parallel LED and the preset voltage change trend information, the working state of the LED is determined. Since the voltage change characteristic information of the parallel LED is related to the junction temperature characteristic of the LED device, the characteristic is irrelevant to the direct current impedance parameter of the cable in the insertion tube of the electronic endoscope and the related connection electrical contact. The working state of the corresponding parallel LED can be accurately determined based on the change trend of the voltage value of the LED.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic endoscopes, and in particular to a method, circuit, and device for detecting the status of parallel LEDs in an electronic endoscope. Background Technology

[0002] An electronic endoscope is an electro-optical instrument that can be inserted into the internal cavity of an object for direct observation and other operations. This instrument integrates advanced technologies such as optics, mechanics, and electronics. Its imaging primarily relies on a miniature image sensor mounted at the front end of the endoscope. The signal is transmitted, converted, and processed by an image processor before being displayed on a monitor screen.

[0003] When there is insufficient light inside the cavity of an object, LEDs (Light Emitting Diodes) are often placed in front of the camera of an electronic endoscope as a means of supplementing the endoscope's lighting. Since the space in the insertion part and front end of a small electronic endoscope is limited, two LEDs are usually set in parallel at the front end of the electronic endoscope, and only one extremely thin power supply cable is used as the LED power supply line. The LED driving circuit is arranged in the endoscope operating part, which is far away from the front camera part.

[0004] Specifically, such as Figure 1 As shown, Figure 1 The main components of the electronic endoscope include: a supplementary LED 1 that provides supplementary lighting for the camera unit; a camera unit 2 that converts image light signals into electronic image signals; a housing 3 for encapsulating the supplementary LED 1 and the camera unit 2; an operating unit 6 for handheld endoscope operation; an insertion tube 5; and a cable 4 built into the insertion tube 5 for transmitting electrical signals between the camera unit and the supplementary LED 1.

[0005] Whether the LEDs of an electronic endoscope are working properly directly affects the observation results of the electronic endoscope. Therefore, how to determine the working status of the parallel LEDs at the front end of the electronic endoscope is an urgent problem to be solved. Summary of the Invention

[0006] The purpose of this application is to provide a method, circuit, and device for detecting the status of parallel LEDs in an electronic endoscope, so as to realize the detection of the LED status of the electronic endoscope. The specific technical solution is as follows:

[0007] This application provides a method for detecting the status of parallel LEDs in an electronic endoscope, wherein the electronic endoscope includes multiple LEDs connected in parallel, and the method includes:

[0008] After the parallel LEDs are powered on, the voltage of the parallel LEDs is continuously sampled to obtain the trend of voltage change.

[0009] By comparing the changing trends of the voltage values, the voltage change characteristic information of the parallel LEDs is obtained;

[0010] Based on the voltage change characteristic information of the parallel LEDs and the preset voltage change trend information, the abnormal working state of the parallel LEDs is detected. The preset voltage change trend information is used to represent the voltage change trend of the parallel LEDs after they are powered on under normal working conditions.

[0011] In one optional implementation, after the parallel LEDs are energized, the voltage of the parallel LEDs is continuously sampled to obtain the voltage value change trend, including:

[0012] The voltage value of the sampling sub-circuit is obtained at a preset time interval; one end of the sampling sub-circuit is used to connect to the anode of the LED, and the other end is grounded;

[0013] The voltage value of the parallel LEDs is used as the forward voltage drop of the parallel LEDs;

[0014] The trend of voltage value change is obtained based on the forward voltage drop of multiple samples.

[0015] In one optional implementation, after the parallel LEDs are energized, the voltage of the parallel LEDs is continuously sampled to obtain the voltage value change trend, including:

[0016] The current value flowing through the sampling sub-circuit is obtained at preset time intervals; one end of the sampling sub-circuit is used to connect to the anode of the LED, and the other end is grounded;

[0017] Based on the current value and resistance value of the sampling sub-circuit, the voltage value of the sampling sub-circuit is determined.

[0018] The voltage value of the sampling sub-circuit is used as the forward voltage drop of the parallel LED;

[0019] The trend of voltage value change is obtained based on the forward voltage drop of multiple samples.

[0020] In one optional embodiment, the voltage change characteristic information includes at least one of the relative value of voltage change and the rate of voltage change;

[0021] The step of comparing the changing trends of the voltage values ​​to obtain the voltage change characteristic information of the parallel LEDs includes at least one of the following steps:

[0022] For each positive voltage drop in the trend of the voltage value change, determine the difference between the positive voltage drop and the first positive voltage drop;

[0023] For each difference, the absolute value of the difference is taken as the relative value of the voltage change;

[0024] For each difference, calculate the time difference between the time corresponding to that difference and the first time. Divide the difference by the time difference to obtain the voltage change rate corresponding to that time.

[0025] In one optional implementation, detecting abnormal operating states of the parallel LEDs based on voltage change characteristic information and preset voltage change trend information includes:

[0026] The voltage change characteristics of the parallel LEDs are matched with the voltage change trend of the parallel LEDs after they are powered on in normal working condition. If the match is successful, the parallel LEDs are working in normal working condition; if the match is unsuccessful, the parallel LEDs are working in abnormal working condition.

[0027] In one alternative implementation, after determining that the parallel LEDs are operating in an abnormal operating state, the method further includes:

[0028] The voltage change characteristic information of the parallel LEDs is matched with the abnormal preset voltage change trend information, wherein the abnormal preset voltage change trend information is used to represent the voltage value change trend of the parallel LEDs after being powered on under various abnormal working states; wherein the abnormal working states include all LEDs being open, some LEDs working normally, some LEDs being open, and LEDs being short-circuited.

[0029] If the voltage change characteristic information of the parallel LEDs is successfully matched with the voltage change trend after each LED is powered on with all LEDs open, then it is determined that each LED is open.

[0030] If the voltage change characteristic information of the parallel LEDs matches the voltage change trend after power-on with some LEDs working normally and some LEDs open circuit, then it is determined that some LEDs are working normally and some LEDs are open circuit.

[0031] If the voltage change characteristics of the parallel LEDs match the voltage change trend after power-on under LED short circuit conditions, then an LED short circuit is determined to exist.

[0032] In one optional implementation, the normal working state indicates that all LEDs are working normally; the abnormal working state includes: all LEDs are open, some LEDs are working normally, some LEDs are open, and there is an LED short circuit.

[0033] The method for determining the preset voltage change trend information is as follows:

[0034] For each working state of the LED, after the parallel LED is powered on in that working state, the voltage of the parallel LED is continuously sampled to obtain the voltage value change trend;

[0035] By comparing the changing trends of the voltage values, the voltage change characteristic information of the parallel LEDs is obtained, and the correspondence between the working state and the voltage change trends of the parallel LEDs is established to obtain preset voltage change trend information.

[0036] In one optional embodiment, the step of continuously sampling the voltage of the parallel LEDs after they are energized to obtain the voltage value change trend includes:

[0037] Within a preset time period after the parallel LEDs are powered on, the voltage of the parallel LEDs is continuously sampled at preset time intervals to obtain the voltage change trend. The preset time period is 5s-10s.

[0038] This application embodiment also provides a parallel LED status detection circuit for an electronic endoscope, including:

[0039] Microcontroller, regulated power supply, switch control sub-circuit, LED driver sub-circuit, parallel LEDs, sampling sub-circuit;

[0040] The regulated power supply is connected to the switch control sub-circuit, the switch control sub-circuit is connected to the LED driver sub-circuit, and the LED driver sub-circuit is connected to the parallel LED and the sampling sub-circuit respectively; the switch control sub-circuit is connected to the microcontroller, and the sampling sub-circuit is connected to the microcontroller.

[0041] The LED driver sub-circuit is used to control the supplementary light intensity of the parallel LEDs;

[0042] The switch control sub-circuit is used to output control signals to control the switch control sub-circuit and the LED driver sub-circuit to achieve switching control of the parallel LEDs;

[0043] The sampling sub-circuit is used to collect the sampling information at the output of the LED driver sub-circuit and send the sampling information to the microcontroller;

[0044] The microcontroller is used to detect abnormal operating states of the parallel LEDs based on the sampled information and according to any of the methods described above.

[0045] In one optional embodiment, the microcontroller includes a switch control module and an analog-to-digital converter module; the switch control sub-circuit includes:

[0046] First switch subunit, second resistor, third resistor, fourth resistor, second switch subunit;

[0047] The LED driver sub-circuit includes a first resistor;

[0048] The parallel LEDs include:

[0049] First LED, second LED;

[0050] The sampling sub-circuit includes a fifth resistor and a sixth resistor;

[0051] The first end of the fourth resistor is connected to the switch control module, the second end of the fourth resistor is connected to the control terminal of the second switch subunit, the first end of the second switch subunit is grounded, and the second end of the second switch subunit is connected to the first end of the second resistor and the first end of the third resistor respectively.

[0052] The second end of the second resistor is connected to the regulated power supply and the first end of the first switching subunit, respectively.

[0053] The second end of the third resistor is connected to the control terminal of the first switch subunit;

[0054] The second terminal of the first switch subunit is connected to the first terminal of the first resistor;

[0055] The second end of the first resistor is connected to the first end of the fifth resistor, the anode of the first LED, and the anode of the second LED, respectively.

[0056] The cathodes of the first LED and the second LED are grounded;

[0057] The second end of the fifth resistor is connected to the first end of the sixth resistor and the analog-to-digital converter module, respectively.

[0058] The second terminal of the sixth resistor is grounded.

[0059] This application also provides an electronic endoscope, including a parallel LED status detection circuit for any of the above-described electronic endoscopes.

[0060] This application also provides an electronic device, including: a processor and a memory;

[0061] Memory, used to store computer programs;

[0062] When the processor executes the program stored in the memory, it implements the parallel LED status detection method of any of the above-described electronic endoscopes.

[0063] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the parallel LED status detection method for any of the above-described electronic endoscopes.

[0064] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to execute any of the above-described methods for detecting the status of parallel LEDs in an electronic endoscope.

[0065] Beneficial effects of the embodiments in this application:

[0066] This application provides a method, circuit, and device for detecting the status of parallel LEDs in an electronic endoscope. After powering on the parallel LEDs, the voltage of the parallel LEDs is continuously sampled to obtain the voltage change trend. Then, by comparing the voltage change trend, the voltage change characteristic information of the parallel LEDs can be obtained. Based on the voltage change characteristic information of the parallel LEDs and the preset voltage change trend information, the working state of the LEDs can be determined. Because the voltage change characteristic information of the parallel LEDs is related to the junction temperature characteristics of the LED device, this characteristic is independent of the DC impedance parameters of the cables and related electrical contacts in the insertion tube of the electronic endoscope. Based on the LED voltage change trend, the working state of the corresponding parallel LEDs can be accurately determined.

[0067] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description

[0068] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.

[0069] Figure 1 This is a schematic diagram of the structure of an electronic endoscope in related technologies;

[0070] Figure 2 A schematic flowchart of a first method for detecting the status of parallel LEDs in an electronic endoscope provided in an embodiment of this application;

[0071] Figure 3 This is the forward voltage drop-junction temperature characteristic curve of the LED device;

[0072] Figure 4-1 A schematic diagram of a first structure of a parallel LED status detection circuit for an electronic endoscope provided in an embodiment of this application;

[0073] Figure 4-2 A schematic diagram of a second structure of a parallel LED status detection circuit for an electronic endoscope provided in an embodiment of this application;

[0074] Figure 4-3 A schematic diagram of the signal flow of a parallel LED status detection circuit for an electronic endoscope provided in an embodiment of this application;

[0075] Figure 5 A schematic diagram of a third structure of the parallel LED status detection circuit for an electronic endoscope provided in an embodiment of this application;

[0076] Figure 6 A schematic diagram of the fourth structure of the parallel LED status detection circuit for an electronic endoscope provided in an embodiment of this application;

[0077] Figure 7-1 A schematic diagram of a second process for detecting the status of parallel LEDs in an electronic endoscope provided in an embodiment of this application;

[0078] Figure 7-2 A schematic diagram of the third process for detecting the status of parallel LEDs in an electronic endoscope provided in an embodiment of this application;

[0079] Figure 7-3 A schematic diagram of the fourth process for detecting the state of parallel LEDs in an electronic endoscope provided in an embodiment of this application;

[0080] Figure 7-4 A schematic diagram of the fifth process for detecting the state of parallel LEDs in an electronic endoscope provided in this application embodiment;

[0081] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0082] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.

[0083] First, the terms used in the embodiments of this application will be explained:

[0084] Electronic endoscope: An electronic endoscope is a medical electronic optical instrument that integrates advanced technologies such as optics, mechanics, and electronics, and can be inserted into the cavities of the human body and organs for direct observation, diagnosis, and treatment. Its imaging mainly relies on a miniature CCD / CMOS image sensor installed at the front end of the endoscope. After the signal is transmitted, converted, and processed by the image processor, it is displayed on the monitor screen.

[0085] LED: Light Emitting Diode, or LED for short, is a commonly used light-emitting device that emits light by releasing energy through the recombination of electrons and holes. LEDs can efficiently convert electrical energy into light energy and have a wide range of applications in modern society, such as lighting, flat panel displays, and medical devices.

[0086] LED junction temperature: Due to the inherent characteristics of LED devices, not all electrical energy can be converted into light energy when an LED device emits light. When current passes through the LED device, some electrical energy is converted into heat energy, and the temperature of the PN junction will rise accordingly. The temperature of the PN junction is usually defined as the junction temperature of the LED device. The LED junction temperature is related to the optical and electrical characteristics of the LED device.

[0087] ADC: Analog-to-Digital Converter, abbreviated as ADC. In the physical world, speed, temperature, air speed, sunlight, sound, etc. are essentially analog. Microcontrollers and microprocessors in electronic devices cannot directly read / interpret these analog signals. They need to use an analog-to-digital converter to convert the analog signals into digital signals before they can be read and processed.

[0088] To detect the status of LEDs in an electronic endoscope, embodiments of this application provide a method, circuit, electronic device, computer-readable storage medium, and computer program product containing instructions for detecting the status of parallel LEDs in an electronic endoscope.

[0089] In this application embodiment, the solution can be applied to any electronic device that can provide parallel LED status detection services for electronic endoscopes, such as computers, mobile phones, tablets, consoles, etc. The parallel LED status detection method for electronic endoscopes provided in this application embodiment can be implemented in at least one of software, hardware circuits, and logic circuits within the electronic device.

[0090] like Figure 2 As shown, Figure 2 This is a schematic flowchart of a first method for detecting the status of parallel LEDs in an electronic endoscope according to an embodiment of this application. The electronic endoscope includes multiple LEDs connected in parallel. The method includes:

[0091] S01, After the parallel LEDs are powered on, the voltage of the parallel LEDs is continuously sampled to obtain the trend of voltage change.

[0092] S02, compare the changing trends of the above voltage values ​​to obtain the voltage change characteristic information of the above parallel LEDs;

[0093] S03, based on the voltage change characteristic information of the parallel LED and the preset voltage change trend information, detect the abnormal working state of the parallel LED, wherein the preset voltage change trend information is used to represent the voltage value change trend of the parallel LED after it is powered on under normal working conditions.

[0094] like Figure 1 As shown, the electronic endoscope includes a supplementary LED providing illumination for the camera unit, a camera unit that converts image light signals into electronic image signals, a housing for encapsulating the supplementary LED and the camera unit, an operating unit for handheld endoscope operation, an insertion tube, and a cable built into the insertion tube for transmitting electrical signals between the camera unit and the supplementary LED. The supplementary LED may include at least two LEDs connected in parallel, for example, two or three LEDs connected in parallel. Exemplarily, the operating states of the parallel LEDs include: all LEDs operating normally, all LEDs open-circuited, some LEDs operating normally, some LEDs open-circuited, and LEDs short-circuited. The operating states with LED short circuits include: single LED short circuit and multiple LED short circuits.

[0095] For LED devices, when current flows through them, some electrical energy is converted into heat, causing the temperature of the LED's PN junction to rise. This PN junction temperature is typically defined as the junction temperature of the LED device. A higher junction temperature results in a smaller forward voltage drop. When the temperature reaches a certain level, the change in the forward voltage drop becomes even smaller. Figure 3 As shown, Figure 3 This is the forward voltage drop-junction temperature characteristic curve of an LED device. Since all LED devices have the same forward voltage drop-junction temperature characteristic curve, the trend of the forward voltage drop of an LED varies under different operating conditions.

[0096] For example, a supplemental LED consists of two identical LEDs connected in parallel. The operating states of the parallel LEDs include:

[0097] A. Operating status: One LED is working normally, and one LED is open.

[0098] B. Operating status: Both LEDs are working normally;

[0099] C. Operating status: At least one LED is short-circuited;

[0100] In the D operating state, both LEDs are open.

[0101] In operating state A, the current passing through the LED device is twice that in operating state B. According to the basic principle of thermodynamic temperature rise, after the parallel LED circuit is energized, the junction temperature of the LED in operating state A will rise significantly faster than that in operating state B. Combining the forward voltage drop-junction temperature characteristic curve, it can be concluded that the sampling voltage value changes significantly faster in operating state A than in operating state B.

[0102] Therefore, for the electronic endoscope to be tested, the operating states of the parallel LEDs are determined. Then, for each operating state, the parallel LEDs are energized for a preset duration, and the forward voltage drop of the parallel LEDs is acquired at preset time intervals. Based on the sampled voltage, the voltage change characteristic information of the parallel LEDs is determined, and a correspondence between the operating state and the voltage characteristic information is established. For clarity of the scheme and layout, another embodiment will be described in detail below.

[0103] When it is necessary to detect the status of parallel LEDs in an electronic endoscope, the voltage of the parallel LEDs can be continuously sampled after they are powered on to obtain the voltage trend. Because the change in the forward voltage drop of the LED decreases with increasing temperature, the voltage of the parallel LEDs can be detected within a short period after they are powered on. For example, the LEDs can be powered on for a preset duration, and the voltage can be continuously sampled. The preset duration can be determined based on actual conditions, such as a range of 5s-10s. Continuous information sampling of the LED drive circuit can be performed at preset time intervals, which can be set according to actual conditions, for example, a preset time interval of 100ms.

[0104] The forward voltage drop of the parallel LEDs can be determined by acquiring the voltage at a voltage sampling point in the circuit. This sampling point can be a point set based on actual conditions, such as any point near the power supply voltage end of the LED. The specific point is determined based on actual conditions and is not limited here. Alternatively, it can be determined by collecting the voltage and current of the parallel LED circuit. For example, a sampling sub-circuit can be set up on the parallel LED driver circuit, and the forward voltage drop of the parallel LEDs can be determined based on the voltage or current collected by the sampling sub-circuit.

[0105] After continuously sampling the voltage of the parallel LEDs, the trend of voltage change can be obtained. This trend includes multiple voltage values.

[0106] Based on the forward voltage drop of each parallel LED in the voltage value change trend, the voltage change characteristic information of the parallel LEDs is determined. For example, the voltage change characteristic information of the parallel LEDs includes at least one of the relative voltage change value and the voltage change rate. Based on the forward voltage drop of each parallel LED, the relative voltage change value and the voltage change rate can be determined. The voltage change characteristic information of the voltage sampling points in the circuit over time is obtained; this characteristic information theoretically corresponds to the forward voltage drop change characteristic of the parallel LED devices over time. Then, based on the voltage change characteristic information of the parallel LEDs and a preset voltage change trend information used to represent the voltage value change trend of the parallel LEDs after being powered on in normal operating conditions, the sampled LED voltage change characteristic information is compared to accurately determine the operating state of the parallel LEDs.

[0107] After powering on the parallel LEDs, their voltages are continuously sampled to obtain the voltage trend. By comparing this trend, the voltage change characteristics of the parallel LEDs can be obtained. Based on these characteristics and a preset voltage trend, the operating state of the LEDs can be determined. This is because the voltage change characteristics of the parallel LEDs are related to the junction temperature characteristics of the LED devices, and this characteristic is independent of the DC impedance parameters of the cables and related electrical contacts inside the insertion tube of the electronic endoscope. Therefore, the operating state of the corresponding parallel LEDs can be accurately determined based on the LED voltage change trend.

[0108] In one optional implementation, after the parallel LEDs are energized, the voltage of the parallel LEDs is continuously sampled to obtain the voltage value change trend, including:

[0109] The voltage value of the sampling sub-circuit is obtained at a preset time interval; one end of the sampling sub-circuit is used to connect to the anode of the LED, and the other end is grounded.

[0110] The voltage value of the above sampling sub-circuit is used as the forward voltage drop of the parallel LED;

[0111] The trend of the above voltage values ​​was obtained based on the forward voltage drop from multiple samples.

[0112] To obtain the forward voltage drop of an LED, a sampling sub-circuit can be set up, in which one end of the sampling sub-circuit is connected to the anode of the LED and the other end is grounded. After obtaining the voltage value of the sampling sub-circuit, the voltage value of the sampling sub-circuit can be used as the forward voltage drop of the LED connected in parallel.

[0113] By collecting the voltage value of the sampling sub-circuit, the forward voltage drop of the parallel LEDs can be obtained. After obtaining the forward voltage drop of multiple samples, the trend of voltage value change can be obtained.

[0114] In one optional implementation, after the parallel LEDs are energized, the voltage of the parallel LEDs is continuously sampled to obtain the voltage value change trend, including:

[0115] The current value flowing through the sampling sub-circuit is obtained at preset time intervals; one end of the sampling sub-circuit is used to connect to the anode of the LED, and the other end is grounded;

[0116] Based on the current value and resistance value of the sampling sub-circuit, the voltage value of the sampling sub-circuit is determined.

[0117] The voltage value of the above sampling sub-circuit is used as the forward voltage drop of the parallel LED. After obtaining the forward voltage drop of multiple samples, the trend of voltage value change is obtained.

[0118] To obtain the forward voltage drop of the parallel LEDs, the current value of the sampling sub-circuit can be collected, and then the voltage value of the sampling sub-circuit can be determined based on the resistance value of the sampling sub-circuit. This voltage value of the sampling sub-circuit is then used as the forward voltage drop of the parallel LEDs.

[0119] In one optional embodiment, the voltage change characteristic information shown includes at least one of the relative value of voltage change and the rate of voltage change;

[0120] The above comparison of the voltage value change trends to obtain the voltage change characteristic information of the parallel LEDs includes at least one of the following steps:

[0121] For each positive voltage drop in the aforementioned voltage value change trend, determine the difference between that positive voltage drop and the first positive voltage drop;

[0122] For each difference, the absolute value of the difference is taken as the relative value of the voltage change;

[0123] For each difference, calculate the time difference between the time corresponding to that difference and the first time. Divide the difference by the time difference to obtain the voltage change rate corresponding to that time.

[0124] Because the forward voltage drop of the parallel LEDs is acquired at preset time intervals, multiple forward voltage drops are acquired. For example, if the preset duration is 10 seconds and the preset time interval is 100 ms, then data is acquired every 100 ms starting from 0 seconds, resulting in a total of 100 forward voltage drops. For each forward voltage drop, the difference between this forward voltage drop and a first forward voltage drop is determined. The first forward voltage drop can be any predetermined reference voltage value. The reference voltage value can be a value determined based on actual conditions; for example, the reference voltage value can be any specified absolute value, such as 0, or it can be determined based on the acquired forward voltage drops, such as the value of the first acquired forward voltage drop, or the average of the acquired forward voltage drops. The method for determining the reference voltage value is not limited here.

[0125] In addition, for each positive voltage drop, the first positive voltage drop corresponding to that positive voltage drop can also be the previous positive voltage drop. For example, the first positive voltage drop corresponding to the positive voltage drop collected in 200ms is the positive voltage drop collected in 100ms. The specific settings can be made based on the actual situation and are not limited here.

[0126] The voltage change characteristic information includes at least one of the relative value of voltage change and the rate of voltage change. After determining multiple forward voltage drops, for each forward voltage drop, the difference between the forward voltage drop and the first forward voltage drop is determined; the voltage change characteristic information of the parallel LEDs is determined based on each difference.

[0127] In one optional embodiment, the detection of abnormal operating states of the parallel LEDs based on the voltage change characteristic information of the parallel LEDs and preset voltage change trend information includes:

[0128] The voltage change characteristics of the parallel LEDs are matched with the voltage change trend of the parallel LEDs after they are powered on under normal working conditions. If the match is successful, the parallel LEDs are working under normal working conditions. If the match is unsuccessful, the parallel LEDs are working under abnormal working conditions.

[0129] Because the preset voltage change trend information is used to represent the voltage change trend of the parallel LEDs after they are powered on under normal working conditions, if the voltage change characteristic information of the parallel LEDs matches the preset voltage change trend information, it means that the parallel LEDs are working under normal working conditions. If the match fails, it means that the parallel LEDs are working under abnormal working conditions.

[0130] In an alternative embodiment, after determining that the parallel LEDs are operating in an abnormal operating state, the method further includes:

[0131] The voltage change characteristic information of the parallel LEDs is matched with the abnormal preset voltage change trend information, wherein the abnormal preset voltage change trend information is used to represent the voltage value change trend of the parallel LEDs after being powered on under various abnormal working conditions.

[0132] If the voltage change characteristics of the parallel LEDs are successfully matched with the voltage change trend after each LED is powered on with all LEDs open, then it is determined that each LED is open.

[0133] If the voltage change characteristics of the parallel LEDs match the voltage change trend after power-on with some LEDs operating normally and some LEDs open circuit, then it is determined that some LEDs are operating normally and some LEDs are open circuit.

[0134] If the voltage change characteristics of the parallel LEDs match the voltage change trend after power-on when an LED is short-circuited, then an LED short circuit is confirmed.

[0135] Abnormal operating states include three conditions: all LEDs are open-circuited, some LEDs are working normally, some LEDs are open-circuited, and there is a short circuit in some LEDs. The abnormal preset voltage change trend information indicates the voltage change trend of the parallel LEDs after being powered on under each abnormal operating state. After determining that the parallel LEDs are operating in an abnormal operating state, the voltage change characteristic information of the parallel LEDs can be compared with the voltage change trend after being powered on under each abnormal operating state, so as to more accurately determine which abnormal operating state the LEDs are in.

[0136] In one optional implementation, the above normal operating state indicates that all LEDs are working normally; the above abnormal operating state includes: all LEDs are open, some LEDs are working normally, some LEDs are open, and there is an LED short circuit.

[0137] The method for determining the aforementioned preset voltage change trend information is as follows:

[0138] For each working state of the LED, after the parallel LEDs are powered on in that working state, the voltage of the parallel LEDs is continuously sampled to obtain the voltage value change trend.

[0139] By comparing the changing trends of the above voltage values, the voltage change characteristic information of the parallel LEDs is obtained, and the correspondence between the working state and the voltage change trend of the parallel LEDs is established to obtain the preset voltage change trend information.

[0140] The operating states of LEDs include: all LEDs are working normally, all LEDs are open, some LEDs are working normally and some LEDs are open, and there is a short circuit in the LEDs.

[0141] For the working state where multiple LEDs are operating normally, after the parallel LEDs are powered on, the voltage of the parallel LEDs is continuously sampled to obtain the voltage change trend. By comparing the voltage change trends, the voltage change characteristic information of the parallel LEDs is obtained. A correspondence is established between the working state where multiple LEDs are operating normally and the voltage change trend of the parallel LEDs after being powered on under normal working state, and the preset voltage change trend information is obtained.

[0142] For each abnormal working state, after the parallel LED is powered on, the voltage of the parallel LED is continuously sampled to obtain the voltage change trend. By comparing the voltage change trend, the voltage change characteristic information of the parallel LED is obtained. The correspondence between the abnormal normal working state and the voltage change trend after powering on under the abnormal normal working state is established to obtain the abnormal preset voltage change trend information.

[0143] After obtaining the preset voltage change trend information and the abnormal preset voltage change trend information, the working status of the LED can be accurately determined based on these two types of information.

[0144] The preset voltage change trend information and the abnormal preset voltage change trend information can be stored in the electronic device or in other devices. In this way, when it is necessary to detect the status of the parallel LEDs of the electronic endoscope, after obtaining the forward voltage drop of the parallel LEDs, the preset voltage change trend information and the abnormal preset voltage change trend information can be obtained first. Then, based on each forward voltage drop, the voltage change characteristic information of the parallel LEDs can be determined. Finally, based on the preset voltage change trend information and the abnormal preset voltage change trend information, the working status of the LEDs corresponding to the voltage change characteristic information can be determined.

[0145] When the electronic device stores preset voltage change trend information and abnormal preset voltage change trend information, after determining the voltage change characteristic information of the parallel LED, the electronic device can directly match the voltage change characteristic information of the parallel LED with the voltage value change trend corresponding to the working state of the preset voltage change trend information and abnormal preset voltage change trend information. If the match is successful, the working state is determined as the current working state of the LED.

[0146] When the preset voltage change trend information and abnormal preset voltage change trend information are stored in a device outside the electronic device, after the electronic device determines the voltage change characteristic information of the parallel LEDs, it can obtain the preset voltage change trend information and abnormal preset voltage change trend information from other devices, and then match the voltage change characteristic information of the parallel LEDs with the voltage value change trend corresponding to each working state. If the match is successful, the working state is determined as the current working state of the LED.

[0147] In one optional embodiment, after the parallel LEDs are energized, continuously sampling the voltage of the parallel LEDs to obtain the voltage value change trend includes:

[0148] Within a preset time period after the parallel LEDs are powered on, the voltage of the parallel LEDs is continuously sampled at preset time intervals to obtain the voltage change trend. The preset time period ranges from 5s to 10s.

[0149] When it is necessary to detect the status of parallel LEDs in an electronic endoscope, the voltage of the parallel LEDs can be continuously sampled after they are powered on to obtain the voltage trend. Because the change in the forward voltage drop of the LED decreases with increasing temperature, the voltage of the parallel LEDs can be detected within a short period after they are powered on. For example, the LEDs can be powered on for a preset duration, and the voltage can be continuously sampled. The preset duration can be determined based on actual conditions, such as a range of 5s-10s. Continuous information sampling of the LED drive circuit can be performed at preset time intervals, which can be set according to actual conditions, for example, a preset time interval of 100ms.

[0150] In this way, the working status of the LED circuit can be determined in a short time after the LED circuit starts working, without the need for any testing instruments other than the product's own circuit.

[0151] This application also provides a parallel LED status detection circuit for an electronic endoscope, such as... Figure 4-1 As shown, it includes:

[0152] Microcontroller, regulated power supply, switch control sub-circuit, LED driver sub-circuit, parallel LEDs, sampling sub-circuit;

[0153] The aforementioned regulated power supply is connected to the aforementioned switch control sub-circuit, the aforementioned switch control sub-circuit is connected to the aforementioned LED driver sub-circuit, the aforementioned LED driver sub-circuit is connected to the aforementioned parallel LED and the aforementioned sampling sub-circuit respectively; the aforementioned switch control sub-circuit is connected to the aforementioned microcontroller, and the aforementioned sampling sub-circuit is connected to the aforementioned microcontroller.

[0154] The aforementioned LED driver sub-circuit is used to control the supplementary light intensity of the aforementioned parallel LEDs;

[0155] The aforementioned switch control sub-circuit is used to output control signals to control the aforementioned switch control sub-circuit and the aforementioned LED driver sub-circuit to realize the switching control of the aforementioned parallel LEDs;

[0156] The aforementioned sampling sub-circuit is used to collect sampling information from the output terminal of the aforementioned LED driver sub-circuit and send the sampling information to the aforementioned microcontroller; the aforementioned microcontroller is used to determine the operating state of the aforementioned parallel LEDs based on the aforementioned sampling information and according to any of the aforementioned methods.

[0157] like Figure 1 As shown, the electronic endoscope includes a supplementary LED that provides supplementary lighting for the camera unit, a camera unit that converts image light signals into electronic image signals, a housing for encapsulating the supplementary LED and the camera unit, an operating unit for handheld endoscope operation, an insertion tube, and a cable built into the insertion tube for transmitting electrical signals between the camera unit and the supplementary LED.

[0158] The microcontroller, regulated power supply, switch control sub-circuit, LED driver sub-circuit, and sampling sub-circuit can be arranged in the operating section of the electronic endoscope.

[0159] A regulated power supply is located in the operating section of the electronic endoscope to power the parallel LEDs located at the front end of the electronic endoscope. The LED driver sub-circuit is used to determine the supplementary light intensity of the parallel LEDs.

[0160] In other words, the microcontroller, regulated power supply, switching control subcircuit, LED driver subcircuit, and parallel LEDs are used to control and drive the parallel LEDs at the front end of the electronic endoscope. The sampling subcircuit is used to sample the LED driver subcircuit. This sampling subcircuit can be located within the operating section of the electronic endoscope. The LED driver subcircuit then sends the collected sampling information to the microcontroller, allowing the microcontroller to determine the operating status of the parallel LEDs based on the sampling information and according to any of the aforementioned parallel LED status detection methods for the electronic endoscope.

[0161] The switch control subcircuit is any switch circuit that responds to the control signal from the microcontroller to control the parallel LEDs at the front end of the electronic endoscope. It can be composed of components such as power switching transistors and resistors. The LED driver subcircuit determines the supplementary lighting intensity of the parallel LEDs and can be composed of resistors. The sampling subcircuit collects the status information of the LED driver subcircuit, such as voltage and current, and can be composed of sampling resistors.

[0162] In one alternative implementation, such as Figure 4-2As shown, the microcontroller may include a switch control module and an analog-to-digital converter (ADC) module. The switch control module and ADC module can serve as peripheral interfaces for the microcontroller. The switch control module outputs control signals to control the switch control subcircuit and the LED driver subcircuit to achieve switching control of the parallel LED circuit. The ADC module receives sampling information from the sampling subcircuit. Based on the sampling information, the microcontroller determines the operating state of the parallel LEDs according to any of the above-mentioned parallel LED state detection methods for electronic endoscopes. Figure 4-2 As shown, the parallel LEDs and the LED driver sub-circuit are connected by a cable. Figure 4-3 As shown, the direction of the arrow can represent the direction of signal transmission.

[0163] In one alternative implementation, such as Figure 5 As shown, the microcontroller includes a switch control module and an analog-to-digital converter module; the switch control sub-circuit includes:

[0164] First switch subunit, second resistor R2, third resistor R3, fourth resistor R4, second switch subunit;

[0165] The aforementioned LED driver sub-circuit includes a first resistor R1;

[0166] The above-mentioned parallel LEDs include:

[0167] First LED (LED1), Second LED (LED2);

[0168] The above sampling sub-circuit includes a fifth resistor R5 and a sixth resistor R6;

[0169] The first end of the fourth resistor R4 is connected to the switch control module, the second end of the fourth resistor R4 is connected to the control terminal of the second switch subunit, the first end of the second switch subunit is grounded, and the second end of the second switch subunit is connected to the first end of the second resistor R2 and the first end of the third resistor R3 respectively.

[0170] The second end of the second resistor R2 is connected to the regulated power supply Power and the first end of the first switch subunit, respectively.

[0171] The second end of the third resistor R3 is connected to the control terminal of the first switch subunit.

[0172] The second terminal of the first switch subunit is connected to the first terminal of the first resistor R1.

[0173] The second end of the first resistor R1 is connected to the first end of the fifth resistor R5, the anode of the first LED, and the anode of the second LED, respectively.

[0174] The cathodes of the first LED and the second LED are grounded.

[0175] The second terminal of the fifth resistor R5 is connected to the first terminal of the sixth resistor R6 and the analog-to-digital converter module, respectively.

[0176] The second terminal of the sixth resistor R6 is grounded.

[0177] The first switching subunit is a drive circuit switch, and the second switching subunit is a control circuit switch. After the switch control module outputs a control signal, the second switching subunit turns on based on the control signal and controls the first switching subunit to turn on, thereby forming a circuit between the regulated power supply and the parallel LEDs, allowing the regulated power supply to provide power to the parallel LEDs. The first and second switching subunits can be any power switching transistors. For example, the first switching subunit can be a MOSFET, and the second switching subunit can be a transistor. The first switching subunit can be an N-type MOSFET or a P-type MOSFET, and the second switching subunit can be an N-type transistor or a P-type transistor, depending on the specific situation.

[0178] The sampling sub-circuit includes a fifth resistor R5 and a sixth resistor R6. The voltage divider circuit composed of the fifth and sixth resistors serves as the voltage sampling circuit for the LED driver sub-circuit. It can send the signal collected by the sampling sub-circuit to the controller. Based on the resistance values ​​of the fifth and sixth resistors, the controller can determine the forward voltage drop of the parallel LEDs.

[0179] The first resistor R1 serves as the current-limiting resistor in the LED driver sub-circuit. Its resistance value determines the magnitude of the current passing through the parallel LED, which is the light intensity emitted by the LED.

[0180] Specifically, the sampling information can be voltage or current. In one example, the sampling information is voltage. After the microcontroller acquires the sampling information, that is, it acquires the voltage V1 at the second terminal of R5, where V1 is the forward voltage drop across R6. Based on V1 and the resistance values ​​of the fifth and sixth resistors, the voltage at the LED anode can be determined.

[0181] In one example, the sampling information is current. After the microcontroller obtains the sampling information, that is, the current I of R5 and R6, it can determine the voltage of the LED anode as I×(R5+R6) based on I and the resistance values ​​of the fifth and sixth resistors.

[0182] The operating state of the LED can then be determined based on the voltage at the LED anode.

[0183] In one alternative implementation, such as Figure 6 As shown, the second switching subunit is an N-type transistor Q2, and the first switching subunit is a P-type MOSFET Q1.

[0184] In this configuration, the gate of Q1 is connected to the second terminal of R3, the source of Q1 is connected to the regulated power supply, and the drain of Q1 is connected to R1.

[0185] The base of Q2 is connected to R4, the emitter of Q2 is grounded, and the collector of Q2 is connected to R2 and R3.

[0186] Thus, when the switch control module outputs a control signal, the secondary control signal is at a high level, and Q2 is turned on. After Q2 is turned on, a voltage difference is formed between the gate and source of Q1, and Q1 is turned on. In this way, the regulated power supply and the parallel LED form a circuit, and the LED can work based on the power provided by the regulated power supply.

[0187] Based on the above embodiments, the microcontroller of the electronic endoscope is used to determine the operating state of the parallel LEDs according to the parallel LED state detection method of the electronic endoscope. The microcontroller includes a database for storing the correspondence between pre-determined operating states and voltage change characteristic information, such as... Figure 7-1 As shown, the method for detecting the status of parallel LEDs in an electronic endoscope includes the following steps:

[0188] Initialization, detection startup, sampling statistics, data processing, and output results;

[0189] like Figure 7-2 As shown, the initialization process includes, but is not limited to, the initialization of the parallel LED status detection circuit of the electronic endoscope, the initialization of the database, and the initialization of the communication module. The initialization of the detection circuit includes, but is not limited to, the initialization of peripherals such as the regulated power supply, the switch control sub-circuit, the LED driver sub-circuit, and the sampling sub-circuit; the initialization of the database includes, but is not limited to, database selection, updating, and matching; and the initialization of the communication module includes, but is not limited to, the initialization of the microcontroller serial port peripheral and the establishment of communication connections.

[0190] like Figure 7-3 The detection startup process includes, but is not limited to, starting the analog-to-digital converter module (high-speed ADC sampling startup), starting the timer, and powering on the LED.

[0191] The sampling and statistics process includes, but is not limited to, voltage sampling and statistics and time statistics; the data sampling and statistics range is from t1 seconds before LED power supply to the completion of data calculation results matching the LED status database; the sampling time interval can be set to t2 milliseconds.

[0192] The data processing flow includes, but is not limited to, acquiring sampled data, data processing, database querying, and database updating.

[0193] Figure 7-4This is a schematic diagram of a process for detecting the status of parallel LEDs in an electronic endoscope. It involves acquiring sampled data and performing calculations and recording on voltage and time data, including but not limited to the relative value of voltage change and the rate of voltage change.

[0194] The data calculation results include, but are not limited to, multiple sets of voltage change characteristic information such as absolute voltage value, relative change value, and change rate.

[0195] The correspondence between the predetermined operating state and voltage change characteristics can be obtained by statistically analyzing experimental data from multiple sets of LEDs operating states in the laboratory and fitting the data based on the forward voltage drop-junction temperature characteristic curve of the LED.

[0196] In practical applications, LED status databases can record unknown states, allowing staff to update the voltage value change trends corresponding to each working state recorded in the database based on the actual LED status, thereby improving the database's reliability.

[0197] The final matching result is obtained by matching the data processing result with multiple sets of feature values ​​in the database. A successful match is achieved when multiple feature values ​​in the processing result match multiple feature values ​​in a specific set of features in the database. If no match is found, it indicates insufficient information from the data processing, and the process returns to the previous step.

[0198] Additionally, it can be used for communication transmission of output results, UI display, etc.

[0199] This application also provides an electronic device, such as... Figure 8 As shown, it includes:

[0200] Memory 801 is used to store computer programs;

[0201] When processor 802 executes a program stored in memory 801, it performs the following steps:

[0202] After the parallel LEDs are powered on, the voltage of the parallel LEDs is continuously sampled to obtain the trend of voltage change.

[0203] By comparing the changing trends of the above voltage values, the voltage change characteristic information of the above parallel LEDs is obtained;

[0204] Based on the voltage change characteristics of the parallel LEDs and the preset voltage change trend information, the abnormal working state of the parallel LEDs is detected. The preset voltage change trend information is used to represent the voltage change trend of the parallel LEDs after they are powered on under normal working conditions.

[0205] Furthermore, the aforementioned electronic device may also include a communication bus and / or a communication interface, with the processor 802, the communication interface, and the memory 801 communicating with each other via the communication bus.

[0206] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0207] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0208] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0209] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0210] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of the parallel LED status detection method for any of the above-described electronic endoscopes.

[0211] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the parallel LED status detection method of any of the electronic endoscopes in the above embodiments.

[0212] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a solid-state drive (SSD), etc.

[0213] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0214] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of electronic devices, computer-readable storage media, and computer program products containing instructions are basically similar to the method embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0215] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

Claims

1. A method for detecting the status of parallel LEDs in an electronic endoscope, characterized in that, The electronic endoscope includes multiple LEDs connected in parallel, and the method includes: After the parallel LEDs are powered on, the voltage of the parallel LEDs is continuously sampled to obtain the voltage change trend. This includes: acquiring the voltage value of the sampling sub-circuit at preset time intervals within a preset time period after the parallel LEDs are powered on; one end of the sampling sub-circuit is connected to the anode of the LED, and the other end is grounded; the voltage value of the parallel LEDs is used as the forward voltage drop of the parallel LEDs; the voltage change trend is obtained based on the forward voltage drops of multiple samples, wherein the preset time period ranges from 5s to 10s. By comparing the changing trends of the voltage values, voltage change characteristic information of the parallel LEDs is obtained. This voltage change characteristic information includes at least one of the relative voltage change value and the voltage change rate, and includes at least one of the following steps: For each positive voltage drop in the voltage value change trend, determine the difference between the positive voltage drop and the first positive voltage drop; for each difference, take the absolute value of the difference as the relative value of the voltage change; for each difference, calculate the time difference between the time corresponding to the difference and the first time, divide the difference by the time difference to obtain the voltage change rate corresponding to that time. Based on the voltage change characteristic information of the parallel LEDs and the preset voltage change trend information, the abnormal working state of the parallel LEDs is detected. The preset voltage change trend information is used to represent the voltage change trend of the parallel LEDs after they are powered on under normal working conditions.

2. The method according to claim 1, characterized in that, The method of detecting abnormal operating states of the parallel LEDs based on voltage change characteristic information and preset voltage change trend information includes: The voltage change characteristics of the parallel LEDs are matched with the voltage change trend of the parallel LEDs after they are powered on in normal working condition. If the match is successful, the parallel LEDs are working in normal working condition; if the match is unsuccessful, the parallel LEDs are working in abnormal working condition.

3. The method according to claim 2, characterized in that, After determining that the parallel LEDs are operating in an abnormal state, the method further includes: The voltage change characteristic information of the parallel LEDs is matched with the abnormal preset voltage change trend information, wherein the abnormal preset voltage change trend information is used to represent the voltage value change trend of the parallel LEDs after being powered on under various abnormal working states; wherein the abnormal working states include all LEDs being open, some LEDs working normally, some LEDs being open, and LEDs being short-circuited. If the voltage change characteristic information of the parallel LEDs is successfully matched with the voltage change trend after each LED is powered on with all LEDs open, then it is determined that each LED is open. If the voltage change characteristic information of the parallel LEDs matches the voltage change trend after power-on with some LEDs working normally and some LEDs open circuit, then it is determined that some LEDs are working normally and some LEDs are open circuit. If the voltage change characteristics of the parallel LEDs match the voltage change trend after power-on under LED short circuit conditions, then an LED short circuit is determined to exist.

4. The method according to claim 3, characterized in that, The normal working state indicates that all LEDs are working normally; the abnormal working state includes: all LEDs are open, some LEDs are working normally, some LEDs are open, and there is an LED short circuit. The method for determining the preset voltage change trend information is as follows: For each working state of the LED, after the parallel LED is powered on in that working state, the voltage of the parallel LED is continuously sampled to obtain the voltage value change trend; By comparing the changing trends of the voltage values, the voltage change characteristic information of the parallel LEDs is obtained, and the correspondence between the working state and the voltage change trends of the parallel LEDs is established to obtain preset voltage change trend information.

5. A parallel LED status detection circuit for an electronic endoscope, characterized in that, include: Microcontroller, regulated power supply, switch control sub-circuit, LED driver sub-circuit, parallel LEDs, sampling sub-circuit; The regulated power supply is connected to the switch control sub-circuit, the switch control sub-circuit is connected to the LED driver sub-circuit, and the LED driver sub-circuit is connected to the parallel LED and the sampling sub-circuit respectively; the switch control sub-circuit is connected to the microcontroller, and the sampling sub-circuit is connected to the microcontroller. The LED driver sub-circuit is used to control the supplementary light intensity of the parallel LEDs; The switch control sub-circuit is used to output control signals to control the switch control sub-circuit and the LED driver sub-circuit to achieve switching control of the parallel LEDs; The sampling sub-circuit is used to collect the sampling information at the output of the LED driver sub-circuit and send the sampling information to the microcontroller; The microcontroller is used to detect abnormal operating states of the parallel LEDs based on the sampled information, according to the method described in any one of claims 1-4.

6. The circuit according to claim 5, characterized in that, The microcontroller includes a switch control module and an analog-to-digital converter module; The switch control sub-circuit includes: First switch subunit, second resistor, third resistor, fourth resistor, second switch subunit; The LED driver sub-circuit includes a first resistor; The parallel LEDs include: First LED, second LED; The sampling sub-circuit includes a fifth resistor and a sixth resistor; The first end of the fourth resistor is connected to the switch control module, the second end of the fourth resistor is connected to the control terminal of the second switch subunit, the first end of the second switch subunit is grounded, and the second end of the second switch subunit is connected to the first end of the second resistor and the first end of the third resistor respectively. The second end of the second resistor is connected to the regulated power supply and the first end of the first switching subunit, respectively. The second end of the third resistor is connected to the control terminal of the first switch subunit; The second terminal of the first switch subunit is connected to the first terminal of the first resistor; The second end of the first resistor is connected to the first end of the fifth resistor, the anode of the first LED, and the anode of the second LED, respectively. The cathodes of the first LED and the second LED are grounded; The second end of the fifth resistor is connected to the first end of the sixth resistor and the analog-to-digital converter module, respectively. The second terminal of the sixth resistor is grounded.

7. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method of any one of claims 1-4.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-4.

9. An electronic endoscope, characterized in that, Includes the parallel LED status detection circuit of the electronic endoscope as described in claim 5 or 6.

Citation Information

Patent Citations

  • Inspection apparatus and method for LED package interface

    US20110133769A1