DETECTION OF WHEN A CAPSULE CAMERA ENTERS INTO OR GOES OUT OF A HUMAN BODY AND ASSOCIATED OPERATIONS
A method for detecting a capsule camera entering into or exiting the GI tract, includes (a) taking a first test image under the condition that an illumination system of the capsule camera is disabled; (b) taking a second test image under the same condition as the first test image; (c) comparing selected corresponding pixel values of the first test image and the second test image to determine if a significant change in pixel values has occurred; and (d) upon detecting the significant change in pixel values, determining if the capsule camera has entered or exited the GI tract, and performing operations appropriate to follow such determination.
Latest Patents:
The present application is a continuation application of U.S. patent application Ser. No. 13/372,101 filed on Feb. 13, 2012, which is related to and claims priority of U.S. divisional patent application Ser. No. 11/625,647, filed on Jan. 22, 2007, which are both hereby incorporated by reference in their entirety for all purposes as if fully set forth herein.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to swallowable capsule cameras. In particular, the present invention relates to methods the capsule camera to detect its own location.
2. Discussion of the Related Art
Devices for imaging body cavities or passages in vivo are known in the art and include endoscopes and autonomous encapsulated cameras. Endoscopes are flexible or rigid tubes that are passed into the body through an orifice or surgical opening, typically into the esophagus via the mouth or into the colon via the rectum. An image is taken at the distal end using a lens and transmitted optically to the proximal end located outside the body, either by a lens-relay system or by a coherent fiber-optic bundle. Alternatively, an instrument may record an image electronically at the distal end (e.g., using a CCD or CMOS array) and transfers the image data electrically to the proximal end through a cable. Endoscopes allow a physician control over the field of view and are well-accepted diagnostic tools. However, they have a number of limitations, present risks to the patient, and are invasive and uncomfortable for the patient. The cost of these procedures restricts their application as routine health-screening tools.
Because of the difficulty traversing a convoluted passage, endoscopes cannot reach the majority of the small intestines and special techniques and precautions—that increase cost—are required to reach the entirety of the colon. Endoscopic risks include the possible perforation of the bodily organs traversed and complications arising from anesthesia. Moreover, a trade-off must be made between patient pain during the procedure and the health risks and post-procedural down-time associated with anesthesia. Therefore, endoscopy is necessarily an in-patient service that involves a significant amount of time from clinicians and thus is a costly procedure.
An alternative in vivo image sensing technique is capsule endoscopy. In capsule endoscopy, a camera is housed in a swallowable capsule, along with a radio transmitter for transmitting data (which consists primarily of images recorded by the camera) to a base-station receiver or transceiver in a data recorder located outside the body. The capsule may also include a radio receiver for receiving instructions or other data from a base-station transmitter. Instead transmitting in a radio frequency, lower frequency electromagnetic signals may be used. Power may be supplied inductively from an external inductor to an internal inductor within the capsule or from a battery within the capsule.
An early example of a camera in a swallowable capsule is described in the U.S. Pat. No. 5,604,531, issued to the Ministry of Defense, State of Israel. A number of patents assigned to Given Imaging describe more details of such a system, using a transmitter to send the camera images to an external receiver. Examples are disclosed in U.S. Pat. Nos. 6,709,387 and 6,428,469. There are also a number of patents to the Olympus Corporation describing a similar technology. For example, U.S. Pat. No. 4,278,077 shows a capsule with a camera for the stomach, which includes film in the camera. U.S. Pat. No. 6,939,292 shows a capsule with a buffering memory, a timer, and a transmitter. U.S. Pat. No. 6,800,060 describes a swallow-able capsule camera that may be retrieved after passing from the body; that capsule camera uses an expensive and rare ultra-high-density atomic-resolution storage (ARS) medium to store images taken.
Introducing the capsule camera into a patient's body begins with removing the capsule from a package having a reed switch. While inside the package, a magnet keeps the reed switch in the capsule in the “off” position. In the “off” position, the capsule camera draws no power. Once removed from the package, the capsule is switched on, as the magnetic force is no longer holding back the metal spring that keeps the reed switch in the “off” position. The patient then swallows the capsule. In the prior art, another approach to activate the capsule camera includes providing a conductive liquid inside the capsule. By shaking the capsule strongly enough in the right direction, the conductive liquid causes contact be made an end of a pipe or chamber, which connects the system to a power source, so as to begin operation.
It is generally not necessary to take pictures when the capsule camera is outside the human body. Storing or transmitting pictures taken outside the body wastes power and takes up valuable space for archiving images. There are a few operations that a capsule camera may carry out prior to entering into the human body. For example, the capsule camera may perform a self-diagnostic to ensure that the system is fully functional. In addition, a reusable capsule camera may also communicate the number of times the capsule camera has been used inside a human body, so as to avoid introducing a capsule camera beyond the number of times it is designed to be used for. Alternatively, the capsule camera may be disposable (i.e., used only once).
From the mouth, the capsule camera enters the esophagus, then the stomach, the small intestines and the large intestines, in that order, before exiting the body. After it exits the body, no more images need to be taken. To image the large intestines, motility-enhancing drugs are typically used, so that the capsule camera may be able to traverse the entire GI tract within a reasonable amount of time, and particularly before the power needed for its operations is exhausted. In other words, it is desired that some power remains at the time the capsule camera exit the body. To cover the expected variations within the human population, the capsule camera must be provided power to allow a complete imaging for a very high percentage of people. Therefore, for most people, many images are taken by the capsule camera even after the capsule exits the body.
The storage requirement for the images is one problem current capsule endoscopy must overcome. The large size of a file created from the images taken from a human person is prohibitive for transmission over the internet, and makes archiving and later retrieval difficult and costly. Another problem is cost. To have a technician review and edit out images in the file that are taken outside of the human body is costly. Further, a patient should be able to use the capsule camera at his/her home without privacy concerns, images taken outside the body should not be stored or transmitted.
Also, for a capsule camera in which on-board storage is provided for storing images, rather than transmitted by wireless, the capsule camera must be retrieved after it exits the body. A mechanism that facilitates retrieval after the capsule exits the body is desirable.
In light of the above, an automatic method for detecting when the capsule enters into and exits the body is desired, together with the ability for the capsule camera to distinguish its various modes of operations are desired.
SUMMARYAccording to one embodiment of the present invention, a method for detecting a capsule camera entering into or exiting the GI tract, includes (a) taking a first test image under the condition that an illumination system of the capsule camera is disabled; (b) taking a second test image under the same condition as the first test image; (c) comparing selected corresponding pixel values of the first test image and the second test image to determine if a significant change in pixel values has occurred; and (d) upon detecting the significant change in pixel values, determining if the capsule camera has entered or exited the GI tract, and performing operations appropriate to follow such determination. It is possible to detect entering or exiting the patient's body using a single exposure rather than two because, if the LED's are off, the pixel intensities detected by the camera inside the body are very low. A threshold can be set, for example, above which the capsule camera is deemed detected to be outside the patient's body. Similarly, a threshold can be set below which the capsule camera is deemed detected to be inside the patient's body.
The appropriate operations performed after detecting the capsule camera's exit from the GI tract includes stopping further taking or storing of images and, optionally, activating an audio signal to indicate the capsule camera has exited the GI tract. The appropriate operations performed after detecting the capsule camera's entering into the GI tract may includes entering into an imaging mode for a next section of the GI tract, which may be the esophagus.
According to one embodiment, the test image is exposed on an image sensor array. In some implementations, only a selected portion of the image sensor array is used in the comparing with the threshold. In addition, a power-on self-test may be performed after the capsule camera is readied for use, the self-test providing a visual report indicating its integrity. The visual report may include a lighting pattern generated by the illumination system of the capsule camera.
According to one embodiment of the present invention, the comparing step for determining the next stage of the capsule camera's travel is first taken after a predetermined elapsed time from detecting the capsule camera entering into the GI tract, or from detecting the capsule camera is powered on. The elapsed time may be empirically determined from statistics collected from a population of subjects whose GI tracts are imaged.
According to one embodiment of the present invention, the method may further include determining if a significant change in the capsule camera's operating environment has occurred, as measured by a secondary sensor, which may be a thermometer. The significant change may be detected by comparing a temperature measured by the thermometer against a predetermined range. The capsule camera may be calibrated under test conditions to determine the predetermined range. The calibration reduces or eliminates a difference in temperature between the capsule camera and the GI tract by compensating for the capsule camera's operations. The calibration results are recorded in a storage device in the capsule camera for subsequent retrieval for detection operations. In another embodiment, the significant change is determined by comparing two or more temperature measurements taken at different times.
According to one embodiment of the present invention, the thermometer may include a first set of one or more devices connected in series with a second set of one or more devices, wherein the first set of devices have a different temperature dependence than the second set of devices. The first set of devices may be one or more short channel transistors, and the second set of devices may be one or more long channel devices. Alternatively, the first set of devices are each biased to operate within a linear region, and the second set of devices are biased to operate in a saturation region. A digital-to-analog converter may be provided to sense a voltage at an electrical node between the first set of devices and the second set of devices. In one embodiment, the first and the second set of devices operate with a strong inversion layer.
Alternatively, the thermometer may operate by measuring a leakage current across a PN junction. To measure the leakage current, the PN junction is precharged by applying a reverse bias voltage across the PN junction. The leakage current loss is measured by a voltage of the PN junction after a predetermined time period.
According to another aspect of the present invention, a capsule camera includes (a) an illumination system providing light to illuminate a field of view of the capsule camera; (b) a sensor array for taking an image by capturing the light from the illumination system reflected from objects in the field of view; (c) an image processing unit processing the images from the sensor array for subsequent review; and (d) a clock generation module providing one or more clock signals to operate the image processing unit; and (e) a control unit controlling a frequency of operation of the clock signals in response to a control signal derived from an output signal of a sensor. The output signal may be provided from the sensor array under a test condition, or from a secondary sensor, such as a thermometer. In one embodiment, the capsule camera further includes an enabling logic circuit for providing one or more enable signals for enabling and disabling DC paths in one or more of the illuminating system, the sensor array, and the image processing unit.
The present invention is better understood upon consideration of the detailed description below in conjunction with the drawings.
To facilitate cross-referencing among the figures, like elements in the figures are assigned like reference numerals.
DETAILED DESCRIPTION OF THE INVENTIONFrom the design point of view, a different set of device parameter values may be required for imaging each stage of GI tract. For example, (1) a capsule camera need not take images before being swallowed, (2) while a capsule camera storing images in an on-board storage device need not take images after it is expelled from the human body, it is required to be retrieved, so that a mechanism to facilitate retrieval (e.g., a audio beacon that indicates its position) is desirable; or (3) as the capsule camera moves faster in the esophagus than in another area of the GI tract, a much faster frame rate over a shorter duration is appropriate for the esophagus stage relative to another stage. Furthermore, a capsule camera may be provided an expandable balloon which, upon entering the large intestines, expands to stabilize the capsule. For such a system, the balloon expansion should occur only after the capsule camera is detected to have entered the large intestines. Severe adverse effects may result if the balloon is expanded in the small intestines. It is evident from these examples that a method for detecting the capsule camera's transitioning between stages allows both effective and efficient control of the capsule camera in each stage of the GI tract. Optimizing capsule camera operations is a significant objective from a total medical system solution implementation point of view.
Under the method of
Because the temperature in the esophagus is within a well-known range (i.e., 36° C. to 43° C.), a temperature sensor (e.g., a temperature sensor in secondary sensor 206 of
Even though step 701 of
As described, the values Temp1 and Temp2 of
Alternatively, measurements may be made between operations to minimize the temperature difference between the capsule and its environment. In one embodiment, the values of Temp1 and Tempt take into account operational parameters and the elapsed time since the operations are carried out. Of course, a lesser weight is provided to operational conditions which have taken place a greater elapsed time ago.
In one embodiment, temperatures are compared in the analog domain using an analog comparator. In one embodiment, regardless of whether the thermometer is junction-based or transistor-based (see discussion relating to
To measure temperature, a thermometer takes advantage of a temperature-dependent material property or physical phenomena. The stronger the temperature-dependence, the more sensitive—and in general, the better—is the resulting thermometer. For example, a cubic or an exponential dependence allows a more sensitive instrument to be built than a linear dependence. Conversely, a square root or a logarithmic dependence results in a less sensitive instrument relative to a linear dependence. In that regard, the thermal leakage current of a semiconductor PN junction has a temperature dependence that is approximately proportional to
where k is Boltzmann's constant, T is the absolute temperature, and n is a value between 1 and 2. At room temperature (i.e., 25° C.), kT is about 0.026. Thus, over the typical operating temperature range specified for a commercial semiconductor product, the PN junction leakage current varies over approximately three orders of magnitude. Thus, the leakage current of a PN junction exhibits strong temperature dependence. Accordingly, temperature may be measured from a loss of voltage at a pre-charged PN junction after a predetermined elapsed time. Some thermometers that are based on measuring a leakage current of a PN junction are shown in
As long as a P region is enclosed by an N region (e.g., a P+ region provided inside an N region), which is further enclosed by another P region, a junction that can be used as a thermometer may be formed.
The thermometers of
In one embodiment, the pre-charge duration is provided at the beginning of a frame and the “Readout” duration is provided the end of the frame. In another embodiment, the pre-charge duration is provided at the beginning of a frame and the “Readout” duration is provided at the end of the frame, which may be N frames from the beginning of the pre-charge duration. A register or a parameter may be used to control the number of elapsed frames or elapsed time between the pre-charge and “Readout” operations. In one embodiment, ADC 805 is kept on all the time, while the “Readout” signal samples or latches the digital output.
In a long-channel transistor, the temperature-dependence of the saturation current is approximately proportional to the square of the inverse of the temperature (i.e., T2). In a short-channel transistor, however, the predominant physical mechanism for current saturation is carrier velocity saturation, which has a temperature-dependence that is approximately proportional to the inverse of the temperature (i.e., T1). The resulting saturation current temperature-dependence is therefore approximately proportional to Td, where d is a number between 1 and 2, and close to 1.5.
As seen in
Alternatively, the sum of the channel lengths of all the PMOS device may be selected to be much less than the sum of all the channel lengths of the NMOS devices (i.e., Lp1+ . . . +LpN<<Ln1+ . . . +LnM). In that case, the temperature dependence of the serially connected N-channel transistors is more pronounced than the temperature dependence of the serially connected P-channel transistors, so that the input voltage to ADC 805 rises with temperature.
The thermometers of
In
One variation from the semiconductor transistor thermometer 900 of
Referring back to
Normally, DC paths are disabled by deasserting enable signals in a module or for the entire integrated circuit. Alternatively, a chip select pin, CS or #CS, may be used.
For at least three reasons, the capsule camera must stop taking or storing images (step 1304) once the pixel values in an image for detecting exit exceed some predetermined threshold, indicating the capsule camera's exit from the body. First, image data collected up to this point may need to be transferred over the internet or be stored in a medium. As the battery (e.g., battery 24 of
In
Because the GI tract inner wall radiates long-wavelength radiation in the red portion of the visible spectrum, one or more light detection operations or one or more temperature measurements, such as those used in the methods discussed above, may be made when a fall in radiation of those red portion of the visible spectrum is detected, relative to radiation from other portions of the spectrum. This test is probably more effective for detecting the capsule camera exiting the human body than entering.
The above detailed description is provided to illustrate the specific embodiments of the present invention and is not intended to be limiting. Numerous variations and modifications within the scope of the present invention are possible. The present invention is set forth in the following claims:
Claims
1. A method for detecting a capsule camera entering into or exiting the GI tract, comprising:
- operating the capsule camera to take a plurality of images along the GI tract;
- using a sensing circuit in the capsule camera that is sensitive to an environmental difference between the GI tract and an environment outside of a human body, determining whether or not the capsule camera has exited the GI tract; and
- upon determining that the capsule camera has exited the GI tract, deleting a predetermined number of the images taken immediately preceding the determination.
2. The method of claim 1, wherein the sensing circuit comprises an image sensor array for capturing the images, wherein the image sensor array (i) takes a test image under a condition that an illumination system of the capsule camera is disabled, (ii) determining whether or not a function computed based on selected pixel values of the test image exceeds a predetermine threshold.
3. The method of claim 2 wherein the predetermined threshold is determined using a previously obtained test image.
4. The method of claim 2, wherein the selected pixel values correspond to data in a subset of the image sensor array.
5. The method of claim 2, wherein the function computed is based on selected pixel values relates to a red component in the test image.
6. The method of claim 1, wherein the sensing circuit comprises a semiconductor thermometer.
7. The method of claim 1, wherein the environmental difference is detected by comparing a temperature measured by the semiconductor thermometer against a predetermined range.
8. The method of claim 7 further comprising calibrating the capsule camera under test conditions to determine the predetermined range.
9. The method of claim 8, wherein results of the calibrating step are recorded in a storage device in the capsule camera for subsequent retrieval.
10. The method of claim 8, wherein a separate predetermined range is determined for each test condition.
11. The method of claim 7, where the predetermined range is stored in a storage device in the capsule camera.
12. The method of claim 6, wherein the environmental difference is detected by comparing temperature measurements taken at different times.
13. The method of claim 6, wherein the semiconductor thermometer detects a temperature change based on a leakage current in a PN junction.
14. The method of claim 13, further comprising pre-charging the PN junction by applying a reverse bias voltage across the PN junction, and measuring a voltage of the PN junction after a predetermined time period.
15. The method of claim 14, further comprising providing an analog-to-digital converter to provide a read-out of the voltage.
16. The method of claim 15, wherein the predetermined period is set by the sampling time of the voltage at the analog-to-digital converter.
17. The method of claim 6, wherein the semiconductor thermometer detects a change in temperature based on a temperature-dependence in a channel current of an MOS transistor.
18. The method of claim 6, wherein the semiconductor thermometer detects a change in temperature based on a difference in temperature-dependence among a plurality of MOS transistors.
19. The method of claim 18, wherein the difference in temperature-dependence arises from a difference in channel length among the MOS transistors.
20. The method of claim 18, wherein the MOS transistors comprise a first set of one or more devices connected in series with a second set of one or more devices, wherein each set of devices has a common temperature-dependence, but the temperature-dependence of the first of devices is different than the temperature-dependence of the second set of devices.
21. The method of claim 20, wherein the first set of devices comprises one or more short channel transistors, and wherein the second set of devices comprises one or more long channel devices.
22. The method of claim 20, wherein the first set of devices are each biased to operate within a linear region, and wherein the second set of devices are biased to operate in a saturation region.
23. The method of claim 22, further comprising a digital-to-analog converter sensing a voltage at an electrical node between the first set of devices and the second set of devices.
24. The method as in claim 20, wherein the first and second sets of devices operate with a strong inversion layer.
25. The method of claim 1 further comprising activating an audio signal to indicate the capsule camera has exited the GI tract.
26. The method of claim 1, wherein the capsule camera stores the images in an on-board archival memory.
27. The method of claim 1, wherein the capsule camera transmits the images by wireless as the images are taken, and as the capsule camera travels along the GI tract.
28. The method of claim 1, further comprising recording each time the function exceeds the predetermined threshold in a history record of an on-board storage device, and examining the history record in a power-on self-test.
29. The method of claim 28, wherein the power-on self-test comprises a self-diagnosing function.
30. The method of claim 1, further comprising enabling a lighting pattern using an illumination system in the capsule camera upon the determination that the capsule camera has exited the GI tract.
31. An integrated circuit, comprising:
- a semiconductor thermometer; and
- a control circuit which detects an environmental difference during operation of the integrated circuit using the semiconductor thermometer.
32. The integrated circuit of claim 31, wherein the control circuit detects the environmental difference by comparing a temperature measured by the semiconductor thermometer against a predetermined range.
33. The integrated circuit of claim 31, wherein the control circuit calibrates the semiconductor thermometer under test conditions.
34. The integrated circuit of claim 33, further comprising a storage device in which calibration results under the test conditions are recorded.
35. The integrated circuit of claim 34, wherein a separate predetermined range is recorded for each test condition.
36. The integrated circuit of claim 31, wherein the control circuit detects the environmental difference by comparing temperature measurements taken at different times.
37. The integrated circuit of claim 31, wherein the semiconductor thermometer detects a temperature change based on a leakage current in a PN junction.
38. The integrated circuit of claim 37, further comprising a pre-charging circuit that applies a reverse bias voltage across the PN junction, wherein the control circuit measures a voltage of the PN junction after a predetermined time period of the reverse bias voltage being applied.
39. The integrated circuit of claim 38, further comprising an analog-to-digital converter which provides the control circuit a read-out of the voltage being measured.
40. The integrated circuit of claim 39, wherein the predetermined period is set by the sampling time of the voltage at the analog-to-digital converter.
41. The integrated circuit of claim 31, wherein the semiconductor thermometer detects a change in temperature based on a temperature-dependence in a channel current of an MOS transistor.
42. The integrated circuit of claim 31, wherein the semiconductor thermometer detects a change in temperature based on a difference in temperature-dependence among a plurality of MOS transistors.
43. The integrated circuit of claim 42, wherein the difference in temperature-dependence arise from a difference in channel length among the MOS transistors.
44. The integrated circuit of claim 42, wherein the MOS transistors comprise a first set of one or more devices connected in series with a second set of one or more devices, wherein each set of devices has a common temperature-dependence, but the temperature-dependence of the first of devices is different than the temperature-dependence of the second set of devices.
45. The integrated circuit of claim 44, wherein the first set of devices comprise one or more short channel transistors, and wherein the second set of devices comprise one or more long channel devices.
46. The integrated circuit of claim 44, wherein the first set of devices are each biased to operate within a linear region, and wherein the second set of devices are biased to operate in a saturation region.
47. The integrated circuit of claim 46, further comprising a digital-to-analog converter which receives a voltage at an electrical node between the first set of devices and the second set of devices.
48. The integrated circuit of claim 44, wherein the first and second sets of devices operate with a strong inversion layer.
49. The integrated circuit of claim 31, further comprising an array of non-volatile memory cells.
50. The integrated circuit of claim 31, wherein the control circuit performs a power-on self-test.
51. The integrated circuit of claim 50, wherein the power-on self-test comprises a self-diagnosing function.
Type: Application
Filed: Apr 7, 2015
Publication Date: Jul 30, 2015
Applicant:
Inventor: Kang-Huai Wang (Saratoga, CA)
Application Number: 14/680,925