Capsule endoscopy motion control method based on magnetic control technology

By building a dynamic site identification model and a magnetic field adaptive setting model into the magnetic control system, neural network technology is used to perform real-time position identification and magnetic field adjustment of the capsule endoscope, which solves the problem of accurate and automated magnetic field during capsule endoscopy during in vivo examination. control problems, improving the positioning efficiency of inspection objects and the quality of information acquisition.

CN118717013APending Publication Date: 2024-10-01XIEHE HOSPITAL ATTACHED TO TONGJI MEDICAL COLLEGE HUAZHONG SCI & TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410688404.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve precision and automated magnetic control of capsule endoscopy, which makes it difficult to accurately position and obtain clear images during in-vivo examinations, affecting the examination results.

Method used

The magnetic control system has built-in dynamic site recognition model and magnetic field adaptive setting model, uses visual sensors to obtain real-time field of view images, and uses CNN and BP neural networks to perform image recognition and magnetic field adjustment to achieve real-time position recognition and motion indicators of capsule endoscopes. Adaptive adjustment.

Benefits of technology

It achieves precise and automated magnetic control of capsule endoscopy, quickly locates and comprehensively obtains in-vivo information, and improves the positioning efficiency and information acquisition quality of inspection objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118717013A_ABST
    Figure CN118717013A_ABST
Patent Text Reader

Abstract

The invention discloses a capsule endoscopy motion control method based on a magnetic control technology, which comprises the following steps that: a magnetic control system performs image recognition on a real-time view image by utilizing a dynamic site recognition model according to a view image fed back by a visual sensor arranged in a capsule endoscopy, and determines the position type of the capsule endoscopy; determining adaptive adjustment parameters for adaptively adjusting a magnetic control magnetic field for controlling the capsule endoscopy to move according to the position type of the capsule endoscopy obtained by a magnetic field adaptive setting model according to the dynamic site identification model; the magnetic control system adjusts the moving magnetic field in real time according to the self-adaptive adjustment parameters of the moving magnetic field, and self-adaptive adjustment is conducted on the real-time moving index of the capsule endoscopy through the moving magnetic field adjusted in real time. A dynamic site recognition model and a magnetic field self-adaptive setting model are arranged in the magnetic control system, so that modeling analysis is carried out on a visual field image, and precise and automatic magnetic control of the capsule endoscopy is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of magnetic navigation technology, and in particular to a capsule endoscope motion control method based on magnetic control technology. Background Art

[0002] In the current medical environment, magnetic navigation technology is increasingly being used in medical practice. Among existing technologies, magnetic navigation technology has been applied to medical examinations, interventional surgery and other fields. Among them, capsule endoscopy combined with magnetic navigation technology can be used to collect images of the affected area to achieve visual inspection of the affected area.

[0003] However, the current magnetic control of capsule endoscopes mostly relies on the subjective control of the operator, which makes it difficult to accurately locate the affected area, and thus it is impossible to obtain a clear image of the affected area, making it impossible to conduct a detailed inspection of the affected area, which ultimately affects the inspection results.

[0004] Therefore, it is difficult to achieve precise and automated magnetic control of capsule endoscopy with existing technologies. Summary of the invention

[0005] The purpose of the present invention is to provide a capsule endoscope motion control method based on magnetic control technology to solve the technical problem that it is difficult to achieve precise and automated magnetic control of capsule endoscopes in the prior art.

[0006] In order to solve the above technical problems, the present invention specifically provides the following technical solutions:

[0007] A capsule endoscope motion control method based on magnetic control technology comprises the following steps:

[0008] A dynamic site recognition model is pre-established for determining the position type of a capsule endoscope;

[0009] Pre-establishing a magnetic field adaptive setting model for determining adaptive adjustment parameters for adaptively adjusting a magnetic control magnetic field for controlling the movement of a capsule endoscope;

[0010] The dynamic site recognition model and the magnetic field adaptive setting model are both built into the magnetic control system for forming the magnetic control magnetic field;

[0011] Using biological peristalsis to provide initial drive for the capsule endoscope, and obtaining initial motion indexes for the capsule endoscope;

[0012] After the capsule endoscope starts moving with the initial motion index, the visual sensor is used to capture a real-time visual field image, and the image is transmitted to the magnetic control system through a signal transmission component built into the capsule endoscope;

[0013] The magnetic control system uses a dynamic site recognition model to perform image recognition on the real-time visual field image according to the visual field image fed back by the built-in visual sensor of the capsule endoscope, and determines the position type of the capsule endoscope. Then, the magnetic field adaptive setting model is used to determine the adaptive adjustment parameters for adaptively adjusting the magnetic control magnetic field that controls the movement of the capsule endoscope according to the position type of the capsule endoscope obtained by the dynamic site recognition model.

[0014] The magnetic control system adjusts the moving magnetic field in real time according to the adaptive adjustment parameters of the moving magnetic field, and uses the moving magnetic field after real-time adjustment to adaptively adjust the real-time motion index of the capsule endoscope, so as to realize real-time adaptive update of the real-time motion index of the capsule endoscope according to the real-time position type of the capsule endoscope, thereby achieving rapid positioning of the endoscopic examination object and comprehensive acquisition of the endoscopic examination object information.

