Crawler-type intestinal robot and control method thereof

By designing a crawler-type intestinal robot and its autonomous navigation control method, and using intestinal image preprocessing and fold contour algorithms, the problems of insufficient anti-interference ability and movement accuracy of intestinal robots in the existing technology have been solved, and the human body has been realized in the intestinal tract. Stable, accurate movement and efficient inspection.

CN118633896APending Publication Date: 2024-09-13HEBEI UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410551412.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing intestinal robots have deficiencies in anti-interference ability and movement accuracy. In particular, passive robots lack autonomous movement capabilities, active robots are limited by mechanical structures, and navigation algorithms based on optical flow and dark area segmentation are easily affected by light. , the accuracy is not high.

Method used

A crawler-type intestinal robot and its control method are designed. It adopts a four-crawler structure shuttle robot, combines the intestinal image preprocessing algorithm, fold contour algorithm, robot steering angle algorithm and retreat algorithm to obtain intestinal image information through the camera. , navigate independently and retreat when encountering the intestinal wall to avoid damage to the intestine.

Benefits of technology

It achieves stable movement in the intestine, improves examination efficiency, reduces patient discomfort, and improves movement accuracy and anti-interference capabilities through autonomous navigation algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633896A
    Figure CN118633896A
Patent Text Reader

Abstract

The invention relates to an intestinal robot and a control method thereof, according to the crawler-type intestinal robot, an upper half shell and a lower half shell are mutually buckled to form a machine shell, driving wheels and driven wheels are installed on the two sides of the upper half shell and the two sides of the lower half shell respectively, and crawler belts are connected to the driving wheels and the driven wheels on the same side in a sleeving mode; the driving wheel is connected to the machine shell through a driving shaft in a supporting mode, a driving motor is connected to the driving shaft and electrically connected with a controller in the machine shell, a camera is installed at the front end of the machine shell, and intestinal tract robot control software is installed in the controller. According to the method, the environmental characteristics in the intestinal tract are utilized, the movement parameters of the intestinal robot can be extracted by recognizing the wrinkles in the intestinal tract, autonomous navigation of the intestinal robot in the intestinal tract is achieved, the discomfort of a patient in the enteroscopy process is relieved to the maximum extent, and the operation complexity of a doctor is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an endoscope device, in particular to a tracked intestinal robot and a control method thereof. Background Art

[0002] The morbidity and mortality of colon cancer and rectal cancer rank second and third among various malignant tumors affecting humans, posing a huge threat to human life. Therefore, early detection and treatment of colorectal cancer have become a problem that needs to be solved urgently. During the gastrointestinal endoscopic examination, the entry of the gastrointestinal endoscopic machine will cause great discomfort to the patient and increase the risk of occupational exposure of doctors. As a result, attempts have been made to bring robotic technology into gastrointestinal endoscopic examinations. Up to now, the exploration and research on the structure of endoscopic robots are mainly divided into two categories: active and passive. The representative of passive robots is capsule endoscope robots; while active robots include electromagnetic endoscope robots, wheeled endoscope robots, crawler endoscope robots, and looper endoscope robots. The control method of the intestinal robot is mainly based on the navigation algorithm designed by dark area segmentation and optical flow method. The main principle of this method is: for the image in the intestine, the deeper the pixel value, the lower the pixel value, and the motion parameters of the intestinal robot and the deepest position of the intestine are matched to achieve the purpose of autonomous navigation.

[0003] Due to the influence of the folds of the intestine, the existing passive intestinal robots do not have the ability to move autonomously. The active intestinal robots are constrained by the mechanical structure design and it is difficult to achieve a balance between anti-interference ability and movement ability. For the control algorithm of the intestinal robot, the existing navigation algorithm based on the optical flow method is greatly affected by lighting, and the movement accuracy is easily disturbed. The algorithm based on dark area segmentation is difficult to obtain the matching relationship between the steering angle and the dark area due to the low amount of information. Summary of the invention

[0004] One of the purposes of the present invention is to provide a tracked intestinal robot to solve the problems of weak anti-interference ability and poor passing ability of existing intestinal robots.

[0005] The second purpose of the present invention is to provide a control method for a tracked intestinal robot to solve the problems of low accuracy and great influence of light in the autonomous navigation algorithm based on dark area segmentation and optical flow method.

[0006] One of the purposes of the present invention is achieved in that:

