WO2023221283A1 - Inertial measurement-integrated magnetic control system - Google Patents

Inertial measurement-integrated magnetic control system Download PDF

Info

Publication number
WO2023221283A1
WO2023221283A1 PCT/CN2022/106295 CN2022106295W WO2023221283A1 WO 2023221283 A1 WO2023221283 A1 WO 2023221283A1 CN 2022106295 W CN2022106295 W CN 2022106295W WO 2023221283 A1 WO2023221283 A1 WO 2023221283A1
Authority
WO
WIPO (PCT)
Prior art keywords
induction
coil
electromagnetic
signal
inertial
Prior art date
Application number
PCT/CN2022/106295
Other languages
French (fr)
Chinese (zh)
Inventor
刘浏
邬烈辉
Original Assignee
深圳硅基智控科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳硅基智控科技有限公司 filed Critical 深圳硅基智控科技有限公司
Publication of WO2023221283A1 publication Critical patent/WO2023221283A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/04Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor combined with photographic or television appliances
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/06Devices, other than using radiation, for detecting or locating foreign bodies ; determining position of probes within or on the body of the patient

Definitions

  • the present disclosure generally relates to a medical device, and specifically to a magnetic control system incorporating inertial measurements.
  • lesions in the digestive cavity can be inspected by introducing a capsule endoscope, which can collect images in the stomach, such as Images of polyps in the stomach wall to help doctors diagnose patients.
  • capsule endoscopes usually have built-in magnets and can be affected by magnetic force. Operators such as doctors and nurses can magnetically guide the capsule endoscope located in the digestive cavity by operating an external magnetic control device so that the capsule The endoscope moves to a predetermined position in the digestive cavity to collect images. In order to guide the capsule endoscope more accurately, it is usually necessary to position the capsule endoscope. In the prior art, the capsule endoscope is usually positioned by magnetically detecting an external electromagnetic device through a magnetic sensor built into the capsule endoscope.
  • the present disclosure is proposed in view of the above-mentioned status of the prior art, and its purpose is to provide a magnetic control system that integrates inertial measurement and can improve positioning accuracy.
  • the present disclosure provides a magnetic control system that integrates inertial measurement, which includes an instrument, an electromagnetic device, and a processing device.
  • the instrument includes an inertial sensor and an induction coil that generates an induction signal based on a changing magnetic field.
  • the electromagnetic device includes An electromagnetic coil that generates a changing magnetic field based on a changing current.
  • the induction coil receives the changing magnetic field generated by the electromagnetic coil and generates an induction signal.
  • the processing device fuses the inertial signal measured by the inertial sensor and the induction signal.
  • the induction signal generated by the coil is used to obtain the motion state of the instrument and the relative coordinates of the instrument and the electromagnetic device.
  • the inertial signal of the instrument is measured through the inertial sensor and the magnetic field generated by the electromagnetic coil is measured through the induction coil, and the inertial signal and the induction signal are fused, thereby improving the resolution of the inertial signal and/or induction.
  • the accuracy of the signal can improve the positioning accuracy of the instrument.
  • the motion state includes the acceleration of the instrument and the attitude angle of the instrument
  • the induction signal is a voltage signal or a current signal.
  • the processing device optimizes the motion state based on the induction signal and the error state Kalman filter algorithm; or, the processing device optimizes the motion state based on the The inertial signal and error state Kalman filter algorithm optimize the relative coordinates.
  • the accuracy of solving the inertial signal and/or the induction signal can be improved.
  • the orientation of the inertial sensor is the same as or orthogonal to the orientation of the induction coil.
  • the inertial signal and the induction signal can be easily fused.
  • the inertial signal and the induction signal have matching time information.
  • the inertial signal and the induction signal can be easily fused.
  • the inertial sensor includes an accelerometer and a gyroscope.
  • the acceleration information and posture information of the instrument can be obtained.
  • the positional relationship between the induction coil and the electromagnetic coil satisfies:
  • ⁇ 0 represents the vacuum magnetic permeability
  • N 1 represents the number of turns of the electromagnetic coil
  • S 1 represents the coil area of the electromagnetic coil
  • I represents the amplitude of the current of the electromagnetic coil
  • f represents the alternating frequency of the current of the electromagnetic coil
  • E represents the induction signal generated by the induction coil
  • N 2 represents the The number of turns of the induction coil
  • S 2 represents the coil area of the induction coil
  • Indicates the orientation of the induction coil Indicates the relative coordinates of the induction coil compared to the electromagnetic coil.
  • the number of the electromagnetic coils is multiple.
  • multiple induction signals are generated by multiple electromagnetic coils and the relative positions of the instrument and the electromagnetic device are obtained based on the multiple induction signals, which can help further improve the magnetic positioning accuracy.
  • the instrument further includes a built-in magnet arranged in the accommodation space
  • the electromagnetic device further includes a spherical operating magnet
  • the operating magnet is The built-in magnet exerts a magnetic effect to cause displacement of the instrument. This facilitates magnetic guidance of the instrument.
  • the operating magnet includes a permanent magnet and an electromagnet based on changing current.
  • the accuracy of positioning the instrument can be improved.
  • FIG. 1 is a schematic diagram showing a scene of a magnetic control system according to an example of this embodiment.
  • FIG. 2A is a schematic diagram showing the instrument according to this embodiment example
  • FIG. 2B is a schematic structural diagram showing the image acquisition device and the induction coil of the instrument according to this embodiment example.
  • FIG. 3A is a schematic diagram showing an electromagnetic device involved in this embodiment example
  • FIG. 3B is an arrangement example showing an electromagnetic coil involved in this embodiment example.
  • FIG. 4 is a schematic diagram showing coordinate system conversion according to the example of this embodiment.
  • FIG. 5 shows the magnetic positioning method according to this embodiment.
  • FIG. 6 illustrates a method for optimizing positioning results by combining inertial sensors according to this embodiment.
  • the magnetic control system involved in this embodiment may be a medical magnetic control system that places an instrument in a tissue cavity to inspect and/or treat the tissue cavity.
  • the magnetic control system involved in this embodiment may also be a system that places instruments in a certain space to collect information in the space.
  • the medical magnetic control system involved in this embodiment may refer to a gastric examination/treatment system, intestinal examination/treatment system, etc., for example, a capsule-type instrument is placed in the digestive cavity such as the stomach, intestine, etc., to collect images through image acquisition, electrolysis, etc.
  • Pathological information can be obtained in the digestive cavity through chemical reactions or other methods, or lesions can be treated in the digestive cavity through vibration, electrical stimulation, drug release, etc.
  • the instrument needs to be guided to adjust its position within the digestive cavity.
  • the magnet control system according to this embodiment will be described in detail below, taking a capsule endoscope system that collects images to inspect tissue cavities as an example.
  • the “capsule endoscope” referred to herein is a specific example of the device according to this embodiment, and is not limiting.
  • the medical device involved in this embodiment can also be, for example, a vibration capsule, an electrical stimulation capsule, an electrochemical capsule, a drug release capsule, etc., which can be placed in a tissue cavity for examination and/or treatment. equipment.
  • FIG. 1 is a schematic diagram showing a magnet control system (hereinafter referred to as a “capsule endoscope system”) 1 according to an example of this embodiment.
  • the capsule endoscope system 1 may include an instrument (hereinafter, referred to as a “capsule endoscope”) 10 and an electromagnetic device 20 .
  • the capsule endoscope 10 can be placed in the tissue cavity of the subject (see FIG. 1 ), and the electromagnetic device 20 can guide the capsule endoscope 10 to move in the tissue cavity by, for example, applying magnetic effects to the instrument.
  • the tissue cavity introduced by the capsule endoscope 10 may be a digestive cavity, such as the gastric cavity, esophagus, large intestine, colon, small intestine, etc.
  • the tissue cavity introduced by the capsule endoscope 10 may also be a non-digestive cavity, such as the abdominal cavity, chest cavity, etc.
  • the capsule endoscope 10 can be introduced into the digestive cavity by taking it.
  • the capsule endoscope 10 can be introduced into the non-digestive cavity through a minimally invasive opening prescribed by clinical surgery.
  • the capsule endoscope 10 will be described in detail, taking the gastric cavity as an example.
  • FIG. 2A is a schematic diagram showing a scene of the capsule endoscope 10 according to the example of this embodiment.
  • This embodiment provides a capsule endoscope 10 that can be made into a capsule shape (see FIG. 2A ) so as to be easily introduced into a digestive cavity such as the gastric cavity.
  • the gastric cavity can be inspected and/or treated through the imaging device of the capsule endoscope 10, and after the inspection and/or treatment is completed, the capsule endoscope 10 can be expelled from the body.
  • the capsule endoscope 10 may include a capsule-shaped housing 100 (see FIG. 2A ).
  • the housing 100 may include a cylindrical main housing 100a and two dome-shaped end housings (a first end housing 100b and a second end housing) respectively provided at both axial ends of the main housing 100a. body 100c) to form a receiving space for arranging devices.
  • the apexes of the two end housings may pass through the central axis of the main housing 100a.
  • the openings at both axial ends of the main housing 100a may be sealed by the first end housing 100b and the second end housing 100c respectively, thereby maintaining the liquid-tight state of the accommodation space.
  • the main housing 100a and the first end housing 100b or the second end housing 100c may be integrally formed. This can improve liquid tightness and simplify the assembly process.
  • the first end housing 100b and/or the second end housing 100c may be a transparent housing, and may transmit light of a specified wavelength (eg, visible light).
  • the main housing 100a may be a generally opaque housing for reasons such as reducing stray light.
  • the main housing 100a, the first end housing 100b and the second end housing 100c in FIG. 2A are examples and are not limited thereto.
  • the length, diameter, wall thickness of the main housing 100a, the arc radius, wall thickness and other absolute values of the first end housing 100b and the second end housing 100c and their relative values can be adjusted according to actual needs.
  • This article does not list the various designs.
  • the wall thickness of the first end housing 100b may be equal to the wall thickness of the second end housing 100c, and the wall thickness of the first end housing 100b may also be greater than that of the second end housing 100c. Wall thickness.
  • the capsule endoscope 10 may include an image acquisition device 11 disposed within a receiving space (see Figure 2A).
  • the image capturing device 11 may be arranged at one end of the transparent housing and the lens assembly of the image capturing device 11 may face the transparent housing. In this case, the image capturing device 11 can collect the light incident through the transparent housing, thereby performing image capturing.
  • the optical axis of image capture device 11 may be parallel to the central axis of housing 100 .
  • the optical axis of image capture device 11 and the central axis of housing 100 may be collinear.
  • AA′ shows the central axis of the housing 100 .
  • the image acquisition device 11 may be arranged in the accommodation space in such a manner that the optical axis is parallel to AA′ (further, the optical axis may be collinear with AA′).
  • the orientation of the capsule endoscope 10 is consistent with the orientation of the image capture device 11 , so that the orientation of the image capture device 11 can be easily adjusted by adjusting the orientation of the capsule endoscope 10 .
  • the transparent area of the transparent housing is fully utilized, the viewing angle of the image capturing device 11 can be further reduced.
  • the capsule endoscope 10 may further include a built-in magnet 12 disposed within the receiving space (see FIG. 2A ).
  • the capsule endoscope 10 can be magnetically guided to adjust the position of the capsule endoscope 10 in the gastric cavity, For example, the capsule endoscope 10 is moved to an area of interest (eg, a lesion area) to collect images.
  • an area of interest eg, a lesion area
  • built-in magnet 12 may be a permanent magnet.
  • the built-in magnet 12 may be in a cylindrical shape, such as a cylindrical shape.
  • the built-in magnet 12 may be in the shape of a cylinder with an aspect ratio no greater than 1, that is, a disk shape. That is to say, the length of the cylindrical built-in magnet 12 may not be greater than the diameter of the built-in magnet 12 .
  • the built-in magnet 12 may also be in the shape of a hollow cylinder.
  • the central axis of built-in magnet 12 may be collinear with the central axis of housing 100 .
  • the built-in magnets 12 may be arranged with the central axis along AA'.
  • the central axis of the built-in magnet 12 is consistent with the central axis of the housing 100 and the optical axis of the image capturing device 11 is consistent with the central axis of the housing 100.
  • the orientation of the image capturing device 11 can be adjusted by adjusting the posture of the built-in magnet 12. Make adjustments, such as adjusting the deflection angle of the built-in magnet.
  • the capsule endoscope 10 may also include an induction coil 13 (see Figure 2A).
  • the induction coil 13 can generate an induction signal based on a changing magnetic field, and the induction signal can be an electrical signal such as a current signal, a voltage signal, or the like.
  • the electromagnetic device 20 applies a changing magnetic field to the induction coil 13 and obtains an induction signal generated by the induction coil 13 based on the changing magnetic field.
  • the position information of the induction coil 13 can be obtained using electromagnetic characteristics ( Described in detail later).
  • the sensed signal may be a digital signal or an analog signal.
  • induction coil 13 and built-in magnet 12 may remain relatively stationary. That is to say, the built-in magnet 12 does not apply a changing magnetic field to the induction coil 13 .
  • the capsule endoscope 10 When magnetically positioning the capsule endoscope 10 , it may be affected by various environmental magnetic fields, such as the geomagnetic field. These environmental magnetic fields are usually substantially static magnetic fields. In this case, by using the induction coil 13 to sense the dynamic magnetic field and generate an induction signal, the influence of the environmental magnetic field on the magnetic positioning can be effectively reduced.
  • the central axis of induction coil 13 may be parallel to the central axis of housing 100 . In some examples, the central axis of induction coil 13 may be collinear with the central axis of housing 100 . Referring to FIG. 2A , the induction coil 13 may be arranged in the accommodation space in such a manner that the central axis is parallel to AA′ (further, the induction coil 13 may be arranged in such a manner that the central axis is collinear with AA′). In this case, the orientation of the capsule endoscope 10 can be easily acquired by acquiring the axial direction of the induction coil 13 .
  • the coil area of the induction coil 13 may be 20mm 2 to 80mm 2 , for example, 20mm 2 , 25mm 2 , 30mm 2 , 35mm 2 , 40mm 2 , 45mm 2 , 50mm 2 , 55mm 2 , 60mm 2 , 65mm 2 , 70mm 2 , 75mm 2 , or 80mm 2 .
  • the coil area of the induction coil 13 may be 40 mm 2 to 60 mm 2 .
  • the number of turns of the induction coil 13 may be 50 to 500, such as 50, 100, 150, 200, 250, 300, 350, 400, 450, or 500.
  • the number of turns of the induction coil 13 may be 100 to 300.
  • the wire diameter of the induction coil 13 may be 0.03mm to 0.3mm, for example, 0.03mm, 0.04mm, 0.05mm, 0.06mm, 0.07mm, 0.08mm, 0.09mm, 0.1mm, 0.15mm, 0.2mm, 0.25mm or 0.3mm .
  • the wire diameter of the induction coil 13 may be 0.05-0.2 mm.
  • the number of induction coils 13 may be one or more, such as 1, 2, 3 or more.
  • the axial directions of the multiple induction coils 13 may also be different.
  • the central axis of a part of the plurality of induction coils 13 may be parallel to the central axis of the housing 100 (further, may be collinear), and the central axis of another part may intersect with the central axis of the housing 100 .
  • FIG. 2B is a schematic structural diagram showing the image acquisition device 12 and the induction coil 13 of the capsule endoscope 10 according to the example of this embodiment.
  • induction coil 13 may be wrapped around the lens assembly of image capture device 11 (see Figure 2B).
  • the central axis of the induction coil 13 and the optical axis of the lens assembly of the image acquisition device 11 may be parallel. Further, the central axis of the induction coil 13 and the optical axis of the lens assembly of the image acquisition device 11 may be collinear.
  • the central axis of part of the induction coils 13 may be parallel to the optical axis of the lens assembly, and the central axis of another part of the induction coils 13 may intersect with the optical axis of the lens assembly at a preset angle.
  • the capsule endoscope 10 may further include a PCB 14 disposed within the accommodation space (see FIG. 2A ).
  • MEMS memory (not shown) may be printed on PCB 14 .
  • the memory may store images collected by the image acquisition device 11 and/or induction signals generated by the induction coil 13 .
  • capsule endoscope 10 may also include a magnetic sensor (not shown).
  • the magnetic sensor of the capsule endoscope 10 can be a mems sensor and can be printed on the PCB 14 .
  • the magnetic sensor of the capsule endoscope 10 can sense the magnetic field of the built-in magnet 12, the magnetic field of an external device, and/or the environmental magnetic field, etc.
  • the output data of the magnetic sensor of the capsule endoscope 10 and the output data of the induction coil 13 may have the same time stamp. In this case, through the cooperative use of the magnetic sensor and the induction coil 13, the influence of the environmental magnetic field can be further reduced, thereby further improving the accuracy of magnetic positioning.
  • the magnetic sensor of the capsule endoscope 10 can also be used to magnetically detect the magnetic control device 20 to obtain the relative position of the magnetic control device 20 and the capsule endoscope 10 .
  • the magnetic control device 20 is equivalent to a magnetic dipole moment, and based on the electromagnetic principle, the relative position of the magnetic control device 20 and the capsule endoscope 10 can be obtained (refer to Formula II below).
  • the number of magnetic sensors of the capsule endoscope 10 may be multiple, and two of them may be respectively arranged at both axial ends of the capsule endoscope 10 .
  • the capsule endoscope 10 may further include an inertial sensor (not shown).
  • the inertial sensor may measure the inertial signal of the capsule endoscope 10 .
  • the inertial signal measured by the inertial sensor and the induction signal measured by the induction coil 13 may have matching time information.
  • the inertial signal may include the measurement time, and the induction signal may also include the measurement time. This facilitates the fusion of inertial signals and induction signals.
  • Inertial sensors may include three-axis accelerometers and three-axis gyroscopes.
  • the three-axis accelerometer and three-axis gyroscope can be mems devices and can be printed on PCB14.
  • the orientation of the inertial sensor and the orientation of the induction coil 13 may be the same or orthogonal. As a result, the inertial signal and the induction signal can be easily fused.
  • the inertial sensor may be oriented the same as or orthogonal to the central axis of housing 100 .
  • the inertial signal may include acceleration information of the capsule endoscope 10 measured by an accelerometer, and angular velocity information of the capsule endoscope 10 measured by a gyroscope.
  • the acceleration a, displacement p (hereinafter sometimes also referred to as position p or coordinate p), attitude q, etc. of the capsule endoscope 10 can be obtained by solving the inertial signal.
  • the velocity ⁇ of the capsule endoscope 10 can be obtained by solving the acceleration a
  • the displacement p of the capsule endoscope 10 can be obtained by solving the speed ⁇
  • the capsule endoscope 10 can be obtained by solving the angular velocity ⁇ .
  • the posture q of the capsule endoscope 10 may include the pitch angle, roll angle, and yaw angle of the capsule endoscope 10 .
  • the orientation of the inertial sensor can be the same as the orientation of the housing 100.
  • the pitch angle, roll angle and yaw angle obtained by solving the angular velocity measured by the inertial sensor can be regarded as the capsule-type internal The pitch angle, roll angle and yaw angle of the sight glass 10.
  • the orientation of the inertial sensor and the orientation of the induction coil 13 may be the same.
  • the pitch angle, roll angle and yaw angle obtained by calculating the angular velocity measured by the inertial sensor can also be regarded as The pitch angle, roll angle and yaw angle of the induction coil 13. That is, the pitch angle, roll angle and yaw angle obtained by calculating the angular velocity measured by the inertial sensor can be regarded as the orientation of the induction coil 13 in the world coordinate system.
  • attitude calculation of inertial navigation can be performed based on the angular velocity ⁇ and acceleration a of the capsule endoscope 10 .
  • attitude q, velocity ⁇ , and position p their solutions are derived and converted into approximate forms in discrete time, so that navigation information can be solved under discrete time sampling. details as follows:
  • the traditional approach is to estimate the inertial sensor output at each moment and continuously adjust the estimate through repeated iterations.
  • the sampling rate of the inertial sensor is higher than that of the induction coil 13 13
  • multiple iterations are required before updating the state quantity, which may result in excessive calculation and low calculation efficiency.
  • the pre-integration calculation method can be used.
  • the main method is to integrate the output of the inertial sensor in the time period from the i-th to the j-th time (including multiple output moments of the inertial sensor), and combine it with the inertial
  • the output of the sensor at the i-th moment is used to obtain the values of attitude q, speed ⁇ , and position p at the j-th moment.
  • the state quantity (attitude q, speed ⁇ , position p) at the j-th moment is the sum of the state quantity at the i-th moment and the integral value in the [i, j] time period. In this case, by calculating the integral value in the [i, j] time period, no repeated iterations are performed in this time period, thereby improving the calculation efficiency.
  • the attitude and coordinates of the capsule endoscope 10 obtained based on the inertial signal of the inertial sensor usually have intrinsic properties, that is, they are independent of the environment.
  • the above attitude q and displacement p can be used to reflect the motion state of the capsule endoscope 10 .
  • the attitude q and displacement p obtained based on the inertial signal of the inertial sensor may be less accurate. improve.
  • the accuracy of the attitude and coordinates of the capsule endoscope 10 can be effectively improved.
  • the motion state obtained based on the inertial signal can be optimized, so that the motion state and/or coordinates of the capsule endoscope 10 can be optimized. optimization.
  • the coordinates obtained based on the sensing signal can be optimized, so that the motion state and/or coordinates of the capsule endoscope 10 can be optimized. optimization.
  • the calculation of measurements based on the magnetic sensor of the capsule endoscope 10 can also be optimized using an error state Kalman filter algorithm (ESKF) and fusing the inertial signals.
  • EKF error state Kalman filter algorithm
  • the error state Kalman filter algorithm (ESKF) is used and the measurement value of the magnetic sensor of the capsule endoscope 10 is fused to optimize the solution of the inertial signal.
  • u k-1 is the control variable at time k-1, which is a known quantity. Noise will be generated during the state transition process, which is described by Q. Calculate the covariance P of this step. According to the measurement result H of the induction coil and the corresponding measurement error R, x k can be updated. The update process can be described by the Kalman gain K. After getting K, use what we got in the previous step and observed, the optimal estimator can be obtained details as follows:
  • the Kalman filter time update algorithm is as follows:
  • the Kalman filter state update algorithm is as follows:
  • ESKF Error State Kalman Filter Algorithm
  • KF Kalman Filter Algorithm
  • the true value truth refers to the target (in this implementation, the target is The attitude q, speed ⁇ and displacement p of the capsule endoscope 10)
  • the error error refers to the output error of the inertial sensor (random walk of the accelerometer and gyroscope, bias error of the gyroscope, etc.) and includes the inertial sensor Error target state error.
  • the target pose as a form including errors, the covariance matrix P can be determined more accurately, and the Kalman gain K can be accurately calculated.
  • One induction coil 13 corresponds to an observation value, and an array composed of multiple induction coils corresponds to the observation value vector H.
  • the central axis of the capsule endoscope 10 , the optical axis of the image acquisition module 11 , the magnetic axis of the built-in magnet 12 , and the central axis of the induction coil 13 may be collinear, and the orientation of the inertial sensor may be along the capsule.
  • the capsule endoscope 10 may further include a wireless transceiver module 15 disposed in the accommodation space (see FIG. 2A ).
  • the wireless transceiver module 15 can transmit the images collected by the image acquisition device 11 , the induction signals generated by the induction coil 13 , etc. to the outside. Thereby, the image acquired by the image acquisition device 11, the induction signal generated by the induction coil 13, etc. can be easily transmitted to the outside.
  • the wireless transceiver module 15 can communicate with the outside in real time.
  • the capsule endoscope 10 may further include a power supply 16 disposed in the accommodation space (see FIG. 2A ).
  • the power supply 16 can provide power for the image acquisition device 11, PCB 14, wireless transceiver module 15, etc.
  • the examples of this embodiment are not limited to this.
  • the power supply 16 can also be arranged outside the capsule endoscope 10 , and through a wireless The method provides electric energy to the PCB 14, wireless transceiver module 15 and other devices placed in the accommodation space.
  • the arrangement positions of each device in the accommodation space in FIG. 2A are examples and are not limited thereto.
  • the positions of built-in magnet 12 and power source 16 in Figure 2A can be interchanged.
  • the wireless transceiver module 15 may be arranged at one end of the accommodation space close to the second end housing 100c. In other embodiments, the wireless transceiver module 15 may also be arranged in the middle of the accommodation space.
  • this embodiment also provides an electromagnetic device 20 capable of exerting a magnetic effect on the capsule endoscope 10 for magnetic guidance of the capsule endoscope 10 .
  • FIG. 3A is a schematic diagram showing the electromagnetic device 20 according to the example of this embodiment.
  • the electromagnetic device 20 of this embodiment may include an operating magnet 21 (see FIG. 3A).
  • the operating magnet 21 can exert a magnetic effect on the built-in magnet 12 of the capsule endoscope 10 to magnetically guide the capsule endoscope 10, so that the capsule endoscope 10 is displaced.
  • operating magnet 21 may include permanent magnet 211 (see Figure 3A).
  • the permanent magnet 211 may be cylindrical, spherical, etc. Additionally, the magnetic axis of the permanent magnet 211 may be collinear with the central axis.
  • the permanent magnet 211 may move along the vertical direction, for example , by reducing the height of the permanent magnet 211, the intensity of the magnetic field applied by the permanent magnet 211 to the capsule endoscope 10 can be increased.
  • the permanent magnet 211 may move in the horizontal direction.
  • the permanent magnet 211 can also rotate, for example, around an axis along the horizontal direction.
  • FIG. 3A omits mechanisms such as support frames, robotic arms, and motors.
  • the electromagnetic device 20 of this embodiment may also include a mechanical arm (not shown).
  • the mechanical arm can drive the operating magnet 21 to move in the horizontal and vertical directions.
  • the mechanical arm can also drive the permanent magnet 211 Turn.
  • operating magnet 21 may also include a varying current-based electromagnet 212 (see Figure 3A).
  • Electromagnet 212 may be a coil. By adjusting the current flowing into the electromagnet 212, the intensity of the magnetic field received by the capsule endoscope 10 can also be adjusted. In some examples, the magnetic field generated by electromagnet 212 is adjusted by adjusting the magnitude and/or direction of the current flowing in electromagnet 212 . In some examples, electromagnet 212 may be cylindrical. Additionally, the axis of electromagnet 212 may be along a vertical direction.
  • the electromagnetic device 20 may also include an electromagnetic coil 22 (see FIG. 3A), through which a changing magnetic field is applied to the induction coil 13 of the capsule endoscope 10, so that the induction coil 13 generates an induction signal. Further, The position information of the capsule endoscope 10 is obtained based on the induction signal generated by the induction coil 13 , for example, the relative coordinates of the capsule endoscope 10 and the electromagnetic device 20 are obtained.
  • the electromagnetic coil 22 may be a wire-wound electromagnetic device. Passing current through the electromagnetic coil 22 generates a magnetic field.
  • the magnetic field generated by the electromagnetic coil 22 may also change accordingly. For example, when the current amplitude increases, the intensity of the magnetic field generated by the electromagnetic coil 22 will increase, and when the direction of the current changes, the direction of the magnetic field generated by the electromagnetic coil 22 will change.
  • the frequency of changes in the direction of the magnetic field generated by the electromagnetic coil 22 and the frequency of changes in the direction of the current may be the same.
  • the current passed through the electromagnetic coil 13 may be a current that changes with a predetermined rule.
  • the electromagnetic coil 13 can generate a changing magnetic field.
  • the current flowing through the electromagnetic coil 13 may be a direct current with varying amplitude.
  • the amplitude may gradually increase, gradually decrease, or increase-decrease-increase-decrease. The way changes.
  • the current flowing through the electromagnetic coil 13 may also be an alternating current whose direction changes at a predetermined frequency.
  • the predetermined frequency may be 500 Hz to 50 KHz.
  • the electromagnetic coil 22 of the electromagnetic device 20 can generate a magnetic field based on a current and can generate a changing magnetic field based on a changing current
  • the induction coil 13 of the capsule endoscope 10 can generate a current based on the changing magnetic field.
  • the electromagnetic coil 22 can generate a dynamic magnetic field with a known changing law
  • the induction coil 13 can generate an induction signal based on the dynamic magnetic field (for example, induced current or induced voltage).
  • the relative position between the induction coil 13 and the electromagnetic coil 22 can be obtained through calculation, specifically:
  • N 1 represents the number of turns of the electromagnetic coil 22, and S 1 represents the coil area of the electromagnetic coil 22.
  • I represents the amplitude of the current of the electromagnetic coil 22
  • f represents the alternating frequency of the current of the electromagnetic coil 22;
  • E represents the induced voltage generated by the induction coil 13
  • N 2 represents the number of turns of the induction coil 13
  • S 2 represents the coil area of the induction coil 13, Indicates the orientation of the induction coil 13, Indicates the position vector of the induction coil 13 compared to the electromagnetic coil 22 (the relative coordinates of the induction coil 13 and the electromagnetic coil 22).
  • the amplitude I of the current, the alternating frequency f of the current, the number of turns N 2 of the induction coil 13 and the coil area S 2 are known quantities; the induced voltage E generated by the induction coil 13 can be obtained through observation.
  • the orientation of the induction coil 13 and position vector To obtain the relative position of the induction coil 13 and the electromagnetic coil 22 . Based on various known quantities and the observed quantity E, the orientation of the induction coil 13 can be determined. and position vector Estimation is performed to obtain the relative positions of the induction coil 13 and the electromagnetic coil 22 .
  • the orientation of and position vector The unscented Kalman filter algorithm (UKF) can be used for estimation.
  • the unscented Kalman filter algorithm is a method that uses linear or nonlinear system state equations (see Formula I) to input observation data (for example, E in Formula I) to the system state (for example, orientation and position vector ) estimation algorithm.
  • the observation quantity E is assumed to be Gaussian distributed, and based on Bayes' theorem, the direction is calculated and position vector In the posterior case (that is, after the observation E and its position in the Gaussian distribution are known), the conditional probability of the orientation and position vector Make an estimate.
  • the Gaussian distribution of the observation quantity E can be based on the number of turns N 1 of the electromagnetic coil, the coil area S 1 , the orientation It is established based on various parameters such as the amplitude I of the current, the alternating frequency f of the current, and the vertical and horizontal distances between the capsule endoscope 10 and the electromagnetic coil 22 .
  • the orientation and position vector The LM nonlinear optimization algorithm (Levenberg-Marquardt algorithm) can also be used for estimation.
  • the LM nonlinear optimization algorithm is a nonlinear least squares algorithm that uses gradients to find the maximum or minimum value. Specifically, when the observation quantity of E is known, the orientation and position vector Make a linear approximation within its domain and ignore derivative terms above the second order, thus transforming it into a linear least squares problem.
  • the observation quantity of E when the observation quantity of E is known, perform the following steps: 1) Be the position vector Set an initial value and an initial change range (usually can be set to the theoretical maximum range); 2) Center the initial value and find the first optimal value within the initial change range; 3) Based on the first Prefer the value to obtain the first calculated value of E; 4) Compare the first calculated value of E with the observed value of E. If the decrease in the calculated value of E compared to the observed value of E is within the predetermined threshold, then set the first change range, and execute the rules from steps 2) to 4) above, that is, center on the first preferred value. Find the second preferred value within the first variation range, obtain the second calculated value of E based on the second preferred value, and compare the second calculated value of E with the observed value of E. If the decrease in the calculated value of E compared to the observed value of E is outside the predetermined threshold, the change range is reset and the rules from steps 2) to 4) above are executed. From this, the orientation and position vector Make an estimate.
  • FIG. 4 is a schematic diagram showing coordinate system conversion according to the example of this embodiment.
  • (W) represents the world coordinate system, where xw , yw and zw are the three coordinate axes of the world coordinate system respectively.
  • (D) represents the coordinate system of the operating magnet 21, where x d , y d and z d are respectively the three coordinate axes of the coordinate system of the operating magnet 21 .
  • (C) represents the coordinate system of the electromagnetic coil 22, where x c , y c and z c are respectively the three coordinate axes of the coordinate system of the electromagnetic coil 22 .
  • (E) represents the coordinate system of the capsule endoscope 10 , where x e , y e , and ze are respectively the three coordinate axes of the coordinate system of the capsule endoscope 10 .
  • the coordinates of the induction coil 13 in the coordinate system of the electromagnetic coil 22 (that is, the relative position of the induction coil 13 and the electromagnetic coil 22 ) and the world coordinate of the induction coil 13 are obtained.
  • the coordinates of the induction coil 13 in the world coordinate system can be obtained by fusing the coordinates of the electromagnetic coil 22 in the world coordinate system with the orientation in the world coordinate system.
  • the coordinates of the operating magnet 21 in the world coordinate system can be obtained. Thereby, the relative coordinates of the capsule endoscope 10 and the electromagnetic device 20 are obtained.
  • the coil area of the electromagnetic coil 13 may be 50mm 2 to 300mm 2 , for example, 50mm 2 , 60mm 2 , 70mm 2 , 80mm 2 , 90mm 2 , 100mm 2 , 110mm 2 , 120mm 2 , 130mm 2 , 113mm 2 , 140mm 2 , 150mm 2 , 200mm 2 , 250mm 2 , or 300mm 2 .
  • the coil area of the electromagnetic coil 13 may be 80 to 200 mm 2 .
  • the number of turns of the electromagnetic coil 13 may be 50 to 500, 50, 100, 150, 200, 250, 300, 350, 400, 450, or 500.
  • the number of turns of the electromagnetic coil 13 may be 100 to 300.
  • the wire diameter of the electromagnetic coil 13 may be 0.3mm to 0.8mm, for example, 0.3mm, 0.4mm, 0.5mm, 0.6mm, 0.7mm, or 0.8mm.
  • the wire diameter of the electromagnetic coil 13 may be 0.4mm to 0.7mm.
  • electromagnetic coil 13 may be cylindrical. Additionally, in some examples, the ratio of the length to the diameter of the electromagnetic coil 13 may be 0.5 to 1.5, such as 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, or 1.5.
  • FIG. 3B shows an arrangement example of the electromagnetic coil 22 involved in this embodiment example.
  • the number of electromagnetic coils 22 may be one or more (see Figures 3A and 3B).
  • multiple induction signals are generated by multiple electromagnetic coils 22 and the relative positions of the capsule endoscope 10 and the electromagnetic device 20 are obtained based on the multiple induction signals, which can help to further improve magnetic positioning. Accuracy.
  • the number of the plurality of electromagnetic coils 22 may be 6 to 36, optionally 6, 8, 9, 12, 15, 16, 25, 36.
  • the plurality of electromagnetic coils 22 may be arranged in an array.
  • the array formed by the arrangement of the plurality of electromagnetic coils 22 may be an equally spaced array.
  • the row spacing and/or column spacing of the array formed by the arrangement of the plurality of electromagnetic coils 22 may gradually decrease from the center to the periphery (see FIG. 3B ). In the embodiment shown in FIG. 3B , the distance between row R0 and row R1 may be greater than the distance between row R1 and row R2, and the distance between column C0 and column C1 may be greater than the distance between column C1 and column C2.
  • multiple electromagnetic coils 22 may be arranged along a horizontal plane. In this case, the vertical coordinates of each electromagnetic coil 22 are the same, which can help simplify calculations.
  • the electromagnetic device 20 may also include a platform 23 located below the capsule endoscope 10 (see FIG. 3A ). A plurality of electromagnetic coils 22 may be arranged on the platform 23 .
  • the platform 23 may be an examination bed, and the subject may lie flat on the examination bed to receive the examination.
  • the planar size of the array formed by the arrangement of the plurality of electromagnetic coils 22 can be from 200mm*200mm to 400mm*400mm, for example, 200mm*200mm, 200mm*300mm, 200mm*400mm, 300mm*300mm, 300mm*400mm , or 400mm*400mm, etc.
  • the plurality of electromagnetic coils 22 may be arranged so that each electromagnetic coil 22 is oriented in the same direction, for example, the orientation of each electromagnetic coil 22 may be along a vertical direction. In other examples, the plurality of electromagnetic coils 22 may be arranged such that at least two electromagnetic coils 22 have different orientations, for example, the orientation of one or a part of the electromagnetic coils 2 may be orthogonal to the orientation of another or another part of the electromagnetic coils 2 . In addition, the plurality of electromagnetic coils 22 may also be arranged so that the directions of the respective electromagnetic coils 22 are different. In this case, diversified magnetic fields are generated toward different electromagnetic coils 22 to obtain diversified induction signals, which can help further improve the magnetic positioning accuracy.
  • current eg, alternating current
  • current may be applied to each electromagnetic coil 22 in a time-divided manner, for example, current may be applied to each electromagnetic coil 22 in sequence.
  • the magnitude and/or frequency of the current applied to each solenoid coil 22 may be the same.
  • the electromagnetic coil 22 corresponding to each induction signal can be determined simply. Specifically, the electromagnetic coil 22 is marked with a time stamp when a current is applied, and each induction signal is also stamped with a time stamp. By matching the two timestamps, the electromagnetic coil 22 corresponding to each induction signal can be determined. .
  • current eg, alternating current
  • amplitude of the current applied to each electromagnetic coil 22 may be the same and the frequency may be different. In this case, by matching the frequency of the current applied to each electromagnetic coil 22, the electromagnetic coil 22 corresponding to each induction signal can be easily determined.
  • the electromagnetic device 20 may also include a magnetic sensor array (not shown).
  • the magnetic sensor array of the electromagnetic device 20 can sense the built-in magnet 12 of the capsule endoscope 10 to obtain the relative coordinates of the electromagnetic device 20 and the capsule endoscope 10 .
  • the magnetic sensor array of electromagnetic device 20 may be disposed on examination table 23 .
  • the magnetic sensor arrays and electromagnetic coils 22 of electromagnetic device 20 may be arranged in a staggered manner.
  • those skilled in the art can understand that the postures, coordinates, etc.
  • each component of the electromagnetic device 20 in the world coordinate system can be preset as known quantities, and the relative positions between the components of the capsule endoscope 10 It can also be preset as a known quantity to obtain the relative coordinates of the built-in magnet 12 compared to the magnetic sensor of the electromagnetic device, or the relative coordinates of the induction coil 13 compared to the electromagnetic coil 22, and then other coordinates can be obtained through coordinate conversion.
  • the relative coordinates between parts can be preset as known quantities, and the relative positions between the components of the capsule endoscope 10 It can also be preset as a known quantity to obtain the relative coordinates of the built-in magnet 12 compared to the magnetic sensor of the electromagnetic device, or the relative coordinates of the induction coil 13 compared to the electromagnetic coil 22, and then other coordinates can be obtained through coordinate conversion.
  • the relative coordinates between parts can be preset as known quantities, and the relative positions between the components of the capsule endoscope 10 It can also be preset as a known quantity to obtain the relative coordinates of the built-in magnet 12 compared to the magnetic sensor
  • the built-in magnet 12 is equivalent to a magnetic dipole moment. Based on Formula II and various known quantities, the relative coordinates of the capsule endoscope 10 and the electromagnetic device 20 can be obtained:
  • ⁇ 0 is the vacuum magnetic permeability (permeability)
  • M is the module of the equivalent magnetic moment of the built-in magnet 12
  • r is the distance between the capsule endoscope 10 and the magnetic sensor array of the electromagnetic device 20
  • indicating the posture orientation of the built-in magnet 12 is the position vector of the built-in magnet 12 in the coordinate system of the magnetic sensor array of the electromagnetic device 20 .
  • r is an unknown quantity
  • M is a known quantity
  • B can be known through measurement.
  • the posture and/or coordinates of the capsule endoscope 10 are obtained based on the calculation of the measurement value of the magnetic sensor array of the electromagnetic device 20, and the capsule endoscope is obtained based on the inertial signal of the inertial sensor. 10's posture and/or coordinates, and there is a correlation between the two. If the measurement error and solution deviation are small enough, they can be considered equivalent.
  • the solution of the measured values of the magnetic sensor array based on the electromagnetic device 20 can also be optimized by using the error state Kalman filter algorithm (ESKF) and fusing the inertial signals.
  • the solution of the inertial signal can be optimized by using the error state Kalman filter algorithm (ESKF) and fusing the measurement values of the magnetic sensor array of the electromagnetic device 20 .
  • EKF error state Kalman filter algorithm
  • FIG. 5 shows the magnetic positioning method according to this embodiment.
  • the positioning method for positioning the capsule endoscope 10 according to this embodiment will be described in detail with reference to FIG. 5 .
  • the method for positioning the capsule endoscope 10 may include the following steps: applying a dynamic magnetic field to the capsule endoscope 10 (step S110); collecting the induction signal generated by the induction coil 13 (step S120); calculating the induction Relative coordinates of coil 13 (step S130).
  • the dynamic magnetic field may include a plurality of changing magnetic fields generated sequentially in time sequence.
  • the changing frequencies and central field strengths of the plurality of changing magnetic fields may be the same.
  • the coordinates of the plurality of changing magnetic fields along the vertical direction may be the same.
  • the above-mentioned multiple changing magnetic fields are marked with timestamps to record various time information such as generation time and duration.
  • the magnetic axes of at least two magnetic fields among the plurality of changing magnetic fields may be different.
  • the dynamic magnetic field described above may be generated by the electromagnetic coil 22 referred to herein.
  • step S110 before performing step S110, it can also be sensed whether there is a changing magnetic field in the surrounding environment of the capsule endoscope 10. If there is, it is necessary to measure the changing law of the magnetic field to perform subsequent operations. The influence of this magnetic field is subtracted during processing.
  • the induction signal may be a voltage signal generated by the induction coil 13 .
  • the voltage signal generated by induction coil 13 may be a digital signal.
  • the induction signal generated by the induction coil 13 may be transmitted to the outside via the wireless transceiver module 15 .
  • the sensing signal may be collected in real time.
  • the induction signal generated by the induction coil 13 may be time-stamped to record the generation time and duration of the induction signal.
  • the time stamp of the induction signal has a matching relationship with the time stamp of the dynamic magnetic field, so that the induction signal corresponding to each changing magnetic field is determined through the time stamp.
  • step S130 based on the voltage signal generated by the induction coil 13, various parameters of the induction coil 13, and the physical characteristics of the dynamic magnetic field in step S110, combined with the electromagnetic principle, it can be solved
  • the relative coordinates between the induction coil 13 and the source of the dynamic magnetic field can be solved through the unscented Kalman filter algorithm or the Levenberg-Marquardt algorithm. Then, the relative coordinates between the capsule endoscope 10 and the source of the dynamic magnetic field are obtained.
  • FIG. 6 illustrates a method for optimizing positioning results by combining inertial sensors according to this embodiment. Below, the positioning optimization method will be described in detail with reference to Figure 6.
  • the optimization method for positioning the capsule endoscope 10 may include the following steps: obtaining an estimate of the attitude and/or coordinates of the capsule endoscope 10 (step S210 ); Observed values of attitude and/or coordinates (step S220); optimize the estimated value based on the observed values (step S230).
  • step S210 based on the induction signal measured by the induction coil 13 described herein, the inertial signal measured by the inertial sensor, the measurement value of the magnetic sensor of the capsule endoscope 10, and/or The measured value of the magnetic sensor of the electromagnetic device 20 can be used to obtain an estimated value of the coordinates and attitude of the capsule endoscope 10 using, for example, an unscented Kalman filter algorithm, a LM optimization algorithm, etc.
  • the observation object in step S220, may be the induction signal measured by the induction coil 13 described herein, the inertial signal measured by the inertial sensor, the measured value of the magnetic sensor of the capsule endoscope 10, and/or measurements from the magnetic sensors of the electromagnetic device 20 .
  • the solution object in step S210 and the observation object in step S220 may be different.
  • the estimated value obtained in step S210 can be optimized by fusing the observation values obtained in step S220 and using, for example, an error state Kalman filter algorithm (ESKF), so as to The coordinates and attitude of the capsule endoscope 10 are obtained more accurately.
  • EKF error state Kalman filter algorithm
  • estimates can be optimized using a Kalman gain as a weighted average of estimates and results based on observations.
  • the inertial signal of the instrument 10 is measured by the inertial sensor, and the magnetic field generated by the electromagnetic coil 22 is measured by the induction coil 13, and the inertial signal and the induction signal are fused, thereby improving the resolution of the inertial signal. and/or the accuracy of the sensing signal, thereby improving the positioning accuracy of the instrument 10 .
  • the capsule endoscope system 1 may further include a processing device 30 (see Figure 1).
  • the processing device 30 can perform the calculation of the above formula I to obtain the position of the capsule endoscope 10, image processing, and the like.
  • the processing device 30 may perform the above positioning method.
  • the processing device 30 can also perform the above optimization method.
  • the capsule endoscope system 1 may further include a communication device 40 (see FIG. 1 ).
  • the communication device 40 can communicate with the wireless transceiver module 15 to receive, for example, images collected by the image acquisition device 11 , induction signals generated by the induction coil 13 , and the like.
  • the capsule endoscope system 1 may further include a display device 50 (see FIG. 1 ).
  • the display device 50 may be used to display images captured by the image capture device 11 .
  • the capsule endoscope system 1 may also include a storage unit 60 (see FIG. 1 ).
  • the storage unit 60 may store images collected by the image acquisition device 11 , induction signals generated by the induction coil 13 , and the like.

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Surgery (AREA)
  • Engineering & Computer Science (AREA)
  • Molecular Biology (AREA)
  • Public Health (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • Veterinary Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Human Computer Interaction (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Optics & Photonics (AREA)
  • Radiology & Medical Imaging (AREA)
  • Endoscopes (AREA)

Abstract

Disclosed is an inertial measurement-integrated magnetic control system (1), comprising an instrument (10), an electromagnetic device (20), and a processing apparatus (30). The instrument (10) comprises an inertial sensor and an induction coil (13) for generating an induction signal on the basis of a variable magnetic field. The electromagnetic device (20) comprises an electromagnetic coil (22) for generates a variable magnetic field on the basis of a variable current. The induction coil (13) receives the variable magnetic field generated by the electromagnetic coil (22) and generates the induction signal. The processing apparatus (30) acquires the motion state of the instrument (10) and the relative coordinates of the instrument (10) and the electromagnetic device (20) on the basis of an inertial signal measured by the inertial sensor and the induction signal generated by the induction coil (13). The magnetic control system (1) can improve the accuracy of positioning the instrument (10).

Description

融合惯性测量的磁控系统Magnetic control system integrating inertial measurement 技术领域Technical field
本公开大体涉及一种医疗器械,具体涉及一种融合惯性测量的磁控系统。The present disclosure generally relates to a medical device, and specifically to a magnetic control system incorporating inertial measurements.
背景技术Background technique
随着现代医学技术的发展,对于消化腔内的病变(例如胃壁上的息肉)可以通过导入胶囊型内窥镜来进行检查,通过胶囊型内窥镜能够在胃部内进行图像采集,例如采集胃壁上的息肉的图像,以帮助医生对患者进行诊断。With the development of modern medical technology, lesions in the digestive cavity (such as polyps on the gastric wall) can be inspected by introducing a capsule endoscope, which can collect images in the stomach, such as Images of polyps in the stomach wall to help doctors diagnose patients.
目前,这样的胶囊型内窥镜通常具有内置磁体并且可以受到磁力作用,医生、护士等操作人员通过操作外部磁控装置可以对位于消化腔内的胶囊型内窥镜进行磁引导,以使胶囊型内窥镜移动至消化腔内的预定位置进行图像采集。为了更精确地对胶囊型内窥镜进行引导,通常需要对胶囊型内窥镜进行定位。在现有技术中,通常通过内置于胶囊型内窥镜的磁传感器对外部电磁设备进行磁探测来对胶囊型内窥镜进行定位。At present, such capsule endoscopes usually have built-in magnets and can be affected by magnetic force. Operators such as doctors and nurses can magnetically guide the capsule endoscope located in the digestive cavity by operating an external magnetic control device so that the capsule The endoscope moves to a predetermined position in the digestive cavity to collect images. In order to guide the capsule endoscope more accurately, it is usually necessary to position the capsule endoscope. In the prior art, the capsule endoscope is usually positioned by magnetically detecting an external electromagnetic device through a magnetic sensor built into the capsule endoscope.
然而,在上述现有技术中,磁传感器在进行磁探测时,由于例如周边设备的导磁材料、地磁场等环境磁场的影响,因而可能造成难以精确地对胶囊型内窥镜进行定位。However, in the above-mentioned prior art, when the magnetic sensor performs magnetic detection, it may be difficult to accurately position the capsule endoscope due to the influence of environmental magnetic fields such as magnetic permeable materials of peripheral devices and the geomagnetic field.
发明内容Contents of the invention
本公开是有鉴于上述现有技术的状况而提出的,其目的在于提供一种能够提高定位精度的融合惯性测量的磁控系统。The present disclosure is proposed in view of the above-mentioned status of the prior art, and its purpose is to provide a magnetic control system that integrates inertial measurement and can improve positioning accuracy.
为此,本公开提供一种融合惯性测量的磁控系统,其包括器械、电磁设备和处理装置,所述器械包括惯性传感器、以及基于变化的磁场生成感应信号的感应线圈,所述电磁设备包括基于变化的电流生成变化的磁场的电磁线圈,所述感应线圈接收所述电磁线圈所生成的变 化的磁场并生成感应信号,所述处理装置融合所述惯性传感器所测量的惯性信号和所述感应线圈所生成的感应信号以获取所述器械的运动状态、以及所述器械与所述电磁设备的相对坐标。To this end, the present disclosure provides a magnetic control system that integrates inertial measurement, which includes an instrument, an electromagnetic device, and a processing device. The instrument includes an inertial sensor and an induction coil that generates an induction signal based on a changing magnetic field. The electromagnetic device includes An electromagnetic coil that generates a changing magnetic field based on a changing current. The induction coil receives the changing magnetic field generated by the electromagnetic coil and generates an induction signal. The processing device fuses the inertial signal measured by the inertial sensor and the induction signal. The induction signal generated by the coil is used to obtain the motion state of the instrument and the relative coordinates of the instrument and the electromagnetic device.
在本公开所涉及的磁控系统中,通过惯性传感器测量器械的惯性信号并且通过感应线圈测量电磁线圈生成的磁场,并融合惯性信号与感应信号,由此能够提高解算惯性信号和/或感应信号的准确性,从而能够提高对器械的定位精度。In the magnetic control system involved in the present disclosure, the inertial signal of the instrument is measured through the inertial sensor and the magnetic field generated by the electromagnetic coil is measured through the induction coil, and the inertial signal and the induction signal are fused, thereby improving the resolution of the inertial signal and/or induction. The accuracy of the signal can improve the positioning accuracy of the instrument.
另外,在本公开所涉及的磁控系统中,可选地,所述运动状态包括所述器械的加速度、以及所述器械的姿态角,所述感应信号为电压信号或电流信号。In addition, in the magnetic control system involved in the present disclosure, optionally, the motion state includes the acceleration of the instrument and the attitude angle of the instrument, and the induction signal is a voltage signal or a current signal.
另外,在本公开所涉及的磁控系统中,可选地,所述处理装置基于所述感应信号和误差状态卡尔曼滤波算法对所述运动状态进行优化;或者,所述处理装置基于所述惯性信号和误差状态卡尔曼滤波算法对所述相对坐标进行优化。由此,能够提高解算惯性信号和/或感应信号的准确性。In addition, in the magnetic control system involved in the present disclosure, optionally, the processing device optimizes the motion state based on the induction signal and the error state Kalman filter algorithm; or, the processing device optimizes the motion state based on the The inertial signal and error state Kalman filter algorithm optimize the relative coordinates. As a result, the accuracy of solving the inertial signal and/or the induction signal can be improved.
另外,在本公开所涉及的磁控系统中,可选地,所述惯性传感器的朝向与所述感应线圈的朝向相同或正交。由此,能够便于对惯性信号和感应信号进行融合。In addition, in the magnetic control system related to the present disclosure, optionally, the orientation of the inertial sensor is the same as or orthogonal to the orientation of the induction coil. As a result, the inertial signal and the induction signal can be easily fused.
另外,在本公开所涉及的磁控系统中,可选地,所述惯性信号与所述感应信号具有相匹配的时间信息。由此,能够便于对惯性信号和感应信号进行融合。In addition, in the magnetic control system involved in the present disclosure, optionally, the inertial signal and the induction signal have matching time information. As a result, the inertial signal and the induction signal can be easily fused.
另外,在本公开所涉及的磁控系统中,可选地,所述惯性传感器包括加速度计和陀螺仪。由此,能够获得器械的加速度信息和姿态信息。In addition, in the magnetic control system involved in the present disclosure, optionally, the inertial sensor includes an accelerometer and a gyroscope. Thus, the acceleration information and posture information of the instrument can be obtained.
另外,在本公开所涉及的磁控系统中,可选地,所述感应线圈与所述电磁线圈的位置关系满足:In addition, in the magnetic control system involved in the present disclosure, optionally, the positional relationship between the induction coil and the electromagnetic coil satisfies:
Figure PCTCN2022106295-appb-000001
Figure PCTCN2022106295-appb-000001
其中,μ 0表示真空磁导率,N 1表示所述电磁线圈的匝数,S 1表示所述电磁线圈的线圈面积,
Figure PCTCN2022106295-appb-000002
表示所述电磁线圈的朝向,I表示所述电磁线圈的电流的幅值,f表示所述电磁线圈的电流的交变频率,E表 示所述感应线圈所生成的感应信号,N 2表示所述感应线圈的匝数,S 2表示所述感应线圈的线圈面积,
Figure PCTCN2022106295-appb-000003
表示所述感应线圈的朝向,
Figure PCTCN2022106295-appb-000004
表示所述感应线圈相较于所述电磁线圈的相对坐标。
Among them, μ 0 represents the vacuum magnetic permeability, N 1 represents the number of turns of the electromagnetic coil, S 1 represents the coil area of the electromagnetic coil,
Figure PCTCN2022106295-appb-000002
represents the orientation of the electromagnetic coil, I represents the amplitude of the current of the electromagnetic coil, f represents the alternating frequency of the current of the electromagnetic coil, E represents the induction signal generated by the induction coil, and N 2 represents the The number of turns of the induction coil, S 2 represents the coil area of the induction coil,
Figure PCTCN2022106295-appb-000003
Indicates the orientation of the induction coil,
Figure PCTCN2022106295-appb-000004
Indicates the relative coordinates of the induction coil compared to the electromagnetic coil.
另外,在本公开所涉及的磁控系统中,可选地,所述电磁线圈的数量为多个。在这种情况下,通过多个电磁线圈而产生多个感应信号并基于多个感应信号来获得器械与电磁设备的相对位置,由此能够有助于进一步提高磁定位精度。In addition, in the magnetic control system related to the present disclosure, optionally, the number of the electromagnetic coils is multiple. In this case, multiple induction signals are generated by multiple electromagnetic coils and the relative positions of the instrument and the electromagnetic device are obtained based on the multiple induction signals, which can help further improve the magnetic positioning accuracy.
另外,在本公开所涉及的磁控系统中,可选地,所述器械还包括布置在所述容纳空间内的内置磁体,所述电磁设备还包括呈球状的操作磁体,所述操作磁体对所述内置磁体施加磁作用以使所述器械发生位移。由此,能够便于对器械进行磁引导。In addition, in the magnetic control system involved in the present disclosure, optionally, the instrument further includes a built-in magnet arranged in the accommodation space, and the electromagnetic device further includes a spherical operating magnet, and the operating magnet is The built-in magnet exerts a magnetic effect to cause displacement of the instrument. This facilitates magnetic guidance of the instrument.
此外,在本公开所涉及的磁控系统中,可选地,所述操作磁体包括永磁体、以及基于变化电流的电磁体。Furthermore, in the magnetic control system involved in the present disclosure, optionally, the operating magnet includes a permanent magnet and an electromagnet based on changing current.
根据本公开所涉及的磁控系统,能够提高对器械进行定位的精度。According to the magnetic control system according to the present disclosure, the accuracy of positioning the instrument can be improved.
附图说明Description of the drawings
现在将仅通过参考附图的例子进一步详细地解释本公开,其中:The present disclosure will now be explained in further detail only by way of example with reference to the accompanying drawings, in which:
图1是示出了本实施方式示例所涉及的磁控系统的场景示意图。FIG. 1 is a schematic diagram showing a scene of a magnetic control system according to an example of this embodiment.
图2A是示出了本实施方式示例所涉及的器械的示意图;图2B是示出了本实施方式示例所涉及的器械的图像采集装置与感应线圈的结构示意图。FIG. 2A is a schematic diagram showing the instrument according to this embodiment example; FIG. 2B is a schematic structural diagram showing the image acquisition device and the induction coil of the instrument according to this embodiment example.
图3A是示出了本实施方式示例所涉及的电磁设备的示意图;图3B是示出了本实施方式示例所涉及的电磁线圈的一种排布示例。FIG. 3A is a schematic diagram showing an electromagnetic device involved in this embodiment example; FIG. 3B is an arrangement example showing an electromagnetic coil involved in this embodiment example.
图4是示出了本实施方式示例所涉及的坐标系转换的示意图。FIG. 4 is a schematic diagram showing coordinate system conversion according to the example of this embodiment.
图5是示出了本实施方式所涉及的磁定位方法。FIG. 5 shows the magnetic positioning method according to this embodiment.
图6是示出了本实施方式所涉及的结合惯性传感器对定位结果进行优化的方法。FIG. 6 illustrates a method for optimizing positioning results by combining inertial sensors according to this embodiment.
具体实施方式Detailed ways
以下,参考附图,详细地说明本公开的优选实施方式。在下面的说明中,对于相同的部件赋予相同的符号,省略重复的说明。另外, 附图只是示意性的图,部件相互之间的尺寸的比例或者部件的形状等可以与实际的不同。Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the drawings. In the following description, the same components are assigned the same reference numerals, and repeated descriptions are omitted. In addition, the drawings are only schematic diagrams, and the dimensional ratios of components, shapes of components, etc. may be different from actual ones.
需要说明的是,本公开中的术语“包括”和“具有”以及它们的任何变形,例如所包括或所具有的一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可以包括或具有没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variations thereof in this disclosure, such as a series of steps or units of process, method, system, product or equipment included or included, are not necessarily limited to those explicitly listed. Those steps or elements may be included or have other steps or elements not expressly listed or inherent to such processes, methods, products or apparatuses.
本实施方式所涉及的磁控系统可以是一种将器械置于组织腔内以对组织腔进行检查和/或治疗的医疗磁控系统。本实施方式所涉及的磁控系统也可以是一种将器械置于某个空间内,以在该空间内进行信息采集的系统。The magnetic control system involved in this embodiment may be a medical magnetic control system that places an instrument in a tissue cavity to inspect and/or treat the tissue cavity. The magnetic control system involved in this embodiment may also be a system that places instruments in a certain space to collect information in the space.
本实施方式所涉及的医疗磁控系统可以是指胃部检查/治疗系统、肠道检查/治疗系统等,例如将胶囊型器械置于胃部、肠道等消化腔,以通过图像采集、电化学反应等方式在消化腔内获取病理信息,或通过振动、电刺激、药物释放等方式在消化腔内进行病变治疗。通常情况下,当使用这样的磁控系统对消化腔进行检查时,需要对器械进行引导以调整器械在消化腔内所处的位置。The medical magnetic control system involved in this embodiment may refer to a gastric examination/treatment system, intestinal examination/treatment system, etc., for example, a capsule-type instrument is placed in the digestive cavity such as the stomach, intestine, etc., to collect images through image acquisition, electrolysis, etc. Pathological information can be obtained in the digestive cavity through chemical reactions or other methods, or lesions can be treated in the digestive cavity through vibration, electrical stimulation, drug release, etc. Normally, when using such a magnetic control system to inspect the digestive cavity, the instrument needs to be guided to adjust its position within the digestive cavity.
以下,以通过采集图像来对组织腔进行检查的胶囊型内窥镜系统为例,对本实施方式所涉及的磁控系统进行详细说明。The magnet control system according to this embodiment will be described in detail below, taking a capsule endoscope system that collects images to inspect tissue cavities as an example.
需要说明的是,本文所称“胶囊型内窥镜”是本实施方式所涉及的器械的一种具体示例,其并非是限定性的。本领域技术人员可以理解,本实施方式所涉及的医疗器械还可以是例如振动胶囊、电刺激胶囊、电化学胶囊、药物释放胶囊等各种可以被置于组织腔内以进行检查和/或治疗的器械。It should be noted that the “capsule endoscope” referred to herein is a specific example of the device according to this embodiment, and is not limiting. Those skilled in the art can understand that the medical device involved in this embodiment can also be, for example, a vibration capsule, an electrical stimulation capsule, an electrochemical capsule, a drug release capsule, etc., which can be placed in a tissue cavity for examination and/or treatment. equipment.
图1是示出了本实施方式示例所涉及的磁控系统(以下,称为“胶囊型内窥镜系统”)1的示意图。在本实施方式中,如图1所示,胶囊型内窥镜系统1可以包括器械(以下,称为“胶囊型内窥镜”)10和电磁设备20。胶囊型内窥镜10可以被置于被检者的组织腔内(参见图1),电磁设备20可以通过例如对器械施加磁作用等方式引导胶囊型内窥镜10在组织腔内进行移动。FIG. 1 is a schematic diagram showing a magnet control system (hereinafter referred to as a “capsule endoscope system”) 1 according to an example of this embodiment. In this embodiment, as shown in FIG. 1 , the capsule endoscope system 1 may include an instrument (hereinafter, referred to as a “capsule endoscope”) 10 and an electromagnetic device 20 . The capsule endoscope 10 can be placed in the tissue cavity of the subject (see FIG. 1 ), and the electromagnetic device 20 can guide the capsule endoscope 10 to move in the tissue cavity by, for example, applying magnetic effects to the instrument.
在一些示例中,胶囊型内窥镜10所导入的组织腔可以是消化腔,例如胃腔、食道、大肠、结肠、小肠等。在另一些示例中,胶囊型内窥镜10所导入的组织腔也可以是非消化腔,例如腹腔、胸腔等。对于消化腔,胶囊型内窥镜10可以通过服用而被导入消化腔,对于非消化腔,胶囊型内窥镜10可以经由临床手术开具的微创开口而被导入非消化腔。以下,以胃腔为例,对胶囊型内窥镜10进行详细说明。In some examples, the tissue cavity introduced by the capsule endoscope 10 may be a digestive cavity, such as the gastric cavity, esophagus, large intestine, colon, small intestine, etc. In other examples, the tissue cavity introduced by the capsule endoscope 10 may also be a non-digestive cavity, such as the abdominal cavity, chest cavity, etc. For the digestive cavity, the capsule endoscope 10 can be introduced into the digestive cavity by taking it. For the non-digestive cavity, the capsule endoscope 10 can be introduced into the non-digestive cavity through a minimally invasive opening prescribed by clinical surgery. Hereinafter, the capsule endoscope 10 will be described in detail, taking the gastric cavity as an example.
图2A是示出了本实施方式示例所涉及的胶囊型内窥镜10的场景示意图。本实施方式提供一种胶囊型内窥镜10,其可以被制成胶囊形状(参见图2A),以便于导入例如胃腔等消化腔。通过胶囊型内窥镜10的摄像装置可以对胃腔进行检查和/或治疗,并且检查和/或治疗完毕后胶囊型内窥镜10可以被排出体外。FIG. 2A is a schematic diagram showing a scene of the capsule endoscope 10 according to the example of this embodiment. This embodiment provides a capsule endoscope 10 that can be made into a capsule shape (see FIG. 2A ) so as to be easily introduced into a digestive cavity such as the gastric cavity. The gastric cavity can be inspected and/or treated through the imaging device of the capsule endoscope 10, and after the inspection and/or treatment is completed, the capsule endoscope 10 can be expelled from the body.
从外观上看,胶囊型内窥镜10可以包括呈胶囊状的外壳100(参见图2A)。外壳100可以包括呈筒状的主壳体100a、以及分别设置在主壳体100a轴向两端的呈圆顶状的两个端部壳体(第一端部壳体100b和第二端部壳体100c),以形成用于布置器件的容纳空间。在一些示例中,两个端部壳体的顶点可以经过主壳体100a的中心轴线。另外,主壳体100a的轴向两端的开口可以分别被第一端部壳体100b和第二端部壳体100c密封,从而维持该容纳空间的液密状态。In appearance, the capsule endoscope 10 may include a capsule-shaped housing 100 (see FIG. 2A ). The housing 100 may include a cylindrical main housing 100a and two dome-shaped end housings (a first end housing 100b and a second end housing) respectively provided at both axial ends of the main housing 100a. body 100c) to form a receiving space for arranging devices. In some examples, the apexes of the two end housings may pass through the central axis of the main housing 100a. In addition, the openings at both axial ends of the main housing 100a may be sealed by the first end housing 100b and the second end housing 100c respectively, thereby maintaining the liquid-tight state of the accommodation space.
在一些示例中,主壳体100a与第一端部壳体100b或第二端部壳体100c可以一体成型。由此,能够提高液密性,并且能够简化装配工艺。另外,第一端部壳体100b和/或第二端部壳体100c可以为透明壳体,并且可以透过规定波长的光(例如可见光)。此外,出于例如减少杂散光等方面的考虑,主壳体100a可以是大致不透明的外壳。In some examples, the main housing 100a and the first end housing 100b or the second end housing 100c may be integrally formed. This can improve liquid tightness and simplify the assembly process. In addition, the first end housing 100b and/or the second end housing 100c may be a transparent housing, and may transmit light of a specified wavelength (eg, visible light). Additionally, the main housing 100a may be a generally opaque housing for reasons such as reducing stray light.
本领域技术人员可以理解,图2A中的主壳体100a、第一端部壳体100b与第二端部壳体100c是示例性的,并不局限于此。主壳体100a的长度、直径、壁厚、第一端部壳体100b和第二端部壳体100c的圆弧半径、壁厚等绝对值及彼此间的相对值可以根据实际需要进行调整,本文并未列举出各种不同的设计。作为一个示例性说明,第一端部壳体100b的壁厚可以等于第二端部壳体100c的壁厚,第一端部壳体100b的壁厚也可以大于第二端部壳体100c的壁厚。Those skilled in the art can understand that the main housing 100a, the first end housing 100b and the second end housing 100c in FIG. 2A are examples and are not limited thereto. The length, diameter, wall thickness of the main housing 100a, the arc radius, wall thickness and other absolute values of the first end housing 100b and the second end housing 100c and their relative values can be adjusted according to actual needs. This article does not list the various designs. As an example, the wall thickness of the first end housing 100b may be equal to the wall thickness of the second end housing 100c, and the wall thickness of the first end housing 100b may also be greater than that of the second end housing 100c. Wall thickness.
在一些示例中,胶囊型内窥镜10可以包括布置在容纳空间内的图 像采集装置11(参见图2A)。图像采集装置11可以布置在透明壳体所在的一端并且图像采集装置11的镜头组件可以朝向该透明壳体。在这种情况下,图像采集装置11可以收集经由透明壳体而入射的光线,从而进行图像采集。In some examples, the capsule endoscope 10 may include an image acquisition device 11 disposed within a receiving space (see Figure 2A). The image capturing device 11 may be arranged at one end of the transparent housing and the lens assembly of the image capturing device 11 may face the transparent housing. In this case, the image capturing device 11 can collect the light incident through the transparent housing, thereby performing image capturing.
在一些示例中,图像采集装置11的光轴可以与外壳100的中心轴线平行。在一些示例中,图像采集装置11的光轴与外壳100的中心轴线可以共线。参见图2A,AA'示出了外壳100的中心轴线,图像采集装置11可以以光轴平行于AA'的方式(进一步地,可以以光轴与AA'共线的方式)布置在容纳空间内。其一方面,胶囊型内窥镜10的朝向与图像采集装置11的朝向保持一致,从而能够便于通过调节胶囊型内窥镜10的朝向来调节图像采集装置11的朝向。另一方面,在充分利用透明壳体的透明区域的情况下,能够使图像采集装置11的视角更小化。In some examples, the optical axis of image capture device 11 may be parallel to the central axis of housing 100 . In some examples, the optical axis of image capture device 11 and the central axis of housing 100 may be collinear. Referring to FIG. 2A , AA′ shows the central axis of the housing 100 . The image acquisition device 11 may be arranged in the accommodation space in such a manner that the optical axis is parallel to AA′ (further, the optical axis may be collinear with AA′). . On the one hand, the orientation of the capsule endoscope 10 is consistent with the orientation of the image capture device 11 , so that the orientation of the image capture device 11 can be easily adjusted by adjusting the orientation of the capsule endoscope 10 . On the other hand, when the transparent area of the transparent housing is fully utilized, the viewing angle of the image capturing device 11 can be further reduced.
在一些示例中,胶囊型内窥镜10还可以包括布置在容纳空间内的内置磁体12(参见图2A)。在这种情况下,通过电磁设备20对内置磁体12施加磁作用(稍后具体描述),能够对胶囊型内窥镜10进行磁引导以调整胶囊型内窥镜10在胃腔内的位置,例如使胶囊型内窥镜10移动至感兴趣区域(例如,病变区域)以进行图像采集。In some examples, the capsule endoscope 10 may further include a built-in magnet 12 disposed within the receiving space (see FIG. 2A ). In this case, by applying magnetic action to the built-in magnet 12 by the electromagnetic device 20 (described in detail later), the capsule endoscope 10 can be magnetically guided to adjust the position of the capsule endoscope 10 in the gastric cavity, For example, the capsule endoscope 10 is moved to an area of interest (eg, a lesion area) to collect images.
在一些示例中,内置磁体12可以为永磁体。另外,内置磁体12可以呈柱状,例如圆柱状。在一些示例中,内置磁体12可以呈长径比不大于1的圆柱状,即圆饼状。也就是说,呈圆柱状的内置磁体12的长度可以不大于内置磁体12的直径。另外,另一些示例中,内置磁体12也可以呈中空圆柱状。In some examples, built-in magnet 12 may be a permanent magnet. In addition, the built-in magnet 12 may be in a cylindrical shape, such as a cylindrical shape. In some examples, the built-in magnet 12 may be in the shape of a cylinder with an aspect ratio no greater than 1, that is, a disk shape. That is to say, the length of the cylindrical built-in magnet 12 may not be greater than the diameter of the built-in magnet 12 . In addition, in other examples, the built-in magnet 12 may also be in the shape of a hollow cylinder.
在一些示例中,内置磁体12的中心轴线可以与外壳100的中心轴线共线。参见图2A,内置磁体12可以以中心轴线沿着AA'的方式布置。在这种情况下,内置磁体12的中心轴线与外壳100的中心轴线一致且图像采集装置11的光轴与外壳100的中心轴线一致,图像采集装置11的朝向能够通过调整内置磁体12的姿态来进行调整,例如调整内置磁体的偏转角度。In some examples, the central axis of built-in magnet 12 may be collinear with the central axis of housing 100 . Referring to Figure 2A, the built-in magnets 12 may be arranged with the central axis along AA'. In this case, the central axis of the built-in magnet 12 is consistent with the central axis of the housing 100 and the optical axis of the image capturing device 11 is consistent with the central axis of the housing 100. The orientation of the image capturing device 11 can be adjusted by adjusting the posture of the built-in magnet 12. Make adjustments, such as adjusting the deflection angle of the built-in magnet.
在一些示例中,胶囊型内窥镜10还可以包括感应线圈13(参见图2A)。感应线圈13可以基于变化的磁场而生成感应信号,感应信号可 以是例如电流信号、电压信号等电信号。在这种情况下,通过电磁设备20向感应线圈13施加变化的磁场并获取感应线圈13基于该变化的磁场所生成的感应信号,由此,感应线圈13的位置信息能够利用电磁特性来获取(稍后具体描述)。在各种实施例中,感应信号可以是数字信号或模拟信号。In some examples, the capsule endoscope 10 may also include an induction coil 13 (see Figure 2A). The induction coil 13 can generate an induction signal based on a changing magnetic field, and the induction signal can be an electrical signal such as a current signal, a voltage signal, or the like. In this case, the electromagnetic device 20 applies a changing magnetic field to the induction coil 13 and obtains an induction signal generated by the induction coil 13 based on the changing magnetic field. Thus, the position information of the induction coil 13 can be obtained using electromagnetic characteristics ( Described in detail later). In various embodiments, the sensed signal may be a digital signal or an analog signal.
在各种实施例中,感应线圈13与内置磁体12可以保持相对静止。也就是说,内置磁体12不会向感应线圈13施加变化的磁场。In various embodiments, induction coil 13 and built-in magnet 12 may remain relatively stationary. That is to say, the built-in magnet 12 does not apply a changing magnetic field to the induction coil 13 .
对胶囊型内窥镜10进行磁定位时,可能受到例如地磁场等各种环境磁场的影响,这些环境磁场通常为基本上保持静态的磁场。在这种情况下,通过使用感应线圈13来感知动态磁场并生成感应信号,由此,环境磁场对磁定位的影响能够被有效降低。When magnetically positioning the capsule endoscope 10 , it may be affected by various environmental magnetic fields, such as the geomagnetic field. These environmental magnetic fields are usually substantially static magnetic fields. In this case, by using the induction coil 13 to sense the dynamic magnetic field and generate an induction signal, the influence of the environmental magnetic field on the magnetic positioning can be effectively reduced.
在一些示例中,感应线圈13的中心轴线可以与外壳100的中心轴线平行。在一些示例中,感应线圈13的中心轴线可以与外壳100的中心轴线共线。参见图2A,感应线圈13可以以中心轴线平行于AA'的方式(进一步地,可以以中心轴线与AA'共线的方式)布置在容纳空间内。在这种情况下,胶囊型内窥镜10的朝向能够通过获取感应线圈13的轴向来方便地获取。In some examples, the central axis of induction coil 13 may be parallel to the central axis of housing 100 . In some examples, the central axis of induction coil 13 may be collinear with the central axis of housing 100 . Referring to FIG. 2A , the induction coil 13 may be arranged in the accommodation space in such a manner that the central axis is parallel to AA′ (further, the induction coil 13 may be arranged in such a manner that the central axis is collinear with AA′). In this case, the orientation of the capsule endoscope 10 can be easily acquired by acquiring the axial direction of the induction coil 13 .
在各种实施例中,感应线圈13的线圈面积可以为20mm 2至80mm 2,例如,20mm 2、25mm 2、30mm 2、35mm 2、40mm 2、45mm 2、50mm 2、55mm 2、60mm 2、65mm 2、70mm 2、75mm 2、或80mm 2。优选地,感应线圈13的线圈面积可以为40mm 2至60mm 2。另外,感应线圈13的匝数可以为50~500,例如50、100、150、200、250、300、350、400、450、或500。优选地,感应线圈13的匝数可以为100至300。感应线圈13的线径可以为0.03mm至0.3mm,例如,0.03mm、0.04mm、0.05mm、0.06mm、0.07mm、0.08mm、0.09mm 0.1mm、0.15mm、0.2mm、0.25mm或0.3mm。优选地,感应线圈13的线径可以为0.05~0.2mm。 In various embodiments, the coil area of the induction coil 13 may be 20mm 2 to 80mm 2 , for example, 20mm 2 , 25mm 2 , 30mm 2 , 35mm 2 , 40mm 2 , 45mm 2 , 50mm 2 , 55mm 2 , 60mm 2 , 65mm 2 , 70mm 2 , 75mm 2 , or 80mm 2 . Preferably, the coil area of the induction coil 13 may be 40 mm 2 to 60 mm 2 . In addition, the number of turns of the induction coil 13 may be 50 to 500, such as 50, 100, 150, 200, 250, 300, 350, 400, 450, or 500. Preferably, the number of turns of the induction coil 13 may be 100 to 300. The wire diameter of the induction coil 13 may be 0.03mm to 0.3mm, for example, 0.03mm, 0.04mm, 0.05mm, 0.06mm, 0.07mm, 0.08mm, 0.09mm, 0.1mm, 0.15mm, 0.2mm, 0.25mm or 0.3mm . Preferably, the wire diameter of the induction coil 13 may be 0.05-0.2 mm.
在一些示例中,感应线圈13的数量可以为一个或多个,例如1个、2个、3个或更多个。在一些示例中,多个感应线圈13的轴向也可以相异。多个感应线圈13中的一部分的中心轴线可以与外壳100的中心轴线平行(进一步地,可以共线)、另一部分的中心轴线可以与外壳100的中心轴线相交。In some examples, the number of induction coils 13 may be one or more, such as 1, 2, 3 or more. In some examples, the axial directions of the multiple induction coils 13 may also be different. The central axis of a part of the plurality of induction coils 13 may be parallel to the central axis of the housing 100 (further, may be collinear), and the central axis of another part may intersect with the central axis of the housing 100 .
图2B是示出了本实施方式示例所涉及的胶囊型内窥镜10的图像采集装置12与感应线圈13的结构示意图。在一些示例中,感应线圈13可以绕着图像采集装置11的镜头组件缠绕(参见图2B)。另外,为了方便地获得图像采集装置11的镜头组件的朝向,感应线圈13的中心轴线与图像采集装置11的镜头组件的光轴可以平行。进一步地,感应线圈13的中心轴线与图像采集装置11的镜头组件的光轴可以共线。当感应线圈13的数量为多个时,一部分感应线圈13的中心轴线可以平行于镜头组件的光轴、另一部分感应线圈13的中心轴线可以与镜头组件的光轴以预设角度相交。FIG. 2B is a schematic structural diagram showing the image acquisition device 12 and the induction coil 13 of the capsule endoscope 10 according to the example of this embodiment. In some examples, induction coil 13 may be wrapped around the lens assembly of image capture device 11 (see Figure 2B). In addition, in order to conveniently obtain the orientation of the lens assembly of the image acquisition device 11 , the central axis of the induction coil 13 and the optical axis of the lens assembly of the image acquisition device 11 may be parallel. Further, the central axis of the induction coil 13 and the optical axis of the lens assembly of the image acquisition device 11 may be collinear. When there are multiple induction coils 13 , the central axis of part of the induction coils 13 may be parallel to the optical axis of the lens assembly, and the central axis of another part of the induction coils 13 may intersect with the optical axis of the lens assembly at a preset angle.
在一些示例中,胶囊型内窥镜10还可以包括布置在容纳空间内的PCB14(参见图2A)。在PCB14上可以印刷有MEMS存储器(未图示)。存储器可以存储图像采集装置11所采集的图像和/或感应线圈13所生成的感应信号。In some examples, the capsule endoscope 10 may further include a PCB 14 disposed within the accommodation space (see FIG. 2A ). MEMS memory (not shown) may be printed on PCB 14 . The memory may store images collected by the image acquisition device 11 and/or induction signals generated by the induction coil 13 .
在一些示例中,胶囊型内窥镜10还可以包括磁传感器(未图示)。胶囊型内窥镜10的磁传感器可以为mems传感器并且可以印刷在PCB14上。胶囊型内窥镜10的磁传感器可以感测内置磁体12的磁场、外部设备的磁场、和/或环境磁场等。另外,胶囊型内窥镜10的磁传感器的输出数据与感应线圈13的输出数据可以具有相同的时间戳。在这种情况下,通过磁传感器与感应线圈13的配合使用,环境磁场的影响能够进一步降低,从而能够进一步提高磁定位的精度。In some examples, capsule endoscope 10 may also include a magnetic sensor (not shown). The magnetic sensor of the capsule endoscope 10 can be a mems sensor and can be printed on the PCB 14 . The magnetic sensor of the capsule endoscope 10 can sense the magnetic field of the built-in magnet 12, the magnetic field of an external device, and/or the environmental magnetic field, etc. In addition, the output data of the magnetic sensor of the capsule endoscope 10 and the output data of the induction coil 13 may have the same time stamp. In this case, through the cooperative use of the magnetic sensor and the induction coil 13, the influence of the environmental magnetic field can be further reduced, thereby further improving the accuracy of magnetic positioning.
另外,在一些示例中,通过胶囊型内窥镜10的磁传感器,也可以对磁控设备20进行磁探测,以获得磁控设备20与胶囊型内窥镜10的相对位置。将磁控设备20等效为磁偶极矩,基于电磁学原理,即可获得磁控设备20与胶囊型内窥镜10的相对位置(参考后文式Ⅱ)。在一些示例中,胶囊型内窥镜10的磁传感器的数量可以为多个,并且其中两个可以分别布置在胶囊型内窥镜10的轴向两端。In addition, in some examples, the magnetic sensor of the capsule endoscope 10 can also be used to magnetically detect the magnetic control device 20 to obtain the relative position of the magnetic control device 20 and the capsule endoscope 10 . The magnetic control device 20 is equivalent to a magnetic dipole moment, and based on the electromagnetic principle, the relative position of the magnetic control device 20 and the capsule endoscope 10 can be obtained (refer to Formula II below). In some examples, the number of magnetic sensors of the capsule endoscope 10 may be multiple, and two of them may be respectively arranged at both axial ends of the capsule endoscope 10 .
在一些示例中,胶囊型内窥镜10还可以包括惯性传感器(未图示)。在各种实施例中,惯性传感器可以测量胶囊型内窥镜10的惯性信号。另外,惯性传感器测量得到的惯性信号与感应线圈13测量得到的感应信号可以具有相匹配的时间信息,例如,惯性信号可以包括测量时刻,感应信号也可以包括测量时刻。由此,能够便于对惯性信号和感应信 号进行融合。In some examples, the capsule endoscope 10 may further include an inertial sensor (not shown). In various embodiments, the inertial sensor may measure the inertial signal of the capsule endoscope 10 . In addition, the inertial signal measured by the inertial sensor and the induction signal measured by the induction coil 13 may have matching time information. For example, the inertial signal may include the measurement time, and the induction signal may also include the measurement time. This facilitates the fusion of inertial signals and induction signals.
惯性传感器可以包括三轴加速度计和三轴陀螺仪。三轴加速度计和三轴陀螺仪可以为mems器件并且可以印刷在PCB14上。在各种实施例中,惯性传感器的朝向与感应线圈13的朝向可以相同或正交。由此,能够便于对惯性信号和感应信号进行融合。在各种实施例中,惯性传感器的朝向与外壳100的中心轴线可以相同或正交。在各种实施例中,惯性信号可以包括加速度计测量得到的胶囊型内窥镜10的加速度信息、以及陀螺仪测量得到的胶囊型内窥镜10的角速度信息。Inertial sensors may include three-axis accelerometers and three-axis gyroscopes. The three-axis accelerometer and three-axis gyroscope can be mems devices and can be printed on PCB14. In various embodiments, the orientation of the inertial sensor and the orientation of the induction coil 13 may be the same or orthogonal. As a result, the inertial signal and the induction signal can be easily fused. In various embodiments, the inertial sensor may be oriented the same as or orthogonal to the central axis of housing 100 . In various embodiments, the inertial signal may include acceleration information of the capsule endoscope 10 measured by an accelerometer, and angular velocity information of the capsule endoscope 10 measured by a gyroscope.
在各种实施例中,对惯性信号进行解算可以得到胶囊型内窥镜10的加速度a、位移p(以下有时也会称为位置p或坐标p)、以及姿态q等。例如,对加速度a进行解算可以得到胶囊型内窥镜10的速度υ,对速度υ进行解算可以得到胶囊型内窥镜10的位移p,对角速度ω进行解算可以得到胶囊型内窥镜10的姿态q。胶囊型内窥镜10的姿态q可以包括胶囊型内窥镜10的俯仰角、翻滚角和偏航角。In various embodiments, the acceleration a, displacement p (hereinafter sometimes also referred to as position p or coordinate p), attitude q, etc. of the capsule endoscope 10 can be obtained by solving the inertial signal. For example, the velocity υ of the capsule endoscope 10 can be obtained by solving the acceleration a, the displacement p of the capsule endoscope 10 can be obtained by solving the speed υ, and the capsule endoscope 10 can be obtained by solving the angular velocity ω. The posture q of mirror 10. The posture q of the capsule endoscope 10 may include the pitch angle, roll angle, and yaw angle of the capsule endoscope 10 .
如上所述,惯性传感器的朝向与外壳100的朝向可以相同,在这种情况下,对惯性传感器测量的角速度进行解算所得的俯仰角、翻滚角和偏航角,即可视为胶囊型内窥镜10的俯仰角、翻滚角和偏航角。As mentioned above, the orientation of the inertial sensor can be the same as the orientation of the housing 100. In this case, the pitch angle, roll angle and yaw angle obtained by solving the angular velocity measured by the inertial sensor can be regarded as the capsule-type internal The pitch angle, roll angle and yaw angle of the sight glass 10.
另外,如上所述,惯性传感器的朝向与感应线圈13的朝向可以相同,在这种情况下,对惯性传感器测量的角速度进行解算所得的俯仰角、翻滚角和偏航角,也可视为感应线圈13的俯仰角、翻滚角和偏航角。也即,对惯性传感器测量的角速度进行解算所得的俯仰角、翻滚角和偏航角,可以视为感应线圈13在世界坐标系下的朝向。In addition, as mentioned above, the orientation of the inertial sensor and the orientation of the induction coil 13 may be the same. In this case, the pitch angle, roll angle and yaw angle obtained by calculating the angular velocity measured by the inertial sensor can also be regarded as The pitch angle, roll angle and yaw angle of the induction coil 13. That is, the pitch angle, roll angle and yaw angle obtained by calculating the angular velocity measured by the inertial sensor can be regarded as the orientation of the induction coil 13 in the world coordinate system.
在各种实施例中,基于胶囊型内窥镜10的角速度ω和加速度a可进行惯性导航的姿态解算。具体而言,基于姿态q、速度υ、位置p的微分方程,推导出它们的解,并转变成离散时间下的近似形式,从而可以在离散时间采样下,完成导航信息求解。具体如下:In various embodiments, attitude calculation of inertial navigation can be performed based on the angular velocity ω and acceleration a of the capsule endoscope 10 . Specifically, based on the differential equations of attitude q, velocity υ, and position p, their solutions are derived and converted into approximate forms in discrete time, so that navigation information can be solved under discrete time sampling. details as follows:
(1)姿态q的微分方程如下所示,(1) The differential equation of attitude q is as follows,
Figure PCTCN2022106295-appb-000005
Figure PCTCN2022106295-appb-000005
(2)速度υ的微分方程如下所示,其中,R wb为四元数q对应的旋转矩阵,g为重力加速度: (2) The differential equation of velocity υ is as follows, where R wb is the rotation matrix corresponding to the quaternion q, and g is the gravity acceleration:
Figure PCTCN2022106295-appb-000006
Figure PCTCN2022106295-appb-000006
(3)在解算出υ的基础上可进一步得出位移p的微分方程,如下所示:(3) On the basis of solving υ, the differential equation of displacement p can be further obtained, as shown below:
Figure PCTCN2022106295-appb-000007
Figure PCTCN2022106295-appb-000007
以上微分方程的通解如下:The general solution to the above differential equation is as follows:
基于旋转矩阵,R wb的解算如下: Based on the rotation matrix, R wb is solved as follows:
Figure PCTCN2022106295-appb-000008
Figure PCTCN2022106295-appb-000008
其中,in,
Figure PCTCN2022106295-appb-000009
Figure PCTCN2022106295-appb-000009
Figure PCTCN2022106295-appb-000010
Figure PCTCN2022106295-appb-000010
φ=|φ′|,即φ为矢量φ'的幅值,φ=|φ'|, that is, φ is the amplitude of vector φ',
基于四元数,q wb的解算如下: Based on quaternions, the solution of q wb is as follows:
Figure PCTCN2022106295-appb-000011
Figure PCTCN2022106295-appb-000011
其中,in,
Figure PCTCN2022106295-appb-000012
Figure PCTCN2022106295-appb-000012
速度υ的解算如下:The solution for velocity υ is as follows:
Figure PCTCN2022106295-appb-000013
Figure PCTCN2022106295-appb-000013
位移p的解算如下:The solution for displacement p is as follows:
Figure PCTCN2022106295-appb-000014
Figure PCTCN2022106295-appb-000014
or
Figure PCTCN2022106295-appb-000015
Figure PCTCN2022106295-appb-000015
通过上述惯性导航的解算,得到胶囊型内窥镜10的位移p和姿态q。Through the above-mentioned inertial navigation solution, the displacement p and attitude q of the capsule endoscope 10 are obtained.
另外,在使用惯性传感器的测量结果进行状态预估时,传统的做法是对每一时刻的惯性传感器输出都进行一次预估,通过反复迭代的方法不断调整预估量。当惯性传感器的采样率比感应线圈13更高的时候,需要进行多次迭代后再进行状态量的更新,如此可能会导致计算量过大,计算效率比较低。为了提高计算效率,可以使用预积分的计算方法,主要做法在于,对惯性传感器在第i到第j时刻(中间包括惯性传感器的多个输出时刻)时间段内的输出量进行积分,并结合惯性传感器在第i时刻的输出量来获得姿态q、速度υ、位置p在第j时刻的值。具体而言,第j时刻的状态量(姿态q、速度υ、位置p)是第i时刻的状态量与[i,j]时间段内的积分值之和。在这种情况下,通过对[i,j]时间段内的积分值进行计算,在该时间段内不再进行反复迭代,从而能够提高计算效率。In addition, when using the measurement results of inertial sensors for state estimation, the traditional approach is to estimate the inertial sensor output at each moment and continuously adjust the estimate through repeated iterations. When the sampling rate of the inertial sensor is higher than that of the induction coil 13, multiple iterations are required before updating the state quantity, which may result in excessive calculation and low calculation efficiency. In order to improve calculation efficiency, the pre-integration calculation method can be used. The main method is to integrate the output of the inertial sensor in the time period from the i-th to the j-th time (including multiple output moments of the inertial sensor), and combine it with the inertial The output of the sensor at the i-th moment is used to obtain the values of attitude q, speed υ, and position p at the j-th moment. Specifically, the state quantity (attitude q, speed υ, position p) at the j-th moment is the sum of the state quantity at the i-th moment and the integral value in the [i, j] time period. In this case, by calculating the integral value in the [i, j] time period, no repeated iterations are performed in this time period, thereby improving the calculation efficiency.
基于惯性传感器的惯性信号所获得的胶囊型内窥镜10的姿态和坐标通常具有内禀属性,即与环境无关,上述姿态q和位移p可以用于反映胶囊型内窥镜10的运动状态。但由于例如惯性传感器自身的误差(例如,陀螺仪和加速度计的偏置、随机游走和白噪声等),可能造成基于惯性传感器的惯性信号所获得的姿态q和位移p在精确度方面有待提高。在这种情况下,通过融合基于惯性传感器的惯性信号所获得的姿态q和位移p与感应线圈13所测得的感应信号,能够有效提高胶囊型内窥镜10的姿态和坐标的精确度。The attitude and coordinates of the capsule endoscope 10 obtained based on the inertial signal of the inertial sensor usually have intrinsic properties, that is, they are independent of the environment. The above attitude q and displacement p can be used to reflect the motion state of the capsule endoscope 10 . However, due to errors such as the inertial sensor itself (for example, the bias of the gyroscope and accelerometer, random walk and white noise, etc.), the attitude q and displacement p obtained based on the inertial signal of the inertial sensor may be less accurate. improve. In this case, by fusing the attitude q and displacement p obtained based on the inertial signal of the inertial sensor with the induction signal measured by the induction coil 13, the accuracy of the attitude and coordinates of the capsule endoscope 10 can be effectively improved.
本领域技术人员可以理解,基于感应线圈13的感应信号而获得的胶囊型内窥镜10的姿态和坐标、以及基于惯性传感器的惯性信号而获得的胶囊型内窥镜10的姿态和坐标,二者之间具有关联关系,都是为了获得胶囊型内窥镜10的运动状态。基于此,通过融合惯性信号以对感应信号的解算进行优化,或者融合感应信号以对惯性信号的解算进行优化。由此,能够有效提高解算惯性信号和/或感应信号的准确性,从而能够提高对胶囊型内窥镜10进行定位的精度。Those skilled in the art can understand that the posture and coordinates of the capsule endoscope 10 obtained based on the induction signal of the induction coil 13 and the posture and coordinates of the capsule endoscope 10 obtained based on the inertial signal of the inertial sensor. There is a correlation between them, all in order to obtain the motion state of the capsule endoscope 10 . Based on this, the solution of the induction signal is optimized by fusing the inertial signal, or the induction signal is fused to optimize the solution of the inertial signal. As a result, the accuracy of calculating the inertial signal and/or the sensing signal can be effectively improved, thereby improving the accuracy of positioning the capsule endoscope 10 .
在一些示例中,使用误差状态卡尔曼滤波算法(ESKF)并融合感应信号,能够对基于惯性信号而得到的运动状态进行优化,从而能够对胶囊型内窥镜10的运动状态和/或坐标进行优化。在另一些示例中,使用误差状态卡尔曼滤波算法(ESKF)并融合惯性信号,能够对基于感应 信号而得到的坐标进行优化,从而能够对胶囊型内窥镜10的运动状态和/或坐标进行优化。In some examples, using an error state Kalman filter algorithm (ESKF) and fusing sensing signals, the motion state obtained based on the inertial signal can be optimized, so that the motion state and/or coordinates of the capsule endoscope 10 can be optimized. optimization. In other examples, using the error state Kalman filter algorithm (ESKF) and fusing the inertial signal, the coordinates obtained based on the sensing signal can be optimized, so that the motion state and/or coordinates of the capsule endoscope 10 can be optimized. optimization.
在一些示例中,使用误差状态卡尔曼滤波算法(ESKF)并融合惯性信号,也能够对基于胶囊型内窥镜10的磁传感器的测量值的解算进行优化。或者,使用误差状态卡尔曼滤波算法(ESKF)并融合胶囊型内窥镜10的磁传感器的测量值,对惯性信号的解算进行优化。In some examples, the calculation of measurements based on the magnetic sensor of the capsule endoscope 10 can also be optimized using an error state Kalman filter algorithm (ESKF) and fusing the inertial signals. Alternatively, the error state Kalman filter algorithm (ESKF) is used and the measurement value of the magnetic sensor of the capsule endoscope 10 is fused to optimize the solution of the inertial signal.
具体而言,卡尔曼滤波算法(KF)的工作原理如下所示,x k表示k时刻的状态量,根据已知的状态转移矩阵A和控制方式B从k-1时刻得到先验结果
Figure PCTCN2022106295-appb-000016
u k-1发为k-1时刻的控制变量,是已知量。状态转移过程中会产生噪声,用Q来描述,计算出该步骤的协方差P。根据感应线圈测量的结果H,以及相应的测量误差R,可以对x k进行更新,该更新过程可以用卡尔曼增益K来描述。得到K以后,将上一步得到的
Figure PCTCN2022106295-appb-000017
和用观测得到的
Figure PCTCN2022106295-appb-000018
按照K进行加权平均,就可以得到最优化估计量
Figure PCTCN2022106295-appb-000019
具体如下:
Specifically, the working principle of the Kalman filter algorithm ( KF ) is as follows.
Figure PCTCN2022106295-appb-000016
u k-1 is the control variable at time k-1, which is a known quantity. Noise will be generated during the state transition process, which is described by Q. Calculate the covariance P of this step. According to the measurement result H of the induction coil and the corresponding measurement error R, x k can be updated. The update process can be described by the Kalman gain K. After getting K, use what we got in the previous step
Figure PCTCN2022106295-appb-000017
and observed
Figure PCTCN2022106295-appb-000018
By performing a weighted average according to K, the optimal estimator can be obtained
Figure PCTCN2022106295-appb-000019
details as follows:
卡尔曼滤波器时间更新算法如下:The Kalman filter time update algorithm is as follows:
Figure PCTCN2022106295-appb-000020
Figure PCTCN2022106295-appb-000020
Figure PCTCN2022106295-appb-000021
Figure PCTCN2022106295-appb-000021
卡尔曼滤波器状态更新更新算法如下:The Kalman filter state update algorithm is as follows:
Figure PCTCN2022106295-appb-000022
Figure PCTCN2022106295-appb-000022
Figure PCTCN2022106295-appb-000023
Figure PCTCN2022106295-appb-000023
Figure PCTCN2022106295-appb-000024
Figure PCTCN2022106295-appb-000024
ESKF(误差状态卡尔曼滤波算法)是KF(卡尔曼滤波算法)的一个衍生品,它将估计量变为误差error加上真实值truth,真实值truth就是指目标(在本实施方式中,目标为胶囊型内窥镜10)的姿态q、速度υ和位移p,而误差error是指惯性传感器的输出误差(加速计和陀螺仪的随机游走、陀螺仪的零偏误差等)和包含惯性传感器误差的目标状态误差。通过将目标位姿表述为包含误差的形式,能够更准确地确定协方差矩阵P,从而精确计算卡尔曼增益K。ESKF (Error State Kalman Filter Algorithm) is a derivative of KF (Kalman Filter Algorithm), which changes the estimator into the error error plus the true value truth. The true value truth refers to the target (in this implementation, the target is The attitude q, speed υ and displacement p of the capsule endoscope 10), and the error error refers to the output error of the inertial sensor (random walk of the accelerometer and gyroscope, bias error of the gyroscope, etc.) and includes the inertial sensor Error target state error. By expressing the target pose as a form including errors, the covariance matrix P can be determined more accurately, and the Kalman gain K can be accurately calculated.
将上式中的H替换为感应电压E(稍后描述)的表达式,进行状态更新,即可得到更准确的位置和姿态。一个感应线圈13对应一个观 测值,多个感应线圈组成的阵列则对应观测值向量H。By replacing H in the above formula with the expression of the induced voltage E (described later) and updating the status, a more accurate position and attitude can be obtained. One induction coil 13 corresponds to an observation value, and an array composed of multiple induction coils corresponds to the observation value vector H.
在一些示例中,胶囊型内窥镜10的中心轴线、图像采集模块11的光轴、内置磁体12的磁轴线、感应线圈13的中心轴线可以共线,并且惯性传感器的朝向可以沿着胶囊型内窥镜10的中心轴线。In some examples, the central axis of the capsule endoscope 10 , the optical axis of the image acquisition module 11 , the magnetic axis of the built-in magnet 12 , and the central axis of the induction coil 13 may be collinear, and the orientation of the inertial sensor may be along the capsule. The central axis of the endoscope 10.
在一些示例中,胶囊型内窥镜10还可以包括布置在容纳空间内的无线收发模块15(参见图2A)。无线收发模块15可以将图像采集装置11所采集的图像、感应线圈13所生成的感应信号等传输至外部。由此,能够便于将图像采集装置11获取的图像、感应线圈13所生成的感应信号等传输至外部。另外,为了便于实时查看图像采集装置11所采集的图像、或实时获取胶囊型内窥镜10的位置等,无线收发模块15可以与外部实时通信。In some examples, the capsule endoscope 10 may further include a wireless transceiver module 15 disposed in the accommodation space (see FIG. 2A ). The wireless transceiver module 15 can transmit the images collected by the image acquisition device 11 , the induction signals generated by the induction coil 13 , etc. to the outside. Thereby, the image acquired by the image acquisition device 11, the induction signal generated by the induction coil 13, etc. can be easily transmitted to the outside. In addition, in order to facilitate real-time viewing of images collected by the image collection device 11 or real-time acquisition of the position of the capsule endoscope 10, etc., the wireless transceiver module 15 can communicate with the outside in real time.
在一些示例中,胶囊型内窥镜10还可以包括布置在容纳空间内的电源16(参见图2A)。电源16可以为图像采集装置11、PCB14、无线收发模块15等提供电能。但本实施方式的示例并不限于此,在另一些示例中,出于使胶囊型内窥镜10小型化的目的,电源16也可以布置在胶囊型内窥镜10的外部,并且通过无线的方式为PCB14、无线收发模块15等置于容纳空间内的器件提供电能。In some examples, the capsule endoscope 10 may further include a power supply 16 disposed in the accommodation space (see FIG. 2A ). The power supply 16 can provide power for the image acquisition device 11, PCB 14, wireless transceiver module 15, etc. However, the examples of this embodiment are not limited to this. In other examples, for the purpose of miniaturizing the capsule endoscope 10 , the power supply 16 can also be arranged outside the capsule endoscope 10 , and through a wireless The method provides electric energy to the PCB 14, wireless transceiver module 15 and other devices placed in the accommodation space.
本领域技术人员可以理解,图2A中各器件在容纳空间内的布置位置都是示例性的,并不局限于此。例如,图2A中的内置磁体12与电源16的位置可以互换。在图2A中,作为一个可选实施例,无线收发模块15可以布置在容纳空间中靠近第二端部壳体100c的一端。在其他实施例中,无线收发模块15也可以布置在容纳空间的中部等。Those skilled in the art can understand that the arrangement positions of each device in the accommodation space in FIG. 2A are examples and are not limited thereto. For example, the positions of built-in magnet 12 and power source 16 in Figure 2A can be interchanged. In FIG. 2A , as an optional embodiment, the wireless transceiver module 15 may be arranged at one end of the accommodation space close to the second end housing 100c. In other embodiments, the wireless transceiver module 15 may also be arranged in the middle of the accommodation space.
如上所述,当使用胶囊型内窥镜10在胃腔内采集图像时,为了采集感兴趣部位的图像,通常需要使用外部的设备来对胶囊型内窥镜10进行引导,以使胶囊型内窥镜10移动至感兴趣部位并且使胶囊型内窥镜10的镜头组件朝向感兴趣部位。为此,本实施方式还提供一种能够对胶囊型内窥镜10施加磁作用的电磁设备20,以用于对胶囊型内窥镜10进行磁引导。As mentioned above, when using the capsule endoscope 10 to collect images in the gastric cavity, in order to collect images of the region of interest, it is usually necessary to use external equipment to guide the capsule endoscope 10 so that the capsule endoscope 10 can The endoscope 10 is moved to the site of interest and the lens assembly of the capsule endoscope 10 is directed toward the site of interest. To this end, this embodiment also provides an electromagnetic device 20 capable of exerting a magnetic effect on the capsule endoscope 10 for magnetic guidance of the capsule endoscope 10 .
图3A是示出了本实施方式示例所涉及的电磁设备20的示意图。本实施方式的电磁设备20可以包括操作磁体21(参见图3A)。操作磁体21可以对胶囊型内窥镜10的内置磁体12施加磁作用以对胶囊型内 窥镜10进行磁引导,以使胶囊型内窥镜10发生位移。FIG. 3A is a schematic diagram showing the electromagnetic device 20 according to the example of this embodiment. The electromagnetic device 20 of this embodiment may include an operating magnet 21 (see FIG. 3A). The operating magnet 21 can exert a magnetic effect on the built-in magnet 12 of the capsule endoscope 10 to magnetically guide the capsule endoscope 10, so that the capsule endoscope 10 is displaced.
在一些示例中,操作磁体21可以包括永磁体211(参见图3A)。永磁体211可以呈圆柱状、球状等。另外,永磁体211的磁轴线可以与中心轴线共线。In some examples, operating magnet 21 may include permanent magnet 211 (see Figure 3A). The permanent magnet 211 may be cylindrical, spherical, etc. Additionally, the magnetic axis of the permanent magnet 211 may be collinear with the central axis.
出于便于调整永磁体211施加至胶囊型内窥镜10的磁场强度、或者引导胶囊型内窥镜10沿着竖直方向移动等方面的考虑,永磁体211可以沿着竖直方向移动,例如,通过降低永磁体211的高度,能够增大永磁体211施加至胶囊型内窥镜10的磁场强度。For the purpose of conveniently adjusting the magnetic field intensity applied by the permanent magnet 211 to the capsule endoscope 10 or guiding the capsule endoscope 10 to move in the vertical direction, the permanent magnet 211 may move along the vertical direction, for example , by reducing the height of the permanent magnet 211, the intensity of the magnetic field applied by the permanent magnet 211 to the capsule endoscope 10 can be increased.
出于引导胶囊型内窥镜10沿着水平方向移动等目的,永磁体211可以沿着水平方向移动。出于调整胶囊型内窥镜10的姿态等目的,永磁体211还可以转动,例如绕着沿水平方向的轴进行转动。For the purpose of guiding the capsule endoscope 10 to move in the horizontal direction, the permanent magnet 211 may move in the horizontal direction. For purposes such as adjusting the posture of the capsule endoscope 10, the permanent magnet 211 can also rotate, for example, around an axis along the horizontal direction.
需要说明的是,出于描述方便的考虑,图3A省略了例如支承架、机械臂、电机等机构。本领域技术人员可以理解,本实施方式的电磁设备20还可以包括机械臂(未图示),机械臂可以驱动操作磁体21沿着水平方面、竖直方向移动,机构臂还可以驱动永磁体211转动。It should be noted that, for convenience of description, FIG. 3A omits mechanisms such as support frames, robotic arms, and motors. Those skilled in the art can understand that the electromagnetic device 20 of this embodiment may also include a mechanical arm (not shown). The mechanical arm can drive the operating magnet 21 to move in the horizontal and vertical directions. The mechanical arm can also drive the permanent magnet 211 Turn.
在一些示例中,操作磁体21还可以包括基于变化电流的电磁体212(参见图3A)。电磁体212可以为线圈。通过调整通入电磁体212中的电流,也能够调整胶囊型内窥镜10所受到的磁场强度。在一些示例中,通过调整通入电磁体212中的电流的大小和/或方向来调节电磁休212所产生的磁场。在一些示例中,电磁体212可以呈柱状。另外,电磁体212的轴线可以沿着竖直方向。In some examples, operating magnet 21 may also include a varying current-based electromagnet 212 (see Figure 3A). Electromagnet 212 may be a coil. By adjusting the current flowing into the electromagnet 212, the intensity of the magnetic field received by the capsule endoscope 10 can also be adjusted. In some examples, the magnetic field generated by electromagnet 212 is adjusted by adjusting the magnitude and/or direction of the current flowing in electromagnet 212 . In some examples, electromagnet 212 may be cylindrical. Additionally, the axis of electromagnet 212 may be along a vertical direction.
当引导胶囊型内窥镜10时,出于精准引导等目的,例如更精准地将胶囊型内窥镜10引导至感兴趣部位,需要获知胶囊型内窥镜10在引导过程中所处的位置。When guiding the capsule endoscope 10 , for purposes such as precise guidance, for example, to more accurately guide the capsule endoscope 10 to a site of interest, it is necessary to know the position of the capsule endoscope 10 during the guidance process. .
为此,电磁设备20还可以包括电磁线圈22(参见图3A),通过电磁线圈22向胶囊型内窥镜10的感应线圈13施加变化的磁场,以使感应线圈13生成感应信号,进一步地,基于感应线圈13所生成的感应信号来获取胶囊型内窥镜10的位置信息,例如获取胶囊型内窥镜10与电磁设备20的相对坐标。To this end, the electromagnetic device 20 may also include an electromagnetic coil 22 (see FIG. 3A), through which a changing magnetic field is applied to the induction coil 13 of the capsule endoscope 10, so that the induction coil 13 generates an induction signal. Further, The position information of the capsule endoscope 10 is obtained based on the induction signal generated by the induction coil 13 , for example, the relative coordinates of the capsule endoscope 10 and the electromagnetic device 20 are obtained.
在各种实施例中,电磁线圈22可以是导线绕制而成的电磁器件。在电磁线圈22中通入电流可以生成磁场。另外,如果从电磁线圈22 中流经而过的电流的幅值、方向、频率等发生变化,电磁线圈22所生成的磁场也可以随之发生变化。例如,当电流幅值增加时,电磁线圈22所生成的磁场强度将会增加,当电流方向改变时,电磁线圈22所生成的磁场的方向将会改变。另外,电磁线圈22所生成的磁场方向的变化频率与电流方向的变化频率可以是相同的。In various embodiments, the electromagnetic coil 22 may be a wire-wound electromagnetic device. Passing current through the electromagnetic coil 22 generates a magnetic field. In addition, if the amplitude, direction, frequency, etc. of the current flowing through the electromagnetic coil 22 change, the magnetic field generated by the electromagnetic coil 22 may also change accordingly. For example, when the current amplitude increases, the intensity of the magnetic field generated by the electromagnetic coil 22 will increase, and when the direction of the current changes, the direction of the magnetic field generated by the electromagnetic coil 22 will change. In addition, the frequency of changes in the direction of the magnetic field generated by the electromagnetic coil 22 and the frequency of changes in the direction of the current may be the same.
在各种实施例中,在电磁线圈13中通入的电流可以为以预定规律进行变化的电流。由此,电磁线圈13能够生成变化的磁场。在一些实施例中,在电磁线圈13中通入的电流可以为幅值变化的直流电,例如幅值可以以逐渐增大、逐渐减小、或者以增大-减小-增大-减小的方式发生变化。在另一些实施例中,在电磁线圈13中通入的电流也可以为方向以预定频率发生变化的交变电流,例如,预定频率可以为500Hz至50KHz。In various embodiments, the current passed through the electromagnetic coil 13 may be a current that changes with a predetermined rule. As a result, the electromagnetic coil 13 can generate a changing magnetic field. In some embodiments, the current flowing through the electromagnetic coil 13 may be a direct current with varying amplitude. For example, the amplitude may gradually increase, gradually decrease, or increase-decrease-increase-decrease. The way changes. In other embodiments, the current flowing through the electromagnetic coil 13 may also be an alternating current whose direction changes at a predetermined frequency. For example, the predetermined frequency may be 500 Hz to 50 KHz.
如上所述,电磁设备20的电磁线圈22可以基于电流而产生磁场并可以基于变化的电流而产生变化的磁场,胶囊型内窥镜10的感应线圈13可以基于变化的磁场而产生电流。在这种情况下,通过在电磁线圈22中通入以预定规律进行变化的电流,电磁线圈22能够产生变化规律已知的动态磁场,感应线圈13可以基于该动态磁场而产生感应信号(例如,感应电流或感应电压)。基于感应线圈13和电磁线圈22的基本参数以及电磁学原理,即可通过计算获知感应线圈13与电磁线圈22之间的相对位置,具体而言:As described above, the electromagnetic coil 22 of the electromagnetic device 20 can generate a magnetic field based on a current and can generate a changing magnetic field based on a changing current, and the induction coil 13 of the capsule endoscope 10 can generate a current based on the changing magnetic field. In this case, by passing a current that changes with a predetermined law into the electromagnetic coil 22, the electromagnetic coil 22 can generate a dynamic magnetic field with a known changing law, and the induction coil 13 can generate an induction signal based on the dynamic magnetic field (for example, induced current or induced voltage). Based on the basic parameters of the induction coil 13 and the electromagnetic coil 22 and the electromagnetic principles, the relative position between the induction coil 13 and the electromagnetic coil 22 can be obtained through calculation, specifically:
Figure PCTCN2022106295-appb-000025
Figure PCTCN2022106295-appb-000025
在式Ⅰ中,μ 0表示真空磁导率(permeability);N 1表示电磁线圈22的匝数,S 1表示电磁线圈22的线圈面积,
Figure PCTCN2022106295-appb-000026
表示电磁线圈22的朝向,I表示电磁线圈22的电流的幅值,f表示电磁线圈22的电流的交变频率;E表示感应线圈13所生成的感应电压,N 2表示感应线圈13的匝数,S 2表示感应线圈13的线圈面积,
Figure PCTCN2022106295-appb-000027
表示感应线圈13的朝向,
Figure PCTCN2022106295-appb-000028
表示感应线圈13相较于电磁线圈22的位置矢量(感应线圈13与电磁线圈22的相对坐标)。
In formula I, μ 0 represents vacuum permeability (permeability); N 1 represents the number of turns of the electromagnetic coil 22, and S 1 represents the coil area of the electromagnetic coil 22.
Figure PCTCN2022106295-appb-000026
represents the orientation of the electromagnetic coil 22, I represents the amplitude of the current of the electromagnetic coil 22, f represents the alternating frequency of the current of the electromagnetic coil 22; E represents the induced voltage generated by the induction coil 13, and N 2 represents the number of turns of the induction coil 13 , S 2 represents the coil area of the induction coil 13,
Figure PCTCN2022106295-appb-000027
Indicates the orientation of the induction coil 13,
Figure PCTCN2022106295-appb-000028
Indicates the position vector of the induction coil 13 compared to the electromagnetic coil 22 (the relative coordinates of the induction coil 13 and the electromagnetic coil 22).
另外,在式Ⅰ中,电磁线圈22的匝数N 1、线圈面积S 1、朝向
Figure PCTCN2022106295-appb-000029
电流的幅值I、电流的交变频率f、以及感应线圈13的匝数N 2、线圈面积S 2为已知量;感应线圈13所生成的感应电压E可以通过观测获得。 通过计算感应线圈13的朝向
Figure PCTCN2022106295-appb-000030
及位置矢量
Figure PCTCN2022106295-appb-000031
以获知感应线圈13与电磁线圈22的相对位置。基于各项已知量以及观测量E可以对感应线圈13的朝向
Figure PCTCN2022106295-appb-000032
及位置矢量
Figure PCTCN2022106295-appb-000033
进行估算,从而获知感应线圈13与电磁线圈22的相对位置。
In addition, in Formula I, the number of turns N 1 of the electromagnetic coil 22, the coil area S 1 , and the direction
Figure PCTCN2022106295-appb-000029
The amplitude I of the current, the alternating frequency f of the current, the number of turns N 2 of the induction coil 13 and the coil area S 2 are known quantities; the induced voltage E generated by the induction coil 13 can be obtained through observation. By calculating the orientation of the induction coil 13
Figure PCTCN2022106295-appb-000030
and position vector
Figure PCTCN2022106295-appb-000031
To obtain the relative position of the induction coil 13 and the electromagnetic coil 22 . Based on various known quantities and the observed quantity E, the orientation of the induction coil 13 can be determined.
Figure PCTCN2022106295-appb-000032
and position vector
Figure PCTCN2022106295-appb-000033
Estimation is performed to obtain the relative positions of the induction coil 13 and the electromagnetic coil 22 .
在一些实施例中,基于式Ⅰ对朝向
Figure PCTCN2022106295-appb-000034
及位置矢量
Figure PCTCN2022106295-appb-000035
进行估算时可以使用无迹卡尔曼滤波算法(UKF)。具体而言,无迹卡尔曼滤波算法是一种利用线性或者非线性系统状态方程(参见式Ⅰ),通过输入观测数据(例如,式Ⅰ中的E),对系统状态(例如,朝向
Figure PCTCN2022106295-appb-000036
及位置矢量
Figure PCTCN2022106295-appb-000037
)估计的算法。在该算法中,观测量E被假设为呈高斯分布,基于贝叶斯定理,计算朝向
Figure PCTCN2022106295-appb-000038
及位置矢量
Figure PCTCN2022106295-appb-000039
在后验情况下(即,观测量E及其在高斯分布中所处位置被获知后)的条件概率,从而对朝向
Figure PCTCN2022106295-appb-000040
及位置矢量
Figure PCTCN2022106295-appb-000041
进行估算。
In some embodiments, the orientation of
Figure PCTCN2022106295-appb-000034
and position vector
Figure PCTCN2022106295-appb-000035
The unscented Kalman filter algorithm (UKF) can be used for estimation. Specifically, the unscented Kalman filter algorithm is a method that uses linear or nonlinear system state equations (see Formula I) to input observation data (for example, E in Formula I) to the system state (for example, orientation
Figure PCTCN2022106295-appb-000036
and position vector
Figure PCTCN2022106295-appb-000037
) estimation algorithm. In this algorithm, the observation quantity E is assumed to be Gaussian distributed, and based on Bayes' theorem, the direction is calculated
Figure PCTCN2022106295-appb-000038
and position vector
Figure PCTCN2022106295-appb-000039
In the posterior case (that is, after the observation E and its position in the Gaussian distribution are known), the conditional probability of the orientation
Figure PCTCN2022106295-appb-000040
and position vector
Figure PCTCN2022106295-appb-000041
Make an estimate.
在上述使用无迹卡尔曼滤波算法(UKF)的实施例中,观测量E的高斯分布可以基于电磁线圈的匝数N 1、线圈面积S 1、朝向
Figure PCTCN2022106295-appb-000042
电流的幅值I、电流的交变频率f等各项参数、以及胶囊型内窥镜10与电磁线圈22的竖直距离和水平距离等而建立。
In the above embodiment using the unscented Kalman filter algorithm (UKF), the Gaussian distribution of the observation quantity E can be based on the number of turns N 1 of the electromagnetic coil, the coil area S 1 , the orientation
Figure PCTCN2022106295-appb-000042
It is established based on various parameters such as the amplitude I of the current, the alternating frequency f of the current, and the vertical and horizontal distances between the capsule endoscope 10 and the electromagnetic coil 22 .
在另一些实施例中,对朝向
Figure PCTCN2022106295-appb-000043
及位置矢量
Figure PCTCN2022106295-appb-000044
进行估算时也可以使用LM非线性优化算法(列文伯格-马夸尔特算法)。LM非线性优化算法是一种利用梯度求最大或最小值的非线性最小二乘算法。具体而言,当E的观测量被获知后,对朝向
Figure PCTCN2022106295-appb-000045
及位置矢量
Figure PCTCN2022106295-appb-000046
在其领域内做线性近似,并忽略二阶以上的导数项,从而转化为线性最小二乘问题。
In other embodiments, the orientation
Figure PCTCN2022106295-appb-000043
and position vector
Figure PCTCN2022106295-appb-000044
The LM nonlinear optimization algorithm (Levenberg-Marquardt algorithm) can also be used for estimation. The LM nonlinear optimization algorithm is a nonlinear least squares algorithm that uses gradients to find the maximum or minimum value. Specifically, when the observation quantity of E is known, the orientation
Figure PCTCN2022106295-appb-000045
and position vector
Figure PCTCN2022106295-appb-000046
Make a linear approximation within its domain and ignore derivative terms above the second order, thus transforming it into a linear least squares problem.
例如,在E的观测量被获知的情况下,执行如下步骤:1)为位置矢量
Figure PCTCN2022106295-appb-000047
设定一个初始值并设定一个初始变化范围(通常可以设定为理论的最大范围);2)以该初始值为中心,在该初始变化范围内寻找第一优选值;3)基于第一优选值获得E的第一计算值;4)将E的第一计算值与E的观测量进行比较。若E的计算值相较于E的观测量的降量在预定阈值以内,则设定第一变化范围,并执行上述步骤2)至步骤4)的规则,即以第一优选值为中心在第一变化范围内寻找第二优选值,基于第二优选值获得E的第二计算值,将E的第二计算值与E的观测量进行比较。若E的计算值相较于E的观测量的降量在预定阈值以外,则重新设定变化范围,并执行上述步骤2)至步骤4)的规则。由此, 对朝向
Figure PCTCN2022106295-appb-000048
及位置矢量
Figure PCTCN2022106295-appb-000049
进行估算。
For example, when the observation quantity of E is known, perform the following steps: 1) Be the position vector
Figure PCTCN2022106295-appb-000047
Set an initial value and an initial change range (usually can be set to the theoretical maximum range); 2) Center the initial value and find the first optimal value within the initial change range; 3) Based on the first Prefer the value to obtain the first calculated value of E; 4) Compare the first calculated value of E with the observed value of E. If the decrease in the calculated value of E compared to the observed value of E is within the predetermined threshold, then set the first change range, and execute the rules from steps 2) to 4) above, that is, center on the first preferred value. Find the second preferred value within the first variation range, obtain the second calculated value of E based on the second preferred value, and compare the second calculated value of E with the observed value of E. If the decrease in the calculated value of E compared to the observed value of E is outside the predetermined threshold, the change range is reset and the rules from steps 2) to 4) above are executed. From this, the orientation
Figure PCTCN2022106295-appb-000048
and position vector
Figure PCTCN2022106295-appb-000049
Make an estimate.
图4是示出了本实施方式示例所涉及的坐标系转换的示意图。在图4所示的实施例中,(W)表示世界坐标系,其中x w、y w和z w分别为世界坐标系的三个坐标轴。(D)表示操作磁体21的坐标系,其中x d、y d和z d分别为操作磁体21坐标系的三个坐标轴。(C)表示电磁线圈22的坐标系,其中x c、y c和z c分别为电磁线圈22坐标系的三个坐标轴。(E)表示胶囊内窥镜10的坐标系,其中x e、y e和z e分别为胶囊型内窥镜10坐标系的三个坐标轴。 FIG. 4 is a schematic diagram showing coordinate system conversion according to the example of this embodiment. In the embodiment shown in Figure 4, (W) represents the world coordinate system, where xw , yw and zw are the three coordinate axes of the world coordinate system respectively. (D) represents the coordinate system of the operating magnet 21, where x d , y d and z d are respectively the three coordinate axes of the coordinate system of the operating magnet 21 . (C) represents the coordinate system of the electromagnetic coil 22, where x c , y c and z c are respectively the three coordinate axes of the coordinate system of the electromagnetic coil 22 . (E) represents the coordinate system of the capsule endoscope 10 , where x e , y e , and ze are respectively the three coordinate axes of the coordinate system of the capsule endoscope 10 .
在如图4所示的实施例中,经过上述计算后获知了感应线圈13在电磁线圈22坐标系下的坐标(即,感应线圈13与电磁线圈22的相对位置)以及感应线圈13在世界坐标系下的朝向,融合电磁线圈22在世界坐标系下的坐标,即可获得感应线圈13在世界坐标系下的坐标。进一步地,融合操作磁体21在世界坐标系下的坐标,即可获得感应线圈13在操作磁体21坐标下的坐标(即,感应线圈13与操作磁体21的相对位置)。由此,胶囊型内窥镜10与电磁设备20的相对坐标被获得。In the embodiment shown in FIG. 4 , after the above calculation, the coordinates of the induction coil 13 in the coordinate system of the electromagnetic coil 22 (that is, the relative position of the induction coil 13 and the electromagnetic coil 22 ) and the world coordinate of the induction coil 13 are obtained. The coordinates of the induction coil 13 in the world coordinate system can be obtained by fusing the coordinates of the electromagnetic coil 22 in the world coordinate system with the orientation in the world coordinate system. Furthermore, by fusing the coordinates of the operating magnet 21 in the world coordinate system, the coordinates of the induction coil 13 in the coordinates of the operating magnet 21 (ie, the relative position of the induction coil 13 and the operating magnet 21) can be obtained. Thereby, the relative coordinates of the capsule endoscope 10 and the electromagnetic device 20 are obtained.
在各种实施例中,电磁线圈13的线圈面积可以为50mm 2至300mm 2,例如,50mm 2、60mm 2、70mm 2、80mm 2、90mm 2、100mm 2、110mm 2、120mm 2、130mm 2、113mm 2、140mm 2、150mm 2、200mm 2、250mm 2、或300mm 2。优选地,电磁线圈13的线圈面积可以为80~200mm 2。另外,电磁线圈13的匝数可以为50~500,50、100、150、200、250、300、350、400、450、或500。优选地,电磁线圈13的匝数可以为100~300。电磁线圈13的线径可以为0.3mm至0.8mm,例如,0.3mm、0.4mm、0.5mm、0.6mm、0.7mm、或0.8mm。优选地,电磁线圈13的线径可以为0.4mm至0.7mm。 In various embodiments, the coil area of the electromagnetic coil 13 may be 50mm 2 to 300mm 2 , for example, 50mm 2 , 60mm 2 , 70mm 2 , 80mm 2 , 90mm 2 , 100mm 2 , 110mm 2 , 120mm 2 , 130mm 2 , 113mm 2 , 140mm 2 , 150mm 2 , 200mm 2 , 250mm 2 , or 300mm 2 . Preferably, the coil area of the electromagnetic coil 13 may be 80 to 200 mm 2 . In addition, the number of turns of the electromagnetic coil 13 may be 50 to 500, 50, 100, 150, 200, 250, 300, 350, 400, 450, or 500. Preferably, the number of turns of the electromagnetic coil 13 may be 100 to 300. The wire diameter of the electromagnetic coil 13 may be 0.3mm to 0.8mm, for example, 0.3mm, 0.4mm, 0.5mm, 0.6mm, 0.7mm, or 0.8mm. Preferably, the wire diameter of the electromagnetic coil 13 may be 0.4mm to 0.7mm.
在一些示例中,电磁线圈13可以呈圆柱状。另外,在一些示例中,电磁线圈13的长度与直径的比值可以为0.5至1.5,例如0.5、0.6、0.7、0.8、0.9、1.0、1.1、1.2、1.3、1.4、或1.5。In some examples, electromagnetic coil 13 may be cylindrical. Additionally, in some examples, the ratio of the length to the diameter of the electromagnetic coil 13 may be 0.5 to 1.5, such as 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, or 1.5.
图3B是示出了本实施方式示例所涉及的电磁线圈22的一种排布示例。在各种实施例中,电磁线圈22的数量可以为一个或多个(参见图3A和图3B)。在这种情况下,通过多个电磁线圈22而产生多个感 应信号并基于多个感应信号来获得胶囊型内窥镜10与电磁设备20的相对位置,由此能够有助于进一步提高磁定位精度。FIG. 3B shows an arrangement example of the electromagnetic coil 22 involved in this embodiment example. In various embodiments, the number of electromagnetic coils 22 may be one or more (see Figures 3A and 3B). In this case, multiple induction signals are generated by multiple electromagnetic coils 22 and the relative positions of the capsule endoscope 10 and the electromagnetic device 20 are obtained based on the multiple induction signals, which can help to further improve magnetic positioning. Accuracy.
需要说明的是,出于描述简便的考虑,在图3A和图3B中,对多个电磁线圈22中的一个进行了附图标记。It should be noted that, for the sake of simplicity of description, a reference number is given to one of the plurality of electromagnetic coils 22 in FIGS. 3A and 3B .
在各种实施例中,多个电磁线圈22的数量可以为6至36个,可选地,6个、8个、9个、12个、15个、16个、25个、36个。多个电磁线圈22可以呈阵列式排布。在一些示例中,多个电磁线圈22排布所形成的阵列可以为等间距阵列。在另一些示例中,多个电磁线圈22排布所形成的阵列的行间距和/或列间距可以由中央至外周逐渐减小(参见图3B)。在图3B所示的实施例中,R0行与R1行的间距可以大于R1行与R2行的间距,C0列与C1列的间距可以大于C1列与C2列的间距。In various embodiments, the number of the plurality of electromagnetic coils 22 may be 6 to 36, optionally 6, 8, 9, 12, 15, 16, 25, 36. The plurality of electromagnetic coils 22 may be arranged in an array. In some examples, the array formed by the arrangement of the plurality of electromagnetic coils 22 may be an equally spaced array. In other examples, the row spacing and/or column spacing of the array formed by the arrangement of the plurality of electromagnetic coils 22 may gradually decrease from the center to the periphery (see FIG. 3B ). In the embodiment shown in FIG. 3B , the distance between row R0 and row R1 may be greater than the distance between row R1 and row R2, and the distance between column C0 and column C1 may be greater than the distance between column C1 and column C2.
在一些示例中,多个电磁线圈22可以沿着水平面排布,在这种情况下,各个电磁线圈22的竖直坐标相同,由此能够有利于简化计算。另外,电磁设备20还可以包括位于胶囊型内窥镜10下方的平台23(参见图3A)。多个电磁线圈22可以布置于平台23。在一些示例中,平台23可以是检查床,被检者可以平躺在检查床上来接受检查。In some examples, multiple electromagnetic coils 22 may be arranged along a horizontal plane. In this case, the vertical coordinates of each electromagnetic coil 22 are the same, which can help simplify calculations. In addition, the electromagnetic device 20 may also include a platform 23 located below the capsule endoscope 10 (see FIG. 3A ). A plurality of electromagnetic coils 22 may be arranged on the platform 23 . In some examples, the platform 23 may be an examination bed, and the subject may lie flat on the examination bed to receive the examination.
在一些示例中,多个电磁线圈22排布所形成的阵列的平面尺寸可以为200mm*200mm至400mm*400mm,例如,200mm*200mm、200mm*300mm、200mm*400mm、300mm*300mm、300mm*400mm、或400mm*400mm等。In some examples, the planar size of the array formed by the arrangement of the plurality of electromagnetic coils 22 can be from 200mm*200mm to 400mm*400mm, for example, 200mm*200mm, 200mm*300mm, 200mm*400mm, 300mm*300mm, 300mm*400mm , or 400mm*400mm, etc.
在一些示例中,多个电磁线圈22可以布置为各个电磁线圈22的朝向相同,例如,各个电磁线圈22的朝向可以沿着竖直方向。在另一些示例中,多个电磁线圈22可以布置为至少两个电磁线圈22的朝向相异,例如,一个或一部分电磁线圈2的朝向与另一个或另一部分电磁线圈2的朝向可以正交。另外,多个电磁线圈22还可以布置为各个电磁线圈22的朝向相异。在这种情况下,通过朝向相异的电磁线圈22产生多样化的磁场以获得多样化的感应信号,由此能够有助于进一步提高磁定位精度。In some examples, the plurality of electromagnetic coils 22 may be arranged so that each electromagnetic coil 22 is oriented in the same direction, for example, the orientation of each electromagnetic coil 22 may be along a vertical direction. In other examples, the plurality of electromagnetic coils 22 may be arranged such that at least two electromagnetic coils 22 have different orientations, for example, the orientation of one or a part of the electromagnetic coils 2 may be orthogonal to the orientation of another or another part of the electromagnetic coils 2 . In addition, the plurality of electromagnetic coils 22 may also be arranged so that the directions of the respective electromagnetic coils 22 are different. In this case, diversified magnetic fields are generated toward different electromagnetic coils 22 to obtain diversified induction signals, which can help further improve the magnetic positioning accuracy.
在一些示例中,各个电磁线圈22可以分时被施加电流(例如,交变电流),例如,各个电磁线圈22按照时序依次被施加电流。另外, 施加至各个电磁线圈22的电流的幅值和/或频率可以相同。在这种情况下,通过匹配各个电磁线圈22被施加电流的时间戳,由此能够操作简单地确定各个感应信号所对应的电磁线圈22。具体而言,电磁线圈22被施加电流时标记了时间戳,每个感应信号生成时也被标记了时间戳,将二者的时间戳进行匹配,即可确定各个感应信号所对应的电磁线圈22。In some examples, current (eg, alternating current) may be applied to each electromagnetic coil 22 in a time-divided manner, for example, current may be applied to each electromagnetic coil 22 in sequence. Additionally, the magnitude and/or frequency of the current applied to each solenoid coil 22 may be the same. In this case, by matching the time stamps of current applied to each electromagnetic coil 22, the electromagnetic coil 22 corresponding to each induction signal can be determined simply. Specifically, the electromagnetic coil 22 is marked with a time stamp when a current is applied, and each induction signal is also stamped with a time stamp. By matching the two timestamps, the electromagnetic coil 22 corresponding to each induction signal can be determined. .
在另一些示例中,各个电磁线圈22也可以同时被施加电流(例如,交变电流)。另外,施加至各个电磁线圈22的电流的幅值可以相同、频率可以相异。在这种情况下,通过匹配各个电磁线圈22被施加电流的频率,由此能够便于确定各个感应信号所对应的电磁线圈22。In other examples, current (eg, alternating current) may also be applied to each electromagnetic coil 22 at the same time. In addition, the amplitude of the current applied to each electromagnetic coil 22 may be the same and the frequency may be different. In this case, by matching the frequency of the current applied to each electromagnetic coil 22, the electromagnetic coil 22 corresponding to each induction signal can be easily determined.
另外,电磁设备20还可以包括磁传感器阵列(未图示)。电磁设备20的磁传感器阵列可以感测胶囊型内窥镜10的内置磁体12,从而获得电磁设备20与胶囊型内窥镜10的相对坐标。在一些示例中,电磁设备20的磁传感器阵列可以布置在检查床23上。在一些示例中,电磁设备20的磁传感器阵列与电磁线圈22可以交错布置。另外,本领域技术人员可以理解,电磁设备20的各部件在世界坐标系下的姿态、坐标等都可以通过预设而作为已知量,胶囊型内窥镜10的各器件之间的相对位置也可以通过预设而作为已知量,获得内置磁体12相较于电磁设备的磁传感器的相对坐标、或者感应线圈13相较于电磁线圈22的相对坐标后,通过坐标转换,即可获得其他部件两两之间的相对坐标。In addition, the electromagnetic device 20 may also include a magnetic sensor array (not shown). The magnetic sensor array of the electromagnetic device 20 can sense the built-in magnet 12 of the capsule endoscope 10 to obtain the relative coordinates of the electromagnetic device 20 and the capsule endoscope 10 . In some examples, the magnetic sensor array of electromagnetic device 20 may be disposed on examination table 23 . In some examples, the magnetic sensor arrays and electromagnetic coils 22 of electromagnetic device 20 may be arranged in a staggered manner. In addition, those skilled in the art can understand that the postures, coordinates, etc. of each component of the electromagnetic device 20 in the world coordinate system can be preset as known quantities, and the relative positions between the components of the capsule endoscope 10 It can also be preset as a known quantity to obtain the relative coordinates of the built-in magnet 12 compared to the magnetic sensor of the electromagnetic device, or the relative coordinates of the induction coil 13 compared to the electromagnetic coil 22, and then other coordinates can be obtained through coordinate conversion. The relative coordinates between parts.
具体而言,将内置磁体12等效为磁偶极矩,基于式Ⅱ以及各项已知量,即可得到胶囊型内窥镜10与电磁设备20的相对坐标:Specifically, the built-in magnet 12 is equivalent to a magnetic dipole moment. Based on Formula II and various known quantities, the relative coordinates of the capsule endoscope 10 and the electromagnetic device 20 can be obtained:
Figure PCTCN2022106295-appb-000050
Figure PCTCN2022106295-appb-000050
其中,μ 0为真空磁导率(permeability),M为内置磁体12的等效磁矩的模,r为胶囊型内窥镜10距离电磁设备20的磁传感器阵列的距离,
Figure PCTCN2022106295-appb-000051
为内置磁体12的磁矩方向的单位向量,表明内置磁体12的姿态朝向(即,胶囊型内窥镜10的姿态朝向),
Figure PCTCN2022106295-appb-000052
为内置磁体12在电磁设备20的磁传感器阵列坐标系中的位置矢量。在上式Ⅱ中,r、
Figure PCTCN2022106295-appb-000053
为未知量,M为已知量,B可通过测量得知。通过无迹卡尔曼滤波算法,可以估算得到上述r、
Figure PCTCN2022106295-appb-000054
即胶囊型内窥镜10与电磁设备20的磁传感器阵 列的相对坐标、以及胶囊型内窥镜10的姿态。
Wherein, μ0 is the vacuum magnetic permeability (permeability), M is the module of the equivalent magnetic moment of the built-in magnet 12, r is the distance between the capsule endoscope 10 and the magnetic sensor array of the electromagnetic device 20,
Figure PCTCN2022106295-appb-000051
is the unit vector of the magnetic moment direction of the built-in magnet 12, indicating the posture orientation of the built-in magnet 12 (that is, the posture orientation of the capsule endoscope 10),
Figure PCTCN2022106295-appb-000052
is the position vector of the built-in magnet 12 in the coordinate system of the magnetic sensor array of the electromagnetic device 20 . In the above formula II, r,
Figure PCTCN2022106295-appb-000053
is an unknown quantity, M is a known quantity, and B can be known through measurement. Through the unscented Kalman filter algorithm, the above r,
Figure PCTCN2022106295-appb-000054
That is, the relative coordinates of the capsule endoscope 10 and the magnetic sensor array of the electromagnetic device 20, and the posture of the capsule endoscope 10.
如上所述,基于对电磁设备20的磁传感器阵列的测量值的解算而得到的胶囊型内窥镜10的姿态和/或坐标、以及基于惯性传感器的惯性信号而获得的胶囊型内窥镜10的姿态和/或坐标,二者之间具有关联关系。若测量误差和解算偏差足够小,二者可以视为等价。基于此,通过融合惯性信号以对电磁设备20的磁传感器阵列的测量值的解算进行优化,或者融合电磁设备20的磁传感器阵列的测量值以对惯性信号的解算进行优化,能够有效提高解算惯性信号和/或电磁设备20的磁传感器阵列的测量值的准确性,从而能够提高对胶囊型内窥镜10进行定位的精度。As described above, the posture and/or coordinates of the capsule endoscope 10 are obtained based on the calculation of the measurement value of the magnetic sensor array of the electromagnetic device 20, and the capsule endoscope is obtained based on the inertial signal of the inertial sensor. 10's posture and/or coordinates, and there is a correlation between the two. If the measurement error and solution deviation are small enough, they can be considered equivalent. Based on this, by fusing inertial signals to optimize the calculation of the measurement values of the magnetic sensor array of the electromagnetic device 20 , or fusing the measurement values of the magnetic sensor array of the electromagnetic device 20 to optimize the calculation of the inertial signals, it is possible to effectively improve The accuracy of positioning the capsule endoscope 10 can be improved by calculating the accuracy of the inertial signal and/or the measurement value of the magnetic sensor array of the electromagnetic device 20 .
另外,在一些示例中,使用误差状态卡尔曼滤波算法(ESKF)并融合惯性信号,也能够对基于电磁设备20的磁传感器阵列的测量值的解算进行优化。或者,使用误差状态卡尔曼滤波算法(ESKF)并融合电磁设备20的磁传感器阵列的测量值,能够对惯性信号的解算进行优化。由此,能够提高解算惯性信号和/或电磁设备20的磁传感器阵列的测量值的解算准确性。In addition, in some examples, the solution of the measured values of the magnetic sensor array based on the electromagnetic device 20 can also be optimized by using the error state Kalman filter algorithm (ESKF) and fusing the inertial signals. Alternatively, the solution of the inertial signal can be optimized by using the error state Kalman filter algorithm (ESKF) and fusing the measurement values of the magnetic sensor array of the electromagnetic device 20 . As a result, the accuracy of solving the inertial signal and/or the measurement value of the magnetic sensor array of the electromagnetic device 20 can be improved.
图5是示出了本实施方式所涉及的磁定位方法。以下,结合图5,详细说明本实施方式所涉及的对胶囊型内窥镜10进行定位的定位方法。FIG. 5 shows the magnetic positioning method according to this embodiment. Hereinafter, the positioning method for positioning the capsule endoscope 10 according to this embodiment will be described in detail with reference to FIG. 5 .
参见图5,对胶囊型内窥镜10进行定位的方法可以包括如下步骤:向胶囊型内窥镜10施加动态磁场(步骤S110);采集感应线圈13生成的感应信号(步骤S120);计算感应线圈13的相对坐标(步骤S130)。Referring to Figure 5, the method for positioning the capsule endoscope 10 may include the following steps: applying a dynamic magnetic field to the capsule endoscope 10 (step S110); collecting the induction signal generated by the induction coil 13 (step S120); calculating the induction Relative coordinates of coil 13 (step S130).
在各种实施例中,在步骤S110中,动态磁场可以包括按照时序依次生成的多个变化的磁场。在一些示例中,上述多个变化的磁场的变化频率和中心场强可以相同。在一些示例中,上述多个变化的磁场沿着竖直方向的坐标可以相同。在一些示例中,上述多个变化的磁场都被标记了时间戳,以记录例如生成时间、持续时间等各种时间信息。另外,上述多个变化的磁场中至少两个磁场的磁轴线可以相异。在各种实施例中,上述动态磁场可以通过本文所涉及的电磁线圈22来生成。In various embodiments, in step S110, the dynamic magnetic field may include a plurality of changing magnetic fields generated sequentially in time sequence. In some examples, the changing frequencies and central field strengths of the plurality of changing magnetic fields may be the same. In some examples, the coordinates of the plurality of changing magnetic fields along the vertical direction may be the same. In some examples, the above-mentioned multiple changing magnetic fields are marked with timestamps to record various time information such as generation time and duration. In addition, the magnetic axes of at least two magnetic fields among the plurality of changing magnetic fields may be different. In various embodiments, the dynamic magnetic field described above may be generated by the electromagnetic coil 22 referred to herein.
另外,在各种实施例中,在执行步骤S110之前,还可以感测胶囊型内窥镜10的周边环境中是否存在变化的磁场,如存在,则需要测量该磁场的变化规律,以在后续处理中减除该磁场的影响。In addition, in various embodiments, before performing step S110, it can also be sensed whether there is a changing magnetic field in the surrounding environment of the capsule endoscope 10. If there is, it is necessary to measure the changing law of the magnetic field to perform subsequent operations. The influence of this magnetic field is subtracted during processing.
在各种实施例中,在步骤S120中,感应信号可以是感应线圈13生成的电压信号。在各种实施例中,感应线圈13生成的电压信号可以是数字信号。在各种实施例中,感应线圈13生成的感应信号可以经由无线收发模块15而传输至外部。在各种实施例中,对感应信号的采集方式可以是实时采集。In various embodiments, in step S120 , the induction signal may be a voltage signal generated by the induction coil 13 . In various embodiments, the voltage signal generated by induction coil 13 may be a digital signal. In various embodiments, the induction signal generated by the induction coil 13 may be transmitted to the outside via the wireless transceiver module 15 . In various embodiments, the sensing signal may be collected in real time.
在各种实施例中,在步骤S120中,感应线圈13生成的感应信号可以被标记时间戳,以记录感应信号的生成时间和持续时间。另外,感应信号的时间戳与动态磁场的时间戳具有匹配关系,从而通过时间戳确定各个变化的磁场分别所对应的感应信号。In various embodiments, in step S120, the induction signal generated by the induction coil 13 may be time-stamped to record the generation time and duration of the induction signal. In addition, the time stamp of the induction signal has a matching relationship with the time stamp of the dynamic magnetic field, so that the induction signal corresponding to each changing magnetic field is determined through the time stamp.
在各种实施例中,在步骤S130中,基于感应线圈13生成的电压信号、感应线圈13的各项参数、以及步骤S110中的动态磁场的物理特性,结合电磁学原理,即可解算得到感应线圈13与动态磁场的发生源之间的相对坐标。在各种实施例中,通过无迹卡尔曼滤波算法或列文伯格-马夸尔特算法可以解算得到感应线圈13与动态磁场的发生源之间的相对坐标。进而得到胶囊型内窥镜10与动态磁场的发生源之间的相对坐标。In various embodiments, in step S130, based on the voltage signal generated by the induction coil 13, various parameters of the induction coil 13, and the physical characteristics of the dynamic magnetic field in step S110, combined with the electromagnetic principle, it can be solved The relative coordinates between the induction coil 13 and the source of the dynamic magnetic field. In various embodiments, the relative coordinates between the induction coil 13 and the source of the dynamic magnetic field can be solved through the unscented Kalman filter algorithm or the Levenberg-Marquardt algorithm. Then, the relative coordinates between the capsule endoscope 10 and the source of the dynamic magnetic field are obtained.
图6是示出了本实施方式所涉及的结合惯性传感器对定位结果进行优化的方法。以下,结合图6,对定位的优化方法进行详细说明。FIG. 6 illustrates a method for optimizing positioning results by combining inertial sensors according to this embodiment. Below, the positioning optimization method will be described in detail with reference to Figure 6.
参见图6,对胶囊型内窥镜10定位的优化方法可以包括如下步骤:获得胶囊型内窥镜10的姿态和/或坐标的预估值(步骤S210);获得胶囊型内窥镜10的姿态和/或坐标的观测值(步骤S220);基于观测值对预估值进行优化(步骤S230)。Referring to FIG. 6 , the optimization method for positioning the capsule endoscope 10 may include the following steps: obtaining an estimate of the attitude and/or coordinates of the capsule endoscope 10 (step S210 ); Observed values of attitude and/or coordinates (step S220); optimize the estimated value based on the observed values (step S230).
在各种实施例中,在步骤S210中,基于本文所述的感应线圈13测量得到的感应信号、惯性传感器测量得到的惯性信号、胶囊型内窥镜10的磁传感器的测量值、和/或电磁设备20的磁传感器的测量值,运用例如无迹卡尔曼滤波算法、LM优化算法等能够获得胶囊型内窥镜10的坐标和姿态的预估值。In various embodiments, in step S210, based on the induction signal measured by the induction coil 13 described herein, the inertial signal measured by the inertial sensor, the measurement value of the magnetic sensor of the capsule endoscope 10, and/or The measured value of the magnetic sensor of the electromagnetic device 20 can be used to obtain an estimated value of the coordinates and attitude of the capsule endoscope 10 using, for example, an unscented Kalman filter algorithm, a LM optimization algorithm, etc.
在各种实施例中,在步骤S220中,观测对象可以为本文所述的感应线圈13测量得到的感应信号、惯性传感器测量得到的惯性信号、胶囊型内窥镜10的磁传感器的测量值、和/或电磁设备20的磁传感器的测量值。本领域技术人员可以理解,步骤S210的解算对象与步骤S220 的观测对象可以是不同的。In various embodiments, in step S220, the observation object may be the induction signal measured by the induction coil 13 described herein, the inertial signal measured by the inertial sensor, the measured value of the magnetic sensor of the capsule endoscope 10, and/or measurements from the magnetic sensors of the electromagnetic device 20 . Those skilled in the art can understand that the solution object in step S210 and the observation object in step S220 may be different.
在各种实施例中,在步骤S230中,融合在步骤S220所获得的观测值,并运用例如误差状态卡尔曼滤波算法(ESKF),能够对在步骤S210中获得的预估值进行优化,从而更准确地获得胶囊型内窥镜10的坐标和姿态。例如,使用卡尔曼增益对预估值和基于观测值的结果进行加权平均,从而对预估值进行优化。In various embodiments, in step S230, the estimated value obtained in step S210 can be optimized by fusing the observation values obtained in step S220 and using, for example, an error state Kalman filter algorithm (ESKF), so as to The coordinates and attitude of the capsule endoscope 10 are obtained more accurately. For example, estimates can be optimized using a Kalman gain as a weighted average of estimates and results based on observations.
在本公开所涉及的磁控系统1中,通过惯性传感器测量器械10的惯性信号并且通过感应线圈13测量电磁线圈22生成的磁场,并融合惯性信号与感应信号,由此能够提高解算惯性信号和/或感应信号的准确性,从而能够提高对器械10的定位精度。In the magnetic control system 1 of the present disclosure, the inertial signal of the instrument 10 is measured by the inertial sensor, and the magnetic field generated by the electromagnetic coil 22 is measured by the induction coil 13, and the inertial signal and the induction signal are fused, thereby improving the resolution of the inertial signal. and/or the accuracy of the sensing signal, thereby improving the positioning accuracy of the instrument 10 .
在一些实施例中,胶囊型内窥镜系统1还可以包括处理装置30(参见图1)。处理装置30可以执行上述式Ⅰ的计算来获得胶囊型内窥镜10的位置、以及图像的处理等。另外,处理装置30可以执行上述定位方法。另外,处理装置30还可以执行上述优化方法。In some embodiments, the capsule endoscope system 1 may further include a processing device 30 (see Figure 1). The processing device 30 can perform the calculation of the above formula I to obtain the position of the capsule endoscope 10, image processing, and the like. In addition, the processing device 30 may perform the above positioning method. In addition, the processing device 30 can also perform the above optimization method.
另外,胶囊型内窥镜系统1还可以包括通信装置40(参见图1)。通信装置40可以与无线收发模块15进行通信,以接收例如图像采集装置11所采集的图像、感应线圈13所生成的感应信号等。In addition, the capsule endoscope system 1 may further include a communication device 40 (see FIG. 1 ). The communication device 40 can communicate with the wireless transceiver module 15 to receive, for example, images collected by the image acquisition device 11 , induction signals generated by the induction coil 13 , and the like.
另外,胶囊型内窥镜系统1还可以包括显示装置50(参见图1)。显示装置50可以用于显示图像采集装置11所采集的图像。另外,胶囊型内窥镜系统1还可以包括存储单元60(参见图1),存储单元60可以对图像采集装置11所采集的图像、感应线圈13所生成的感应信号等进行存储。In addition, the capsule endoscope system 1 may further include a display device 50 (see FIG. 1 ). The display device 50 may be used to display images captured by the image capture device 11 . In addition, the capsule endoscope system 1 may also include a storage unit 60 (see FIG. 1 ). The storage unit 60 may store images collected by the image acquisition device 11 , induction signals generated by the induction coil 13 , and the like.
虽然以上结合附图和示例对本公开进行了具体说明,但是可以理解,上述说明不以任何形式限制本公开。本领域技术人员在不偏离本公开的实质精神和范围的情况下可以根据需要对本公开进行变形和变化,这些变形和变化均落入本公开的范围内。Although the present disclosure has been specifically described above in conjunction with the accompanying drawings and examples, it should be understood that the above description does not limit the present disclosure in any form. Those skilled in the art can make modifications and changes to the disclosure as necessary without departing from the essential spirit and scope of the disclosure, and these modifications and changes all fall within the scope of the disclosure.