[0015] As a preferred embodiment of the present invention, the method for pre-establishing the dynamic site recognition model includes:

[0016] The visual field image and the location type are used as the input and output items of the CNN neural network respectively, and the CNN neural network is used to establish a mapping relationship between the input and output items through convolution training, so as to obtain a dynamic site recognition model that determines the location type according to the visual field image;

[0017] The dynamic site recognition model is:

[0018] Label = CNN(G);

[0019] In the formula, Label is the location type, G is the field of view image, and CNN is the CNN neural network.

[0020] As a preferred solution of the present invention, the method for pre-establishing the magnetic field adaptive setting model includes:

[0021] The location type and the adaptive adjustment parameter are used as the input item and the output item of the BP neural network respectively, and the mapping relationship between the input item and the output item is established by using the BP neural network through convolution training, so as to obtain a magnetic field adaptive setting model that determines the adaptive adjustment parameter according to the location type;

[0022] The magnetic field adaptive setting model is:

[0023] S = BP (Label);

[0024] Where S is the adaptive adjustment parameter of the moving magnetic field, Label is the position type, and BP is the BP neural network.

[0025] As a preferred embodiment of the present invention, the position types include the position of the endoscopic inspection object, the non-adjacent position of the endoscopic inspection object and the adjacent position of the endoscopic inspection object, and the motion indicators include the motion speed and motion acceleration of the capsule endoscope at the position of the endoscopic inspection object, the motion speed and motion acceleration of the capsule endoscope at the non-adjacent position of the endoscopic inspection object, and the motion speed and motion acceleration of the capsule endoscope at the non-adjacent position of the endoscopic inspection object.

[0026] As a preferred solution of the present invention, the method for constructing a sample set for CNN neural network convolution training includes:

[0027] Labeling a group of historical visual field images acquired by capsule endoscopy to obtain a group of location types of the historical visual field images;

[0028] Each historical view image and the location type of each historical view image are correspondingly grouped into a single training sample;

[0029] All single samples are mixed to form a sample set for CNN neural network convolution training.

[0030] As a preferred solution of the present invention, the method for constructing a sample set for BP neural network convolution training includes:

[0031] Screening out historical visual field images of non-adjacent positions marked as endoscopic examination objects from historical visual field images acquired by capsule endoscopy, and acquiring historical visual field images of adjacent positions of the endoscopic examination object corresponding to the historical visual field images of non-adjacent positions marked as endoscopic examination objects;

[0032] Setting a set of assumed values ​​of motion acceleration at non-adjacent positions of the endoscopic inspection object, a set of assumed values ​​of motion speed at non-adjacent positions of the endoscopic inspection object, and performing motion simulation respectively with a set of assumed values ​​of motion speed and a set of assumed values ​​of motion acceleration at non-adjacent positions of the endoscopic inspection object;

[0033] The accuracy of reaching the adjacent position of the endoscopic inspection object from the non-adjacent position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the non-adjacent position of the endoscopic inspection object corresponding to the highest accuracy are used as the expected value of the motion acceleration and the expected value of the motion speed at the non-adjacent position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the non-adjacent position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the non-adjacent position of the endoscopic inspection object;

[0034] Screening out historical visual field images of adjacent positions marked as endoscopic examination objects from historical visual field images acquired by capsule endoscopy, and acquiring historical visual field images of the endoscopic examination object position corresponding to the historical visual field images of adjacent positions marked as endoscopic examination objects;

[0035] A set of assumed values ​​of motion acceleration at positions adjacent to the endoscopic examination object, a set of assumed values ​​of motion speed at positions adjacent to the endoscopic examination object, and a set of assumed values ​​of motion speed and motion acceleration at a surface adjacent to the wound surface are used to perform motion simulation respectively;

[0036] The accuracy of reaching the position of the endoscopic inspection object from the adjacent position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the adjacent position of the endoscopic inspection object corresponding to the highest accuracy are used as the expected value of the motion acceleration and the expected value of the motion speed at the adjacent position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the adjacent position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the adjacent position of the endoscopic inspection object;

[0037] Screening out historical visual field images marked with the location of the endoscopic examination object from historical visual field images acquired by capsule endoscopy;

[0038] A set of assumed values ​​of motion acceleration at the position of the endoscope inspection object and a set of assumed values ​​of motion speed at the position of the endoscope inspection object are set, and motion simulation is performed respectively with a set of assumed values ​​of motion speed and a set of assumed values ​​of motion acceleration at the position of the endoscope inspection object;

[0039] The amount of image information at the position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the position of the endoscopic inspection object corresponding to the highest amount of image information are used as the expected value of the motion acceleration and the expected value of the motion speed at the position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the position of the endoscopic inspection object;

[0040] The position type of each historical field of view image and the adaptive adjustment parameters of the motion magnetic field corresponding to each position type are correspondingly grouped into a single training sample;

[0041] All single samples are mixed to form a sample set for BP neural network convolution training.