[0007] A tracked intestinal robot comprises an upper half shell and a lower half shell which are interlocked to form a hollow casing, a driving wheel and a driven wheel are respectively arranged on both sides of the upper half shell, the driving wheels on both sides are centrally symmetrically distributed, and the track is sleeved on the driving wheel and the driven wheel on the same side; a driving wheel and a driven wheel are respectively arranged on both sides of the lower half shell, the driving wheels on both sides are centrally symmetrically distributed, and the track is sleeved on the driving wheel and the driven wheel on the same side; four driving wheels are respectively supported and connected to the casing through a driving shaft, and four driven wheels are respectively supported and connected to the casing through a driven shaft, and a driving motor is respectively connected to the four driving shafts, and the four driving motors are electrically connected to a controller installed in the casing to execute operation instructions issued by the controller; a camera is installed at the front end of the casing to transmit the captured intestinal image signal to the controller; the controller issues corresponding operation control instructions according to the intestinal robot control software installed therein and the received intestinal image signal.

[0008] Furthermore, T-shaped frames are respectively inserted in the middle of both sides of the upper half shell, the ends of the central rods of the two T-shaped frames are opposite, and the two are fixedly connected together by buckles; the cross bar of the T-shaped frame is located outside the side wall of the upper half shell, and through holes are respectively opened at both ends of the cross bar, one through hole is sleeved on the driving shaft, and the other through hole is sleeved on the driven shaft.

[0009] Furthermore, T-shaped frames are respectively inserted in the middle of both sides of the lower half shell, the ends of the central rods of the two T-shaped frames are opposite, and the two are fixedly connected together by buckles; the cross bar of the T-shaped frame is located outside the side wall of the lower half shell, and through holes are respectively opened at both ends of the cross bar, one through hole is sleeved on the driving shaft, and the other through hole is sleeved on the driven shaft.

[0010] Furthermore, the axis of the driving shaft installed on one side of the upper half shell is in a straight line with the axis of the driven shaft installed on the opposite side of the upper half shell; the axis of the driving shaft installed on one side of the lower half shell is in a straight line with the axis of the driven shaft installed on the opposite side of the lower half shell.

[0011] Furthermore, the axis of the driving shaft installed on one side of the upper half shell is in a straight line with the axis of the driven shaft installed on the opposite side of the upper half shell; the axis of the driving shaft installed on one side of the lower half shell is in a straight line with the axis of the driven shaft installed on the opposite side of the lower half shell.

[0012] Furthermore, the intestinal robot control software includes:

[0013] An intestinal image preprocessing algorithm is used to convert the intestinal video information captured by the camera into framed intestinal images and extract the intestinal fold contours from the intestinal images;

[0014] An intestinal fold contour algorithm is used to calculate the center point and radius of the circumscribed circle of the intestinal fold contour in the intestinal image and the aspect ratio of the minimum circumscribed regular quadrilateral of the intestinal fold contour, and after determining that there is a computable contour in the intestinal image, calculate the calculation result of the intestinal fold contour about the center point;

[0015] A robot steering angle algorithm for matching the calculated result about the center point with a given intestinal robot steering angle matching table to determine the steering angle for the intestinal robot to move forward; and

[0016] The robot retreat algorithm is used to issue an intestinal robot retreat command when no computable contour is obtained for four consecutive frames during the calculation of the intestinal fold contour algorithm.

[0017] The endoscopic robot of the present invention forms a fusiform intestinal robot with a four-track structure. Through the tracked movement mode, it can move at a relatively stable speed in the patient's intestine. At the same time, the retreat algorithm adopted can retreat in time when it touches the intestinal wall, thereby effectively preventing damage to the patient's intestine. The robot control software adopted is a robot autonomous navigation method. There is no need to consider the operator's proficiency and it can perform intestinal detection autonomously, thereby improving the work efficiency of intestinal examination.

[0018] The second object of the present invention is achieved in this way:

[0019] A control method for a crawler-type intestinal robot, in the form of computer executable control software, specifically comprises:

[0020] An intestinal image preprocessing algorithm is used to convert the intestinal video information captured by the camera into framed intestinal images and extract the intestinal fold contours from the intestinal images;

[0021] An intestinal fold contour algorithm is used to calculate the center point and radius of the circumscribed circle of the intestinal fold contour in the intestinal image and the aspect ratio of the minimum circumscribed regular quadrilateral of the intestinal fold contour, and after determining that there is a computable contour in the intestinal image, calculate the calculation result of the intestinal fold contour about the center point;