Claims (10)

  1. 一种融合惯性测量的磁控系统,其特征在于,包括器械、电磁设备和处理装置,所述器械包括惯性传感器、以及基于变化的磁场生成感应信号的感应线圈,所述电磁设备包括基于变化的电流生成变化的磁场的电磁线圈,所述感应线圈接收所述电磁线圈所生成的变化的磁场并生成感应信号,所述处理装置融合所述惯性传感器所测量的惯性信号和所述感应线圈所生成的感应信号以获取所述器械的运动状态、以及所述器械与所述电磁设备的相对坐标。A magnetic control system that integrates inertial measurement, characterized by including instruments, electromagnetic equipment and processing devices. The instruments include inertial sensors and induction coils that generate induction signals based on changing magnetic fields. The electromagnetic equipment includes based on changing magnetic fields. An electromagnetic coil generates a changing magnetic field through electric current. The induction coil receives the changing magnetic field generated by the electromagnetic coil and generates an induction signal. The processing device fuses the inertial signal measured by the inertial sensor and the inertial signal generated by the induction coil. The induction signal is used to obtain the motion state of the instrument and the relative coordinates of the instrument and the electromagnetic device.
  2. 根据权利要求1所述的磁控系统,其特征在于,所述运动状态包括所述器械的加速度、以及所述器械的姿态角,所述感应信号为电压信号或电流信号。The magnetic control system according to claim 1, wherein the motion state includes the acceleration of the instrument and the attitude angle of the instrument, and the induction signal is a voltage signal or a current signal.
  3. 根据权利要求1所述的磁控系统,其特征在于,所述处理装置基于所述感应信号和误差状态卡尔曼滤波算法对所述运动状态进行优化;或者,所述处理装置基于所述惯性信号和误差状态卡尔曼滤波算法对所述相对坐标进行优化。The magnetic control system according to claim 1, wherein the processing device optimizes the motion state based on the induction signal and an error state Kalman filter algorithm; or, the processing device optimizes the motion state based on the inertial signal. and error state Kalman filter algorithm to optimize the relative coordinates.
  4. 根据权利要求1所述的磁控系统,其特征在于,所述惯性传感器的朝向与所述感应线圈的朝向相同或正交。The magnetic control system according to claim 1, characterized in that the orientation of the inertial sensor is the same as or orthogonal to the orientation of the induction coil.
  5. 根据权利要求1所述的磁控系统,其特征在于,所述惯性信号与所述感应信号具有相匹配的时间信息。The magnetic control system according to claim 1, wherein the inertial signal and the induction signal have matching time information.
  6. 根据权利要求1所述的磁控系统,其特征在于,所述惯性传感器包括加速度计和陀螺仪。The magnetic control system according to claim 1, wherein the inertial sensor includes an accelerometer and a gyroscope.
  7. 根据权利要求5所述的磁控系统,其特征在于,所述感应线圈与所述电磁线圈的位置关系满足:The magnetic control system according to claim 5, characterized in that the positional relationship between the induction coil and the electromagnetic coil satisfies:
    Figure PCTCN2022106295-appb-100001
    Figure PCTCN2022106295-appb-100001
    其中,μ 0表示真空磁导率,N 1表示所述电磁线圈的匝数,S 1表示所述电磁线圈的线圈面积,
    Figure PCTCN2022106295-appb-100002
    表示所述电磁线圈的朝向,I表示所述电磁线圈的电流的 幅值,f表示所述电磁线圈的电流的交变频率,E表示所述感应线圈所生成的感应信号,N 2表示所述感应线圈的匝数,S 2表示所述感应线圈的线圈面积,
    Figure PCTCN2022106295-appb-100003
    表示所述感应线圈的朝向,
    Figure PCTCN2022106295-appb-100004
    表示所述感应线圈相较于所述电磁线圈的相对坐标。
    Among them, μ 0 represents the vacuum magnetic permeability, N 1 represents the number of turns of the electromagnetic coil, S 1 represents the coil area of the electromagnetic coil,
    Figure PCTCN2022106295-appb-100002
    represents the orientation of the electromagnetic coil, I represents the amplitude of the current of the electromagnetic coil, f represents the alternating frequency of the current of the electromagnetic coil, E represents the induction signal generated by the induction coil, and N 2 represents the The number of turns of the induction coil, S 2 represents the coil area of the induction coil,
    Figure PCTCN2022106295-appb-100003
    Indicates the orientation of the induction coil,
    Figure PCTCN2022106295-appb-100004
    Indicates the relative coordinates of the induction coil compared to the electromagnetic coil.
  8. 根据权利要求5所述的磁控系统,其特征在于,所述电磁线圈的数量为多个。The magnetic control system according to claim 5, characterized in that the number of the electromagnetic coils is multiple.
  9. 根据权利要求1所述的磁控系统,其特征在于,所述器械还包括布置在所述容纳空间内的内置磁体,所述电磁设备还包括操作磁体,所述操作磁体对所述内置磁体施加磁作用以使所述器械发生位移。The magnetic control system according to claim 1, characterized in that the instrument further includes a built-in magnet arranged in the accommodation space, the electromagnetic device further includes an operating magnet, the operating magnet exerts a force on the built-in magnet. Magnetism acts to cause displacement of the instrument.
  10. 根据权利要求9所述的磁控系统,其特征在于,所述操作磁体包括永磁体、以及基于变化电流的电磁体。The magnetic control system according to claim 9, wherein the operating magnet includes a permanent magnet and an electromagnet based on changing current.