[0042] As a preferred embodiment of the present invention, the statistical method for calculating the accuracy of reaching the adjacent position of the endoscopic examination object from the non-adjacent position of the endoscopic examination object includes:

[0043] The non-adjacent position of the endoscopic inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope starting from the starting point to the adjacent position of the endoscopic inspection object with the assumed value of the motion speed and the assumed value of the motion acceleration at each non-adjacent position of the endoscopic inspection object is simulated;

[0044] The number of motion points that stay at the position of the endoscopic inspection object during all motion processes formed by the assumed values ​​of the motion speed and the assumed values ​​of the motion acceleration at each non-adjacent position of the endoscopic inspection object is counted as the accuracy rate of the non-adjacent position of the endoscopic inspection object reaching the position of the endoscopic inspection object.

[0045] As a preferred embodiment of the present invention, the statistical method for calculating the accuracy of reaching the position of the endoscopic inspection object from the adjacent position of the endoscopic inspection object includes:

[0046] The adjacent position of the endoscopic inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope starting from the starting point to the position of the endoscopic inspection object with the assumed value of the motion speed and the assumed value of the motion acceleration at each adjacent position of the endoscopic inspection object is simulated;

[0047] The number of motion points that stay at the position of the endoscopic inspection object during all motion processes formed by the assumed values ​​of the motion speed and the assumed values ​​of the motion acceleration at each adjacent position of the endoscopic inspection object is counted as the accuracy rate of the adjacent position of the endoscopic inspection object reaching the position of the endoscopic inspection object.

[0048] As a preferred embodiment of the present invention, the statistical method of the image information amount of the endoscopic inspection object position includes:

[0049] The position of the endoscope inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope at the position of the endoscope inspection object is simulated with each assumed value of the motion speed and the assumed value of the motion acceleration at the position of the endoscope inspection object;

[0050] The total amount of image information of the endoscopic inspection object captured during all movements formed by the assumed values ​​of the movement speed and the assumed values ​​of the movement acceleration at each position of the endoscopic inspection object is counted as the image information amount of the endoscopic inspection object position.

[0051] As a preferred solution of the present invention, the visual field images are normalized to the same specifications before the dynamic site recognition model is trained.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] The present invention has a built-in dynamic site recognition model and a magnetic field adaptive setting model in the magnetic control system, so as to perform model analysis on the field of view image to determine the real-time in vivo position of the capsule endoscope, and perform model adaptive real-time setting and adjustment of the motion magnetic field according to the real-time position of the capsule endoscope. The real-time motion magnetic field is used to perform real-time adaptive update of the real-time in vivo motion index of the capsule endoscope according to the real-time in vivo position of the capsule endoscope, thereby realizing precise and automated magnetic control of the capsule endoscope. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0055] Figure 1 A flow chart of a capsule endoscope motion control method provided by an embodiment of the present invention;

[0056] Figure 2 This is a block diagram of a capsule endoscope motion control system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] like Figure 1 As shown, the present invention provides a capsule endoscope motion control method based on magnetic control technology, comprising the following steps:

[0059] A dynamic site recognition model is pre-established for determining the position type of a capsule endoscope;

[0060] Pre-establishing a magnetic field adaptive setting model for determining adaptive adjustment parameters for adaptively adjusting a magnetic control magnetic field for controlling the movement of a capsule endoscope;

[0061] The dynamic site recognition model and the magnetic field adaptive setting model are both built into the magnetic control system for forming the magnetic field;

[0062] Using biological peristalsis to provide initial drive for the capsule endoscope, and obtaining initial motion indexes for the capsule endoscope;

[0063] After the capsule endoscope starts moving with the initial motion index, it uses the visual sensor to capture real-time visual field images and transmits them to the magnetic control system through the built-in signal transmission component of the capsule endoscope;

[0064] The magnetic control system uses a dynamic site recognition model to perform image recognition on the real-time visual field image according to the visual field image fed back by the built-in visual sensor of the capsule endoscope, and determines the position type of the capsule endoscope. Then, the magnetic field adaptive setting model is used to determine the adaptive adjustment parameters for adaptively adjusting the magnetic control magnetic field that controls the movement of the capsule endoscope according to the position type of the capsule endoscope obtained by the dynamic site recognition model.

[0065] The magnetic control system adjusts the moving magnetic field in real time according to the adaptive adjustment parameters of the moving magnetic field, and uses the moving magnetic field after real-time adjustment to adaptively adjust the real-time motion index of the capsule endoscope, so as to realize real-time adaptive update of the real-time motion index of the capsule endoscope according to the real-time position type of the capsule endoscope, thereby achieving rapid positioning of the endoscopic examination object and comprehensive acquisition of the endoscopic examination object information.

[0066] The main purpose of capsule endoscopy is to capture information about the inspection target in the body, such as lesion information, for subsequent reference by physicians. In most cases, the location of the inspection object in the body is unknown and unpredictable, and it is necessary to search and locate the endoscopic inspection object based on the real-time field of view image fed back by the capsule endoscope.