[0022] A robot steering angle algorithm for matching the calculated center point calculation result with a given intestinal robot steering angle matching table to determine the steering angle for the intestinal robot to move forward; and

[0023] The robot retreat algorithm is used to issue an intestinal robot retreat command when no computable contour is obtained for four consecutive frames during the calculation of the intestinal fold contour algorithm.

[0024] Furthermore, the specific processing method of the intestinal image preprocessing algorithm is: first convert the intestinal video information captured by the camera into a grayscale image of the video frame, perform de-highlighting and bilateral filtering on the grayscale image to obtain a filtered image, and then perform adaptive threshold processing and morphological closing operations on the filtered image to obtain a preliminary wrinkle contour image, and after filling small area processing and skeletonization of the preliminary wrinkle contour image, a black and white image containing only the intestinal fold contour information is obtained, and then it is transferred to the intestinal fold contour algorithm.

[0025] Furthermore, the specific processing method of the intestinal fold contour algorithm is: first obtain the center, radius and aspect ratio of the minimum circumscribed regular quadrilateral of the intestinal fold contour in each frame of the black-and-white image, and then compare the radius of the circumscribed circle of the intestinal fold contour with one-third of the width of the black-and-white image. If the radius of the circumscribed circle is larger, the intestinal fold contour corresponding to the radius is classified as a computable contour, otherwise it is classified as an uncomputable contour; if there is a computable contour in the black-and-white image, the computable contour is substituted into the center point calculation formula to calculate the calculation result of the intestinal fold contour with respect to the center point; if there is no computable contour in the black-and-white image, a statistical count is performed; if the counting result is <4, the calculation result of the intestinal fold contour of the black-and-white image with respect to the center point is the calculation result of the intestinal fold contour of the closest black-and-white image with a computable contour with respect to the center point, and the robot steering angle algorithm is entered; otherwise, the robot retreat algorithm is entered.

[0026] Furthermore, the specific processing method of the robot retreat algorithm is: first issue a robot retreat command, and while the intestinal robot retreats, run the image preprocessing algorithm and the intestinal fold contour algorithm; when the calculation result of the intestinal fold contour algorithm shows a classification result of a calculable contour, stop the intestinal robot from retreating, and calculate the calculation result of the intestinal fold contour about the center point, and then control the intestinal robot to turn according to the steering angle determined by the robot steering angle algorithm.

[0027] Furthermore, there are two subsequent processing methods for the steering angle calculated by the robot steering angle algorithm:

[0028] a. When the intestinal robot touches the inner side of the intestinal bend, the steering angle is changed to the next larger angle and the angle is set as the final result;

[0029] b. When the intestinal robot touches the outside of the intestinal bend, the direction of the steering angle is set to the reverse direction, and the angle is set as the final result;

[0030] Only one of the above two subsequent processing methods is executed during each retreat process of the intestinal robot, and different subsequent processing methods are used in the first and second retreat processes of the robot.

[0031] The intestinal robot control method of the present invention makes full use of the environmental characteristics in the intestine, and determines the position of the intestinal robot and the next movement by identifying intestinal folds; and in the process of colonoscopy, when the patient feels uncomfortable, the robot retreat algorithm can be used to control the intestinal robot to slowly retreat, thereby causing minimal damage to the intestine, so as to alleviate the patient's discomfort during the colonoscopy to the greatest extent, and enable the intestinal robot to quickly return from being unable to judge its own state to being able to judge its own state and reasonably plan the next movement direction, thereby providing accurate navigation services for the operation of the intestinal robot in the intestine and realizing autonomous navigation for the intestinal robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a schematic structural diagram of the crawler-type intestinal robot of the present invention.

[0033] Figure 2 This is a schematic diagram of the internal structure of the crawler colonoscope robot after removing the shell.

[0034] Figure 3 It is a schematic diagram of the structure of the walking part of the tracked intestinal robot.

[0035] Figure 4 It is a schematic diagram of the coordination structure between the driving motor and the driving wheel.

[0036] Figure 5 It is a control flow chart of the crawler-type intestinal robot control method of the present invention.

[0037] Figure 6 This is a schematic diagram of the step-by-step processing results of the intestinal image processing process.

[0038] Among them: 1. driving motor, 2. crawler track, 3. driven wheel, 4. driving wheel, 5. T-frame, 6. buckle, 7. casing, 8. camera, 9. driving shaft, 10. driven shaft. DETAILED DESCRIPTION

