Intelligent acupuncture positioning device based on deep learning network
Through deep learning network and PID control technology, combined with high-definition projector and laser positioning, the precise acupuncture point identification and positioning of the acupuncture device is realized, which solves the problem of inaccurate positioning in the existing technology and improves the automation and treatment effect of acupuncture.
Patent Information
- Application Number
- CN202411045919.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-01
AI Technical Summary
Existing acupuncture positioning devices have problems such as inaccurate positioning, being greatly affected by skin conditions, and being unable to correct according to individual differences, resulting in limited therapeutic effects.
An intelligent acupuncture positioning device based on deep learning network is used, combined with a high-definition projector, laser positioner and CCD camera, to identify acupuncture points through the trained target recognition and key point detection neural network, and perform secondary correction, and use the PID controller to accurately position Laser points realize automated operation of robotic arm acupuncture devices.
It achieves precise identification and positioning of human acupuncture points, reduces human errors, improves the accuracy and automation of acupuncture, enables acupuncture operations to be performed according to the choice of medical staff, and improves the treatment effect.
Smart Images

Figure CN118557435B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of physical therapy devices, in particular to the technical field of acupuncture devices. Background Art
[0002] Acupoints, also known as acupoints, refer to special points on the human body's meridians. Traditional Chinese medicine treats diseases by stimulating these specific acupoints through acupuncture, massage, acupressure and moxibustion. However, due to the large number of acupoints in the human body and their complex locations, and relying on doctors to accurately identify and locate the acupoints, there is a certain degree of subjectivity and limitations, and positioning errors are prone to occur, which has a crucial impact on the treatment effect. Traditional Chinese medicine needs a practical intelligent tool to accurately identify the location of acupoints, thereby helping to popularize traditional Chinese medicine in society, benefit the people and go to the world.
[0003] At present, various acupoint positioning methods have been developed in society; for example, the early methods were based on the resistance difference between acupoints and non-acupoints on the human body, and used resistance measuring instruments for positioning; but this method is easily affected by the physical and chemical properties of the patient's skin surface, such as sweating, pollution and scars, which will have a great impact on the positioning accuracy; with the advancement of image recognition technology, the human body features are recognized by image recognition and the main acupoints in the human meridian map have corresponding positions to calculate and locate the acupoints. The defect of this type of method is that the feature point extraction and collection are inaccurate, resulting in large errors in acupoint positioning; Publication No. CN1034 Patent document 79510B discloses an acupoint positioning method and system. Although this method can identify human acupoints through an image recognition module, it is unable to correct the identified acupoints according to individual differences, resulting in deviations in the identified acupoints. Patent document publication number CN102743282A discloses an intelligent acupuncture point positioning device and method based on image recognition. Although this method can identify acupoints at specific locations through a probe, it is unable to mark specific acupoints according to actual needs. Therefore, there is no accurate and practical acupuncture positioning device so far. Summary of the invention
[0004] The purpose of the present invention is to solve the problems in the prior art and to propose an intelligent acupuncture positioning device based on a deep learning network, which can solve the above problems.
[0005] To achieve the above-mentioned purpose, the present invention proposes an intelligent acupuncture positioning device based on a deep learning network, comprising an acupoint recognition system, a circular track group, an acupuncture device platform, an auxiliary projection device platform, a robotic arm acupuncture device, a high-definition projector, a laser locator and a CCD camera, wherein the acupuncture device platform and the auxiliary projection device platform are both slidably mounted on the circular track group, and the acupuncture device platform and the auxiliary projection device platform are both capable of making circular motions along the circular track group, the auxiliary projection device platform is arranged on the outside of the acupuncture device platform, a high-definition projector, a laser locator and a CCD camera are installed on the auxiliary projection device platform, a robotic arm acupuncture device is installed on the acupuncture device platform, the auxiliary projection device platform, the robotic arm acupuncture device, the high-definition projector, the laser locator and the CCD camera are all connected to the acupoint recognition system, and the acupoint recognition system comprises a memory, a processor and a computer program stored in the memory, and the processor executes the computer program to implement the following steps:
[0006] Step 1: The CCD camera takes pictures of various parts of the human body;
[0007] Step 2: Identify the various parts of the human body through the trained target recognition neural network, and then detect the human acupuncture points in each part of the human body through the trained key point detection neural network;
[0008] Step 3: Draw the detected acupoints in the original image, mark the Chinese names of the acupoints next to them, and perform secondary correction on the identified acupoints. The high-definition projector projects the acupoints onto the human body;
[0009] Step 4: The laser locator is used to precisely locate and mark the selected acupuncture points.
[0010] Preferably, in the step 2, human body data is collected in advance, and the collected data set is annotated, the neural network RTMDet is selected for target detection, the neural network RTMPose is selected for key point detection, and the data set is imported into the neural network for training to obtain a trained target recognition neural network and a trained key point detection neural network.
[0011] Preferably, in step three, the specific steps of secondary correction are as follows: first, linearly fit the posterior median line of the human body through the identified acupuncture points on the spine, and then calculate the vertical distance between the identified acromion point and the posterior median line, and this vertical distance is 8 inches, so as to obtain the distance of one inch on this human body; according to the obtained distance of one inch on this human body, each acupuncture point is calibrated, and during the calibration, the standard acupuncture point is first determined, and then the point to be calibrated is moved to the standard distance according to the positional relationship between the point to be calibrated and the standard acupuncture point.
[0012] Preferably, in step 4, the method of laser precise positioning is: the laser transmitter emits laser to the center of the human body, and then the CCD camera determines the position of the red laser point in the image by machine vision;
[0013] The steps to determine the position of the red laser point in the image are as follows:
[0014] Step 1: Convert the image to HSV channel;
[0015] Step 2: Take the V channel image for threshold segmentation;
[0016] Step 3: Get the red laser point area and take the pixel coordinates of the center point of the area, which is the pixel position of the red laser point in the image:
[0017] ;
[0018] in are the coordinates of the red pixel, N is the number of red pixels;
[0019] Calculate the difference between the pixel position of the red laser point and the pixel position of the target acupuncture point.
[0020] The error is the difference between the target point position and the laser point position:
[0021] ;
[0022] Create two PID controllers, one for the pixel difference in the X and one for the Y direction, which correspond to the first and second servos of the robot arm. Substitute the X and Y pixel position differences into the corresponding PID controllers, calculate the comprehensive output of the proportional, integral and differential parts, and return them to the corresponding servos as control signals to control their rotation angle changes.
[0023] The output of the PID controller is:
[0024] ;
[0025] ;
[0026] in:
[0027] ;
[0028] ;
[0029] And to prevent integral saturation:
[0030] ;
[0031] ;
[0032] in:
[0033] ;
[0034] ;
[0035] The differential term is:
[0036] ;
[0037] Step 4: Update the angle of the servo motor:
[0038] The angle of the servo motor is updated as:
[0039] ;
[0040] And make sure the servo motor angle is within the valid range:
[0041] ;
[0042] Step 5: Check the laser point position again:
[0043] The updated laser point position is ;
[0044] The position judgment and PID control output are performed every 0.1s, and the calculation stops when the red laser point moves to the target acupuncture point.
[0045] Preferably, the method further includes step five: performing positioning acupuncture using an acupuncture device.
[0046] Preferably, the step five is: according to the acupoints selected by the medical staff, first move the acupuncture device platform to the corresponding position, and then use the robotic arm acupuncture device to perform acupuncture; and according to the concept of inches obtained above, choose how many inches to insert.
[0047] Preferably, during the acupuncture process with the robotic arm acupuncture device: when the needle touches the skin, the skin applies a certain tiny pressure to the acupuncture needle, and the needle then squeezes and triggers the piezoelectric sensor. The piezoelectric sensor gives an electrical signal, recording this time as the starting point of acupuncture. The robotic arm then controls the needle to penetrate deeper until it reaches the specified depth.
[0048] Preferably, the circular track group comprises an outer circular guide rail, a middle circular guide rail and an inner circular guide rail, and the outer circular guide rail, the middle circular guide rail and the inner circular guide rail are coaxially arranged, and the bottom of the acupuncture device platform is provided with two groups of chain trolley groups respectively installed on the middle circular guide rail and the inner circular guide rail, and the bottom of the auxiliary projection device platform is also provided with two groups of chain trolley groups respectively installed on the middle circular guide rail and the outer circular guide rail.
[0049] Preferably, the robotic arm acupuncture device comprises a seven-degree-of-freedom robotic arm and an acupuncture needle, the seven-degree-of-freedom robotic arm is mounted on the top of the acupuncture device platform, the acupuncture needle is mounted on the free end of the seven-degree-of-freedom robotic arm, a piezoelectric sensor is disposed at the bottom of the acupuncture needle, and the laser locator comprises a two-degree-of-freedom robotic arm and a laser emitter, the laser emitter is disposed on the free end of the two-degree-of-freedom robotic arm.
[0050] Preferably, the acupuncture needle is mounted on a pressing block, the needle tip of the acupuncture needle protrudes from the head of the pressing block, a sleeve is slidably mounted on the outside of the pressing block, the head of the sleeve is connected to a sleeve, the sleeve is sleeved on the outside of the needle tip, an electric telescopic rod is mounted on the sleeve, the electric telescopic rod is connected to the pressing block, and the sleeve is mounted on the free end of the acupuncture robot arm.
[0051] Beneficial effects of the present invention:
[0052] 1. The present invention can identify acupuncture points around the human body, and cooperate with a projector to project the acupuncture points and their names onto the human body. At the same time, the laser positioning device can mark the selected acupuncture points on the human body through laser according to the user's choice, and assist in positioning more accurately. At the same time, after the acupuncture points around the human body are identified, the robot arm acupuncture device can be controlled according to the medical staff's choice to complete automated acupuncture;
[0053] 2. The present invention is equipped with a positioning robot for automatic acupoint recognition designed for acupoints throughout the body, which can realize automatic and rapid recognition, with a more comprehensive shooting orientation, and is equipped with a laser-assisted positioning device, which can locate specific acupoints more intuitively;
[0054] 3. The acupoint identification process of the present invention is more accurate, and the key point detection in the form of top-down is adopted, and the model combination of RTMDet+RTMPose is selected to make the result more accurate;
[0055] 4. The present invention adopts a method of machine vision plus PID control of the robotic arm, which makes the robotic arm more unconstrained in the placement of the device and can effectively avoid the errors caused by hardware deviations. The traditional method is to fix the position of the robotic arm, measure and calculate the spatial distance between the robotic arm and the human body, and calculate how many degrees the robotic arm's laser needs to rotate to reach the corresponding acupuncture point coordinates of the human body. There are objective errors in this method. The present invention uses machine vision plus PID control to make the laser quickly and accurately hit the corresponding position. This is a repeated correction process and is not limited by the spatial position of the robotic arm.
[0056] The features and advantages of the present invention will be described in detail through embodiments in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a schematic diagram of the structure of the present invention;
[0058] Figure 2 It is a schematic diagram of the structure of the chain trolley assembly of the present invention;
[0059] Figure 3 It is a schematic diagram of the structure of an acupuncture needle of the present invention;
[0060] Figure 4 is a schematic diagram of the interior of an acupuncture needle of the present invention;
[0061] Figure 5 It is a schematic diagram of the structure of the auxiliary projection device platform of the present invention;
[0062] Figure 6 It is a schematic diagram of the laser-assisted positioning process of the present invention;
[0063] Figure 7 It is a schematic diagram of the sleeve installation of the present invention.
[0064] In the figure: 1. Outer circle circular guide rail; 2. Middle circle circular guide rail; 3. Inner circle circular guide rail; 4. High-definition projector; 5. Auxiliary projection device platform; 6. CCD camera; 7. Laser transmitter; 8. Positioning and identification robot arm; 9. Chain trolley group; 10. Acupuncture robot arm; 11. Acupuncture needle; 12. Acupuncture device platform; 13. Sleeve; 14. Piezoelectric sensor; 15. Casing; 16. Electric telescopic rod; 17. Press block. DETAILED DESCRIPTION
[0065] In the early stage of the present invention, data set collection work was carried out, including 1,200 photos of the front of the human body, 1,200 photos of the back of the human body, 800 photos of the left side of the human body, and 800 photos of the right side of the human body; and the data set was labeled; the neural network selected by the present invention is the RTMDet + RTMPose network; RTMDet is used for target detection, and RTMPose is used for key point detection; then the data set is imported into the neural network for training, and the target detection accuracy rate is 97%, and the key point detection accuracy rate is 93%.
[0066] Embodiment 1:
[0067] See also Figures 1 to 5 , an intelligent acupuncture positioning device based on a deep learning network, comprising an acupoint recognition system, a circular track group, an acupuncture device platform 12, an auxiliary projection device platform 5, a robotic arm acupuncture device, a high-definition projector 4, a laser locator and a CCD camera 6, the acupuncture device platform 12 and the auxiliary projection device platform 5 are both slidably installed on the circular track group, the acupuncture device platform 12 and the auxiliary projection device platform 5 can both make circular motion along the circular track group, the auxiliary projection device platform 5 is arranged on the outside of the acupuncture device platform 12, the auxiliary projection device platform 5 is equipped with a high-definition projector 4, a laser locator and a CCD camera 6, the acupuncture device platform 12 is equipped with a robotic arm acupuncture device, the auxiliary projection device platform 5, the robotic arm acupuncture device, the high-definition projector 4, the laser locator and the CCD camera 6 are all connected to the acupoint recognition system, and the acupoint recognition system comprises a memory, a processor and a computer program stored in the memory.
[0068] The circular track group includes an outer circular guide rail 1, a middle circular guide rail 2 and an inner circular guide rail 3, and the outer circular guide rail 1, the middle circular guide rail 2 and the inner circular guide rail 3 are coaxially arranged. The bottom of the acupuncture device platform 12 is provided with two groups of chain trolley groups 9 respectively installed on the middle circular guide rail 2 and the inner circular guide rail 3, and the bottom of the auxiliary projection device platform 5 is also provided with two groups of chain trolley groups 9 respectively installed on the middle circular guide rail 2 and the outer circular guide rail 1. The robot arm acupuncture device includes acupuncture The acupuncture robot arm 10 and the acupuncture needle 11, the acupuncture robot arm 10 is installed on the top of the acupuncture device platform 12, the acupuncture needle 11 is installed on the free end of the acupuncture robot arm 10, and a piezoelectric sensor is arranged at the bottom of the acupuncture needle 11. The laser locator comprises a positioning and identification robot arm 8 and a laser emitter 7. The free end of the positioning and identification robot arm 8 is provided with a laser emitter 7. The positioning and identification robot arm 8 is a two-degree-of-freedom robot arm, and the acupuncture robot arm is a seven-degree-of-freedom robot arm.
[0069] See also Figure 6The laser positioning working process of the acupuncture robot is as follows: a person stands at the center of the circular guide rail with both hands raised horizontally. The auxiliary projection device platform can select the shooting angle according to the operator's choice. After taking pictures in the corresponding direction, the pictures are transmitted to the acupoint recognition system based on neural networks. The RTMDet neural network in the system recognizes various parts of the human body, and the RTMPose neural network detects the human acupoints in each part of the human body respectively, and then projects the identified acupoints onto the human body; then it is determined whether laser assisted positioning is used. If not, it waits for the next shooting instruction. If so, it calculates the deviation between the laser point and the target acupoint position, and then substitutes it into the PID controller, and then controls the signal range to control the corresponding servo to control the laser point to move to the target acupoint position, and then detects the laser point position again to determine whether it moves to the target acupoint position, recalculates the deviation, and repeatedly corrects until the red laser point moves to the target acupoint position.
[0070] Embodiment 2:
[0071] See also Figure 7 The acupuncture needle 11 is installed on a pressing block 17, and the needle tip of the acupuncture needle is protruding from the head of the pressing block 17. A sleeve 13 is slidably installed on the outside of the pressing block 17. The head of the sleeve 13 is connected with a sleeve 15, and the sleeve 15 is sleeved on the outside of the needle tip. An electric telescopic rod 16 is installed on the sleeve 13, and the electric telescopic rod 16 is connected to the pressing block 17. The sleeve 13 is installed on the free end of the acupuncture robotic arm 10.
[0072] The rest is the same as in Example 1.
[0073] During acupuncture in this embodiment, the cannula needle insertion method is adopted; after the acupuncture point is intelligently located according to the above-mentioned acupuncture point recognition method, the acupuncture device platform moves to the corresponding position, and the cannula is accurately moved to the corresponding acupuncture point by the acupuncture robot arm. After the positioning of the cannula and the acupuncture point is completed, the cannula is kept stationary, and the electric telescopic rod drives the pressing block to move downward, so that the acupuncture needle is extended from the cannula to perform acupuncture on the acupuncture point.
[0074] Working method 1:
[0075] The intelligent acupuncture positioning device comprises the following steps when working:
[0076] Step 1: The CCD camera takes pictures of various parts of the human body;
[0077] Shoot the front of the human body, including the chest, outer side of the arms, front side of the legs, and face. Shoot the back of the human body, including the back of the torso, inner side of the arms, back side of the legs, left side underarm, and right side underarm.
[0078] Step 2: Identify the various parts of the human body through the trained target recognition neural network, and then detect the human acupuncture points in each part of the human body through the trained key point detection neural network;
[0079] For example, take a picture of the front of a human body, first detect the specific positions of the chest, the outside of the arm, and the front of the leg; then detect the acupuncture points on the chest, and so on; this is the key point detection process in the Top-Down form;
[0080] Step 3: After we have detected the acupuncture points on the human body, we will draw the acupuncture points in the original image, mark the Chinese names of the acupuncture points next to them, perform secondary correction on the identified acupuncture points, and project the acupuncture points onto the human body.
[0081] The specific steps of the secondary correction are as follows: first, through the identified acupuncture points on the spine, Dazhui, Taodao, Shenzhu, Shendao, Lingtai, Zhiyang, Jinsuo, Zhongshu, Jizhong, Xuanshu, Mingmen, and Yaoyangguan, linear fitting is performed to obtain the posterior central line of the human body; then, the vertical distance between the identified acromion point and the posterior central line is calculated. According to the bone measurement method recorded in the "Lingshu·Bone Measurement" chapter, this vertical distance is 8 inches, and the distance of one inch on this human body can be obtained; after we have obtained the distance of one inch on this human body, we can then calibrate each acupuncture point, such as: the distance from Dazhui to Shenzhu is 3 inches. If the error exceeds 10%, the acupuncture point is corrected; the correction steps are as follows: first, determine that the standard acupuncture point is the point with the most obvious characteristics and the least error-prone key point detection, and then move the point to be calibrated to the standard distance based on the positional relationship between the point to be calibrated and the standard acupuncture point.
[0082] This working method can automatically identify acupuncture points around the human body, and perform secondary correction on the identified acupuncture points. With the help of a projector, the acupuncture points and their names are projected onto the human body, which is very intuitive.
[0083] Working method 2:
[0084] The intelligent acupuncture positioning device comprises the following steps when working:
[0085] Step 1: Take pictures of various parts of the human body; the specific steps are the same as working method 1;
[0086] Step 2: Identify the various parts of the human body through the trained target recognition neural network, and then detect the human acupuncture points in each part of the human body through the trained key point detection neural network; the specific steps are the same as working method 1;
[0087] In the acupoint recognition part, we can get the pixel position of the acupoint in the picture. We save the pixel position to a txt file and select it according to the needs later.
[0088] Step 3: After we have detected the acupuncture points on the human body, we draw the acupuncture points in the original image, mark the Chinese names of the acupuncture points next to the acupuncture points, perform secondary correction on the identified acupuncture points, and project the acupuncture points onto the human body: the specific steps are the same as working method 1;
[0089] Step 4: Use the laser transmitter to precisely locate the selected acupuncture points.
[0090] In the step 4, the method of laser precise positioning is: the laser transmitter emits laser to the center of the human body, and then the CCD camera determines the position of the red laser point in the image by machine vision;
[0091] The steps to determine the position of the red laser point in the image are as follows:
[0092] Step 1: Convert the image to HSV channel;
[0093] Step 2: Take the V channel image for threshold segmentation;
[0094] Step 3: Get the red laser point area and take the pixel coordinates of the center point of the area, which is the pixel position of the red laser point in the image:
[0095] ;
[0096] Laser_point is the pixel coordinate of the red laser point position, are the coordinates of the red pixels, N is the number of red pixels;
[0097] Calculate the difference between the pixel position of the red laser point and the pixel position of the target acupuncture point.
[0098] The error is the difference between the target point position and the laser point position:
[0099] ;
[0100] Where (x T ,y T ) is the pixel coordinate of the target point, (x L [n],y L [n]) is the pixel coordinate of the laser point n at the current moment, (e x [n],e y [n]) are the coordinate differences between the pixel coordinates of the target point n at the current moment and the pixel coordinates of the laser point in the X and Y directions;
[0101] Create two PID controllers, one for the pixel difference in the X and one for the Y direction, which correspond to the first and second servos of the robot arm. Substitute the X and Y pixel position differences into the corresponding PID controllers, calculate the comprehensive output of the proportional, integral and differential parts, and return them to the corresponding servos as control signals to control their rotation angle changes.
[0102] The output of the PID controller is:
[0103] ;
[0104] ;
[0105] in:
[0106] ;
[0107] ;
[0108] Among them, (u x [n],u y [n]) is the output control signal of the PID controller in the X direction and Y direction at the current time n, (K px , K py ) is the proportional gain coefficient of the PID controller in the X and Y directions, (K ix , K iy ) is the integral gain coefficient of the PID controller in the X and Y directions, (I x [n],I y [n]) is the integral term of the X-direction and Y-direction PID controller at the current time n, (K dx , K dy ) is the differential gain coefficient of the PID controller in the X and Y directions, (D x [n],D y [n]) is the differential term of the X-direction and Y-direction PID controller at the current time n; (I x [n-1], I y [n-1]) is the integral term of the X-direction and Y-direction PID controller at the previous moment n-1; (e x [n],e y [n]) is the coordinate difference between the pixel coordinates of the target point n at the current moment and the pixel coordinates of the laser point in the X and Y directions; △t is the control period, that is, the time interval between two control moments;
[0109] And to prevent integral saturation:
[0110] ;
[0111] ;
[0112] in:
[0113] ;
[0114] ;
[0115] Where (max_integral x , max_integral y ) is the maximum value of the integral term in the X and Y directions, which is used to prevent integral saturation;
[0116] The differential term is:
[0117] ;
[0118] Among them (e x [n],e y [n]) is the coordinate difference between the pixel coordinates of the target point n at the current moment and the pixel coordinates of the laser point in the X and Y directions; (e x [n-1], e y [n-1]) is the coordinate difference between the pixel coordinates of the target point n-1 at the previous moment and the pixel coordinates of the laser point in the X and Y directions; (D x [n],D y [n]) is the differential term in the X direction and the Y direction at the current moment n; △t is the control period, that is, the time interval between two control moments;
[0119] Step 4: Update the angle of the servo motor:
[0120] The angle of the servo motor is updated as:
[0121] ;
[0122] And make sure the servo motor angle is within the valid range:
[0123] ;
[0124] Where (θ x [n], θ y [n]) is the angle of the servo motor in the X and Y directions at the current moment n; (θ x [n-1], θ y [n-1]) is the angle of the servo motor in the X direction and Y direction at the previous moment n-1; (u x [n],u y [n]) is the output control signal of the X-direction and Y-direction PID controllers at the current time n;
[0125] Step 5: Check the laser point position again:
[0126] The updated laser point position is ;
[0127] The position judgment and PID control output are performed every 0.1s, and the calculation stops when the red laser point moves to the target acupuncture point.
[0128] This working method can automatically identify acupuncture points around the human body, and cooperate with the projector to project the acupuncture points together with their names onto the human body. At the same time, the laser positioning device can mark the selected acupuncture points on the human body through laser according to the user's choice, which can assist in more accurate positioning and help medical staff to accurately judge the acupuncture points or assist in teaching.
[0129] Working method three:
[0130] The intelligent acupuncture positioning device comprises the following steps when working:
[0131] Step 1: Take pictures of various parts of the human body: The specific steps are the same as working method 1;
[0132] Step 2: Identify the various parts of the human body through the trained target recognition neural network, and then detect the acupuncture points in each part of the human body through the trained key point detection neural network: the specific steps are the same as working method 1;
[0133] In the acupoint recognition part, we can get the pixel position of the acupoint in the picture. We save the pixel position to a txt file and select it according to the needs later.
[0134] Step 3: After we have detected the acupuncture points on the human body, we draw the acupuncture points in the original image, mark the Chinese names of the acupuncture points next to the acupuncture points, perform secondary correction on the identified acupuncture points, and project the acupuncture points onto the human body: the specific steps are the same as working method 1;
[0135] Step 4: Use laser to precisely locate and tap the selected acupuncture points; the specific steps are the same as those in working method 2;
[0136] Step 5: Perform positioning acupuncture using an acupuncture device.
[0137] In step five, the acupuncture needle is placed at the end of a seven-degree-of-freedom robotic arm; a piezoelectric sensor is placed at the bottom of the acupuncture needle; after the acupuncture point recognition part based on the neural network recognizes the location of the acupuncture point, the acupuncture device platform can be moved to the corresponding position according to the choice of the medical staff, and then acupuncture can be performed using the robotic arm; at the same time, according to the concept of inches obtained above, it can be selected how many inches to insert the needle; specifically, when the needle touches the skin, the skin applies a certain small pressure to the acupuncture needle, and the needle then squeezes and triggers the piezoelectric sensor, and the piezoelectric sensor gives an electrical signal, that is, recording this time as the starting point of acupuncture, and then the robotic arm controls the needle to penetrate deeper until it reaches the specified depth.
[0138] This working method can replace medical staff in performing acupuncture on patients. Acupuncture can be performed on selected acupoints according to selection. The acupoints are first located by laser, and then acupuncture is performed on the acupoints. This can ensure the accuracy of acupuncture and improve the effect of acupuncture. It can cooperate with an acupuncture robot to realize the function of automatic acupuncture, which is very convenient.
[0139] The above embodiments are intended to illustrate the present invention, not to limit the present invention. Any solution that is a simple transformation of the present invention belongs to the protection scope of the present invention.
Claims
1. An intelligent acupuncture positioning device based on deep learning network, Features: The invention comprises an acupuncture point recognition system, a circular track group, an acupuncture device platform (12), an auxiliary projection device platform (5), a robotic arm acupuncture device, a high-definition projector (4), a laser locator and a CCD camera (6); the acupuncture device platform (12) and the auxiliary projection device platform (5) are both slidably mounted on the circular track group; the acupuncture device platform (12) and the auxiliary projection device platform (5) are both capable of performing circular motion along the circular track group; the auxiliary projection device platform (5) is arranged outside the acupuncture device platform (12); the high-definition projector (4), the laser locator and the CCD camera (6) are mounted on the auxiliary projection device platform (5); the acupuncture device platform (12) is mounted with a robotic arm acupuncture device; the auxiliary projection device platform (5), the robotic arm acupuncture device, the high-definition projector (4), the laser locator and the CCD camera (6) are all connected to the acupuncture point recognition system; the acupuncture point recognition system comprises a memory, a processor and a computer program stored in the memory; the processor executes the computer program to implement the following steps: Step 1: The CCD camera (6) takes pictures of various parts of the human body; Step 2: Identify the various parts of the human body through the trained target recognition neural network, and then detect the human acupuncture points in each part of the human body through the trained key point detection neural network; Step 3: Draw the detected acupoints in the original image, mark the Chinese names of the acupoints next to the acupoints, and perform secondary correction on the identified acupoints. The high-definition projector (4) projects the acupoints onto the human body; Step 4: The laser locator accurately locates and marks the selected acupuncture points; In the step 4, the method of laser precise positioning is: the laser transmitter emits laser to the center of the human body, and then the CCD camera determines the position of the red laser point in the image by machine vision; The steps to determine the position of the red laser point in the image are as follows: Step 1: Convert the image to HSV channel; Step 2: Take the V channel image for threshold segmentation; Step 3: Get the red laser point area and take the pixel coordinates of the center point of the area, which is the pixel position of the red laser point in the image: ; Where Laser_point is the pixel coordinate of the red laser point position, are the coordinates of the red pixel, N is the number of red pixels; Calculate the difference between the pixel position of the red laser point and the pixel position of the target acupuncture point. The error is the difference between the target point position and the laser point position: ; Where (x T ,y T ) is the pixel coordinate of the target point, (x L [n],y L [n]) is the pixel coordinate of the laser point n at the current moment, (e x [n],e y [n]) are the coordinate differences between the pixel coordinates of the target point n at the current moment and the pixel coordinates of the laser point in the X and Y directions; Create two PID controllers, one for the pixel difference in the X and one for the Y direction, which correspond to the first and second servos of the robot arm. Substitute the X and Y pixel position differences into the corresponding PID controllers, calculate the comprehensive output of the proportional, integral and differential parts, and return them to the corresponding servos as control signals to control their rotation angle changes. The output of the PID controller is: ; ; in: ; ; Among them, (u x [n],u y [n]) is the output control signal of the PID controller in the X direction and Y direction at the current time n, (K px , K py ) is the proportional gain coefficient of the PID controller in the X and Y directions, (K ix , K iy ) is the integral gain coefficient of the PID controller in the X and Y directions, (I x [n],I y [n]) is the integral term of the X-direction and Y-direction PID controller at the current time n, (K dx , K dy ) is the differential gain coefficient of the PID controller in the X and Y directions, (D x [n],D y [n]) is the differential term of the X-direction and Y-direction PID controller at the current time n; (I x [n-1], I y [n-1]) is the integral term of the X-direction and Y-direction PID controller at the previous moment n-1; (e x [n],e y [n]) is the coordinate difference between the pixel coordinates of the target point n at the current moment and the pixel coordinates of the laser point in the X and Y directions; △t is the control period, that is, the time interval between two control moments; And to prevent integral saturation: ; ; in: ; ; Where (max_integral x , max_integral y ) is the maximum value of the integral term in the X and Y directions, which is used to prevent integral saturation; The differential term is: ; Among them (e x [n],e y [n]) is the coordinate difference between the pixel coordinates of the target point n at the current moment and the pixel coordinates of the laser point in the X and Y directions; (e x [n-1], e y [n-1]) is the coordinate difference between the pixel coordinates of the target point n-1 at the previous moment and the pixel coordinates of the laser point in the X and Y directions; (D x [n],D y [n]) is the differential term in the X direction and the Y direction at the current moment n; △t is the control period, that is, the time interval between two control moments; Step 4: Update the angle of the servo motor: The angle of the servo motor is updated as: ; And make sure the servo motor angle is within the valid range: ; Among them (θ x [n], θ y [n]) is the angle of the servo motor in the X and Y directions at the current moment n; (θ x [n-1], θ y [n-1]) is the angle of the servo motor in the X direction and Y direction at the previous moment n-1; (u x [n],u y [n]) is the output control signal of the X-direction and Y-direction PID controllers at the current time n; Step 5: Check the laser point position again: The updated laser point position is ; The position judgment and PID control output are performed every 0.1s, and the calculation stops when the red laser point moves to the target acupuncture point.
2. The intelligent acupuncture positioning device based on deep learning network as claimed in claim 1, Features: In the step 2, human body data is collected in advance, and the collected data set is annotated, the neural network RTMDet is selected for target detection, the neural network RTMPose is selected for key point detection, and the data set is imported into the neural network for training to obtain the trained target recognition neural network and the trained key point detection neural network.
3. The intelligent acupuncture positioning device based on deep learning network as claimed in claim 1, Features: In the step three, the specific steps of the secondary correction are as follows: first, the posterior median line of the human body is linearly fitted through the identified acupuncture points on the spine, and then the vertical distance between the identified acromion point and the posterior median line is calculated, and this vertical distance is 8 inches, thereby obtaining the distance of one inch on this human body; each acupuncture point is calibrated according to the obtained distance of one inch on this human body. During the calibration, the standard acupuncture point is first determined, and then the point to be calibrated is moved to the standard distance according to the positional relationship between the point to be calibrated and the standard acupuncture point.
4. The intelligent acupuncture positioning device based on deep learning network as claimed in claim 3, Features: The method also includes step five: performing positioning acupuncture using an acupuncture device.
5. The intelligent acupuncture positioning device based on deep learning network as claimed in claim 4, Features: The step five is: first move the acupuncture device platform to the corresponding position according to the acupuncture points selected by the medical staff, and then use the robotic arm acupuncture device to perform acupuncture; and according to the concept of inches obtained above, choose how many inches to insert.
6. The intelligent acupuncture positioning device based on deep learning network as claimed in claim 5, Features: During acupuncture using the robotic arm acupuncture device: when the needle touches the skin, the skin applies a certain amount of tiny pressure to the needle, which then squeezes and triggers the piezoelectric sensor. The piezoelectric sensor gives an electrical signal, recording this time as the starting point of acupuncture. The robotic arm then controls the needle to penetrate deeper until it reaches the specified depth.
7. The intelligent acupuncture positioning device based on deep learning network as claimed in claim 1, Features: The circular track group comprises an outer circular guide rail (1), a middle circular guide rail (2) and an inner circular guide rail (3), and the outer circular guide rail (1), the middle circular guide rail (2) and the inner circular guide rail (3) are coaxially arranged. The bottom of the acupuncture device platform (12) is provided with two groups of chain trolley groups (9) respectively mounted on the middle circular guide rail (2) and the inner circular guide rail (3), and the bottom of the auxiliary projection device platform (5) is also provided with two groups of chain trolley groups respectively mounted on the middle circular guide rail (2) and the outer circular guide rail (1). A vehicle group (9), wherein the robot arm acupuncture device comprises an acupuncture robot arm (10) and an acupuncture needle (11), wherein the acupuncture robot arm (10) is mounted on the top of the acupuncture device platform (12), and the acupuncture needle (11) is mounted on the free end of the acupuncture robot arm (10), and a piezoelectric sensor (14) is disposed at the bottom of the acupuncture needle (11); and the laser locator comprises a positioning and identification robot arm (8) and a laser emitter (7), and the free end of the positioning and identification robot arm (8) is provided with the laser emitter (7).
8. The intelligent acupuncture positioning device based on deep learning network as claimed in claim 7, Features: The acupuncture needle (11) is mounted on a pressing block (17); the needle tip of the acupuncture needle (11) is protruding from the head of the pressing block (17); a sleeve (13) is slidably mounted on the outer side of the pressing block (17); the head of the sleeve (13) is connected to a sleeve (15); the sleeve (15) is sleeved on the outer side of the needle tip; an electric telescopic rod (16) is mounted on the sleeve (13); the electric telescopic rod (16) is connected to the pressing block (17); and the sleeve (13) is mounted on the free end of the acupuncture robot arm (10).
Citation Information
Cited By
Traditional Chinese medicine acupoint auxiliary diagnosis and treatment system integrating deep learning and applet
CN120932826A