[0067] The present invention has built-in dynamic site recognition model and magnetic field adaptive setting model in the magnetic control system, which can recognize the real-time field of view image fed back by the capsule endoscope in real time, accurately grasp the real-time position of the capsule endoscope, and adaptively match the real-time motion index of the capsule endoscope with the real-time position of the capsule endoscope through the magnetic field adaptive setting model, so as to achieve that when the capsule endoscope is in the non-adjacent position of the endoscopic inspection object, that is, the capsule endoscope is in the non-adjacent position of the endoscopic inspection object, indicating that the current position of the capsule endoscope is far away from the endoscopic inspection object. For the capsule endoscope, the non-adjacent position of the endoscopic inspection object is a non-target position, the captured image is an invalid image, and a long distance is required to reach the endoscopic inspection object. Therefore, the adaptive control system adaptively matches the high-speed movement of the capsule endoscope, quickly leaves the non-adjacent position of the endoscopic inspection object and moves toward the endoscopic inspection object, that is, controls the capsule endoscope to quickly position and move to the position of the endoscopic inspection object.

[0068] When the capsule endoscope is in the adjacent position of the endoscopic inspection object, that is, the capsule endoscope is in the adjacent position of the endoscopic inspection object, indicating that the current position of the capsule endoscope is close to the endoscopic inspection object, and it is judged that the capsule endoscope is close to the endoscopic inspection object. Therefore, the adaptive control system adaptively matches the deceleration movement of the capsule endoscope to avoid the capsule endoscope missing the endoscopic inspection object, thereby achieving a buffering effect. When the capsule endoscope is at the position of the endoscopic inspection object, the position belongs to the target position for the capsule endoscope, and the captured image belongs to the information image of the endoscopic inspection object. Therefore, the adaptive control system adaptively matches the low-speed movement of the capsule endoscope to obtain the information image of the endoscopic inspection object at multiple angles and distances, thereby achieving comprehensive acquisition of the information image of the endoscopic inspection object.

[0069] The dynamic site recognition model and magnetic field adaptive setting model in the magnetic control system provided by the present invention adaptively match the real-time motion index of the capsule endoscope with the real-time in vivo position of the capsule endoscope, and can quickly locate the position of the endoscopic inspection object without prior knowledge when the capsule endoscope moves in the body to search for the endoscopic inspection object when the position of the endoscopic inspection object is unknown and unpredictable, and at the same time comprehensively obtain the information image of the endoscopic inspection object, thereby improving the efficiency of endoscopic inspection object positioning and comprehensive information acquisition of the capsule endoscope. The dynamic site recognition model and magnetic field adaptive setting model used to realize the above functions are as follows:

[0070] The method for constructing a sample set for CNN neural network convolution training includes:

[0071] Labeling a group of historical visual field images acquired by capsule endoscopy to obtain a group of location types of the historical visual field images;

[0072] Each historical view image and the location type of each historical view image are correspondingly grouped into a single training sample;

[0073] All single samples are mixed to form a sample set for CNN neural network convolution training.

[0074] The method for constructing a sample set for BP neural network convolution training includes:

[0075] Screening out historical visual field images of non-adjacent positions marked as endoscopic examination objects from historical visual field images acquired by capsule endoscopy, and acquiring historical visual field images of adjacent positions of the endoscopic examination object corresponding to the historical visual field images of non-adjacent positions marked as endoscopic examination objects;

[0076] Setting a set of assumed values ​​of motion acceleration at non-adjacent positions of the endoscopic inspection object, a set of assumed values ​​of motion speed at non-adjacent positions of the endoscopic inspection object, and performing motion simulation respectively with a set of assumed values ​​of motion speed and a set of assumed values ​​of motion acceleration at non-adjacent positions of the endoscopic inspection object;

[0077] The accuracy of reaching the adjacent position of the endoscopic inspection object from the non-adjacent position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the non-adjacent position of the endoscopic inspection object corresponding to the highest accuracy are used as the expected value of the motion acceleration and the expected value of the motion speed at the non-adjacent position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the non-adjacent position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the non-adjacent position of the endoscopic inspection object;

[0078] Screening out historical visual field images of adjacent positions marked as endoscopic examination objects from historical visual field images acquired by capsule endoscopy, and acquiring historical visual field images of the endoscopic examination object position corresponding to the historical visual field images of adjacent positions marked as endoscopic examination objects;

[0079] A set of assumed values ​​of motion acceleration at positions adjacent to the endoscopic examination object, a set of assumed values ​​of motion speed at positions adjacent to the endoscopic examination object, and a set of assumed values ​​of motion speed and motion acceleration at a surface adjacent to the wound surface are used to perform motion simulation respectively;

[0080] The accuracy of reaching the position of the endoscopic inspection object from the adjacent position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the adjacent position of the endoscopic inspection object corresponding to the highest accuracy are used as the expected value of the motion acceleration and the expected value of the motion speed at the adjacent position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the adjacent position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the adjacent position of the endoscopic inspection object;

[0081] Screening out historical visual field images marked with the location of the endoscopic examination object from historical visual field images acquired by capsule endoscopy;