[0039] The present invention will be further described below in conjunction with the accompanying drawings.

[0040] like Figure 1 — Figure 4As shown, the hollow housing 7 is formed by the upper half shell and the lower half shell interlocking with each other. The upper half shell and the lower half shell of the housing 7 are symmetrical structures. A semicircular groove is opened at the same position of the front end of the upper half shell and the lower half shell, and the two semicircular grooves are combined to facilitate the installation of the camera 8. A rectangular groove is opened at the same position of the rear end of the upper half shell and the lower half shell, and the two rectangular grooves are combined to facilitate the threading of the tether for pulling the robot. A driving wheel 4 and a driven wheel 3 are installed on each side of the upper half shell of the housing 7. The driving wheels 4 on both sides are distributed symmetrically ( Figure 3 ), the track 2 is sleeved on the driving wheel 4 and the driven wheel 3 on the same side. Similarly, a driving wheel and a driven wheel 3 are installed on each side of the lower half shell 4, and the driving wheels 4 on both sides are distributed symmetrically around the center, and the track 2 is sleeved on the driving wheel 4 and the driven wheel 3 on the same side. The four driving wheels 4 are each supported and connected to the casing 7 by a driving shaft 9, and the four driven wheels 3 are each supported and connected to the casing 7 by a driven shaft 10. Each driving shaft 4 is connected to a drive motor 1. The four drive motors 1 are all electrically connected to the controller (not shown) to execute the operating instructions issued by the controller. The controller is installed in the inner cavity of the casing 7. The drive motor 1 is a hollow cup DC micromotor with a reducer. A camera ( Figure 1 ) is used to transmit the captured intestinal image signal to the controller. The intestinal robot control software is installed in the controller, and the controller issues corresponding operation control instructions to the intestinal robot according to the intestinal robot control software and the received intestinal image signal.

[0041] like Figure 3 As shown, the axis of the driving shaft 9 installed on one side of the upper half shell is in a straight line with the axis of the driven shaft 10 installed on the opposite side of the upper half shell. Similarly, the axis of the driving shaft 9 installed on one side of the lower half shell is in a straight line with the axis of the driven shaft 10 installed on the opposite side of the lower half shell. The axis of the driving shaft 9 installed on one side of the upper half shell is in a straight line with the axis of the driven shaft 10 installed on the opposite side of the upper half shell; the axis of the driving shaft 9 installed on one side of the lower half shell is in a straight line with the axis of the driven shaft 10 installed on the opposite side of the lower half shell.

[0042] like Figure 2 As shown, T-shaped frames 5 are respectively inserted on both sides of the lower half shell, and the ends of the central rods of the two T-shaped frames 5 are opposite to each other and fixedly connected together by buckles 6. The crossbar of the T-shaped frame 5 is located outside the side wall of the lower half shell, and through holes are respectively opened at both ends of the crossbar, one of the two through holes is sleeved on the extended end of the driving shaft 9, and the other is sleeved on the extended end of the driven shaft 10.

[0043] Similarly, T-shaped frames 5 are respectively inserted on both sides of the upper half shell, and the ends of the central rods of the two T-shaped frames 5 are opposite to each other and fixedly connected together by buckles 6. The crossbar of the T-shaped frame 5 is located outside the side wall of the upper half shell, and through holes are respectively opened at both ends of the crossbar, one of the two through holes is sleeved on the extended end of the driving shaft 9, and the other is sleeved on the extended end of the driven shaft 10.

[0044] The working principle of the intestinal robot of the present invention is: first, the real-time video image information of the inside of the intestine is obtained through the camera at the front end of the intestinal robot. Then, after the image preprocessing process, the fold contour information of the inside of the intestine is obtained. After that, the reference value of the intestinal fold contour is judged to determine the processing method to be performed later. If there is a fold contour with reference significance in the image, the center point deviation will be calculated by the formula. After obtaining the center point deviation data, it is necessary to match the motion parameters with reference to the previous motion state. If the image is the first frame image after the robot retreat algorithm is implemented, it is necessary to post-process the motion parameters and then match the motion parameters, otherwise the motion parameters are directly matched to guide the movement of the intestinal robot through the motion parameters. If there is no contour with reference significance in the image, it is necessary to judge again whether the four consecutive frames before the frame have not detected the contour with reference significance. If the four consecutive frames before the frame have not detected the contour with reference significance, it can be judged that the intestinal robot can no longer get itself out of trouble by simply turning or moving forward at this time, and it is necessary to execute the robot retreat algorithm to make the intestinal robot perform the retreat operation so as to obtain clear intestinal fold contour information again. If the four consecutive frames of images before this frame have wrinkle contours that are of reference significance, the most recent frame of image data with clear wrinkle contour data will be used as a guide and matched to determine the next movement of the intestinal robot.