PCT/CN2022/106295 2022-05-20 2022-07-18 Inertial measurement-integrated magnetic control system WO2023221283A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210549252.4 2022-05-20
CN202210549252 2022-05-20

Publications (1)

Publication Number Publication Date
WO2023221283A1 true WO2023221283A1 (en) 2023-11-23

Family

ID=88834512

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106295 WO2023221283A1 (en) 2022-05-20 2022-07-18 Inertial measurement-integrated magnetic control system

Country Status (1)

Country Link
WO (1) WO2023221283A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060025668A1 (en) * 2004-08-02 2006-02-02 Peterson Thomas H Operating table with embedded tracking technology
CN101820810A (en) * 2007-08-09 2010-09-01 奥林巴斯医疗株式会社 Medical device inducing system, medical device inducing method, and method for creating look-up table to be used in the medical device inducing system
CN102755164A (en) * 2011-04-28 2012-10-31 西门子公司 Arrangement and method for navigating endoscopic capsule
CN103402419A (en) * 2010-12-08 2013-11-20 基文影像公司 Magnetically maneuverable in-vivo device
CN111256692A (en) * 2020-03-01 2020-06-09 中北大学 Capsule robot attitude determination system and method based on sensor and one-dimensional coil
CN112741586A (en) * 2020-12-23 2021-05-04 武汉大学 Position acquisition method based on capsule endoscopy human body internal position acquisition system
CN112842320A (en) * 2019-11-28 2021-05-28 安翰科技(武汉)股份有限公司 Swallowable device positioning system and method thereof
CN114469057A (en) * 2022-04-01 2022-05-13 安翰科技(武汉)股份有限公司 Wireless capsule positioning device, magnetic field sensor positioning method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060025668A1 (en) * 2004-08-02 2006-02-02 Peterson Thomas H Operating table with embedded tracking technology
CN101820810A (en) * 2007-08-09 2010-09-01 奥林巴斯医疗株式会社 Medical device inducing system, medical device inducing method, and method for creating look-up table to be used in the medical device inducing system
CN103402419A (en) * 2010-12-08 2013-11-20 基文影像公司 Magnetically maneuverable in-vivo device
CN102755164A (en) * 2011-04-28 2012-10-31 西门子公司 Arrangement and method for navigating endoscopic capsule
CN112842320A (en) * 2019-11-28 2021-05-28 安翰科技(武汉)股份有限公司 Swallowable device positioning system and method thereof
CN111256692A (en) * 2020-03-01 2020-06-09 中北大学 Capsule robot attitude determination system and method based on sensor and one-dimensional coil
CN112741586A (en) * 2020-12-23 2021-05-04 武汉大学 Position acquisition method based on capsule endoscopy human body internal position acquisition system
CN114469057A (en) * 2022-04-01 2022-05-13 安翰科技(武汉)股份有限公司 Wireless capsule positioning device, magnetic field sensor positioning method and device