[0082] A set of assumed values ​​of motion acceleration at the position of the endoscope inspection object and a set of assumed values ​​of motion speed at the position of the endoscope inspection object are set, and motion simulation is performed respectively with a set of assumed values ​​of motion speed and a set of assumed values ​​of motion acceleration at the position of the endoscope inspection object;

[0083] The amount of image information at the position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the position of the endoscopic inspection object corresponding to the highest amount of image information are used as the expected value of the motion acceleration and the expected value of the motion speed at the position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the position of the endoscopic inspection object;

[0084] The position type of each historical field of view image and the adaptive adjustment parameters of the motion magnetic field corresponding to each position type are correspondingly grouped into a single training sample;

[0085] All single samples are mixed to form a sample set for BP neural network convolution training.

[0086] Pre-built methods for dynamic site recognition models include:

[0087] The visual field image and the location type are used as the input and output items of the CNN neural network respectively. Based on the sample set of the CNN neural network convolution training, the CNN neural network is used to establish a mapping relationship between the input and output items through convolution training, and a dynamic site recognition model that determines the location type according to the visual field image is obtained.

[0088] The dynamic site recognition model is:

[0089] Label = CNN(G);

[0090] In the formula, Label is the location type, G is the field of view image, and CNN is the CNN neural network.

[0091] The pre-established methods for the magnetic field adaptive setting model include:

[0092] The location type and the adaptive adjustment parameter are used as the input item and the output item of the BP neural network respectively. Based on the sample set of the BP neural network convolution training, the BP neural network is used to establish a mapping relationship between the input item and the output item through convolution training, and a magnetic field adaptive setting model is obtained in which the adaptive adjustment parameter is determined according to the location type.

[0093] The magnetic field adaptive setting model is:

[0094] S = BP (Label);

[0095] Where S is the adaptive adjustment parameter of the moving magnetic field, Label is the position type, and BP is the BP neural network.

[0096] The dynamic point recognition model and magnetic field adaptive setting model provided by the present invention can utilize the model to perform real-time position recognition of the capsule endoscope and adaptive setting of the moving magnetic field without human intervention. It can automatically perform target positioning and information acquisition when the position of the endoscopic inspection object is unknown and unpredictable, thereby realizing precise and automated magnetic control of the capsule endoscope.

[0097] The position type includes the position of the endoscopic object, the non-adjacent position of the endoscopic object and the adjacent position of the endoscopic object, and the motion index includes the capsule endoscope motion speed and motion acceleration at the position of the endoscopic object, the capsule endoscope motion speed and motion acceleration at the non-adjacent position of the endoscopic object, and the capsule endoscope motion speed and motion acceleration at the non-adjacent position of the endoscopic object. The motion speed at the normal surface of the organ is greater than the motion speed at the wound surface of the organ, and the motion speed at the wound surface of the organ is greater than the motion speed at the adjacent surface of the wound surface.

[0098] The present invention has built-in dynamic site recognition model and magnetic field adaptive setting model in the magnetic control system, which can recognize the real-time field of view image fed back by the capsule endoscope in real time, accurately grasp the real-time position of the capsule endoscope, and adaptively match the real-time motion index of the capsule endoscope with the real-time in vivo position of the capsule endoscope through the magnetic field adaptive setting model, quickly search and locate the position of the endoscopic inspection object, and realize comprehensive acquisition of the information image of the endoscopic inspection object.

[0099] Due to the natural irregular peristalsis of the digestive tract and individual differences among people, it may be difficult to overcome the differences when adaptively setting the motion magnetic field, resulting in low individual matching of the adaptive setting results, affecting the effect of the capsule endoscope on the rapid positioning of the endoscopic inspection object in the body and the comprehensive acquisition of the endoscopic inspection object information. Therefore, the present invention performs motion simulation to determine the expected values ​​of the motion index of the capsule endoscope at the non-adjacent position of the endoscopic inspection object, the position of the endoscopic inspection object and the adjacent position of the endoscopic inspection object. The expected values ​​of the motion indexes can be adapted to a large number of people, and the capsule endoscope can quickly locate the endoscopic inspection object in the body and comprehensively acquire the endoscopic inspection object information. The construction of the magnetic field adaptive setting model using the expected values ​​of the motion indexes can ensure that the motion indexes converted from the adaptive adjustment parameters of the motion magnetic field obtained by the magnetic field adaptive setting model overcome the differences, thereby improving the individual matching of the adaptive setting results, so that the magnetic field adaptive setting model can achieve the goal of rapid positioning of the endoscopic inspection object in the body and comprehensive acquisition of the endoscopic inspection object information.

[0100] The statistical method for calculating the accuracy of reaching the adjacent position of the endoscopic examination object from the non-adjacent position of the endoscopic examination object includes:

[0101] The non-adjacent position of the endoscopic inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope starting from the starting point to the adjacent position of the endoscopic inspection object with the assumed value of the motion speed and the assumed value of the motion acceleration at each non-adjacent position of the endoscopic inspection object is simulated;