[0045] The specific working mode of the intestinal robot of the present invention is:

[0046] S1. The intestinal robot enters the patient's intestine.

[0047] S2. The camera at the front end of the intestinal robot captures and obtains information about the patient's intestines.

[0048] S3. Based on the acquired internal intestinal information, the image preprocessing algorithm in the intestinal robot control software is used to obtain the distribution of folds in the intestine, and the intestinal fold contours at the folds are obtained through the fold distribution.

[0049] S4. Determine whether to provide a reference for the movement of the intestinal robot based on the distribution of the intestinal fold contour. If a reference can be provided, it is necessary to calculate the deviation of the fold contour and control the movement of the intestinal robot based on the deviation value. If a reference cannot be provided and there is no reference value for four consecutive frames, the deviation of the control movement of the most recent frame is used. If a reference cannot be provided and there is no reference value for four consecutive frames, the intestinal robot is controlled to retreat appropriately and stop through the robot retreat algorithm in the intestinal robot control software.

[0050] S5. Repeat S2-S4 until the entire colonoscopy is completed.

[0051] like Figure 5 As shown, the control method of the crawler intestinal robot of the present invention appears in the form of computer executable control software, which specifically includes intestinal image preprocessing algorithm, intestinal fold contour algorithm, robot steering angle algorithm, robot retreat algorithm and robot operation control.

[0052] The specific processing method of the image preprocessing algorithm is:

[0053] S11, capture the intestinal video frame data captured by the camera, and convert each frame data into a grayscale image (see Figure 6 (A)).

[0054] S12, the grayscale image is first subjected to highlight removal processing, and then bilateral filtering is performed to obtain a filtered image, so as to retain the wrinkle contour information in the intestinal image data, and the image data is preliminarily denoised (see Figure 6 (B)).

[0055] S13, performing adaptive threshold processing on the filtered image to extract the wrinkle contour information of the intestinal image data (see Figure 6 (C)).

[0056] S14, perform two morphological closing operations on the filtered image, one using a cross convolution kernel and the other using a rectangular convolution kernel to remove noise points of the wrinkle contour information of the intestinal image and obtain a preliminary wrinkle contour image (see Figure 6 (D)).

[0057] S15, output the connected domain of the preliminary wrinkle contour image data, and the connected domain with a number of pixels less than the minimum set area is used for background color filling to trim the wrinkle contour of the intestinal image, remove the bifurcation of the wrinkle contour of the intestinal image, and further extract the wrinkle contour information of the intestinal image (see Figure 6 (E)).

[0058] S16, skeleton extraction is performed on the processed image data, and the connected domain formed by each wrinkle contour data of the intestinal image in step S5 is thinned into a width of one pixel, thereby obtaining a black and white image containing only the intestinal wrinkle contour information (see Figure 6 (F)).

[0059] S17. All wrinkle contours will be collected and returned to a list for further processing.

[0060] The specific method of the intestinal fold contour algorithm is: first obtain the center, radius and aspect ratio of the circumscribed circle of the intestinal fold contour in each frame of the black-and-white image, and then compare the radius of the circumscribed circle of the intestinal fold contour with one-third of the width of the black-and-white image. If the radius of the circumscribed circle is larger, the intestinal fold contour corresponding to the radius is classified as a computable contour, otherwise it is classified as an incomputable contour; if there is a computable contour in the black-and-white image, then the computable contour is brought into the center point calculation formula:

[0061]

[0062] Among them, bias is the control parameter for controlling the steering angle of the intestinal robot; α is the adjustment parameter, and its value is 10; weight i is the weight parameter of the i-th frame image; x i is the abscissa of the center of the circumscribed circle of the intestinal fold contour obtained in the i-th frame image; w is the width of the image obtained by the camera; r i is the radius of the circumscribed circle of the intestinal fold contour obtained in the i-th frame image; ra i is the aspect ratio of the regular quadrilateral circumscribing the intestinal fold outline obtained in the i-th frame image.