Similar Documents

Publication Publication Date Title
Dey et al. Wireless capsule gastrointestinal endoscopy: Direction-of-arrival estimation based localization survey
CN100594840C (en) Method and system for tracking internal mini device
CN211633195U (en) Magnetic positioning system of capsule endoscope
JP4520198B2 (en) In-subject position display system
JP4813190B2 (en) Capsule medical device
CN107348931B (en) Capsule endoscope space attitude determination system
Guo et al. An electromagnetic localization method for medical micro-devices based on adaptive particle swarm optimization with neighborhood search
CN105919595A (en) System and method for tracking miniature device with magnetic signals in body of moving object
JP2005192631A (en) Subject interior position detecting system
CN107529948B (en) The working method of position detecting system and position detecting system
Bao et al. A video aided RF localization technique for the wireless capsule endoscope (WCE) inside small intestine
CN107529949A (en) Position detecting system and method for detecting position
CN102302357A (en) Saccade endoscope and attitude sensing system used for same
Pham et al. A real-time localization system for an endoscopic capsule
KR101055322B1 (en) An endoscope and a method for finding its location
Li et al. Calibrated analytical model for magnetic localization of wireless capsule endoscope based on onboard sensing
CN108186017B (en) Detection system and method for determining in-vivo pose of endoscope capsule
WO2023221283A1 (en) Inertial measurement-integrated magnetic control system
CN113288008A (en) Magnetic capsule endoscope full-attitude determination method
US20240180409A1 (en) Capsule endoscope system and its magnetic positioning method
CN113545731B (en) Capsule endoscope system
CN117137414A (en) Magnetic control system integrating inertial measurement
CN218419815U (en) Instrument system
CN107249422B (en) Position detecting system and encapsulated medical device guiding system
CN117122265A (en) Electromagnetic-based instrument system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22942314

Country of ref document: EP

Kind code of ref document: A1