[0102] The number of motion points that stay at the position of the endoscopic inspection object during all motion processes formed by the assumed values ​​of the motion speed and the assumed values ​​of the motion acceleration at each non-adjacent position of the endoscopic inspection object is counted as the accuracy rate of the non-adjacent position of the endoscopic inspection object reaching the position of the endoscopic inspection object.

[0103] The statistical method for the accuracy of reaching the position of the endoscopic inspection object from the adjacent position of the endoscopic inspection object includes:

[0104] The adjacent position of the endoscopic inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope starting from the starting point to the position of the endoscopic inspection object with the assumed value of the motion speed and the assumed value of the motion acceleration at each adjacent position of the endoscopic inspection object is simulated;

[0105] The number of motion points that stay at the position of the endoscopic inspection object during all motion processes formed by the assumed values ​​of the motion speed and the assumed values ​​of the motion acceleration at each adjacent position of the endoscopic inspection object is counted as the accuracy rate of the adjacent position of the endoscopic inspection object reaching the position of the endoscopic inspection object.

[0106] Statistical methods for the amount of image information about the location of endoscopic examination objects include:

[0107] The position of the endoscope inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope at the position of the endoscope inspection object is simulated with each assumed value of the motion speed and the assumed value of the motion acceleration at the position of the endoscope inspection object;

[0108] The total amount of image information of the endoscopic inspection object captured during all movements formed by the assumed values ​​of the movement speed and the assumed values ​​of the movement acceleration at each position of the endoscopic inspection object is counted as the image information amount of the endoscopic inspection object position.

[0109] The visual field images were normalized to the same specifications before training the dynamic site recognition model.

[0110] The present invention provides a capsule endoscope, which is controlled by an adaptive control system for in vivo motion. The real-time in vivo position of the capsule endoscope can be located by acquiring in vivo images, and motion adaptation is performed according to the real-time in vivo position, so that a position in the body far from an organ wound surface can be moved at a high speed to quickly locate the position of an endoscopic inspection object. After the position of the endoscopic inspection object is located, the capsule endoscope is controlled to move at a low speed to realize information images of the endoscopic inspection object at multiple angles and distances, thereby ensuring rapid positioning of the position of the endoscopic inspection object and comprehensive acquisition of endoscopic inspection object information.

[0111] like Figure 2As shown, in order to realize the motion control scheme of the above-mentioned capsule endoscope, the capsule endoscope used in the capsule endoscope motion control system of the present invention has a built-in visual sensor and a signal transmission component, as well as an external coil component, wherein the visual sensor is used to capture the field of view image of the capsule endoscope in the body, and transmit the field of view image to the magnetic control system through the signal transmission component.

[0112] The magnetic control system includes a permanent magnet, an adaptive control component of a moving magnetic field, and a signal receiving component. The adaptive control component adopts a data processor or a CUP chip, or other devices with the same function, and has a built-in dynamic site recognition model and a magnetic field adaptive setting model. The signal receiving component receives the field of view image of the signal transmission component and transmits it to the adaptive control component. The adaptive control component analyzes the position image to obtain the real-time in vivo position of the capsule endoscope, and adaptively sets the permanent magnet magnetic field according to the real-time in vivo position of the capsule endoscope to achieve adaptive setting of the moving magnetic field that controls the movement of the capsule endoscope, so as to achieve adaptive adjustment of the movement index of the capsule endoscope in the body, so as to achieve when the capsule endoscope is in a non-adjacent position of the endoscopic inspection object, that is, the capsule endoscope is in a non-adjacent position of the endoscopic inspection object, indicating that the current position of the capsule endoscope is far from the endoscopic inspection object, the adaptive control component controls the moving magnetic field to adjust the capsule endoscope to adaptively match the high-speed movement of the capsule endoscope, quickly leave the non-adjacent position of the endoscopic inspection object and move toward the endoscopic inspection object, that is, control the capsule endoscope to quickly locate and move to the position of the endoscopic inspection object.

[0113] When the capsule endoscope is in an adjacent position to the endoscopic inspection object, that is, the capsule endoscope is in an adjacent position to the endoscopic inspection object, indicating that the current position of the capsule endoscope is close to the endoscopic inspection object, and the capsule endoscope is judged to be close to the endoscopic inspection object. The adaptive control component controls the motion magnetic field to adjust the capsule endoscope to adaptively match the deceleration motion to avoid the capsule endoscope from missing the endoscopic inspection object, thereby achieving a buffering effect. When the capsule endoscope is at the position of the endoscopic inspection object, the position belongs to the target position for the capsule endoscope, and the captured image belongs to the information image of the endoscopic inspection object. The adaptive control component controls the motion magnetic field to adaptively match the slow motion of the capsule endoscope to obtain the information image of the endoscopic inspection object at multiple angles and distances, thereby achieving comprehensive acquisition of the information image of the endoscopic inspection object.