[0063] The weight parameter weight can be calculated by the weight calculation method of AHP or FAHP. Among them, the FAHP weight calculation method is to find the corresponding specific weight from the weight matching table according to the ratio between the width w of the acquired image and the radius r of the circumscribed circle of the intestinal fold contour in the image under different conditions (see Table 1). The weight value obtained is a relative value and needs to be normalized in combination with the final fold contour detection result to obtain the absolute weight.

[0064] Table 1. Weight matching table

[0065] 0≤r≤w / 4 w / 4<r≤w / 2 w / 2<r≤w r>w Weight 0≤r≤w / 4 0.5 0.3 0.3 0.4 0.072222 w / 4<r≤w / 2 0.7 0.5 0.4 0.35 0.227778 w / 2<r≤w 0.7 0.6 0.5 0.6 0.383333 r>w 0.6 0.65 0.4 0.5 0.316667

[0066] In Table 1, the classification of intestinal fold contours is set as the ratio of the radius r of the minimum circumscribed circle of the fold contour to the width of the acquired image frame. According to this regulation, the fold contours are divided into four levels, namely: radius r is less than one quarter of the image width, radius r is between one quarter and one half of the image width, radius r is between one half to one image width, and radius r is greater than one image width. Based on this weight judgment method and the classification basis of fold contours, the final fold contour classification can be obtained. Since it is impossible to have all four types of fold contours in actual fold contour detection, the weight calculated by the FAHP method is used as the relative value of the weight, and the relative value is normalized and calculated as the final value of the weight parameter.

[0067] The calculation result of the center point of the intestinal fold contour is calculated by the center point calculation formula. If there is no computable contour in the black and white image, a statistical count is performed. If the count result is less than 4, the calculation result of the center point of the intestinal fold contour of the black and white image is the calculation result of the center point of the intestinal fold contour of the closest black and white image with a computable contour, and it is transferred to the robot steering angle algorithm; otherwise, it is transferred to the robot retreat algorithm.

[0068] The above-mentioned intestinal fold contour algorithm requires the following data to judge the distribution of fold contours: the number of intestinal fold contours obtained according to the image preprocessing method, the radius of the circumscribed circle of the intestinal fold contours and the width of the acquired image frame.

[0069] If the number of intestinal fold contours is ≥3, it is considered that the fold contours can provide a reference for the movement of the intestinal robot. If the number of fold contours is <3, it is necessary to compare the radius of the circumscribed circle of the detected fold contours with one-third of the width of the acquired black-and-white image. If the radius of the circumscribed circle of the fold contour is greater than or equal to one-third of the width of the black-and-white image, it is considered that the fold contour can provide a reference for the movement of the intestinal robot; otherwise, it cannot.

[0070] The specific method of the robot steering angle algorithm is to match the calculation result of the center point of the intestinal fold contour with the intestinal robot steering angle matching table (see Table 2) to determine the steering angle of the intestinal robot.

[0071] Table 2. Intestinal robot steering angle matching table

[0072] Range of results Rotation Angle Range of results Rotation Angle -1≤K≤1 0(go straight) -1.5<K≤-1 -1° 1<K≤1.5 1° -3<K≤-1.5 -3° 1.5<K≤3 3° -5<K≤-3 -5° 3<K≤5 5° K≤-5 -10° K≥5 10°

[0073] When there are two or one wrinkle contours, another method is needed to take only the contour with the largest circumscribed circle radius to participate in the calculation. The calculation formula of the center point can be simplified as follows:

[0074]

[0075] Among them, x is the horizontal coordinate of the center of the circumscribed circle of the obtained intestinal fold outline; w is the width of the image obtained by the camera; r is the radius of the circumscribed circle of the obtained intestinal fold outline; ra is the aspect ratio of the circumscribed regular quadrilateral of the obtained intestinal fold outline.

[0076] The calculated deviation result is matched with the forward steering angle of the intestinal robot in the following way: when the deviation result ∈(0, 1], the intestinal robot is running straight; when the deviation result ∈(1, 1.5], the deflection ω of the running state min =1°; when the deviation result∈(1.5,3], the operating state is deflectionω mid =3°; when the deviation result∈(3,5], the operating state is deflectionω max =5°; when the deviation result∈(5,+∞], the operating state is deflectionω mm =10°; symmetrically, if the deviation result is in the negative range, the intestinal robot is set to turn in the opposite angle.

[0077] Finally, it is necessary to determine whether the deviation calculation result is the calculation result of the first clear wrinkle contour obtained after the robot back-up algorithm is executed. If the deviation result is the calculation result of the first clear wrinkle contour obtained after the robot back-up algorithm is executed, post-processing is required to convert the deflection angle into a larger angle, or keep the deflection angle unchanged while the deflection direction is opposite. The purpose is to enable the intestinal robot to escape from the predicament while reducing damage to the patient's intestines.

[0078] The specific processing method of the robot retreat algorithm is: first issue a robot retreat command, and while the intestinal robot retreats, run the image preprocessing algorithm and the intestinal fold contour algorithm. When the calculation result of the intestinal fold contour algorithm shows a classification result of a calculable contour, stop the intestinal robot's retreat, and calculate the result of the center point of the intestinal fold contour, and control the steering of the intestinal robot according to the steering angle determined by the robot steering angle algorithm.

[0079] The triggering method of the robot's retreat algorithm is that there are no reference values ​​for four consecutive frames. It can be judged that the intestinal robot is blocked, so it is necessary to stop the forward and turning operations and take the backward operation until the wrinkle contour with reference value can be obtained. When the wrinkle contour with reference value is obtained for the first time, the intestinal robot stops retreating and the robot's forward and turning operations are performed again.

[0080] There are two ways to process the steering angle calculated by the robot steering angle algorithm:

[0081] a. When the intestinal robot touches the inner side of the intestinal bend, the steering angle is changed to the next larger angle and the angle is set as the final result;

[0082] b. When the intestinal robot touches the outside of the intestinal bend, the direction of the steering angle is set to the reverse direction, and the angle is set as the final result;

[0083] Only one of the above two subsequent processing methods is executed during each retreat process of the intestinal robot, and different subsequent processing methods are used in the first and second retreat processes of the robot.

Claims

1. A crawler-type intestinal robot, characterized in that: A hollow casing is formed by an upper half shell and a lower half shell which are interlocked with each other. A driving wheel and a driven wheel are respectively installed on both sides of the upper half shell, and the driving wheels on both sides are symmetrically distributed along the center, and the tracks are sleeved on the driving wheel and the driven wheel on the same side; a driving wheel and a driven wheel are respectively installed on both sides of the lower half shell, and the driving wheels on both sides are symmetrically distributed along the center, and the tracks are sleeved on the driving wheel and the driven wheel on the same side; four driving wheels are respectively supported and connected to the casing through a driving shaft, and four driven wheels are respectively supported and connected to the casing through a driven shaft, and a driving motor is respectively connected to the four driving shafts, and the four driving motors are electrically connected to a controller installed in the casing to execute the operation instructions issued by the controller; a camera is installed at the front end of the casing to transmit the captured intestinal image signal to the controller; the controller issues corresponding operation control instructions according to the intestinal robot control software installed therein and the received intestinal image signal.

2. The crawler-type intestinal robot according to claim 1 is characterized in that T-shaped frames are respectively inserted into the middle of both sides of the upper half shell, the ends of the central rods of the two T-shaped frames are opposite to each other, and the two are fixedly connected together by buckles; the cross bar of the T-shaped frame is located outside the side wall of the upper half shell, and through holes are respectively opened at both ends of the cross bar, one through hole is sleeved on the driving shaft, and the other through hole is sleeved on the driven shaft.

3. The crawler-type intestinal robot according to claim 1 is characterized in that T-shaped frames are respectively inserted into the middle of both sides of the lower half shell, the ends of the central rods of the two T-shaped frames are opposite to each other, and the two are fixedly connected together by buckles; the cross bar of the T-shaped frame is located outside the side wall of the lower half shell, and through holes are respectively opened at both ends of the cross bar, one through hole is sleeved on the driving shaft, and the other through hole is sleeved on the driven shaft.

4. The crawler-type intestinal robot according to claim 1, 2 or 3, characterized in that: The axis center of the driving shaft installed on one side of the upper half shell is in a straight line with the axis center of the driven shaft installed on the opposite side of the upper half shell; the axis center of the driving shaft installed on one side of the lower half shell is in a straight line with the axis center of the driven shaft installed on the opposite side of the lower half shell.