[0114] The magnetic field of the permanent magnet will exert a force on the coil assembly to achieve motion control of the capsule endoscope. Therefore, the magnetic field of the permanent magnet is used as the motion magnetic field to control the capsule endoscope. The adaptive control component adjusts the motion magnetic field to control the capsule endoscope, thereby changing the force condition of the capsule endoscope, and then changing the motion condition of the capsule endoscope body, so as to achieve motion control of the capsule endoscope, and realize adjusting the motion magnetic field through adaptive adjustment parameters of the motion magnetic field, and adjusting the motion indicators of the capsule endoscope due to changes in the motion magnetic field.

[0115] The present invention has a built-in dynamic site recognition model and a magnetic field adaptive setting model in the magnetic control system, so as to perform model analysis on the target inspection pattern to determine the real-time in vivo position of the capsule endoscope, and perform model adaptive real-time setting of the moving magnetic field according to the real-time in vivo position of the capsule endoscope. The real-time moving magnetic field is used to perform real-time adaptive update of the real-time in vivo motion index of the capsule endoscope according to the real-time in vivo position of the capsule endoscope, thereby realizing rapid positioning of the endoscopic inspection object and comprehensive acquisition of the endoscopic inspection object information.

[0116] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A capsule endoscope motion control method based on magnetic control technology, It is characterized in that The following steps are involved: A dynamic site recognition model is pre-established for determining the position type of a capsule endoscope; Pre-establishing a magnetic field adaptive setting model for determining adaptive adjustment parameters for adaptively adjusting a magnetic control magnetic field for controlling the movement of a capsule endoscope; The dynamic site recognition model and the magnetic field adaptive setting model are both built into the magnetic control system for forming the magnetic control magnetic field; Using biological peristalsis to provide initial drive for the capsule endoscope, and obtaining initial motion indexes for the capsule endoscope; After the capsule endoscope starts moving with the initial motion index, the visual sensor is used to capture a real-time visual field image, and the image is transmitted to the magnetic control system through a signal transmission component built into the capsule endoscope; The magnetic control system uses a dynamic site recognition model to perform image recognition on the real-time visual field image according to the visual field image fed back by the built-in visual sensor of the capsule endoscope, and determines the position type of the capsule endoscope. Then, the magnetic field adaptive setting model is used to determine the adaptive adjustment parameters for adaptively adjusting the magnetic control magnetic field that controls the movement of the capsule endoscope according to the position type of the capsule endoscope obtained by the dynamic site recognition model. The magnetic control system adjusts the moving magnetic field in real time according to the adaptive adjustment parameters of the moving magnetic field, and uses the moving magnetic field after real-time adjustment to adaptively adjust the real-time motion index of the capsule endoscope, so as to realize real-time adaptive update of the real-time motion index of the capsule endoscope according to the real-time position type of the capsule endoscope, thereby achieving rapid positioning of the endoscopic examination object and comprehensive acquisition of the endoscopic examination object information.

2. According to claim 1, a capsule endoscope motion control method based on magnetic control technology, Features: The method for pre-establishing the dynamic site recognition model includes: The visual field image and the location type are used as the input and output items of the CNN neural network respectively, and the CNN neural network is used to establish a mapping relationship between the input and output items through convolution training, so as to obtain a dynamic site recognition model that determines the location type according to the visual field image; The dynamic site recognition model is: Label = CNN(G); In the formula, Label is the location type, G is the field of view image, and CNN is the CNN neural network.

3. The capsule endoscope motion control method based on magnetic control technology according to claim 1, Features: The pre-establishment method of the magnetic field adaptive setting model includes: The location type and the adaptive adjustment parameter are used as the input item and the output item of the BP neural network respectively, and the mapping relationship between the input item and the output item is established by using the BP neural network through convolution training, so as to obtain a magnetic field adaptive setting model that determines the adaptive adjustment parameter according to the location type; The magnetic field adaptive setting model is: S = BP (Label); Where S is the adaptive adjustment parameter of the moving magnetic field, Label is the position type, and BP is the BP neural network.

4. The capsule endoscope motion control method based on magnetic control technology according to claim 2, It is characterized in that The method for constructing a sample set for the CNN neural network convolution training includes: Labeling a group of historical visual field images acquired by capsule endoscopy to obtain a group of location types of the historical visual field images; Each historical view image and the location type of each historical view image are correspondingly grouped into a single training sample; All single samples are mixed to form a sample set for CNN neural network convolution training.