5. The crawler-type intestinal robot according to claim 1 is characterized in that: The intestinal robot control software includes: An intestinal image preprocessing algorithm is used to convert the intestinal video information captured by the camera into framed intestinal images and extract the intestinal fold contours from the intestinal images; An intestinal fold contour algorithm is used to calculate the center point and radius of the circumscribed circle of the intestinal fold contour in the intestinal image and the aspect ratio of the minimum circumscribed regular quadrilateral of the intestinal fold contour, and after determining that there is a computable contour in the intestinal image, calculate the calculation result of the intestinal fold contour about the center point; A robot steering angle algorithm, used to match the calculated result about the center point with the data in a given intestinal robot steering angle matching table to determine the steering angle of the intestinal robot; and The robot retreat algorithm is used to issue an intestinal robot retreat command when no computable contour is obtained for four consecutive frames during the calculation of the intestinal fold contour algorithm.

6. A control method for a crawler-type intestinal robot, characterized in that: Appears in the form of computer executable control software, including: An intestinal image preprocessing algorithm is used to convert the intestinal video information captured by the camera into framed intestinal images and extract the intestinal fold contours from the intestinal images; An intestinal fold contour algorithm is used to calculate the center point and radius of the circumscribed circle of the intestinal fold contour in the intestinal image and the aspect ratio of the minimum circumscribed regular quadrilateral of the intestinal fold contour, and after determining that there is a computable contour in the intestinal image, calculate the calculation result of the intestinal fold contour about the center point; A robot steering angle algorithm, used to match the calculated result about the center point with a given intestinal robot steering angle matching table to determine the steering angle of the intestinal robot for advancement; and The robot retreat algorithm is used to issue an intestinal robot retreat command when no computable contour is obtained for four consecutive frames during the calculation of the intestinal fold contour algorithm.

7. The control method of the crawler-type intestinal robot according to claim 6 is characterized in that: The specific processing method of the intestinal image preprocessing algorithm is: first convert the intestinal video information captured by the camera into a grayscale image of the video frame, perform de-highlighting and bilateral filtering on the grayscale image to obtain a filtered image, and then perform adaptive threshold processing and morphological closing operations on the filtered image to obtain a preliminary wrinkle contour image, and after filling small area processing and skeletonization of the preliminary wrinkle contour image, a black and white image containing only the intestinal fold contour information is obtained, and then it is transferred to the intestinal fold contour algorithm.

8. The control method of the crawler-type intestinal robot according to claim 7 is characterized in that: The specific processing method of the intestinal fold contour algorithm is: first obtain the center, radius and aspect ratio of the circumscribed circle of the intestinal fold contour in each frame of the black-and-white image, and then compare the radius of the circumscribed circle of the intestinal fold contour with one-third of the width of the black-and-white image. If the radius of the circumscribed circle is larger, the intestinal fold contour corresponding to the radius is classified as a computable contour, otherwise it is classified as an uncomputable contour; if there is a computable contour in the black-and-white image, the computable contour is substituted into the center point calculation formula to calculate the calculation result of the intestinal fold contour with respect to the center point; if there is no computable contour in the black-and-white image, a statistical count is performed; if the counting result is <4, the calculation result of the intestinal fold contour of the black-and-white image with respect to the center point is the calculation result of the intestinal fold contour of the closest black-and-white image with a computable contour with respect to the center point, and the robot steering angle algorithm is entered; otherwise, the robot retreat algorithm is entered.

9. The control method of the crawler-type intestinal robot according to claim 8 is characterized in that: The specific processing method of the robot retreat algorithm is: first issue a robot retreat command, and while the intestinal robot retreats, run the image preprocessing algorithm and the intestinal fold contour algorithm; when the calculation result of the intestinal fold contour algorithm shows a classification result of a calculable contour, stop the intestinal robot from retreating, and calculate the calculation result of the intestinal fold contour about the center point; then, according to the steering angle determined by the robot steering angle algorithm, control the intestinal robot to turn according to the determined steering angle.

10. The control method of the crawler-type intestinal robot according to claim 6 or 9, characterized in that: There are two ways to process the steering angle calculated by the robot steering angle algorithm: a. When the intestinal robot touches the inner side of the intestinal bend, the steering angle is changed to the next larger angle and the angle is set as the final result; b. When the intestinal robot touches the outside of the intestinal bend, the direction of the steering angle is set to the reverse direction, and the angle is set as the final result; Only one of the above two subsequent processing methods is executed during each retreat process of the intestinal robot, and different subsequent processing methods are used in the first and second retreat processes of the robot.

Citation Information

Cited By

  • Navigation method of crawler-type intestinal robot in enteric cavity

    CN120514480A