5. The capsule endoscope motion control method based on magnetic control technology according to claim 3, It is characterized in that The method for constructing a sample set for BP neural network convolution training includes: Screening out historical visual field images of non-adjacent positions marked as endoscopic examination objects from historical visual field images acquired by capsule endoscopy, and acquiring historical visual field images of adjacent positions of the endoscopic examination object corresponding to the historical visual field images of non-adjacent positions marked as endoscopic examination objects; A set of assumed values ​​of motion acceleration at non-adjacent positions of the endoscopic inspection object and a set of assumed values ​​of motion speed at non-adjacent positions of the endoscopic inspection object are set, and motion simulation is performed using the set of assumed values ​​of motion speed and the set of assumed values ​​of motion acceleration at non-adjacent positions of the endoscopic inspection object respectively; The accuracy of reaching the adjacent position of the endoscopic inspection object from the non-adjacent position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the non-adjacent position of the endoscopic inspection object corresponding to the highest accuracy are used as the expected value of the motion acceleration and the expected value of the motion speed at the non-adjacent position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the non-adjacent position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the non-adjacent position of the endoscopic inspection object; Screening out historical visual field images of adjacent positions marked as endoscopic examination objects from historical visual field images acquired by capsule endoscopy, and acquiring historical visual field images of the endoscopic examination object position corresponding to the historical visual field images of adjacent positions marked as endoscopic examination objects; A set of assumed values ​​of motion acceleration at positions adjacent to the endoscopic examination object, a set of assumed values ​​of motion speed at positions adjacent to the endoscopic examination object, and a set of assumed values ​​of motion speed and motion acceleration at a surface adjacent to the wound surface are used to perform motion simulation respectively; The accuracy of reaching the position of the endoscopic inspection object from the adjacent position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the adjacent position of the endoscopic inspection object corresponding to the highest accuracy are used as the expected value of the motion acceleration and the expected value of the motion speed at the adjacent position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the adjacent position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the adjacent position of the endoscopic inspection object; Screening out historical visual field images marked with the location of the endoscopic examination object from historical visual field images acquired by capsule endoscopy; A set of assumed values ​​of motion acceleration at the position of the endoscope inspection object and a set of assumed values ​​of motion speed at the position of the endoscope inspection object are set, and motion simulation is performed respectively with a set of assumed values ​​of motion speed and a set of assumed values ​​of motion acceleration at the position of the endoscope inspection object; The amount of image information at the position of the endoscopic inspection object is counted, and the assumed value of the motion acceleration and the assumed value of the motion speed at the position of the endoscopic inspection object corresponding to the highest amount of image information are used as the expected value of the motion acceleration and the expected value of the motion speed at the position of the endoscopic inspection object, and the expected value of the motion acceleration and the expected value of the motion speed at the position of the endoscopic inspection object are converted into adaptive adjustment parameters of the motion magnetic field of the historical field of view image at the position of the endoscopic inspection object; The position type of each historical field of view image and the adaptive adjustment parameters of the motion magnetic field corresponding to each position type are correspondingly grouped into a single training sample; All single samples are mixed to form a sample set for BP neural network convolution training.

6. The capsule endoscope motion control method based on magnetic control technology according to claim 1, Features: The position types include the position of the endoscopic inspection object, the non-adjacent position of the endoscopic inspection object and the adjacent position of the endoscopic inspection object. The motion indicators include the motion speed and motion acceleration of the capsule endoscope at the position of the endoscopic inspection object, the motion speed and motion acceleration of the capsule endoscope at the non-adjacent position of the endoscopic inspection object, and the motion speed and motion acceleration of the capsule endoscope at the non-adjacent position of the endoscopic inspection object.

7. The capsule endoscope motion control method based on magnetic control technology according to claim 6, It is characterized in that The statistical method for the accuracy of reaching the adjacent position of the endoscopic inspection object from the non-adjacent position of the endoscopic inspection object includes: The non-adjacent position of the endoscopic inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope starting from the starting point to the adjacent position of the endoscopic inspection object with the assumed value of the motion speed and the assumed value of the motion acceleration at each non-adjacent position of the endoscopic inspection object is simulated; The number of motion points that stay at the position of the endoscopic inspection object during all motion processes formed by the assumed values ​​of the motion speed and the assumed values ​​of the motion acceleration at each non-adjacent position of the endoscopic inspection object is counted as the accuracy rate of the non-adjacent position of the endoscopic inspection object reaching the position of the endoscopic inspection object.

8. The capsule endoscope motion control method based on magnetic control technology according to claim 6, It is characterized in that The statistical method for the accuracy of reaching the position of the endoscopic inspection object from the adjacent position of the endoscopic inspection object includes: The adjacent position of the endoscopic inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope starting from the starting point to the position of the endoscopic inspection object with the assumed value of the motion speed and the assumed value of the motion acceleration at each adjacent position of the endoscopic inspection object is simulated; The number of motion points that stay at the position of the endoscopic inspection object during all motion processes formed by the assumed values ​​of the motion speed and the assumed values ​​of the motion acceleration at each adjacent position of the endoscopic inspection object is counted as the accuracy rate of the adjacent position of the endoscopic inspection object reaching the position of the endoscopic inspection object.

9. The capsule endoscope motion control method based on magnetic control technology according to claim 6, It is characterized in that The statistical method of the image information amount of the endoscopic inspection object position includes: The position of the endoscope inspection object is used as the starting point for motion simulation, and the motion process of the capsule endoscope at the position of the endoscope inspection object is simulated with each assumed value of the motion speed and the assumed value of the motion acceleration at the position of the endoscope inspection object; The total amount of image information of the endoscopic inspection object captured during all movements formed by the assumed values ​​of the movement speed and the assumed values ​​of the movement acceleration at each position of the endoscopic inspection object is counted as the image information amount of the endoscopic inspection object position.

10. The capsule endoscope motion control method based on magnetic control technology according to claim 1, It is characterized in that The visual field images are normalized to the same specifications before the dynamic site recognition model is trained.